You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Sigirisetty Surya Kiran (JIRA)" <ji...@apache.org> on 2007/03/21 06:56:32 UTC

[jira] Created: (AXIS2-2357) SOAP Attachment not working

SOAP Attachment not working
---------------------------

                 Key: AXIS2-2357
                 URL: https://issues.apache.org/jira/browse/AXIS2-2357
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: kernel, modules
    Affects Versions: 1.1.1
         Environment: axis2-1.1.1, JDK1.5.0_05, tomcat-5.5.20

            Reporter: Sigirisetty Surya Kiran


Hi Folks,


I am trying to create a service which servers files. Client is successfully making call to service and infact
service is executed successfully. But i am getting exception on server some where after service execution. 
Pls let me know what's the possible cause.

Env: Running Axis2-1.1.1 on tomcat.

Mar 9, 2007 10:00:04 AM org.apache.axis2.rpc.receivers.RPCInOutAsyncMessageReceiver invokeBusinessLogic
SEVERE: Exception occurred while trying to invoke service method getTermSheetFile
java.lang.NullPointerException
	at org.apache.axis2.databinding.utils.BeanUtil.getPullParser(BeanUtil.java:197)
	at org.apache.axis2.rpc.receivers.RPCUtil.processResponse(RPCUtil.java:90)
	at org.apache.axis2.rpc.receivers.RPCUtil.processResponse(RPCUtil.java:192)
	at org.apache.axis2.rpc.receivers.RPCInOutAsyncMessageReceiver.invokeBusinessLogic(RPCInOutAsyncMessageReceiver.java:121)
	at org.apache.axis2.receivers.AbstractInOutAsyncMessageReceiver$2.run(AbstractInOutAsyncMessageReceiver.java:61)
	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
	at java.lang.Thread.run(Unknown Source)
Exception in thread "Axis2 Task" java.lang.NullPointerException
	at org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:746)
	at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:433)
	at org.apache.coyote.http11.InternalOutputBuffer.flush(InternalOutputBuffer.java:304)
	at org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:991)
	at org.apache.coyote.Response.action(Response.java:182)
	at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:322)
	at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:293)
	at org.apache.catalina.connector.CoyoteOutputStream.flush(CoyoteOutputStream.java:97)
	at java.io.BufferedOutputStream.flush(Unknown Source)
	at com.ctc.wstx.io.UTF8Writer.flush(UTF8Writer.java:99)
	at com.ctc.wstx.sw.BufferingXmlWriter.flush(BufferingXmlWriter.java:184)
	at com.ctc.wstx.sw.BaseStreamWriter.flush(BaseStreamWriter.java:311)
	at org.apache.axiom.om.impl.MTOMXMLStreamWriter.flush(MTOMXMLStreamWriter.java:115)
	at org.apache.axiom.om.impl.llom.OMNodeImpl.serializeAndConsume(OMNodeImpl.java:420)
	at org.apache.axis2.transport.http.CommonsHTTPTransportSender.sendUsingOutputStream(CommonsHTTPTransportSender.java:276)
	at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:208)
	at org.apache.axis2.engine.AxisEngine.sendFault(AxisEngine.java:714)
	at org.apache.axis2.receivers.AbstractInOutAsyncMessageReceiver$1.handleFault(AbstractInOutAsyncMessageReceiver.java:51)
	at org.apache.axis2.receivers.AbstractInOutAsyncMessageReceiver$2.run(AbstractInOutAsyncMessageReceiver.java:68)
	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
	at java.lang.Thread.run(Unknown Source)


 
cheers,
sigirisetti
  
------------------------------------------------------------------------
>
Mar 9, 2007 9:57:31 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jre1.5.0_05\bin;.;C:\WINNT\system32;C:\WINNT;C:\Program Files\WRQ\Reflection;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Program Files\Real\Realplayer;C:\WINNT\System32\Wbem;C:\Program Files\sql11\DLL;C:\Program Files\sql11\BIN;C:\Program Files\jetform\5.2\;C:\Program Files\Oracle\ora92\bin;C:\Program Files\SimonTatham\Putty\;C:\Program Files\Sybase\shared\powerbuilder;C:\Program Files\rational\clearcase\bin;C:\Java\maven-2.0.4\bin;C:\Sun\SDK\bin;C:\Sun\jwsdp-2.0\jwsdp-shared\bin;C:\Java\jad
Mar 9, 2007 9:57:31 AM org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Mar 9, 2007 9:57:31 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 906 ms
Mar 9, 2007 9:57:31 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Mar 9, 2007 9:57:31 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.20
Mar 9, 2007 9:57:31 AM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Mar 9, 2007 9:57:32 AM org.apache.axis2.deployment.DeploymentEngine doDeploy
INFO: Deploying module : addressing-1.1.1
Mar 9, 2007 9:57:33 AM org.apache.axis2.deployment.DeploymentEngine doDeploy
INFO: Deploying module : sandesha2-1.1
Mar 9, 2007 9:57:33 AM org.apache.axis2.deployment.DeploymentEngine doDeploy
INFO: Deploying module : soapmonitor-1.1.1
Mar 9, 2007 9:57:33 AM org.apache.axis2.deployment.DeploymentEngine doDeploy
INFO: Deploying Web service  RMSampleService.aar
Mar 9, 2007 9:57:33 AM org.apache.axis2.deployment.DeploymentEngine doDeploy
INFO: Deploying Web service  termsheet.aar
Mar 9, 2007 9:57:33 AM org.apache.axis2.deployment.DeploymentEngine doDeploy
INFO: Deploying Web service  version.aar
Mar 9, 2007 9:57:33 AM org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Mar 9, 2007 9:57:34 AM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Mar 9, 2007 9:57:34 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/31  config=null
Mar 9, 2007 9:57:34 AM org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
Mar 9, 2007 9:57:34 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 3000 ms
file:/C:/Documents and Settings/sigirsu/Desktop/termsheet/XS0271956954.pdf
Mar 9, 2007 10:00:04 AM org.apache.axis2.rpc.receivers.RPCInOutAsyncMessageReceiver invokeBusinessLogic
SEVERE: Exception occurred while trying to invoke service method getTermSheetFile
java.lang.NullPointerException
	at org.apache.axis2.databinding.utils.BeanUtil.getPullParser(BeanUtil.java:197)
	at org.apache.axis2.rpc.receivers.RPCUtil.processResponse(RPCUtil.java:90)
	at org.apache.axis2.rpc.receivers.RPCUtil.processResponse(RPCUtil.java:192)
	at org.apache.axis2.rpc.receivers.RPCInOutAsyncMessageReceiver.invokeBusinessLogic(RPCInOutAsyncMessageReceiver.java:121)
	at org.apache.axis2.receivers.AbstractInOutAsyncMessageReceiver$2.run(AbstractInOutAsyncMessageReceiver.java:61)
	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
	at java.lang.Thread.run(Unknown Source)
Exception in thread "Axis2 Task" java.lang.NullPointerException
	at org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:746)
	at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:433)
	at org.apache.coyote.http11.InternalOutputBuffer.flush(InternalOutputBuffer.java:304)
	at org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:991)
	at org.apache.coyote.Response.action(Response.java:182)
	at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:322)
	at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:293)
	at org.apache.catalina.connector.CoyoteOutputStream.flush(CoyoteOutputStream.java:97)
	at java.io.BufferedOutputStream.flush(Unknown Source)
	at com.ctc.wstx.io.UTF8Writer.flush(UTF8Writer.java:99)
	at com.ctc.wstx.sw.BufferingXmlWriter.flush(BufferingXmlWriter.java:184)
	at com.ctc.wstx.sw.BaseStreamWriter.flush(BaseStreamWriter.java:311)
	at org.apache.axiom.om.impl.MTOMXMLStreamWriter.flush(MTOMXMLStreamWriter.java:115)
	at org.apache.axiom.om.impl.llom.OMNodeImpl.serializeAndConsume(OMNodeImpl.java:420)
	at org.apache.axis2.transport.http.CommonsHTTPTransportSender.sendUsingOutputStream(CommonsHTTPTransportSender.java:276)
	at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:208)
	at org.apache.axis2.engine.AxisEngine.sendFault(AxisEngine.java:714)
	at org.apache.axis2.receivers.AbstractInOutAsyncMessageReceiver$1.handleFault(AbstractInOutAsyncMessageReceiver.java:51)
	at org.apache.axis2.receivers.AbstractInOutAsyncMessageReceiver$2.run(AbstractInOutAsyncMessageReceiver.java:68)
	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
	at java.lang.Thread.run(Unknown Source)
  
------------------------------------------------------------------------

<service name="TermsheetService">
	<description>Termsheet Service</description>

	<parameter name="ServiceClass" locked="false">
		com.ssk.ws.termsheet.TermsheetFileService
	</parameter>

	<operation name="getTermSheetFile">
		<messageReceiver
			class="org.apache.axis2.rpc.receivers.RPCInOutAsyncMessageReceiver" />
	</operation>
</service>
  
------------------------------------------------------------------------


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Resolved: (AXIS2-2357) SOAP Attachment not working

Posted by "Thilina Gunarathne (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2357?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thilina Gunarathne resolved AXIS2-2357.
---------------------------------------

    Resolution: Fixed

I was able to succesfully send back an attachment after enabling MTOM...

But I faced with other problems like type of DataHandler appearing as xs:anyType & the RPCServiceClient not being able to parse DataHandlers properly... I'll put separate JIRA's for them...

