[prev in list] [next in list] [prev in thread] [next in thread] 

List:       sandesha-dev
Subject:    Re: NullPointerException in echo_async_ack sample
From:       Chamikara Jayalath <chamikaramj () gmail ! com>
Date:       2005-09-17 5:58:08
Message-ID: 9d4ec10b05091622587a7034e6 () mail ! gmail ! com
[Download RAW message or body]

Hi Jeff,

The Sample ran fine for me with the following output.

EchoClientAsyncAck Started ........
The Response for First Messsage is :Sandesha Echo 1
The Response for Second Messsage is :Sandesha Echo 1Sandesha Echo 2
The Response for Third Messsage is :Sandesha Echo 1Sandesha Echo 2Sandesha 
Echo 3

***********Printing RM Report***********
Is all messages acked - true
No of response messages - 3
****************************************

Please make sure u did following.
Put files in the 'conf' directory and the server-cofig.wsdd in the 'samples' 
directory to ur classpath.

Start the tcpmon correctly as given below.
8070 -> 8080
9070 -> 9090


Start the SimpleServerImpl class given in the test/org/apache/sandesha/.

Now run the samples.
it should work.

Chamikara


On 9/16/05, Jeffrey Crump <jcrump@sonicsoftware.com> wrote:
> 
> Hi,
> 
> I'm having trouble running the echo_async_ack sample:
> 
> [java] EchoClientAsyncAck Started ........
> [java] - Unable to find required classes
> (javax.activation.DataHandler andavax.mail.internet.MimeMultipart).
> Attachment support is disabled.
> [java] - starting up SimpleAxisServer on port 9090 (C:\Java
> Technologies\Sandesha-1.0\samples)
> [java] The Response for First Messsage is :Sandesha Echo 1
> [java] - java.lang.NullPointerException
> [java] The Response for Second Messsage is :Sandesha Echo 1Sandesha
> Echo 2
> 
> [java] - java.lang.NullPointerException
> [java] The Response for Third Messsage is :Sandesha Echo 1Sandesha
> Echo 2Sandesha Echo 3
> [java] - java.lang.NullPointerException
> [java] - java.lang.NullPointerException
> 
> The test never completes, so I suspect the NPE is the culprit. Where is
> it coming from? Does anyone have any suggestions?
> 
> Thanks,
> 
> Jeff
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: sandesha-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: sandesha-dev-help@ws.apache.org
> 
>

[Attachment #3 (text/html)]

Hi Jeff,<br>
<br>
The Sample ran fine for me with the following output.<br>
<br>
EchoClientAsyncAck Started ........<br>
The Response for First Messsage is&nbsp; :Sandesha Echo 1<br>
The Response for Second Messsage is&nbsp; :Sandesha Echo 1Sandesha Echo 2<br>
The Response for Third Messsage is&nbsp; :Sandesha Echo 1Sandesha Echo 2Sandesha Echo \
3<br> <br>
***********Printing RM Report***********<br>
Is all messages acked&nbsp;&nbsp;&nbsp;&nbsp; - true<br>
No of response messages&nbsp;&nbsp; - 3<br>
****************************************<br>
<br>
Please make sure u did following.<br>
Put files in the 'conf' directory and the server-cofig.wsdd in the 'samples' \
directory to ur classpath.<br> <br>
Start the tcpmon correctly as given below.<br>
8070 -&gt; 8080<br>
9070 -&gt; 9090<br>
<br>
<br>
Start the SimpleServerImpl class given in the test/org/apache/sandesha/.<br>
<br>
Now run the samples.<br>
it should work.<br>
<br>
Chamikara<br>
<br><br><div><span class="gmail_quote">On 9/16/05, <b \
class="gmail_sendername">Jeffrey Crump</b> &lt;<a \
href="mailto:jcrump@sonicsoftware.com">jcrump@sonicsoftware.com</a>&gt; \
wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, \
204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> Hi,<br><br>I'm having \
trouble running the echo_async_ack sample:<br><br>&nbsp;&nbsp;&nbsp;&nbsp;[java] \
EchoClientAsyncAck Started ........<br>&nbsp;&nbsp;&nbsp;&nbsp;[java] - Unable to \
find required classes<br>(javax.activation.DataHandler \
andavax.mail.internet.MimeMultipart ).<br>Attachment support is \
disabled.<br>&nbsp;&nbsp;&nbsp;&nbsp;[java] - starting up SimpleAxisServer on port \
9090 (C:\Java<br>Technologies\Sandesha-1.0\samples)<br>&nbsp;&nbsp;&nbsp;&nbsp;[java] \
The Response for First Messsage is&nbsp;&nbsp;:Sandesha Echo \
1<br>&nbsp;&nbsp;&nbsp;&nbsp;[java] -  \
java.lang.NullPointerException<br>&nbsp;&nbsp;&nbsp;&nbsp;[java] The Response for \
Second Messsage is&nbsp;&nbsp;:Sandesha Echo 1Sandesha<br>Echo \
2<br><br>&nbsp;&nbsp;&nbsp;&nbsp;[java] - \
java.lang.NullPointerException<br>&nbsp;&nbsp;&nbsp;&nbsp;[java] The Response for \
Third Messsage is&nbsp;&nbsp;:Sandesha Echo 1Sandesha <br>Echo 2Sandesha Echo \
3<br>&nbsp;&nbsp;&nbsp;&nbsp;[java] - \
java.lang.NullPointerException<br>&nbsp;&nbsp;&nbsp;&nbsp;[java] - \
java.lang.NullPointerException<br><br>The test never completes, so I suspect the NPE \
is the culprit.&nbsp;&nbsp;Where is<br>it coming from?&nbsp;&nbsp;Does anyone have \
any suggestions? <br><br>Thanks,<br><br>Jeff<br><br>---------------------------------------------------------------------<br>To \
unsubscribe, e-mail: <a \
href="mailto:sandesha-dev-unsubscribe@ws.apache.org">sandesha-dev-unsubscribe@ws.apache.org
 </a><br>For additional commands, e-mail: <a \
href="mailto:sandesha-dev-help@ws.apache.org">sandesha-dev-help@ws.apache.org</a><br><br></blockquote></div><br>




[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic