在linux上用JBoss4.0.5做服务器软件,部署java web开发打包的.war文件,
在windows上用IE访问时同一个.war文件,很少能正常访问,一般起始页面就报错导致访问不了,报错信息有如下几类:
(1).The requested resource (/) is not available.
(2).Internet Explorer 无法显示该页面
在linux终端可以找到如下JBoss出错信息:
20:11:40,204 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../tmp/deploy/tmp7352cts-exp.war/
20:11:40,207 WARN [ServiceController] Problem starting service jboss.web.deployment:war=cts.war,id=1284617672
Caused by: javax.naming.NameNotFoundException: comp not bound
20:11:40,208 ERROR [MainDeployer] Could not start deployment: file:/usr/local/share/sictstms/jboss-4.0.5.GA/server/default/deploy/cts.war
org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.naming.NameNotFoundException: comp not bound)
20:13:00,808 ERROR [Tomcat5] Problem in init
java.io.EOFException: Unexpected end of ZLIB input stream
Caused by: java.io.EOFException: Unexpected end of ZLIB input stream
这些都是什么引起的呀?怎么解决呢?