> SOAP Attachment not working
> ---------------------------
>
>                 Key: AXIS2-2357
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2357
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: kernel, modules
>    Affects Versions: 1.1.1
>         Environment: axis2-1.1.1, JDK1.5.0_05, tomcat-5.5.20
>            Reporter: Sigirisetty Surya Kiran
>            Assignee: Thilina Gunarathne
>            Priority: Blocker
>             Fix For: 1.3
>
>         Attachments: AXIS2-2357.zip
>
>
> Hi Folks,
> I am trying to create a service which servers files. Client is successfully making call to service and infact
> service is executed successfully. But i am getting exception on server some where after service execution. 
> Pls let me know what's the possible cause.
> Env: Running Axis2-1.1.1 on tomcat.
> Mar 9, 2007 10:00:04 AM org.apache.axis2.rpc.receivers.RPCInOutAsyncMessageReceiver invokeBusinessLogic
> SEVERE: Exception occurred while trying to invoke service method getTermSheetFile
> java.lang.NullPointerException
> 	at org.apache.axis2.databinding.utils.BeanUtil.getPullParser(BeanUtil.java:197)
> 	at org.apache.axis2.rpc.receivers.RPCUtil.processResponse(RPCUtil.java:90)
> 	at org.apache.axis2.rpc.receivers.RPCUtil.processResponse(RPCUtil.java:192)
> 	at org.apache.axis2.rpc.receivers.RPCInOutAsyncMessageReceiver.invokeBusinessLogic(RPCInOutAsyncMessageReceiver.java:121)
> 	at org.apache.axis2.receivers.AbstractInOutAsyncMessageReceiver$2.run(AbstractInOutAsyncMessageReceiver.java:61)
> 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
> 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
> 	at java.lang.Thread.run(Unknown Source)
> Exception in thread "Axis2 Task" java.lang.NullPointerException
> 	at org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:746)
> 	at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:433)
> 	at org.apache.coyote.http11.InternalOutputBuffer.flush(InternalOutputBuffer.java:304)
> 	at org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:991)
> 	at org.apache.coyote.Response.action(Response.java:182)
> 	at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:322)
> 	at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:293)
> 	at org.apache.catalina.connector.CoyoteOutputStream.flush(CoyoteOutputStream.java:97)
> 	at java.io.BufferedOutputStream.flush(Unknown Source)
> 	at com.ctc.wstx.io.UTF8Writer.flush(UTF8Writer.java:99)
> 	at com.ctc.wstx.sw.BufferingXmlWriter.flush(BufferingXmlWriter.java:184)
> 	at com.ctc.wstx.sw.BaseStreamWriter.flush(BaseStreamWriter.java:311)
> 	at org.apache.axiom.om.impl.MTOMXMLStreamWriter.flush(MTOMXMLStreamWriter.java:115)
> 	at org.apache.axiom.om.impl.llom.OMNodeImpl.serializeAndConsume(OMNodeImpl.java:420)
> 	at org.apache.axis2.transport.http.CommonsHTTPTransportSender.sendUsingOutputStream(CommonsHTTPTransportSender.java:276)
> 	at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:208)
> 	at org.apache.axis2.engine.AxisEngine.sendFault(AxisEngine.java:714)
> 	at org.apache.axis2.receivers.AbstractInOutAsyncMessageReceiver$1.handleFault(AbstractInOutAsyncMessageReceiver.java:51)
> 	at org.apache.axis2.receivers.AbstractInOutAsyncMessageReceiver$2.run(AbstractInOutAsyncMessageReceiver.java:68)
> 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
> 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
> 	at java.lang.Thread.run(Unknown Source)
>  
> cheers,
> sigirisetti
>   
> ------------------------------------------------------------------------
> >
> Mar 9, 2007 9:57:31 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
> INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jre1.5.0_05\bin;.;C:\WINNT\system32;C:\WINNT;C:\Program Files\WRQ\Reflection;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Program Files\Real\Realplayer;C:\WINNT\System32\Wbem;C:\Program Files\sql11\DLL;C:\Program Files\sql11\BIN;C:\Program Files\jetform\5.2\;C:\Program Files\Oracle\ora92\bin;C:\Program Files\SimonTatham\Putty\;C:\Program Files\Sybase\shared\powerbuilder;C:\Program Files\rational\clearcase\bin;C:\Java\maven-2.0.4\bin;C:\Sun\SDK\bin;C:\Sun\jwsdp-2.0\jwsdp-shared\bin;C:\Java\jad
> Mar 9, 2007 9:57:31 AM org.apache.coyote.http11.Http11BaseProtocol init
> INFO: Initializing Coyote HTTP/1.1 on http-8080
> Mar 9, 2007 9:57:31 AM org.apache.catalina.startup.Catalina load
> INFO: Initialization processed in 906 ms
> Mar 9, 2007 9:57:31 AM org.apache.catalina.core.StandardService start
> INFO: Starting service Catalina
> Mar 9, 2007 9:57:31 AM org.apache.catalina.core.StandardEngine start
> INFO: Starting Servlet Engine: Apache Tomcat/5.5.20
> Mar 9, 2007 9:57:31 AM org.apache.catalina.core.StandardHost start
> INFO: XML validation disabled
> Mar 9, 2007 9:57:32 AM org.apache.axis2.deployment.DeploymentEngine doDeploy
> INFO: Deploying module : addressing-1.1.1
> Mar 9, 2007 9:57:33 AM org.apache.axis2.deployment.DeploymentEngine doDeploy
> INFO: Deploying module : sandesha2-1.1
> Mar 9, 2007 9:57:33 AM org.apache.axis2.deployment.DeploymentEngine doDeploy
> INFO: Deploying module : soapmonitor-1.1.1
> Mar 9, 2007 9:57:33 AM org.apache.axis2.deployment.DeploymentEngine doDeploy
> INFO: Deploying Web service  RMSampleService.aar
> Mar 9, 2007 9:57:33 AM org.apache.axis2.deployment.DeploymentEngine doDeploy
> INFO: Deploying Web service  termsheet.aar
> Mar 9, 2007 9:57:33 AM org.apache.axis2.deployment.DeploymentEngine doDeploy
> INFO: Deploying Web service  version.aar
> Mar 9, 2007 9:57:33 AM org.apache.coyote.http11.Http11BaseProtocol start
> INFO: Starting Coyote HTTP/1.1 on http-8080
> Mar 9, 2007 9:57:34 AM org.apache.jk.common.ChannelSocket init
> INFO: JK: ajp13 listening on /0.0.0.0:8009
> Mar 9, 2007 9:57:34 AM org.apache.jk.server.JkMain start
> INFO: Jk running ID=0 time=0/31  config=null
> Mar 9, 2007 9:57:34 AM org.apache.catalina.storeconfig.StoreLoader load
> INFO: Find registry server-registry.xml at classpath resource
> Mar 9, 2007 9:57:34 AM org.apache.catalina.startup.Catalina start
> INFO: Server startup in 3000 ms
> file:/C:/Documents and Settings/sigirsu/Desktop/termsheet/XS0271956954.pdf
> Mar 9, 2007 10:00:04 AM org.apache.axis2.rpc.receivers.RPCInOutAsyncMessageReceiver invokeBusinessLogic
> SEVERE: Exception occurred while trying to invoke service method getTermSheetFile
> java.lang.NullPointerException
> 	at org.apache.axis2.databinding.utils.BeanUtil.getPullParser(BeanUtil.java:197)
> 	at org.apache.axis2.rpc.receivers.RPCUtil.processResponse(RPCUtil.java:90)
> 	at org.apache.axis2.rpc.receivers.RPCUtil.processResponse(RPCUtil.java:192)
> 	at org.apache.axis2.rpc.receivers.RPCInOutAsyncMessageReceiver.invokeBusinessLogic(RPCInOutAsyncMessageReceiver.java:121)
> 	at org.apache.axis2.receivers.AbstractInOutAsyncMessageReceiver$2.run(AbstractInOutAsyncMessageReceiver.java:61)
> 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
> 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
> 	at java.lang.Thread.run(Unknown Source)
> Exception in thread "Axis2 Task" java.lang.NullPointerException
> 	at org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:746)
> 	at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:433)
> 	at org.apache.coyote.http11.InternalOutputBuffer.flush(InternalOutputBuffer.java:304)
> 	at org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:991)
> 	at org.apache.coyote.Response.action(Response.java:182)
> 	at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:322)
> 	at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:293)
> 	at org.apache.catalina.connector.CoyoteOutputStream.flush(CoyoteOutputStream.java:97)
> 	at java.io.BufferedOutputStream.flush(Unknown Source)
> 	at com.ctc.wstx.io.UTF8Writer.flush(UTF8Writer.java:99)
> 	at com.ctc.wstx.sw.BufferingXmlWriter.flush(BufferingXmlWriter.java:184)
> 	at com.ctc.wstx.sw.BaseStreamWriter.flush(BaseStreamWriter.java:311)
> 	at org.apache.axiom.om.impl.MTOMXMLStreamWriter.flush(MTOMXMLStreamWriter.java:115)
> 	at org.apache.axiom.om.impl.llom.OMNodeImpl.serializeAndConsume(OMNodeImpl.java:420)
> 	at org.apache.axis2.transport.http.CommonsHTTPTransportSender.sendUsingOutputStream(CommonsHTTPTransportSender.java:276)
> 	at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:208)
> 	at org.apache.axis2.engine.AxisEngine.sendFault(AxisEngine.java:714)
> 	at org.apache.axis2.receivers.AbstractInOutAsyncMessageReceiver$1.handleFault(AbstractInOutAsyncMessageReceiver.java:51)
> 	at org.apache.axis2.receivers.AbstractInOutAsyncMessageReceiver$2.run(AbstractInOutAsyncMessageReceiver.java:68)
> 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
> 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
> 	at java.lang.Thread.run(Unknown Source)
>   
> ------------------------------------------------------------------------
> <service name="TermsheetService">
> 	<description>Termsheet Service</description>
> 	<parameter name="ServiceClass" locked="false">
> 		com.ssk.ws.termsheet.TermsheetFileService
> 	</parameter>
> 	<operation name="getTermSheetFile">
> 		<messageReceiver
> 			class="org.apache.axis2.rpc.receivers.RPCInOutAsyncMessageReceiver" />
> 	</operation>
> </service>
>   
> ------------------------------------------------------------------------

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Assigned: (AXIS2-2357) SOAP Attachment not working

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2357?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Davanum Srinivas reassigned AXIS2-2357:
---------------------------------------

    Assignee: Deepal Jayasinghe

