Menu

#45 Erm.. cannot restart Apps

v3.0.5
closed-invalid
5
2004-07-21
2004-04-14
Anonymous
No

STATUS | wrapper | 2004/04/14 17:16:28 | -->
Wrapper Started as Console
STATUS | wrapper | 2004/04/14 17:16:30 | Launching
a JVM...
INFO | jvm 1 | 2004/04/14 17:16:31 | Wrapper
Manager: JVM #1
INFO | jvm 1 | 2004/04/14 17:16:31 | Wrapper
Manager: Registering shutdown hook
INFO | jvm 1 | 2004/04/14 17:16:31 | Wrapper
Manager: Using wrapper
INFO | jvm 1 | 2004/04/14 17:16:31 | Calling native
initialization method.
INFO | jvm 1 | 2004/04/14 17:16:31 | Initializing
WrapperManager native library.
INFO | jvm 1 | 2004/04/14 17:16:31 | Java
Executable: D:\j2sdk\1.4.2\04\bin\java.exe
INFO | jvm 1 | 2004/04/14 17:16:31 | Java
Version : 1.4.2_04-b05 Java HotSpot(TM) Client VM
INFO | jvm 1 | 2004/04/14 17:16:31 | Java VM
Vendor : Sun Microsystems Inc.
INFO | jvm 1 | 2004/04/14 17:16:31 |
INFO | jvm 1 | 2004/04/14 17:16:31 | Wrapper
(Version 3.0.5)
INFO | jvm 1 | 2004/04/14 17:16:31 |
INFO | jvm 1 | 2004/04/14 17:16:31 | Open socket
to wrapper...
INFO | jvm 1 | 2004/04/14 17:16:31 | Opened
Socket
INFO | jvm 1 | 2004/04/14 17:16:31 | Send a
packet KEY : B2SfVRCWHhnG3vgE
INFO | jvm 1 | 2004/04/14 17:16:31 | handleSocket
(Socket[addr=/127.0.0.1,port=32000,localport=2081])
INFO | jvm 1 | 2004/04/14 17:16:32 | Received a
packet LOW_LOG_LEVEL : 1
INFO | jvm 1 | 2004/04/14 17:16:32 | Wrapper
Manager: LowLogLevel from Wrapper is 1
INFO | jvm 1 | 2004/04/14 17:16:32 | Received a
packet PING_TIMEOUT : 30
INFO | jvm 1 | 2004/04/14 17:16:32 | Wrapper
Manager: PingTimeout from Wrapper is 30000
INFO | jvm 1 | 2004/04/14 17:16:32 | Received a
packet START : start
INFO | jvm 1 | 2004/04/14 17:16:32 | calling
listener.start()
INFO | jvm 1 | 2004/04/14 17:16:32 |
WrapperStartStopApp: start(args)
INFO | jvm 1 | 2004/04/14 17:16:32 |
WrapperStartStopApp: invoking start main method
INFO | jvm 1 | 2004/04/14 17:16:32 | Wrapper
(Version 3.0.5)
INFO | jvm 1 | 2004/04/14 17:16:32 |
INFO | jvm 1 | 2004/04/14 17:16:32 |
INFO | jvm 1 | 2004/04/14 17:16:32 |
WrapperStartStopApp: Encountered an error running
start main: java.lang.IllegalStateException:
WrapperManager has already been started with a
WrapperListener.
INFO | jvm 1 | 2004/04/14 17:16:32 |
java.lang.IllegalStateException: WrapperManager has
already been started with a WrapperListener.
INFO | jvm 1 | 2004/04/14 17:16:32 | at
org.tanukisoftware.wrapper.WrapperManager.start
(WrapperManager.java:810)
INFO | jvm 1 | 2004/04/14 17:16:32 | at
uk.co.formfill.tradeengine.engine.VMIFactory.main
(VMIFactory.java:95)
INFO | jvm 1 | 2004/04/14 17:16:32 | at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
INFO | jvm 1 | 2004/04/14 17:16:32 | at
sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
INFO | jvm 1 | 2004/04/14 17:16:32 | at
sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
INFO | jvm 1 | 2004/04/14 17:16:32 | at
java.lang.reflect.Method.invoke(Method.java:324)
INFO | jvm 1 | 2004/04/14 17:16:32 | at
org.tanukisoftware.wrapper.WrapperStartStopApp.run
(WrapperStartStopApp.java:126)
INFO | jvm 1 | 2004/04/14 17:16:32 | at
java.lang.Thread.run(Thread.java:534)
INFO | jvm 1 | 2004/04/14 17:16:32 |
WrapperStartStopApp: start(args) end. Main
Completed=true, exitCode=1
INFO | jvm 1 | 2004/04/14 17:16:32 | Send a
packet STOP : 1
INFO | jvm 1 | 2004/04/14 17:16:32 | Thread,
Wrapper-Connection, handling the shutdown process.
INFO | jvm 1 | 2004/04/14 17:16:33 | Send a
packet STOPPED : 0
INFO | jvm 1 | 2004/04/14 17:16:33 | Closing
socket.
INFO | jvm 1 | 2004/04/14 17:16:33 | calling
System.exit(1)
STATUS | wrapper | 2004/04/14 17:16:34 | <--
Wrapper Stopped

Above are the trace log... how can i solve this problem??

Discussion

  • Leif Mortenson

    Leif Mortenson - 2004-06-15
    • assigned_to: nobody --> mortenson
    • status: open --> open-invalid
     
  • Leif Mortenson

    Leif Mortenson - 2004-06-15

    Logged In: YES
    user_id=228081

    No contact info on this issue, so hopefully you get this..

    From your log:

    java.lang.IllegalStateException: WrapperManager has already
    been started with aWrapperListener.
    at
    org.tanukisoftware.wrapper.WrapperManager.start(WrapperManager.java:810)
    at
    uk.co.formfill.tradeengine.engine.VMIFactory.main(VMIFactory.java:95)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at
    org.tanukisoftware.wrapper.WrapperStartStopApp.run(WrapperStartStopApp.java:126)
    at java.lang.Thread.run(Thread.java:534)
    WrapperStartStopApp: start(args) end. Main Completed=true,
    exitCode=1

    It looks like you are using Integration method #2 to launch
    your main class: uk.co.formfill.tradeengine.engine.VMIFactory

    That is fine. But the problem is that your main method is
    calling WrapperManager.start manually. That is not how it
    is designed to work. Are you sure that you are not trying
    to mix integration methods #2 and #3. If you are using
    method #2 then you should not need to write and special code
    which accesses the WrapperManager class directly.

    Cheers,
    Leif

     
  • Leif Mortenson

    Leif Mortenson - 2004-06-15
    • milestone: --> v3.0.5
     
  • Leif Mortenson

    Leif Mortenson - 2004-07-21
    • status: open-invalid --> closed-invalid
     
  • Leif Mortenson

    Leif Mortenson - 2004-07-21

    Logged In: YES
    user_id=228081

    Never heard back, so closing this off.

    Cheers,
    Leif

     

Log in to post a comment.