|
From: Leif M. <le...@ta...> - 2003-12-22 15:36:10
|
Thorsten,
Other users have reported similar problems in the past, but it has
always turned out to
be an incorrectly installed or corrupted JVM installation. The Wrapper
is capable of
running with either the JRE or the SDK.
Try adding the following property to the wrapper.conf
wrapper.debug=true
The next time you try to launch the wrapper, you will see the full
command used to
launch the JVM. The first thing to try is simply running java.-version
using the path
specified in the debug output from the directory where the wrapper
script is located.
If that works, then you can build a simple shell script that runs
the same command
that is generated by the Wrapper and see how that works. If you do
this, you will
need to remove the -Dwrapper.key property from the resulting command.
This tells
the Java side of the Wrapper that the JVM was launched by the Wrapper.
Post back with the results or if this didn't solve the problem.
Cheers,
Leif
Thorsten Kamann wrote:
> Hello,
>
> I have downloaded the binaries and want to execute the
> sample testwrapper start.
>
> But without success. The Logfile says:
> STATUS | wrapper | 2003/12/18 20:51:45 | --> Wrapper
> Started as Daemon
> STATUS | wrapper | 2003/12/18 20:51:46 | Launching a
> JVM...
> ERROR | wrapper | 2003/12/18 20:51:46 | Unable to
> start a JVM
> INFO | jvm 1 | 2003/12/18 20:51:46 | Error
> occurred during initialization of VM
> INFO | jvm 1 | 2003/12/18 20:51:46 | Unable to
> load native library: libjvm.so: cannot open shared
> object file: No such file or directory
> STATUS | wrapper | 2003/12/18 20:51:46 | <-- Wrapper
> Stopped
>
> The configuration files are the originals without change.
> The JVM is:
> java version "1.4.2_02"
> Java(TM) 2 Runtime Environment, Standard Edition (build
> 1.4.2_02-b03)
> Java HotSpot(TM) Client VM (build 1.4.2_02-b03, mixed mode)
>
> and is installed at /usr/lib/java. The java command
> points to a sdk and not jre, because I'm running a
> tomcat instance on this system.
>
> What is the problem?
>
> Thorsten
>
|