Re: Tomcat 5 startup crash, please help
There is actually a listing in Bugzilla this. Would you mind adding your findings to it? http://issues.apache.org/bugzilla/show_bug.cgi?id=30052 If this is a jsvc bug, your data might help to find it. That's a pretty old Linux distribution. I remember having trouble with Sun's jdk on either RH7.0 or RH7.1 There was a fairly buggy release of the gclib libraries in one of them. Are you able to try your app on a more recent Linux distribution for comparison? On Wed, 2004-12-29 at 01:30, Michael Kastner wrote: Hello Jacob, thanks for your reply, Jacob Kjome schrieb: A stack trace or some other error report would help. It's a bit vague when you simply describe it. Show the evidence and you will be more likely to get assistance. that's what I did yesterday, but got no response at all. Then I figured I might have given too much information on the problem. So, here's the information on the problem: configuration: tomcat 5.0.28 redhat linux 7.1 vm: 1.4.2_03 I'm trying to install tomcat 5.0. Everything works fine as far as using the startup and shutdown scripts provided. However, when I try to start the server as a linux daemon with jsvc, the server crashes. The catalina.out-log says: quote Another exception has been detected while we were handling last error. Dumping information about last error: ERROR REPORT FILE = (N/A) PC= 0x400b0646 SIGNAL= 11 FUNCTION NAME = (N/A) OFFSET= 0x LIBRARY NAME = (N/A) Please check ERROR REPORT FILE for further information, if there is any. Good bye. pure virtual method called jsvc.exec error: Service exit with a return value of 255 /quote But then again, if I remove the ajp connector entry in server.xml, jsvc and the tomcat just work fine. If I try to start the server again after it has crashed once, the catalina.out-log says: An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x400B0646 Function=(null)+0x400B0646 Library=/lib/i686/libc.so.6 NOTE: We are unable to locate the function name symbol for the error just occurred. Please refer to release documentation for possible reason and solutions. Current Java thread: at org.apache.xerces.dom.DeferredDocumentImpl.getNodeObject(Unknown Source) at org.apache.xerces.dom.DeferredDocumentImpl.synchronizeChildren(Unknown Source) at org.apache.xerces.dom.CoreDocumentImpl.getDocumentElement(Unknown Source) at org.apache.commons.modeler.modules.MbeansDescriptorsDOMSource.execute(MbeansDescriptorsDOMSource.java:132) at org.apache.commons.modeler.modules.MbeansDescriptorsDOMSource.loadDescriptors(MbeansDescriptorsDOMSource.java:120) at org.apache.commons.modeler.Registry.load(Registry.java:819) at org.apache.commons.modeler.Registry.loadDescriptors(Registry.java:931) at org.apache.commons.modeler.Registry.loadDescriptors(Registry.java:909) at org.apache.commons.modeler.Registry.findDescriptor(Registry.java:992) at org.apache.commons.modeler.Registry.findManagedBean(Registry.java:696) at org.apache.commons.modeler.Registry.findManagedBean(Registry.java:1047) at org.apache.commons.modeler.Registry.registerComponent(Registry.java:859) at org.apache.commons.modeler.Registry.registerComponent(Registry.java:346) at org.apache.coyote.tomcat5.CoyoteConnector.start(CoyoteConnector.java:1514) at org.apache.catalina.core.StandardService.start(StandardService.java:489) - locked 0x44cc7428 (a [Lorg.apache.catalina.Connector;) at org.apache.catalina.core.StandardServer.start(StandardServer.java:2313) - locked 0x44ce5510 (a [Lorg.apache.catalina.Service;) at org.apache.catalina.startup.Catalina.start(Catalina.java:556) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.commons.daemon.support.DaemonLoader.start(DaemonLoader.java:218) Does anyone have a clue? To me, this looks like a problem with jsvc and ajp. I do have another instance of
Tomcat 5 startup crash, please help
Hello, I am desperate, for I have been trying to find a solution to this problem for two weeks now. Can anybody help me with this? Tomcat 5 crashes as it is starting up using jsvc. It does not crash if I start Tomcat 5 as a regular application. It could be connected to struts and database connections, since it seems to be starting fine until the applications initialize the connections. Any hint or help is very much appreciated Michael Kastner - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat 5 startup crash, please help
A stack trace or some other error report would help. It's a bit vague when you simply describe it. Show the evidence and you will be more likely to get assistance. Jake At 06:54 AM 12/29/2004 +0100, you wrote: Hello, I am desperate, for I have been trying to find a solution to this problem for two weeks now. Can anybody help me with this? Tomcat 5 crashes as it is starting up using jsvc. It does not crash if I start Tomcat 5 as a regular application. It could be connected to struts and database connections, since it seems to be starting fine until the applications initialize the connections. Any hint or help is very much appreciated Michael Kastner - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat 5 startup crash, please help
Hello Jacob, thanks for your reply, Jacob Kjome schrieb: A stack trace or some other error report would help. It's a bit vague when you simply describe it. Show the evidence and you will be more likely to get assistance. that's what I did yesterday, but got no response at all. Then I figured I might have given too much information on the problem. So, here's the information on the problem: configuration: tomcat 5.0.28 redhat linux 7.1 vm: 1.4.2_03 I'm trying to install tomcat 5.0. Everything works fine as far as using the startup and shutdown scripts provided. However, when I try to start the server as a linux daemon with jsvc, the server crashes. The catalina.out-log says: quote Another exception has been detected while we were handling last error. Dumping information about last error: ERROR REPORT FILE = (N/A) PC= 0x400b0646 SIGNAL= 11 FUNCTION NAME = (N/A) OFFSET= 0x LIBRARY NAME = (N/A) Please check ERROR REPORT FILE for further information, if there is any. Good bye. pure virtual method called jsvc.exec error: Service exit with a return value of 255 /quote But then again, if I remove the ajp connector entry in server.xml, jsvc and the tomcat just work fine. If I try to start the server again after it has crashed once, the catalina.out-log says: An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x400B0646 Function=(null)+0x400B0646 Library=/lib/i686/libc.so.6 NOTE: We are unable to locate the function name symbol for the error just occurred. Please refer to release documentation for possible reason and solutions. Current Java thread: at org.apache.xerces.dom.DeferredDocumentImpl.getNodeObject(Unknown Source) at org.apache.xerces.dom.DeferredDocumentImpl.synchronizeChildren(Unknown Source) at org.apache.xerces.dom.CoreDocumentImpl.getDocumentElement(Unknown Source) at org.apache.commons.modeler.modules.MbeansDescriptorsDOMSource.execute(MbeansDescriptorsDOMSource.java:132) at org.apache.commons.modeler.modules.MbeansDescriptorsDOMSource.loadDescriptors(MbeansDescriptorsDOMSource.java:120) at org.apache.commons.modeler.Registry.load(Registry.java:819) at org.apache.commons.modeler.Registry.loadDescriptors(Registry.java:931) at org.apache.commons.modeler.Registry.loadDescriptors(Registry.java:909) at org.apache.commons.modeler.Registry.findDescriptor(Registry.java:992) at org.apache.commons.modeler.Registry.findManagedBean(Registry.java:696) at org.apache.commons.modeler.Registry.findManagedBean(Registry.java:1047) at org.apache.commons.modeler.Registry.registerComponent(Registry.java:859) at org.apache.commons.modeler.Registry.registerComponent(Registry.java:346) at org.apache.coyote.tomcat5.CoyoteConnector.start(CoyoteConnector.java:1514) at org.apache.catalina.core.StandardService.start(StandardService.java:489) - locked 0x44cc7428 (a [Lorg.apache.catalina.Connector;) at org.apache.catalina.core.StandardServer.start(StandardServer.java:2313) - locked 0x44ce5510 (a [Lorg.apache.catalina.Service;) at org.apache.catalina.startup.Catalina.start(Catalina.java:556) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.commons.daemon.support.DaemonLoader.start(DaemonLoader.java:218) Does anyone have a clue? To me, this looks like a problem with jsvc and ajp. I do have another instance of tomcat running on this system, but I've changed the port numbers. Any hint or help is very much appreciated. Michael Kastner - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]