?
Solved

Java application Streaming Error

Posted on 2009-05-20
5
Medium Priority
?
958 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

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

#Citrix #Internet Explorer #Enterprise Mode #IE 11 #IE 8
Several part series to implement Internet Explorer 11 Enterprise Mode
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
Suggested Courses
Course of the Month13 days, 16 hours left to enroll

801 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