DO NOT REPLY [Bug 14118] - JVM 1.4 dies when run as an NT service

2004-02-26 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14118.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14118

JVM 1.4 dies when run as an NT service

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution||INVALID



--- Additional Comments From [EMAIL PROTECTED]  2004-02-26 22:17 ---
From the comments this is either a JVM or a JavaService bug. Either way, it is 
not a Tomact bug.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 14118] - JVM 1.4 dies when run as an NT service

2002-12-06 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14118.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14118

JVM 1.4 dies when run as an NT service

[EMAIL PROTECTED] changed:

   What|Removed |Added

 CC||[EMAIL PROTECTED]
 OS/Version|Windows NT/2K   |Windows XP



--- Additional Comments From [EMAIL PROTECTED]  2002-12-07 03:23 ---
I think I may have a related problem.  I'll describe it and you can make the 
appropriate determination.

I have a .jar file that contains an InitialContextFactory class that my webapp 
needs to use to look up an EJB (in another container).  I tried placing the jar 
file in the JAVA_HOME\jre\lib\ext directory and if I start tomcat from the 
Startup script everything works fine.  However, if I start tomcat as a service 
it fails to load the class from the .jar file and I get stderr log telling me 
that it can't instantiate the Factory class.  I tried moving the .jar file to 
the webapp/{mywebapp}/WEB-INF/lib directory and still the thing happens.  In 
order to get it to work when Tomcat is launched as a service I have to place 
the jar in the CATALINA_HOME/shared/lib directory, which, I don't believe 
should be necessary.  Like I indicated above I'm using Tomcat 4.1.12 on XP, 
JAVA_HOME is C:\j2sdk1.4.1_01.  (BTW It works as it should with my Tomcat 4.0 
installation.)  I hope this is clear.  Thanks.

-- Joe

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




DO NOT REPLY [Bug 14118] - JVM 1.4 dies when run as an NT service

2002-11-02 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14118.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14118

JVM 1.4 dies when run as an NT service





--- Additional Comments From [EMAIL PROTECTED]  2002-11-03 00:40 ---
I think this could be a *real* bug in the JavaService bits used
by Tomcat.  

I do not see the bug if I change the tomcat startup.bat
script to point to the server JVM.

-Eric

--
To unsubscribe, e-mail:   mailto:tomcat-dev-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-dev-help;jakarta.apache.org




DO NOT REPLY [Bug 14118] - JVM 1.4 dies when run as an NT service

2002-10-31 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14118.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14118

JVM 1.4 dies when run as an NT service

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID



--- Additional Comments From [EMAIL PROTECTED]  2002-10-31 09:32 ---
JVM crashes are VM bugs. If you can identify a specific flaw in Tomcat, please
let us know.

--
To unsubscribe, e-mail:   mailto:tomcat-dev-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-dev-help;jakarta.apache.org




DO NOT REPLY [Bug 14118] - JVM 1.4 dies when run as an NT service

2002-10-31 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14118.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14118

JVM 1.4 dies when run as an NT service





--- Additional Comments From [EMAIL PROTECTED]  2002-10-31 09:51 ---
It would help me a lot if you could describe accurately the difference
between the way the tomcat 4.1 NT service invokes the JVM and
the way the startup scripts do.  Assume default invocations.  I want
to eventually pass some gc debugging params to the jvm.

I'm attempting to install the NT service by hand using javaservice.exe
(which I nabbed from the javaservice website itself; latest bits) 
and when I use (from cygwin)

% JavaService.exe -install Apache Tomcat 4.1x \
  $JAVA_HOME\\jre\\bin\\server\\jvm.dll \
 -Djava.class.path=$TOMCAT_HOME\\bin\\bootstrap.jar \
 -Dcatalina.home=$TOMCAT_HOME \
 -Djava.endorsed.dirs=$TOMCAT_HOME\\common\\endorsed \
 -start org.apache.catalina.startup.BootstrapService \
 -params start \
 -stop org.apache.catalina.startup.BootstrapService \
 -params stop \  
 -out $TOMCAT_HOME\\logs\\stdout2.log \
 -err $TOMCAT_HOME\\logs\\stderr2.log

$TOMCAT_HOME is C:\Tomcat4.1 where I've installed tomcat and
$JAVA_HOME is C:\j2sdk1.4.0_02 .

I get the following in stderr2.log

Created catalinaLoader in: C:\WINNT\system32\server\lib
java.lang.ClassNotFoundException: org.apache.catalina.startup.CatalinaService
at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClas
sLoader.java:992)
at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClas
sLoader.java:857)
at org.apache.catalina.startup.BootstrapService.init(BootstrapService.ja
va:198)
at org.apache.catalina.startup.BootstrapService.main(BootstrapService.ja
va:297)
java.lang.NullPointerException
at org.apache.catalina.startup.BootstrapService.stop(BootstrapService.ja
va:259)
at org.apache.catalina.startup.BootstrapService.main(BootstrapService.ja
va:309)

I didn't see this class in the bootstrap.jar and I'm wondering how it's 
spose to be found.

Thanks!
-Eric

--
To unsubscribe, e-mail:   mailto:tomcat-dev-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-dev-help;jakarta.apache.org




DO NOT REPLY [Bug 14118] - JVM 1.4 dies when run as an NT service

2002-10-31 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14118.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14118

JVM 1.4 dies when run as an NT service

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|INVALID |



--- Additional Comments From [EMAIL PROTECTED]  2002-10-31 10:19 ---
I had a typo in my commandline to JavaService.
I can now start up tomcat the same way the ntservice does.

I think this is a bug in the ntservice wrapper and not the JVM
since the arguments I pass to the ntservice wrapper are precisely
the same ones I pass to the startup scripts.

I see numerous similar bugs filed ... all with 'worksforme' or something
similar.  I suspect... as soon as I can get a smaller case... we 
can find the problem (jvm or windows service code).  The strange
thing is that there is no error or anything bad that happens.  The process
simply disappears.  I'm afraid I'm going to have to build/debug the nt
service wrapper myself!

-E

--
To unsubscribe, e-mail:   mailto:tomcat-dev-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-dev-help;jakarta.apache.org




DO NOT REPLY [Bug 14118] - JVM 1.4 dies when run as an NT service

2002-10-31 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14118.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14118

JVM 1.4 dies when run as an NT service





--- Additional Comments From [EMAIL PROTECTED]  2002-10-31 16:32 ---
Eric ..

We had similar problems with the 1.4.x VMs. The Tomcat Service would sometimes 
just disappear. Sometimes with a NULL pointer exception without traceback .. 
sometimes without any reason. This problem did not occur with any of the 1.3.x 
VMs.

For us we were able to 'prove' that this problem ONLY occurs with the 
1.4.x 'server' VMs and did NOT occur with the 'client' VMs. 

That is specifying:

  $JAVA_HOME\\jre\\bin\\client\\jvm.dll 

for the VM to be used by the service.

When you run by hand you probably are running with the client VM !!

--
To unsubscribe, e-mail:   mailto:tomcat-dev-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-dev-help;jakarta.apache.org