Any reason why you are using WAS? Class loading errors typically occur if the 
container provides some incompatible jar versions. Jenkins will run without any 
class loading issues with the embedded Jetty container.

Am 30.06.2014 um 07:19 schrieb Chris Graham <chrisgw...@gmail.com>:

> Hi All.
> 
> Running Jenkins 1.566 on WAS 8.5.5.2 using the IBM 1.7 JDK on RHEL 5.10.
> 
> I'm seeing this error after having succesfully built a job that uses the M2 
> job type.
> 
> It's occurring after the archiving and when the Cobertura publisher runs.
> 
> channel stopped
> [Cobertura] Publishing Cobertura coverage report...
> ERROR: Publisher hudson.plugins.cobertura.CoberturaPublisher aborted due to 
> exception
> java.lang.LinkageError: loading constraint violation: loader 
> "com/ibm/ws/classloader/CompoundClassLoader@599d9fc6" previously initiated 
> loading for a different type with name "javax/xml/namespace/QName" defined by 
> loader "com/ibm/oti/vm/BootstrapClassLoader@2e8fde5e"
>       at java.lang.ClassLoader.defineClassImpl(Native Method)
>       at java.lang.ClassLoader.defineClass(ClassLoader.java:306)
>       at 
> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:154)
>       at 
> com.ibm.ws.classloader.CompoundClassLoader._defineClass(CompoundClassLoader.java:853)
>       at 
> com.ibm.ws.classloader.CompoundClassLoader.localFindClass(CompoundClassLoader.java:763)
>       at 
> com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java:604)
>       at java.lang.ClassLoader.loadClass(ClassLoader.java:707)
>       at com.ctc.wstx.compat.QNameCreator.create(QNameCreator.java:39)
>       at 
> com.ctc.wstx.sr.NsInputElementStack.getCurrentElementName(NsInputElementStack.java:652)
>       at com.ctc.wstx.sr.BasicStreamReader.getName(BasicStreamReader.java:723)
>       at 
> com.ctc.wstx.sr.BasicStreamReader.withStartElement(BasicStreamReader.java:1588)
>       at 
> com.ctc.wstx.evt.DefaultEventAllocator.allocate(DefaultEventAllocator.java:188)
>       at 
> com.ctc.wstx.evt.WstxEventReader.createNextEvent(WstxEventReader.java:347)
>       at com.ctc.wstx.evt.WstxEventReader.nextEvent(WstxEventReader.java:196)
>       at 
> hudson.plugins.cobertura.CoberturaPublisher$ParseReportCallable.invoke(CoberturaPublisher.java:548)
>       at 
> hudson.plugins.cobertura.CoberturaPublisher$ParseReportCallable.invoke(CoberturaPublisher.java:525)
>       at hudson.FilePath.act(FilePath.java:920)
>       at hudson.FilePath.act(FilePath.java:893)
>       at 
> hudson.plugins.cobertura.CoberturaPublisher.perform(CoberturaPublisher.java:343)
>       at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45)
>       at 
> hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:745)
>       at 
> hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:709)
>       at 
> hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.post2(MavenModuleSetBuild.java:1040)
>       at 
> hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:658)
>       at hudson.model.Run.execute(Run.java:1735)
>       at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:529)
>       at hudson.model.ResourceController.execute(ResourceController.java:88)
>       at hudson.model.Executor.run(Executor.java:231)
> Sending e-mails to: XXXXXXXXXXXXXXX
> Finished: FAILURE
> 
> Anyone else seen this? Or able to offer any suggestions?
> 
> -Chris
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to jenkinsci-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

Reply via email to