WL6.1 SocketException
"I am facing this problem of SocketException being thrown on server console a number of times. I have just moved to weblogic 6.1 from 6.0. I have compiled all the classes with references to weblogic.jar and jdk from WL6.1.
The cause of this exception is not known. Though this does not really harm my application, it's not desirable.
Thanks in advance for help.
The trace is as under -
<Sep 25, 2002 3:49:09 PM EDT> <Error> <JavaSocketMuxer> <IOException on socket:
'Socket[addr=localhost/127.0.0.1,port=2506,localport=7001]'
java.net.SocketException: Connection shutdown: JVM_recv in socket input stream r
ead
at java.net.SocketInputStream.socketRead(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:85)
at weblogic.socket.JavaSocketMuxer.processSockets2(JavaSocketMuxer.java:
281)
at weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:2
33)
at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:
24)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
>
<Sep 25, 2002 3:49:09 PM EDT> <Error> <HTTP> <Connection failure
java.net.SocketException: Connection%2
Dimitri, you surely mean that the servlet will be reloaded without restarting the
server, right! Well, it doesn't work!
Now, if the flag ServletReloadCheckSecs should be set to "0" in the WebAppComponenet
element is meant to work, then WL6.1 is randomly buggy.
However, no-none commited to a bug-free society.
Dimitri Rakitine <[email protected]> wrote:
>WebLogic doesn't recompile .java classes - it will reload servlet if
>it's
>..class file changes.
>
>I agree that autocompilation feature in Resin and Orion (Oracle?) is
>super-convinient. Send it to [email protected] - maybe someday they will
>implement it.
>
>florin <[email protected]> wrote:
>
>> WL6.1 documentation claims that "If you set this attribute (the Files
>tab of your
>> Web Application) to zero, WebLogic Server checks the time stamp on
>every request."
>> Sure. Next time.
>
>> My web application is set to be the default web application. Any ideas
>why it
>> doesn't work for me?
>
>> I deffinatelly miss Orion's ease of use. One might think that more
>money is better.
>
>
>> Thanks for your help.
>
>
>--
>Dimitri
Similar Messages
-
SocketExceptions in petStore demo
Hi,
I installed WL6.0 beta yesterday and I tried to run the PetStore demo. It runs well, I am able to get to different pages, but it is very slow.
Checking the server DOS window, I noticed a lot of Socket Exceptions, and I assume one reason the application is so slow is that (1) the error messages are written to the console and log file, and (2) the communication is retried until it succeeds.
Does anyone have any idea why the SocketExceptions occur?
On my machine I have lots of JDKs (1.1.7b, 1.2.2, 1.3). Could it be a conflict? Also, I believe I have only NT 4.0 SP3. The documentation says that SP5 or SP6 are supported...
Thanks,
Vladimir
Here is a sample of the errors I get:
java.net.SocketException: Connection aborted by peer: socket write error...
<Error> <HTTP> <[WebAppServletContext petStore] exception raised on '/petStore/template.jsp'
java.net.SocketException: Connection aborted by peer: socket write error at ...
<Error> <HTTP> <JavaSocketMuxer> <IOException on socket: JVM_recv in socket input stream at ...Hi All,
I keep getting the following socket exceptions -
Fri Jan 26 17:29:16 PST 2001:<E> <ServletContext-General> Servlet failed with Exception
java.net.SocketException: socket write error (code=10053)
at java.net.SocketOutputStream.socketWrite(Native Method)
at java.net.SocketOutputStream.write(SocketOutputStream.java:87)
at weblogic.servlet.internal.ChunkUtils.writeChunks(ChunkUtils.java, Compiled Code)
at weblogic.servlet.internal.ServletOutputStreamImpl.flush(ServletOutputStreamImpl.java:121)
at weblogic.servlet.internal.ServletOutputStreamImpl.writeStream(ServletOutputStreamImpl.java, Compiled Code)
at weblogic.servlet.FileServlet.sendFile(FileServlet.java:199)
at weblogic.servlet.FileServlet.service(FileServlet.java:56)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:105)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:742)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:686)
at weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:247)
at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:361)
at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:261)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
Fri Jan 26 17:29:17 PST 2001:<E> <HTTP> Servlet request terminated with IOException:
java.net.ProtocolException: Didn't meet stated Content-Length, wrote: '4096' bytes instead of stated: '6427' bytes.
at weblogic.servlet.internal.ServletOutputStreamImpl.finish(ServletOutputStreamImpl.java:372)
at weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:249)
at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:361)
at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:261)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
I am sure they are harmless, but these messages make it difficult to view output on the console which I have put for aid in debugging. How can I solve this error/ suppress the messages?
Thanks.
Ajit
"Jim Rivera" <[email protected]> wrote in message news:[email protected]...
The socket exceptions are now being supressed as of the version 6
beta-refresh which is now available at
http://commerce.bea.com/downloads/weblogic_server.jsp#wls
- Jim
"Sriram Narayan" <[email protected]> wrote in message
news:[email protected]...
Jim,
It may be a harmless message, but it seems like it can cause TransactionRollbacks. (trace extract below.)
Could u pls tell how to avoid those socket exceptions?
tia
-sriram
<trace>
Sun Nov 19 07:22:55 GMT+05:30 2000:<E> <WebAppServletContext-estore>exception raised on '/estore/template.jsp'
java.net.SocketException: Connection reset by peer: socket write error
at java.net.SocketOutputStream.socketWrite(Native Method)
and immediately after that ...
Sun Nov 19 07:18:04 GMT+05:30 2000:<I> <WebAppServletContext-estore>Generated java file:
D:\weblogic\petstore\petStoreServer\estore\_tmp_war\jsp_servlet\_productdeta
ils.java
Sun Nov 19 07:18:28 GMT+05:30 2000:<I> <EJB JAR deploymentd:/weblogic/petStore/
estoreEjb_WL.jar> Transaction: '974597787511_17' rolled back due to EJBexception:
java.rmi.NoSuchObjectException: Bean has been deleted
atweblogic.ejb.internal.SessionEJBContext.activate(SessionEJBContext.java:165)
===========================================
"Jim Rivera" <[email protected]> wrote:
Hi Alex,
This exception is basically a signal from the low-level socket library
telling the WebLogic server
that the connection has been broken by the client (browser). This will
happen if the user hits stop/reload or switches to another page, etc,
while
server is still sending data.This exception is harmless and will be
supressed in future versions.
Thanks,
Jim
"Alex Esterkin" <[email protected]> wrote in message
news:[email protected]...
I run on NT4 SP6 and don't have any old JDKs, yet I get similarexceptions:
<Wed Nov 08 12:14:36 EST 2000> <Error> <HTTP> <[WebAppServletContextpetStore] exception raised on '/petStore/te
mplate.jsp'
java.net.SocketException: Connection reset by peer: socket write error
at java.net.SocketOutputStream.socketWrite(Native Method)
at
java.net.SocketOutputStream.write(SocketOutputStream.java:83)
atweblogic.servlet.internal.ChunkUtils.writeChunkTransfer(ChunkUtils.java:167)
atweblogic.servlet.internal.ChunkUtils.writeChunks(ChunkUtils.java:141)
at
weblogic.servlet.internal.ServletOutputStreamImpl.writeChunks(ServletOutputS
treamImpl.java:150)
at
weblogic.servlet.internal.ServletOutputStreamImpl.flush(ServletOutputStreamI
mpl.java:139)
at
weblogic.servlet.internal.ServletOutputStreamImpl.print(ServletOutputStreamI
mpl.java:234)
atweblogic.servlet.jsp.JspWriterImpl.print(JspWriterImpl.java:139)
at jsp_servlet._template._jspService(_template.java:4813) [nosource]
at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:209)
at
weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImp
l.java:153)
at jsp_servlet._main._jspService(_main.java:135) [no source]
at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:209)
at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
ntext.java:1114)
at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
:1388)
at
weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:133)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:116)
>
java.net.SocketException: Connection reset by peer: socket write error
at java.net.SocketOutputStream.socketWrite(Native Method)
atjava.net.SocketOutputStream.write(SocketOutputStream.java:83)
atweblogic.servlet.internal.ChunkUtils.writeChunkTransfer(ChunkUtils.java:167)
atweblogic.servlet.internal.ChunkUtils.writeChunks(ChunkUtils.java:141)
at
weblogic.servlet.internal.ServletOutputStreamImpl.writeChunks(ServletOutputS
treamImpl.java:150)
at
weblogic.servlet.internal.ServletOutputStreamImpl.flush(ServletOutputStreamI
mpl.java:139)
at
weblogic.servlet.internal.ServletOutputStreamImpl.print(ServletOutputStreamI
mpl.java:234)
atweblogic.servlet.jsp.JspWriterImpl.print(JspWriterImpl.java:139)
at jsp_servlet._index._jspService(_index.java:82)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:209)
at
weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImp
l.java:252)
at
weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImp
l.java:171)
at com.sun.estore.taglib.InsertTag.doEndTag(InsertTag.java:67)
at jsp_servlet._template._jspService(_template.java:4802)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:209)
at
weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImp
l.java:153)
at jsp_servlet._main._jspService(_main.java:135)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:209)
at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
ntext.java:1114)
at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
:1388)
at
weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:133)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:116)
"vladimir" <[email protected]> wrote:
Hi,
I installed WL6.0 beta yesterday and I tried to run the PetStore demo.
It
runs well, I am able to get to different pages, but it is very slow.
Checking the server DOS window, I noticed a lot of Socket Exceptions,
and
I assume one reason the application is so slow is that (1) the error
messages are written to the console and log file, and (2) thecommunication
is retried until it succeeds.
Does anyone have any idea why the SocketExceptions occur?
On my machine I have lots of JDKs (1.1.7b, 1.2.2, 1.3). Could it be aconflict? Also, I believe I have only NT 4.0 SP3. The documentation says
that SP5 or SP6 are supported...
Thanks,
Vladimir
Here is a sample of the errors I get:
java.net.SocketException: Connection aborted by peer: socket writeerror...
<Error> <HTTP> <[WebAppServletContext petStore] exception raised on'/petStore/template.jsp'
java.net.SocketException: Connection aborted by peer: socket write
error
at ...
<Error> <HTTP> <JavaSocketMuxer> <IOException on socket: JVM_recv insocket input stream at ...
[att1.html] -
Issues with sessionId and persistent cookie in WL6.1
I am using WL6.1 and I discovered the following from a brief experiment using a
JSP which sets persistent cookies. The results are the same when I use IE browser
or the HDML emulator.
The name of the weblogic session cookie (weblogic.xml) is "_ses".
Steps below. The server logs are included:
1. Delete the persistent cookies relevant to the server.
2. Access the jsp. SessionId is generated, say 12345.
3. Close browser. My_Cookie1=blah is saved on client.
4. Access server again. The cookie My_Cookie1=blah sent
5. The server sets the SessionId to Cookie1=blah. The sessionId is set from the
persistent cookie. Also, the String after the first underscore is the sessionId.
When I change the name of the weblogic session cookie (weblogic.xml) to something
without an underscore, such as "JSESSIONID" or "someCookieName", and repeat the
steps, the sessionId is not attempted to be read from the persistent cookie.
Why is this so?
Thanks,
Niranjan
LOG AFTER HITTING FIRST TIME (STEP 2)
================================
test.jsp: Hit
session id (O8tS4HMN3KSYK!1003180768699)
ctr: null
--------- HTTP REQUEST HEADERS BEGIN -------------
DEVSNIFF-header(1): Accept=image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
application/vnd.ms-powerpoint, application/vnd.ms-excel, app
lication/msword, */*
DEVSNIFF-header(2): Accept-Language=en-us
DEVSNIFF-header(3): Accept-Encoding=gzip, deflate
DEVSNIFF-header(4): User-Agent=Mozilla/4.0 (compatible; MSIE 5.01; Windows NT
5.0)
DEVSNIFF-header(5): Host=nk
DEVSNIFF-header(6): Connection=Keep-Alive
--------- HTTP REQUEST HEADERS END -------------
LOG AFTER HITTING SECOND TIME (STEP 5)
===================================
test.jsp: Hit
session id (Cookie1=59631091!1003180798903)
ctr: null
--------- HTTP REQUEST HEADERS BEGIN -------------
DEVSNIFF-header(1): Accept=image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
application/vnd.ms-powerpoint, application/vnd.ms-excel, app
lication/msword, */*
DEVSNIFF-header(2): Accept-Language=en-us
DEVSNIFF-header(3): Accept-Encoding=gzip, deflate
DEVSNIFF-header(4): User-Agent=Mozilla/4.0 (compatible; MSIE 5.01; Windows NT
5.0)
DEVSNIFF-header(5): Host=nk
DEVSNIFF-header(6): Connection=Keep-Alive
DEVSNIFF-header(7): Cookie=My_Cookie1=59631091
--------- HTTP REQUEST HEADERS END -------------
CHANGED _ses TO JSESSIONID (RESULT: CORRECT SESSION ID GENERATED)
==========================
test.jsp: Hit
session id (O8tZKVgE4LuPo!1003182377496)
ctr: null
--------- HTTP REQUEST HEADERS BEGIN -------------
DEVSNIFF-header(1): Accept=image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
application/vnd.ms-powerpoint, application/vnd.ms-excel, app
lication/msword, */*
DEVSNIFF-header(2): Accept-Language=en-us
DEVSNIFF-header(3): Accept-Encoding=gzip, deflate
DEVSNIFF-header(4): User-Agent=Mozilla/4.0 (compatible; MSIE 5.01; Windows NT
5.0)
DEVSNIFF-header(5): Host=nk
DEVSNIFF-header(6): Connection=Keep-Alive
--------- HTTP REQUEST HEADERS END -------------
test.jsp: Hit
session id (O8tZRy1Wq3o9T!1003182407901)
ctr: null
--------- HTTP REQUEST HEADERS BEGIN -------------
DEVSNIFF-header(1): Accept=image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
application/vnd.ms-powerpoint, application/vnd.ms-excel, app
lication/msword, */*
DEVSNIFF-header(2): Accept-Language=en-us
DEVSNIFF-header(3): Accept-Encoding=gzip, deflate
DEVSNIFF-header(4): User-Agent=Mozilla/4.0 (compatible; MSIE 5.01; Windows NT
5.0)
DEVSNIFF-header(5): Host=nk
DEVSNIFF-header(6): Connection=Keep-Alive
DEVSNIFF-header(7): Cookie=My_Cookie1=88575204
--------- HTTP REQUEST HEADERS END -------------
[test.jsp]
Issue 1 is a know "feature" with Macs using an optical output.
Issue 2 is still unresolved. Why can't Front Row act as a video jukebox just as well as it can for audio.
Issue 3 is still unresolved. If I select a libray that has both audio and video files, Front Row will only play the audio and not the video. Seems like it should be smart enough to "switch" to play that video.
Issue 4 seems to be resolved. I run visualizer all the time now and my TV does not switch out of 1080i any more.
Issue 5 seems to be resolved. I think the trick is that the TV show name has to be filled in for the system to recognize it as a TV show. Guess Apple didn't orginally figure people would add TV shows not purchsed through the iTunes store.
Issue 6 was realted to using files that are copy protected. But why iTunes XML file can't just keep the name that I want in it's directory rather than the name that is embedded in the file is still a mystery to me. -
Installation problem of WL6.0SP1 on solaris
When I install WL6.0SP1 on Sun Solaris, it gives such message:
weblogic600sp1_sol.bin Preparing to install...
Error: failed /tmp/install.dir.16036/Solaris/resource/jre/jre/lib/sparc/client/libjvm.so,
because ld.so.1: /tmp/install.dir.16036/Solaris/resource/jre/jre/bin/../bin/sparc/native_threads/java:
fatal: libCrun.so.1: open failed: No such file or directory
>
My classpath is set as:
/usr/java1.2/lib:/oracle/product/8.1.6/jdbc/lib/classes12.zip:/usr/local/j2sdkee1.2.1/lib/j2ee.jar:
Does any one know what is wrong with it?
Thanks.You probably need Solaris patches. I had this problem to installing on Solaris
7. GO to Sun's web site to look for pathces relating to C runtime libs.
"Yingwei" <[email protected]> wrote:
>
When I install WL6.0SP1 on Sun Solaris, it gives such message:
weblogic600sp1_sol.bin Preparing to install...
Error: failed /tmp/install.dir.16036/Solaris/resource/jre/jre/lib/sparc/client/libjvm.so,
because ld.so.1: /tmp/install.dir.16036/Solaris/resource/jre/jre/bin/../bin/sparc/native_threads/java:
fatal: libCrun.so.1: open failed: No such file or directory
>
My classpath is set as:
/usr/java1.2/lib:/oracle/product/8.1.6/jdbc/lib/classes12.zip:/usr/local/j2sdkee1.2.1/lib/j2ee.jar:
Does any one know what is wrong with it?
Thanks. -
I'm running IIS + WL 6.1 and in my servlet code, when I use request.getInputStream(),
it has nothing in the input stream
for e.x.
InputStream istream = request.getInputStream();
BufferedInputStream buf = new BufferedInputStream(istream);
byte[] b = new byte[1024];
while(buf.available()>0){
buf.read(b);
System.out.println("printing:"+b);
buf.available is not greater than zero.
But when I tried with just WL6.1, everything is fine.
I'm using forward path to forward my request.
Please help.
thanks
VijayToo much code to review in depth.
Couple of things that jumped out at me
1 - request.sendRedirect sent at the end. You should do any request forward/redirects as soon as possible in the jsp - before your response gets committed. It is illegal to forward/redirect after a response has been committed. That might explain the errors.
2 - As a suggestion, view source on the page, and save the file as html. Or use the functionality to "save a webpage" to your local computer. Try loading that HTML page in all the browsers. That should help you diagnose is it the HTML code, or is it the JSP side of things that is broken.
hope this helps,
evnafets -
Error while migrating from wl 5.1 to wl6.1
I have an application running on WL5.1. When I convert this application to run on
WL6.1 sp2, I get the
following error when I try to access an entity bean from an servlet.
<Apr 30, 2002 4:47:44 PM PDT> <Error> <HTTP> <[WebAppServletContext(6184715,myapp,/myapp)]
Error loading servlet: 'process'
java.lang.NoClassDefFoundError: com/engr/app/approval/ApprovalHome
a class upon which this class depends wasn't found
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:600)
at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:368)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:242)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2495)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2204)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
The code works fine on WL 5.1
Does anyone know why this happens. The console shows that EJBs are deployed
Thanks
JaiJust deploy your web component and ejb's in a single ear.
Jai Vas <[email protected]> wrote:
I have an application running on WL5.1. When I convert this application to run on
WL6.1 sp2, I get the
following error when I try to access an entity bean from an servlet.
<Apr 30, 2002 4:47:44 PM PDT> <Error> <HTTP> <[WebAppServletContext(6184715,myapp,/myapp)]
Error loading servlet: 'process'
java.lang.NoClassDefFoundError: com/engr/app/approval/ApprovalHome
a class upon which this class depends wasn't found
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:600)
at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:368)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:242)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2495)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2204)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
The code works fine on WL 5.1
Does anyone know why this happens. The console shows that EJBs are deployed
Thanks
Jai--
Dimitri -
Hi,
I am installing the SharePoint-2013 on development virtual machine. and i have the following environment.
Windows server : 2012
SQL server 2012(enterprise edition)
Active directory(domain) is configured on same server.
for SharePoint configuration purpose i had created SP_farm account with SQL server DB_creator,security admin etc rights.
even though m facing this issue related with socket exception.
Error in log file :
04/08/2014 12:26:33 1 INF Trying to see if port 35513 is free on machine SHAREPOINT2013. Min port we will try is
1024, Max port we will try is 49151
04/08/2014 12:26:35 1 INF A SocketException was thrown with SocketError ConnectionRefused
04/08/2014 12:26:35 1 INF Connect has been refused for port 35513, so we will consider this a free port
04/08/2014 12:26:35 1 INF Have not found a free port yet. Number of tries is 1. Min port we will try is 1024, Max
port we will try is 49151
04/08/2014 12:26:35 1 INF Adding port 35513 to the exclusion list so it is not chosen again during this run
So m bit confuse about is this error related to network issue or something else that i have to configure on server.
any suggestion or reply will be appreciated..!:-)
ShivIs the firewall turned on?
Regards, Matthew
MCPD | MCITP
My Blog
View
Matthew Yarlett's profile
See my webpart on the TechNet Gallery that allows administrative users to upload, crop and format user profile photos. Check it out here:
Upload and Crop User Profile Photos -
SocketEXception problem in windows vista IPV6
Hi,
i am not able to run tcpmon(tool used for tracking soap messages)on IPV6 vista machine, It has jre1.5.0_10 version and axis1.2.
The error thrown is "java.net.SocketException:Address family not supported by protocol family:create".
I am able to successfully run tcpmon on windows XP with the same java and axis version.
Is it anyways related to the existing bug http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6230761 ???
Can anyone help me out???
Thanks in advance.
sirishaI got the same errors while creating a ServerSocket in Windows Vista Pure IPv6
The JRE version is 1.5.0_11.
java.net.SocketException: Address family not supported by protocol family: create
java.net.ServerSocket.createImpl(Unknown Source)
java.net.ServerSocket.getImpl(Unknown Source)
java.net.ServerSocket.bind(Unknown Source)
java.net.ServerSocket.<init>(Unknown Source)
java.net.ServerSocket.<init>(Unknown Source)
sun.rmi.transport.proxy.RMIDirectSocketFactory.createServerSocket(Unknown Source)
sun.rmi.transport.proxy.RMIMasterSocketFactory.createServerSocket(Unknown Source)
com.ca.dia.common.socketFactory.ServerSocketFactory.createServerSocket(ServerSocketFactory.java:122)
sun.rmi.transport.tcp.TCPEndpoint.newServerSocket(Unknown Source)
sun.rmi.transport.tcp.TCPTransport.listen(Unknown Source)
sun.rmi.transport.tcp.TCPTransport.exportObject(Unknown Source)
sun.rmi.transport.tcp.TCPEndpoint.exportObject(Unknown Source)
sun.rmi.transport.LiveRef.exportObject(Unknown Source)
sun.rmi.server.UnicastServerRef.exportObject(Unknown Source)
sun.rmi.registry.RegistryImpl.setup(Unknown Source)
sun.rmi.registry.RegistryImpl.<init>(Unknown Source)
java.rmi.registry.LocateRegistry.createRegistry(Unknown Sourc -
I'm writing a server-client software, with the client being an Applet and the server running at the webserver. As it is now it works just perfectly on most computers, actually all but one that I tried - which I find strange.
Here's a snippet of what is causing the problem:
private InputStream in;
private Socket socket;
try
socket = new Socket(host, port);
in = socket.getInputStream();
socket.shutdownOutput();
catch(Exception e)
e.printStackTrace();
try
int bc = in.read(b, 0, bufferSize);
catch(SocketException se)
se.printStackTrace();
}Quite a bit is left out, but nothing that should be able to interfer with this. As I said, this works at all computers I've tried this on, different geographical positions, different connection speeds, both UNIX and WinXP. EXCEPT one computer., when I run it the in.read(... causes the following exception:
java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(Unknown Source)
at gui.Receiver.run(ImageReceiver.java:119)
This happens at the first read. If I test the socket with socket.isConnected() right before the read it returns true. I've tried with another computer at the same connection, and that one works.
Why could that be that this particular computer resets the connection? Or why would the server reset the connection to this computer only? The configuration of the computer is:
Windows XP
Sun Java JRE 1.5_03
Norton Internet Security, with all options set to default
I've set up my own computer in, as far as I can see, the same way, but it works just fine....
Any ideas?Well, the problem is not that I have a firewall that stops me.
The problem is that other people has firewalls and this is supposed to be a component on a website. Of course if a user has a hardware firewall which drops packets there is not much I can do.
However, I have two different new Socket(host, port) in the Applet, both connecting to the same host (of course the host the Applet comes from, due to Applet security restictions), but on different ports (at the server side). It seems like the other connection works, so Norton cannot block everything.
To be more specific: When the Applet starts one of the first thing it does is to connect to the host at a predefined port where the server has a ServerSocket listening, this continously listens for new users that connect. A short while later on in the protocol the client gets a message including another port number to open another connection to, this is a port specific for this user. The server has a ServerSocket listening on that port and the client connects, but when the client later on is trying to read the InputStream of that socket the Exception above occurs.
So howcome it works the first time, but not the second? The connections are made in the exact same way. -
Getting SocketException: Error in poll for fd: 'nn', revents 'nn+n'
I'm running WL 5.1 SP9 on a HP9000 HPUX 11.0 with JRE 1.2.2-06 and I get the following:
java.net.SocketException: Error in poll for fd: '21', revents: '25'
at weblogic.socket.PosixSocketMuxer.processSockets(PosixSocketMuxer.java:304)
at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)
Any help appreciated.
Please cc my email if possible
Thanks
Ricky
Derrick,
I believe that this is a spurious error caused by a HTTP client which
doesn't close the socket cleanly. This exception should be squelched in
newer versions of the product. Until you can upgrade I believe you can
safely ignore this message.
Regards,
Adam
"Derrick" <[email protected]> wrote in message
news:3a7834ef$[email protected]..
>
I am running apps server 5.1 on LINUX kernal 2.2 and using the POSIXperformance pack
that was listed in a thread on this newsgroup (libmuxer.so) and am gettingthe following
error sporatically...
Wed Jan 31 11:39:15 EST 2001:<E> <HTTP> Connection failure
java.net.SocketException: Error in poll for fd: '30', revents: '24'
atweblogic.socket.PosixSocketMuxer.processSockets(PosixSocketMuxer.java:290)
atweblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
Has anyone seen this error and if so, does this perofrmance pack have knowissues
with lost FDs? Should I run the app server without a performance pack ?
thanks in advance for you help. -
SocketException during reads - JVM_recv in socket input stream read
I am getting a SocketException when a Java applet talks to our
WebLogic 7.0 server. The catch is that it only occurs at one site
(that has very high T1 utilization, although latency is only ~60 ms)
Our setup is such that the calls hit an Alteon load balancer, which
then sends the request out to one of 4 IIS clustered servers, where it
then is sent to one of 2 WL clustered servers. I figured latency
would be the cause, but on IIS and on WL, the timeouts are set to
several hundred seconds, so I am not quite seeing where the connection
is being reset. To be honest, I really don't know if it is WL that is
killing the connection, as nothing abnormal shows up in the WL log. I
have seen similar problems in this group, though, although the stack
traces never follow the same path mine does. I do have the following
call stack from the Java plug-in console, though. Any ideas would be
greatly appreciated.
java.net.SocketException: Connection reset by peer: JVM_recv in socket
input stream read
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(Unknown Source)
at java.io.BufferedInputStream.fill(Unknown Source)
at java.io.BufferedInputStream.read1(Unknown Source)
at java.io.BufferedInputStream.read(Unknown Source)
at sun.net.www.http.HttpClient.parseHTTPHeader(Unknown Source)
at sun.net.www.http.HttpClient.parseHTTP(Unknown Source)
at sun.net.www.http.HttpClient.parseHTTP(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown
Source)
at sun.plugin.net.protocol.http.HttpURLConnection.getInputStream(Unknown
Source)
at sun.net.www.protocol.http.HttpURLConnection.getHeaderFields(Unknown
Source)
at sun.plugin.net.protocol.http.HttpURLConnection.checkCookieHeader(Unknown
Source)
at sun.plugin.net.protocol.http.HttpURLConnection.getInputStream(Unknown
Source)
at org.xxxx.abstracts.Controller.sendRequest(Controller.java:39)
at org.xxxx.data.DataMediator.getDataNode(DataMediator.java:46)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Also, here is my code, although I can't see anything on the client
side that seems off:
public Object sendRequest( Object request, URL receiver ) throws
Exception{
Object response = null;
URLConnection con = null;
ObjectOutputStream out = null;
ObjectInputStream in = null;
try {
con = receiver.openConnection();
con.setDoInput(true);
con.setDoOutput(true);
con.setUseCaches(false);
con.setDefaultUseCaches(false);
con.setAllowUserInteraction(false);
out = new ObjectOutputStream(con.getOutputStream());
out.writeObject(request);
out.flush();
out.close();
in = new ObjectInputStream(con.getInputStream());
response = in.readObject();
in.close();
} catch (ClassCastException e) {
if( out != null ){
out.close();
if( in != null ){
in.close();
} catch (Exception e) {
if( out != null ){
out.close();
if( in != null ){
in.close();
throw e;
return response;There is a known bug on earlier 1.3.1 releases with sockets on Windows 2k
and XP. I don't remember all the details.
Peace,
Cameron Purdy
Tangosol, Inc.
http://www.tangosol.com/coherence.jsp
Tangosol Coherence: Clustered Replicated Cache for Weblogic
"Keith Patrick" <[email protected]> wrote in message
news:[email protected]...
I'm getting the exception on the client, which is an XP machine, while
the server is Win2K. I can't recall which, but either the applet or
the server runs 1.3x while the other runs 1.4. I discounted that
factor, though, as the problem only occurs on one site, which on all
others it works fine.
"Cameron Purdy" <[email protected]> wrote in message
news:<[email protected]>...
Exception is in the applet or on the server?
Would one of those by any chance be running on W2K with JDK 131_01 orolder?
>>
Peace,
Cameron Purdy
Tangosol, Inc.
http://www.tangosol.com/coherence.jsp
Tangosol Coherence: Clustered Replicated Cache for Weblogic
"Keith Patrick" <[email protected]> wrote in message
news:[email protected]...
I am getting a SocketException when a Java applet talks to our
WebLogic 7.0 server. The catch is that it only occurs at one site
(that has very high T1 utilization, although latency is only ~60 ms)
Our setup is such that the calls hit an Alteon load balancer, which
then sends the request out to one of 4 IIS clustered servers, where it
then is sent to one of 2 WL clustered servers. I figured latency
would be the cause, but on IIS and on WL, the timeouts are set to
several hundred seconds, so I am not quite seeing where the connection
is being reset. To be honest, I really don't know if it is WL that is
killing the connection, as nothing abnormal shows up in the WL log. I
have seen similar problems in this group, though, although the stack
traces never follow the same path mine does. I do have the following
call stack from the Java plug-in console, though. Any ideas would be
greatly appreciated.
java.net.SocketException: Connection reset by peer: JVM_recv in socket
input stream read
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(Unknown Source)
at java.io.BufferedInputStream.fill(Unknown Source)
at java.io.BufferedInputStream.read1(Unknown Source)
at java.io.BufferedInputStream.read(Unknown Source)
at sun.net.www.http.HttpClient.parseHTTPHeader(Unknown Source)
at sun.net.www.http.HttpClient.parseHTTP(Unknown Source)
at sun.net.www.http.HttpClient.parseHTTP(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown
Source)
at
sun.plugin.net.protocol.http.HttpURLConnection.getInputStream(Unknown
Source)
at sun.net.www.protocol.http.HttpURLConnection.getHeaderFields(Unknown
Source)
atsun.plugin.net.protocol.http.HttpURLConnection.checkCookieHeader(Unknown
Source)
atsun.plugin.net.protocol.http.HttpURLConnection.getInputStream(Unknown
Source)
at org.xxxx.abstracts.Controller.sendRequest(Controller.java:39)
at org.xxxx.data.DataMediator.getDataNode(DataMediator.java:46)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Also, here is my code, although I can't see anything on the client
side that seems off:
public Object sendRequest( Object request, URL receiver ) throws
Exception{
Object response = null;
URLConnection con = null;
ObjectOutputStream out = null;
ObjectInputStream in = null;
try {
con = receiver.openConnection();
con.setDoInput(true);
con.setDoOutput(true);
con.setUseCaches(false);
con.setDefaultUseCaches(false);
con.setAllowUserInteraction(false);
out = new ObjectOutputStream(con.getOutputStream());
out.writeObject(request);
out.flush();
out.close();
in = new ObjectInputStream(con.getInputStream());
response = in.readObject();
in.close();
} catch (ClassCastException e) {
if( out != null ){
out.close();
if( in != null ){
in.close();
} catch (Exception e) {
if( out != null ){
out.close();
if( in != null ){
in.close();
throw e;
return response; -
Best Practice for SSL in Apache/WL6.0SP1 configuration?
What is the best practice for eanbling SSL in an Apache/WL6.0SP1
configuration?
Is it:
Browser to Apache: HTTPS
Apache to WL: HTTP
or
Browser to Apache: HTTPS
Apache to WL: HTTPS
The first approach seems more efficient (assuming that Apache and WL are
both in a secure datacenter), but in that case, how does WL know that the
browser requested HTTPS to begin with?
Thanks
AlainA getScheme should return HTTPS if the client is using HTTPS or HTTP if it
is using HTTP.
The option for the plug-in to use HTTP or HTTPS when connecting to Weblogic
is up to you but regardless the scheme of the client will be passed to
WebLogic.
Eric
"Alain" <[email protected]> wrote in message
news:[email protected]..
How should we have the plug-in tell wls the client is using https?
Should we have the plugin talk to wls in HTTP or HTTPS?
Thanks
Alain
"Jong Lee" <[email protected]> wrote in message
news:3b673bab$[email protected]..
The apache plugin tells wls the client is using https and also pass on
the
client
cert if any.
"Alain" <[email protected]> wrote:
What is the best practice for eanbling SSL in an Apache/WL6.0SP1
configuration?
Is it:
Browser to Apache: HTTPS
Apache to WL: HTTP
or
Browser to Apache: HTTPS
Apache to WL: HTTPS
The first approach seems more efficient (assuming that Apache and WL
are
both in a secure datacenter), but in that case, how does WL know that
the
browser requested HTTPS to begin with?
Thanks
Alain -
Problems starting Managed Server on WL6.0 Solaris
Hi,
I installed a WL6.0 on Solaris 8. Everythings works fine.
I careated a Domain and an additional Server wich is located at a
different machine. As is start this managed server on the other machine
it complains with the following error message:
<Aug 30, 2001 12:41:18 PM CEST> <Info> <Security> <Getting boot password
from user.>
Enter password to boot WebLogic server:weblogic
Starting WebLogic Server ....
Connecting to http://sol23:7001...
The WebLogic Server did not start up properly.
Exception raised:
weblogic.management.configuration.ConfigurationException: paros not
found
weblogic.management.configuration.ConfigurationException: paros not
found
at
weblogic.management.Admin.getBootstrapLocalServer(Admin.java:927)
at weblogic.management.Admin.initialize(Admin.java:287)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:317)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:169)
at weblogic.Server.main(Server.java:35)
Reason: Fatal initialization exception
In the access-Log of the Admin-Server the following line appears
my IP - - [30/Aug/2001:12:41:13 +0200] "GET
/wl_management_internal2/Bootstrap HTTP/1.0" 404 0
So my question: Where does this "wl_management_internal2" Application
come from?
Do I have to install some special things when I start an Admin-Server?
thanks
Falko Zurell . Webmaster
Pixelpark AG . http://www.pixelpark.com
Rotherstrasse 8 . 10245 Berlin . Germany
phone: + 49 30 5058 - 1963 . fax: -1600Hi Falko,
This is not a problem. when you want to add a new managed server to the
admin server, you need to use weblogic console to create that server in the
admin server first, then start the managed server with that name to connect
to the admin server. That is like you have to let the admin server know
there is such a server, then let it join to the Admin server. you can do
that by using the admin console, from left panel, click on Servers -->
"Create a new server" and name it to be "paros", specify the port and IP.
and hit "create". then start the managed server.
Thanks
Yu
"Falko Zurell" <[email protected]> wrote in message
news:[email protected]...
Hi,
I installed a WL6.0 on Solaris 8. Everythings works fine.
I careated a Domain and an additional Server wich is located at a
different machine. As is start this managed server on the other machine
it complains with the following error message:
<Aug 30, 2001 12:41:18 PM CEST> <Info> <Security> <Getting boot password
from user.>
Enter password to boot WebLogic server:weblogic
Starting WebLogic Server ....
Connecting to http://sol23:7001...
The WebLogic Server did not start up properly.
Exception raised:
weblogic.management.configuration.ConfigurationException: paros not
found
weblogic.management.configuration.ConfigurationException: paros not
found
at
weblogic.management.Admin.getBootstrapLocalServer(Admin.java:927)
at weblogic.management.Admin.initialize(Admin.java:287)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:317)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:169)
at weblogic.Server.main(Server.java:35)
Reason: Fatal initialization exception
>
In the access-Log of the Admin-Server the following line appears
my IP - - [30/Aug/2001:12:41:13 +0200] "GET
/wl_management_internal2/Bootstrap HTTP/1.0" 404 0
So my question: Where does this "wl_management_internal2" Application
come from?
Do I have to install some special things when I start an Admin-Server?
thanks
Falko Zurell . Webmaster
Pixelpark AG . http://www.pixelpark.com
Rotherstrasse 8 . 10245 Berlin . Germany
phone: + 49 30 5058 - 1963 . fax: -1600 -
WL6.1 SP3 and JNDINameReplicated
What happened to the promised JNDINameReplicated feature for WebLogic 6.1 SP3?
When I manually enter it into config.xml I get this error on starting up
the cluster Admin Server:
Exception raised:
weblogic.management.configuration.ConfigurationException: Unknown attribute JNDI
NameReplicated for FailedMessagesQueue, type JMSQueue
I see the attribute WL7.0 dtd for config.xml si I'm pretty sure I'm using it
right, but here is the snippet of relevant config.xml
<JMSServer Name="JIRJMSCluster01" Store="JIRJDBCStore01" Targets="jircluster
01">
<JMSQueue JNDIName="/jir/queues/hub/failedmessages" Name="FailedM
essagesQueue" JNDINameReplicated="false"/>
<JMSQueue ErrorDestination="FailedMessagesQueue"
JNDIName="/jir/queues/brokers/default"
Name="DefaultBrokerQueue" RedeliveryLimit="2" JNDINameReplicated="fa
lse"/>
<JMSQueue ErrorDestination="FailedMessagesQueue"
JNDIName="/jir/queues/hub/billingnotify"
Name="BillingNotification" RedeliveryLimit="4" JNDINameReplicated="f
alse"/>
<JMSTopic JNDIName="/jir/queues/hub/notify" Name="NotificationTop
ic"/>
</JMSServer>
I am on a Sun Solaris 8. I used the patch to upgrade WL6.1 SP2 to WL6.1 SP3
Jirawat
There is a CSR patch available on 6.1 sp2 for this if you dont already have it.
It works great.
Mike
"Stephen Felts" <[email protected]> wrote:
>This feature is available in 7.0 but was not back ported to 6.1.
>
>"Jirawat Uttayaya" <[email protected]> wrote in message
>news:[email protected]...
>> What happened to the promised JNDINameReplicated feature for WebLogic
>6.1
>SP3?
>> When I manually enter it into config.xml I get this error on starting
>up
>> the cluster Admin Server:
>>
>> Exception raised:
>> weblogic.management.configuration.ConfigurationException: Unknown
>attribute JNDI
>> NameReplicated for FailedMessagesQueue, type JMSQueue
>>
>> I see the attribute WL7.0 dtd for config.xml si I'm pretty sure I'm using
>it
>> right, but here is the snippet of relevant config.xml
>>
>> <JMSServer Name="JIRJMSCluster01" Store="JIRJDBCStore01"
>Targets="jircluster
>> 01">
>> <JMSQueue JNDIName="/jir/queues/hub/failedmessages" Name="FailedM
>> essagesQueue" JNDINameReplicated="false"/>
>> <JMSQueue ErrorDestination="FailedMessagesQueue"
>> JNDIName="/jir/queues/brokers/default"
>> Name="DefaultBrokerQueue" RedeliveryLimit="2"
>JNDINameReplicated="fa
>> lse"/>
>> <JMSQueue ErrorDestination="FailedMessagesQueue"
>> JNDIName="/jir/queues/hub/billingnotify"
>> Name="BillingNotification" RedeliveryLimit="4"
>JNDINameReplicated="f
>> alse"/>
>> <JMSTopic JNDIName="/jir/queues/hub/notify" Name="NotificationTop
>> ic"/>
>> </JMSServer>
>>
>>
>> I am on a Sun Solaris 8. I used the patch to upgrade WL6.1 SP2 to WL6.1
>SP3
>>
>> Jirawat
>
>
-
Accessing a file residing on WL6.1 via the web app using URL
I am trying to retrieve an xml file from within a java controller bean which has been
instantiated within a session bean. Under wl5.1 I just created a URL with the path
to the file, but in wl6.1 it doesn't find file. I have created a resource-ref in
the web.xml and a reference-descriptor in the weblogic.xml. I still can't find the
file. Can anybody provide an example on the deployment descriptor elements needed
to accomplish this.
ThanksThe program looks into my System32 direcetory for the files.This suggests that you are using a filepath relative to the current working directory, and that you are assuming you know what that directory is. Look into the getRealPath() method of ServletContext.
Maybe you are looking for
-
2.1 - can no longer see who has texted
Its really annoying that on 2.1 you can no longer see who has texted unless you open the SMS screen. Another backward step, along with the dreadful battery life, rubbish camera etc etc
-
Cannot connect when not granting acces to akamaitechnologies!!!
Hi, Since a few days my firewall asks me that I have to grant access to the infamous akamaitechnologies(a194-109-192-7.deploy.akamaitechnologies.con) when starting sqldeveloper. If I refused I cannot connect!!!????. Before I have to grant access to b
-
Web service for CREATE_TRIP_DATA
Hello, I am very new to SAP and webservices and have an issue with getting a response from a web service I created for a simple function module BAPI_CREATE_TRIP_FROM_DATA. I am getting the following response for the SOAP request from soapUI: <soap-en
-
Cannot use Keynote on iPad from update
I use Keynote from a long time on iPad for my business. From update i cannot us the application. I can open it, i have the first slide "welcome" with the button "continue" i can clic and continue. At the second slide "first contact" it's impossible t
-
Generating export datasource for an info object
Hello Guys I am working on BW 3.5. I need to generate an export data source for an infoobject so that I can load its texts into another target IO. When I go into the infosources tab, and right click on the particular IO, it gives me the option of cre