Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Java application Streaming Error

Posted on 2009-05-20
5
Medium Priority
?
961 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

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

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

Citrix policies are the most efficient method to configure and tune XenDesktop environments, allowing organizations to control connection, security and bandwidth settings based on various combinations of users, devices or connection types.  Citrix …
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 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 how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
Suggested Courses

604 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