Hi,
I'm running JDeveloper ver. 10.1.3 and OC4J ver.10.1.2 . I'm trying to
debug the app server from inside JDeveloper.
I've been told to start OC4J with the following start script:
java -ojvm -XXdebug,port4000,detached,quiet -Xmx512M -jar oc4j.jar
When I run the above script I get the following error:
Unrecognized option: -ojvm.
I don't have Oracle installed on my computer - just JDeveloper and
OC4J. Any idea why the 'o' is not being recognized
as a parameter to the JVM?
Also, I'm unable to connect to this process from within JDeveloper's
Remote Debug feature.
Is anyone out there using JDeveloper 10.1.3 against OC4J ver.10.1.2 and
debugging/stepping through the App Server
code inside JDeveloper? I'm also using Struts in the project. Is there
a Struts plug-in for JDeveloper similar to
the one in Eclipse that has a graphical representation of the Struts
configuration file?
I'm using JDeveloper because we're an Oracle shop. I've used Eclipse
before. If anyone has any comments or preferences
regarding the merits of the new JDeveloper vs. the latest MyEclipse I'd
love to hear them..
Thanks!
attitudenine - 08 Nov 2006 02:21 GMT
OJVM is oracle's own version of the jvm. This needs to be installed for
using some jdev features like the profiler. Check out the below link
for info on installing the ojvm.
http://download-west.oracle.com/otndocs/tech/ias/portal/files/RG/OBE/common/file
s/install.html#add_ojvm
Cheers
AttitudeNine
----------------------------------------------------------------------
"Built exclusively using Attitude Version9.0"
http://orabase.blogspot.com
http://attitudenine.wordpress.com
----------------------------------------------------------------------
> Hi,
> I'm running JDeveloper ver. 10.1.3 and OC4J ver.10.1.2 . I'm trying to
[quoted text clipped - 25 lines]
>
> Thanks!
Shay - 08 Nov 2006 18:51 GMT
Here is a little how-to that explains the basic steps:
http://www.orablogs.com/shay/archives/001476.html
You don't have to use the OJVM for debugging.
For further questions you might want to try out the JDeveloper
discussion forum.