You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Rabl Mario <ma...@uta.at> on 2003/07/01 11:28:17 UTC

Soap-Call doesn't open IP-Connection

Hi,

I'm running Tomcat 4 on a RedHat 7.3 server.

When I try to call a Soap-Server, no TCP/IP-Socket will be opened (using
"tcpdump -n -nn -i eth0 host xxx.xxx.xxx.xxx" to determine) and no network
activity is shown up.

The Test-Callup:

/usr/java/j2re1.4.2/bin/java -verbose:jni -cp
"/usr/java/j2re1.4.2/jre/lib/jsse.jar:/usr/java/j2re1.4.2/jre/lib/rt.jar:/op
t/jakarta-tomcat/common/lib/jdom.jar:/opt/jakarta-tomcat/common/lib/xerces.j
ar:/opt/jakarta-tomcat/common/lib/soap.jar:/opt/jakarta-tomcat/common/lib/ac
tivation.jar:/opt/jakarta-tomcat/common/lib/mailapi.jar::/opt/jakarta-tomcat
/common/lib/mail.jar" at.plot.soapclient.DemoSOAPClientSecure
/opt/jakarta-tomcat/ADSL_In/In_02742_73102_27500007132_2003.06.30_14_15_10.x
ml
/opt/jakarta-tomcat/ADSL_Out/Out_02742_73102_27500007132_2003.06.30_14_15_10
.xml https://icscweb2.telekom.at:7004/soap/servlet/rpcrouter
<https://icscweb2.telekom.at:7004/soap/servlet/rpcrouter>  <userhere>
<pwdhere>


If I call the same with http, the network is responding und "talking" to the
soap-server. 
...
Der SOAP-Aufruf wird durchgeführt...
[Dynamic-linking native method java.util.ResourceBundle.getClassContext ...
JNI]
[Dynamic-linking native method java.util.TimeZone.getSystemTimeZoneID ...
JNI]
[Dynamic-linking native method java.net.InetAddress.init ... JNI]
[Dynamic-linking native method
java.net.InetAddressImplFactory.isIPv6Supported ... JNI]
[Dynamic-linking native method java.net.Inet4AddressImpl.getLocalHostName
... JNI]
[Dynamic-linking native method java.net.Inet4AddressImpl.lookupAllHostAddr
... JNI]
[Dynamic-linking native method java.net.Inet4Address.init ... JNI]
[Dynamic-linking native method java.util.zip.Inflater.end ... JNI]
[Dynamic-linking native method java.net.PlainSocketImpl.initProto ... JNI]
[Dynamic-linking native method java.net.PlainSocketImpl.socketCreate ...
JNI]
[Dynamic-linking native method java.net.PlainSocketImpl.socketBind ... JNI]
[Dynamic-linking native method java.net.PlainSocketImpl.socketConnect ...
JNI]
[Dynamic-linking native method java.net.SocketOutputStream.init ... JNI]
[Dynamic-linking native method java.net.SocketInputStream.init ... JNI]
[Dynamic-linking native method java.net.SocketOutputStream.socketWrite0 ...
JNI]
[Dynamic-linking native method java.net.SocketInputStream.socketRead0 ...
JNI]
Der SOAP-Aufruf wurde beendet.
Ein Fehler ist aufgetreten.
Fehlermeldung: Error parsing HTTP status line "":
java.util.NoSuchElementException
Es wurde kein OUTFILE gespeichert.

With https the java-Output ends with:
...
Der SOAP-Aufruf wird durchgeführt...
[Dynamic-linking native method java.util.ResourceBundle.getClassContext ...
JNI]
[Dynamic-linking native method java.util.TimeZone.getSystemTimeZoneID ...
JNI]
[Dynamic-linking native method java.net.InetAddress.init ... JNI]
[Dynamic-linking native method
java.net.InetAddressImplFactory.isIPv6Supported ... JNI]
[Dynamic-linking native method java.net.Inet4AddressImpl.getLocalHostName
... JNI]
[Dynamic-linking native method java.net.Inet4AddressImpl.lookupAllHostAddr
... JNI]
[Dynamic-linking native method java.net.Inet4Address.init ... JNI]
[Dynamic-linking native method java.util.zip.Inflater.end ... JNI]
[Dynamic-linking native method java.io.FileInputStream.read ... JNI]
[Dynamic-linking native method java.lang.Runtime.totalMemory ... JNI]
[Dynamic-linking native method java.lang.Runtime.freeMemory ... JNI]

and nothing more happens.

This also happens, when the SOAP-Request is invoked by the applikation,
which is running on this Tomcat-Server.

Do anybody have an idea, what the reason may be?

thx a lot
mario = ; )
---------------------------------------------------------------------------
TIS.SAS.BSS - System Engineer
UTA Telekom AG
Donau-City-Straße 11 - A-1220 Wien
T: + 43/1/9009 3455
F: + 43/1/9009 9 3455 - M: + 43/699/1388 3455
ICQ# 28345707
---------------------------------------------------------------------------
Verbirg Dein Schwert hinter einem Lächeln. Sun Tsu 


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


Re: Soap-Call doesn't open IP-Connection

Posted by Antonio Fiol Bonnín <fi...@terra.es>.
Try -i lo

Good luck!


Antonio Fiol

Rabl Mario wrote:

>Hi,
>
>I'm running Tomcat 4 on a RedHat 7.3 server.
>
>When I try to call a Soap-Server, no TCP/IP-Socket will be opened (using
>"tcpdump -n -nn -i eth0 host xxx.xxx.xxx.xxx" to determine) and no network
>activity is shown up.
>
>The Test-Callup:
>
>/usr/java/j2re1.4.2/bin/java -verbose:jni -cp
>"/usr/java/j2re1.4.2/jre/lib/jsse.jar:/usr/java/j2re1.4.2/jre/lib/rt.jar:/op
>t/jakarta-tomcat/common/lib/jdom.jar:/opt/jakarta-tomcat/common/lib/xerces.j
>ar:/opt/jakarta-tomcat/common/lib/soap.jar:/opt/jakarta-tomcat/common/lib/ac
>tivation.jar:/opt/jakarta-tomcat/common/lib/mailapi.jar::/opt/jakarta-tomcat
>/common/lib/mail.jar" at.plot.soapclient.DemoSOAPClientSecure
>/opt/jakarta-tomcat/ADSL_In/In_02742_73102_27500007132_2003.06.30_14_15_10.x
>ml
>/opt/jakarta-tomcat/ADSL_Out/Out_02742_73102_27500007132_2003.06.30_14_15_10
>.xml https://icscweb2.telekom.at:7004/soap/servlet/rpcrouter
><https://icscweb2.telekom.at:7004/soap/servlet/rpcrouter>  <userhere>
><pwdhere>
>
>
>If I call the same with http, the network is responding und "talking" to the
>soap-server. 
>...
>Der SOAP-Aufruf wird durchgeführt...
>[Dynamic-linking native method java.util.ResourceBundle.getClassContext ...
>JNI]
>[Dynamic-linking native method java.util.TimeZone.getSystemTimeZoneID ...
>JNI]
>[Dynamic-linking native method java.net.InetAddress.init ... JNI]
>[Dynamic-linking native method
>java.net.InetAddressImplFactory.isIPv6Supported ... JNI]
>[Dynamic-linking native method java.net.Inet4AddressImpl.getLocalHostName
>... JNI]
>[Dynamic-linking native method java.net.Inet4AddressImpl.lookupAllHostAddr
>... JNI]
>[Dynamic-linking native method java.net.Inet4Address.init ... JNI]
>[Dynamic-linking native method java.util.zip.Inflater.end ... JNI]
>[Dynamic-linking native method java.net.PlainSocketImpl.initProto ... JNI]
>[Dynamic-linking native method java.net.PlainSocketImpl.socketCreate ...
>JNI]
>[Dynamic-linking native method java.net.PlainSocketImpl.socketBind ... JNI]
>[Dynamic-linking native method java.net.PlainSocketImpl.socketConnect ...
>JNI]
>[Dynamic-linking native method java.net.SocketOutputStream.init ... JNI]
>[Dynamic-linking native method java.net.SocketInputStream.init ... JNI]
>[Dynamic-linking native method java.net.SocketOutputStream.socketWrite0 ...
>JNI]
>[Dynamic-linking native method java.net.SocketInputStream.socketRead0 ...
>JNI]
>Der SOAP-Aufruf wurde beendet.
>Ein Fehler ist aufgetreten.
>Fehlermeldung: Error parsing HTTP status line "":
>java.util.NoSuchElementException
>Es wurde kein OUTFILE gespeichert.
>
>With https the java-Output ends with:
>...
>Der SOAP-Aufruf wird durchgeführt...
>[Dynamic-linking native method java.util.ResourceBundle.getClassContext ...
>JNI]
>[Dynamic-linking native method java.util.TimeZone.getSystemTimeZoneID ...
>JNI]
>[Dynamic-linking native method java.net.InetAddress.init ... JNI]
>[Dynamic-linking native method
>java.net.InetAddressImplFactory.isIPv6Supported ... JNI]
>[Dynamic-linking native method java.net.Inet4AddressImpl.getLocalHostName
>... JNI]
>[Dynamic-linking native method java.net.Inet4AddressImpl.lookupAllHostAddr
>... JNI]
>[Dynamic-linking native method java.net.Inet4Address.init ... JNI]
>[Dynamic-linking native method java.util.zip.Inflater.end ... JNI]
>[Dynamic-linking native method java.io.FileInputStream.read ... JNI]
>[Dynamic-linking native method java.lang.Runtime.totalMemory ... JNI]
>[Dynamic-linking native method java.lang.Runtime.freeMemory ... JNI]
>
>and nothing more happens.
>
>This also happens, when the SOAP-Request is invoked by the applikation,
>which is running on this Tomcat-Server.
>
>Do anybody have an idea, what the reason may be?
>
>thx a lot
>mario = ; )
>---------------------------------------------------------------------------
>TIS.SAS.BSS - System Engineer
>UTA Telekom AG
>Donau-City-Straße 11 - A-1220 Wien
>T: + 43/1/9009 3455
>F: + 43/1/9009 9 3455 - M: + 43/699/1388 3455
>ICQ# 28345707
>---------------------------------------------------------------------------
>Verbirg Dein Schwert hinter einem Lächeln. Sun Tsu 
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
>  
>


Session ... Problem

Posted by Puneet Sachar <pu...@yahoo.com>.
Kindly tell me the disadvantages of using session
variables in any application..

Right now i'm working on psp.

What are the points one should take care of when
creating the session variables

how much the value it can hold and how many session
variable i can have

taking all the parameters of performance
suppose i know i can have 100000 clients hiting each
hour

kindly help or refer me to the document where i can
look into..

Regards
Puneet sachar

__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

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