Re: Error deploying CXF 2.0.2 to WebSphere 6.1.0.5

2007-10-14 Thread Jeff Yu

Hi,

After tried to put the wsdl4j-1.6.1.jar in the endorsed folder, it 
works.. I am guessing cxf must use some specific classes from 
wsdl4j-1.6.1 from cxf-2.0RC.


Anyway, I've composed a wiki for the websphere deployment. 
http://cwiki.apache.org/confluence/display/CXF20DOC/AppServerGuide#AppServerGuide-Websphere


Thanks
Jeff


Jeff Yu wrote:

Hi, Willem

I checked the wsdl4j.jar, but it works fine with cxf-2.0 M1, which 
used the same version wsdl4j.jar as cxf-2.0 RC...
Any way, I will put it under endorsed folder and give it another shot 
next week


Thanks
Jeff


Jiang, Ning (Willem) wrote:

Hi Jeff,

I do not think the servlet2.5 API is the cause of the error. If I 
remembered right, you told me that you had tried to remove the 
servlet2.5 API from the war's lib and it was workable.


Form the stack trace, it looks like the exception is thrown by 
calling the WSDL4J extension.

Maybe you can try to put the WSDL4J jar in the endorse directory.

Willem.


-Original Message-
From: Jeff Yu [mailto:[EMAIL PROTECTED]
Sent: Fri 10/12/2007 18:33
To: cxf-user@incubator.apache.org
Subject: Re: Error deploying CXF 2.0.2 to WebSphere 6.1.0.5
 
Hi


Well, tried it again today, but without success, now I got exception 
as following:


I thought it might be caused by the servlet, as we are using the 
servlet-2.5, but the websphere6.1 supports servlet-2.4, I put the 
servlet in the endorsed folder, but still got the same error,
I also find this JIRA [1],  I have deployed the cxf-2.0M1 HelloWorld 
sample into the websphere6.1 successfully, but then from the 2.0RC, 
it failed.


Anyone else got it work, or what error it might be?

PS: I've already set the parent-last classloader in the websphere.

Thanks
Jeff

[1] https://issues.apache.org/jira/browse/CXF-714

[10/12/07 18:21:12:614 CST] 0044 ServletWrappe E   SRVE0100E: Did 
not realize  init() exception thrown by servlet cxf: 
org.springframework.beans.factory.BeanCreationException: Error 
creating bean with name 'hello_world_xml_bare': Invocation of init 
method failed; nested exception is 
java.lang.IncompatibleClassChangeError

Caused by: java.lang.IncompatibleClassChangeError
at 
org.apache.cxf.wsdl11.WSDLServiceBuilder.copyExtensionAttributes(WSDLServiceBuilder.java:123) 

at 
org.apache.cxf.wsdl11.WSDLServiceBuilder.buildServices(WSDLServiceBuilder.java:233) 

at 
org.apache.cxf.wsdl11.WSDLServiceBuilder.buildServices(WSDLServiceBuilder.java:159) 

at 
org.apache.cxf.wsdl11.WSDLServiceFactory.create(WSDLServiceFactory.java:117) 

at 
org.apache.cxf.service.factory.ReflectionServiceFactoryBean.buildServiceFromWSDL(ReflectionServiceFactoryBean.java:188) 

at 
org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeServiceModel(ReflectionServiceFactoryBean.java:244) 

at 
org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create(ReflectionServiceFactoryBean.java:135) 

at 
org.apache.cxf.frontend.AbstractEndpointFactory.createEndpoint(AbstractEndpointFactory.java:82) 

at 
org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:84) 

at 
org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:280)

at org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:178)
at org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:361)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64) 

at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 


at java.lang.reflect.Method.invoke(Method.java:615)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1214) 

at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1179) 

at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1145) 

at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:427) 

at 
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251) 

at 
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:144) 

at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248) 

at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160) 

at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:279) 

at 
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:360

Re: Error deploying CXF 2.0.2 to WebSphere 6.1.0.5

