On Mar 23, 2010, at 6:51 PM, Daniel Kulp wrote:

On Tuesday 23 March 2010 1:32:07 pm Purohit, Manoj R wrote:
Hello,

Running mtom sample on websphere app server ce(community edition) it gives
me following exception. It seems that was ce comes with axis2
implementation.
Has anybody successfully deployed cxf on was ce ?
I would appreciate the response.

I don't think I've ever heard of anyone even trying. You MAY be able to get a response on the Geronimo lists or on the WAS CE lists. IBM recently added stuff to WAS to allow use of other JAX-WS runtimes, but I don't know if that code was also added to the CE version. Also don't know if you could uninstall the axis2 based JAX-WS version which is interfering, or, at the very least, turn off the annotation scanning at startup which is causing this.

geronimo includes both cxf and axis2 support. Was ce ships with only axis2 support. You can certainly use geronimo with cxf and you may be able to turn off the was ce axis2 support and install the cxf support from a corresponding geronimo version. I'm not sure if or how you could get support for was ce + cxf -- the geronimo lists aren't likely to help much because was ce is a proprietary product and I don't know what was ce support will think of questions about cxf.

thanks
david jencks


Dan



Regards,
Manoj

modeler error: Response wrapper bean names must be unique and must not
clash with other generated classes.  Class:
com.sample.backoffice.service.BackOffice method
testDataHandler (javax.xml.ws.Holder<java.lang.String>,javax.xml.ws.Holder<
javax.activation.DataHandler>) at
com.sun.tools.ws.processor.modeler.annotation.WebServiceAP.onError (WebServ
iceAP.java:202) at
com.sun.tools.ws.processor.modeler.annotation.WebServiceAP.onError (WebServ
iceAP.java:191) at
com.sun.tools.ws.processor.modeler.annotation.WebServiceAP.onError (WebServ
iceAP.java:187) at
com.sun.tools.ws.processor.modeler.annotation.WebServiceWrapperGenerator.g
enerateWrappers(WebServiceWrapperGenerator.java:231) at
com.sun.tools.ws.processor.modeler.annotation.WebServiceWrapperGenerator.p
rocessMethod(WebServiceWrapperGenerator.java:141) at
com.sun.tools.ws.processor.modeler.annotation.WebServiceVisitor.visitMetho
dDeclaration(WebServiceVisitor.java:468) at
com.sun.tools.apt.mirror.declaration.MethodDeclarationImpl.accept (MethodDe
clarationImpl.java:53) at
com.sun.tools.ws.processor.modeler.annotation.WebServiceVisitor.processMet
hods(WebServiceVisitor.java:392) at
com.sun.tools.ws.processor.modeler.annotation.WebServiceVisitor.postProces
sWebService(WebServiceVisitor.java:356) at
com.sun.tools.ws.processor.modeler.annotation.WebServiceWrapperGenerator.p
ostProcessWebService(WebServiceWrapperGenerator.java:111) at
com.sun.tools.ws.processor.modeler.annotation.WebServiceVisitor.visitInter
faceDeclaration(WebServiceVisitor.java:138) at
com.sun.tools.apt.mirror.declaration.InterfaceDeclarationImpl.accept (Inter
faceDeclarationImpl.java:44) at
com.sun.tools.ws.processor.modeler.annotation.WebServiceVisitor.inspectEnd
pointInterface(WebServiceVisitor.java:439) at
com.sun.tools.ws.processor.modeler.annotation.WebServiceVisitor.visitClass
Declaration(WebServiceVisitor.java:159) at
com.sun.tools.apt.mirror.declaration.ClassDeclarationImpl.accept (ClassDecl
arationImpl.java:107) at
com.sun.tools.ws.processor.modeler.annotation.WebServiceAP.buildModel (WebS
erviceAP.java:345) at
com.sun.tools.ws.processor.modeler.annotation.WebServiceAP.process (WebServ
iceAP.java:230) at
com.sun.mirror.apt.AnnotationProcessors $CompositeAnnotationProcessor.proce
ss(AnnotationProcessors.java:72) at
com.sun.tools.apt.comp.Apt.main(Apt.java:466)
       at
com.sun.tools.apt.main.JavaCompiler.compile(JavaCompiler.java:269) at
com.sun.tools.apt.main.Main.compile(Main.java:1113)
       at com.sun.tools.apt.main.Main.compile(Main.java:975)
       at com.sun.tools.apt.Main.processing(Main.java:106)
       at com.sun.tools.apt.Main.process(Main.java:96)
       at com.sun.tools.apt.Main.process(Main.java:78)
       at
