哈德森停止了我的jboss工作

时间:2012-04-20 07:42:06

标签: build jboss hudson

当我将hudson复制到jboss时,我在控制台上出现以下错误

这里我发布了jboss console的错误

这是哈德森或任何其他配置的问题

13:07:12,307 SEVERE [hudson.WebAppMain]无法初始化Hudson:java.lang.ClassCastException:org.apache.xalan.processor.TransformerFactoryImpl无法强制转换为javax.xml.transform.TransformerFactory     at javax.xml.transform.TransformerFactory.newInstance(Unknown Source)[:1.7.0_01]     在hudson.WebAppMain.contextInitialized(WebAppMain.java:225)[:]     at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3369)[:6.1.0.Final]     在org.apache.catalina.core.StandardContext.start(StandardContext.java:3828)[:6.1.0.Final]     在org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:294)[:6.1.0.Final]     在org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:146)[:6.1.0.Final]     在org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:476)[:6.1.0.Final]     在org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)[:6.1.0.Final]     在org.jboss.web.deployers.WebModule.start(WebModule.java:95)[:6.1.0.Final]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.7.0_01]     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)[:1.7.0_01]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)[:1.7.0_01]

13:07:12,335 ERROR [org.apache.catalina.core.ContainerBase。[jboss.web]。[localhost]。[/ hudson]]异常将上下文初始化事件发送到类hudson.WebAppMain的监听器实例:java .lang.ClassCastException:org.apache.xalan.processor.TransformerFactoryImpl无法强制转换为javax.xml.transform.TransformerFactory     at javax.xml.transform.TransformerFactory.newInstance(Unknown Source)[:1.7.0_01]     在hudson.WebAppMain.contextInitialized(WebAppMain.java:225)[:]     at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3369)[:6.1.0.Final]     在org.apache.catalina.core.StandardContext.start(StandardContext.java:3828)[:6.1.0.Final]     在org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:294)[:6.1.0.Final]     在org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:146)[:6.1.0.Final]     在org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:476)[:6.1.0.Final]     在org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)[:6.1.0.Final]     在org.jboss.web.deployers.WebModule.start(WebModule.java:95)[:6.1.0.Final]

13:07:12,338 ERROR [org.apache.catalina.core.StandardContext]错误listenerStart 13:07:12,338 ERROR [org.apache.catalina.core.StandardContext]上下文[/ hudson]由于之前的错误而失败 13:07:12,340 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController]安装到Start时出错:name = jboss.web.deployment:war = / hudson state =创建模式= Manual requiredState =已安装:org.jboss。 deployers.spi.DeploymentException:URL文件:/ D:/jboss-6.1.0.Final/server/default/tmp/vfs/automount4814526bb3d939e0/hudson.war-ef6a3115c21523bd/部署失败     在org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:325)[:6.1.0.Final]     在org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:146)[:6.1.0.Final]     在org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:476)[:6.1.0.Final]     在org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)[:6.1.0.Final]     在org.jboss.web.deployers.WebModule.start(WebModule.java:95)[:6.1.0.Final]

13:07:12,348 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController]安装到Real时出错:name = vfs:/// D:/jboss-6.1.0.Final/server/default/deploy /hudson.war state = PreReal mode = Manual requiredState = Real:org.jboss.deployers.spi.DeploymentException:URL file:/ D:/jboss-6.1.0.Final/server/default/tmp/vfs/automount4814526bb3d939e0/hudson .war-ef6a3115c21523bd /部署失败     在org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:325)[:6.1.0.Final]     在org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:146)[:6.1.0.Final]     在org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:476)[:6.1.0.Final]     在org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)[:6.1.0.Final]     在org.jboss.web.deployers.WebModule.start(WebModule.java:95)[:6.1.0.Final]

部署错误:   部署" vfs:/// D:/jboss-6.1.0.Final/server/default/deploy/hudson.war"由于以下原因而出错:org.jboss.deployers.spi.DeploymentException:URL文件:/ D:/jboss-6.1.0.Final/server/default/tmp/vfs/automount4814526bb3d939e0/hudson.war -ef6a3115c21523bd /部署失败

at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:1370) [:2.2.2.GA]
at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:1316) [:2.2.2.GA]
at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:968) [:2.2.2.GA]
at org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.checkComplete(MainDeployerPlugin.java:82) [:6.1.0.Final]

1 个答案:

答案 0 :(得分:1)

很可能你不小心在你的类路径中绑定了Xalan或另一个xml jar。确保删除这些lib并让JBoss使用标准库。尝试从hudson.war xml-apis.jar中删除此jar。