For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub
- This topic has 7 replies, 2 voices, and was last updated 21 years, 11 months ago by
Riyad Kalla.
-
AuthorPosts
-
PhilwOSMemberI have just downloaded the trial version today and have run into a problem with Tomcat v5.0 integration. I have tried both the t.c that comes with JWSDP1.3 and the standalone tomcat 5 and when I run tc in debug mode with MyEclipse I get an error about starting the VM, followed by a message about -Xdebug being an invalid parameter.
Any ideas ?
March 12, 2004 at 3:58 pm #204751
Riyad KallaMemberPhil, it could be your JDK version… what JDK are you using? (java -version from console) also what Eclipse and MyEclipse versions are you using? What platform are you on? Who won the 1967 World Series? etc…
March 15, 2004 at 3:33 am #204787
PhilwOSMemberjava -version
java version “1.4.2”
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-b28)
Java HotSpot(TM) Client VM (build 1.4.2-b28, mixed mode)Eclipse 3.0-M7
MyEclipse 2.7-GA
St.Louis Cardinals ?
March 15, 2004 at 9:14 am #204798
Riyad KallaMemberPhil,
There are 2 versions of MyEclipse released in parallel, one is the 2.x series and one is the 3.x series. Feature wise they are the same, but the 2.x series is created to be installed against an Eclipse 2.1.x platform and the 3.x series is created to be installed against the Eclipse 3.x platform.Having said that, I’m confused about your Eclipse and MyEclipse versions you give above… is one of them wrong?
March 15, 2004 at 10:06 am #204803
PhilwOSMemberRiyad,
Sorry about that !
You are correct of course – user should engage brain.
I _had_ been using 3.0M7 until I downloaded the MyEclipse plugin, and found that it was only compatible with 2.1.1, at which point I downloaded 2.1.1 of course.
Hope you can help me here – I am trying to persuade others in the team here to jump ship to eclipse+my.eclipse, but until I can get debug working …
Regards
Phil Whiles
March 15, 2004 at 10:33 am #204805
Riyad KallaMemberPhil,
I would first double check what JDK is setup to launch your app server. Go to Window>Preferences>MyEclipse>App Servers>Tomcat 5, and click the “JDK” node, see what is selected to run it. It sounds to me like a 1.3 VM is setup to run your app server as -Xdebug is a perfectly valid flag for all 1.4 VMs.Do you have a 1.3 VM installed and by accident it is being used to Run Eclipse/App Server?
March 15, 2004 at 11:06 am #204807
PhilwOSMemberRiyad,
You hit the nail on the head !
I also have Oracle JDeveloper installed on the same machine, and it transpires that part of it’s install is to tinker with the standard JDK … this is to allow JDeveloper to get debug info apparently !
By commenting out some lines in C:\j2sdk1.4.2\jre\lib\i386\jvm.cfg that had been added by JDeveloper, I can debug.
(And seeing as how the point of this exercise was to come with an alternative to JDeveloper that aint a problem !)Thankyou !
March 15, 2004 at 12:19 pm #204811
Riyad KallaMemberI’m really glad to hear that its working and it wasn’t anything too painful!
Thank you for hanging in there during this process, and don’t hesitate to post a new thread if you run into anymore snags.
-
AuthorPosts