2007-10-12 Thread Jeff Yu

Hi, Willem

I checked the wsdl4j.jar, but it works fine with cxf-2.0 M1, which used 
the same version wsdl4j.jar as cxf-2.0 RC...
Any way, I will put it under endorsed folder and give it another shot 
next week


Thanks
Jeff


Jiang, Ning (Willem) wrote:

Hi Jeff,

I do not think the servlet2.5 API is the cause of the error. If I remembered right, 
you told me that you had tried to remove the servlet2.5 API from the war's lib and it was workable.


Form the stack trace, it looks like the exception is thrown by calling the 
WSDL4J extension.
Maybe you can try to put the WSDL4J jar in the endorse directory.

Willem.


-Original Message-
From: Jeff Yu [mailto:[EMAIL PROTECTED]
Sent: Fri 10/12/2007 18:33
To: cxf-user@incubator.apache.org
Subject: Re: Error deploying CXF 2.0.2 to WebSphere 6.1.0.5
 
Hi


Well, tried it again today, but without success, now I got exception as 
following:


I thought it might be caused by the servlet, as we are using the 
servlet-2.5, but the websphere6.1 supports servlet-2.4, I put the 
servlet in the endorsed folder, but still got the same error,
I also find this JIRA [1],  I have deployed the cxf-2.0M1 HelloWorld 
sample into the websphere6.1 successfully, but then from the 2.0RC, it 
failed.


Anyone else got it work, or what error it might be?

PS: I've already set the parent-last classloader in the websphere.

Thanks
Jeff

[1] https://issues.apache.org/jira/browse/CXF-714

[10/12/07 18:21:12:614 CST] 0044 ServletWrappe E   SRVE0100E: Did 
not realize  init() exception thrown by servlet cxf: 
org.springframework.beans.factory.BeanCreationException: Error creating 
bean with name 'hello_world_xml_bare': Invocation of init method failed; 
nested exception is java.lang.IncompatibleClassChangeError

Caused by: java.lang.IncompatibleClassChangeError
at 
org.apache.cxf.wsdl11.WSDLServiceBuilder.copyExtensionAttributes(WSDLServiceBuilder.java:123)
at 
org.apache.cxf.wsdl11.WSDLServiceBuilder.buildServices(WSDLServiceBuilder.java:233)
at 
org.apache.cxf.wsdl11.WSDLServiceBuilder.buildServices(WSDLServiceBuilder.java:159)
at 
org.apache.cxf.wsdl11.WSDLServiceFactory.create(WSDLServiceFactory.java:117)
at 
org.apache.cxf.service.factory.ReflectionServiceFactoryBean.buildServiceFromWSDL(ReflectionServiceFactoryBean.java:188)
at 
org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeServiceModel(ReflectionServiceFactoryBean.java:244)
at 
org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create(ReflectionServiceFactoryBean.java:135)
at 
org.apache.cxf.frontend.AbstractEndpointFactory.createEndpoint(AbstractEndpointFactory.java:82)
at 
org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:84)

at org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:280)
at org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:178)
at org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:361)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:615)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1214)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1179)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1145)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:427)
at 
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
at 
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:144)
at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:279)
at 
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:360)
at 
org.apache.cxf.transport.servlet.CXFServlet.loadAdditionalConfig(CXFServlet.java:186)
at 
org.apache.cxf.transport.servlet.CXFServlet.loadSpringBus(CXFServlet.java:156)

at org.apache.cxf.transport.servlet.CXFServlet.init(CXFServlet.java:95)
at 
com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:185)
at 
com.ibm.ws.wswebcontainer.servlet.ServletWrapper.init

RE: Error deploying CXF 2.0.2 to WebSphere 6.1.0.5

2007-10-12 Thread Jiang, Ning (Willem)
Hi Jeff,

I do not think the servlet2.5 API is the cause of the error. If I remembered 
right, 
you told me that you had tried to remove the servlet2.5 API from the war's lib 
and it was workable.

