Solved

Java application Streaming Error

Posted on 2009-05-20
5
947 Views
Last Modified: 2013-11-21
Hi everybody,

I'm currently experiencing a problem when trying to stream via Citrix a java application.

When i'm running the streamed application, i got an application error.

The application is trying to connect to a server using a specified port 48005.

When i'm running a telnet from the critrix server, i can successfully connect.

I added a telnet on the streamed application bubble, and when i'm running it, i received the error message :

t:\WINDOWS>telnet xxx.xxx.xxx.xxx 48005
Connecting To xxx.xxx.xxx.xxx ...Could not open connection to the host, on port 480
05.
WSAStartup cannot function at this time because the underlying system it uses to
 provide network services is currently unavailable.

When i'm checking the application log, i can see those java error messages :


Caused by: java.net.SocketException: Network subsystem is unavailable: create
      at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)
      at org.apache.axis.transport.http.CommonsHTTPSender.invoke(CommonsHTTPSender.java:301)
      at com.euroclear.framework.sender.HttpSender.invoke(HttpSender.java:244)
      at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
      at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
      at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
      at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
      at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
      at org.apache.axis.client.Call.invoke(Call.java:2767)
      at org.apache.axis.client.Call.invoke(Call.java:2443)
      at org.apache.axis.client.Call.invoke(Call.java:2366)
      at org.apache.axis.client.Call.invoke(Call.java:1812)
      at com.euroclear.auth.ext.EOCExternalAuthServicePortTypeSOAPStub.authenticate(EOCExternalAuthServicePortTypeSOAPStub.java:193)
      at com.euroclear.auth.ext.ExtAuthExceptionHandlingWrapper.authenticate(ExtAuthExceptionHandlingWrapper.java:65)
      ... 19 more
Caused by: java.net.SocketException: Network subsystem is unavailable: create
      at java.net.Socket.createImpl(Unknown Source)
      at java.net.Socket.getImpl(Unknown Source)
      at java.net.Socket.bind(Unknown Source)
      at com.sun.net.ssl.internal.ssl.BaseSSLSocketImpl.bind(Unknown Source)
      at com.euroclear.framework.sender.AuthSSLProtocolSocketFactory.createSocket(AuthSSLProtocolSocketFactory.java:280)
      at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:706)
      at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1321)
      at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:386)
      at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170)
      at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396)
      at org.apache.axis.transport.http.CommonsHTTPSender.invoke(CommonsHTTPSender.java:196)
0
Comment
Question by:OPatiny
  • 2
  • 2
5 Comments
 
LVL 25

Expert Comment

by:InteractiveMind
ID: 24431139
Are you using Netbeans by any chance?
0
 
LVL 25

Expert Comment

by:InteractiveMind
ID: 24431155
If so, try running the program from outside of Netbeans.

Moreover, have you checked your firewall settings (if you have one)?
0
 

Author Comment

by:OPatiny
ID: 24431384
No, i don't use netbeans, and firewall is OK, since i can connect using telnet when i'm directly connected on the Citrix server.

I've just tried using the latest 1.5.0.18 jre version, and same problems.
0
 
LVL 92

Expert Comment

by:objects
ID: 24437430
sounds like there is a problem with networking on that box

0
 

Accepted Solution

by:
OPatiny earned 0 total points
ID: 24465193
I fixed the problem by adding an ignore rule on the registry key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WinSock2

I hope it'll help others if needed.
0

Featured Post

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

#Citrix #Citrix Policies #XenDesktop #VDI #POC #Citrix Univeral Printer Driver #Citrix UPD
Several part series to implement Internet Explorer 11 Enterprise Mode
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

929 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now