浏览 11361 次
锁定老帖子 主题:JBOSS启动异常
该帖已经被评为新手帖
|
|
---|---|
作者 | 正文 |
发表时间:2007-06-12
我的JDK是1.5 在环境变量里设了JBOSS_HOME,但是在bin下执行run还是错误 重新解压JBOSS错误还是一样不知道什么原因 22:33:06,113 ERROR [[/]] Exception sending context initialized event to listener instance of class org.jboss.web.jsf.integration.config.JBossJSFConfig ureListener java.lang.NoSuchMethodError: javax.servlet.ServletContext.getContextPath()Ljava/lang/String; 22:33:06,814 ERROR [StandardContext] Error listenerStart 22:33:06,814 ERROR [StandardContext] Context [] startup failed due to previous errors 22:33:06,904 WARN [ServiceController] Problem starting service jboss.web.deployment:war=ROOT.war,id=-1268835309 org.jboss.deployment.DeploymentException: URL file:/D:/jboss/server/default/deploy/jboss-web.deployer/ROOT.war/ deployment failed at org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:379) at org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104) at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375) 22:33:07,104 ERROR [MainDeployer] Could not start deployment: file:/D:/jboss/server/default/deploy/jboss-web.deployer/ROOT.war/ org.jboss.deployment.DeploymentException: URL file:/D:/jboss/server/default/deploy/jboss-web.deployer/ROOT.war/ deployment failed at org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:379) at org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104) at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375) 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) 22:33:07,244 ERROR [MainDeployer] DeploymentException while trying to deploy a package with a new deployer org.jboss.deployment.DeploymentException: URL file:/D:/jboss/server/default/deploy/jboss-web.deployer/ROOT.war/ deployment failed at org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:379) at org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104) at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375) at org.jboss.web.WebModule.startModule(WebModule.java:83) 22:33:07,605 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/http-invoker.sar/invoker.war/ 22:33:08,186 ERROR [[/invoker]] Exception sending context initialized event to listener instance of class org.jboss.web.jsf.integration.config.JBossJS FConfigureListener java.lang.NoSuchMethodError: javax.servlet.ServletContext.getContextPath()Ljava/lang/String; at com.sun.faces.config.WebConfiguration.getServletContextName(WebConfiguration.java:208) at com.sun.faces.config.WebConfiguration.<init>(WebConfiguration.java:82) at com.sun.faces.config.WebConfiguration.getInstance(WebConfiguration.java:139) 22:33:08,977 ERROR [StandardContext] Error listenerStart 22:33:08,977 ERROR [StandardContext] Context [/invoker] startup failed due to previous errors 22:33:09,037 WARN [ServiceController] Problem starting service jboss.web.deployment:war=invoker.war,id=-300474390 org.jboss.deployment.DeploymentException: URL file:/D:/jboss/server/default/deploy/http-invoker.sar/invoker.war/ deployment failed at org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:379) at org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104) at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375) 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) 22:33:09,257 ERROR [MainDeployer] Could not start deployment: file:/D:/jboss/server/default/deploy/http-invoker.sar/invoker.war/ org.jboss.deployment.DeploymentException: URL file:/D:/jboss/server/default/deploy/http-invoker.sar/invoker.war/ deployment failed at org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:379) at org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104) at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375) 错误信息还有很多。。。 声明:ITeye文章版权属于作者,受法律保护。没有作者书面许可不得转载。
推荐链接
|
|
返回顶楼 | |
发表时间:2007-06-13
SeanHe 写道 最近想学习一下JBOSS,没想到刚开始就遇到大麻烦,启动时总是报异常
我的JDK是1.5 在环境变量里设了JBOSS_HOME,但是在bin下执行run还是错误 重新解压JBOSS错误还是一样不知道什么原因 22:33:06,113 ERROR [[/]] Exception sending context initialized event to listener instance of class org.jboss.web.jsf.integration.config.JBossJSFConfig ureListener 我记得以前在别人的机器试用JBoss的时候有出现这一个问题(不太完全确定,隔太久了),后来发现他机器装的jdk是1.5beta版本的,估计可能有问题,怕有冲突之类的,就试着卸载了beta版的jdk,新装一个正式版的jdk,结果就没有事了. |
|
返回顶楼 | |
发表时间:2007-06-13
这个问题可能是类文件冲突导致的,因为我的jboss420启动就没有一点问题,请检测你的classpath是否存在比[%java_home%\lib\tools.jar;.]更多的资源文件,如果是请清除,然后再启动一下看看
|
|
返回顶楼 | |