facebook

Snow Leopard unable to launch Tomcat

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 15 posts - 16 through 30 (of 31 total)
  • Author
    Posts
  • #301937 Reply

    John
    Member

    support-eugene:

    Also – can you debug regular Java applica

    I wrote a very simple application with a main. And was NOT able to debug:

    And the following shows up on the console:

    ERROR: transport error 202: recv failed during handshake: Connection reset by peer
    ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
    JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [../../../src/share/back/debugInit.c:690]
    FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197)
    #301938 Reply

    John
    Member

    support-eugene:

    Also – can you debug regular Java applica

    I wrote a very simple application with a main. And was NOT able to debug:

    And the following shows up on the console:

    ERROR: transport error 202: recv failed during handshake: Connection reset by peer
    ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
    JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [../../../src/share/back/debugInit.c:690]
    FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197)
    #301939 Reply

    John
    Member

    support-eugene:

    Also – can you debug regular Java applica

    I wrote a very simple application with a main. And was NOT able to debug:

    And the following shows up on the console:

    ERROR: transport error 202: recv failed during handshake: Connection reset by peer
    ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
    JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [../../../src/share/back/debugInit.c:690]
    FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197)
    #301940 Reply

    John
    Member

    support-eugene:

    Please check Tomcat JDK preference page.

    Here are some screenshots of the Tomcat Preferences:

    #301942 Reply

    Can you try removing arguments on the JDK preference page? I.e. try to delete -XX… args. Apple changed something in their virtual machine so some command-line args are no longer compatible – but I don’t know what arguments. Unfortunately I can’t update my Leopard now.

    #301944 Reply

    John
    Member

    support-eugene

    Can you try removing arguments on the JDK preference page?

    I removed the JDK arguments from the Tomcat preferences page. Same troublesome behavior. Cannot connect to VM.

    Also, it had no effect (not a surprise) on the inability to debug a simple application.

    #301950 Reply

    Do you see this problem if you start with a new workspace?

    #301951 Reply

    Please try the following:
    1. Open Installed JREs preference page.
    2. Delete all JREs but one (i.e. leave the JRE you are not using).
    3. Press the Search… button.

    #301952 Reply

    John
    Member

    Console is BLANK.

    #301953 Reply

    @Goldblatt wrote:

    Console is BLANK.

    Can you try to reset JRE locations either by starting with new workspace or by removing all JREs on Installed JREs preference page and doing Search…?

    #301956 Reply

    vijeshmehta
    Member

    Found a possible fix by setting the Terminal.app to run in 32 bit mode.

    To do this =

    1) Go to /Applications/Utilities
    2) Right click on the Terminal.app and click “Get Info”
    3) Select the checkbox that says “32bit mode”

    After doing this, I haven’t seen the “Cannot Connect to VM” problem.

    #301962 Reply

    John
    Member

    On a whim I went back to the Snow Leopard installation DVD. (Screenshots provided below).

    When I initially installed the Snow Leopard upgrade I did not install the XCode package. I went ahead and did so and now I am able to launch Tomcat from MyEclipse…although not reliably. I’d say 1 of 5 times I continue to get the “Cannot connect to VM” dialog.

    Can anyone shed some light on the need (or non-need) for the XCode upgrade?

    #301963 Reply

    John
    Member

    vijeshmehta,

    How does setting this mode on the Terminal.app affect the behavior of those applications started by the launcher? (i.e. not started from within a Terminal window?)

    Thanks for your response.

    #301964 Reply

    vijeshmehta,
    Are you sure you didn’t change the workspace settings?

    Goldblatt,
    What do you have in /System/Library/Frameworks/JavaVM.framework/Versions ? What I heard is that you will only have 1.6 in SL. XCode might’ve installed older versions…

    #301969 Reply

    John
    Member

    support-eugene,

    After the Snow Leopard install you only have 1.6 (if you look in your file system you will still have 1.5/1.5.0 entries, but they will have changed to symbolic links that indirectly point to JDK 1.6 (64-bit).

    Q: Does MyEclipse 7.5 require being run from a 32-bit jvm?

    Here is what is in the Versions directory after Snow Leopard install:

    Versions $ ls -al
    total 48
    drwxr-xr-x  12 root    wheel  408 Aug 31 16:14 .
    drwxr-xr-x  12 root    wheel  408 Aug 31 12:25 ..
    lrwxr-xr-x   1 root    wheel    5 Aug 28 14:05 1.3 -> 1.3.1
    drwxr-xr-x   3 root    wheel  102 Jul 20 16:35 1.3.1
    lrwxr-xr-x   1 root    wheel   10 Aug 28 14:05 1.5 -> CurrentJDK
    lrwxr-xr-x   1 root    wheel   10 Aug 28 14:05 1.5.0 -> CurrentJDK
    drwxr-xr-x@  9 jkroub  staff  306 Feb 14  2009 1.5.0-leopard
    lrwxr-xr-x   1 root    wheel    5 Aug 28 14:05 1.6 -> 1.6.0
    drwxr-xr-x   8 root    wheel  272 Aug 31 12:25 1.6.0
    drwxr-xr-x   9 root    wheel  306 Aug 31 12:25 A
    lrwxr-xr-x   1 root    wheel    1 Aug 28 14:05 Current -> A
    lrwxr-xr-x   1 root    wheel    3 Aug 28 14:05 CurrentJDK -> 1.6
    
Viewing 15 posts - 16 through 30 (of 31 total)
Reply To: Snow Leopard unable to launch Tomcat

This topic is marked as closed to new replies, however your posting capabilities still allow you to do so.

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