You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by prosen2012 <pr...@optaros.com> on 2007/12/03 03:35:59 UTC

Configuration error? java.lang.NoSuchMethodError: org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder: method (Ljavax/xml/stream/XMLStreamReader;)V not found

I have activation-1.1.jar in  jre/lib/endorsed, however I still get the
following error when using an axis2 client in both Tomcat and Jetty. When
run as a unit test there are no problems. I am running this inside a spring
(2.5) session, is there a potential conflict?

INFO   | jvm 1    | 2007/12/02 20:09:26 |
java.lang.reflect.InvocationTargetException
INFO   | jvm 1    | 2007/12/02 20:09:26 | 	at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO   | jvm 1    | 2007/12/02 20:09:26 | 	at
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
INFO   | jvm 1    | 2007/12/02 20:09:26 | 	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
INFO   | jvm 1    | 2007/12/02 20:09:26 | 	at
java.lang.reflect.Method.invoke(Unknown Source)
INFO   | jvm 1    | 2007/12/02 20:09:26 | 	at
org.springframework.util.MethodInvoker.invoke(MethodInvoker.java:283)
INFO   | jvm 1    | 2007/12/02 20:09:26 | 	at
com.mnu.job.impl.JobDetailDelegateImpl.executeInternal(JobDetailDelegateImpl.java:35)
INFO   | jvm 1    | 2007/12/02 20:09:26 | 	at
org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:86)
INFO   | jvm 1    | 2007/12/02 20:09:26 | 	at
org.quartz.core.JobRunShell.run(JobRunShell.java:203)
INFO   | jvm 1    | 2007/12/02 20:09:26 | 	at
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
INFO   | jvm 1    | 2007/12/02 20:09:26 | Caused by:
java.lang.NoSuchMethodError:
org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder: method
<init>(Ljavax/xml/stream/XMLStreamReader;)V not found
INFO   | jvm 1    | 2007/12/02 20:09:26 | 	at
org.apache.axis2.builder.SOAPBuilder.processDocument(SOAPBuilder.java:53)
INFO   | jvm 1    | 2007/12/02 20:09:26 | 	at
org.apache.axis2.transport.TransportUtils.createDocumentElement(TransportUtils.java:160)
INFO   | jvm 1    | 2007/12/02 20:09:26 | 	at
org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:111)
INFO   | jvm 1    | 2007/12/02 20:09:26 | 	at
org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:87)
INFO   | jvm 1    | 2007/12/02 20:09:26 | 	at
org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:326)
INFO   | jvm 1    | 2007/12/02 20:09:26 | 	at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:389)
INFO   | jvm 1    | 2007/12/02 20:09:26 | 	at
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:211)
INFO   | jvm 1    | 2007/12/02 20:09:26 | 	at
org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
INFO   | jvm 1    | 2007/12/02 20:09:26 | 	at
com.mnu.core.webservice.landau.WsLandauB2BStub.InitializeOrder(WsLandauB2BStub.java:847)
INFO   | jvm 1    | 2007/12/02 20:09:26 | 	at
com.mnu.core.webservice.landau.LandauWSWrapper.initializeOrder(LandauWSWrapper.java:61)
INFO   | jvm 1    | 2007/12/02 20:09:26 | 	at
com.mnu.core.sender.LandauWSSender.sendOrder(LandauWSSender.java:46)
INFO   | jvm 1    | 2007/12/02 20:09:26 | 	at
com.mnu.core.handler.LandauOrderHandler.handleOrder(LandauOrderHandler.java:150)
INFO   | jvm 1    | 2007/12/02 20:09:26 | 	at
com.mnu.core.handler.LandauOrderHandler.handleOrders(LandauOrderHandler.java:47)
INFO   | jvm 1    | 2007/12/02 20:09:26 | 	at
com.mnu.core.processor.LandauOrderProcessor.processOrder(LandauOrderProcessor.java:58)
-- 
View this message in context: http://www.nabble.com/Configuration-error--java.lang.NoSuchMethodError%3A-org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder%3A-method-%3Cinit%3E%28Ljavax-xml-stream-XMLStreamReader-%29V-not-found-tf4934056.html#a14123002
Sent from the Axis - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: Configuration error? java.lang.NoSuchMethodError: org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder: method (Ljavax/xml/stream/XMLStreamReader;)V not found

Posted by prosen2012 <pr...@optaros.com>.
In my test cases which run successfully I am using axiom 1.1.