Form the stack trace, it looks like the exception is thrown by calling the 
WSDL4J extension.
Maybe you can try to put the WSDL4J jar in the endorse directory.

Willem.


-Original Message-
From: Jeff Yu [mailto:[EMAIL PROTECTED]
Sent: Fri 10/12/2007 18:33
To: cxf-user@incubator.apache.org
Subject: Re: Error deploying CXF 2.0.2 to WebSphere 6.1.0.5
 
Hi

Well, tried it again today, but without success, now I got exception as 
following:

I thought it might be caused by the servlet, as we are using the 
servlet-2.5, but the websphere6.1 supports servlet-2.4, I put the 
servlet in the endorsed folder, but still got the same error,
I also find this JIRA [1],  I have deployed the cxf-2.0M1 HelloWorld 
sample into the websphere6.1 successfully, but then from the 2.0RC, it 
failed.

Anyone else got it work, or what error it might be?

PS: I've already set the parent-last classloader in the websphere.

Thanks
Jeff

[1] https://issues.apache.org/jira/browse/CXF-714

[10/12/07 18:21:12:614 CST] 0044 ServletWrappe E   SRVE0100E: Did 
not realize  init() exception thrown by servlet cxf: 
org.springframework.beans.factory.BeanCreationException: Error creating 
bean with name 'hello_world_xml_bare': Invocation of init method failed; 
nested exception is java.lang.IncompatibleClassChangeError
Caused by: java.lang.IncompatibleClassChangeError
at 
org.apache.cxf.wsdl11.WSDLServiceBuilder.copyExtensionAttributes(WSDLServiceBuilder.java:123)
at 
org.apache.cxf.wsdl11.WSDLServiceBuilder.buildServices(WSDLServiceBuilder.java:233)
at 
org.apache.cxf.wsdl11.WSDLServiceBuilder.buildServices(WSDLServiceBuilder.java:159)
at 
org.apache.cxf.wsdl11.WSDLServiceFactory.create(WSDLServiceFactory.java:117)
at 
org.apache.cxf.service.factory.ReflectionServiceFactoryBean.buildServiceFromWSDL(ReflectionServiceFactoryBean.java:188)
at 
org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeServiceModel(ReflectionServiceFactoryBean.java:244)
at 
org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create(ReflectionServiceFactoryBean.java:135)
at 
org.apache.cxf.frontend.AbstractEndpointFactory.createEndpoint(AbstractEndpointFactory.java:82)
at 
org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:84)
at org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:280)
at org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:178)
at org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:361)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1214)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1179)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1145)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:427)
at 
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
at 
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:144)
at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:279)
at 
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:360)
at 
org.apache.cxf.transport.servlet.CXFServlet.loadAdditionalConfig(CXFServlet.java:186)
at 
org.apache.cxf.transport.servlet.CXFServlet.loadSpringBus(CXFServlet.java:156)
at org.apache.cxf.transport.servlet.CXFServlet.init(CXFServlet.java:95)
at 
com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:185)
at 
com.ibm.ws.wswebcontainer.servlet.ServletWrapper.init(ServletWrapper.java:316)
at 
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:341)
at 
com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:463)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest

Re: Error deploying CXF 2.0.2 to WebSphere 6.1.0.5

2007-10-11 Thread Jeff Yu

Hi,

I am trying to deploy the java_first_spring_support sample war to the 
WebSphere 6.1.0.0, I am using the WebSphere console to install the 
Application, and it started successfully.
However, when I want to access the wsdl, it shows the Error 500, and I 
look up the log file,
it shows java.lang.IncompatibleClassChangeError 
com.ibm.ws.webcontainer.servlet.ServletInstance.service.


By the way, for the java_first_spring_support, I can see the 
{http://spring.demo/}helloWorldImplPort; link when I access it through 
http://localhost:9080/spring/services. (Note, I set the context root as 
spring).


