首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 服务器 > 其他服务器 >

第一次用JBOSS,结果就启动错误了~请各位指点下!

2013-03-26 
第一次用JBOSS,结果就启动异常了~~~请各位指点下!!异常代码如下:ice.activateProfile(AbstractProfileServ

第一次用JBOSS,结果就启动异常了~~~请各位指点下!!

异常代码如下:
ice.activateProfile(AbstractProfileService.java:306)
        at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(
ProfileServiceBootstrap.java:271)
        at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:
461)
        at org.jboss.Main.boot(Main.java:221)
        at org.jboss.Main$1.run(Main.java:556)
        at java.lang.Thread.run(Thread.java:619)
14:05:45,921 ERROR [StandardContext] Error listenerStart
14:05:45,921 ERROR [StandardContext] Context [/jmx-console] startup failed due t
o previous errors
14:05:45,921 ERROR [AbstractKernelController] Error installing to Start: name=jb
oss.web.deployment:war=/jmx-console state=Create mode=Manual requiredState=Insta
lled
org.jboss.deployers.spi.DeploymentException: URL file:/C:/JBoss/jboss-5.1.0.GA/s
erver/default/deploy/jmx-console.war/ deployment failed
        at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy
Internal(TomcatDeployment.java:331)
        at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy
(TomcatDeployment.java:142)
        at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeploy
ment.java:461)
        at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
        at org.jboss.web.deployers.WebModule.start(WebModule.java:97)
        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:597)
        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:157)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:264)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
        at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java
:206)
        at $Proxy38.start(Unknown Source)
        at org.jboss.system.microcontainer.StartStopLifecycleAction.installActio
n(StartStopLifecycleAction.java:42)
        at org.jboss.system.microcontainer.StartStopLifecycleAction.installActio
n(StartStopLifecycleAction.java:37)
        at org.jboss.dependency.plugins.action.SimpleControllerContextAction.sim
pleInstallAction(SimpleControllerContextAction.java:62)


        at org.jboss.dependency.plugins.action.AccessControllerContextAction.ins
tall(AccessControllerContextAction.java:71)
        at org.jboss.dependency.plugins.AbstractControllerContextActions.install
(AbstractControllerContextActions.java:51)
        at org.jboss.dependency.plugins.AbstractControllerContext.install(Abstra
ctControllerContext.java:348)
        at org.jboss.system.microcontainer.ServiceControllerContext.install(Serv
iceControllerContext.java:286)
        at org.jboss.dependency.plugins.AbstractController.install(AbstractContr
oller.java:1631)
        at org.jboss.dependency.plugins.AbstractController.incrementState(Abstra
ctController.java:934)
        at org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr
actController.java:1082)
        at org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr
actController.java:984)
        at org.jboss.dependency.plugins.AbstractController.change(AbstractContro
ller.java:822)
        at org.jboss.dependency.plugins.AbstractController.change(AbstractContro
ller.java:553)
        at org.jboss.system.ServiceController.doChange(ServiceController.java:68



.........................................................................................
...........................
..................
..............
................


sImpl.java:1439)
        at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFi
rst(DeployersImpl.java:1157)
        at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFi
rst(DeployersImpl.java:1178)
        at org.jboss.deployers.plugins.deployers.DeployersImpl.install(Deployers
Impl.java:1098)
        at org.jboss.dependency.plugins.AbstractControllerContext.install(Abstra
ctControllerContext.java:348)
        at org.jboss.dependency.plugins.AbstractController.install(AbstractContr
oller.java:1631)
        at org.jboss.dependency.plugins.AbstractController.incrementState(Abstra
ctController.java:934)
        at org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr
actController.java:1082)
        at org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr
actController.java:984)
        at org.jboss.dependency.plugins.AbstractController.change(AbstractContro
ller.java:822)
        at org.jboss.dependency.plugins.AbstractController.change(AbstractContro
ller.java:553)
        at org.jboss.deployers.plugins.deployers.DeployersImpl.process(Deployers
Impl.java:781)
        at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeploye
rImpl.java:702)
        at org.jboss.system.server.profileservice.repository.MainDeployerAdapter
.process(MainDeployerAdapter.java:117)


        at org.jboss.system.server.profileservice.repository.ProfileDeployAction
.install(ProfileDeployAction.java:70)
        at org.jboss.system.server.profileservice.repository.AbstractProfileActi
on.install(AbstractProfileAction.java:53)
        at org.jboss.system.server.profileservice.repository.AbstractProfileServ