mgainty wrote:
> 
> are you implementing with version 1.2.5 axiom?
> http://ws.apache.org/commons/axiom/download.cgi
> 
> M--
> ----- Original Message -----
> Wrom: KEDOTWFAOBUZXUWLSZLKBRNVWWCUFPEGA
> To: <ax...@ws.apache.org>
> Sent: Sunday, December 02, 2007 9:35 PM
> Subject: Configuration error? java.lang.NoSuchMethodError:
> org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder: method
> <init>(Ljavax/xml/stream/XMLStreamReader;)V not found
> 
> 
>>
>> I have activation-1.1.jar in  jre/lib/endorsed, however I still get the
>> following error when using an axis2 client in both Tomcat and Jetty. When
>> run as a unit test there are no problems. I am running this inside a
> spring
>> (2.5) session, is there a potential conflict?
>>
>> INFO   | jvm 1    | 2007/12/02 20:09:26 |
>> java.lang.reflect.InvocationTargetException
>> INFO   | jvm 1    | 2007/12/02 20:09:26 | at
>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> INFO   | jvm 1    | 2007/12/02 20:09:26 | at
>> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>> INFO   | jvm 1    | 2007/12/02 20:09:26 | at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>> INFO   | jvm 1    | 2007/12/02 20:09:26 | at
>> java.lang.reflect.Method.invoke(Unknown Source)
>> INFO   | jvm 1    | 2007/12/02 20:09:26 | at
>> org.springframework.util.MethodInvoker.invoke(MethodInvoker.java:283)
>> INFO   | jvm 1    | 2007/12/02 20:09:26 | at
>>
> com.mnu.job.impl.JobDetailDelegateImpl.executeInternal(JobDetailDelegateImpl
> java:35)
>> INFO   | jvm 1    | 2007/12/02 20:09:26 | at
>>
> org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.ja
> va:86)
>> INFO   | jvm 1    | 2007/12/02 20:09:26 | at
>> org.quartz.core.JobRunShell.run(JobRunShell.java:203)
>> INFO   | jvm 1    | 2007/12/02 20:09:26 | at
>>
> org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520
> )
>> INFO   | jvm 1    | 2007/12/02 20:09:26 | Caused by:
>> java.lang.NoSuchMethodError:
>> org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder: method
>> <init>(Ljavax/xml/stream/XMLStreamReader;)V not found
>> INFO   | jvm 1    | 2007/12/02 20:09:26 | at
>> org.apache.axis2.builder.SOAPBuilder.processDocument(SOAPBuilder.java:53)
>> INFO   | jvm 1    | 2007/12/02 20:09:26 | at
>>
> org.apache.axis2.transport.TransportUtils.createDocumentElement(TransportUti
> ls.java:160)
>> INFO   | jvm 1    | 2007/12/02 20:09:26 | at
>>
> org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.j
> ava:111)
>> INFO   | jvm 1    | 2007/12/02 20:09:26 | at
>>
> org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.j
> ava:87)
>> INFO   | jvm 1    | 2007/12/02 20:09:26 | at
>>
> org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAx
> isOperation.java:326)
>> INFO   | jvm 1    | 2007/12/02 20:09:26 | at
>>
> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperatio
> n.java:389)
>> INFO   | jvm 1    | 2007/12/02 20:09:26 | at
>>
> org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisO
> peration.java:211)
>> INFO   | jvm 1    | 2007/12/02 20:09:26 | at
>> org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
>> INFO   | jvm 1    | 2007/12/02 20:09:26 | at
>>
> com.mnu.core.webservice.landau.WsLandauB2BStub.InitializeOrder(WsLandauB2BSt
> ub.java:847)
>> INFO   | jvm 1    | 2007/12/02 20:09:26 | at
>>
> com.mnu.core.webservice.landau.LandauWSWrapper.initializeOrder(LandauWSWrapp
> er.java:61)
>> INFO   | jvm 1    | 2007/12/02 20:09:26 | at
>> com.mnu.core.sender.LandauWSSender.sendOrder(LandauWSSender.java:46)
>> INFO   | jvm 1    | 2007/12/02 20:09:26 | at
>>
> com.mnu.core.handler.LandauOrderHandler.handleOrder(LandauOrderHandler.java:
> 150)
>> INFO   | jvm 1    | 2007/12/02 20:09:26 | at
>>
> com.mnu.core.handler.LandauOrderHandler.handleOrders(LandauOrderHandler.java
> :47)
>> INFO   | jvm 1    | 2007/12/02 20:09:26 | at
>>
> com.mnu.core.processor.LandauOrderProcessor.processOrder(LandauOrderProcesso
> r.java:58)
>> --
>> View this message in context:
> http://www.nabble.com/Configuration-error--java.lang.NoSuchMethodError%3A-or
> g.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder%3A-method-%3Cinit%3E%2
> 8Ljavax-xml-stream-XMLStreamReader-%29V-not-found-tf4934056.html#a14123002
>> Sent from the Axis - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>> For additional commands, e-mail: axis-user-help@ws.apache.org
>>
>>
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Configuration-error--java.lang.NoSuchMethodError%3A-org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder%3A-method-%3Cinit%3E%28Ljavax-xml-stream-XMLStreamReader-%29V-not-found-tf4934056.html#a14123136
Sent from the Axis - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: Configuration error? java.lang.NoSuchMethodError: org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder: method (Ljavax/xml/stream/XMLStreamReader;)V not found

