Apache与Tomcat整合,tomcat关闭报错
系统CentOS5.3 64bit.Apache与TOMCAT整合。
apache运行正常。但关闭tomcat时出现错误,
运行 /usr/local/tomcat/bin/shutdown.sh.
提示如下错误:
Using CATALINA_BASE: /usr/local/tomcat
Using CATALINA_HOME: /usr/local/tomcat
Using CATALINA_TMPDIR: /usr/local/tomcat/temp
Using JRE_HOME: /usr/local/jdk1.6.0_20
Using CLASSPATH: /usr/local/tomcat/bin/bootstrap.jar
Error occurred during initialization of VM
java/lang/ClassFormatError: Invalid pc in LineNumberTable in class file java/lang/Long
但运行 /usr/local/tomcat/bin/startup.sh. 并没有报错,但是tomcat服务并没有启动。
如下:
Using CATALINA_BASE: /usr/local/tomcat
Using CATALINA_HOME: /usr/local/tomcat
Using CATALINA_TMPDIR: /usr/local/tomcat/temp
Using JRE_HOME: /usr/local/jdk1.6.0_20
Using CLASSPATH: /usr/local/tomcat/bin/bootstrap.jar
高手帮手解决下.