> SOAP Attachment not working
> ---------------------------
>
>                 Key: AXIS2-2357
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2357
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: kernel, modules
>    Affects Versions: 1.1.1
>         Environment: axis2-1.1.1, JDK1.5.0_05, tomcat-5.5.20
>            Reporter: Sigirisetty Surya Kiran
>         Assigned To: Deepal Jayasinghe
>         Attachments: AXIS2-2357.zip
>
>
> Hi Folks,
> I am trying to create a service which servers files. Client is successfully making call to service and infact
> service is executed successfully. But i am getting exception on server some where after service execution. 
> Pls let me know what's the possible cause.
> Env: Running Axis2-1.1.1 on tomcat.
> Mar 9, 2007 10:00:04 AM org.apache.axis2.rpc.receivers.RPCInOutAsyncMessageReceiver invokeBusinessLogic
> SEVERE: Exception occurred while trying to invoke service method getTermSheetFile
> java.lang.NullPointerException
> 	at org.apache.axis2.databinding.utils.BeanUtil.getPullParser(BeanUtil.java:197)
> 	at org.apache.axis2.rpc.receivers.RPCUtil.processResponse(RPCUtil.java:90)
> 	at org.apache.axis2.rpc.receivers.RPCUtil.processResponse(RPCUtil.java:192)
> 	at org.apache.axis2.rpc.receivers.RPCInOutAsyncMessageReceiver.invokeBusinessLogic(RPCInOutAsyncMessageReceiver.java:121)
> 	at org.apache.axis2.receivers.AbstractInOutAsyncMessageReceiver$2.run(AbstractInOutAsyncMessageReceiver.java:61)
> 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
> 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
> 	at java.lang.Thread.run(Unknown Source)
> Exception in thread "Axis2 Task" java.lang.NullPointerException
> 	at org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:746)
> 	at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:433)
> 	at org.apache.coyote.http11.InternalOutputBuffer.flush(InternalOutputBuffer.java:304)
> 	at org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:991)
> 	at org.apache.coyote.Response.action(Response.java:182)
> 	at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:322)
> 	at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:293)
> 	at org.apache.catalina.connector.CoyoteOutputStream.flush(CoyoteOutputStream.java:97)
> 	at java.io.BufferedOutputStream.flush(Unknown Source)
> 	at com.ctc.wstx.io.UTF8Writer.flush(UTF8Writer.java:99)
> 	at com.ctc.wstx.sw.BufferingXmlWriter.flush(BufferingXmlWriter.java:184)
> 	at com.ctc.wstx.sw.BaseStreamWriter.flush(BaseStreamWriter.java:311)
> 	at org.apache.axiom.om.impl.MTOMXMLStreamWriter.flush(MTOMXMLStreamWriter.java:115)
> 	at org.apache.axiom.om.impl.llom.OMNodeImpl.serializeAndConsume(OMNodeImpl.java:420)
> 	at org.apache.axis2.transport.http.CommonsHTTPTransportSender.sendUsingOutputStream(CommonsHTTPTransportSender.java:276)
> 	at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:208)
> 	at org.apache.axis2.engine.AxisEngine.sendFault(AxisEngine.java:714)
> 	at org.apache.axis2.receivers.AbstractInOutAsyncMessageReceiver$1.handleFault(AbstractInOutAsyncMessageReceiver.java:51)
> 	at org.apache.axis2.receivers.AbstractInOutAsyncMessageReceiver$2.run(AbstractInOutAsyncMessageReceiver.java:68)
> 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
> 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
> 	at java.lang.Thread.run(Unknown Source)
>  
> cheers,
> sigirisetti
>   
> ------------------------------------------------------------------------
> >
> Mar 9, 2007 9:57:31 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
> INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jre1.5.0_05\bin;.;C:\WINNT\system32;C:\WINNT;C:\Program Files\WRQ\Reflection;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Program Files\Real\Realplayer;C:\WINNT\System32\Wbem;C:\Program Files\sql11\DLL;C:\Program Files\sql11\BIN;C:\Program Files\jetform\5.2\;C:\Program Files\Oracle\ora92\bin;C:\Program Files\SimonTatham\Putty\;C:\Program Files\Sybase\shared\powerbuilder;C:\Program Files\rational\clearcase\bin;C:\Java\maven-2.0.4\bin;C:\Sun\SDK\bin;C:\Sun\jwsdp-2.0\jwsdp-shared\bin;C:\Java\jad
> Mar 9, 2007 9:57:31 AM org.apache.coyote.http11.Http11BaseProtocol init
> INFO: Initializing Coyote HTTP/1.1 on http-8080
> Mar 9, 2007 9:57:31 AM org.apache.catalina.startup.Catalina load
> INFO: Initialization processed in 906 ms
> Mar 9, 2007 9:57:31 AM org.apache.catalina.core.StandardService start
> INFO: Starting service Catalina
> Mar 9, 2007 9:57:31 AM org.apache.catalina.core.StandardEngine start
> INFO: Starting Servlet Engine: Apache Tomcat/5.5.20
> Mar 9, 2007 9:57:31 AM org.apache.catalina.core.StandardHost start
> INFO: XML validation disabled
> Mar 9, 2007 9:57:32 AM org.apache.axis2.deployment.DeploymentEngine doDeploy
> INFO: Deploying module : addressing-1.1.1
> Mar 9, 2007 9:57:33 AM org.apache.axis2.deployment.DeploymentEngine doDeploy
> INFO: Deploying module : sandesha2-1.1
> Mar 9, 2007 9:57:33 AM org.apache.axis2.deployment.DeploymentEngine doDeploy
> INFO: Deploying module : soapmonitor-1.1.1
> Mar 9, 2007 9:57:33 AM org.apache.axis2.deployment.DeploymentEngine doDeploy
> INFO: Deploying Web service  RMSampleService.aar
> Mar 9, 2007 9:57:33 AM org.apache.axis2.deployment.DeploymentEngine doDeploy
> INFO: Deploying Web service  termsheet.aar
> Mar 9, 2007 9:57:33 AM org.apache.axis2.deployment.DeploymentEngine doDeploy
> INFO: Deploying Web service  version.aar
> Mar 9, 2007 9:57:33 AM org.apache.coyote.http11.Http11BaseProtocol start
> INFO: Starting Coyote HTTP/1.1 on http-8080
> Mar 9, 2007 9:57:34 AM org.apache.jk.common.ChannelSocket init
> INFO: JK: ajp13 listening on /0.0.0.0:8009
> Mar 9, 2007 9:57:34 AM org.apache.jk.server.JkMain start
> INFO: Jk running ID=0 time=0/31  config=null
> Mar 9, 2007 9:57:34 AM org.apache.catalina.storeconfig.StoreLoader load
> INFO: Find registry server-registry.xml at classpath resource
> Mar 9, 2007 9:57:34 AM org.apache.catalina.startup.Catalina start
> INFO: Server startup in 3000 ms
> file:/C:/Documents and Settings/sigirsu/Desktop/termsheet/XS0271956954.pdf
> Mar 9, 2007 10:00:04 AM org.apache.axis2.rpc.receivers.RPCInOutAsyncMessageReceiver invokeBusinessLogic
> SEVERE: Exception occurred while trying to invoke service method getTermSheetFile
> java.lang.NullPointerException
> 	at org.apache.axis2.databinding.utils.BeanUtil.getPullParser(BeanUtil.java:197)
> 	at org.apache.axis2.rpc.receivers.RPCUtil.processResponse(RPCUtil.java:90)
> 	at org.apache.axis2.rpc.receivers.RPCUtil.processResponse(RPCUtil.java:192)
> 	at org.apache.axis2.rpc.receivers.RPCInOutAsyncMessageReceiver.invokeBusinessLogic(RPCInOutAsyncMessageReceiver.java:121)
> 	at org.apache.axis2.receivers.AbstractInOutAsyncMessageReceiver$2.run(AbstractInOutAsyncMessageReceiver.java:61)
> 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
> 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
> 	at java.lang.Thread.run(Unknown Source)
> Exception in thread "Axis2 Task" java.lang.NullPointerException
> 	at org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:746)
> 	at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:433)
> 	at org.apache.coyote.http11.InternalOutputBuffer.flush(InternalOutputBuffer.java:304)
> 	at org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:991)
> 	at org.apache.coyote.Response.action(Response.java:182)
> 	at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:322)
> 	at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:293)
> 	at org.apache.catalina.connector.CoyoteOutputStream.flush(CoyoteOutputStream.java:97)
> 	at java.io.BufferedOutputStream.flush(Unknown Source)
> 	at com.ctc.wstx.io.UTF8Writer.flush(UTF8Writer.java:99)
> 	at com.ctc.wstx.sw.BufferingXmlWriter.flush(BufferingXmlWriter.java:184)
> 	at com.ctc.wstx.sw.BaseStreamWriter.flush(BaseStreamWriter.java:311)
> 	at org.apache.axiom.om.impl.MTOMXMLStreamWriter.flush(MTOMXMLStreamWriter.java:115)
> 	at org.apache.axiom.om.impl.llom.OMNodeImpl.serializeAndConsume(OMNodeImpl.java:420)
> 	at org.apache.axis2.transport.http.CommonsHTTPTransportSender.sendUsingOutputStream(CommonsHTTPTransportSender.java:276)
> 	at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:208)
> 	at org.apache.axis2.engine.AxisEngine.sendFault(AxisEngine.java:714)
> 	at org.apache.axis2.receivers.AbstractInOutAsyncMessageReceiver$1.handleFault(AbstractInOutAsyncMessageReceiver.java:51)
> 	at org.apache.axis2.receivers.AbstractInOutAsyncMessageReceiver$2.run(AbstractInOutAsyncMessageReceiver.java:68)
> 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
> 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
> 	at java.lang.Thread.run(Unknown Source)
>   
> ------------------------------------------------------------------------
> <service name="TermsheetService">
> 	<description>Termsheet Service</description>
> 	<parameter name="ServiceClass" locked="false">
> 		com.ssk.ws.termsheet.TermsheetFileService
> 	</parameter>
> 	<operation name="getTermSheetFile">
> 		<messageReceiver
> 			class="org.apache.axis2.rpc.receivers.RPCInOutAsyncMessageReceiver" />
> 	</operation>
> </service>
>   
> ------------------------------------------------------------------------

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Assigned: (AXIS2-2357) SOAP Attachment not working

Posted by "Deepal Jayasinghe (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2357?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Deepal Jayasinghe reassigned AXIS2-2357:
----------------------------------------

    Assignee: Thilina Gunarathne  (was: Deepal Jayasinghe)

Hi Thilina,
If you can please have a look at this.

Thanks
Deepal

