Solved

Java application Streaming Error

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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
ejb stateless example 2 27
How to set IPSec under Server 2008 R2 and Server 2012 R2 3 44
Java Restore security prompts not working 10 72
domain and forest trust 1 11
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…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.

821 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