Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / November 2006

Tip: Looking for answers? Try searching our database.

OC4J and JDeveloper - integration and debugging opinions?

Thread view: 
wgblackmon@yahoo.com - 07 Nov 2006 21:51 GMT
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.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.