Socket error 10038 on URLConnection
We put a Java 1.2.2 applet into production on our intranet starting in April. Of the more than 800 users (all running Windows and IE), 3 have been unsuccessful in getting it to work; the appliet will not make a connection to our application server via a URLConnection to a CGI. The error returned is a connection error, code = 10038, "Socket operation on a non-socket."
This week the applet failed for two more of our users who had been using it successfully. They both reported that a Windows application (Remedy software, I think it is their Help Desk product) had been upgraded.
Any ideas as to why our applet fails with the 10038 on a small number of machines? Or what other environmental factors (Winsock problems?, etc.) might cause the 10038 error as evidenced by the upgrade of another application?
Stephen
We have same problem with 10038 error. It appears after installing Ws2help.dll in C:\Windows\System. This dll was required by "trillian", a instant messenger software. The problem disappears after removing this library.
Similar Messages
-
Error 10038 when trying to setup an ODBC Client DSN
TimesTen 7.0.5.0.0 as well as 11.2.1.4.0 on some PC's return a TCP Reset when an ODBC Client DSN attempts to connect. The trace in the tterrors.log file for the 11.2 release is:
10:54:59.64 Err : SRV: 13732: EventID=3| Socket send() failed. Error (10038). File: C:/ADE/pechan_install-pop/timesten/VisiChannel/oc/src/vostcpip.cpp; Line: 742
10:54:59.70 Err : SRV: 13732: EventID=5| Socket recv() failed. Error (10038). File: C:/ADE/pechan_install-pop/timesten/VisiChannel/oc/src/vostcpip.cpp; Line: 639
10:54:59.75 Err : SRV: 13732: EventID=68| Failed to read request from client. Closing connection without reply.
The Client displays a 10054 error code.
The errors with 7.0.5 are identical except for the line numbers:
10:56:35.87 Err : SRV: 10520: EventID=3| Socket send() failed. Error (10038). File: d:/TTBuild/main_0313/VisiChannel/oc/src/vostcpip.cpp; Line: 734
10:56:35.91 Err : SRV: 10520: EventID=5| Socket recv() failed. Error (10038). File: d:/TTBuild/main_0313/VisiChannel/oc/src/vostcpip.cpp; Line: 629
10:56:35.96 Err : SRV: 10520: EventID=68| Failed to read request from client. Closing connection without reply.
This happens when setting up the ODBC Client on Windows: when clicking the "refresh" button on the client screen. Tracing shows the TCP message going to the server and a TCP RST being returned. If anything other than the TT_INTERNAL_DSN message is sent, the server returns a TCP FIN, so it seems comms is ok.
We cannot find anything common on the PC's that do or do not work. Running Windows XP.
Any help would be appreciated.
Thanks
LouOn another forum, I found the hint, "Another possible cause is the presence of layered winsock providers. "netsh winsock show" at a cmd prompt will show you the installed providers and you can try removing any non-microsoft ones."
Tried this and on examining the netsh output from the affected PC's, found that they have Embassy Trust Suite by Wave Systems installed. Evidently Dell pre-installed this on some of their PC's.
Anyway, on uninstalling this software, the problem has been solved. -
The error message "An undefined AIM socket error has occurred." comes up when I try and log on to ichat.
I have the same issue. Does anybody know why this has happened
-
If I copy the "lcds" folder, Tomcat starts with socket errors
In the documentation it is said that when you create a new server-side application, you can start by copying the 'webapps/lcds' folder. I did that but then, Tomcat starts with some socket errors:
[LCDS]SocketServer 'my-rtmp-SocketServer' failed to pre-validate desired socket settings for BindSocketAddress: 0.0.0.0:2038
java.net.SocketException: Unrecognized Windows Sockets error: 0: JVM_Bind
[LCDS]SocketServer 'my-rtmp-SocketServer' failed to start.
flex.messaging.LocalizedException: SocketServer 'my-rtmp-SocketServer' cannot bind to accept client connections on port '2038' because another process has already bound the port. Please ensure that multiple endpoints across all applications are not configured to use this same port.
Am I doing something wrong?
Thanks,
BorekWhat is happening is that you are getting a port conflict for the socket-based NIO and RTMP endpoints used in the channel definitions in the services-config.xml file of your new web app. The issue is that you have endpoints bound to the same port in the LCDS web and in your new web app.
You can deal with this one of two ways:
Option 1: In that services-config.xml file, search on "RTMP" and "NIO" to find the channel definitions and change the port numbers to something slightly different than the ones used in the LCDS web app.
Options 2: Move the LCDS web app out of the picture so it doesn't get loaded, and just use a template for future web apps. If you aren't using it for any of your development, there is really no reason you have to load it.
I'll add a note about this to the documentation that talks about using the LCDS web app as a template. -
Imap performance and socket errors
-bash-3.00$ imsimta version
Sun Java(tm) System Messaging Server 6.2-8.04 (built Feb 28 2007)
libimta.so 6.2-8.04 (built 19:28:07, Feb 28 2007)
SunOS vmpm1 5.10 Generic_141414-02 sun4u sparc SUNW,Sun-Fire-V490
We're experiencing imap problems that appear to be load related, and have had to restart mail services several times to restore service. The imap logs show a large number of socket errors. The server load average is in the 1-2 range; there's no apparent memory resource problem. We're seeing 600-1000 simultaneous imap sessions, which is a higher number than in the past. We run JMS & Communications Express on dedicated V490 SPARC server with 8GB of memory. We're planning to add an additional 8GB this Friday.
Our imap configuration settings are as follows:
-bash-3.00$ configutil | grep service.imap
service.imap.enable = 1
service.imap.enablesslport = yes
service.imap.idletimeout = 30
service.imap.maxsessions = 4000
service.imap.maxthreads = 250
service.imap.numprocesses = 1
service.imap.objectclass = top
service.imap.plaintextmincipher = 0
service.imap.port = 143
service.imap.sslcachesize = 0
service.imap.sslport = 993
service.imap.sslusessl = yes
Can you suggest additional troubleshooting steps? Do you recommend any configuration changes?
Thanks.dpelinka wrote:
Questions:
1. Our JMS version info doesn't state whether it is 32 or 64-bit. Therefore, I assume we are running a 32-bit version. Is that correct?Correct. There is no 64-bit version of MS6.2.
2. Is there a virtual memory limit on the 32-bit version of JMS 6.2? Is the limit greater for JMS 6.3?The Solaris OS imposes the virtual memory size limit of ~3.75GB for all 32bit processes on SPARC. 64-bit processes have a much much larger limit.
http://developers.sun.com/solaris/articles/solaris_memory.html
Regards,
Shane. -
Getting "Error Establishing Socket " error while running the application
Hi,
Can Any one help me as I getting the following error while inserting data into database for after some rows and will insert for some rows then again some error . I googled but but didnt get any proper solution.
Soultion what I got it is
1) turn off windows firewall.
2) change server TCP/IP settings.
3) It will give probelm with windows XP SP 2
I tried all but didnt able to solve that.
I am using Java 1.5, MSSQL server 2000,and eclipse 3.2,windows XP SP2
java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Error establishing socket.
at com.microsoft.jdbc.base.BaseExceptions.createException(Unknown Source)
at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)
at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)
at com.microsoft.jdbc.sqlserver.tds.TDSConnection.<init>(Unknown Source)
at com.microsoft.jdbc.sqlserver.SQLServerImplConnection.open(Unknown Source)
at com.microsoft.jdbc.base.BaseConnection.getNewImplConnection(Unknown Source)
at com.microsoft.jdbc.base.BaseConnection.open(Unknown Source)
at com.microsoft.jdbc.base.BaseDriver.connect(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at com.aztecsoft.quality.DatabaseConnectionQLTYSRV.getCon(DatabaseConnectionQLTYSRV.java:25)
at com.aztecsoft.quality.DatabaseQuery.getDaytoCountRow(DatabaseQuery.java:147)
at com.aztecsoft.quality.ProjectTrackerUtil.getNetworkDays(ProjectTrackerUtil.java:73)
at com.aztecsoft.quality.ProjectPlan.calODurationinDays(ProjectPlan.java:81)
at com.aztecsoft.quality.ProjectPlan.projectSummary(ProjectPlan.java:25)
at com.aztecsoft.quality.ProjectPlan.main(ProjectPlan.java:126)
Thanks in advance.Hi this is gopi,Hyd.Is your Problem "Getting "Error Establishing Socket " error while running the application" solved if so can you reply me i am waiting for this answer
-
The system cannot find the file specified.Windows sockets error code:2.
Hi All,
I am on MDM 5.5 SP6.
I am getting the following error message when trying to logging in to the DM.
The system cannot find the file specified.Windows sockets error code:2.This application will now exit.
Runtime Error :
Program C :\Program Files\SAP MDM 5.5\Data Manager\Datamanager.exe
R6025.
-Pure virtual function call.
And in console also the MDM server is stopped after getting the above error message.
Can anybody tell me what could be the problem?
Thanks & Regards
Sireesha.Hi Sireesha,
According to me, there can be 3 problems,
1. Kindly check whether the MDM server is stopped. If it is, then restart the MDM Server and Load the repository with Update indices.
2. If this error is coming with every repository, the problem will be either in the Version mismatch of the Server and the GUI's you are using. Kindly ensure that the versions for the MDM server and the MDM Gui's Match.
3. If only Data manager Client is giving the problem, then you can un-install and install the DM GUI again.
Along with this, please refer to the link below :
[[The system cannot find the file specified.Windows sockets error code:2.;]
Hope it helps.
Thanks and Regards
Nitin jain -
Unrecognized Windows Sockets Error: 0: JVM_Bind
I'm not entirely sure if I compacted this well enough, but after class declaration and method calling, it is essentially what my program does.
Server server = new Server(); // Creates a ServerSocket and binds it to a port.
Client client = new Client(server.getSocketAddress());
public Client(SocketAddress bind)
try
socket = new Socket();
socket.bind(bind); // Problem here
recieve = new Scanner(socket.getInputStream());
send = new Formatter(socket.getOutputStream());
catch (IOException e)
e.printStackTrace();
}Running the above code produces the following exception.
java.net.SocketException: Unrecognized Windows Sockets error: 0: JVM_Bind
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(Unknown Source)
at java.net.Socket.bind(Unknown Source)
at GameObjects.PlayArea$Client.<init>(PlayArea.java:318)
at GameObjects.PlayArea.<init>(PlayArea.java:48)
at MenuStates.GamePlayState.initializePlayArea(GamePlayState.java:90)
at MenuStates.CreateGameState.mouseClicked(CreateGameState.java:106)
at Manager.GameManager.mouseClicked(GameManager.java:428)
at java.awt.Component.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Window.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)I don't even know what this exception is, and I can't find anything that will really tell me what is going on. Can anyone tell me what is happening here?
I know that this question isn't directly related to Game Development, but I am using it in a game program, and I posted this question in the Network forum, and they flooded my topic with useless messages, and the only person who actually answered my question was extremely vague about it, even after I asked him to clarify. I am hoping that the good people of this forum will be more helpful.In some cases, the server socket used to need more time to be available. If you run several test, you need time to reuse the same port (for Windows 7). I could try the following code:
Server server = new Server(); // Creates a ServerSocket and binds it to a port.
Thread.sleep(500); // Waiting for server to be available
Client client = new Client(server.getSocketAddress());
public Client(SocketAddress bind)
try
socket = new Socket();
socket.bind(bind); // Problem here
recieve = new Scanner(socket.getInputStream());
send = new Formatter(socket.getOutputStream());
Thread.sleep(500); // Time to execute the sme port in another test.
catch (IOException e)
e.printStackTrace();
} -
Unrecognized Windows Sockets error: 10106: create
Am getting the following error when I use tcp-mon to sniff the HTTP traffic. Same when I use SOAP-UI.
I'm using windows 7 and using "jdk1.6.0_13". Any help on this pls .
java.net.SocketException: Unrecognized Windows Sockets error: 10106: create
at java.net.Socket.createImpl(Socket.java:388)
at java.net.Socket.<init>(Socket.java:362)
at java.net.Socket.<init>(Socket.java:180)
at org.apache.ws.commons.tcpmon.SocketWaiter.halt(SocketWaiter.java:98)
at org.apache.ws.commons.tcpmon.Listener.stop(Listener.java:543)
at org.apache.ws.commons.tcpmon.SocketWaiter.run(SocketWaiter.java:87)Winsock error 10106. 8 seconds in Google. Looks like something wrong with your operating system installation.
-
Unrecognized Windows Sockets error...
Hello everybody!
I am encountering the following problem, when I try to run a program which wants to access the internet. I pasted an extract from the source code here, which I think includes the critical lines:
import java.net.*;
import java.io.*;
class FindLinks {
public static Vector findLinks (String address) throws Exception {
URL u = new URL(address);
InputStream ins = u.openStream();
InputStreamReader isr = new InputStreamReader(ins);
BufferedReader webPage = new BufferedReader(isr);
When I run the complete program, I get the following message:
Exception in thread "main" java.net.SocketException: Unrecognized Windows Sockets error: 10106: create
at java.net.Socket.createImpl(Socket.java:313)
at java.net.Socket.connect(Socket.java:424)
at java.net.Socket.connect(Socket.java:376)
at sun.net.NetworkClient.doConnect(NetworkClient.java:139)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:386)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:602)
at sun.net.www.http.HttpClient.<init>(HttpClient.java:303)
at sun.net.www.http.HttpClient.<init>(HttpClient.java:264)
at sun.net.www.http.HttpClient.New(HttpClient.java:336)
at sun.net.www.http.HttpClient.New(HttpClient.java:317)
at sun.net.www.http.HttpClient.New(HttpClient.java:312)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect HttpURLConnection.java:481)
at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:472)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:574)
at java.net.URL.openStream(URL.java:960)
at FindLinks.findLinks(FindLinks.java:10)
at FindLinks.main(FindLinks.java:47)
I am using the new Java SDK 1.41 on a Windows XP machine. Does anyone has an idea what might be causing this problem?
Kind regards
LinusI know, but you triple posted
-
Hi Experts.
when i try to export repository schema (or) Export Change file from the console, it is displaying "Socket Error on Recieve" and i am unable to perform any kind of operation.
I have repaired, refreshed, stoped and started repository and server, but i didn't get any progress on this.
Is any additional settings or operations need to perform at repository or MDM server level...?
Can any one help me what would be the reason for this problem...?
If this is a network issue, then what kind of things need to consider to resolve it..?
Thanks
BharatHI Bharat,
This is more to do with MDM server to Data base connectivity.
I think restarting the server can solve your problem,if it does not then check if the same problem exists for other repositories also.Also,check the MDS log file entry.
Thanks,
Ravi -
have this configuration on ASR1002F router. Trying to setup IP Sla so that we can monitor the delay on WAN interfaces. Would like to send UDP-ECHO from one router to another across the WAN. I need to send and receive on fixed port numbers. Keep getting socket errors. any ideas on what i need to do?
no ip sla 5
ip sla 5
udp-echo <dest ip> 65000 source-port 65000 control disable
frequency 5
ip sla schedule 5 life forever start-time now
exitWas there a "source-ip xx.xx.xx.xx" portion on the "udp-echo 65000 source-port 65000 control disable" line?
-
No more data to read from socket error.
Oracle Version
SQL> select * from v$version;
BANNER
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
PL/SQL Release 11.2.0.2.0 - Production
CORE 11.2.0.2.0 Production
TNS for Linux: Version 11.2.0.2.0 - Production
NLSRTL Version 11.2.0.2.0 - ProductionI am trying a code like below
MERGE INTO TABLE1
( SELECT ...
FROM VIEW1 ) a UNPIVOT ("VALS" FOR cols IN ( .....columns to unpivot.......))
where a.column1='test'
) b ON ( a.id=b.id)
WHEN MATCHED THEN
UPDATE set a.name=b.name
when not matched then
insert (a.id,a.name) values ( b.id,b.name);This code is giving error : No more data to read from socket error.
But when I am trying
MERGE INTO TABLE1
( SELECT ...
FROM VIEW1*
where a.column1='test' ) a UNPIVOT ("VALS" FOR cols IN ( .....columns to unpivot.......))
) b ON ( a.id=b.id)
WHEN MATCHED THEN
UPDATE set a.name=b.name
when not matched then
insert (a.id,a.name) values ( b.id,b.name);It's working properly.
Any idea why I am getting error with code 1?
Edited by: Anupam_Halder on Oct 4, 2012 2:13 PMYou need to look for an Oracle specific error code and message. The error text you have posted does not seem to be an Oracle error.
The error however could result from an ORA-3113 end-of-file on communication channel.
This Oracle error means that the Oracle server process servicing your request (executing SQL or PL/SQL code) ran into a fatal error (potentially an Oracle bug). The server process then proceeds with a "crash dump" - writes an error to the database instance's alert log, writes a trace file and then terminiates abnormally.
It terminates without telling the client and without tearing down the tcp client-server connection. When the client then attempts to use this connection, the socket read fails. No data to read as the socket connection no longer exists.
But this is speculation - we need to see the actual Oracle error (from the server or from the client driver). And you seem to be using an Oracle client that suppresses Oracle error codes and text. Which places a serious question mark over the actual usability of such client s/w for Oracle client-server. -
hi
in terminal, i am seeing this message.
[AGENT] socket error: [object XrayWrapper [object Event]]; readyState=3. Perhaps Helper is not running on ws://127.0.0.1:14821/2 or is shutting down?
is something missing that should be running
i dont understand this message
thankyousolved. was a firefox addon called 1password
solved by deleting the desktop version of hte app and reinstalling
1password support was useless. didnt even know a piece of their own software. suggested it was a ffox profile issue. red herring. -
Hi,
I'm getting this error when attempting to send messages to a domain rcmoore.com. I'm unable to send or receive messages from this domain. And my exchange 2010 queue viewer gives me an error
: 451.4.4.0 Primary target ip address responded with 421.4.4.2 connection dropped due to socket error " attempted failover to alternate host, but did not
succeed. Either there are no alternate hosts, or delivery failed to all alternate hosts.
Please help.
Subin SureshHello Subin,
Have you tried a telnet to port 25 of the sending domain from the Hub transport/edge (if edge is presented)? This is required a success send. If this is not an issue, try Unchecking of "Enable Domain Security" at the properties
of the send connector and do a test
Regards from Visit ExchangeOnline |
Visit WindowsAdmin
Maybe you are looking for
-
How do you shut down apps on the 5s?
How do you shut down apps on the 5s?
-
Iphoto not loading, files in trash?
My iphoto stopped working. It tries to load but just spins. It appears my library/photos files are still intact. I think the problem originated when, in an effort to clean up some recent photos, files were identified through Finder and sent to Tra
-
TV remote control reset procedure from tech support
I was able to get this information from Toshiba tech support. It is not posted in the Forums or Knowledge Base that I could find. I have a 42" LCD TV model 42RV530U. The top row of buttons (on/off, picture size were the 2 I needed today) on the remot
-
Looking for Opinions: custom folders vs. workbk sheet as a subquery
Hi Everyone, Hope all is well.... I have in the past few months asked the Discoverer administrator to create custom folders for complex SQL situations. Another colleague, feels that a better approach that would avoid maintenance by IT is to use the D
-
I've changed my web hosting service from Dreamhost to Rackspace. I changed the domain name registrar info from Dreamhost name servers to Rackspace domain name servers (dns1.stabletransit.com & dns2.stabletransit.com). I've created a Thunderbird POP3