I am not sure how did you deploy the war, I am new to websphere, and 
found its configuration is more complex than weblogic, jboss etc.


Can you test the java_first_spring_support sample on WebSphere to see if 
you can started it successfully


Thanks
Jeff

Todd Pickford wrote:

I have created a simple service that runs fine with Tomcat, but gives
the following error when deploying to WebSphere.  Has anyone seen this
or know how to fix it?

Spring Config:
bean id=misImpl
class=org.lds.platform.service.member.MemberInfoServiceImpl
/bean
jaxws:endpoint id=misTest
address=/MisService
implementorClass=org.lds.platform.service.member.MemberInfoService
implementor=#misImpl/

Error on WebSphere:
Caused by: org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'misTest': Invocation of init method
failed; nested exception is java.lang.VerifyError
Caused by: java.lang.VerifyError
at 
com.sun.xml.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl.(RuntimeBuiltinLeafInfoImpl.java:186)
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(J9VMInternals.java :177)
at 
com.sun.xml.bind.v2.model.impl.RuntimeTypeInfoSetImpl.(RuntimeTypeInfoSetImpl.java:25)
at 
com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.createTypeInfoSet(RuntimeModelBuilder.java:84)
at com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.createTypeInfoSet
(RuntimeModelBuilder.java:41)
at com.sun.xml.bind.v2.model.impl.ModelBuilder.(ModelBuilder.java:104)
at 
com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.(RuntimeModelBuilder.java:49)
at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet
(JAXBContextImpl.java:372)
at com.sun.xml.bind.v2.runtime.JAXBContextImpl.(JAXBContextImpl.java:236)
at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:76)
at com.sun.xml.bind.v2.ContextFactory.createContext (ContextFactory.java:55)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:210)
at javax.xml.bind.ContextFinder.find(ContextFinder.java :368)
at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:574)
at 
org.apache.cxf.jaxb.JAXBDataBinding.createJAXBContext(JAXBDataBinding.java:377)
at org.apache.cxf.jaxb.JAXBDataBinding.initialize(JAXBDataBinding.java :182)
at 
org.apache.cxf.service.factory.ReflectionServiceFactoryBean.buildServiceFromClass(ReflectionServiceFactoryBean.java:244)
at 
org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeServiceModel
(ReflectionServiceFactoryBean.java:272)
at 
org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create(ReflectionServiceFactoryBean.java:146)
at 
org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsServiceFactoryBean.java
:89)
at 
org.apache.cxf.frontend.AbstractEndpointFactory.createEndpoint(AbstractEndpointFactory.java:83)
at org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:107)
at org.apache.cxf.jaxws.JaxWsServerFactoryBean.create
(JaxWsServerFactoryBean.java:147)
at org.apache.cxf.jaxws.EndpointImpl.getServer(EndpointImpl.java:287)
at org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:227)
at org.apache.cxf.jaxws.EndpointImpl.publish (EndpointImpl.java:179)
at org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:340)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java
:64)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod
(AbstractAutowireCapableBeanFactory.java:1214)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1179)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean
(AbstractAutowireCapableBeanFactory.java:1145)
at 

Re: Error deploying CXF 2.0.2 to WebSphere 6.1.0.5

2007-10-11 Thread Todd Pickford
I installed the java_first_spring_support and got the same error as you did.

