[JBoss JIRA] (JBWS-3613) WSConsume fails on IBM JDK6
by Alessio Soldano (JIRA)
[ https://issues.jboss.org/browse/JBWS-3613?page=com.atlassian.jira.plugin.... ]
Alessio Soldano updated JBWS-3613:
----------------------------------
Fix Version/s: (was: jbossws-cxf-4.1.4)
> WSConsume fails on IBM JDK6
> ---------------------------
>
> Key: JBWS-3613
> URL: https://issues.jboss.org/browse/JBWS-3613
> Project: JBoss Web Services
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: jbossws-cxf, tools-jaxws
> Affects Versions: jbossws-cxf-4.1.2
> Reporter: Alessio Soldano
> Assignee: Alessio Soldano
> Fix For: jbossws-cxf-4.2
>
>
> When running on IBM JDK6, following exception is thrown; the custom implementation of ForwardingJavaFileManager introduced in JBWS-3589 catches ClassNotFoundException only to detect if a class is loadable by the module classloader of the current JAXWS SPI Provider...
> java.lang.NoClassDefFoundError: javax.realtime.RealtimeThread
> at com.ibm.oti.vm.VM.findClassOrNull(Native Method)
> at com.ibm.oti.vm.BootstrapClassLoader.loadClass(BootstrapClassLoader.java:62)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:643)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:645)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:346)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:619)
> at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:371)
> at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:131)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:645)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:619)
> at org.jboss.wsf.stack.cxf.tools.CXFConsumerImpl$CustomJavaFileManager.list(CXFConsumerImpl.java:371)
> at com.sun.tools.javac.jvm.ClassReader.fillIn(ClassReader.java:2077)
> at com.sun.tools.javac.jvm.ClassReader.complete(ClassReader.java:1781)
> at com.sun.tools.javac.code.Symbol.complete(Symbol.java:386)
> at com.sun.tools.javac.code.Symbol$PackageSymbol.members(Symbol.java:596)
> at com.sun.tools.javac.comp.MemberEnter.importAll(MemberEnter.java:119)
> at com.sun.tools.javac.comp.MemberEnter.visitTopLevel(MemberEnter.java:509)
> at com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:446)
> at com.sun.tools.javac.comp.MemberEnter.memberEnter(MemberEnter.java:387)
> at com.sun.tools.javac.comp.MemberEnter.complete(MemberEnter.java:819)
> at com.sun.tools.javac.code.Symbol.complete(Symbol.java:386)
> at com.sun.tools.javac.code.Symbol$ClassSymbol.complete(Symbol.java:758)
> at com.sun.tools.javac.comp.Enter.complete(Enter.java:451)
> at com.sun.tools.javac.comp.Enter.main(Enter.java:429)
> at com.sun.tools.javac.main.JavaCompiler.enterTrees(JavaCompiler.java:819)
> at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:727)
> at com.sun.tools.javac.main.Main.compile(Main.java:353)
> at com.sun.tools.javac.api.JavacTaskImpl.call(JavacTaskImpl.java:115)
> at org.apache.cxf.common.util.Compiler.internalJava6Compile(Compiler.java:232)
> at org.apache.cxf.common.util.Compiler.useJava6Compiler(Compiler.java:194)
> at org.apache.cxf.common.util.Compiler.compileFiles(Compiler.java:144)
> at org.apache.cxf.tools.common.ClassUtils.compile(ClassUtils.java:122)
> at org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.processWsdl(WSDLToJavaContainer.java:306)
> at org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.execute(WSDLToJavaContainer.java:164)
> at org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.execute(WSDLToJavaContainer.java:412)
> at org.apache.cxf.tools.common.toolspec.ToolRunner.runTool(ToolRunner.java:103)
> at org.apache.cxf.tools.wsdlto.WSDLToJava.run(WSDLToJava.java:113)
> at org.jboss.wsf.stack.cxf.tools.CXFConsumerImpl.consume(CXFConsumerImpl.java:281)
> at org.jboss.ws.tools.cmd.WSConsume.importServices(WSConsume.java:279)
> at org.jboss.ws.tools.cmd.WSConsume.mainInternal(WSConsume.java:104)
> at org.jboss.ws.tools.cmd.WSConsume.main(WSConsume.java:92)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:600)
> at org.jboss.modules.Module.run(Module.java:268)
> at org.jboss.modules.Main.main(Main.java:344)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira