On 5/23/2014 6:05 AM, vicky wrote:
Guys,
CAn someone please share the steps needed to configure the Java wrapper service
for Tomcat.
I'm using Tomcat 7 with JDK 1.7 on a Linux machine
I have added the wrapper.conf under "<Catalina_base>/conf " directory & wrapper script under
"<Catalina_base>/bin".
WHile executing the "./wrapper -c ../conf/wrapper.conf " command, I' getting
the below error :-
please guide me through as I couldn't find the steps over web.
+++++++++++++++++++++++++++++++++++++++++++++++=
wrapper | --> Wrapper Started as Console
wrapper | Java Service Wrapper Community Edition 64-bit 3.5.11
wrapper | Copyright (C) 1999-2011 Tanuki Software, Ltd. All Rights Reserved.
wrapper | http://wrapper.tanukisoftware.com
wrapper |
wrapper | Launching a JVM...
jvm 1 | Wrapper (Version 3.2.0) http://wrapper.tanukisoftware.org
jvm 1 |
jvm 1 | WARNING - The Wrapper jar file currently in use is version "3.2.0"
jvm 1 | while the version of the Wrapper which launched this JVM is
jvm 1 | "3.5.11".
jvm 1 | The Wrapper may appear to work correctly but some features
may
jvm 1 | not function correctly. This configuration has not been
tested
jvm 1 | and is not supported.
jvm 1 |
jvm 1 | WrapperSimpleApp: Unable to locate the class aaaa:
java.lang.ClassNotFoundException: aaaa
jvm 1 |
jvm 1 | WrapperSimpleApp Usage:
jvm 1 | java org.tanukisoftware.wrapper.WrapperSimpleApp {app_class}
[app_parameters]
jvm 1 |
jvm 1 | Where:
jvm 1 | app_class: The fully qualified class name of the application
to run.
jvm 1 | app_parameters: The parameters that would normally be passed to the
jvm 1 | application.
jvm 1 | Wrapper code received an unknown packet type: -122
wrapper | <-- Wrapper Stopped
+++++++++++++++++++++++++++++++++++++++++++++++++++
Vicky,
This question is for a third party Java services wrapper. Some people
use scripts, and others use commons-daemon, which is an ASF product and
comes with the original Tomcat distributions.
Instructions for using commons-daemon are found here:
http://tomcat.apache.org/tomcat-7.0-doc/setup.html#Unix_daemon
That being said, a quick Google search led to this:
http://wrapper.tanukisoftware.com/doc/english/integrate-start-stop-nix.html
Although it details Tomcat 4.x (yikes!), it should be easy enough to
modify those instructions to start and stop Tomcat 6, 7, or 8.
The modifications are left as an exercise for the reader.
. . . . just my two cents.
/mde/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org