ice.install(AbstractProfileService.java:361)
        at org.jboss.dependency.plugins.AbstractControllerContext.install(Abstra
ctControllerContext.java:348)
        at org.jboss.dependency.plugins.AbstractController.install(AbstractContr
oller.java:1631)
        at org.jboss.dependency.plugins.AbstractController.incrementState(Abstra
ctController.java:934)
        at org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr
actController.java:1082)
        at org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr
actController.java:984)
        at org.jboss.dependency.plugins.AbstractController.change(AbstractContro
ller.java:822)
        at org.jboss.dependency.plugins.AbstractController.change(AbstractContro
ller.java:553)
        at org.jboss.system.server.profileservice.repository.AbstractProfileServ
ice.activateProfile(AbstractProfileService.java:306)
        at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(
ProfileServiceBootstrap.java:271)
        at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:
461)
        at org.jboss.Main.boot(Main.java:221)
        at org.jboss.Main$1.run(Main.java:556)
        at java.lang.Thread.run(Thread.java:619)
14:05:45,968 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary of
incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

DEPLOYMENTS IN ERROR:
  Deployment "vfsfile:/C:/JBoss/jboss-5.1.0.GA/server/default/deploy/ROOT.war/"
is in error due to the following reason(s): org.jboss.deployers.spi.DeploymentEx
ception: URL file:/C:/JBoss/jboss-5.1.0.GA/server/default/deploy/ROOT.war/ deplo
yment failed
  Deployment "vfsfile:/C:/JBoss/jboss-5.1.0.GA/server/default/deploy/admin-conso
le.war/" is in error due to the following reason(s): org.jboss.deployers.spi.Dep
loymentException: URL file:/C:/JBoss/jboss-5.1.0.GA/server/default/tmp/5c4o01j-m
0oagx-ga21i0n0-1-ga21ienc-v/admin-console.war/ deployment failed
  Deployment "jboss.web.deployment:war=/web-console" is in error due to the foll
owing reason(s): org.jboss.deployers.spi.DeploymentException: URL file:/C:/JBoss
/jboss-5.1.0.GA/server/default/deploy/management/console-mgr.sar/web-console.war
/ deployment failed
  Deployment "jboss.web.deployment:war=/jbossws" is in error due to the followin
g reason(s): org.jboss.deployers.spi.DeploymentException: URL file:/C:/JBoss/jbo


ss-5.1.0.GA/server/default/deploy/jbossws.sar/jbossws-management.war/ deployment
 failed
  Deployment "vfsfile:/C:/JBoss/jboss-5.1.0.GA/server/default/deploy/jmx-console
.war/" is in error due to the following reason(s): org.jboss.deployers.spi.Deplo
ymentException: URL file:/C:/JBoss/jboss-5.1.0.GA/server/default/deploy/jmx-cons
ole.war/ deployment failed
  Deployment "jboss.web.deployment:war=/invoker" is in error due to the followin
g reason(s): org.jboss.deployers.spi.DeploymentException: URL file:/C:/JBoss/jbo
ss-5.1.0.GA/server/default/deploy/http-invoker.sar/invoker.war/ deployment faile
d

14:05:46,062 INFO  [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8
080
14:05:46,171 INFO  [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
14:05:46,171 INFO  [ServerImpl] JBoss (Microcontainer) [5.1.0.GA (build: SVNTag=
JBoss_5_1_0_GA date=200905221634)] Started in 45s:125ms



上面的“.....”是因为发帖内容过多。。而省略掉的~

PATH如下:

C:\>path
PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\windows;C:\Program Files\Java\jdk1.6.0_10
\bin;C:\JBoss\jboss-5.1.0.GA\bin;

谢谢~!!!
[解决办法]
mark
[解决办法]
你用的什么版本?
[解决办法]
看看这篇文章吧:
http://stackoverflow.com/questions/2682957/errors-deploying-an-ear-with-ejbs-2-1-into-jboss-as5


  I'd like to see your jboss.xml but I really wonder why you're using this very dusty jboss_2_4.dtd (the "JBoss 2.4 EJB deploymentDescriptor"). Since you're using JBoss AS 5.1, I'd recommend using the moderner jboss_5_1.xsd schema instead (see JBossDTDs for reference). Below an empty sample:

<jboss xmlns="http://www.jboss.com/xml/ns/javaee" 
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
 xsi:schemaLocation="http://www.jboss.com/xml/ns/javaee 
 http://www.jboss.org/j2ee/schema/jboss_5_1.xsd" 
 version="3.0"> 
</jboss> 
 

注意jboss.xml中的这句话http://www.jboss.org/j2ee/schema/jboss_5_1.xsd

热点排行