Solved

Java application Streaming Error

Posted on 2009-05-20
5
939 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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

#CITRIX #XENDESKTOP #POC #Citrix Studio
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:

747 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

7 Experts available now in Live!

Get 1:1 Help Now