facebook

can’t start Tomcat from MyEclipse

💡
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. Installation, Configuration & Updates
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #247651 Reply

    feng333
    Member

    I can’t start Tomcat from MyEclipse, I see the following error log:

    #
    # An unexpected error has been detected by HotSpot Virtual Machine:
    #
    # EXCEPTION_FLT_STACK_CHECK (0xc0000092) at pc=0x00cb0a59, pid=4000, tid=1940
    #
    # Java VM: Java HotSpot(TM) Client VM (1.5.0_06-b05 mixed mode, sharing)
    # Problematic frame:
    # v ~SafepointBlob
    #

    ————— T H R E A D —————

    Current thread (0x00823e70): JavaThread “main” [_thread_in_Java, id=1940]

    siginfo: ExceptionCode=0xc0000092, ExceptionInformation=0x00000000 0x0006ec78

    Registers:
    EAX=0x00000001, EBX=0x00000000, ECX=0x00000001, EDX=0x00000001
    ESP=0x0006ec78, EBP=0x0006ed50, ESI=0x00000001, EDI=0x0000006f
    EIP=0x00cb0a59, EFLAGS=0x00010206

    Top of Stack: (sp=0x0006ec78)
    0x0006ec78: ffffffff 7c93056d 7c931962 7c931993
    0x0006ec88: 7c99c080 7c931970 00158cc0 00000038
    0x0006ec98: 001590cc 7ffdd000 0012f888 7c80f05b
    0x0006eca8: 0012f8e4 7c92ee18 7c931978 ffffffff
    0x0006ecb8: ffff1272 ffff0020 ffffffff 00cf74b1
    0x0006ecc8: 01c9001b 00cf7350 ffff0023 0012f754
    0x0006ecd8: 0000000f f7d0dc00 00000012 f7b40000
    0x0006ece8: 0012f7ec 0000000e 05c8f7a8 8c987c93

    Instructions: (pc=0x00cb0a59)
    0x00cb0a49: 83 ec 6c dd 34 24 9b d9 24 24 83 ec 40 dd 1c 24
    0x00cb0a59: dd 5c 24 08 dd 5c 24 10 dd 5c 24 18 dd 5c 24 20

    Stack: [0x00030000,0x00070000), sp=0x0006ec78, free space=251k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    v ~SafepointBlob
    C 0x00000000
    J java.util.HashMap.hash(Ljava/lang/Object;)I
    j java.util.WeakHashMap.get(Ljava/lang/Object;)Ljava/lang/Object;+6
    j org.eclipse.osgi.internal.resolver.StateReader.readString(Ljava/io/DataInputStream;Z)Ljava/lang/String;+39
    j org.eclipse.osgi.internal.resolver.StateReader.readBaseDescription(Lorg/eclipse/osgi/internal/resolver/BaseDescriptionImpl;Ljava/io/DataInputStream;)V+4
    j org.eclipse.osgi.internal.resolver.StateReader.readBundleDescription(Ljava/io/DataInputStream;)Lorg/eclipse/osgi/internal/resolver/BundleDescriptionImpl;+57
    j org.eclipse.osgi.internal.resolver.StateReader.readState(Lorg/eclipse/osgi/internal/resolver/StateImpl;J)Z+250
    j org.eclipse.osgi.internal.resolver.StateReader.loadState(Lorg/eclipse/osgi/internal/resolver/StateImpl;J)Z+3
    j org.eclipse.osgi.internal.resolver.StateObjectFactoryImpl.readSystemState(Ljava/io/File;Ljava/io/File;ZJ)Lorg/eclipse/osgi/internal/resolver/SystemState;+40
    j org.eclipse.osgi.framework.adaptor.core.StateManager.readSystemState(Ljava/io/File;Ljava/io/File;J)V+57
    j org.eclipse.osgi.framework.adaptor.core.StateManager.readSystemState()Lorg/eclipse/osgi/service/resolver/State;+20
    j org.eclipse.core.runtime.adaptor.EclipseAdaptor.createStateManager()Lorg/eclipse/osgi/framework/adaptor/core/StateManager;+66
    j org.eclipse.osgi.framework.adaptor.core.AbstractFrameworkAdaptor.frameworkStart(Lorg/osgi/framework/BundleContext;)V+38
    j org.eclipse.core.runtime.adaptor.EclipseAdaptor.frameworkStart(Lorg/osgi/framework/BundleContext;)V+20
    j org.eclipse.osgi.framework.internal.core.SystemBundleActivator.start(Lorg/osgi/framework/BundleContext;)V+232
    j org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run()Ljava/lang/Object;+56
    v ~StubRoutines::call_stub
    V [jvm.dll+0x845a9]
    V [jvm.dll+0xd9317]
    V [jvm.dll+0x8447a]
    C [java.dll+0x1047]
    j org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(Lorg/osgi/framework/BundleActivator;)V+22
    j org.eclipse.osgi.framework.internal.core.BundleContextImpl.start()V+23
    j org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles([Lorg/eclipse/osgi/framework/internal/core/AbstractBundle;Z)V+24
    j org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(ILorg/eclipse/osgi/framework/internal/core/AbstractBundle;)V+64
    j org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(ILorg/eclipse/osgi/framework/internal/core/AbstractBundle;)V+59
    j org.eclipse.osgi.framework.internal.core.StartLevelManager.launch(I)V+8
    j org.eclipse.osgi.framework.internal.core.SystemBundle.resume()V+27
    j org.eclipse.osgi.framework.internal.core.Framework.launch()V+29
    j org.eclipse.osgi.framework.internal.core.OSGi.launch()V+4
    j org.eclipse.core.runtime.adaptor.EclipseStarter.startup([Ljava/lang/String;Ljava/lang/Runnable;)V+146
    j org.eclipse.core.runtime.adaptor.EclipseStarter.run([Ljava/lang/String;Ljava/lang/Runnable;)Ljava/lang/Object;+34
    v ~StubRoutines::call_stub
    V [jvm.dll+0x845a9]
    V [jvm.dll+0xd9317]
    V [jvm.dll+0x8447a]
    V [jvm.dll+0xed13f]
    V [jvm.dll+0xa23ad]
    C [java.dll+0x6d11]
    j sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+87
    j sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+6
    j java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+111
    j org.eclipse.core.launcher.Main.invokeFramework([Ljava/lang/String;[Ljava/net/URL;)V+181
    j org.eclipse.core.launcher.Main.basicRun([Ljava/lang/String;)V+107
    j org.eclipse.core.launcher.Main.run([Ljava/lang/String;)I+4
    j org.eclipse.core.launcher.Main.main([Ljava/lang/String;)V+10
    v ~StubRoutines::call_stub
    V [jvm.dll+0x845a9]
    V [jvm.dll+0xd9317]
    V [jvm.dll+0x8447a]
    V [jvm.dll+0x8b44a]
    C [javaw.exe+0x14c5]
    C [javaw.exe+0x3151]
    C [kernel32.dll+0x16d4f]

    ————— P R O C E S S —————

    Java Threads: ( => current thread )
    0x00830e70 JavaThread “Low Memory Detector” daemon [_thread_blocked, id=2828]
    0x0082e120 JavaThread “CompilerThread0” daemon [_thread_blocked, id=2836]
    0x0082ee70 JavaThread “Signal Dispatcher” daemon [_thread_blocked, id=2508]
    0x0082c300 JavaThread “Finalizer” daemon [_thread_blocked, id=2232]
    0x0082b070 JavaThread “Reference Handler” daemon [_thread_blocked, id=2180]
    =>0x00823e70 JavaThread “main” [_thread_in_Java, id=1940]

    Other Threads:
    0x0082a2e0 VMThread [id=3704]
    0x00832230 WatcherThread [id=4004]

    VM state:synchronizing (normal execution)

    VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event])
    [0x00822550/0x00000704] Safepoint_lock – owner thread: 0x0082a2e0
    [0x00822520/0x000006fc] Threads_lock – owner thread: 0x0082a2e0

    Heap
    def new generation total 2880K, used 2646K [0x16bd0000, 0x16ee0000, 0x17f80000)
    eden
    [error occurred during error reporting, step 190, id 0xc0000092]

    Dynamic libraries:
    0x00400000 – 0x0040d000 C:\Java\jdk\jre\bin\javaw.exe
    0x7c920000 – 0x7c9b4000 C:\WINDOWS\system32\ntdll.dll
    0x7c800000 – 0x7c91c000 C:\WINDOWS\system32\kernel32.dll
    0x77da0000 – 0x77e49000 C:\WINDOWS\system32\ADVAPI32.dll
    0x77e50000 – 0x77ee1000 C:\WINDOWS\system32\RPCRT4.dll
    0x77d10000 – 0x77d9f000 C:\WINDOWS\system32\USER32.dll
    0x77ef0000 – 0x77f36000 C:\WINDOWS\system32\GDI32.dll
    0x77be0000 – 0x77c38000 C:\WINDOWS\system32\MSVCRT.dll
    0x76300000 – 0x7631d000 C:\WINDOWS\system32\IMM32.DLL
    0x62c20000 – 0x62c29000 C:\WINDOWS\system32\LPK.DLL
    0x73fa0000 – 0x7400b000 C:\WINDOWS\system32\USP10.dll
    0x00920000 – 0x00994000 C:\WINDOWS\TEMP\ina1.tmp
    0x5d170000 – 0x5d207000 C:\WINDOWS\system32\COMCTL32.DLL
    0x71a90000 – 0x71aa2000 C:\WINDOWS\system32\MPR.DLL
    0x76990000 – 0x76acc000 C:\WINDOWS\system32\OLE32.DLL
    0x770f0000 – 0x7717c000 C:\WINDOWS\system32\OLEAUT32.DLL
    0x71a40000 – 0x71a4b000 C:\WINDOWS\system32\WSOCK32.DLL
    0x71a20000 – 0x71a37000 C:\WINDOWS\system32\WS2_32.dll
    0x71a10000 – 0x71a18000 C:\WINDOWS\system32\WS2HELP.dll
    0x6d6e0000 – 0x6d874000 C:\Java\jdk\jre\bin\client\jvm.dll
    0x76b10000 – 0x76b3a000 C:\WINDOWS\system32\WINMM.dll
    0x6d2f0000 – 0x6d2f8000 C:\Java\jdk\jre\bin\hpi.dll
    0x76bc0000 – 0x76bcb000 C:\WINDOWS\system32\PSAPI.DLL
    0x6d6b0000 – 0x6d6bc000 C:\Java\jdk\jre\bin\verify.dll
    0x6d370000 – 0x6d38d000 C:\Java\jdk\jre\bin\java.dll
    0x6d6d0000 – 0x6d6df000 C:\Java\jdk\jre\bin\zip.dll
    0x6d530000 – 0x6d543000 C:\Java\jdk\jre\bin\net.dll
    0x6d550000 – 0x6d559000 C:\Java\jdk\jre\bin\nio.dll

    VM Arguments:
    jvm_args: -Xms40m -Xmx256m
    java_command: E:\IDE\eclipse\startup.jar -os win32 -ws win32 -arch x86 -launcher E:\IDE\eclipse\eclipse.exe -name Eclipse -showsplash 600 -exitdata 82c_60 -vm C:\Java\jdk\jre\bin\javaw.exe -vmargs -Xms40m -Xmx256m -jar E:\IDE\eclipse\startup.jar
    Launcher Type: SUN_STANDARD

    JDK 1.5
    Eclipse 3.1.2
    MyEclipse 4.1 GA
    Tomcat 5.5.15

    #247657

    Riyad Kalla
    Member

    Can you run Tomcat outside of MyEclipse without incident? If so, please specify how you have Tomcat setup in MyEclipse (all the fields and also the JDK you have configured to run it).

    ALso, when you run it, do you get a dialog that pops up with an error, or does MyEclipse completely die?

    #247661

    feng333
    Member

    I can run Tomcat outside of MyEclipse without incident. I configure tomacat according to the Application Servers quickstart :http://myeclipseide.com/enterpriseworkbench/help/index.jsp?topic=/com.genuitec.myeclipse.doc/html/quickstarts/subscriptions/index.html

    When I run Tomcat inside of MyEclipse ,I don’t get a dialog that pops up with an error, and MyEclipse keep working.

    #247676

    Riyad Kalla
    Member

    When I run Tomcat inside of MyEclipse ,I don’t get a dialog that pops up with an error, and MyEclipse keep working.

    Do you get any output in your console window? Can you paste it here for me?

    If you click on your Debug perspective, do you see the “Play” or “continue” button as enabled? If you look at all the threads, do you see any suspended? If you go to your breakpoints view and right click and do “Remove All” then try and resart Tomcat, does it work? What JDK did you set Tomcat up with to run?

    Also, if you restart using -clean command line argument, does it fix it?

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: can’t start Tomcat from MyEclipse

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