On 10/11/07, Jeff Yu [EMAIL PROTECTED] wrote:
 Hi,

 I am trying to deploy the java_first_spring_support sample war to the
 WebSphere 6.1.0.0, I am using the WebSphere console to install the
 Application, and it started successfully.
 However, when I want to access the wsdl, it shows the Error 500, and I
 look up the log file,
 it shows java.lang.IncompatibleClassChangeError
 com.ibm.ws.webcontainer.servlet.ServletInstance.service.

 By the way, for the java_first_spring_support, I can see the
 {http://spring.demo/}helloWorldImplPort; link when I access it through
 http://localhost:9080/spring/services. (Note, I set the context root as
 spring).

 I am not sure how did you deploy the war, I am new to websphere, and
 found its configuration is more complex than weblogic, jboss etc.

 Can you test the java_first_spring_support sample on WebSphere to see if
 you can started it successfully

 Thanks
 Jeff

 Todd Pickford wrote:
  I have created a simple service that runs fine with Tomcat, but gives
  the following error when deploying to WebSphere.  Has anyone seen this
  or know how to fix it?
 
  Spring Config:
  bean id=misImpl
  class=org.lds.platform.service.member.MemberInfoServiceImpl
  /bean
  jaxws:endpoint id=misTest
  address=/MisService
  implementorClass=org.lds.platform.service.member.MemberInfoService
  implementor=#misImpl/
 
  Error on WebSphere:
  Caused by: org.springframework.beans.factory.BeanCreationException:
  Error creating bean with name 'misTest': Invocation of init method
  failed; nested exception is java.lang.VerifyError
  Caused by: java.lang.VerifyError
  at 
  com.sun.xml.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl.(RuntimeBuiltinLeafInfoImpl.java:186)
  at java.lang.J9VMInternals.initializeImpl(Native Method)
  at java.lang.J9VMInternals.initialize(J9VMInternals.java :177)
  at 
  com.sun.xml.bind.v2.model.impl.RuntimeTypeInfoSetImpl.(RuntimeTypeInfoSetImpl.java:25)
  at 
  com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.createTypeInfoSet(RuntimeModelBuilder.java:84)
  at com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.createTypeInfoSet
  (RuntimeModelBuilder.java:41)
  at com.sun.xml.bind.v2.model.impl.ModelBuilder.(ModelBuilder.java:104)
  at 
  com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.(RuntimeModelBuilder.java:49)
  at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet
  (JAXBContextImpl.java:372)
  at com.sun.xml.bind.v2.runtime.JAXBContextImpl.(JAXBContextImpl.java:236)
  at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:76)
  at com.sun.xml.bind.v2.ContextFactory.createContext (ContextFactory.java:55)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at 
  sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke
  (DelegatingMethodAccessorImpl.java:43)
  at java.lang.reflect.Method.invoke(Method.java:615)
  at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:210)
  at javax.xml.bind.ContextFinder.find(ContextFinder.java :368)
  at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:574)
  at 
  org.apache.cxf.jaxb.JAXBDataBinding.createJAXBContext(JAXBDataBinding.java:377)
  at org.apache.cxf.jaxb.JAXBDataBinding.initialize(JAXBDataBinding.java :182)
  at 
  org.apache.cxf.service.factory.ReflectionServiceFactoryBean.buildServiceFromClass(ReflectionServiceFactoryBean.java:244)
  at 
  org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeServiceModel
  (ReflectionServiceFactoryBean.java:272)
  at 
  org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create(ReflectionServiceFactoryBean.java:146)
  at 
  org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsServiceFactoryBean.java
  :89)
  at 
  org.apache.cxf.frontend.AbstractEndpointFactory.createEndpoint(AbstractEndpointFactory.java:83)
  at 
  org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:107)
  at org.apache.cxf.jaxws.JaxWsServerFactoryBean.create
  (JaxWsServerFactoryBean.java:147)
  at org.apache.cxf.jaxws.EndpointImpl.getServer(EndpointImpl.java:287)
  at org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:227)
  at org.apache.cxf.jaxws.EndpointImpl.publish (EndpointImpl.java:179)
  at org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:340)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java
  :64)
  at 
  sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.lang.reflect.Method.invoke(Method.java:615)
  at 
  org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod
  (AbstractAutowireCapableBeanFactory.java:1214)
  at 
  

Re: Error deploying CXF 2.0.2 to WebSphere 6.1.0.5

2007-10-11 Thread Glen Mazza
If you haven't been liberated yet, [EMAIL PROTECTED] might help
or (worst case) [EMAIL PROTECTED]

