You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Ioan Eugen Stan (Jira)" <se...@james.apache.org> on 2020/06/08 20:21:00 UTC

[jira] [Closed] (JAMES-1406) james windows launcher failing on "james restart"

     [ https://issues.apache.org/jira/browse/JAMES-1406?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ioan Eugen Stan closed JAMES-1406.
----------------------------------
    Resolution: Abandoned

This was for a beta version, not a final release.
Please reopen if still relevant. I'm on a cleaning spree.

> james windows launcher failing on "james restart"
> -------------------------------------------------
>
>                 Key: JAMES-1406
>                 URL: https://issues.apache.org/jira/browse/JAMES-1406
>             Project: James Server
>          Issue Type: Bug
>    Affects Versions: 3.0-beta3, 3.0-beta4
>         Environment: windows xp sp3
>            Reporter: Gabe
>            Priority: Major
>
> running james 3.0beta 4 (same issue happens on beta3 as well) when restarting the service i keep encountering this isssue when the server won't start again. After keep trying (james start) without changing anything it will eventually start but in a production environment this would not work.
> Here's the wrapper.log logging:
> STATUS | wrapper  | 2012/04/20 09:20:52 | The Apache James Server App service was not running.
> STATUS | wrapper  | 2012/04/20 09:20:52 | Starting the Apache James Server App service...
> STATUS | wrapper  | 2012/04/20 09:20:52 | --> Wrapper Started as Service
> STATUS | wrapper  | 2012/04/20 09:20:52 | Launching a JVM...
> INFO   | jvm 1    | 2012/04/20 09:20:52 | WrapperManager class initialized by thread: main  Using classloader: sun.misc.Launcher$AppClassLoader@7d772e
> INFO   | jvm 1    | 2012/04/20 09:20:52 | Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
> INFO   | jvm 1    | 2012/04/20 09:20:52 |   Copyright 1999-2006 Tanuki Software, Inc.  All Rights Reserved.
> INFO   | jvm 1    | 2012/04/20 09:20:52 | 
> INFO   | jvm 1    | 2012/04/20 09:20:52 | Wrapper Manager: JVM #1
> INFO   | jvm 1    | 2012/04/20 09:20:52 | Running a 32-bit JVM.
> INFO   | jvm 1    | 2012/04/20 09:20:52 | Wrapper Manager: Registering shutdown hook
> INFO   | jvm 1    | 2012/04/20 09:20:52 | Wrapper Manager: Using wrapper
> INFO   | jvm 1    | 2012/04/20 09:20:52 | Load native library.  One or more attempts may fail if platform specific libraries do not exist.
> INFO   | jvm 1    | 2012/04/20 09:20:52 | Loaded native library: wrapper-windows-x86-32.dll
> INFO   | jvm 1    | 2012/04/20 09:20:52 | Calling native initialization method.
> INFO   | jvm 1    | 2012/04/20 09:20:52 | Initializing WrapperManager native library.
> INFO   | jvm 1    | 2012/04/20 09:20:52 | Java Executable: C:\work\jdk\jdk1.6.0_23\bin\java.exe
> INFO   | jvm 1    | 2012/04/20 09:20:52 | Windows version: 5.1.2600
> INFO   | jvm 1    | 2012/04/20 09:20:52 | Java Version   : 1.6.0_23-b05 Java HotSpot(TM) Client VM
> INFO   | jvm 1    | 2012/04/20 09:20:52 | Java VM Vendor : Sun Microsystems Inc.
> INFO   | jvm 1    | 2012/04/20 09:20:52 | 
> INFO   | jvm 1    | 2012/04/20 09:20:52 | Control event monitor thread started.
> INFO   | jvm 1    | 2012/04/20 09:20:52 | Startup runner thread started.
> INFO   | jvm 1    | 2012/04/20 09:20:52 | WrapperManager.start(org.tanukisoftware.wrapper.WrapperSimpleApp@998b08, args["start"]) called by thread: main
> INFO   | jvm 1    | 2012/04/20 09:20:52 | Communications runner thread started.
> INFO   | jvm 1    | 2012/04/20 09:20:52 | Open socket to wrapper...Wrapper-Connection
> INFO   | jvm 1    | 2012/04/20 09:20:52 | Opened Socket from 31000 to 32000
> INFO   | jvm 1    | 2012/04/20 09:20:52 | Send a packet KEY : IyC5Mn8S3ORH37EP
> INFO   | jvm 1    | 2012/04/20 09:20:52 | handleSocket(Socket[addr=/127.0.0.1,port=32000,localport=31000])
> ERROR  | wrapper  | 2012/04/20 09:20:52 | Unable to send the start command to the JVM.
> INFO   | jvm 1    | 2012/04/20 09:20:52 | Received a packet LOW_LOG_LEVEL : 1
> INFO   | jvm 1    | 2012/04/20 09:20:52 | Wrapper Manager: LowLogLevel from Wrapper is 1
> INFO   | jvm 1    | 2012/04/20 09:20:52 | Received a packet PING_TIMEOUT : 30
> INFO   | jvm 1    | 2012/04/20 09:20:52 | PingTimeout from Wrapper is 30000
> ERROR  | wrapper  | 2012/04/20 09:20:52 | JVM did not exit on request, terminated
> INFO   | wrapper  | 2012/04/20 09:20:57 | Waiting to start...
> STATUS | wrapper  | 2012/04/20 09:20:57 | Launching a JVM...
> INFO   | jvm 2    | 2012/04/20 09:20:58 | WrapperManager class initialized by thread: main  Using classloader: sun.misc.Launcher$AppClassLoader@7d772e
> INFO   | jvm 2    | 2012/04/20 09:20:58 | Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
> INFO   | jvm 2    | 2012/04/20 09:20:58 |   Copyright 1999-2006 Tanuki Software, Inc.  All Rights Reserved.
> INFO   | jvm 2    | 2012/04/20 09:20:58 | 
> INFO   | jvm 2    | 2012/04/20 09:20:58 | Wrapper Manager: JVM #2
> INFO   | jvm 2    | 2012/04/20 09:20:58 | Running a 32-bit JVM.
> INFO   | jvm 2    | 2012/04/20 09:20:58 | Wrapper Manager: Registering shutdown hook
> INFO   | jvm 2    | 2012/04/20 09:20:58 | Wrapper Manager: Using wrapper
> INFO   | jvm 2    | 2012/04/20 09:20:58 | Load native library.  One or more attempts may fail if platform specific libraries do not exist.
> INFO   | jvm 2    | 2012/04/20 09:20:58 | Loaded native library: wrapper-windows-x86-32.dll
> INFO   | jvm 2    | 2012/04/20 09:20:58 | Calling native initialization method.
> INFO   | jvm 2    | 2012/04/20 09:20:58 | Initializing WrapperManager native library.
> INFO   | jvm 2    | 2012/04/20 09:20:58 | Java Executable: C:\work\jdk\jdk1.6.0_23\bin\java.exe
> INFO   | jvm 2    | 2012/04/20 09:20:58 | Windows version: 5.1.2600
> INFO   | jvm 2    | 2012/04/20 09:20:58 | Java Version   : 1.6.0_23-b05 Java HotSpot(TM) Client VM
> INFO   | jvm 2    | 2012/04/20 09:20:58 | Java VM Vendor : Sun Microsystems Inc.
> INFO   | jvm 2    | 2012/04/20 09:20:58 | 
> INFO   | jvm 2    | 2012/04/20 09:20:58 | Control event monitor thread started.
> INFO   | jvm 2    | 2012/04/20 09:20:58 | Startup runner thread started.
> INFO   | jvm 2    | 2012/04/20 09:20:58 | WrapperManager.start(org.tanukisoftware.wrapper.WrapperSimpleApp@998b08, args["start"]) called by thread: main
> INFO   | jvm 2    | 2012/04/20 09:20:58 | Communications runner thread started.
> INFO   | jvm 2    | 2012/04/20 09:20:58 | Open socket to wrapper...Wrapper-Connection
> INFO   | jvm 2    | 2012/04/20 09:20:58 | Failed attempt to bind using local port 31000
> INFO   | jvm 2    | 2012/04/20 09:20:58 | Opened Socket from 31001 to 32001
> INFO   | jvm 2    | 2012/04/20 09:20:58 | Send a packet KEY : 3H6a3tk7lsDrA_3c
> INFO   | jvm 2    | 2012/04/20 09:20:58 | handleSocket(Socket[addr=/127.0.0.1,port=32001,localport=31001])
> ERROR  | wrapper  | 2012/04/20 09:20:58 | Unable to send the start command to the JVM.
> INFO   | jvm 2    | 2012/04/20 09:20:58 | Received a packet LOW_LOG_LEVEL : 1
> INFO   | jvm 2    | 2012/04/20 09:20:58 | Wrapper Manager: LowLogLevel from Wrapper is 1
> INFO   | jvm 2    | 2012/04/20 09:20:58 | Received a packet PING_TIMEOUT : 30
> INFO   | jvm 2    | 2012/04/20 09:20:58 | PingTimeout from Wrapper is 30000
> ERROR  | wrapper  | 2012/04/20 09:20:58 | JVM did not exit on request, terminated
> INFO   | wrapper  | 2012/04/20 09:21:02 | Waiting to start...
> STATUS | wrapper  | 2012/04/20 09:21:03 | Launching a JVM...
> INFO   | jvm 3    | 2012/04/20 09:21:03 | WrapperManager class initialized by thread: main  Using classloader: sun.misc.Launcher$AppClassLoader@7d772e
> INFO   | jvm 3    | 2012/04/20 09:21:03 | Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
> INFO   | jvm 3    | 2012/04/20 09:21:03 |   Copyright 1999-2006 Tanuki Software, Inc.  All Rights Reserved.
> INFO   | jvm 3    | 2012/04/20 09:21:03 | 
> INFO   | jvm 3    | 2012/04/20 09:21:03 | Wrapper Manager: JVM #3
> INFO   | jvm 3    | 2012/04/20 09:21:03 | Running a 32-bit JVM.
> INFO   | jvm 3    | 2012/04/20 09:21:03 | Wrapper Manager: Registering shutdown hook
> INFO   | jvm 3    | 2012/04/20 09:21:03 | Wrapper Manager: Using wrapper
> INFO   | jvm 3    | 2012/04/20 09:21:03 | Load native library.  One or more attempts may fail if platform specific libraries do not exist.
> INFO   | jvm 3    | 2012/04/20 09:21:03 | Loaded native library: wrapper-windows-x86-32.dll
> INFO   | jvm 3    | 2012/04/20 09:21:03 | Calling native initialization method.
> INFO   | jvm 3    | 2012/04/20 09:21:03 | Initializing WrapperManager native library.
> INFO   | jvm 3    | 2012/04/20 09:21:03 | Java Executable: C:\work\jdk\jdk1.6.0_23\bin\java.exe
> INFO   | jvm 3    | 2012/04/20 09:21:03 | Windows version: 5.1.2600
> INFO   | jvm 3    | 2012/04/20 09:21:03 | Java Version   : 1.6.0_23-b05 Java HotSpot(TM) Client VM
> INFO   | jvm 3    | 2012/04/20 09:21:03 | Java VM Vendor : Sun Microsystems Inc.
> INFO   | jvm 3    | 2012/04/20 09:21:03 | 
> INFO   | jvm 3    | 2012/04/20 09:21:03 | Control event monitor thread started.
> INFO   | jvm 3    | 2012/04/20 09:21:03 | Startup runner thread started.
> INFO   | jvm 3    | 2012/04/20 09:21:03 | WrapperManager.start(org.tanukisoftware.wrapper.WrapperSimpleApp@76cbf7, args["start"]) called by thread: main
> INFO   | jvm 3    | 2012/04/20 09:21:03 | Communications runner thread started.
> INFO   | jvm 3    | 2012/04/20 09:21:03 | Open socket to wrapper...Wrapper-Connection
> INFO   | jvm 3    | 2012/04/20 09:21:03 | Opened Socket from 31000 to 32000
> INFO   | jvm 3    | 2012/04/20 09:21:03 | Send a packet KEY : WlecxD7BaBZ_cbS3
> INFO   | jvm 3    | 2012/04/20 09:21:03 | handleSocket(Socket[addr=/127.0.0.1,port=32000,localport=31000])
> ERROR  | wrapper  | 2012/04/20 09:21:03 | Unable to send the start command to the JVM.
> INFO   | jvm 3    | 2012/04/20 09:21:03 | Received a packet LOW_LOG_LEVEL : 1
> INFO   | jvm 3    | 2012/04/20 09:21:03 | Wrapper Manager: LowLogLevel from Wrapper is 1
> INFO   | jvm 3    | 2012/04/20 09:21:03 | Received a packet PING_TIMEOUT : 30
> INFO   | jvm 3    | 2012/04/20 09:21:03 | PingTimeout from Wrapper is 30000
> ERROR  | wrapper  | 2012/04/20 09:21:03 | JVM did not exit on request, terminated
> INFO   | wrapper  | 2012/04/20 09:21:07 | Waiting to start...
> STATUS | wrapper  | 2012/04/20 09:21:08 | Launching a JVM...
> INFO   | jvm 4    | 2012/04/20 09:21:08 | WrapperManager class initialized by thread: main  Using classloader: sun.misc.Launcher$AppClassLoader@7d772e
> INFO   | jvm 4    | 2012/04/20 09:21:08 | Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
> INFO   | jvm 4    | 2012/04/20 09:21:08 |   Copyright 1999-2006 Tanuki Software, Inc.  All Rights Reserved.
> INFO   | jvm 4    | 2012/04/20 09:21:08 | 
> INFO   | jvm 4    | 2012/04/20 09:21:08 | Wrapper Manager: JVM #4
> INFO   | jvm 4    | 2012/04/20 09:21:08 | Running a 32-bit JVM.
> INFO   | jvm 4    | 2012/04/20 09:21:08 | Wrapper Manager: Registering shutdown hook
> INFO   | jvm 4    | 2012/04/20 09:21:08 | Wrapper Manager: Using wrapper
> INFO   | jvm 4    | 2012/04/20 09:21:08 | Load native library.  One or more attempts may fail if platform specific libraries do not exist.
> INFO   | jvm 4    | 2012/04/20 09:21:08 | Loaded native library: wrapper-windows-x86-32.dll
> INFO   | jvm 4    | 2012/04/20 09:21:08 | Calling native initialization method.
> INFO   | jvm 4    | 2012/04/20 09:21:08 | Initializing WrapperManager native library.
> INFO   | jvm 4    | 2012/04/20 09:21:08 | Java Executable: C:\work\jdk\jdk1.6.0_23\bin\java.exe
> INFO   | jvm 4    | 2012/04/20 09:21:08 | Windows version: 5.1.2600
> INFO   | jvm 4    | 2012/04/20 09:21:08 | Java Version   : 1.6.0_23-b05 Java HotSpot(TM) Client VM
> INFO   | jvm 4    | 2012/04/20 09:21:08 | Java VM Vendor : Sun Microsystems Inc.
> INFO   | jvm 4    | 2012/04/20 09:21:08 | 
> INFO   | jvm 4    | 2012/04/20 09:21:08 | Control event monitor thread started.
> INFO   | jvm 4    | 2012/04/20 09:21:08 | Startup runner thread started.
> INFO   | jvm 4    | 2012/04/20 09:21:08 | WrapperManager.start(org.tanukisoftware.wrapper.WrapperSimpleApp@998b08, args["start"]) called by thread: main
> INFO   | jvm 4    | 2012/04/20 09:21:08 | Communications runner thread started.
> INFO   | jvm 4    | 2012/04/20 09:21:08 | Open socket to wrapper...Wrapper-Connection
> INFO   | jvm 4    | 2012/04/20 09:21:08 | Opened Socket from 31000 to 32001
> INFO   | jvm 4    | 2012/04/20 09:21:08 | Send a packet KEY : SKWUOzz3FC9QGowT
> INFO   | jvm 4    | 2012/04/20 09:21:08 | handleSocket(Socket[addr=/127.0.0.1,port=32001,localport=31000])
> ERROR  | wrapper  | 2012/04/20 09:21:08 | Unable to send the start command to the JVM.
> INFO   | jvm 4    | 2012/04/20 09:21:08 | Received a packet LOW_LOG_LEVEL : 1
> INFO   | jvm 4    | 2012/04/20 09:21:08 | Wrapper Manager: LowLogLevel from Wrapper is 1
> INFO   | jvm 4    | 2012/04/20 09:21:08 | Received a packet PING_TIMEOUT : 30
> INFO   | jvm 4    | 2012/04/20 09:21:08 | PingTimeout from Wrapper is 30000
> ERROR  | wrapper  | 2012/04/20 09:21:08 | JVM did not exit on request, terminated
> INFO   | wrapper  | 2012/04/20 09:21:12 | Waiting to start...
> STATUS | wrapper  | 2012/04/20 09:21:13 | Launching a JVM...
> INFO   | jvm 5    | 2012/04/20 09:21:13 | WrapperManager class initialized by thread: main  Using classloader: sun.misc.Launcher$AppClassLoader@7d772e
> INFO   | jvm 5    | 2012/04/20 09:21:13 | Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
> INFO   | jvm 5    | 2012/04/20 09:21:13 |   Copyright 1999-2006 Tanuki Software, Inc.  All Rights Reserved.
> INFO   | jvm 5    | 2012/04/20 09:21:13 | 
> INFO   | jvm 5    | 2012/04/20 09:21:13 | Wrapper Manager: JVM #5
> INFO   | jvm 5    | 2012/04/20 09:21:13 | Running a 32-bit JVM.
> INFO   | jvm 5    | 2012/04/20 09:21:13 | Wrapper Manager: Registering shutdown hook
> INFO   | jvm 5    | 2012/04/20 09:21:13 | Wrapper Manager: Using wrapper
> INFO   | jvm 5    | 2012/04/20 09:21:13 | Load native library.  One or more attempts may fail if platform specific libraries do not exist.
> INFO   | jvm 5    | 2012/04/20 09:21:13 | Loaded native library: wrapper-windows-x86-32.dll
> INFO   | jvm 5    | 2012/04/20 09:21:13 | Calling native initialization method.
> INFO   | jvm 5    | 2012/04/20 09:21:13 | Initializing WrapperManager native library.
> INFO   | jvm 5    | 2012/04/20 09:21:13 | Java Executable: C:\work\jdk\jdk1.6.0_23\bin\java.exe
> INFO   | jvm 5    | 2012/04/20 09:21:13 | Windows version: 5.1.2600
> INFO   | jvm 5    | 2012/04/20 09:21:13 | Java Version   : 1.6.0_23-b05 Java HotSpot(TM) Client VM
> INFO   | jvm 5    | 2012/04/20 09:21:13 | Java VM Vendor : Sun Microsystems Inc.
> INFO   | jvm 5    | 2012/04/20 09:21:13 | 
> INFO   | jvm 5    | 2012/04/20 09:21:13 | Control event monitor thread started.
> INFO   | jvm 5    | 2012/04/20 09:21:13 | Startup runner thread started.
> INFO   | jvm 5    | 2012/04/20 09:21:13 | WrapperManager.start(org.tanukisoftware.wrapper.WrapperSimpleApp@76cbf7, args["start"]) called by thread: main
> INFO   | jvm 5    | 2012/04/20 09:21:13 | Communications runner thread started.
> INFO   | jvm 5    | 2012/04/20 09:21:13 | Open socket to wrapper...Wrapper-Connection
> INFO   | jvm 5    | 2012/04/20 09:21:13 | Opened Socket from 31000 to 32000
> INFO   | jvm 5    | 2012/04/20 09:21:13 | Send a packet KEY : 1DydzXtv8MCsInaG
> INFO   | jvm 5    | 2012/04/20 09:21:13 | handleSocket(Socket[addr=/127.0.0.1,port=32000,localport=31000])
> ERROR  | wrapper  | 2012/04/20 09:21:13 | Unable to send the start command to the JVM.
> INFO   | jvm 5    | 2012/04/20 09:21:14 | Received a packet LOW_LOG_LEVEL : 1
> INFO   | jvm 5    | 2012/04/20 09:21:14 | Wrapper Manager: LowLogLevel from Wrapper is 1
> INFO   | jvm 5    | 2012/04/20 09:21:14 | Received a packet PING_TIMEOUT : 30
> INFO   | jvm 5    | 2012/04/20 09:21:14 | PingTimeout from Wrapper is 30000
> ERROR  | wrapper  | 2012/04/20 09:21:14 | JVM did not exit on request, terminated
> FATAL  | wrapper  | 2012/04/20 09:21:14 | There were 5 failed launches in a row, each lasting less than 300 seconds.  Giving up.
> FATAL  | wrapper  | 2012/04/20 09:21:14 |   There may be a configuration problem: please check the logs.
> STATUS | wrapper  | 2012/04/20 09:21:14 | <-- Wrapper Stopped
> ERROR  | wrapper  | 2012/04/20 09:21:16 | The Apache James Server App service was launched, but failed to start.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org