> SOAP Attachment not working
> ---------------------------
>
>                 Key: AXIS2-2357
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2357
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: kernel, modules
>    Affects Versions: 1.1.1
>         Environment: axis2-1.1.1, JDK1.5.0_05, tomcat-5.5.20
>            Reporter: Sigirisetty Surya Kiran
>            Assignee: Thilina Gunarathne
>            Priority: Blocker
>         Attachments: AXIS2-2357.zip
>
>
> Hi Folks,
> I am trying to create a service which servers files. Client is successfully making call to service and infact
> service is executed successfully. But i am getting exception on server some where after service execution. 
> Pls let me know what's the possible cause.
> Env: Running Axis2-1.1.1 on tomcat.
> Mar 9, 2007 10:00:04 AM org.apache.axis2.rpc.receivers.RPCInOutAsyncMessageReceiver invokeBusinessLogic
> SEVERE: Exception occurred while trying to invoke service method getTermSheetFile
> java.lang.NullPointerException
> 	at org.apache.axis2.databinding.utils.BeanUtil.getPullParser(BeanUtil.java:197)
> 	at org.apache.axis2.rpc.receivers.RPCUtil.processResponse(RPCUtil.java:90)
> 	at org.apache.axis2.rpc.receivers.RPCUtil.processResponse(RPCUtil.java:192)
> 	at org.apache.axis2.rpc.receivers.RPCInOutAsyncMessageReceiver.invokeBusinessLogic(RPCInOutAsyncMessageReceiver.java:121)
> 	at org.apache.axis2.receivers.AbstractInOutAsyncMessageReceiver$2.run(AbstractInOutAsyncMessageReceiver.java:61)
> 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
> 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
> 	at java.lang.Thread.run(Unknown Source)
> Exception in thread "Axis2 Task" java.lang.NullPointerException
> 	at org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:746)
> 	at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:433)
> 	at org.apache.coyote.http11.InternalOutputBuffer.flush(InternalOutputBuffer.java:304)
> 	at org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:991)
> 	at org.apache.coyote.Response.action(Response.java:182)
> 	at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:322)
> 	at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:293)
> 	at org.apache.catalina.connector.CoyoteOutputStream.flush(CoyoteOutputStream.java:97)
> 	at java.io.BufferedOutputStream.flush(Unknown Source)
> 	at com.ctc.wstx.io.UTF8Writer.flush(UTF8Writer.java:99)
> 	at com.ctc.wstx.sw.BufferingXmlWriter.flush(BufferingXmlWriter.java:184)
> 	at com.ctc.wstx.sw.BaseStreamWriter.flush(BaseStreamWriter.java:311)
> 	at org.apache.axiom.om.impl.MTOMXMLStreamWriter.flush(MTOMXMLStreamWriter.java:115)
> 	at org.apache.axiom.om.impl.llom.OMNodeImpl.serializeAndConsume(OMNodeImpl.java:420)
> 	at org.apache.axis2.transport.http.CommonsHTTPTransportSender.sendUsingOutputStream(CommonsHTTPTransportSender.java:276)
> 	at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:208)
> 	at org.apache.axis2.engine.AxisEngine.sendFault(AxisEngine.java:714)
> 	at org.apache.axis2.receivers.AbstractInOutAsyncMessageReceiver$1.handleFault(AbstractInOutAsyncMessageReceiver.java:51)
> 	at org.apache.axis2.receivers.AbstractInOutAsyncMessageReceiver$2.run(AbstractInOutAsyncMessageReceiver.java:68)
> 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
> 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
> 	at java.lang.Thread.run(Unknown Source)
>  
> cheers,
> sigirisetti
>   
> ------------------------------------------------------------------------
> >
> Mar 9, 2007 9:57:31 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
> INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jre1.5.0_05\bin;.;C:\WINNT\system32;C:\WINNT;C:\Program Files\WRQ\Reflection;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Program Files\Real\Realplayer;C:\WINNT\System32\Wbem;C:\Program Files\sql11\DLL;C:\Program Files\sql11\BIN;C:\Program Files\jetform\5.2\;C:\Program Files\Oracle\ora92\bin;C:\Program Files\SimonTatham\Putty\;C:\Program Files\Sybase\shared\powerbuilder;C:\Program Files\rational\clearcase\bin;C:\Java\maven-2.0.4\bin;C:\Sun\SDK\bin;C:\Sun\jwsdp-2.0\jwsdp-shared\bin;C:\Java\jad
> Mar 9, 2007 9:57:31 AM org.apache.coyote.http11.Http11BaseProtocol init
> INFO: Initializing Coyote HTTP/1.1 on http-8080
> Mar 9, 2007 9:57:31 AM org.apache.catalina.startup.Catalina load
> INFO: Initialization processed in 906 ms
> Mar 9, 2007 9:57:31 AM org.apache.catalina.core.StandardService start
> INFO: Starting service Catalina
> Mar 9, 2007 9:57:31 AM org.apache.catalina.core.StandardEngine start
> INFO: Starting Servlet Engine: Apache Tomcat/5.5.20
> Mar 9, 2007 9:57:31 AM org.apache.catalina.core.StandardHost start
> INFO: XML validation disabled
> Mar 9, 2007 9:57:32 AM org.apache.axis2.deployment.DeploymentEngine doDeploy
> INFO: Deploying module : addressing-1.1.1
> Mar 9, 2007 9:57:33 AM org.apache.axis2.deployment.DeploymentEngine doDeploy
> INFO: Deploying module : sandesha2-1.1
> Mar 9, 2007 9:57:33 AM org.apache.axis2.deployment.DeploymentEngine doDeploy
> INFO: Deploying module : soapmonitor-1.1.1
> Mar 9, 2007 9:57:33 AM org.apache.axis2.deployment.DeploymentEngine doDeploy
> INFO: Deploying Web service  RMSampleService.aar
> Mar 9, 2007 9:57:33 AM org.apache.axis2.deployment.DeploymentEngine doDeploy
> INFO: Deploying Web service  termsheet.aar
> Mar 9, 2007 9:57:33 AM org.apache.axis2.deployment.DeploymentEngine doDeploy
> INFO: Deploying Web service  version.aar
> Mar 9, 2007 9:57:33 AM org.apache.coyote.http11.Http11BaseProtocol start
> INFO: Starting Coyote HTTP/1.1 on http-8080
> Mar 9, 2007 9:57:34 AM org.apache.jk.common.ChannelSocket init
> INFO: JK: ajp13 listening on /0.0.0.0:8009
> Mar 9, 2007 9:57:34 AM org.apache.jk.server.JkMain start
> INFO: Jk running ID=0 time=0/31  config=null
> Mar 9, 2007 9:57:34 AM org.apache.catalina.storeconfig.StoreLoader load
> INFO: Find registry server-registry.xml at classpath resource
> Mar 9, 2007 9:57:34 AM org.apache.catalina.startup.Catalina start
> INFO: Server startup in 3000 ms
> file:/C:/Documents and Settings/sigirsu/Desktop/termsheet/XS0271956954.pdf
> Mar 9, 2007 10:00:04 AM org.apache.axis2.rpc.receivers.RPCInOutAsyncMessageReceiver invokeBusinessLogic
> SEVERE: Exception occurred while trying to invoke service method getTermSheetFile
> java.lang.NullPointerException
> 	at org.apache.axis2.databinding.utils.BeanUtil.getPullParser(BeanUtil.java:197)
> 	at org.apache.axis2.rpc.receivers.RPCUtil.processResponse(RPCUtil.java:90)
> 	at org.apache.axis2.rpc.receivers.RPCUtil.processResponse(RPCUtil.java:192)
> 	at org.apache.axis2.rpc.receivers.RPCInOutAsyncMessageReceiver.invokeBusinessLogic(RPCInOutAsyncMessageReceiver.java:121)
> 	at org.apache.axis2.receivers.AbstractInOutAsyncMessageReceiver$2.run(AbstractInOutAsyncMessageReceiver.java:61)
> 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
> 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
> 	at java.lang.Thread.run(Unknown Source)
> Exception in thread "Axis2 Task" java.lang.NullPointerException
> 	at org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:746)
> 	at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:433)
> 	at org.apache.coyote.http11.InternalOutputBuffer.flush(InternalOutputBuffer.java:304)
> 	at org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:991)
> 	at org.apache.coyote.Response.action(Response.java:182)
> 	at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:322)
> 	at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:293)
> 	at org.apache.catalina.connector.CoyoteOutputStream.flush(CoyoteOutputStream.java:97)
> 	at java.io.BufferedOutputStream.flush(Unknown Source)
> 	at com.ctc.wstx.io.UTF8Writer.flush(UTF8Writer.java:99)
> 	at com.ctc.wstx.sw.BufferingXmlWriter.flush(BufferingXmlWriter.java:184)
> 	at com.ctc.wstx.sw.BaseStreamWriter.flush(BaseStreamWriter.java:311)
> 	at org.apache.axiom.om.impl.MTOMXMLStreamWriter.flush(MTOMXMLStreamWriter.java:115)
> 	at org.apache.axiom.om.impl.llom.OMNodeImpl.serializeAndConsume(OMNodeImpl.java:420)
> 	at org.apache.axis2.transport.http.CommonsHTTPTransportSender.sendUsingOutputStream(CommonsHTTPTransportSender.java:276)
> 	at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:208)
> 	at org.apache.axis2.engine.AxisEngine.sendFault(AxisEngine.java:714)
> 	at org.apache.axis2.receivers.AbstractInOutAsyncMessageReceiver$1.handleFault(AbstractInOutAsyncMessageReceiver.java:51)
> 	at org.apache.axis2.receivers.AbstractInOutAsyncMessageReceiver$2.run(AbstractInOutAsyncMessageReceiver.java:68)
> 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
> 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
> 	at java.lang.Thread.run(Unknown Source)
>   
> ------------------------------------------------------------------------
> <service name="TermsheetService">
> 	<description>Termsheet Service</description>
> 	<parameter name="ServiceClass" locked="false">
> 		com.ssk.ws.termsheet.TermsheetFileService
> 	</parameter>
> 	<operation name="getTermSheetFile">
> 		<messageReceiver
> 			class="org.apache.axis2.rpc.receivers.RPCInOutAsyncMessageReceiver" />
> 	</operation>
> </service>
>   
> ------------------------------------------------------------------------

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Updated: (AXIS2-2357) SOAP Attachment not working

Posted by "Deepal Jayasinghe (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2357?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Deepal Jayasinghe updated AXIS2-2357:
-------------------------------------

    Priority: Blocker  (was: Major)

> SOAP Attachment not working
> ---------------------------
>
>                 Key: AXIS2-2357
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2357
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: kernel, modules
>    Affects Versions: 1.1.1
>         Environment: axis2-1.1.1, JDK1.5.0_05, tomcat-5.5.20
>            Reporter: Sigirisetty Surya Kiran
>            Assignee: Deepal Jayasinghe
>            Priority: Blocker
>         Attachments: AXIS2-2357.zip
>
>
> Hi Folks,
> I am trying to create a service which servers files. Client is successfully making call to service and infact
> service is executed successfully. But i am getting exception on server some where after service execution. 
> Pls let me know what's the possible cause.
> Env: Running Axis2-1.1.1 on tomcat.
> Mar 9, 2007 10:00:04 AM org.apache.axis2.rpc.receivers.RPCInOutAsyncMessageReceiver invokeBusinessLogic
> SEVERE: Exception occurred while trying to invoke service method getTermSheetFile
> java.lang.NullPointerException
> 	at org.apache.axis2.databinding.utils.BeanUtil.getPullParser(BeanUtil.java:197)
> 	at org.apache.axis2.rpc.receivers.RPCUtil.processResponse(RPCUtil.java:90)
> 	at org.apache.axis2.rpc.receivers.RPCUtil.processResponse(RPCUtil.java:192)
> 	at org.apache.axis2.rpc.receivers.RPCInOutAsyncMessageReceiver.invokeBusinessLogic(RPCInOutAsyncMessageReceiver.java:121)
> 	at org.apache.axis2.receivers.AbstractInOutAsyncMessageReceiver$2.run(AbstractInOutAsyncMessageReceiver.java:61)
> 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
> 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
> 	at java.lang.Thread.run(Unknown Source)
> Exception in thread "Axis2 Task" java.lang.NullPointerException
> 	at org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:746)
> 	at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:433)
> 	at org.apache.coyote.http11.InternalOutputBuffer.flush(InternalOutputBuffer.java:304)
> 	at org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:991)
> 	at org.apache.coyote.Response.action(Response.java:182)
> 	at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:322)
> 	at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:293)
> 	at org.apache.catalina.connector.CoyoteOutputStream.flush(CoyoteOutputStream.java:97)
> 	at java.io.BufferedOutputStream.flush(Unknown Source)
> 	at com.ctc.wstx.io.UTF8Writer.flush(UTF8Writer.java:99)
> 	at com.ctc.wstx.sw.BufferingXmlWriter.flush(BufferingXmlWriter.java:184)
> 	at com.ctc.wstx.sw.BaseStreamWriter.flush(BaseStreamWriter.java:311)
> 	at org.apache.axiom.om.impl.MTOMXMLStreamWriter.flush(MTOMXMLStreamWriter.java:115)
> 	at org.apache.axiom.om.impl.llom.OMNodeImpl.serializeAndConsume(OMNodeImpl.java:420)
> 	at org.apache.axis2.transport.http.CommonsHTTPTransportSender.sendUsingOutputStream(CommonsHTTPTransportSender.java:276)
> 	at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:208)
> 	at org.apache.axis2.engine.AxisEngine.sendFault(AxisEngine.java:714)
> 	at org.apache.axis2.receivers.AbstractInOutAsyncMessageReceiver$1.handleFault(AbstractInOutAsyncMessageReceiver.java:51)
> 	at org.apache.axis2.receivers.AbstractInOutAsyncMessageReceiver$2.run(AbstractInOutAsyncMessageReceiver.java:68)
> 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
> 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
> 	at java.lang.Thread.run(Unknown Source)
>  
> cheers,
> sigirisetti
>   
> ------------------------------------------------------------------------
> >
> Mar 9, 2007 9:57:31 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
> INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jre1.5.0_05\bin;.;C:\WINNT\system32;C:\WINNT;C:\Program Files\WRQ\Reflection;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Program Files\Real\Realplayer;C:\WINNT\System32\Wbem;C:\Program Files\sql11\DLL;C:\Program Files\sql11\BIN;C:\Program Files\jetform\5.2\;C:\Program Files\Oracle\ora92\bin;C:\Program Files\SimonTatham\Putty\;C:\Program Files\Sybase\shared\powerbuilder;C:\Program Files\rational\clearcase\bin;C:\Java\maven-2.0.4\bin;C:\Sun\SDK\bin;C:\Sun\jwsdp-2.0\jwsdp-shared\bin;C:\Java\jad
> Mar 9, 2007 9:57:31 AM org.apache.coyote.http11.Http11BaseProtocol init
> INFO: Initializing Coyote HTTP/1.1 on http-8080
> Mar 9, 2007 9:57:31 AM org.apache.catalina.startup.Catalina load
> INFO: Initialization processed in 906 ms
> Mar 9, 2007 9:57:31 AM org.apache.catalina.core.StandardService start
> INFO: Starting service Catalina
> Mar 9, 2007 9:57:31 AM org.apache.catalina.core.StandardEngine start
> INFO: Starting Servlet Engine: Apache Tomcat/5.5.20
> Mar 9, 2007 9:57:31 AM org.apache.catalina.core.StandardHost start
> INFO: XML validation disabled
> Mar 9, 2007 9:57:32 AM org.apache.axis2.deployment.DeploymentEngine doDeploy
> INFO: Deploying module : addressing-1.1.1
> Mar 9, 2007 9:57:33 AM org.apache.axis2.deployment.DeploymentEngine doDeploy
> INFO: Deploying module : sandesha2-1.1
> Mar 9, 2007 9:57:33 AM org.apache.axis2.deployment.DeploymentEngine doDeploy
> INFO: Deploying module : soapmonitor-1.1.1
> Mar 9, 2007 9:57:33 AM org.apache.axis2.deployment.DeploymentEngine doDeploy
> INFO: Deploying Web service  RMSampleService.aar
> Mar 9, 2007 9:57:33 AM org.apache.axis2.deployment.DeploymentEngine doDeploy
> INFO: Deploying Web service  termsheet.aar
> Mar 9, 2007 9:57:33 AM org.apache.axis2.deployment.DeploymentEngine doDeploy
> INFO: Deploying Web service  version.aar
> Mar 9, 2007 9:57:33 AM org.apache.coyote.http11.Http11BaseProtocol start
> INFO: Starting Coyote HTTP/1.1 on http-8080
> Mar 9, 2007 9:57:34 AM org.apache.jk.common.ChannelSocket init
> INFO: JK: ajp13 listening on /0.0.0.0:8009
> Mar 9, 2007 9:57:34 AM org.apache.jk.server.JkMain start
> INFO: Jk running ID=0 time=0/31  config=null
> Mar 9, 2007 9:57:34 AM org.apache.catalina.storeconfig.StoreLoader load
> INFO: Find registry server-registry.xml at classpath resource
> Mar 9, 2007 9:57:34 AM org.apache.catalina.startup.Catalina start
> INFO: Server startup in 3000 ms
> file:/C:/Documents and Settings/sigirsu/Desktop/termsheet/XS0271956954.pdf
> Mar 9, 2007 10:00:04 AM org.apache.axis2.rpc.receivers.RPCInOutAsyncMessageReceiver invokeBusinessLogic
> SEVERE: Exception occurred while trying to invoke service method getTermSheetFile
> java.lang.NullPointerException
> 	at org.apache.axis2.databinding.utils.BeanUtil.getPullParser(BeanUtil.java:197)
> 	at org.apache.axis2.rpc.receivers.RPCUtil.processResponse(RPCUtil.java:90)
> 	at org.apache.axis2.rpc.receivers.RPCUtil.processResponse(RPCUtil.java:192)
> 	at org.apache.axis2.rpc.receivers.RPCInOutAsyncMessageReceiver.invokeBusinessLogic(RPCInOutAsyncMessageReceiver.java:121)
> 	at org.apache.axis2.receivers.AbstractInOutAsyncMessageReceiver$2.run(AbstractInOutAsyncMessageReceiver.java:61)
> 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
> 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
> 	at java.lang.Thread.run(Unknown Source)
> Exception in thread "Axis2 Task" java.lang.NullPointerException
> 	at org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:746)
> 	at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:433)
> 	at org.apache.coyote.http11.InternalOutputBuffer.flush(InternalOutputBuffer.java:304)
> 	at org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:991)
> 	at org.apache.coyote.Response.action(Response.java:182)
> 	at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:322)
> 	at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:293)
> 	at org.apache.catalina.connector.CoyoteOutputStream.flush(CoyoteOutputStream.java:97)
> 	at java.io.BufferedOutputStream.flush(Unknown Source)
> 	at com.ctc.wstx.io.UTF8Writer.flush(UTF8Writer.java:99)
> 	at com.ctc.wstx.sw.BufferingXmlWriter.flush(BufferingXmlWriter.java:184)
> 	at com.ctc.wstx.sw.BaseStreamWriter.flush(BaseStreamWriter.java:311)
> 	at org.apache.axiom.om.impl.MTOMXMLStreamWriter.flush(MTOMXMLStreamWriter.java:115)
> 	at org.apache.axiom.om.impl.llom.OMNodeImpl.serializeAndConsume(OMNodeImpl.java:420)
> 	at org.apache.axis2.transport.http.CommonsHTTPTransportSender.sendUsingOutputStream(CommonsHTTPTransportSender.java:276)
> 	at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:208)
> 	at org.apache.axis2.engine.AxisEngine.sendFault(AxisEngine.java:714)
> 	at org.apache.axis2.receivers.AbstractInOutAsyncMessageReceiver$1.handleFault(AbstractInOutAsyncMessageReceiver.java:51)
> 	at org.apache.axis2.receivers.AbstractInOutAsyncMessageReceiver$2.run(AbstractInOutAsyncMessageReceiver.java:68)
> 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
> 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
> 	at java.lang.Thread.run(Unknown Source)
>   
> ------------------------------------------------------------------------
> <service name="TermsheetService">
> 	<description>Termsheet Service</description>
> 	<parameter name="ServiceClass" locked="false">
> 		com.ssk.ws.termsheet.TermsheetFileService
> 	</parameter>
> 	<operation name="getTermSheetFile">
> 		<messageReceiver
> 			class="org.apache.axis2.rpc.receivers.RPCInOutAsyncMessageReceiver" />
> 	</operation>
> </service>
>   
> ------------------------------------------------------------------------

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Commented: (AXIS2-2357) SOAP Attachment not working

