我部署原始碼中remote下的MyApp.ear時,出現錯誤,請問是什麼原因,如何解決。

interstudy發表於2006-04-27

JAVA_HOME is not set.  Unexpected results may occur.
Set JAVA_HOME to the directory of your local JDK to avoid this message.
===============================================================================
.
  JBoss Bootstrap Environment
.
  JBOSS_HOME: D:\jboss404\bin\\..
.
  JAVA: java
.
  JAVA_OPTS:  -Dprogram.name=run.bat -Xms128m -Xmx512m
.
  CLASSPATH: \lib\tools.jar;D:\jboss404\bin\\run.jar
.
===============================================================================
.
17:15:49,746 INFO  [Server] Starting JBoss (MX MicroKernel)...
17:15:49,746 INFO  [Server] Release ID: JBoss [Zion] 4.0.4.CR2 (build: CVSTag=JBoss_4_0_4_CR2 date=200603311500)
17:15:49,776 INFO  [Server] Home Dir: D:\jboss404
17:15:49,776 INFO  [Server] Home URL: file:/D:/jboss404/
17:15:49,776 INFO  [Server] Patch URL: null
17:15:49,776 INFO  [Server] Server Name: default
17:15:49,776 INFO  [Server] Server Home Dir: D:\jboss404\server\default
17:15:49,776 INFO  [Server] Server Home URL: file:/D:/jboss404/server/default/
17:15:49,776 INFO  [Server] Server Log Dir: D:\jboss404\server\default\log
17:15:49,776 INFO  [Server] Server Temp Dir: D:\jboss404\server\default\tmp
17:15:49,776 INFO  [Server] Root Deployment Filename: jboss-service.xml
17:15:50,517 INFO  [ServerInfo] Java version: 1.5.0_06,Sun Microsystems Inc.
17:15:50,517 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.5.0_06-b05,Sun Microsystems Inc.
17:15:50,517 INFO  [ServerInfo] OS-System: Windows 2000 5.0,x86
17:15:51,348 INFO  [Server] Core system initialized
17:15:53,401 INFO  [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml
17:15:59,820 INFO  [WebService] Using RMI server codebase: http://zyp:8083/
17:16:00,001 WARN  [EJBTimerServiceImpl] Cannot obtain TransactionManager from JNDI, using TxManager.getInstance(): javax.naming.NameNotFoundException: TransactionManager not bound
17:16:04,147 INFO  [MailService] Mail Service bound to java:/Mail
17:16:04,758 INFO  [NamingService] JNDI bootstrap JNP=/0.0.0.0:1099, RMI=/0.0.0.0:1098, backlog=50, no client SocketFactory, Server SocketFactory=class org.jboss.net.sockets.DefaultSocketFactory
17:16:04,898 INFO  [SubscriptionManager] Bound event dispatcher to java:comp/env/EventDispatcher
17:16:06,300 INFO  [Embedded] Catalina naming disabled
17:16:06,490 INFO  [ClusterRuleSetFactory] Unable to find a cluster rule set in the classpath. Will load the default rule set.
17:16:06,490 INFO  [ClusterRuleSetFactory] Unable to find a cluster rule set in the classpath. Will load the default rule set.
17:16:07,832 INFO  [Http11BaseProtocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0-8080
17:16:07,832 INFO  [Catalina] Initialization processed in 1342 ms
17:16:07,832 INFO  [StandardService] Starting service jboss.web
17:16:07,842 INFO  [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.5.16
17:16:07,932 INFO  [StandardHost] XML validation disabled
17:16:07,972 INFO  [Catalina] Server startup in 140 ms
17:16:08,503 INFO  [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/http-invoker.sar/invoker.war/
17:16:09,234 INFO  [WebappLoader] Dual registration of jndi stream handler: factory already defined
17:16:10,115 INFO  [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jbossweb-tomcat55.sar/ROOT.war/
17:16:10,416 INFO  [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../tmp/deploy/tmp23820jbossws14.sar-contents/jbossws-exp.war/
17:16:10,696 INFO  [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=.../deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
17:16:11,107 INFO  [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-console.war/
17:16:12,519 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-local-jdbc.rar
17:16:12,599 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-xa-jdbc.rar
17:16:12,659 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar
17:16:12,719 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-xa-jdbc.rar
17:16:12,789 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jms/jms-ra.rar
17:16:12,859 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/mail-ra.rar
17:16:15,153 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
17:16:15,723 INFO  [A] Bound to JNDI name: queue/A
17:16:15,723 INFO  [B] Bound to JNDI name: queue/B
17:16:15,723 INFO  [C] Bound to JNDI name: queue/C
17:16:15,733 INFO  [D] Bound to JNDI name: queue/D
17:16:15,733 INFO  [ex] Bound to JNDI name: queue/ex
17:16:15,824 INFO  [testTopic] Bound to JNDI name: topic/testTopic
17:16:15,824 INFO  [securedTopic] Bound to JNDI name: topic/securedTopic
17:16:15,824 INFO  [testDurableTopic] Bound to JNDI name: topic/testDurableTopic
17:16:15,834 INFO  [testQueue] Bound to JNDI name: queue/testQueue
17:16:15,944 INFO  [UILServerILService] JBossMQ UIL service available at : /0.0.0.0:8093
17:16:16,024 INFO  [DLQ] Bound to JNDI name: queue/DLQ
17:16:16,314 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
17:16:16,454 INFO  [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
17:16:16,685 INFO  [EARDeployer] Init J2EE application: file:/D:/jboss404/server/default/deploy/MyApp.ear
17:16:17,195 INFO  [EjbModule] Deploying MySession
17:16:17,456 INFO  [BaseLocalProxyFactory] Bound EJB LocalHome 'MySession' to jndi 'ejb/MySession'
17:16:17,456 INFO  [EJBDeployer] Deployed: file:/D:/jboss404/server/default/tmp/deploy/tmp23859MyApp.ear-contents/MyEJB.jar
17:16:17,536 INFO  [TomcatDeployer] deploy, ctxPath=/AuthTest, warUrl=.../tmp/deploy/tmp23859MyApp.ear-contents/MyWEB-exp.war/
17:16:17,786 INFO  [JBossCacheManager] init(): replicationGranularity_ is 0 and invaldateSessionPolicy is 2
17:16:17,796 ERROR [JBossCacheManager] JBossCacheService to Tomcat clustering not found
java.lang.NoClassDefFoundError: org/jboss/cache/CacheException
	at org.jboss.web.tomcat.tc5.session.JBossCacheManager.init(JBossCacheManager.java:141)
	at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:332)
	at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:103)
	at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:371)
	at org.jboss.web.WebModule.startModule(WebModule.java:83)
	at org.jboss.web.WebModule.startService(WebModule.java:61)
	at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
	at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
	at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
	at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:260)
	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
	at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
	at $Proxy0.start(Unknown Source)
	at org.jboss.system.ServiceController.start(ServiceController.java:417)
	at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
	at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:260)
	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
	at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:190)
	at $Proxy42.start(Unknown Source)
	at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
	at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
	at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
	at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
	at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
	at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
	at org.jboss.ws.server.WebServiceDeployer.start(WebServiceDeployer.java:117)
	at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
	at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
	at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:260)
	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
	at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:190)
	at $Proxy43.start(Unknown Source)
	at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007)
	at org.jboss.deployment.MainDeployer.start(MainDeployer.java:997)
	at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808)
	at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
	at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
	at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
	at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
	at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
	at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:260)
	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
	at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:190)
	at $Proxy6.deploy(Unknown Source)
	at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:334)
	at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:522)
	at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:207)
	at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:280)
	at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
	at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
	at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:260)
	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
	at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
	at $Proxy0.start(Unknown Source)
	at org.jboss.system.ServiceController.start(ServiceController.java:417)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
	at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:260)
	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
	at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:190)
	at $Proxy4.start(Unknown Source)
	at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
	at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007)
	at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808)
	at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
	at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:755)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
	at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
	at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
	at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
	at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:260)
	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
	at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:190)
	at $Proxy5.deploy(Unknown Source)
	at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
	at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
	at org.jboss.Main.boot(Main.java:200)
	at org.jboss.Main$1.run(Main.java:464)
	at java.lang.Thread.run(Unknown Source)
