Error BEA-101083 Socket Timeout
Hello, we have a WebLogic Server 8.1 SP2 and we found the following error:
<Dec 12, 2005 3:33:32 AM CET> <Error> <HTTP> <BEA-101083> <Connection failure.
java.io.IOException: A complete message could not be read on socket: 'weblogic.servlet.internal.MuxableSocketHTTP@1cc2438 - idle timeout: '30000' ms, socket timeout: '30000' ms', in the configured timeout period of '60' secs
at weblogic.socket.SocketMuxer$TimeoutTrigger.trigger(SocketMuxer.java:775)
at weblogic.time.common.internal.ScheduledTrigger.run(ScheduledTrigger.java:243)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
at weblogic.time.common.internal.ScheduledTrigger.executeLocally(ScheduledTrigger.java:229)
at weblogic.time.common.internal.ScheduledTrigger.execute(ScheduledTrigger.java:223)
at weblogic.time.server.ScheduledTrigger.execute(ScheduledTrigger.java:50)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
>
Any idea?
Thanks
As lot fo people we have the same problem.
But I have still not found a concreate solution.
####<08-May-2006 10:02:36 o'clock CEST> <Error> <HTTP> <quatro> <WlsAdm> <ExecuteThread: '2' for queue: 'weblogic.kernel.System'> <<WLS Kernel>> <> <BEA-101083> <Connection failure.
java.io.IOException: A complete message could not be read on socket: 'weblogic.servlet.internal.MuxableSocketHTTP@8db03f0 - idle timeout: '30000' ms, socket timeout: '30000' ms', in the configured timeout period of '60' secs
at weblogic.socket.SocketMuxer$TimeoutTrigger.trigger(Lweblogic/time/common/Schedulable;)V(SocketMuxer.java:799)
at weblogic.time.common.internal.ScheduledTrigger.run()Ljava/lang/Object;(ScheduledTrigger.java:243)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Lweblogic/security/subject/AbstractSubject;Ljava/security/PrivilegedAction;)Ljava/lang/Object;(Optimized Method)
at weblogic.security.service.SecurityManager.runAs(Lweblogic/security/acl/internal/AuthenticatedSubject;Lweblogic/security/acl/internal/AuthenticatedSubject;Ljava/security/PrivilegedAction;)Ljava/lang/Object;(SecurityManager.java:121)
at weblogic.time.common.internal.ScheduledTrigger.executeLocally()V(ScheduledTrigger.java:229)
at weblogic.time.common.internal.ScheduledTrigger.execute(Lweblogic/kernel/ExecuteThread;)V(ScheduledTrigger.java:223)
at weblogic.time.server.ScheduledTrigger.execute(Lweblogic/kernel/ExecuteThread;)V(ScheduledTrigger.java:50)
at weblogic.kernel.ExecuteThread.execute(Lweblogic/kernel/ExecuteRequest;)V(Optimized Method)
at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:183)
at java.lang.Thread.startThreadFromVM(Ljava/lang/Thread;)V(Unknown Source)
>
Similar Messages
-
Hi all.
I am testing in a BEA WebLogic Server 8.1 SP1 an application that uses Struts.
When I open a form, sometimes but not always, I get the following error:
<Jul 6, 2004 3:59:47 PM CEST> <Error> <HTTP> <BEA-101083> <Connection failure.
java.net.SocketException: Error in poll for fd=26, revents=8
at weblogic.socket.PosixSocketMuxer.processSockets(PosixSocketMuxer.java:128)
at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:32)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
This error does not produce any malfunction in the application. On the browser
side, anything strange is detected, but I'd like to know the reason of this in
order to avoid the exception to raise. I have no idea about whether this is related
to the BEA Weblogic configuration, to something in my application, ...
Has someone experienced something similar or knows some possible reason?
Thanks.Getting same error even in WLI8.5 SP5
BEA-101083
####<Mar 2, 2006 4:26:11 PM EST> <Error> <HTTP> <mariner2.nasaprs.com> <server1> <ExecuteThread: '0' for queue: 'weblogic.socket.Muxer'> <<WLS Kernel>> <> <BEA-101083> <Connection failure.
java.net.SocketException: Error in poll for fd=349, revents=32
at weblogic.socket.PosixSocketMuxer.processSockets()V(PosixSocketMuxer.java:131)
at weblogic.socket.SocketReaderRequest.execute(Lweblogic/kernel/ExecuteThread;)V(SocketReaderRequest.java:32)
at weblogic.kernel.ExecuteThread.execute(Lweblogic/kernel/ExecuteRequest;)V(ExecuteThread.java:224)
at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:183)
at java.lang.Thread.startThreadFromVM(Ljava/lang/Thread;)V(Unknown Source)
>
If anyone come up with any solution or why it happens, send email. -
Recurring errors BEA-101083 and BEA-000403
Hello.
My server configuration is:
Intel(R) Core(TM) i5-3470 3.20 GHz (2 processors)
12 GB RAM
Windows Server 2008 R2 Enterprise
I have Weblogic Server 12C installed on this machine.
When I deploy my ADF application on weblogic server it works normally. But in logs ( in the Enterprise manager - Fusion Middleware Control 12c) I see two errors :
Message ID
BEA-101083
Message Level
7
Relationship ID
0
Component
PortalMS3
Module
HTTP
Host
CSPORTAL
Host IP Address
192.100.100.27
User
<WLS Kernel>
Thread ID
ExecuteThread: '1' for queue: 'weblogic.socket.Muxer'
ECID
6e1a4bf5-904c-4412-b2dc-d778ee30a96f-00000b24
Message
Connection failure. java.io.IOException: Программа на вашем хост-компьютере разорвала установленное подключение
at sun.nio.ch.SocketDispatcher.read0(Native Method) at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:43)
at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:225) at sun.nio.ch.IOUtil.read(IOUtil.java:198) at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:375) at weblogic.socket.NIOSocketMuxer$NIOInputStream.read(NIOSocketMuxer.java:747) at weblogic.socket.NIOSocketMuxer$NIOInputStream.read(NIOSocketMuxer.java:733) at weblogic.socket.SocketMuxer.readFromSocket(SocketMuxer.java:1017) at weblogic.socket.NIOSocketMuxer.readFromSocket(NIOSocketMuxer.java:642) at weblogic.socket.SocketMuxer.readReadySocketOnce(SocketMuxer.java:951) at weblogic.socket.SocketMuxer.readReadySocket(SocketMuxer.java:928) at weblogic.socket.NIOSocketMuxer.process(NIOSocketMuxer.java:507) at weblogic.socket.NIOSocketMuxer.processSockets(NIOSocketMuxer.java:473) at weblogic.socket.SocketReaderRequest.run(SocketReaderRequest.java:30) at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:43) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:147) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:119)
And
Message ID
BEA-000403
Message Level
7
Relationship ID
0
Component
PortalMS3
Module
Socket
Host
CSPORTAL
Host IP Address
192.100.100.27
User
<WLS Kernel>
Thread ID
ExecuteThread: '1' for queue: 'weblogic.socket.Muxer'
ECID
6e1a4bf5-904c-4412-b2dc-d778ee30a96f-00000b24
Message
IOException occurred on socket: Socket[addr=/192.100.100.27,port=65202,localport=7004] java.io.IOException: Программа на вашем хост-компьютере разорвала установленное подключение. java.io.IOException: Программа на вашем хост-компьютере разорвала установленное подключение
at sun.nio.ch.SocketDispatcher.read0(Native Method) at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:43)
at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:225) at sun.nio.ch.IOUtil.read(IOUtil.java:198) at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:375) at weblogic.socket.NIOSocketMuxer$NIOInputStream.read(NIOSocketMuxer.java:747) at weblogic.socket.NIOSocketMuxer$NIOInputStream.read(NIOSocketMuxer.java:733) at weblogic.socket.SocketMuxer.readFromSocket(SocketMuxer.java:1017) at weblogic.socket.NIOSocketMuxer.readFromSocket(NIOSocketMuxer.java:642) at weblogic.socket.SocketMuxer.readReadySocketOnce(SocketMuxer.java:951) at weblogic.socket.SocketMuxer.readReadySocket(SocketMuxer.java:928) at weblogic.socket.NIOSocketMuxer.process(NIOSocketMuxer.java:507) at weblogic.socket.NIOSocketMuxer.processSockets(NIOSocketMuxer.java:473) at weblogic.socket.SocketReaderRequest.run(SocketReaderRequest.java:30) at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:43) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:147) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:119)
Russian text is meaning : "Program on your host computer breaked connection"
This errors repeated every minute.Hi,
This seems to be a known issue with weblogic 12.1.2 (Bug 18073982)
I would recommend you to open a SR with Oracle to check further on this.
Thanks,
Sharmela -
While trying to publish mesaage by MQ 5.3 .I got the following error
Please help.
<Error> <HTTP> <BEA-101083> <Connection failure.
java.io.IOException: A complete message could not be read on socket: 'weblogic.servlet.internal.MuxableSocketHTTP@1c94ff
3 - idle timeout: '30000' ms, socket timeout: '30000' ms', in the configured timeout period of '60' secs
at weblogic.socket.SocketMuxer$TimeoutTrigger.trigger(SocketMuxer.java:775)
at weblogic.time.common.internal.ScheduledTrigger.run(ScheduledTrigger.java:243)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
at weblogic.time.common.internal.ScheduledTrigger.executeLocally(ScheduledTrigger.java:229)
at weblogic.time.common.internal.ScheduledTrigger.execute(ScheduledTrigger.java:223)
at weblogic.time.server.ScheduledTrigger.execute(ScheduledTrigger.java:49)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
Can you help me ? I have the same problem.
-
WL 8.1 BEA-101083 error when submitting a form using javascript (IE only)
Hello,
I have a JSP page that is submitting a form with javascript document.form.submit()
after checking the validity of form element values, but I randomly get a BEA-101083
error. The jsp page has worked fine for several year in IPlanet, and Sun One
7 application server, but when ported over to WebLogic 8.1 SP2 the error manifests
itself. Basically, when user submits the form, the next page is displayed with
null values, and soon after the following stack trace appears in the server log.
This error only occurs when the client browser is IE, Netscape works fine.
Thanks,
-Colin
<WLS Kernel>> <> <BEA-101083> <Connection failure.
java.io.IOException: A complete message could not be read on socket: 'weblogic.servlet.internal.MuxableSocketHTTP@9bb9300
- idle tim
eout: '30000' ms, socket timeout: '30000' ms', in the configured timeout period
of '60' secs
at weblogic.socket.SocketMuxer$TimeoutTrigger.trigger(Lweblogic.time.common.Schedulable;)V(SocketMuxer.java:775)
at weblogic.time.common.internal.ScheduledTrigger.run()Ljava.lang.Object;(ScheduledTrigger.java:243)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Lweblogic.security.subject.AbstractSubject;Ljava.security.Privil
egedAction;)Ljava.lang.Object;(AuthenticatedSubject.java:317)
at weblogic.security.service.SecurityManager.runAs(Lweblogic.security.acl.internal.AuthenticatedSubject;Lweblogic.security.a
cl.internal.AuthenticatedSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(SecurityManager.java:118)
at weblogic.time.common.internal.ScheduledTrigger.executeLocally()V(ScheduledTrigger.java:229)
at weblogic.time.common.internal.ScheduledTrigger.execute(Lweblogic.kernel.ExecuteThread;)V(ScheduledTrigger.java:223)
at weblogic.time.server.ScheduledTrigger.execute(Lweblogic.kernel.ExecuteThread;)V(ScheduledTrigger.java:50)
at weblogic.kernel.ExecuteThread.execute(Lweblogic.kernel.ExecuteRequest;)V(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:170)
at java.lang.Thread.startThreadFromVM(Ljava.lang.Thread;)V(Unknown Source)Checkboxes only submit a value when they are "on"
They submit nothing if they are not selected.
The problem comes - do you interpret no checkbox values as "clear all values" or "leave the values alone"? Struts assumes the latter.
Your form is probably being kept in session?
Try implementing the reset() method of your action form and set its property to be equivalent to no checkboxes selected. -
environment details:
PT 8.49.06
Web server on: Windows 2003
Bea Weblogic: weblogic 9.2 mp1-p2
receiving the error messages in the webserver log file. please see below.
####<May 22, 2008 8:56:17 AM PDT> <Error> <HTTP> <UCBFASP1> <PIA> <[ACTIVE] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1211471777758> <BEA-101083> <Connection failure.
java.io.IOException: A complete message could not be read on socket: 'weblogic.servlet.internal.MuxableSocketHTTP@a6be6e:Socket[addr=/10.188.10.156,port=15371,localport=7001] - idle timeout: '30000' ms, socket timeout: '30000' ms', in the configured timeout period of '60' secs
at weblogic.socket.SocketMuxer$TimerListenerImpl.timerExpired(SocketMuxer.java:947)
at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:265)
at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
>
####<May 22, 2008 8:56:42 AM PDT> <Error> <HTTP> <UCBFASP1> <PIA> <[ACTIVE] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1211471802758> <BEA-101083> <Connection failure.
java.io.IOException: A complete message could not be read on socket: 'weblogic.servlet.internal.MuxableSocketHTTP@5b669c:Socket[addr=/10.88.10.56,port=22327,localport=7001] - idle timeout: '30000' ms, socket timeout: '30000' ms', in the configured timeout period of '60' secs
at weblogic.socket.SocketMuxer$TimerListenerImpl.timerExpired(SocketMuxer.java:947)
at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:265)
at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
Users are getting disconnected/timedout when working on the application.
This needs to be resolved asap. Please can someone help...Are you able to reproduce the same behaviour in non-production env ?
I would try to install the WL9.2MP1-patch 4 available here below :
ftp://ftp.peoplesoft.com/outgoing/ptools/weblogic/9.20/mp1/patches/
Is it producing only on workload ? Is it a new behaviour ? Did you change some conf ?
I would advise you, once more, to raise a case to your support.
Nicolas. -
Question:BEA-101083 error weblogic8.16???
platform:AS5 weblogic8.16
managed server log display error
####<2009-9-7 <Error> <HTTP> <web3> <web03> <ExecuteThread: '1' for queue: 'weblogic.socket.Muxer'> <<WLS Kernel>> <BEA-101083> <Connection failure.
java.net.SocketException: Error in poll for fd=47, revents=32
at weblogic.socket.PosixSocketMuxer.processSockets(PosixSocketMuxer.java:131)
at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:32)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
so why display this error?? how can i solve this problem??是连接池的问题,调整一下试一试
-
While trying to publish mesaage by MQ 5.3 .I got the following error
Please help.
<Error> <HTTP> <BEA-101083> <Connection failure.
java.io.IOException: A complete message could not be read on socket: 'weblogic.servlet.internal.MuxableSocketHTTP@1c94ff
3 - idle timeout: '30000' ms, socket timeout: '30000' ms', in the configured timeout period of '60' secs
at weblogic.socket.SocketMuxer$TimeoutTrigger.trigger(SocketMuxer.java:775)
at weblogic.time.common.internal.ScheduledTrigger.run(ScheduledTrigger.java:243)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
at weblogic.time.common.internal.ScheduledTrigger.executeLocally(ScheduledTrigger.java:229)
at weblogic.time.common.internal.ScheduledTrigger.execute(ScheduledTrigger.java:223)
at weblogic.time.server.ScheduledTrigger.execute(ScheduledTrigger.java:49)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)Hi, we are running WLS 8.1 SP 5 on Linux and are having this problem. It appears to have an impact on our client/GUI in the form of premature session timeout.
-
SocketException BEA-101083 Weblogic 9.2
Hi,
we are facing a problem in our production environment, we get pratically every minutes the following exception :
<30 juin 2008 10 h 27 CEST> <Error> <HTTP> <BEA-101083> <Connection failure.
java.net.SocketException: Error in poll for fd=287, revents=32
at weblogic.socket.PosixSocketMuxer.processSockets(PosixSocketMuxer.java:133)
at weblogic.socket.SocketReaderRequest.run(SocketReaderRequest.java:29)
at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:42)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:145)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:117)
>
What can be the cause of this ? Our users are telling us that the application goes very slow and this is the only abnormal log that we found.
Thank you,
Quentin Anciaux
<[email protected]>Hi, the problem happens pratically once or two per minute while the application is in use... when the application is not used, no error happens.
So it happens very often... I thought it could be a problem with a proxy/firewall in the middle, but according to the guys in charge of this, nothing has changed on his side.
I've read things about a possible bug in the nativeIO implementation, would it be safe to deactivate nativeIO to see if this bug arise with pure java socket ?
Also this problem only occurs in our production environment, we have 4 others environment used for testing/training/integration and this error does not occur there.
Thanks for any help,
Quentin Anciaux -
BEA-000450:Socket 12 internal data record unavailable
we are frequently observing below error on soa server logs.
Please provide us what action needs to taken to avoid such errors.
Error:
####<Jan 2, 2013 10:28:16 PM AST> <Warning> <Socket> <soatest.wataniya.com>
<WLS_SOA1> <ExecuteThread: '1' for queue: 'weblogic.socket.Muxer'> <<WLS Kernel>> <>
<11d1def534ea1be0:-5c6c0e31:13b7acd86df:-8000-000000000008a4d0> <1357154896689> <BEA-000450>
<Socket 12 internal data record unavailable (probable closure due idle timeout), event received 17>Reason for warning <BEA-000450> claims it's harmless.
I pray because we're getting the error in our Oracle Retail Allocation v. 13.2.3 app server logs.
John M. Kimball
Kroger -
Invoking web service from OBIEE11g failed socket timeout
Hi,
I encountered an error when I invoke web service from OBIEE 11g. The web serivce resides on Websphere running on other machine.
An error says that "Invoking web service failed due to socket timeout." and it seems that it stopped in just 40 secs.
Is there any settings of WebLogic server to avoid this? This web service normally runs for more than 60 sec.
I have checked several parameters in WebLogic admin console and changed those values, but I still receive the same error.
Invoking the same web service from SOAPUI sustains for more than 60 secs.
Regards,
Fujio SoneharaDon't be too surprised. Sun figured this bug out in short order. I got the same error message when trying to do the same thing, just for the heck of it. Reference this article for details.
http://java.sun.com/webservices/docs/ea2/jaxrpc/ReleaseNotes.html
It contains information about bugs fixed in the WSDP EA2. So in answer to your question, download the newer pack from
http://java.sun.com/webservices/downloads/webservicespack.html
and your bug will go away. Happy Coding.
Legal Problems?
Legal Solutions, for a lot less than you might think.
[email protected]
http://www.prepaidlegal.com/go/pritchard45 -
Help with flex4unit ant build.xml: Socket timeout waiting for flexunit report
I'm having trouble setting up ant to build and test my project locally and I'm not sure what the next step is.
Info:
Running on XP/Cygwin.
All of the files that FlexUnit4 references when used in Flash Builder are in my '${basename}/libs' folder (eg FlexUnit4_1.0.swc).
I've placed the flexunit4 task in my ant/libs folder.
I'm getting two errors...
I don't think I've set up the 'socket' stuff right for the tests. It just sits and waits then dies...
[flexunit] Waiting for client connection ...
(about a minute later)
[flexunit] Stopping server ...
[flexunit] End of test data reached, sending acknowledgement to player ...
[flexunit] Closing client connection ...
[flexunit] Closing server on port [1024] ...
BUILD FAILED
java.util.concurrent.ExecutionException: Socket timeout waiting for flexunit report
Plus this is the error I get from the flash player:
ReferenceError: Error #1065: Variable mx.skins.spark::BorderSkin is not defined.
I don't know why it's complaining about Borderskin as I think I have included all the flex4 libs I could find. I suspect this second error is causing the first error?
Any help appreciated. I think I'm just setting it up all wrong.
Screencap of errors:
http://twitpic.com/l7ay8
build.xml:
http://gist.github.com/20804Finally got everything working using the files from the CI Example which what i probably should have done in the first place.
So a rough guide for anyone just starting out with this:
Download the Flex 4 'workspace' from the digital primates hudson server . This appears to contain flexunit library and examples in various stages of development.
I used Flex Builder 4 Beta 2 to set up my Test Suite and Test Cases.
I then loaded the libs folder from:
workspace.zip\workspace\project\FlexUnit4SampleCIProject
into my flex project's libs folder:
this includes:
FlexUnit4.swc
FlexUnit4CIListener.swc
flexUnit4UIRunner.swc
flexTasks.jar
flexUnitTasks.jar
I didn't need to remove the FlexUnit4 stuff that is 'referenced' automatically by flash builder when you start adding flexunit4 tests/suites.
Then I used a modified version of the TestRunner.mxml found in:
workspace.zip\workspace\project\FlexUnit4SampleCIProject\src\test\flex
The lines to pay attention to are the ones that look like:
static public function currentRunTestSuite():Array {
var testsToRun:Array = new Array();
testsToRun.push(packagename.TestSuiteName);
testsToRun.push(packagename.TestClassName);
return testsToRun;
Just make sure you update this list to include all of the test suites &/or individual tests you want to run.
I made this a static function and modified the code in the "FlexUnitApplication.mxml" file to use this function so i'd only need to update one list of suites/tests.
FlexUnitApplication.mxml is generated automatically when you run FlexUnit4 tests in the Flash Builder 4 Beta 2 IDE.
This is the build.xml file I'm using in the project:
http://gist.github.com/208211
Change the name of the project from "Flare" to whatever and adjust the other path settings where required (though you might want to write this from scratch at least once so you understand roughly what is going on).
The Debug Flash Player must be installed on the server otherwise you'll get a:
java.util.concurrent.ExecutionException: Socket timeout waiting for flexunit report
...while it waits for the non-existant debugger to attach. (This is obvious but I did forget and was a bit bewildered for a moment)
Need to also ensure the environment variable:FLEX_HOME is set to the location you installed the flex sdk...by editing your .bashrc setting the environment variable the in the Hudson Configuration.
You'll need to point Hudson at your ant installation and your jdk installation. If you downloaded he sdk, be aware you might need to point it to the jdk folder inside the place you installed the sdk.
And I think that's all the problems I had. Hope it's useful to someone... if anyone who actually knows what they are doing can point out any potential issues/better ways of doing things, feel free to comment.
Thanks to Brian (legrosb) and Mike (mlabriola) for their assistance! -
Problem Statement:
I have created a utility(using JavaMail API) which downloads mails from the Exchange Server 2003(MS Windows server 2003) using IMAP service.
The utility uses 5 different threads(each creating it's own separate IMAP session) to download the mails from the same user mailbox account. A separate main controlling thread has been used, which feeds these 5 threads with the start-end message counts with a batching of 100 messages. The 5 threads also set the message delete flag after downloading/processing the messages. And finally the main controlling thread expunges the mail box account after a certain amount of time(1 hour). (The service also takes care of expunging the messages at the startup as well.)
The utility runs fine for a long time(say 8 to 10 hours) but then it suddenly starts giving socket timeout exceptions and then it continues giving the exceptions. I even introduced a delay of 15 min. and increased the socket timeout period but to no avail. All i had to do was to restart the exchange server and after some time, i again started the utility and it worked finely.
Exception stack trace:
* BYE JavaMail Exception: java.net.SocketTimeoutException: Read timed out
javax.mail.MessagingException: * BYE JavaMail Exception: java.net.SocketTimeoutException: Read timed out;
nested exception is:
com.sun.mail.iap.ConnectionException: * BYE JavaMail Exception: java.net.SocketTimeoutException: Read timed out
at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:477)
at javax.mail.Service.connect(Service.java:275)
at com.newgen.omni.mail.mswrapper.MailServerWrapper.connect(MailServerWrapper.java:102)
at com.newgen.omni.mail.mswrapper.MailServerWrapper.<init>(MailServerWrapper.java:33)
at com.newgen.omni.mail.scheduler.Scheduler.Process(Scheduler.java:352)
at com.newgen.omni.mail.scheduler.Scheduler.run(Scheduler.java:293)
at com.newgen.omni.mail.scheduler.Scheduler.execute(Scheduler.java:1026)
at org.quartz.core.JobRunShell.run(JobRunShell.java:178)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:477)
Caused by: com.sun.mail.iap.ConnectionException: * BYE JavaMail Exception: java.net.SocketTimeoutException: Read timed out
at com.sun.mail.iap.Protocol.handleResult(Protocol.java:299)
at com.sun.mail.iap.Protocol.simpleCommand(Protocol.java:316)
at com.sun.mail.imap.protocol.IMAPProtocol.login(IMAPProtocol.java:290)
at com.sun.mail.imap.IMAPStore.login(IMAPStore.java:517)
at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:458)
... 8 more
The code snippet to make the IMAP connection (all the 6 threads call it separately to create separate sessions):
Properties prop = new Properties();
logger.debugMsg("mailCapture :: Process :: Initializing IMAP context...");
prop.put("mail.imap.appendbuffersize","-1");
prop.put("mail.imap.allowreadonlyselect","true");
prop.put("mail.imap.separatestoreconnection","true");
prop.put("mail.imap.partialfetch","false");
prop.put("mail.imap.connectiontimeout", "1200000");
prop.put("mail.imap.timeout", "1200000");
session = Session.getInstance(prop);
//session.setDebug(true);
logger.debugMsg("mailCapture :: Process :: Get Store...");
store = session.getStore("imap");
try
store.connect(mailServerInfo.strServerIP, Integer.parseInt(mailServerInfo.strServerPort), mailServerInfo.strUsername, mailServerInfo.strPassword);
catch(MessagingException ex)
logger.logException(ex.getMessage(), ex);
Thread.sleep(900000);
throw ex;
I have tried with session debugging as well when the exceptions started coming(restart the service with session debugging true) but it doesnt give me any information worthwhile, either the utility stucks on the store.connect or otherwise if it connects then it stucks while opening the folder while using (sourceMailAccountFolder.open(Folder.READ_WRITE);) and doesn't move any further.
NOTE: While the IMAP service is throwing socket time out exceptions, at the same time I am able to access my account using the http://<ip>/exchange/administrator and the server machine cpu and memory usages are very low as well. I am also having a separte utility which uploads mails using smtp and it is also working fine and uploading the mails whilest the imap utility is throwing the socket timeout exceptions.......
Please help on this as i am not able to resolve it myself.....................Can simultaneously uploading the mails through smtp affect the imap performance(and hence the javamail).
Note: The mailbox size is over 200000 mails when it started giving exceptions.
When the socket timeout exceptions came(i have experienced them for the last three days), i was still able to send mails using smtp and the telnet also working fine and even without any delays, infact as i said, the utility sometimes connects but then fails, while using sourceMailAccountFolder.open(Folder.READ_WRITE); giving socket timeout errors and then dnt go any further.
Right now i have stopped the smtp uploading the mails(for the first time) but still the javamail takes a long time(variable) to connect to the server and the mail body and attachment accessing speed is also a little slow, will see and post back, if the socket timeout exceptions come again.
Note: My aim is to download more than some 250000 mails within a day through javamail, whilest i am simultaneously uploading them using SMTP.
My other survice, using SMTP pumps in messages within a loop. -
CLI0615E Error receiving from socket, server is not responding.
We recently changed a web application using DB2 5.2 tables from ODBC to JDBC. We are using the COM.ibm.db2.jdbc.net.driver. We are using a
connection pool and running on iPlanet.
We are getting intermittant "CLI0615E Error receiving from socket, server is not responding errors". We have looked in the JDBC forum and DB2 support and cannot find a reasonable answer to this problem. It is NOT always on sql statements that take a long time to execute, so I don't think it is a timeout issue.
I read something about "stale connections". Does anyone know how to check to see if this is a problem?
When we first converted the app, we had a lot of problems also with "invalid handle or statement is closed" which we have determined was being caused by the user submitting the page again before it had time to finish the first time. We have put in javascript code to prevent multiple submits. Could this server not responding problem be caused by double submits that we have not located yet?
The error is NOT occuring on any one page, and the same page will run correctly once and the next time throw this error.
Any suggestions would be greatly appreciated.
Thanks.
[29/Apr/2003:11:00:20] info (42196): COM.ibm.db2.jdbc.net.DB2Exception: [IBM][JDBC Driver] CLI0615E Error receiving from socket, server is not responding. SQLSTATE=08S01
at COM.ibm.db2.jdbc.net.SQLExceptionGenerator.throwReceiveError(SQLExceptionGenerator.java(Compiled Code))
at COM.ibm.db2.jdbc.net.DB2Request.receive(DB2Request.java(Compiled Code))
at COM.ibm.db2.jdbc.net.DB2Request.sendAndRecv(DB2Request.java(Compiled Code))
at COM.ibm.db2.jdbc.net.DB2RowObject.next(DB2RowObject.java(Compiled Code))
at COM.ibm.db2.jdbc.net.DB2ResultSet.next(DB2ResultSet.java(Compiled Code))
at bom.Bom.getDefs(Bom.java(Compiled Code))
at jsps.bbapps._eng._ENGJGLT0_jsp._jspService(_ENGJGLT0_jsp.java(Compiled Code))
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.iplanet.server.http.servlet.NSServletRunner.invokeServletService(NSServletRunner.java:897)
at com.iplanet.server.http.servlet.NSServletRunner.Service(NSServletRunner.java:464)hi,
lemme try to tell u what i thinkk..i dont think its' a solution
Usually this error code means that there was some problem while the driver tried establishsing a socket connection to the remote server. You could very well avoid this by tracking out what is preventing the socket connection.. it may be network congestion or some other onfiguration problems with the network, or with the DB2 server...
But if the same application could work perfectly with jdbc-odbc driver in same environment,then it needs some attention.either the ibm driver isn't throwing the error as expected by the iplanet or iplanet isn't acting as needed when such an error is thrown.
contact them and they may provide and explanation..
wishes,
Jer -
Error - BEA-110412 - WEblogic 8.1 sp4 +sql server 2005
i using two connecion pooling
FIrst is - bea MS sql server 2000 TYpe 4XA version 7 2000
second is - bea MS sql server 2000 TYpe 4 version 7 2000
am getting this . ne one tell why this error happens ?
<May 3, 2007 10:44:49 AM IST> <Error> <JTA> <BEA-110412> <Name=[EJB
StatelessBean.findateFilter(java.lang
.String,java.util.Date,java.util.Date)],Xid=BEA1-0098FB74440133C475C1(740772),Status=Committed,Heuristi
cErrorCode=XA_HEURHAZ,numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds since begin=0,seconds left=120,
activeThread=Thread[ExecuteThread: '13' for queue: 'weblogic.kernel.Default',5,Thread Group for Queue:
'weblogic.kernel.Default'],XAServerResourceInfo[XAPool]=(ServerResourceInfo[XAPool]=(
state=committed,assigned=AX),xar=XAPool,re-Registered = false),SCInfo[ade+AX]=
(state=committed),properties=({weblogic.transaction.name=[EJB
StatelessBean.findDateFilter(java.lang.Strin
g,java.util.Date,java.util.Date)]}),local properties=({}),OwnerTransactionManager=ServerTM[ServerCoordi
natorDescriptor=(CoordinatorURL=AccountEX+192.168.11.21:7001+Trade+t3+, XAResources={},NonXAResources={
})],CoordinatorURL=AX+192.168.11.21:7001+Tade+t3+) completed heuristically: (XAPool, H
euristicHazard, ()) >
<May 3, 2007 10:44:49 AM IST> <Error> <EJB> <BEA-010026> <Exception occurred during commit of transacti
on Name=[EJB findDateFilter(java.lang.String,java.util.Date,java.util.Date)],Xid=BEA1-0098FB
74440133C475C1(740772),Status=Committed,HeuristicErrorCode=XA_HEURHAZ,numRepliesOwedMe=0,numRepliesOwed
Others=0,seconds since begin=0,seconds left=120,XAServerResourceInfo[XAPool]=(ServerResourceIn
fo[XAPool]=(state=committed,assigned=AX),xar=XAPool,re-Registered = false),SCI
nfo[Tade+AX]=(state=committed),properties=({weblogic.transaction.name=[EJB
StatelessBean.findDateFilter(java.lang.String,java.util.Date,java.util.Date)]}),
local properties=({}),OwnerTransactionManager=
ServerTM[ServerCoordinatorDescriptor=(CoordinatorURL=AX+192.168.11.21:7001+Tade+t3+, XAResource
s={},NonXAResources={})],CoordinatorURL=AccountEX+192.168.11.21:7001+Tade+t3+): javax.transaction.Heur
isticMixedException: (XAPool, HeuristicHazard, ())
at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.jav
a:296)
at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:246)
at weblogic.ejb20.internal.BaseEJBLocalObject.postInvoke(BaseEJBLocalObject.java:363)
at FacadeEJB_fnbmmb_ELOImpl.findDateFilter(BvTradexFacadeEJB_fnbmmb_ELOImpl.java:1375)
at AxAxInst.doSelect(AxAxInst.java:230)
at hub.hubmp.HUBMPTransportFinal.execute(HUBMPTransportFinal.java:81)
at jsp_servlet._hubmp.__batchurl._jspService(endrequest.jsp:8)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1
006)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
at hub.hubmp.servlet.FOPFilter.doFilter(FOPFilter.java:44)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
at hub.hubmp.servlet.UtfFilter.doFilter(UtfFilter.java:36)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletCont
ext.java:6724)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
.>this is an error when you somehow timeout the connection on DB without going through the WLS...
This can happen if the oracle setting are designed to timeout ideal connections or some one does it manually...
Also this can be found in case of Locks or some corrupt data on oracle which makes the JTA transaction end abnormally...
Maybe you are looking for
-
AirPort Extreme WiFi's to only 3 devices at a time
After four+ years of pretty solid network performance at home connecting to Wide Open West, my MacBookPro reported no WiFi internet connection on my network. Hmm. I turned off AirPort in the menu bar, then back on -- still no internet. After rebo
-
How do i know which hard drive to buy to replace my macbook 13"
how do i know which hard drive to buy to replace my macbook 13"
-
Time Capsule corrupt, and unable to restore system
My iMac hard drive crashed, and I recently had to get it replaced under warranty. When I got my computer back, I was trying to restore my previous system from the Time Capsule backup. After hours on the phone with support, and at the Genius Bar, I wa
-
Convert a rpm waveform to digital/an​alog tach signal. Sound & Vibration
Hello, my question is: How to convert a rpm waveform to digital/analog tach signal for use with SV application? Or is it possible to modify the SV - VIs for the use of a rpm waveform or a speed signal? Thanks a lot for coming answers. Thomas Nuding
-
Upgrading user tables with NCHAR columns in 10.2.0.1
Hi, we have upgraded our database to 10.2.0.1 from 8.1.7.4 through DBUA Before upgradation our database was having WEISO8895P1 Character Set and WEISO8895P1 National character set. In 10g we are having WEISO8895P1 Character Set and AL16UTF16 National