Posted by "Thilina Gunarathne (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-2357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12508488 ] 

Thilina Gunarathne commented on AXIS2-2357:
-------------------------------------------

Hi Deepal,
This is about MTOM, not about SwA (subject seems to have mislead us)... 

>When I debug I found the the issue is Axis2 is not sending the attachment , there was no any NPEs but Axis2 send the response as base64 even if I have enableSwA set to >true , but I can not see that Axis2 is send the data as Attachments.
If  Axis2 is sending the data as base64, then part of the problem is already solved... We should try enablingMTOM, not SwA...

>Seems like the problem is in Attachment handling in Axis2 , and I even look at the test cases , but it copy the incoming attachments map to out put one. But if we do not have >incoming attachment map then our attachment does not work. 
Attachment map is used when we deal with SwA type attachments... We do not need to store attachments in the attachmentMap when sending out MTOM attachments..


I'lll try this with enablingMTOM in the latest Axis2 head...

> SOAP Attachment not working
> ---------------------------
>
>                 Key: AXIS2-2357
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2357
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: kernel, modules
>    Affects Versions: 1.1.1
>         Environment: axis2-1.1.1, JDK1.5.0_05, tomcat-5.5.20
>            Reporter: Sigirisetty Surya Kiran
>            Assignee: Thilina Gunarathne
>            Priority: Blocker
>             Fix For: 1.3
>
>         Attachments: AXIS2-2357.zip
>
>
> Hi Folks,
> I am trying to create a service which servers files. Client is successfully making call to service and infact
> service is executed successfully. But i am getting exception on server some where after service execution. 
> Pls let me know what's the possible cause.
> Env: Running Axis2-1.1.1 on tomcat.
> Mar 9, 2007 10:00:04 AM org.apache.axis2.rpc.receivers.RPCInOutAsyncMessageReceiver invokeBusinessLogic
> SEVERE: Exception occurred while trying to invoke service method getTermSheetFile
> java.lang.NullPointerException
> 	at org.apache.axis2.databinding.utils.BeanUtil.getPullParser(BeanUtil.java:197)
> 	at org.apache.axis2.rpc.receivers.RPCUtil.processResponse(RPCUtil.java:90)
> 	at org.apache.axis2.rpc.receivers.RPCUtil.processResponse(RPCUtil.java:192)
> 	at org.apache.axis2.rpc.receivers.RPCInOutAsyncMessageReceiver.invokeBusinessLogic(RPCInOutAsyncMessageReceiver.java:121)
> 	at org.apache.axis2.receivers.AbstractInOutAsyncMessageReceiver$2.run(AbstractInOutAsyncMessageReceiver.java:61)
> 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
> 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
> 	at java.lang.Thread.run(Unknown Source)
> Exception in thread "Axis2 Task" java.lang.NullPointerException
> 	at org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:746)
> 	at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:433)
> 	at org.apache.coyote.http11.InternalOutputBuffer.flush(InternalOutputBuffer.java:304)
> 	at org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:991)
> 	at org.apache.coyote.Response.action(Response.java:182)
> 	at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:322)
> 	at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:293)
> 	at org.apache.catalina.connector.CoyoteOutputStream.flush(CoyoteOutputStream.java:97)
> 	at java.io.BufferedOutputStream.flush(Unknown Source)
> 	at com.ctc.wstx.io.UTF8Writer.flush(UTF8Writer.java:99)
> 	at com.ctc.wstx.sw.BufferingXmlWriter.flush(BufferingXmlWriter.java:184)
> 	at com.ctc.wstx.sw.BaseStreamWriter.flush(BaseStreamWriter.java:311)
> 	at org.apache.axiom.om.impl.MTOMXMLStreamWriter.flush(MTOMXMLStreamWriter.java:115)
> 	at org.apache.axiom.om.impl.llom.OMNodeImpl.serializeAndConsume(OMNodeImpl.java:420)
> 	at org.apache.axis2.transport.http.CommonsHTTPTransportSender.sendUsingOutputStream(CommonsHTTPTransportSender.java:276)
> 	at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:208)
> 	at org.apache.axis2.engine.AxisEngine.sendFault(AxisEngine.java:714)
> 	at org.apache.axis2.receivers.AbstractInOutAsyncMessageReceiver$1.handleFault(AbstractInOutAsyncMessageReceiver.java:51)
> 	at org.apache.axis2.receivers.AbstractInOutAsyncMessageReceiver$2.run(AbstractInOutAsyncMessageReceiver.java:68)
> 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
> 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
> 	at java.lang.Thread.run(Unknown Source)
>  
> cheers,
> sigirisetti
>   
> ------------------------------------------------------------------------
> >
> Mar 9, 2007 9:57:31 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
> INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jre1.5.0_05\bin;.;C:\WINNT\system32;C:\WINNT;C:\Program Files\WRQ\Reflection;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Program Files\Real\Realplayer;C:\WINNT\System32\Wbem;C:\Program Files\sql11\DLL;C:\Program Files\sql11\BIN;C:\Program Files\jetform\5.2\;C:\Program Files\Oracle\ora92\bin;C:\Program Files\SimonTatham\Putty\;C:\Program Files\Sybase\shared\powerbuilder;C:\Program Files\rational\clearcase\bin;C:\Java\maven-2.0.4\bin;C:\Sun\SDK\bin;C:\Sun\jwsdp-2.0\jwsdp-shared\bin;C:\Java\jad
> Mar 9, 2007 9:57:31 AM org.apache.coyote.http11.Http11BaseProtocol init
> INFO: Initializing Coyote HTTP/1.1 on http-8080
> Mar 9, 2007 9:57:31 AM org.apache.catalina.startup.Catalina load
> INFO: Initialization processed in 906 ms
> Mar 9, 2007 9:57:31 AM org.apache.catalina.core.StandardService start
> INFO: Starting service Catalina
> Mar 9, 2007 9:57:31 AM org.apache.catalina.core.StandardEngine start
> INFO: Starting Servlet Engine: Apache Tomcat/5.5.20
> Mar 9, 2007 9:57:31 AM org.apache.catalina.core.StandardHost start
> INFO: XML validation disabled
> Mar 9, 2007 9:57:32 AM org.apache.axis2.deployment.DeploymentEngine doDeploy
> INFO: Deploying module : addressing-1.1.1
> Mar 9, 2007 9:57:33 AM org.apache.axis2.deployment.DeploymentEngine doDeploy
> INFO: Deploying module : sandesha2-1.1
> Mar 9, 2007 9:57:33 AM org.apache.axis2.deployment.DeploymentEngine doDeploy
> INFO: Deploying module : soapmonitor-1.1.1
> Mar 9, 2007 9:57:33 AM org.apache.axis2.deployment.DeploymentEngine doDeploy
> INFO: Deploying Web service  RMSampleService.aar
> Mar 9, 2007 9:57:33 AM org.apache.axis2.deployment.DeploymentEngine doDeploy
> INFO: Deploying Web service  termsheet.aar
> Mar 9, 2007 9:57:33 AM org.apache.axis2.deployment.DeploymentEngine doDeploy
> INFO: Deploying Web service  version.aar
> Mar 9, 2007 9:57:33 AM org.apache.coyote.http11.Http11BaseProtocol start
> INFO: Starting Coyote HTTP/1.1 on http-8080
> Mar 9, 2007 9:57:34 AM org.apache.jk.common.ChannelSocket init
> INFO: JK: ajp13 listening on /0.0.0.0:8009
> Mar 9, 2007 9:57:34 AM org.apache.jk.server.JkMain start
> INFO: Jk running ID=0 time=0/31  config=null
> Mar 9, 2007 9:57:34 AM org.apache.catalina.storeconfig.StoreLoader load
> INFO: Find registry server-registry.xml at classpath resource
> Mar 9, 2007 9:57:34 AM org.apache.catalina.startup.Catalina start
> INFO: Server startup in 3000 ms
> file:/C:/Documents and Settings/sigirsu/Desktop/termsheet/XS0271956954.pdf
> Mar 9, 2007 10:00:04 AM org.apache.axis2.rpc.receivers.RPCInOutAsyncMessageReceiver invokeBusinessLogic
> SEVERE: Exception occurred while trying to invoke service method getTermSheetFile
> java.lang.NullPointerException
> 	at org.apache.axis2.databinding.utils.BeanUtil.getPullParser(BeanUtil.java:197)
> 	at org.apache.axis2.rpc.receivers.RPCUtil.processResponse(RPCUtil.java:90)
> 	at org.apache.axis2.rpc.receivers.RPCUtil.processResponse(RPCUtil.java:192)
> 	at org.apache.axis2.rpc.receivers.RPCInOutAsyncMessageReceiver.invokeBusinessLogic(RPCInOutAsyncMessageReceiver.java:121)
> 	at org.apache.axis2.receivers.AbstractInOutAsyncMessageReceiver$2.run(AbstractInOutAsyncMessageReceiver.java:61)
> 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
> 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
> 	at java.lang.Thread.run(Unknown Source)
> Exception in thread "Axis2 Task" java.lang.NullPointerException
> 	at org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:746)
> 	at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:433)
> 	at org.apache.coyote.http11.InternalOutputBuffer.flush(InternalOutputBuffer.java:304)
> 	at org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:991)
> 	at org.apache.coyote.Response.action(Response.java:182)
> 	at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:322)
> 	at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:293)
> 	at org.apache.catalina.connector.CoyoteOutputStream.flush(CoyoteOutputStream.java:97)
> 	at java.io.BufferedOutputStream.flush(Unknown Source)
> 	at com.ctc.wstx.io.UTF8Writer.flush(UTF8Writer.java:99)
> 	at com.ctc.wstx.sw.BufferingXmlWriter.flush(BufferingXmlWriter.java:184)
> 	at com.ctc.wstx.sw.BaseStreamWriter.flush(BaseStreamWriter.java:311)
> 	at org.apache.axiom.om.impl.MTOMXMLStreamWriter.flush(MTOMXMLStreamWriter.java:115)
> 	at org.apache.axiom.om.impl.llom.OMNodeImpl.serializeAndConsume(OMNodeImpl.java:420)
> 	at org.apache.axis2.transport.http.CommonsHTTPTransportSender.sendUsingOutputStream(CommonsHTTPTransportSender.java:276)
> 	at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:208)
> 	at org.apache.axis2.engine.AxisEngine.sendFault(AxisEngine.java:714)
> 	at org.apache.axis2.receivers.AbstractInOutAsyncMessageReceiver$1.handleFault(AbstractInOutAsyncMessageReceiver.java:51)
> 	at org.apache.axis2.receivers.AbstractInOutAsyncMessageReceiver$2.run(AbstractInOutAsyncMessageReceiver.java:68)
> 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
> 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
> 	at java.lang.Thread.run(Unknown Source)
>   
> ------------------------------------------------------------------------
> <service name="TermsheetService">
> 	<description>Termsheet Service</description>
> 	<parameter name="ServiceClass" locked="false">
> 		com.ssk.ws.termsheet.TermsheetFileService
> 	</parameter>
> 	<operation name="getTermSheetFile">
> 		<messageReceiver
> 			class="org.apache.axis2.rpc.receivers.RPCInOutAsyncMessageReceiver" />
> 	</operation>
> </service>
>   
> ------------------------------------------------------------------------

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Commented: (AXIS2-2357) SOAP Attachment not working

