緊急求救!!為什麼在JBoss下無法部署EJB模組
緊急求救!!為什麼在JBoss下無法部署EJB模組?
在jboss下部署WEB模組和EJB模組時只需複製到JBOSS_HOME下的:\server\default\deploy目錄下即可,JBOSS回自動部署。我用的是jboss-3.2.2,部署WEB模組沒有問題,可是部署最簡單的hello world EJB模組(名字為:firstEjb.jar)時卻總是出現下面的錯誤:
13:36:06,139 INFO [MainDeployer] Starting deployment of package: file:/D:/jboss
-3.2.2/server/default/deploy/firstEjb.jar
13:36:06,326 WARN [EJBDeployer] Verify failed; continuing
java.lang.NoClassDefFoundError: javax/ejb/SessionBean
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12
3)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at java.lang.ClassLoader.loadClass(ClassLoader.java:282)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
at java.lang.ClassLoader.loadClass(ClassLoader.java:282)
at java.lang.ClassLoader.loadClass(ClassLoader.java:282)
at org.jboss.mx.loading.UnifiedClassLoader.loadClassLocally(UnifiedClass
Loader.java:278)
at org.jboss.mx.loading.UnifiedLoaderRepository3.loadClassFromClassLoade
r(UnifiedLoaderRepository3.java:244)
at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:139)
at org.jboss.mx.loading.UnifiedClassLoader3.loadClassImpl(UnifiedClassLo
ader3.java:169)
at org.jboss.mx.loading.UnifiedClassLoader3.loadClass(UnifiedClassLoader
3.java:123)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at org.jboss.verifier.strategy.EJBVerifier20.verifyBean(EJBVerifier20.ja
va:233)
at org.jboss.verifier.strategy.EJBVerifier20.checkSession(EJBVerifier20.
java:89)
at org.jboss.verifier.BeanVerifier.verify(BeanVerifier.java:159)
at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:475)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:786)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:641)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
nDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy6.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
tScanner.java:302)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
canner.java:476)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
doScan(AbstractDeploymentScanner.java:201)
at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(A
bstractDeploymentScanner.java:274)
at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:1
92)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
nDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
ler.java:976)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:394)
at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
nDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:226)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:642)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:589)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
nDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:384)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:291)
at org.jboss.Main.boot(Main.java:150)
at org.jboss.Main$1.run(Main.java:395)
at java.lang.Thread.run(Thread.java:534)
13:36:06,342 ERROR [MainDeployer] could not create deployment: file:/D:/jboss-3.
2.2/server/default/deploy/firstEjb.jar
org.jboss.deployment.DeploymentException: Verification of Enterprise Beans faile
d, see above for error messages.
at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:491)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:786)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:641)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
nDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy6.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
tScanner.java:302)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
canner.java:476)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
doScan(AbstractDeploymentScanner.java:201)
at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(A
bstractDeploymentScanner.java:274)
at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:1
92)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
nDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
ler.java:976)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:394)
at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
nDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:226)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:642)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:589)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
nDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:384)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:291)
at org.jboss.Main.boot(Main.java:150)
at org.jboss.Main$1.run(Main.java:395)
at java.lang.Thread.run(Thread.java:534)
13:36:06,342 INFO [MainDeployer] Starting deployment of package: file:/D:/jboss
-3.2.2/server/default/deploy/jmx-console.war/
13:36:06,389 INFO [EmbeddedTomcatService] deploy, ctxPath=/jmx-console, warUrl=
file:/D:/jboss-3.2.2/server/default/deploy/jmx-console.war/
13:36:06,529 INFO [Engine] ContextConfig[/jmx-console]: Added certificates -> r
equest attribute Valve
13:36:06,561 WARN [EmbeddedTomcatService] Unable to invoke setDelegate on class
loader:org.jboss.web.tomcat.tc4.WebCtxLoader$ENCLoader@bbbd0e
13:36:06,561 INFO [Engine] StandardManager[/jmx-console]: Seeding random number
generator class java.security.SecureRandom
13:36:06,561 INFO [Engine] StandardManager[/jmx-console]: Seeding of random num
ber generator has been completed
13:36:06,561 INFO [Engine] StandardWrapper[/jmx-console:default]: Loading conta
iner servlet default
13:36:06,561 INFO [Engine] StandardWrapper[/jmx-console:invoker]: Loading conta
iner servlet invoker
13:36:06,748 INFO [MainDeployer] Deployed package: file:/D:/jboss-3.2.2/server/
default/deploy/jmx-console.war/
13:36:06,748 INFO [MainDeployer] Starting deployment of package: file:/D:/jboss
-3.2.2/server/default/deploy/management/web-console.war
13:36:07,123 INFO [EmbeddedTomcatService] deploy, ctxPath=/web-console, warUrl=
file:/D:/jboss-3.2.2/server/default/tmp/deploy/tmp12765web-console.war/
13:36:07,201 INFO [Engine] ContextConfig[/web-console]: Added certificates -> r
equest attribute Valve
13:36:07,217 WARN [EmbeddedTomcatService] Unable to invoke setDelegate on class
loader:org.jboss.web.tomcat.tc4.WebCtxLoader$ENCLoader@166aab6
13:36:07,217 INFO [Engine] StandardManager[/web-console]: Seeding random number
generator class java.security.SecureRandom
13:36:07,217 INFO [Engine] StandardManager[/web-console]: Seeding of random num
ber generator has been completed
13:36:07,467 INFO [Engine] StandardWrapper[/web-console:default]: Loading conta
iner servlet default
13:36:07,498 INFO [Engine] StandardWrapper[/web-console:invoker]: Loading conta
iner servlet invoker
13:36:07,732 INFO [MainDeployer] Deployed package: file:/D:/jboss-3.2.2/server/
default/deploy/management/web-console.war
13:36:07,732 ERROR [URLDeploymentScanner] MBeanException: Exception in MBean ope
ration 'checkIncompleteDeployments()'
Cause: Incomplete Deployment listing:
Packages waiting for a deployer:
<none>
Incompletely deployed packages:
在jboss下部署WEB模組和EJB模組時只需複製到JBOSS_HOME下的:\server\default\deploy目錄下即可,JBOSS回自動部署。我用的是jboss-3.2.2,部署WEB模組沒有問題,可是部署最簡單的hello world EJB模組(名字為:firstEjb.jar)時卻總是出現下面的錯誤:
13:36:06,139 INFO [MainDeployer] Starting deployment of package: file:/D:/jboss
-3.2.2/server/default/deploy/firstEjb.jar
13:36:06,326 WARN [EJBDeployer] Verify failed; continuing
java.lang.NoClassDefFoundError: javax/ejb/SessionBean
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12
3)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at java.lang.ClassLoader.loadClass(ClassLoader.java:282)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
at java.lang.ClassLoader.loadClass(ClassLoader.java:282)
at java.lang.ClassLoader.loadClass(ClassLoader.java:282)
at org.jboss.mx.loading.UnifiedClassLoader.loadClassLocally(UnifiedClass
Loader.java:278)
at org.jboss.mx.loading.UnifiedLoaderRepository3.loadClassFromClassLoade
r(UnifiedLoaderRepository3.java:244)
at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:139)
at org.jboss.mx.loading.UnifiedClassLoader3.loadClassImpl(UnifiedClassLo
ader3.java:169)
at org.jboss.mx.loading.UnifiedClassLoader3.loadClass(UnifiedClassLoader
3.java:123)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at org.jboss.verifier.strategy.EJBVerifier20.verifyBean(EJBVerifier20.ja
va:233)
at org.jboss.verifier.strategy.EJBVerifier20.checkSession(EJBVerifier20.
java:89)
at org.jboss.verifier.BeanVerifier.verify(BeanVerifier.java:159)
at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:475)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:786)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:641)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
nDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy6.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
tScanner.java:302)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
canner.java:476)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
doScan(AbstractDeploymentScanner.java:201)
at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(A
bstractDeploymentScanner.java:274)
at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:1
92)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
nDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
ler.java:976)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:394)
at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
nDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:226)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:642)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:589)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
nDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:384)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:291)
at org.jboss.Main.boot(Main.java:150)
at org.jboss.Main$1.run(Main.java:395)
at java.lang.Thread.run(Thread.java:534)
13:36:06,342 ERROR [MainDeployer] could not create deployment: file:/D:/jboss-3.
2.2/server/default/deploy/firstEjb.jar
org.jboss.deployment.DeploymentException: Verification of Enterprise Beans faile
d, see above for error messages.
at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:491)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:786)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:641)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
nDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy6.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
tScanner.java:302)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
canner.java:476)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
doScan(AbstractDeploymentScanner.java:201)
at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(A
bstractDeploymentScanner.java:274)
at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:1
92)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
nDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
ler.java:976)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:394)
at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
nDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:226)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:642)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:589)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
nDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:384)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:291)
at org.jboss.Main.boot(Main.java:150)
at org.jboss.Main$1.run(Main.java:395)
at java.lang.Thread.run(Thread.java:534)
13:36:06,342 INFO [MainDeployer] Starting deployment of package: file:/D:/jboss
-3.2.2/server/default/deploy/jmx-console.war/
13:36:06,389 INFO [EmbeddedTomcatService] deploy, ctxPath=/jmx-console, warUrl=
file:/D:/jboss-3.2.2/server/default/deploy/jmx-console.war/
13:36:06,529 INFO [Engine] ContextConfig[/jmx-console]: Added certificates -> r
equest attribute Valve
13:36:06,561 WARN [EmbeddedTomcatService] Unable to invoke setDelegate on class
loader:org.jboss.web.tomcat.tc4.WebCtxLoader$ENCLoader@bbbd0e
13:36:06,561 INFO [Engine] StandardManager[/jmx-console]: Seeding random number
generator class java.security.SecureRandom
13:36:06,561 INFO [Engine] StandardManager[/jmx-console]: Seeding of random num
ber generator has been completed
13:36:06,561 INFO [Engine] StandardWrapper[/jmx-console:default]: Loading conta
iner servlet default
13:36:06,561 INFO [Engine] StandardWrapper[/jmx-console:invoker]: Loading conta
iner servlet invoker
13:36:06,748 INFO [MainDeployer] Deployed package: file:/D:/jboss-3.2.2/server/
default/deploy/jmx-console.war/
13:36:06,748 INFO [MainDeployer] Starting deployment of package: file:/D:/jboss
-3.2.2/server/default/deploy/management/web-console.war
13:36:07,123 INFO [EmbeddedTomcatService] deploy, ctxPath=/web-console, warUrl=
file:/D:/jboss-3.2.2/server/default/tmp/deploy/tmp12765web-console.war/
13:36:07,201 INFO [Engine] ContextConfig[/web-console]: Added certificates -> r
equest attribute Valve
13:36:07,217 WARN [EmbeddedTomcatService] Unable to invoke setDelegate on class
loader:org.jboss.web.tomcat.tc4.WebCtxLoader$ENCLoader@166aab6
13:36:07,217 INFO [Engine] StandardManager[/web-console]: Seeding random number
generator class java.security.SecureRandom
13:36:07,217 INFO [Engine] StandardManager[/web-console]: Seeding of random num
ber generator has been completed
13:36:07,467 INFO [Engine] StandardWrapper[/web-console:default]: Loading conta
iner servlet default
13:36:07,498 INFO [Engine] StandardWrapper[/web-console:invoker]: Loading conta
iner servlet invoker
13:36:07,732 INFO [MainDeployer] Deployed package: file:/D:/jboss-3.2.2/server/
default/deploy/management/web-console.war
13:36:07,732 ERROR [URLDeploymentScanner] MBeanException: Exception in MBean ope
ration 'checkIncompleteDeployments()'
Cause: Incomplete Deployment listing:
Packages waiting for a deployer:
<none>
Incompletely deployed packages:
[org.jboss.deployment.DeploymentInfo@e86a4237 { url=file:/D:/jboss-3.2.2/server/
default/deploy/firstEjb.jar }
deployer: org.jboss.ejb.EJBDeployer@11c2b67
status: Deployment FAILED reason: Verification of Enterprise Beans failed, see
above for error messages.
state: FAILED
watch: file:/D:/jboss-3.2.2/server/default/deploy/firstEjb.jar
lastDeployed: 1091943366170
lastModified: 1091943366154
mbeans:
]MBeans waiting for classes:
<none>
MBeans waiting for other MBeans:
<none>
為此我已經苦惱了幾天了,總是得不到解決的辦法,可是在其他機器上部署時卻一切正常,請問這是我的機器上某些配置出了問題嗎?
相關文章
- 為什麼python中使用模組無法識別Python
- 華為手機緊急聯絡人使用教程 華為手機緊急呼叫怎麼設定?
- 【網路安全】組織為什麼需要應急響應?應急響應需要做什麼?
- 為什麼要使用模組模式?模式
- 什麼是模組?Python模組分為哪幾類?Python
- 區塊鏈為什麼模組化?區塊鏈
- Linux下:熱插拔和模組是什麼Linux
- 前端為什麼需要模組化開發前端
- 為什麼JavaScript需要模組化開發?JavaScript
- iPhone緊急聯絡人設定教程 iPhone怎麼設定緊急聯絡人?iPhone
- Node之CommonJS,為什麼模組該這麼寫JS
- 為什麼我們無法避免複雜?
- 為什麼索引無法使用is null和is not null索引Null
- Jboss eap7.1 配置部署
- 什麼是前端模組化?前端模組化開發到底有無必要前端
- ① EJB無狀態的bean(建立EJB的基礎教程)Bean
- OA系統為什麼有流程管理模組?
- 百年銀行——瑞士信貸緊急求救!比特幣看漲的宏觀背景從未如此完美?比特幣
- 為什麼需要應急響應?網路安全應急響應需要做什麼?
- HTTP/3 來啦,你還在等什麼?趕緊了解一下HTTP
- Electron團隊為什麼要幹掉remote模組REM
- Python中模組是什麼?Python有哪些模組?Python
- 為什麼 const 無法讓 C 程式碼跑得更快?
- SpringBoot多模組專案中無法注入其他模組中的spring beanSpring BootBean
- OPPO手機緊急聯絡人設定使用教程 OPPO手機怎麼設定緊急聯絡人
- 為什麼水安全問題是當下全球最緊迫的挑戰
- 曝出漏洞、企業禁用、緊急宣告:Zoom 一週裡經歷了什麼?OOM
- 請問在Home或者Admin模組下如何進入Addons模組
- 獲取的 Cookie 為什麼無法用於爬蟲Cookie爬蟲
- 在WEPAPI介面無法查詢物料分組API
- [譯] 為什麼我不再使用 export default 來匯出模組Export
- WEB 前端模組化都有什麼?Web前端
- [譯] 什麼是模組化 CSS?CSS
- python爬蟲需要什麼模組Python爬蟲
- CRM的功能模組有什麼?
- 為什麼在vue中寫的css都沒法生效VueCSS
- 在日本,為什麼修改遊戲存檔可能違法遊戲
- ejb
- TCP 兩次握手為什麼無法阻止歷史連線?TCP