[Spacewalk-list] tomcat issue when install spacewalk on centos 6.4

Ma, Lei Lei.Ma at news.com.au
Thu Aug 1 04:52:24 UTC 2013



Hi Guys,
I am having problem install spacewalk on centos 6.4.
I followed the directions as
https://fedorahosted.org/spacewalk/wiki/HowToInstall

Last step failed with tomcat error:
spacewalk-setup --disconnected --external-db
when try to restart it

/usr/sbin/spacewalk-service start
[root@*** rhn]# vi rhn_taskomatic_daemon.log

ERROR  | wrapper  | 2013/08/01 14:02:44 | Startup failed: Timed out waiting for signal from JVM.
ERROR  | wrapper  | 2013/08/01 14:02:44 | JVM did not exit on request, terminated
INFO   | wrapper  | 2013/08/01 14:02:44 | JVM exited on its own while waiting to kill the application.
STATUS | wrapper  | 2013/08/01 14:02:44 | JVM exited in response to signal SIGKILL (9).
FATAL  | wrapper  | 2013/08/01 14:02:44 | There were 5 failed launches in a row, each lasting less than 300 seconds.  Giving up.
FATAL  | wrapper  | 2013/08/01 14:02:44 |   There may be a configuration problem: please check the logs.
STATUS | wrapper  | 2013/08/01 14:02:44 | <-- Wrapper Stopped
ERROR

Aug 1, 2013 11:20:20 AM org.apache.catalina.core.ContainerBase addChildInternal
SEVERE: ContainerBase.addChild: start:
LifecycleException:  start: :  java.io.IOException: Failed to access resource /WEB-INF/lib/postgresql-jdbc.jar

INFO: Illegal access: this web application instance has been stopped already.  Could not load logging.properties.  The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.

SEVERE: ContainerBase.addChild: start:
LifecycleException:  start: :  java.io.IOException: Failed to access resource /WEB-INF/lib/antlr.jar


[root@*** rhn]# ls -l WEB-INF/lib/postgresql-jdbc.jar
lrwxrwxrwx 1 tomcat tomcat 35 Aug  1 11:05 WEB-INF/lib/postgresql-jdbc.jar -> /usr/share/java/postgresql-jdbc.jar

[root@*** rhn]# ls -l /usr/share/java/postgresql-jdbc.jar
ls: cannot access /usr/share/java/postgresql-jdbc.jar: No such file or directory

[root@*** rhn]# ls -l WEB-INF/lib/antlr.jar
lrwxrwxrwx 1 tomcat tomcat 25 Aug  1 11:06 WEB-INF/lib/antlr.jar -> /usr/share/java/antlr.jar
[root@*** rhn]# ls -l /usr/share/java/antlr.jar
lrwxrwxrwx 1 root root 15 Aug  1 11:04 /usr/share/java/antlr.jar -> antlr-2.7.7.jar

[root@*** rhn]# ls -l /usr/share/java/antlr-2.7.7.jar
-rw-r--r-- 1 root root 510505 Nov 11  2010 /usr/share/java/antlr-2.7.7.jar

Can someone please help?

Lei




***********************************************************************************************
This message and its attachments may contain legally privileged or confidential information.
It is intended solely for the named addressee. If you are not the addressee indicated in this
message or responsible for delivery of the message to the addressee, you may not copy or deliver
this message or its attachments to anyone. Rather, you should permanently delete this message
and its attachments and kindly notify the sender by reply e-mail. Any content of this message
and its attachments which does not relate to the official business of the sending company must
be taken not to have been sent or endorsed by that company or any of its related entities. No
warranty is made that the e-mail or attachments are free from computer virus or other defect.
***********************************************************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20130801/a4b4379f/attachment.htm>


More information about the Spacewalk-list mailing list