Posted by "Sigirisetty Surya Kiran (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-2357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12509790 ] 

Sigirisetty Surya Kiran commented on AXIS2-2357:
------------------------------------------------

Great! Thanks for the fix.  



> SOAP Attachment not working
> ---------------------------
>
>                 Key: AXIS2-2357
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2357
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: kernel, modules
>    Affects Versions: 1.1.1
>         Environment: axis2-1.1.1, JDK1.5.0_05, tomcat-5.5.20
>            Reporter: Sigirisetty Surya Kiran
>            Assignee: Thilina Gunarathne
>            Priority: Blocker
>             Fix For: 1.3
>
>         Attachments: AXIS2-2357.zip
>
>
> Hi Folks,
> I am trying to create a service which servers files. Client is successfully making call to service and infact
> service is executed successfully. But i am getting exception on server some where after service execution. 
> Pls let me know what's the possible cause.
> Env: Running Axis2-1.1.1 on tomcat.
> Mar 9, 2007 10:00:04 AM org.apache.axis2.rpc.receivers.RPCInOutAsyncMessageReceiver invokeBusinessLogic
> SEVERE: Exception occurred while trying to invoke service method getTermSheetFile
> java.lang.NullPointerException
> 	at org.apache.axis2.databinding.utils.BeanUtil.getPullParser(BeanUtil.java:197)
> 	at org.apache.axis2.rpc.receivers.RPCUtil.processResponse(RPCUtil.java:90)
> 	at org.apache.axis2.rpc.receivers.RPCUtil.processResponse(RPCUtil.java:192)
> 	at org.apache.axis2.rpc.receivers.RPCInOutAsyncMessageReceiver.invokeBusinessLogic(RPCInOutAsyncMessageReceiver.java:121)
> 	at org.apache.axis2.receivers.AbstractInOutAsyncMessageReceiver$2.run(AbstractInOutAsyncMessageReceiver.java:61)
> 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
> 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
> 	at java.lang.Thread.run(Unknown Source)
> Exception in thread "Axis2 Task" java.lang.NullPointerException
> 	at org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:746)
> 	at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:433)
> 	at org.apache.coyote.http11.InternalOutputBuffer.flush(InternalOutputBuffer.java:304)
> 	at org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:991)
> 	at org.apache.coyote.Response.action(Response.java:182)
> 	at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:322)
> 	at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:293)
> 	at org.apache.catalina.connector.CoyoteOutputStream.flush(CoyoteOutputStream.java:97)
> 	at java.io.BufferedOutputStream.flush(Unknown Source)
> 	at com.ctc.wstx.io.UTF8Writer.flush(UTF8Writer.java:99)
> 	at com.ctc.wstx.sw.BufferingXmlWriter.flush(BufferingXmlWriter.java:184)
> 	at com.ctc.wstx.sw.BaseStreamWriter.flush(BaseStreamWriter.java:311)
> 	at org.apache.axiom.om.impl.MTOMXMLStreamWriter.flush(MTOMXMLStreamWriter.java:115)
> 	at org.apache.axiom.om.impl.llom.OMNodeImpl.serializeAndConsume(OMNodeImpl.java:420)
> 	at org.apache.axis2.transport.http.CommonsHTTPTransportSender.sendUsingOutputStream(CommonsHTTPTransportSender.java:276)
> 	at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:208)
> 	at org.apache.axis2.engine.AxisEngine.sendFault(AxisEngine.java:714)
> 	at org.apache.axis2.receivers.AbstractInOutAsyncMessageReceiver$1.handleFault(AbstractInOutAsyncMessageReceiver.java:51)
> 	at org.apache.axis2.receivers.AbstractInOutAsyncMessageReceiver$2.run(AbstractInOutAsyncMessageReceiver.java:68)
> 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
> 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
> 	at java.lang.Thread.run(Unknown Source)
>  
> cheers,
> sigirisetti
>   
> ------------------------------------------------------------------------
> >
> Mar 9, 2007 9:57:31 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
> INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jre1.5.0_05\bin;.;C:\WINNT\system32;C:\WINNT;C:\Program Files\WRQ\Reflection;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Program Files\Real\Realplayer;C:\WINNT\System32\Wbem;C:\Program Files\sql11\DLL;C:\Program Files\sql11\BIN;C:\Program Files\jetform\5.2\;C:\Program Files\Oracle\ora92\bin;C:\Program Files\SimonTatham\Putty\;C:\Program Files\Sybase\shared\powerbuilder;C:\Program Files\rational\clearcase\bin;C:\Java\maven-2.0.4\bin;C:\Sun\SDK\bin;C:\Sun\jwsdp-2.0\jwsdp-shared\bin;C:\Java\jad
> Mar 9, 2007 9:57:31 AM org.apache.coyote.http11.Http11BaseProtocol init
> INFO: Initializing Coyote HTTP/1.1 on http-8080
> Mar 9, 2007 9:57:31 AM org.apache.catalina.startup.Catalina load
> INFO: Initialization processed in 906 ms
> Mar 9, 2007 9:57:31 AM org.apache.catalina.core.StandardService start
> INFO: Starting service Catalina
> Mar 9, 2007 9:57:31 AM org.apache.catalina.core.StandardEngine start
> INFO: Starting Servlet Engine: Apache Tomcat/5.5.20
> Mar 9, 2007 9:57:31 AM org.apache.catalina.core.StandardHost start
> INFO: XML validation disabled
> Mar 9, 2007 9:57:32 AM org.apache.axis2.deployment.DeploymentEngine doDeploy
> INFO: Deploying module : addressing-1.1.1
> Mar 9, 2007 9:57:33 AM org.apache.axis2.deployment.DeploymentEngine doDeploy
> INFO: Deploying module : sandesha2-1.1
> Mar 9, 2007 9:57:33 AM org.apache.axis2.deployment.DeploymentEngine doDeploy
> INFO: Deploying module : soapmonitor-1.1.1
> Mar 9, 2007 9:57:33 AM org.apache.axis2.deployment.DeploymentEngine doDeploy
> INFO: Deploying Web service  RMSampleService.aar
> Mar 9, 2007 9:57:33 AM org.apache.axis2.deployment.DeploymentEngine doDeploy
> INFO: Deploying Web service  termsheet.aar
> Mar 9, 2007 9:57:33 AM org.apache.axis2.deployment.DeploymentEngine doDeploy
> INFO: Deploying Web service  version.aar
> Mar 9, 2007 9:57:33 AM org.apache.coyote.http11.Http11BaseProtocol start
> INFO: Starting Coyote HTTP/1.1 on http-8080
> Mar 9, 2007 9:57:34 AM org.apache.jk.common.ChannelSocket init
> INFO: JK: ajp13 listening on /0.0.0.0:8009
> Mar 9, 2007 9:57:34 AM org.apache.jk.server.JkMain start
> INFO: Jk running ID=0 time=0/31  config=null
> Mar 9, 2007 9:57:34 AM org.apache.catalina.storeconfig.StoreLoader load
> INFO: Find registry server-registry.xml at classpath resource
> Mar 9, 2007 9:57:34 AM org.apache.catalina.startup.Catalina start
> INFO: Server startup in 3000 ms
> file:/C:/Documents and Settings/sigirsu/Desktop/termsheet/XS0271956954.pdf
> Mar 9, 2007 10:00:04 AM org.apache.axis2.rpc.receivers.RPCInOutAsyncMessageReceiver invokeBusinessLogic
> SEVERE: Exception occurred while trying to invoke service method getTermSheetFile
> java.lang.NullPointerException
> 	at org.apache.axis2.databinding.utils.BeanUtil.getPullParser(BeanUtil.java:197)
> 	at org.apache.axis2.rpc.receivers.RPCUtil.processResponse(RPCUtil.java:90)
> 	at org.apache.axis2.rpc.receivers.RPCUtil.processResponse(RPCUtil.java:192)
> 	at org.apache.axis2.rpc.receivers.RPCInOutAsyncMessageReceiver.invokeBusinessLogic(RPCInOutAsyncMessageReceiver.java:121)
> 	at org.apache.axis2.receivers.AbstractInOutAsyncMessageReceiver$2.run(AbstractInOutAsyncMessageReceiver.java:61)
> 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
> 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
> 	at java.lang.Thread.run(Unknown Source)
> Exception in thread "Axis2 Task" java.lang.NullPointerException
> 	at org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:746)
> 	at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:433)
> 	at org.apache.coyote.http11.InternalOutputBuffer.flush(InternalOutputBuffer.java:304)
> 	at org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:991)
> 	at org.apache.coyote.Response.action(Response.java:182)
> 	at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:322)
> 	at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:293)
> 	at org.apache.catalina.connector.CoyoteOutputStream.flush(CoyoteOutputStream.java:97)
> 	at java.io.BufferedOutputStream.flush(Unknown Source)
> 	at com.ctc.wstx.io.UTF8Writer.flush(UTF8Writer.java:99)
> 	at com.ctc.wstx.sw.BufferingXmlWriter.flush(BufferingXmlWriter.java:184)
> 	at com.ctc.wstx.sw.BaseStreamWriter.flush(BaseStreamWriter.java:311)
> 	at org.apache.axiom.om.impl.MTOMXMLStreamWriter.flush(MTOMXMLStreamWriter.java:115)
> 	at org.apache.axiom.om.impl.llom.OMNodeImpl.serializeAndConsume(OMNodeImpl.java:420)
> 	at org.apache.axis2.transport.http.CommonsHTTPTransportSender.sendUsingOutputStream(CommonsHTTPTransportSender.java:276)
> 	at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:208)
> 	at org.apache.axis2.engine.AxisEngine.sendFault(AxisEngine.java:714)
> 	at org.apache.axis2.receivers.AbstractInOutAsyncMessageReceiver$1.handleFault(AbstractInOutAsyncMessageReceiver.java:51)
> 	at org.apache.axis2.receivers.AbstractInOutAsyncMessageReceiver$2.run(AbstractInOutAsyncMessageReceiver.java:68)
> 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
> 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
> 	at java.lang.Thread.run(Unknown Source)
>   
> ------------------------------------------------------------------------
> <service name="TermsheetService">
> 	<description>Termsheet Service</description>
> 	<parameter name="ServiceClass" locked="false">
> 		com.ssk.ws.termsheet.TermsheetFileService
> 	</parameter>
> 	<operation name="getTermSheetFile">
> 		<messageReceiver
> 			class="org.apache.axis2.rpc.receivers.RPCInOutAsyncMessageReceiver" />
> 	</operation>
> </service>
>   
> ------------------------------------------------------------------------

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Updated: (AXIS2-2357) SOAP Attachment not working

