facebook

Tomcat 5 not launching in debug mode

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #276535 Reply

    Hi,

    I recnetly upgraded from eclipse 3.2 and myeclipse 5 to eclipse 3.3 and myeclipse 6.

    I am reusing the configuration from old workspace and poiting it to the same workspace.

    When I launch Tomcat (debug mode is enabled), it gives me error:
    FATAL ERROR in native method: No transports initialized

    and I cannot launch Tomcat 5. However if I changed the launch mode to run then it runs fine but I cannot debug using break points.

    To update you I did install JDK 1.5 on top of 1.4, but have set my JRE to use 1.4 and it is defaulted and same thing with Tomcat 5.

    Please help me to fix this issue.

    Thanks,
    _-Sripathy Bhat

    #276547

    Loyal Water
    Member

    The reason is the dt_socket library could not be located. Can you try placing the %JAVA_HOME%\bin in your path, because the Java SDKs for Windows, version 1.3.1 or higher, include the dt_socket.dll and dt_shmem.dll.

    Find where the dt_* libraries are located, and make sure that Eclipse starts the Tomcat server providing the PATH environment var that would list the location of the dt_* libs.

    #276599

    Nipun,

    Thank you for quick assistance. I searched for the dt_* libraries and found it were missing somehow in Java 1.4 dir due to the installation of the Java 1.5. I uninstalled Java 1.4 and installed it again and then the debug mode of Tomcat in MyEclipse started working again.

    Thank you,
    – Sripathy

    #276625

    Loyal Water
    Member

    Glad you got it to work. Thanks for letting me know.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Tomcat 5 not launching in debug mode

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