Glen

Am Mittwoch, den 10.10.2007, 10:37 -0700 schrieb
[EMAIL PROTECTED]:
 Someone please unsubscribe me from this mailing list. I tried atleast 10 
 times through unsubscribe mail id. It asked me to confirm unsubscription with 
 reply but no use. I am still getting all these e-mails. 
 Please help me out.
 
 Govind




Re: Error deploying CXF 2.0.2 to WebSphere 6.1.0.5

2007-10-10 Thread govind . mekala
Someone please unsubscribe me from this mailing list. I tried atleast 10 times 
through unsubscribe mail id. It asked me to confirm unsubscription with reply 
but no use. I am still getting all these e-mails. 
Please help me out.

Govind
- Original Message 
From: Todd Pickford [EMAIL PROTECTED]
To: cxf-user@incubator.apache.org
Sent: Wednesday, October 10, 2007 12:50:52 PM
Subject: Error deploying CXF 2.0.2 to WebSphere 6.1.0.5

I have created a simple service that runs fine with Tomcat, but gives
the following error when deploying to WebSphere.  Has anyone seen this
or know how to fix it?

Spring Config:
bean id=misImpl
class=org.lds.platform.service.member.MemberInfoServiceImpl
/bean
jaxws:endpoint id=misTest
address=/MisService
implementorClass=org.lds.platform.service.member.MemberInfoService
implementor=#misImpl/

Error on WebSphere:
Caused by: org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'misTest': Invocation of init method
failed; nested exception is java.lang.VerifyError
Caused by: java.lang.VerifyError
at 
com.sun.xml.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl.(RuntimeBuiltinLeafInfoImpl.java:186)
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(J9VMInternals.java :177)
at 
com.sun.xml.bind.v2.model.impl.RuntimeTypeInfoSetImpl.(RuntimeTypeInfoSetImpl.java:25)
at 
com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.createTypeInfoSet(RuntimeModelBuilder.java:84)
at com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.createTypeInfoSet
(RuntimeModelBuilder.java:41)
at com.sun.xml.bind.v2.model.impl.ModelBuilder.(ModelBuilder.java:104)
at 
com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.(RuntimeModelBuilder.java:49)
at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet
(JAXBContextImpl.java:372)
at com.sun.xml.bind.v2.runtime.JAXBContextImpl.(JAXBContextImpl.java:236)
at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:76)
at com.sun.xml.bind.v2.ContextFactory.createContext (ContextFactory.java:55)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:210)
at javax.xml.bind.ContextFinder.find(ContextFinder.java :368)
at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:574)
at 
org.apache.cxf.jaxb.JAXBDataBinding.createJAXBContext(JAXBDataBinding.java:377)
at org.apache.cxf.jaxb.JAXBDataBinding.initialize(JAXBDataBinding.java :182)
at 
org.apache.cxf.service.factory.ReflectionServiceFactoryBean.buildServiceFromClass(ReflectionServiceFactoryBean.java:244)
at 
org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeServiceModel
(ReflectionServiceFactoryBean.java:272)
at 
org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create(ReflectionServiceFactoryBean.java:146)
at 
org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsServiceFactoryBean.java
:89)
at 
org.apache.cxf.frontend.AbstractEndpointFactory.createEndpoint(AbstractEndpointFactory.java:83)
at org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:107)
at org.apache.cxf.jaxws.JaxWsServerFactoryBean.create
(JaxWsServerFactoryBean.java:147)
at org.apache.cxf.jaxws.EndpointImpl.getServer(EndpointImpl.java:287)
at org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:227)
at org.apache.cxf.jaxws.EndpointImpl.publish (EndpointImpl.java:179)
at org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:340)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java
:64)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod
(AbstractAutowireCapableBeanFactory.java:1214)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1179)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean
(AbstractAutowireCapableBeanFactory.java:1145)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:427)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject
(AbstractBeanFactory.java:251)
at 
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:144)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:248)
at