Posted by "Sigirisetty Surya Kiran (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2357?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sigirisetty Surya Kiran updated AXIS2-2357:
-------------------------------------------

    Attachment: AXIS2-2357.zip

> SOAP Attachment not working
> ---------------------------
>
>                 Key: AXIS2-2357
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2357
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: kernel, modules
>    Affects Versions: 1.1.1
>         Environment: axis2-1.1.1, JDK1.5.0_05, tomcat-5.5.20
>            Reporter: Sigirisetty Surya Kiran
>         Attachments: AXIS2-2357.zip
>
>
> Hi Folks,
> I am trying to create a service which servers files. Client is successfully making call to service and infact
> service is executed successfully. But i am getting exception on server some where after service execution. 
> Pls let me know what's the possible cause.
> Env: Running Axis2-1.1.1 on tomcat.
> Mar 9, 2007 10:00:04 AM org.apache.axis2.rpc.receivers.RPCInOutAsyncMessageReceiver invokeBusinessLogic
> SEVERE: Exception occurred while trying to invoke service method getTermSheetFile
> java.lang.NullPointerException
> 	at org.apache.axis2.databinding.utils.BeanUtil.getPullParser(BeanUtil.java:197)
> 	at org.apache.axis2.rpc.receivers.RPCUtil.processResponse(RPCUtil.java:90)
> 	at org.apache.axis2.rpc.receivers.RPCUtil.processResponse(RPCUtil.java:192)
> 	at org.apache.axis2.rpc.receivers.RPCInOutAsyncMessageReceiver.invokeBusinessLogic(RPCInOutAsyncMessageReceiver.java:121)
> 	at org.apache.axis2.receivers.AbstractInOutAsyncMessageReceiver$2.run(AbstractInOutAsyncMessageReceiver.java:61)
> 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
> 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
> 	at java.lang.Thread.run(Unknown Source)
> Exception in thread "Axis2 Task" java.lang.NullPointerException
> 	at org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:746)
> 	at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:433)
> 	at org.apache.coyote.http11.InternalOutputBuffer.flush(InternalOutputBuffer.java:304)
> 	at org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:991)
> 	at org.apache.coyote.Response.action(Response.java:182)
> 	at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:322)
> 	at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:293)
> 	at org.apache.catalina.connector.CoyoteOutputStream.flush(CoyoteOutputStream.java:97)
> 	at java.io.BufferedOutputStream.flush(Unknown Source)
> 	at com.ctc.wstx.io.UTF8Writer.flush(UTF8Writer.java:99)
> 	at com.ctc.wstx.sw.BufferingXmlWriter.flush(BufferingXmlWriter.java:184)
> 	at com.ctc.wstx.sw.BaseStreamWriter.flush(BaseStreamWriter.java:311)
> 	at org.apache.axiom.om.impl.MTOMXMLStreamWriter.flush(MTOMXMLStreamWriter.java:115)
> 	at org.apache.axiom.om.impl.llom.OMNodeImpl.serializeAndConsume(OMNodeImpl.java:420)
> 	at org.apache.axis2.transport.http.CommonsHTTPTransportSender.sendUsingOutputStream(CommonsHTTPTransportSender.java:276)
> 	at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:208)
> 	at org.apache.axis2.engine.AxisEngine.sendFault(AxisEngine.java:714)
> 	at org.apache.axis2.receivers.AbstractInOutAsyncMessageReceiver$1.handleFault(AbstractInOutAsyncMessageReceiver.java:51)
> 	at org.apache.axis2.receivers.AbstractInOutAsyncMessageReceiver$2.run(AbstractInOutAsyncMessageReceiver.java:68)
> 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
> 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
> 	at java.lang.Thread.run(Unknown Source)
>  
> cheers,
> sigirisetti
>   
> ------------------------------------------------------------------------
> >
> Mar 9, 2007 9:57:31 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
> INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jre1.5.0_05\bin;.;C:\WINNT\system32;C:\WINNT;C:\Program Files\WRQ\Reflection;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Program Files\Real\Realplayer;C:\WINNT\System32\Wbem;C:\Program Files\sql11\DLL;C:\Program Files\sql11\BIN;C:\Program Files\jetform\5.2\;C:\Program Files\Oracle\ora92\bin;C:\Program Files\SimonTatham\Putty\;C:\Program Files\Sybase\shared\powerbuilder;C:\Program Files\rational\clearcase\bin;C:\Java\maven-2.0.4\bin;C:\Sun\SDK\bin;C:\Sun\jwsdp-2.0\jwsdp-shared\bin;C:\Java\jad
> Mar 9, 2007 9:57:31 AM org.apache.coyote.http11.Http11BaseProtocol init
> INFO: Initializing Coyote HTTP/1.1 on http-8080
> Mar 9, 2007 9:57:31 AM org.apache.catalina.startup.Catalina load
> INFO: Initialization processed in 906 ms
> Mar 9, 2007 9:57:31 AM org.apache.catalina.core.StandardService start
> INFO: Starting service Catalina
> Mar 9, 2007 9:57:31 AM org.apache.catalina.core.StandardEngine start
> INFO: Starting Servlet Engine: Apache Tomcat/5.5.20
> Mar 9, 2007 9:57:31 AM org.apache.catalina.core.StandardHost start
> INFO: XML validation disabled
> Mar 9, 2007 9:57:32 AM org.apache.axis2.deployment.DeploymentEngine doDeploy
> INFO: Deploying module : addressing-1.1.1
> Mar 9, 2007 9:57:33 AM org.apache.axis2.deployment.DeploymentEngine doDeploy
> INFO: Deploying module : sandesha2-1.1
> Mar 9, 2007 9:57:33 AM org.apache.axis2.deployment.DeploymentEngine doDeploy
> INFO: Deploying module : soapmonitor-1.1.1
> Mar 9, 2007 9:57:33 AM org.apache.axis2.deployment.DeploymentEngine doDeploy
> INFO: Deploying Web service  RMSampleService.aar
> Mar 9, 2007 9:57:33 AM org.apache.axis2.deployment.DeploymentEngine doDeploy
> INFO: Deploying Web service  termsheet.aar
> Mar 9, 2007 9:57:33 AM org.apache.axis2.deployment.DeploymentEngine doDeploy
> INFO: Deploying Web service  version.aar
> Mar 9, 2007 9:57:33 AM org.apache.coyote.http11.Http11BaseProtocol start
> INFO: Starting Coyote HTTP/1.1 on http-8080
> Mar 9, 2007 9:57:34 AM org.apache.jk.common.ChannelSocket init
> INFO: JK: ajp13 listening on /0.0.0.0:8009
> Mar 9, 2007 9:57:34 AM org.apache.jk.server.JkMain start
> INFO: Jk running ID=0 time=0/31  config=null
> Mar 9, 2007 9:57:34 AM org.apache.catalina.storeconfig.StoreLoader load
> INFO: Find registry server-registry.xml at classpath resource
> Mar 9, 2007 9:57:34 AM org.apache.catalina.startup.Catalina start
> INFO: Server startup in 3000 ms
> file:/C:/Documents and Settings/sigirsu/Desktop/termsheet/XS0271956954.pdf
> Mar 9, 2007 10:00:04 AM org.apache.axis2.rpc.receivers.RPCInOutAsyncMessageReceiver invokeBusinessLogic
> SEVERE: Exception occurred while trying to invoke service method getTermSheetFile
> java.lang.NullPointerException
> 	at org.apache.axis2.databinding.utils.BeanUtil.getPullParser(BeanUtil.java:197)
> 	at org.apache.axis2.rpc.receivers.RPCUtil.processResponse(RPCUtil.java:90)
> 	at org.apache.axis2.rpc.receivers.RPCUtil.processResponse(RPCUtil.java:192)
> 	at org.apache.axis2.rpc.receivers.RPCInOutAsyncMessageReceiver.invokeBusinessLogic(RPCInOutAsyncMessageReceiver.java:121)
> 	at org.apache.axis2.receivers.AbstractInOutAsyncMessageReceiver$2.run(AbstractInOutAsyncMessageReceiver.java:61)
> 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
> 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
> 	at java.lang.Thread.run(Unknown Source)
> Exception in thread "Axis2 Task" java.lang.NullPointerException
> 	at org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:746)
> 	at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:433)
> 	at org.apache.coyote.http11.InternalOutputBuffer.flush(InternalOutputBuffer.java:304)
> 	at org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:991)
> 	at org.apache.coyote.Response.action(Response.java:182)
> 	at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:322)
> 	at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:293)
> 	at org.apache.catalina.connector.CoyoteOutputStream.flush(CoyoteOutputStream.java:97)
> 	at java.io.BufferedOutputStream.flush(Unknown Source)
> 	at com.ctc.wstx.io.UTF8Writer.flush(UTF8Writer.java:99)
> 	at com.ctc.wstx.sw.BufferingXmlWriter.flush(BufferingXmlWriter.java:184)
> 	at com.ctc.wstx.sw.BaseStreamWriter.flush(BaseStreamWriter.java:311)
> 	at org.apache.axiom.om.impl.MTOMXMLStreamWriter.flush(MTOMXMLStreamWriter.java:115)
> 	at org.apache.axiom.om.impl.llom.OMNodeImpl.serializeAndConsume(OMNodeImpl.java:420)
> 	at org.apache.axis2.transport.http.CommonsHTTPTransportSender.sendUsingOutputStream(CommonsHTTPTransportSender.java:276)
> 	at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:208)
> 	at org.apache.axis2.engine.AxisEngine.sendFault(AxisEngine.java:714)
> 	at org.apache.axis2.receivers.AbstractInOutAsyncMessageReceiver$1.handleFault(AbstractInOutAsyncMessageReceiver.java:51)
> 	at org.apache.axis2.receivers.AbstractInOutAsyncMessageReceiver$2.run(AbstractInOutAsyncMessageReceiver.java:68)
> 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
> 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
> 	at java.lang.Thread.run(Unknown Source)
>   
> ------------------------------------------------------------------------
> <service name="TermsheetService">
> 	<description>Termsheet Service</description>
> 	<parameter name="ServiceClass" locked="false">
> 		com.ssk.ws.termsheet.TermsheetFileService
> 	</parameter>
> 	<operation name="getTermSheetFile">
> 		<messageReceiver
> 			class="org.apache.axis2.rpc.receivers.RPCInOutAsyncMessageReceiver" />
> 	</operation>
> </service>
>   
> ------------------------------------------------------------------------

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Commented: (AXIS2-2357) SOAP Attachment not working