com.sun.tools.ws.wscompile.CompileTool.buildModel(CompileTool.java: 603) at
com.sun.tools.ws.wscompile.CompileTool.run(CompileTool.java:536) at
com.sun.tools.ws.util.ToolBase.run(ToolBase.java:54)
       at
com.sun.tools.ws.util.WSToolsObjectFactoryImpl.wsgen (WSToolsObjectFactoryI mpl.java:42) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:
39) at
sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorIm
pl.java:37) at java.lang.reflect.Method.invoke(Method.java:599)
       at
org.apache.geronimo.jaxws.builder.JAXWSTools.invoke(JAXWSTools.java: 204)
at
org.apache.geronimo.jaxws.builder.JAXWSTools.invoke(JAXWSTools.java: 193)
at
org.apache.geronimo.jaxws.builder.JAXWSTools.invokeWsgen (JAXWSTools.java:1
75) at
org.apache.geronimo.jaxws.builder.WsdlGenerator.invokeWsgen (WsdlGenerator.
java:357) at
org.apache.geronimo.jaxws.builder.WsdlGenerator.generateWsdl (WsdlGenerator
.java:331) at
org.apache.geronimo.axis2.builder.Axis2Builder.initialize (Axis2Builder.jav
a:222) at
org.apache.geronimo.jaxws.builder.JAXWSServiceBuilder.configurePOJO (JAXWSS
erviceBuilder.java:175) at
org.apache.geronimo.tomcat.deployment.TomcatModuleBuilder.addGBeans (Tomcat
ModuleBuilder.java:447) at
org.apache.geronimo.j2ee.deployment.SwitchingModuleBuilder.addGBeans (Switc
hingModuleBuilder.java:165) at
org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration (EA
RConfigBuilder.java:647) at
org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:254) at
org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:133) at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:
39) at
sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorIm
pl.java:37) at java.lang.reflect.Method.invoke(Method.java:599)
       at
org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke (Reflectio
nMethodInvoker.java:34) at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke (GBeanOperation.jav
a:124) at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke (GBeanInstance.java:
867) at
org.apache.geronimo.kernel.basic.BasicKernel.invoke (BasicKernel.java:239) at org.apache.geronimo.kernel.KernelGBean.invoke(KernelGBean.java: 342) at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:
39) at
sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorIm
pl.java:37) at java.lang.reflect.Method.invoke(Method.java:599)
       at
org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke (Reflectio
nMethodInvoker.java:34) at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke (GBeanOperation.jav
a:124) at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke (GBeanInstance.java:
867) at
org.apache.geronimo.kernel.basic.BasicKernel.invoke (BasicKernel.java:239)
at
org.apache.geronimo.system.jmx.MBeanGBeanBridge.invoke (MBeanGBeanBridge.ja
va:172) at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke (DefaultMBeanS
erverInterceptor.java:848) at
com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java: 773) at javax.management.remote.rmi.RMIConnectionImpl.doOperation (RMIConnectionImp
l.java:1437) at
javax.management.remote.rmi.RMIConnectionImpl.access$200 (RMIConnectionImpl
.java:83) at
javax.management.remote.rmi.RMIConnectionImpl $PrivilegedOperation.run(RMIC
onnectionImpl.java:1275) at
java.security.AccessController.doPrivileged(AccessController.java: 284) at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation (RMICon
nectionImpl.java:1377) at
javax.management.remote.rmi.RMIConnectionImpl.invoke (RMIConnectionImpl.jav a:799) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:
39) at
sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorIm
pl.java:37) at java.lang.reflect.Method.invoke(Method.java:599)
       at
sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:310) at
sun.rmi.transport.Transport$1.run(Transport.java:171)
       at
java.security.AccessController.doPrivileged(AccessController.java: 284) at
sun.rmi.transport.Transport.serviceCall(Transport.java:167) at
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java: 547)
at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0 (TCPTransport.jav
a:802) at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run (TCPTransport.java
:661) at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask (ThreadPoolExecutor.
java:896) at
java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java
:918) at java.lang.Thread.run(Thread.java:735)

--
Daniel Kulp
[email protected]
http://dankulp.com/blog

Reply via email to