[SoapRMI] Embedded webserver fails without any error messages
Ramachandiran Karunanithi
Ramachandiran.Karunanithi_at_Fortel.com
Wed, 26 Feb 2003 14:36:35 -0500
Hi Alek-,
I'm using your xsoap implementation for java and trying to run an
sample application I created. When I start the soap server it starts
correctly and runs well. I checked that one by sending an "GET" message to
the soap server through IE Browser it came up with the response of "SoapRMI
1.2 Status:OK" and also I ran my client application and got the response
successfully. I allowed the soap server to run continuously in order to test
how long it is running without any problem. After some 5 or 6 hours when I
try sending the "GET" message to the soap server it fails and also when I
ran my client it says connection refused exception because the soap server
is not running in the specified port.
This is happening regularly, so I enabled the logging using
-Dlog=:ALL option so that I can figure out why it is dying. But the embedded
server has not logged anything before it died, even though the log all
option is enabled.
After this I changed the "HttpSocketSoapServer.java" class run method
to catch the Throwable exception and log the error message. After this
change I compiled all the java files using ant script you provided. After
this I restarted my soap server using the new jar file. This time also it
failed without logging any error messages in the log file. To cross check
whether I'm using the new jar file I added some log messages and those
messages where present in the log files from this I made sure I used the
changed files. But still I'm wondering how it failed without logging an
error message even after I'm catching the throwable exception. Can you have
any explanation why it is failing? or in other words why it stops
listening?.
The environment I'm using is Sun solaris( 64 bit),JRE1.3.1,xsoap
1.2.15.
Thanks
R.Karuna
-----Original Message-----
From: Aleksander Slominski [mailto:aslom_at_cs.indiana.edu]
Sent: Friday, February 21, 2003 4:41 PM
To: Sonali Kale
Cc: soaprmi_at_cs.indiana.edu
Subject: Re: [SoapRMI] XML Pull Parser in C++
Sonali Kale wrote:
>Hi,
>
hi Sonali,
>I am eager to use the XML Pull Parser in C++.
>But I see that it is available in Java.
>
yes
>Is the XML pull parser available in C++ ?
>Please let me know.
>
XPP1 is available but this rather old (over two years) and no longer
maintained: go to
http://www.extreme.indiana.edu/xgws/xsoap/xpp/download/old_versions/
and download PullParser11-OLD.*
new XPP3 is now under development but in meantime i would recommend
using XPP1 or C pull parsing interfaces that is part of libxml2, for
more details see: http://www.xmlsoft.org/xmlreader.html
>If not available, I will have to implement a pull
>based approach on top of a push based approach (using
>SAX parser). Does anyone have any inputs on this ?
>
that is not easy as you need to buffer SAX2 events so they can be pulled
and/or use another thread to do streaming.
thanks,
alek
--
"Mr. Pauli, we in the audience are all agreed that your theory is crazy.
What divides us is whether it is crazy enough to be true." Niels H. D. Bohr
_______________________________________________
SoapRMI mailing list
http://www.extreme.indiana.edu/soap
http://mailman.cs.indiana.edu/mailman/listinfo/soaprmi