Posted by "Deepal Jayasinghe (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-2357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12505532 ] 

Deepal Jayasinghe commented on AXIS2-2357:
------------------------------------------

When I debug I found the the issue is Axis2 is not sending the attachment , there was no any NPEs but Axis2 send the response as base64 even if I have enableSwA set to true , but I can not see that Axis2 is send the data as Attachments.

Seems like the problem is in Attachment handling in Axis2 , and I even look at the test cases , but it copy the incoming attachments map to out put one. But if we do not have incoming attachment map then our attachment does not work.

Thilina : Any idea about this ?

> SOAP Attachment not working
> ---------------------------
>
>                 Key: AXIS2-2357
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2357
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: kernel, modules
>    Affects Versions: 1.1.1
>         Environment: axis2-1.1.1, JDK1.5.0_05, tomcat-5.5.20
>            Reporter: Sigirisetty Surya Kiran
>            Assignee: Deepal Jayasinghe
>            Priority: Blocker
>         Attachments: AXIS2-2357.zip
>
>
> Hi Folks,
> I am trying to create a service which servers files. Client is successfully making call to service and infact
> service is executed successfully. But i am getting exception on server some where after service execution. 
> Pls let me know what's the possible cause.
> Env: Running Axis2-1.1.1 on tomcat.
> Mar 9, 2007 10:00:04 AM org.apache.axis2.rpc.receivers.RPCInOutAsyncMessageReceiver invokeBusinessLogic
> SEVERE: Exception occurred while trying to invoke service method getTermSheetFile
> java.lang.NullPointerException
> 	at org.apache.axis2.databinding.utils.BeanUtil.getPullParser(BeanUtil.java:197)
> 	at org.apache.axis2.rpc.receivers.RPCUtil.processResponse(RPCUtil.java:90)
> 	at org.apache.axis2.rpc.receivers.RPCUtil.processResponse(RPCUtil.java:192)
> 	at org.apache.axis2.rpc.receivers.RPCInOutAsyncMessageReceiver.invokeBusinessLogic(RPCInOutAsyncMessageReceiver.java:121)
> 	at org.apache.axis2.receivers.AbstractInOutAsyncMessageReceiver$2.run(AbstractInOutAsyncMessageReceiver.java:61)
> 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
> 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
> 	at java.lang.Thread.run(Unknown Source)
> Exception in thread "Axis2 Task" java.lang.NullPointerException
> 	at org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:746)
> 	at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:433)
> 	at org.apache.coyote.http11.InternalOutputBuffer.flush(InternalOutputBuffer.java:304)
> 	at org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:991)
> 	at org.apache.coyote.Response.action(Response.java:182)
> 	at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:322)
> 	at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:293)
> 	at org.apache.catalina.connector.CoyoteOutputStream.flush(CoyoteOutputStream.java:97)
> 	at java.io.BufferedOutputStream.flush(Unknown Source)
> 	at com.ctc.wstx.io.UTF8Writer.flush(UTF8Writer.java:99)
> 	at com.ctc.wstx.sw.BufferingXmlWriter.flush(BufferingXmlWriter.java:184)
> 	at com.ctc.wstx.sw.BaseStreamWriter.flush(BaseStreamWriter.java:311)
> 	at org.apache.axiom.om.impl.MTOMXMLStreamWriter.flush(MTOMXMLStreamWriter.java:115)
> 	at org.apache.axiom.om.impl.llom.OMNodeImpl.serializeAndConsume(OMNodeImpl.java:420)
> 	at org.apache.axis2.transport.http.CommonsHTTPTransportSender.sendUsingOutputStream(CommonsHTTPTransportSender.java:276)
> 	at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:208)
> 	at org.apache.axis2.engine.AxisEngine.sendFault(AxisEngine.java:714)
> 	at org.apache.axis2.receivers.AbstractInOutAsyncMessageReceiver$1.handleFault(AbstractInOutAsyncMessageReceiver.java:51)
> 	at org.apache.axis2.receivers.AbstractInOutAsyncMessageReceiver$2.run(AbstractInOutAsyncMessageReceiver.java:68)
> 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
> 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
> 	at java.lang.Thread.run(Unknown Source)
>  
> cheers,
> sigirisetti
>   
> ------------------------------------------------------------------------
> >
> Mar 9, 2007 9:57:31 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
> INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jre1.5.0_05\bin;.;C:\WINNT\system32;C:\WINNT;C:\Program Files\WRQ\Reflection;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Program Files\Real\Realplayer;C:\WINNT\System32\Wbem;C:\Program Files\sql11\DLL;C:\Program Files\sql11\BIN;C:\Program Files\jetform\5.2\;C:\Program Files\Oracle\ora92\bin;C:\Program Files\SimonTatham\Putty\;C:\Program Files\Sybase\shared\powerbuilder;C:\Program Files\rational\clearcase\bin;C:\Java\maven-2.0.4\bin;C:\Sun\SDK\bin;C:\Sun\jwsdp-2.0\jwsdp-shared\bin;C:\Java\jad
> Mar 9, 2007 9:57:31 AM org.apache.coyote.http11.Http11BaseProtocol init
> INFO: Initializing Coyote HTTP/1.1 on http-8080
> Mar 9, 2007 9:57:31 AM org.apache.catalina.startup.Catalina load
> INFO: Initialization processed in 906 ms
> Mar 9, 2007 9:57:31 AM org.apache.catalina.core.StandardService start
> INFO: Starting service Catalina
> Mar 9, 2007 9:57:31 AM org.apache.catalina.core.StandardEngine start
> INFO: Starting Servlet Engine: Apache Tomcat/5.5.20
> Mar 9, 2007 9:57:31 AM org.apache.catalina.core.StandardHost start
> INFO: XML validation disabled
> Mar 9, 2007 9:57:32 AM org.apache.axis2.deployment.DeploymentEngine doDeploy
> INFO: Deploying module : addressing-1.1.1
> Mar 9, 2007 9:57:33 AM org.apache.axis2.deployment.DeploymentEngine doDeploy
> INFO: Deploying module : sandesha2-1.1
> Mar 9, 2007 9:57:33 AM org.apache.axis2.deployment.DeploymentEngine doDeploy
> INFO: Deploying module : soapmonitor-1.1.1
> Mar 9, 2007 9:57:33 AM org.apache.axis2.deployment.DeploymentEngine doDeploy
> INFO: Deploying Web service  RMSampleService.aar
> Mar 9, 2007 9:57:33 AM org.apache.axis2.deployment.DeploymentEngine doDeploy
> INFO: Deploying Web service  termsheet.aar
> Mar 9, 2007 9:57:33 AM org.apache.axis2.deployment.DeploymentEngine doDeploy
> INFO: Deploying Web service  version.aar
> Mar 9, 2007 9:57:33 AM org.apache.coyote.http11.Http11BaseProtocol start
> INFO: Starting Coyote HTTP/1.1 on http-8080
> Mar 9, 2007 9:57:34 AM org.apache.jk.common.ChannelSocket init
> INFO: JK: ajp13 listening on /0.0.0.0:8009
> Mar 9, 2007 9:57:34 AM org.apache.jk.server.JkMain start
> INFO: Jk running ID=0 time=0/31  config=null
> Mar 9, 2007 9:57:34 AM org.apache.catalina.storeconfig.StoreLoader load
> INFO: Find registry server-registry.xml at classpath resource
> Mar 9, 2007 9:57:34 AM org.apache.catalina.startup.Catalina start
> INFO: Server startup in 3000 ms
> file:/C:/Documents and Settings/sigirsu/Desktop/termsheet/XS0271956954.pdf
> Mar 9, 2007 10:00:04 AM org.apache.axis2.rpc.receivers.RPCInOutAsyncMessageReceiver invokeBusinessLogic
> SEVERE: Exception occurred while trying to invoke service method getTermSheetFile
> java.lang.NullPointerException
> 	at org.apache.axis2.databinding.utils.BeanUtil.getPullParser(BeanUtil.java:197)
> 	at org.apache.axis2.rpc.receivers.RPCUtil.processResponse(RPCUtil.java:90)
> 	at org.apache.axis2.rpc.receivers.RPCUtil.processResponse(RPCUtil.java:192)
> 	at org.apache.axis2.rpc.receivers.RPCInOutAsyncMessageReceiver.invokeBusinessLogic(RPCInOutAsyncMessageReceiver.java:121)
> 	at org.apache.axis2.receivers.AbstractInOutAsyncMessageReceiver$2.run(AbstractInOutAsyncMessageReceiver.java:61)
> 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
> 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
> 	at java.lang.Thread.run(Unknown Source)
> Exception in thread "Axis2 Task" java.lang.NullPointerException
> 	at org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:746)
> 	at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:433)
> 	at org.apache.coyote.http11.InternalOutputBuffer.flush(InternalOutputBuffer.java:304)
> 	at org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:991)
> 	at org.apache.coyote.Response.action(Response.java:182)
> 	at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:322)
> 	at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:293)
> 	at org.apache.catalina.connector.CoyoteOutputStream.flush(CoyoteOutputStream.java:97)
> 	at java.io.BufferedOutputStream.flush(Unknown Source)
> 	at com.ctc.wstx.io.UTF8Writer.flush(UTF8Writer.java:99)
> 	at com.ctc.wstx.sw.BufferingXmlWriter.flush(BufferingXmlWriter.java:184)
> 	at com.ctc.wstx.sw.BaseStreamWriter.flush(BaseStreamWriter.java:311)
> 	at org.apache.axiom.om.impl.MTOMXMLStreamWriter.flush(MTOMXMLStreamWriter.java:115)
> 	at org.apache.axiom.om.impl.llom.OMNodeImpl.serializeAndConsume(OMNodeImpl.java:420)
> 	at org.apache.axis2.transport.http.CommonsHTTPTransportSender.sendUsingOutputStream(CommonsHTTPTransportSender.java:276)
> 	at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:208)
> 	at org.apache.axis2.engine.AxisEngine.sendFault(AxisEngine.java:714)
> 	at org.apache.axis2.receivers.AbstractInOutAsyncMessageReceiver$1.handleFault(AbstractInOutAsyncMessageReceiver.java:51)
> 	at org.apache.axis2.receivers.AbstractInOutAsyncMessageReceiver$2.run(AbstractInOutAsyncMessageReceiver.java:68)
> 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
> 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
> 	at java.lang.Thread.run(Unknown Source)
>   
> ------------------------------------------------------------------------
> <service name="TermsheetService">
> 	<description>Termsheet Service</description>
> 	<parameter name="ServiceClass" locked="false">
> 		com.ssk.ws.termsheet.TermsheetFileService
> 	</parameter>
> 	<operation name="getTermSheetFile">
> 		<messageReceiver
> 			class="org.apache.axis2.rpc.receivers.RPCInOutAsyncMessageReceiver" />
> 	</operation>
> </service>
>   
> ------------------------------------------------------------------------

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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