|
From: Jeremy Fujimoto-J. <coe...@us...> - 2004-06-08 21:33:05
|
I have discovered that when I start the JavaServiceWrapper and it's = pointing to the 1.4.2_04 JDK (e.g. wrapper.java.command=3DC:/j2sdk1.4.2_04/= bin/java) it fails to load the wrapper.dll library. I get the following = test in the log: STATUS | wrapper | 2004/06/07 14:23:13 | --> Wrapper Started as Service STATUS | wrapper | 2004/06/07 14:23:13 | Launching a JVM... INFO | jvm 1 | 2004/06/07 14:23:15 | WARNING - Unable to load the = Wrapper's native library 'wrapper.dll'. INFO | jvm 1 | 2004/06/07 14:23:15 | The file is located on = the path at the following location but INFO | jvm 1 | 2004/06/07 14:23:15 | could not be loaded: INFO | jvm 1 | 2004/06/07 14:23:15 | C:\Tomcat\VAP\bin\..\= common\lib\wrapper.dll INFO | jvm 1 | 2004/06/07 14:23:15 | Please verify that the = file is readable by the current user INFO | jvm 1 | 2004/06/07 14:23:15 | and that the file has = not been corrupted in any way. INFO | jvm 1 | 2004/06/07 14:23:15 | System signals will = not be handled correctly. INFO | jvm 1 | 2004/06/07 14:23:15 |=20 INFO | jvm 1 | 2004/06/07 14:23:15 | Wrapper (Version 3.1.0) = http://wrapper.tanukisoftware.org The same problem occurs when specifying JDK 1.4.1_07. However, when I use the 1.3.1_07 version of the JDK this problem does not = occur.=20 I am using the JavaServiceWrapper to run Tomcat 4.0.6 on Windows 2000. I = have tried a couple of different Tomcat installs (different PCs and even = different WebApps). I can reproduce the behavior using both 3.0.5 and = 3.1.0 of the JavaServiceWrapper. (Both the problem when using 1.4 and not = having a problem with 1.3.1_07 can be reproduced on multiple computers.) Is this a known conflict? I haven't been able to find any message in the = mailing list that seemed to directly apply. Is there anything I can do to get it to work? Is there a version of the = 1.4 JDK with which this problem does not occur? Thanks, -Jeremy |
|
From: Jeremy Fujimoto-J. <coe...@us...> - 2004-06-08 21:22:21
|
I have discovered that when I start the JavaServiceWrapper and it's = pointing to the 1.4.2_04 JDK (e.g. wrapper.java.command=3DC:/j2sdk1.4.2_04/= bin/java) it fails to load the wrapper.dll library. I get the following = test in the log: STATUS | wrapper | 2004/06/07 14:23:13 | --> Wrapper Started as Service STATUS | wrapper | 2004/06/07 14:23:13 | Launching a JVM... INFO | jvm 1 | 2004/06/07 14:23:15 | WARNING - Unable to load the = Wrapper's native library 'wrapper.dll'. INFO | jvm 1 | 2004/06/07 14:23:15 | The file is located on = the path at the following location but INFO | jvm 1 | 2004/06/07 14:23:15 | could not be loaded: INFO | jvm 1 | 2004/06/07 14:23:15 | C:\Tomcat\VAP\bin\..\= common\lib\wrapper.dll INFO | jvm 1 | 2004/06/07 14:23:15 | Please verify that the = file is readable by the current user INFO | jvm 1 | 2004/06/07 14:23:15 | and that the file has = not been corrupted in any way. INFO | jvm 1 | 2004/06/07 14:23:15 | System signals will = not be handled correctly. INFO | jvm 1 | 2004/06/07 14:23:15 |=20 INFO | jvm 1 | 2004/06/07 14:23:15 | Wrapper (Version 3.1.0) = http://wrapper.tanukisoftware.org The same problem occurs when specifying JDK 1.4.1_07. However, when I use the 1.3.1_07 version of the JDK this problem does not = occur.=20 I am using the JavaServiceWrapper to run Tomcat 4.0.6 on Windows 2000. I = have tried a couple of different Tomcat installs (different PCs and even = different WebApps). I can reproduce the behavior using both 3.0.5 and = 3.1.0 of the JavaServiceWrapper. (Both the problem when using 1.4 and not = having a problem with 1.3.1_07 can be reproduced on multiple computers.) Is this a known conflict? I haven't been able to find any message in the = mailing list that seemed to directly apply. Is there anything I can do to get it to work? Is there a version of the = 1.4 JDK with which this problem does not occur? Thanks, -Jeremy |
|
From: Leif M. <le...@ta...> - 2004-06-22 03:45:12
|
Jeremy,
Sorry for the delay. I just tried this out on an XP system with
1.4.2_04 and it
worked for me without any problems. I had only used 1.4.2_03 up to
this point.
I have not heard of any problems using 1.4.x JVMs and make use of them
regularly.
I will try this out on a 2000 machine when I get home tonight. I
have used other
1.4.x versions on that machine, but have not yet tried out 1.4.2_04.
Could you try downloading the wrapper release and then running the
bin\TestWrapper.bat script? I am curious to see how that works on these
systems. The default config file uses the path to locate the JVM, so
you probably
want to modify it to point to a specific JVM for your tests.
I am not sure how you are testing between the 1.3.x and the 1.4.x
versions of
the JVM. But is it possible that your build process could be somehow
corrupting
the DLL? If the TestWrapper demo app works then this would be my next
guess.
Also, try setting the wrapper.debug=true property when launching
your program.
This will cause the JVM version information to be displayed in the log.
You can use
this to verify that you are indeed running the JVM you are thinking you are.
Cheers,
Leif
Jeremy Fujimoto-Johnson wrote:
> I have discovered that when I start the JavaServiceWrapper and it's
> pointing to the 1.4.2_04 JDK (e.g.
> wrapper.java.command=C:/j2sdk1.4.2_04/bin/java) it fails to load the
> wrapper.dll library. I get the following test in the log:
> STATUS | wrapper | 2004/06/07 14:23:13 | --> Wrapper Started as Service
> STATUS | wrapper | 2004/06/07 14:23:13 | Launching a JVM...
> INFO | jvm 1 | 2004/06/07 14:23:15 | WARNING - Unable to load the
> Wrapper's native library 'wrapper.dll'.
> INFO | jvm 1 | 2004/06/07 14:23:15 | The file is
> located on the path at the following location but
> INFO | jvm 1 | 2004/06/07 14:23:15 | could not be loaded:
> INFO | jvm 1 | 2004/06/07 14:23:15 |
> C:\Tomcat\VAP\bin\..\common\lib\wrapper.dll
> INFO | jvm 1 | 2004/06/07 14:23:15 | Please verify that
> the file is readable by the current user
> INFO | jvm 1 | 2004/06/07 14:23:15 | and that the file
> has not been corrupted in any way.
> INFO | jvm 1 | 2004/06/07 14:23:15 | System signals
> will not be handled correctly.
> INFO | jvm 1 | 2004/06/07 14:23:15 |
> INFO | jvm 1 | 2004/06/07 14:23:15 | Wrapper (Version 3.1.0)
> http://wrapper.tanukisoftware.org
>
> The same problem occurs when specifying JDK 1.4.1_07.
>
> However, when I use the 1.3.1_07 version of the JDK this problem does
> not occur.
>
> I am using the JavaServiceWrapper to run Tomcat 4.0.6 on Windows 2000.
> I have tried a couple of different Tomcat installs (different PCs and
> even different WebApps). I can reproduce the behavior using both 3.0.5
> and 3.1.0 of the JavaServiceWrapper. (Both the problem when using 1.4
> and not having a problem with 1.3.1_07 can be reproduced on multiple
> computers.)
> Is this a known conflict? I haven't been able to find any message in
> the mailing list that seemed to directly apply.
> Is there anything I can do to get it to work? Is there a version of
> the 1.4 JDK with which this problem does not occur?
> Thanks,
> -Jeremy
>
|