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 "carlos aviles (JIRA)" <se...@james.apache.org> on 2006/03/23 13:34:22 UTC
[jira] Created: (JAMES-460) Running James as an NT service
Running James as an NT service
------------------------------
Key: JAMES-460
URL: http://issues.apache.org/jira/browse/JAMES-460
Project: James
Type: Bug
Versions: 2.3.0
Environment: Windows 2000 Professional
JDK1.5.0_04
Reporter: carlos aviles
When trying to launch the service (installed with the supplyed wrapper), the wrapper throws an exception:
STATUS | wrapper | 2006/03/23 12:52:59 | Launching a JVM...
INFO | jvm 1 | 2006/03/23 12:52:59 | java.lang.NoClassDefFoundError: org/tanukisoftware/wrapper/WrapperListener
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org
[jira] Commented: (JAMES-460) Running James as an NT service
Posted by "Tony Freeman (JIRA)" <se...@james.apache.org>.
[ http://issues.apache.org/jira/browse/JAMES-460?page=comments#action_12371781 ]
Tony Freeman commented on JAMES-460:
------------------------------------
Ok, Started with the last suggestion...
1st Tried:
wrapper.java.additional.1=-Djava.ext.dirs=../lib
wrapper.java.additional.2=-Djava.ext.dirs=../tools/lib
wrapper*.3 etc...
Did not work; JVM could not find files in the first directory
2nd Tried:
wrapper.java.additional.1=-Djava.ext.dirs=../lib ; ../tools/lib
Did not work; JVM could not find ///tools/lib ?
The iterations could take forever, so I aborted and just copied all files from tools/lib to lib folder.
The service started without any errors. I have confirmed that there are no errors in any logs.
I will keep looking for the wrapper.conf solution but I am not a Java programmer...not much of a programmer at all...
I wish I could help you with the closing the issue, but I am just not familiar with the coding or the systems...
> Running James as an NT service
> ------------------------------
>
> Key: JAMES-460
> URL: http://issues.apache.org/jira/browse/JAMES-460
> Project: James
> Type: Bug
> Versions: 2.3.0
> Environment: Windows 2000 Professional
> JDK1.5.0_04
> Reporter: carlos aviles
> Assignee: Stefano Bagnara
>
> When trying to launch the service (installed with the supplyed wrapper), the wrapper throws an exception:
> STATUS | wrapper | 2006/03/23 12:52:59 | Launching a JVM...
> INFO | jvm 1 | 2006/03/23 12:52:59 | java.lang.NoClassDefFoundError: org/tanukisoftware/wrapper/WrapperListener
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org
[jira] Commented: (JAMES-460) Running James as an NT service
Posted by "Stefano Bagnara (JIRA)" <se...@james.apache.org>.
[ http://issues.apache.org/jira/browse/JAMES-460?page=comments#action_12371786 ]
Stefano Bagnara commented on JAMES-460:
---------------------------------------
I will test the wrapper.conf thing when I'll try to close this.
Thank you for your tests! Happy to know we can use the latest wrapper (memo for me: need to check wrapper license).
> Running James as an NT service
> ------------------------------
>
> Key: JAMES-460
> URL: http://issues.apache.org/jira/browse/JAMES-460
> Project: James
> Type: Bug
> Versions: 2.3.0
> Environment: Windows 2000 Professional
> JDK1.5.0_04
> Reporter: carlos aviles
> Assignee: Stefano Bagnara
>
> When trying to launch the service (installed with the supplyed wrapper), the wrapper throws an exception:
> STATUS | wrapper | 2006/03/23 12:52:59 | Launching a JVM...
> INFO | jvm 1 | 2006/03/23 12:52:59 | java.lang.NoClassDefFoundError: org/tanukisoftware/wrapper/WrapperListener
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org
[jira] Assigned: (JAMES-460) Running James as an NT service
Posted by "Stefano Bagnara (JIRA)" <se...@james.apache.org>.
[ http://issues.apache.org/jira/browse/JAMES-460?page=all ]
Stefano Bagnara reassigned JAMES-460:
-------------------------------------
Assign To: Stefano Bagnara
> Running James as an NT service
> ------------------------------
>
> Key: JAMES-460
> URL: http://issues.apache.org/jira/browse/JAMES-460
> Project: James
> Type: Bug
> Versions: 2.3.0
> Environment: Windows 2000 Professional
> JDK1.5.0_04
> Reporter: carlos aviles
> Assignee: Stefano Bagnara
>
> When trying to launch the service (installed with the supplyed wrapper), the wrapper throws an exception:
> STATUS | wrapper | 2006/03/23 12:52:59 | Launching a JVM...
> INFO | jvm 1 | 2006/03/23 12:52:59 | java.lang.NoClassDefFoundError: org/tanukisoftware/wrapper/WrapperListener
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org
[jira] Commented: (JAMES-460) Running James as an NT service
Posted by "Tony Freeman (JIRA)" <se...@james.apache.org>.
[ http://issues.apache.org/jira/browse/JAMES-460?page=comments#action_12371771 ]
Tony Freeman commented on JAMES-460:
------------------------------------
Downloaded the 3.2 wrapper and replaced the bin/wrapper.* (.dll, .jar, .exe) stuff with same files from the downloaded file.
Now this error during wrapper startup...
STATUS | wrapper | 2006/03/24 09:15:07 | --> Wrapper Started as Service STATUS | wrapper | 2006/03/24 09:15:07 | Launching a JVM...
INFO | jvm 1 | 2006/03/24 09:15:09 | Wrapper (Version 3.2.0)
http://wrapper.tanukisoftware.org
INFO | jvm 1 | 2006/03/24 09:15:09 |
INFO | jvm 1 | 2006/03/24 09:15:09 | Error in WrapperListener.start
callback. java.lang.NoClassDefFoundError:
org/apache/avalon/excalibur/i18n/ResourceManager
INFO | jvm 1 | 2006/03/24 09:15:09 | java.lang.NoClassDefFoundError:
org/apache/avalon/excalibur/i18n/ResourceManager
INFO | jvm 1 | 2006/03/24 09:15:09 | at
org.apache.avalon.phoenix.frontends.CLIMain.<clinit>(CLIMain.java:85)
INFO | jvm 1 | 2006/03/24 09:15:09 | at
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
INFO | jvm 1 | 2006/03/24 09:15:09 | at
sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
INFO | jvm 1 | 2006/03/24 09:15:09 | at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
INFO | jvm 1 | 2006/03/24 09:15:09 | at
java.lang.reflect.Constructor.newInstance(Unknown Source)
INFO | jvm 1 | 2006/03/24 09:15:09 | at
java.lang.Class.newInstance0(Unknown Source)
INFO | jvm 1 | 2006/03/24 09:15:09 | at
java.lang.Class.newInstance(Unknown Source)
INFO | jvm 1 | 2006/03/24 09:15:09 | at
org.apache.avalon.phoenix.launcher.Main.startup(Main.java:125)
INFO | jvm 1 | 2006/03/24 09:15:09 | at
org.apache.avalon.phoenix.launcher.DaemonLauncher.start(DaemonLauncher.java:
110)
INFO | jvm 1 | 2006/03/24 09:15:09 | at
org.tanukisoftware.wrapper.WrapperManager.startInner(WrapperManager.java:290
9)
INFO | jvm 1 | 2006/03/24 09:15:09 | at
org.tanukisoftware.wrapper.WrapperManager.handleSocket(WrapperManager.java:3
761)
INFO | jvm 1 | 2006/03/24 09:15:09 | at
org.tanukisoftware.wrapper.WrapperManager.run(WrapperManager.java:4158)
INFO | jvm 1 | 2006/03/24 09:15:09 | at
java.lang.Thread.run(Unknown Source)
INFO | wrapperp | 2006/03/24 09:15:09 | port 15012 already in use, using
port 32000 instead.
STATUS | wrapper | 2006/03/24 09:15:10 | <-- Wrapper Stopped
> Running James as an NT service
> ------------------------------
>
> Key: JAMES-460
> URL: http://issues.apache.org/jira/browse/JAMES-460
> Project: James
> Type: Bug
> Versions: 2.3.0
> Environment: Windows 2000 Professional
> JDK1.5.0_04
> Reporter: carlos aviles
> Assignee: Stefano Bagnara
>
> When trying to launch the service (installed with the supplyed wrapper), the wrapper throws an exception:
> STATUS | wrapper | 2006/03/23 12:52:59 | Launching a JVM...
> INFO | jvm 1 | 2006/03/23 12:52:59 | java.lang.NoClassDefFoundError: org/tanukisoftware/wrapper/WrapperListener
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org
[jira] Commented: (JAMES-460) Running James as an NT service
Posted by "Stefano Bagnara (JIRA)" <se...@james.apache.org>.
[ http://issues.apache.org/jira/browse/JAMES-460?page=comments#action_12371775 ]
Stefano Bagnara commented on JAMES-460:
---------------------------------------
Try copying the phenix-tools.jar to the lib dir too.
Actually, try to copy all the tools/lib jars to the lib or try to find out how to add them to your boot classpath.
> Running James as an NT service
> ------------------------------
>
> Key: JAMES-460
> URL: http://issues.apache.org/jira/browse/JAMES-460
> Project: James
> Type: Bug
> Versions: 2.3.0
> Environment: Windows 2000 Professional
> JDK1.5.0_04
> Reporter: carlos aviles
> Assignee: Stefano Bagnara
>
> When trying to launch the service (installed with the supplyed wrapper), the wrapper throws an exception:
> STATUS | wrapper | 2006/03/23 12:52:59 | Launching a JVM...
> INFO | jvm 1 | 2006/03/23 12:52:59 | java.lang.NoClassDefFoundError: org/tanukisoftware/wrapper/WrapperListener
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org
[jira] Resolved: (JAMES-460) Running James as an NT service
Posted by "Stefano Bagnara (JIRA)" <se...@james.apache.org>.
[ http://issues.apache.org/jira/browse/JAMES-460?page=all ]
Stefano Bagnara resolved JAMES-460:
-----------------------------------
Fix Version: 2.3.0a2
Resolution: Fixed
>From my tests your 2nd try should have worked.
> Running James as an NT service
> ------------------------------
>
> Key: JAMES-460
> URL: http://issues.apache.org/jira/browse/JAMES-460
> Project: James
> Type: Bug
> Versions: 2.3.0
> Environment: Windows 2000 Professional
> JDK1.5.0_04
> Reporter: carlos aviles
> Assignee: Stefano Bagnara
> Fix For: 2.3.0a2
>
> When trying to launch the service (installed with the supplyed wrapper), the wrapper throws an exception:
> STATUS | wrapper | 2006/03/23 12:52:59 | Launching a JVM...
> INFO | jvm 1 | 2006/03/23 12:52:59 | java.lang.NoClassDefFoundError: org/tanukisoftware/wrapper/WrapperListener
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org
[jira] Commented: (JAMES-460) Running James as an NT service
Posted by "Stefano Bagnara (JIRA)" <se...@james.apache.org>.
[ http://issues.apache.org/jira/browse/JAMES-460?page=comments#action_12371578 ]
Stefano Bagnara commented on JAMES-460:
---------------------------------------
The problem is that DaemonLauncher look for
org.tanukisoftware.wrapper.WrapperListener
while we bundle an older wrapper:
com.silveregg.wrapper.WrapperListener
Can you try downloading the 3.x wrapper from
http://wrapper.tanukisoftware.org/
and replace your bin/wrapper.* stuff with the updated ones?
> Running James as an NT service
> ------------------------------
>
> Key: JAMES-460
> URL: http://issues.apache.org/jira/browse/JAMES-460
> Project: James
> Type: Bug
> Versions: 2.3.0
> Environment: Windows 2000 Professional
> JDK1.5.0_04
> Reporter: carlos aviles
> Assignee: Stefano Bagnara
>
> When trying to launch the service (installed with the supplyed wrapper), the wrapper throws an exception:
> STATUS | wrapper | 2006/03/23 12:52:59 | Launching a JVM...
> INFO | jvm 1 | 2006/03/23 12:52:59 | java.lang.NoClassDefFoundError: org/tanukisoftware/wrapper/WrapperListener
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org
[jira] Commented: (JAMES-460) Running James as an NT service
Posted by "Tony Freeman (JIRA)" <se...@james.apache.org>.
[ http://issues.apache.org/jira/browse/JAMES-460?page=comments#action_12371773 ]
Tony Freeman commented on JAMES-460:
------------------------------------
Above after removing wrapper.pidfile from wrapper.conf
Stefano suggested the following...
Try to copy the excalibur-i18n-1.0.jar from phoenix-bin\tools\lib to your lib folder.
Completed this and now getting this error...
PHOENIX LOG...
INFO 2006-03-24 10:06:49.894 [Phoenix ] (): Logger started
WRAPPER LOG...
STATUS | wrapper | 2006/03/24 10:06:48 | --> Wrapper Started as Service STATUS | wrapper | 2006/03/24 10:06:48 | Launching a JVM...
INFO | jvm 1 | 2006/03/24 10:06:49 | Wrapper (Version 3.2.0) http://wrapper.tanukisoftware.org
INFO | jvm 1 | 2006/03/24 10:06:49 |
INFO | jvm 1 | 2006/03/24 10:06:49 |
INFO | jvm 1 | 2006/03/24 10:06:49 | Phoenix 4.2
INFO | jvm 1 | 2006/03/24 10:06:49 |
INFO | jvm 1 | 2006/03/24 10:06:50 | There was an uncaught exception:
INFO | jvm 1 | 2006/03/24 10:06:50 | ---------------------------------------------------------
INFO | jvm 1 | 2006/03/24 10:06:50 | --- Message ---
INFO | jvm 1 | 2006/03/24 10:06:50 | org/apache/avalon/phoenix/containerkit/profile/ProfileBuilder
INFO | jvm 1 | 2006/03/24 10:06:50 | --- Stack Trace ---
INFO | jvm 1 | 2006/03/24 10:06:50 | java.lang.NoClassDefFoundError: org/apache/avalon/phoenix/containerkit/profile/ProfileBuilder
INFO | jvm 1 | 2006/03/24 10:06:50 | at java.lang.Class.forName0(Native Method)
INFO | jvm 1 | 2006/03/24 10:06:50 | at java.lang.Class.forName(Unknown Source)
INFO | jvm 1 | 2006/03/24 10:06:50 | at org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.createComponents(DefaultEmbeddor.java:471)
INFO | jvm 1 | 2006/03/24 10:06:50 | at org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.initialize(DefaultEmbeddor.java:243)
INFO | jvm 1 | 2006/03/24 10:06:50 | at org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:244)
INFO | jvm 1 | 2006/03/24 10:06:50 | at org.apache.avalon.phoenix.frontends.CLIMain.startup(CLIMain.java:234)
INFO | jvm 1 | 2006/03/24 10:06:50 | at org.apache.avalon.phoenix.frontends.CLIMain.execute(CLIMain.java:162)
INFO | jvm 1 | 2006/03/24 10:06:50 | at org.apache.avalon.phoenix.frontends.CLIMain.main(CLIMain.java:145)
INFO | jvm 1 | 2006/03/24 10:06:50 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO | jvm 1 | 2006/03/24 10:06:50 | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
INFO | jvm 1 | 2006/03/24 10:06:50 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
INFO | jvm 1 | 2006/03/24 10:06:50 | at java.lang.reflect.Method.invoke(Unknown Source)
INFO | jvm 1 | 2006/03/24 10:06:50 | at org.apache.avalon.phoenix.launcher.Main.startup(Main.java:128)
INFO | jvm 1 | 2006/03/24 10:06:50 | at org.apache.avalon.phoenix.launcher.DaemonLauncher.start(DaemonLauncher.java:110)
INFO | jvm 1 | 2006/03/24 10:06:50 | at org.tanukisoftware.wrapper.WrapperManager.startInner(WrapperManager.java:2909)
INFO | jvm 1 | 2006/03/24 10:06:50 | at org.tanukisoftware.wrapper.WrapperManager.handleSocket(WrapperManager.java:3761)
INFO | jvm 1 | 2006/03/24 10:06:50 | at org.tanukisoftware.wrapper.WrapperManager.run(WrapperManager.java:4158)
INFO | jvm 1 | 2006/03/24 10:06:50 | at java.lang.Thread.run(Unknown Source)
INFO | jvm 1 | 2006/03/24 10:06:50 |
INFO | jvm 1 | 2006/03/24 10:06:50 | ---------------------------------------------------------
INFO | jvm 1 | 2006/03/24 10:06:50 | The log file may contain further details of error.
INFO | jvm 1 | 2006/03/24 10:06:50 | Please check the configuration files and restart Phoenix.
INFO | jvm 1 | 2006/03/24 10:06:50 | If the problem persists, contact the Avalon project. See
INFO | jvm 1 | 2006/03/24 10:06:50 | http://jakarta.apache.org/avalon for more information.
> Running James as an NT service
> ------------------------------
>
> Key: JAMES-460
> URL: http://issues.apache.org/jira/browse/JAMES-460
> Project: James
> Type: Bug
> Versions: 2.3.0
> Environment: Windows 2000 Professional
> JDK1.5.0_04
> Reporter: carlos aviles
> Assignee: Stefano Bagnara
>
> When trying to launch the service (installed with the supplyed wrapper), the wrapper throws an exception:
> STATUS | wrapper | 2006/03/23 12:52:59 | Launching a JVM...
> INFO | jvm 1 | 2006/03/23 12:52:59 | java.lang.NoClassDefFoundError: org/tanukisoftware/wrapper/WrapperListener
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org
[jira] Commented: (JAMES-460) Running James as an NT service
Posted by "Stefano Bagnara (JIRA)" <se...@james.apache.org>.
[ http://issues.apache.org/jira/browse/JAMES-460?page=comments#action_12371776 ]
Stefano Bagnara commented on JAMES-460:
---------------------------------------
in the wrapper.conf you can find a:
wrapper.java.additional.1=-Djava.ext.dirs=../lib
try to add the tools/lib folder to the ext.dirs
> Running James as an NT service
> ------------------------------
>
> Key: JAMES-460
> URL: http://issues.apache.org/jira/browse/JAMES-460
> Project: James
> Type: Bug
> Versions: 2.3.0
> Environment: Windows 2000 Professional
> JDK1.5.0_04
> Reporter: carlos aviles
> Assignee: Stefano Bagnara
>
> When trying to launch the service (installed with the supplyed wrapper), the wrapper throws an exception:
> STATUS | wrapper | 2006/03/23 12:52:59 | Launching a JVM...
> INFO | jvm 1 | 2006/03/23 12:52:59 | java.lang.NoClassDefFoundError: org/tanukisoftware/wrapper/WrapperListener
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org