Posted by mg...@hotmail.com.
are you implementing with version 1.2.5 axiom?
http://ws.apache.org/commons/axiom/download.cgi

M--
----- Original Message -----
Wrom: KEDOTWFAOBUZXUWLSZLKBRNVWWCUFPEGA
To: <ax...@ws.apache.org>
Sent: Sunday, December 02, 2007 9:35 PM
Subject: Configuration error? java.lang.NoSuchMethodError:
org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder: method
<init>(Ljavax/xml/stream/XMLStreamReader;)V not found


>
> I have activation-1.1.jar in  jre/lib/endorsed, however I still get the
> following error when using an axis2 client in both Tomcat and Jetty. When
> run as a unit test there are no problems. I am running this inside a
spring
> (2.5) session, is there a potential conflict?
>
> INFO   | jvm 1    | 2007/12/02 20:09:26 |
> java.lang.reflect.InvocationTargetException
> INFO   | jvm 1    | 2007/12/02 20:09:26 | at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> INFO   | jvm 1    | 2007/12/02 20:09:26 | at
> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> INFO   | jvm 1    | 2007/12/02 20:09:26 | at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> INFO   | jvm 1    | 2007/12/02 20:09:26 | at
> java.lang.reflect.Method.invoke(Unknown Source)
> INFO   | jvm 1    | 2007/12/02 20:09:26 | at
> org.springframework.util.MethodInvoker.invoke(MethodInvoker.java:283)
> INFO   | jvm 1    | 2007/12/02 20:09:26 | at
>
com.mnu.job.impl.JobDetailDelegateImpl.executeInternal(JobDetailDelegateImpl
java:35)
> INFO   | jvm 1    | 2007/12/02 20:09:26 | at
>
org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.ja
va:86)
> INFO   | jvm 1    | 2007/12/02 20:09:26 | at
> org.quartz.core.JobRunShell.run(JobRunShell.java:203)
> INFO   | jvm 1    | 2007/12/02 20:09:26 | at
>
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520
)
> INFO   | jvm 1    | 2007/12/02 20:09:26 | Caused by:
> java.lang.NoSuchMethodError:
> org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder: method
> <init>(Ljavax/xml/stream/XMLStreamReader;)V not found
> INFO   | jvm 1    | 2007/12/02 20:09:26 | at
> org.apache.axis2.builder.SOAPBuilder.processDocument(SOAPBuilder.java:53)
> INFO   | jvm 1    | 2007/12/02 20:09:26 | at
>
org.apache.axis2.transport.TransportUtils.createDocumentElement(TransportUti
ls.java:160)
> INFO   | jvm 1    | 2007/12/02 20:09:26 | at
>
org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.j
ava:111)
> INFO   | jvm 1    | 2007/12/02 20:09:26 | at
>
org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.j
ava:87)
> INFO   | jvm 1    | 2007/12/02 20:09:26 | at
>
org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAx
isOperation.java:326)
> INFO   | jvm 1    | 2007/12/02 20:09:26 | at
>
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperatio
n.java:389)
> INFO   | jvm 1    | 2007/12/02 20:09:26 | at
>
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisO
peration.java:211)
> INFO   | jvm 1    | 2007/12/02 20:09:26 | at
> org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
> INFO   | jvm 1    | 2007/12/02 20:09:26 | at
>
com.mnu.core.webservice.landau.WsLandauB2BStub.InitializeOrder(WsLandauB2BSt
ub.java:847)
> INFO   | jvm 1    | 2007/12/02 20:09:26 | at
>
com.mnu.core.webservice.landau.LandauWSWrapper.initializeOrder(LandauWSWrapp
er.java:61)
> INFO   | jvm 1    | 2007/12/02 20:09:26 | at
> com.mnu.core.sender.LandauWSSender.sendOrder(LandauWSSender.java:46)
> INFO   | jvm 1    | 2007/12/02 20:09:26 | at
>
com.mnu.core.handler.LandauOrderHandler.handleOrder(LandauOrderHandler.java:
150)
> INFO   | jvm 1    | 2007/12/02 20:09:26 | at
>
com.mnu.core.handler.LandauOrderHandler.handleOrders(LandauOrderHandler.java
:47)
> INFO   | jvm 1    | 2007/12/02 20:09:26 | at
>
com.mnu.core.processor.LandauOrderProcessor.processOrder(LandauOrderProcesso
r.java:58)
> --
> View this message in context:
http://www.nabble.com/Configuration-error--java.lang.NoSuchMethodError%3A-or
g.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder%3A-method-%3Cinit%3E%2
8Ljavax-xml-stream-XMLStreamReader-%29V-not-found-tf4934056.html#a14123002
> Sent from the Axis - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org