模仿例子出现问题--初学者

05-11-10 big1980
2005-11-10 11:13:55,125 ERROR [org.jboss.deployment.MainDeployer] Could not initialise deployment: file:/D:/jboss-4.0.3SP1/server/default/deploy/testApplication.ear

org.jboss.deployment.DeploymentException: Failed to find module file: testWeb.war

nameisaj
2005-11-10 12:13
testWeb.war文件没有在server\default\deploy目录下

IceWolf_wg
2006-02-15 15:21
我也遇到这个问题。

我用JBUILDER2006和JBOSS4.0.0联合编译,JDK5.0,JdonFramework1.3,配置时将例子samples-1.3\SimpleJdonFrameworkTest\lib下的文件全部拷贝到JBOSS的DEFULT/LIB下。

编译时也没有错误。

如上所述的,我已经在JBOSS的\server\default\deploy目录下看到了testApplication.ear和testWeb.war。

为什么还会出现以下问题呢

15:01:52,125 INFO [A] Bound to JNDI name: queue/A

15:01:52,125 INFO Bound to JNDI name: queue/B

15:01:52,125 INFO [C] Bound to JNDI name: queue/C

15:01:52,125 INFO [D] Bound to JNDI name: queue/D

15:01:52,125 INFO [ex] Bound to JNDI name: queue/ex

15:01:52,156 INFO [testTopic] Bound to JNDI name: topic/testTopic

15:01:52,156 INFO [securedTopic] Bound to JNDI name: topic/securedTopic

15:01:52,156 INFO [testDurableTopic] Bound to JNDI name: topic/testDurableTopic

15:01:52,156 INFO [testQueue] Bound to JNDI name: queue/testQueue

15:01:52,171 INFO [UILServerILService] JBossMQ UIL service available at : /0.0.0.0:8093

15:01:52,234 INFO [DLQ] Bound to JNDI name: queue/DLQ

15:01:52,609 INFO [MailService] Mail Service bound to java:/Mail

15:01:52,750 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=file:/C:/jboss-4.0.0/server/default/deploy/jmx-console.war/

15:01:53,062 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=file:/C:/jboss-4.0.0/server/default/deploy/management/web-console.war/

15:01:55,718 INFO [TomcatDeployer] deploy, ctxPath=/testWeb, warUrl=file:/C:/jboss-4.0.0/server/default/tmp/deploy/tmp57221testWeb-exp.war/

15:01:56,531 INFO [WebappClassLoader] validateJarFile(C:\jboss-4.0.0\server\default\tmp\deploy\tmp57221testWeb-exp.war\WEB-INF\lib\servlet.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class

15:01:57,078 INFO [InitPlugIn] look up a config: com.jdon.framework.test.jdonframework.xml

15:01:57,093 INFO [InitPlugIn] got the config: com.jdon.framework.test.jdonframework.xml

15:01:57,281 INFO [EARDeployer] Init J2EE application: file:/C:/jboss-4.0.0/server/default/deploy/testApplication.ear

15:01:57,328 ERROR [MainDeployer] Could not initialise deployment: file:/C:/jboss-4.0.0/server/default/deploy/testApplication.ear

org.jboss.deployment.DeploymentException: Failed to find module file: testWeb.war

at org.jboss.deployment.EARDeployer.init(EARDeployer.java:243)

at org.jboss.deployment.MainDeployer.init(MainDeployer.java:799)

at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:736)

at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:709)

at sun.reflect.GeneratedMethodAccessor29.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:585)

at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)

at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)

at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:119)

at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)

at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131)

at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)

at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:242)

at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)

at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)

at $Proxy8.deploy(Unknown Source)

at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:305)

at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:481)

at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:204)

at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:277)

at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271)

at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221)

at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:585)

at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)

at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)

at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)

at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:242)

at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)

at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891)

at $Proxy0.start(Unknown Source)

at org.jboss.system.ServiceController.start(ServiceController.java:416)

at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:585)

at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)

at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)

at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)

at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:242)

at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)

at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)

at $Proxy4.start(Unknown Source)

at org.jboss.deployment.SARDeployer.start(SARDeployer.java:261)

at org.jboss.deployment.MainDeployer.start(MainDeployer.java:935)

at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:746)

at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:709)

at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:693)

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:585)

at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)

at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)

at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:119)

at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)

at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131)

at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)

at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:242)

at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)

at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)

at $Proxy5.deploy(Unknown Source)

at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:396)

at org.jboss.system.server.ServerImpl.start(ServerImpl.java:293)

at org.jboss.Main.boot(Main.java:151)

at org.jboss.Main$1.run(Main.java:405)

at java.lang.Thread.run(Thread.java:595)

15:01:57,343 ERROR [URLDeploymentScanner] Incomplete Deployment listing:

Incompletely deployed packages:

org.jboss.deployment.DeploymentInfo@f29a25d { url=file:/C:/jboss-4.0.0/server/default/deploy/testApplication.ear }

deployer: org.jboss.deployment.EARDeployer@111ded2

status: null

state: FAILED

watch: file:/C:/jboss-4.0.0/server/default/deploy/testApplication.ear

altDD: null

lastDeployed: 1139986917328

lastModified: 1139986917281

mbeans:

猜你喜欢