facebook

-Xdebug error with Tomcat v5.0 [Closed]

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #204741 Reply

    PhilwOS
    Member

    I 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 ?

    #204751

    Riyad Kalla
    Member

    Phil, 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…

    #204787

    PhilwOS
    Member

    java -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 ?

    #204798

    Riyad Kalla
    Member

    Phil,
    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?

    #204803

    PhilwOS
    Member

    Riyad,

    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

    #204805

    Riyad Kalla
    Member

    Phil,
    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?

    #204807

    PhilwOS
    Member

    Riyad,

    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 !

    #204811

    Riyad Kalla
    Member

    I’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.

Viewing 8 posts - 1 through 8 (of 8 total)
Reply To: -Xdebug error with Tomcat v5.0 [Closed]

You must be logged in to post in the forum log in