17:16:17,856 ERROR [TomcatDeployer] Failed to setup clustering, clustering disabled. Exception: org.jboss.web.tomcat.tc5.session.ClusteringNotSupportedException: JBossCacheService to Tomcat clustering not found
17:16:17,907 INFO  [EARDeployer] Started J2EE application: file:/D:/jboss404/server/default/deploy/MyApp.ear
17:16:18,007 INFO  [Http11BaseProtocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
17:16:18,257 INFO  [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009
17:16:18,277 INFO  [JkMain] Jk running ID=0 time=0/60  config=null
17:16:18,297 INFO  [Server] JBoss (MX MicroKernel) [4.0.4.CR2 (build: CVSTag=JBoss_4_0_4_CR2 date=200603311500)] Started in 28s:511ms
17:16:19,399 INFO  [Server] Runtime shutdown hook called, forceHalt: true
17:16:19,399 INFO  [Server] JBoss SHUTDOWN: Undeploying all packages
17:16:19,399 INFO  [TomcatDeployer] undeploy, ctxPath=/AuthTest, warUrl=.../tmp/deploy/tmp23859MyApp.ear-contents/MyWEB-exp.war/
17:16:19,419 INFO  [EJBDeployer] Undeploying: file:/D:/jboss404/server/default/tmp/deploy/tmp23859MyApp.ear-contents/MyEJB.jar
17:16:19,419 INFO  [BaseLocalProxyFactory] Unbind EJB LocalHome 'MySession' from jndi 'ejb/MySession'
17:16:19,529 INFO  [EjbModule] Undeployed MySession
17:16:19,539 INFO  [EARDeployer] Undeploying J2EE application, destroy step: file:/D:/jboss404/server/default/deploy/MyApp.ear
17:16:19,539 INFO  [EARDeployer] Undeployed J2EE application: file:/D:/jboss404/server/default/deploy/MyApp.ear
17:16:19,539 INFO  [TomcatDeployer] undeploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
17:16:19,559 INFO  [ConnectionFactoryBindingService] Unbound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' from JNDI name 'java:JmsXA'
17:16:19,589 INFO  [testTopic] Unbinding JNDI name: topic/testTopic
17:16:19,589 INFO  [securedTopic] Unbinding JNDI name: topic/securedTopic
17:16:19,589 INFO  [testDurableTopic] Unbinding JNDI name: topic/testDurableTopic
17:16:19,589 INFO  [testQueue] Unbinding JNDI name: queue/testQueue
17:16:19,599 INFO  [A] Unbinding JNDI name: queue/A
17:16:19,599 INFO  [B] Unbinding JNDI name: queue/B
17:16:19,599 INFO  [C] Unbinding JNDI name: queue/C
17:16:19,599 INFO  [D] Unbinding JNDI name: queue/D
17:16:19,599 INFO  [ex] Unbinding JNDI name: queue/ex
17:16:19,609 INFO  [DLQ] Unbinding JNDI name: queue/DLQ
17:16:19,619 INFO  [ConnectionFactoryBindingService] Unbound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' from JNDI name 'java:DefaultDS'
17:16:22,002 INFO  [HypersonicDatabase] Database standalone closed clean
17:16:22,103 INFO  [Http11BaseProtocol] Pausing Coyote HTTP/1.1 on http-0.0.0.0-8080
17:16:23,114 INFO  [StandardService] Stopping service jboss.web
17:16:23,164 INFO  [Http11BaseProtocol] Stopping Coyote HTTP/1.1 on http-0.0.0.0-8080
17:16:23,174 INFO  [TomcatDeployer] undeploy, ctxPath=/invoker, warUrl=.../deploy/http-invoker.sar/invoker.war/
17:16:23,184 INFO  [TomcatDeployer] undeploy, ctxPath=/, warUrl=.../deploy/jbossweb-tomcat55.sar/ROOT.war/
17:16:23,184 INFO  [TomcatDeployer] undeploy, ctxPath=/jbossmq-httpil, warUrl=.../deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
17:16:23,194 INFO  [TomcatDeployer] undeploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-console.war/
17:16:23,314 INFO  [MailService] Mail service 'java:/Mail' removed from JNDI
17:16:23,464 INFO  [TomcatDeployer] undeploy, ctxPath=/jbossws, warUrl=.../tmp/deploy/tmp23820jbossws14.sar-contents/jbossws-exp.war/
17:16:23,615 INFO  [Server] Shutdown complete
Shutdown complete
Halting VM
終止批處理操作嗎(Y/N)? 
<p class="indent">

相關文章