Error send message to SimpleServer in Test Panel example

View: New views
3 Messages — Rating Filter:   Alert me  

Error send message to SimpleServer in Test Panel example

by fly2moon2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi All,

I'm new here and I got error while following the steps on the Test Panel page (http://hl7api.sourceforge.net/testpanel.html).

I did see the Simple Server got a message SENT from the Test Panel as seen in the command prompt window. However, it fails to reply/send back result to the Inbound Message Text box of the Test Panel. There are errors shown in the Simple Server command prompt: "Critical: Attempting to send error message to remote system.
ca.uhn.hl7v2.app.ApplicationException: Couldn't create response message: Can't i
nstantiate ACK of class ca.uhn.hl7v2.model.v24.message.ACK: java.lang.ClassNotFo
undException
        at ca.uhn.hl7v2.app.DefaultApplication.processMessage(DefaultApplication
.java:77)
        at ca.uhn.hl7v2.app.Responder.processMessage(Responder.java:159)
        at ca.uhn.hl7v2.app.Receiver$Grunt.run(Receiver.java:121)"

Failing to receive response, the Test Panel generate a time out error.  

In case it is relevant (for any libraries missing), I paste the command for launcing the Simple Server here:
java -classpath hapi-base-0.6.jar;commons-logging-1.0.4.jar ca.uhn.hl7v2.app.SimpleServer 8888

your help is much appreciated.

thanks!
jack ling

Re: Error send message to SimpleServer in Test Panel example

by AnjaliHL7 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm also new here and I also got the same error while following the steps on the Test Panel page

(http://hl7api.sourceforge.net/testpanel.html).

I did see the Simple Server got a message SENT from the Test Panel as seen in the command prompt window. However, it fails to reply/send back result to the Inbound Message Text box of the Test Panel. There are errors shown in the Simple Server command prompt: "Critical: Attempting to send error message to remote system.
ca.uhn.hl7v2.app.ApplicationException: Couldn't create response message: Can't i
nstantiate ACK of class ca.uhn.hl7v2.model.v24.message.ACK: java.lang.ClassNotFo
undException
        at ca.uhn.hl7v2.app.DefaultApplication.processMessage(DefaultApplication
.java:77)
        at ca.uhn.hl7v2.app.Responder.processMessage(Responder.java:159)
        at ca.uhn.hl7v2.app.Receiver$Grunt.run(Receiver.java:121)"

Failing to receive response, the Test Panel generate a time out error

Please help us to solve the error.

thanks.

fly2moon2 wrote:
Hi All,

I'm new here and I got error while following the steps on the Test Panel page (http://hl7api.sourceforge.net/testpanel.html).

I did see the Simple Server got a message SENT from the Test Panel as seen in the command prompt window. However, it fails to reply/send back result to the Inbound Message Text box of the Test Panel. There are errors shown in the Simple Server command prompt: "Critical: Attempting to send error message to remote system.
ca.uhn.hl7v2.app.ApplicationException: Couldn't create response message: Can't i
nstantiate ACK of class ca.uhn.hl7v2.model.v24.message.ACK: java.lang.ClassNotFo
undException
        at ca.uhn.hl7v2.app.DefaultApplication.processMessage(DefaultApplication
.java:77)
        at ca.uhn.hl7v2.app.Responder.processMessage(Responder.java:159)
        at ca.uhn.hl7v2.app.Receiver$Grunt.run(Receiver.java:121)"

Failing to receive response, the Test Panel generate a time out error.  

In case it is relevant (for any libraries missing), I paste the command for launcing the Simple Server here:
java -classpath hapi-base-0.6.jar;commons-logging-1.0.4.jar ca.uhn.hl7v2.app.SimpleServer 8888

your help is much appreciated.

thanks!
jack ling

Re: Error send message to SimpleServer in Test Panel example

by Martin Fleurke :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I believe the messages are in a separate jar. Download the jar-file(s)
that corresponds to the message version(s) you are using. Add them to
the classpath.
In your case it is at least the 2.4 messages.

Regards
Martin

AnjaliHL7 schreef:

> I'm also new here and I also got the same error while following the steps on
> the Test Panel page
>
> (http://hl7api.sourceforge.net/testpanel.html).
>
> I did see the Simple Server got a message SENT from the Test Panel as seen
> in the command prompt window. However, it fails to reply/send back result to
> the Inbound Message Text box of the Test Panel. There are errors shown in
> the Simple Server command prompt: "Critical: Attempting to send error
> message to remote system.
> ca.uhn.hl7v2.app.ApplicationException: Couldn't create response message:
> Can't i
> nstantiate ACK of class ca.uhn.hl7v2.model.v24.message.ACK:
> java.lang.ClassNotFo
> undException
>         at
> ca.uhn.hl7v2.app.DefaultApplication.processMessage(DefaultApplication
> .java:77)
>         at ca.uhn.hl7v2.app.Responder.processMessage(Responder.java:159)
>         at ca.uhn.hl7v2.app.Receiver$Grunt.run(Receiver.java:121)"
>
> Failing to receive response, the Test Panel generate a time out error
>
> Please help us to solve the error.
>
> thanks.
>
>
> fly2moon2 wrote:
>  
>> Hi All,
>>
>> I'm new here and I got error while following the steps on the Test Panel
>> page (http://hl7api.sourceforge.net/testpanel.html).
>>
>> I did see the Simple Server got a message SENT from the Test Panel as seen
>> in the command prompt window. However, it fails to reply/send back result
>> to the Inbound Message Text box of the Test Panel. There are errors shown
>> in the Simple Server command prompt: "Critical: Attempting to send error
>> message to remote system.
>> ca.uhn.hl7v2.app.ApplicationException: Couldn't create response message:
>> Can't i
>> nstantiate ACK of class ca.uhn.hl7v2.model.v24.message.ACK:
>> java.lang.ClassNotFo
>> undException
>>         at
>> ca.uhn.hl7v2.app.DefaultApplication.processMessage(DefaultApplication
>> .java:77)
>>         at ca.uhn.hl7v2.app.Responder.processMessage(Responder.java:159)
>>         at ca.uhn.hl7v2.app.Receiver$Grunt.run(Receiver.java:121)"
>>
>> Failing to receive response, the Test Panel generate a time out error.  
>>
>> In case it is relevant (for any libraries missing), I paste the command
>> for launcing the Simple Server here:
>> java -classpath hapi-base-0.6.jar;commons-logging-1.0.4.jar
>> ca.uhn.hl7v2.app.SimpleServer 8888
>>
>> your help is much appreciated.
>>
>> thanks!
>> jack ling
>>
>>
>>    
>
>  

[martin_fleurke.vcf]

begin:vcard
fn:Ir. A.M. Fleurke
n:Fleurke;Martin
org:Portavita BV
adr:[Postbus 1287, 1000 BG Amsterdam];;Oostenburgervoorstraat 106-114;Amsterdam;Noord-Holland;1018MR;Nederland
email;internet:martin.fleurke@...
title:Software Engineer
tel;work:+31208200514
tel;fax:+31208200501
url:http://www.portavita.nl
version:2.1
end:vcard



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Hl7api-devel mailing list
Hl7api-devel@...
https://lists.sourceforge.net/lists/listinfo/hl7api-devel