Read of HTTP Request POST parameters failed:Read timed out
Hi !
Any one seen this exception . any ideas of the cause?
java.lang.RuntimeException: Read of HTTP Request POST parameters failed: Read timed out
at org.apache.catalina.connector.HttpRequestBase.parseParameters(HttpRequestBase.j ava:665)
at org.apache.catalina.connector.HttpRequestBase.getParameterValues(HttpRequestBase.java :737)
at org.apache.catalina.connector.RequestFacade.getParameterValues(RequestFacade.java:170 )
Thanks,
Assuming there is nothing wrong with
org.apache.catalina.connector.HttpRequestBase.parseParameters
I can only think of 2 things:
1. The timeout is set for an extremely short time in the Apache settings (server.xml의)
2. The client application is sending the POST verry slow or incorrect. For example the
client says that the POST is 500 long than sends 200 and leaves the connection open.
You can try and post the following:
request.txt:
POST /somePath/somefile.js HTTP/1.1
Host: localhost:44
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.5) Gecko/20041217
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Content-Type: application/x-www-form-urlencoded
Content-Length: 45
depreciatedButWontPostWithoutAName=some+valueThe client sending the request:
import java.io.*;
import java.net.*;
import java.io.DataOutputStream;
import java.applet.Applet;
public class appTest extends Applet implements Runnable {
public static final int HTTP_PORT = 80;
public static final String hostName = "localhost";
public void run() {
try{
InetAddress addr = InetAddress.getByName(hostName);
Socket s = new Socket(addr,HTTP_PORT);
BufferedWriter wr = new BufferedWriter(new OutputStreamWriter(s.getOutputStream(), "UTF8"));
s.setSoTimeout(2000);
File fileToSend = new File("request.txt");
FileInputStream fleHTML = new FileInputStream(fileToSend);
StringBuffer sbHTMFile = new StringBuffer();
int b = fleHTML.read();
while(b!=-1){
sbHTMFile.append((char) b);
b = fleHTML.read();
wr.write(sbHTMFile.toString());
wr.flush();
BufferedReader rd = new BufferedReader(new InputStreamReader(s.getInputStream()));
String line;
while ((line = rd.readLine()) != null) {
System.out.println(line);
wr.close();
rd.close();
} catch (Exception e) {
e.printStackTrace();
public void init(){
new Thread(this).start();
public appTest(){
new Thread(this).start();
// main program
public static void main(String argv[]) throws Exception {
new appTest();
}In appTest.java change HTTP_PORT to the port you need and hostName to the
hostname you need.
In request.txt change the /somePath/somefile.js to the location you desire.
And change Host: localhost:44 to the hostname and post you desire.
Similar Messages
-
About the read from http request, I think it is a bug in weblogic
Hi guys,
sorry for the previous post, I press the wrong button, I didn't finished yet.
I have experienced a problem when I try to read from http request in a web application.
the following is my code:
InputStreamReader isr = new InputStreamReader(new URL("www.myhost.com").openStream(),"8859_1");
BufferedReader bfr = new BufferedReader(isr);
String request = "";
while((request = bfr.readLine()) != null)
stringGotFromServer += request;
the problem is it always hang in there when BufferdReader reach the end.
but in java specification, BufferedReader should reture null if reaching the
end.
Does anyone have any good idea for that?
Thanks in advance.Hi,
I think if you follow the instructions as given in the example you will not have any problems.
here are the instructions below
"This example code demonstrates one technique of handling test failures.
If this step fails, a dialog will be displayed giving options to Break, Terminate, or Retry.
The On Fail Post Action calls the HandleTestFailure sequence which is
another sequence in this sequence file.
The sequence file has the SequenceFilePreStep Callback overridden where
the initial statue of Runstate.SequenceFailed is stored in a local variable. Create a local variable in your sequence called SequenceAlreadyFailed which is a boolen.
To use this in your sequence file:
1. Copy the HandleTestFailure sequence to your sequence file.
2. For a step to use this, you
must set the On Fail Post Action to call the
HandleTestFailure sequence.
3. Override the PreStepCallback.
4. Copy the step from this example's PreStepCallback to yours.
5. Copy the TestFailureDialog.* files to the same directory as your sequence file. -
I started getting a Timed Out error message on my iPhone 5 when trying to browse the internet tthat reads Page could not be loaded. Connection timed out. I performed a Reset Network Settings and am still getting the error message. What is the fix?
Thanks so much for more direction.
I realized that I bought this iPod T4 about a year ago, so decided to check the date and it is still under the 1 year ltd. warranty until 21 Dec. I contacted Apple via Chat and was informed that the problem may lie in the version of iTunes I was running 10.7. Today Apple released v. 11 of iTunes which I was instructed to download. It's TOTALLY different from iTunes 10.7 - drastically different in fact.
The Apple Chat Rep set up a phone call appointment forl 8:00 pm ET tonight where another Rep will call me to make sure the restore was accomplished OK. With v. 11 of iTunes I can't even find the restore option!!! The phone Rep will have to help me navigate v. 11 of iTunes. It doesn't seem intuitive at all. Maybe it's just me?!?!
Thank you for sending this new link for firmware. It's not clear to me right now whether I'll need it or not. The phone Rep will probably somehow be able to resolve the problem. If not, they'll probably send me to the nearest Apple store if the problem is hardware, as it would be covered under the warranty. I will give another update as to what transpires as a result of the phone call with the Apple Rep.
Again, thank you so much for helping me. -
TACACS+ configured on router and router is in ACS. I can ping the ACS but the router cannot establish a connection to authenticate users.
aaa group server tacacs+ hq_acs-1
server 10.20.17.2
ip tacacs source-interface GigabitEthernet0/0
aaa authentication login default group tacacs+ local
aaa authorization config-commands
aaa authorization exec default group tacacs+ local
aaa authorization commands 10 default group tacacs+ local
aaa authorization commands 15 default group tacacs+ local
aaa accounting nested
aaa accounting update newinfo periodic 60
aaa accounting auth-proxy default start-stop group tacacs+
aaa accounting exec default start-stop group tacacs+
aaa accounting commands 15 default start-stop group tacacs+
aaa accounting network default start-stop group tacacs+
aaa accounting connection default start-stop group tacacs+
aaa accounting system default start-stop group tacacs+
aaa accounting resource default start-stop group tacacs+
BigTree_3945#sh ip int br
Interface IP-Address OK? Method Status Protocol
GigabitEthernet0/0 10.4.3.1 YES NVRAM down down
GigabitEthernet0/1 10.12.10.26 YES NVRAM up up
Serial0/2/0 unassigned YES NVRAM down down
Serial0/2/0.602 10.12.15.10 YES NVRAM down down
Apr 13 11:08:13.673: TPLUS: Queuing AAA Authentication request 79 for processing
Apr 13 11:08:13.673: TPLUS: processing authentication start request id 79
Apr 13 11:08:13.675: TPLUS: Authentication start packet created for 79(cisscdb)
Apr 13 11:08:13.675: TPLUS: Using server 10.20.17.2
Apr 13 11:08:13.675: TPLUS(0000004F)/0/NB_WAIT/1BDD9C34: Started 5 sec timeout
Apr 13 11:08:18.676: TPLUS(0000004F)/0/NB_WAIT/1BDD9C34: timed out
Apr 13 11:08:18.676: TPLUS(0000004F)/0/NB_WAIT/1BDD9C34: timed out, clean up
Apr 13 11:08:18.676: TPLUS(0000004F)/0/1BDD9C34: Processing the reply packet
Apr 13 11:08:25.834: TPLUS: Queuing AAA Authentication request 79 for processing
Apr 13 11:08:25.834: TPLUS: processing authentication start request id 79
Apr 13 11:08:25.834: TPLUS: Authentication start packet created for 79(cisscdb)
Apr 13 11:08:25.834: TPLUS: Using server 10.20.17.2
Apr 13 11:08:25.834: TPLUS(0000004F)/0/NB_WAIT/1BDD9C34: Started 5 sec timeout
Apr 13 11:08:30.836: TPLUS(0000004F)/0/NB_WAIT/1BDD9C34: timed out
Apr 13 11:08:30.836: TPLUS(0000004F)/0/NB_WAIT/1BDD9C34: timed out, clean up
Apr 13 11:08:30.836: TPLUS(0000004F)/0/1BDD9C34: Processing the reply packet
Apr 13 11:08:43.689: TAC: Using default tacacs server-group "tacacs" list.
Apr 13 11:08:43.689: TAC+: Opening TCP/IP to 10.20.17.2/49 timeout=5
Apr 13 11:08:51.057: TPLUS: Queuing AAA Authentication request 79 for processing
Apr 13 11:08:51.057: TPLUS: processing authentication start request id 79
Apr 13 11:08:51.057: TPLUS: Authentication start packet created for 79(cisscdb)
Apr 13 11:08:51.057: TPLUS: Using server 10.20.17.2
Apr 13 11:08:51.057: TPLUS(0000004F)/0/NB_WAIT/1BDD9C34: Started 5 sec timeout
Apr 13 11:08:54.692: TAC+: TCP/IP open to 10.20.17.2/49 failed -- Connection timed out; remote host not responding
Apr 13 11:08:54.692: TPLUS: Queuing AAA Accounting request 76 for processing
Apr 13 11:08:54.692: TPLUS: processing accounting request id 76
Apr 13 11:08:54.692: TPLUS: Sending AV task_id=332
Apr 13 11:08:54.692: TPLUS: Sending AV timezone=EDT
Apr 13 11:08:54.692: TPLUS: Sending AV service=shell
Apr 13 11:08:54.692: TPLUS: Sending AV start_time=1334329734
Apr 13 11:08:54.692: TPLUS: Sending AV priv-lvl=15
Apr 13 11:08:54.692: TPLUS: Sending AV cmd=show logging <cr>
Apr 13 11:08:54.692: TPLUS: Accounting request created for 76(n20j03t)
Apr 13 11:08:54.692: TPLUS: Using server 10.20.17.2
Apr 13 11:08:54.692: TPLUS(0000004C)/1/NB_WAIT/20FD90EC: Started 5 sec timeout
Apr 13 11:08:56.058: TPLUS(0000004F)/0/NB_WAIT/1BDD9C34: timed out
Apr 13 11:08:56.058: TPLUS(0000004F)/0/NB_WAIT/1BDD9C34: timed out, clean up
Apr 13 11:08:56.058: TPLUS(0000004F)/0/1BDD9C34: Processing the reply packet
Apr 13 11:08:59.693: TPLUS(0000004C)/1/NB_WAIT/20FD90EC: timed out
Apr 13 11:08:59.693: TPLUS(0000004C)/1/NB_WAIT/20FD90EC: timed out, clean up
Apr 13 11:08:59.693: TPLUS(0000004C)/1/20FD90EC: Processing the reply packet
BigTree_3945#
AAA Client IP Address
10.4.3.* 10.12.15.10
Key
Network Device Group
Test
NJT
AccessLink
(Not Assigned)
Authenticate Using
TACACS+ (Cisco IOS)
RADIUS (Cisco Aironet)
RADIUS (Cisco BBSM)
RADIUS (Cisco IOS/PIX)
RADIUS (Cisco VPN 3000)
RADIUS (Cisco VPN 5000)
RADIUS (IETF)
RADIUS (Ascend)
RADIUS (Juniper)
RADIUS (Nortel)
RADIUS (iPass)
Single Connect TACACS+ AAA Client (Record stop in accounting on failure).
The 10.12.10.* range is listed under the HQ site.
Your help is greatly appreciated.You stated that you can ping ACS from the router, did you try sourcing the packets from the GigabitEthernet 0/0 interface (which is the one TACACS+ will try to use, given the configuration that you posted)?
What does the network path between the router and ACS look like (ie, any firewalls, NAT, etc)?
Can you connect to port 49 at the ACS IP address from the router sourcing the packets from GigabitEthernet 0/0 ?
Are you using VRFs?
What version of IOS? -
SOAPException: Message send failed: Connection timed out
Hi! How to solve "javax.xml.soap.SOAPException: Message send failed: Connection timed out: connect" in a page jspx using ADF Webservices Data Controls ? I'm using JDeveloper 11.1.1.2 .
Edited by: reginaldo oliveira on 16/09/2010 11:29Vishal, I'm taking up this question. I can't to use HTTP Analyser because one of the parameters of my web service is a datasource of weblogic domain, and I know that an error occurs when I have an application in weblogic domain of JDeveloper 11.1.1.2 trying obtain connection pool from other weblogic domain. In fact, I need a way to set proxy and port if I use web service through a web service proxy and/or web service data control of ADF. Using web service proxy, in my class PortClient I have defined a method this way:
public static void definirProxy(){
String enderecoProxy = null;
String porta = null;
try{
enderecoProxy = "190.0.1.236";
porta = "80";
System.setProperty("http.proxyHost", enderecoProxy);
System.setProperty("http.proxyPort", porta);
System.setProperty("http.nonProxyHosts", "localhost, 127.0.0.1");
}catch( MissingResourceException mre ){
mre.printStackTrace();
}this don't work, but I do it because I have read this page:
http://download.oracle.com/javase/1.5.0/docs/guide/net/proxies.html
Do you have an idea? And how to set proxy and port when we using ADF Data Controls of web services? -
Hi,
where can i adjust the timeout for:
exception on JaxRpc invoke: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: Connection timed out: connect
The webservice needs 5min to return a message....
I found a duplicate of this on thread:
error initiating a test instance
But no answer
Message was edited by:
HEWizardI found http://download-uk.oracle.com/docs/cd/B31017_01/integrate.1013/b28981/events.htm#BABGGADB
Setting Timeouts for Synchronous Processes
For synchronous processes that connect to a remote database, you must increase the syncMaxWaitTime timeout property in the SOA_Oracle_Home\bpel\domains\default\config\domain.xml file:
<property id="syncMaxWaitTime">
<name>Delivery result receiver maximum wait time</name>
<value>60000000</value>
<comment>
<![CDATA[The maximum time the process result receiver will wait for a
result before returning. Results from asynchronous BPEL processes are
retrieved synchronously via a receiver that will wait for a result from the
container.
<p/>
The default value is 60 seconds.]]>
</comment>
</property>
But this changes nothing...
Is this value ignored? -
Been trying to update my ipad, and it keeps failing. the screen message I get says network failed ot timed out. Have no problem with internet coverage. Have tried on several occasions now.
Tap Settings > General > Reset > Reset Network Settings
Then restart the device.
Hold the On/Off Sleep/Wake button down until the red slider appears. Slide your finger across the slider to turn off iPhone. To turn iPhone back on, press and hold the On/Off Sleep/Wake button until the Apple logo appears. -
ODI Agent Test Failed -Connection timed out
Hi,
I have created an agent and launched it as a scheduler agent using command :
./agentscheduler.sh -name="Agent_Test" -port=20911
it gives message -Server Launched
However when I test it in Topology Manager in Physical Architecture , it gives me error-Agent Test Failed-Connection Timed Out.
Any pointers to why is this error appearing and how it could be resolved ?
Thanks!Check the port number and also the odi parameters in odiparm.sh
Thanks,
Nagarjuna -
Weblogic 6.0 : Server hangs while reading a https request
Hi,
I'm running WLS6.0 on Win2000. The server hangs for some requests sent over https,
unless it times out. It seems that the server is not able to read the complete request
from the socket. It somehow thinks that there is more data available and keeps on
waiting. Is this a bug?
Also, it works fine if i change the url from a https to a http one. So, is this
related to SSL implementation of weblogic?
Has any of faced a similar problem? Thanks in advance for any ideas/thoughts on this
problem,
Thakur.
The stacktrace is as follows :
Full thread dump Classic VM (1.3.0-C, native threads):
"tavant.bus.PurgeStaleDataTask" (TID:0x10ce268, sys_thread_t:0x9e73fc0, state:CW,
native ID:0
x728) prio=5
at java.lang.Thread.sleep(Native Method)
at tavant.bus.HouseKeepingTask.run(HouseKeepingTask.java:63)
at java.lang.Thread.run(Thread.java:484)
"tavant.bus.MsgHistTask" (TID:0x10cd3a0, sys_thread_t:0x9e73de8, state:CW, native
ID:0x10c) p
rio=5
at java.lang.Thread.sleep(Native Method)
at tavant.bus.HouseKeepingTask.run(HouseKeepingTask.java:63)
at java.lang.Thread.run(Thread.java:484)
"tavant.bus.MsgNotificationTask" (TID:0x10cd158, sys_thread_t:0x9fbda70, state:CW,
native ID:
0x514) prio=5
at java.lang.Thread.sleep(Native Method)
at tavant.bus.HouseKeepingTask.run(HouseKeepingTask.java:63)
at java.lang.Thread.run(Thread.java:484)
"SSLListenThread" (TID:0xc68510, sys_thread_t:0x9dc3b20, state:R, native ID:0x408)
prio=5
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:276)
at java.net.ServerSocket.implAccept(ServerSocket.java:241)
at java.net.ServerSocket.accept(ServerSocket.java:222)
at weblogic.security.SSL.SSLServerSocket.acceptNoHandshake(SSLServerSocket.java:123)
at weblogic.security.SSL.SSLServerSocket.accept(SSLServerSocket.java:114)
at weblogic.t3.srvr.ListenThread.run(ListenThread.java:244)
"ListenThread" (TID:0xc65ce0, sys_thread_t:0x9dc3960, state:R, native ID:0x2d8)
prio=5
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:276)
at java.net.ServerSocket.implAccept(ServerSocket.java:241)
at java.net.ServerSocket.accept(ServerSocket.java:222)
at weblogic.t3.srvr.ListenThread.run(ListenThread.java:244)
"Application Manager Thread" (TID:0xfaf738, sys_thread_t:0x9dd07a8, state:CW,
native ID:0x5a4
) prio=5
at java.lang.Thread.sleep(Native Method)
at weblogic.management.mbeans.custom.ApplicationManager$ApplicationPoller.run(Application
Manager.java:643)
"TimeEventGenerator" (TID:0xa68020, sys_thread_t:0x9070890, state:CW, native
ID:0x4e0) prio=5
at java.lang.Object.wait(Native Method)
at weblogic.time.common.internal.TimeTable.snooze(TimeTable.java:259)
at weblogic.time.common.internal.TimeEventGenerator.run(TimeEventGenerator.java:138)
at java.lang.Thread.run(Thread.java:484)
"TimeEventGenerator" (TID:0xa3e480, sys_thread_t:0x9071c10, state:CW, native
ID:0x138) prio=5
at java.lang.Object.wait(Native Method)
at weblogic.time.common.internal.TimeTable.snooze(TimeTable.java:259)
at weblogic.time.common.internal.TimeEventGenerator.run(TimeEventGenerator.java:138)
at java.lang.Thread.run(Thread.java:484)
"SpinnerRandomSource" (TID:0xa37340, sys_thread_t:0x9050ba0, state:CW, native
ID:0x594) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:420)
at weblogic.security.SpinnerThread.stopSpinning(SpinnerRandomBitsSource.java:92)
at weblogic.security.SpinnerThread.run(SpinnerRandomBitsSource.java:109)
"ExecuteThread-14" (TID:0xa316e0, sys_thread_t:0x90502f0, state:CW, native ID:0x658)
prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:420)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:94)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:118)
"ExecuteThread-13" (TID:0xa317c0, sys_thread_t:0x9050180, state:CW, native ID:0x564)
prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:420)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:94)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:118)
"ExecuteThread-12" (TID:0xa315f0, sys_thread_t:0x9050010, state:R, native ID:0x52c)
prio=5
at java.net.SocketInputStream.socketRead(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:42)
at java.net.SocketInputStream.read(SocketInputStream.java:59)
at weblogic.utils.io.ChunkedInputStream.read(ChunkedInputStream.java:130)
at weblogic.security.SSL.SSLSocket$WLPushbackInputStream.read(SSLSocket$WLPushbackInputStream.java:35)
at weblogic.security.Utils.inputByte(Utils.java:131)
at weblogic.security.SSL.ContentType.input(ContentType.java:50)
at weblogic.security.SSL.SSLCiphertext.input(SSLCiphertext.java:61)
at weblogic.security.SSL.SSLSocket.getRecord(SSLSocket.java:1002)
at weblogic.security.SSL.RecordInputStream.getData(RecordInputStream.java:109)
at weblogic.security.SSL.RecordInputStream.available(RecordInputStream.java:166)
at weblogic.servlet.internal.PostInputStream.available(PostInputStream.java:146)
at weblogic.servlet.internal.ServletInputStreamImpl.available(ServletInputStreamImpl.java:21)
at java.io.InputStreamReader.inReady(InputStreamReader.java:199)
at java.io.InputStreamReader.fill(InputStreamReader.java:171)
at java.io.InputStreamReader.read(InputStreamReader.java:249)
at java.io.BufferedReader.fill(BufferedReader.java:139)
at java.io.BufferedReader.read1(BufferedReader.java:187)
at java.io.BufferedReader.read(BufferedReader.java:261)
at weblogic.servlet.internal.ServletRequestImpl.mergePostParams(ServletRequestImpl.java:596)
at weblogic.servlet.internal.ServletRequestImpl.parseQueryParams(ServletRequestImpl.java:501)
at weblogic.servlet.internal.ServletRequestImpl.parseQueryParams(ServletRequestImpl.java:494)
at weblogic.servlet.internal.ServletRequestImpl.getParameterNames(ServletRequestImpl.java:649)
at tavant.web.URLGen.<init>(URLGen.java:51)
at tavant.web.MainServlet.processRequest(MainServlet.java:189)
at tavant.web.MainServlet.doPost(MainServlet.java:172)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:208)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:1127)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:1529)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
"ExecuteThread-11" (TID:0xa31520, sys_thread_t:0x9060b48, state:CW, native ID:0x718)
prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:420)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:94)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:118)
"ExecuteThread-10" (TID:0xa31500, sys_thread_t:0x90609d8, state:CW, native ID:0x768)
prio=5
at java.lang.Object.wait(Native Method)
at weblogic.common.internal.DynaQueue.getW(DynaQueue.java:228)
at weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:246)
at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
"ExecuteThread-9" (TID:0xa31330, sys_thread_t:0x9060868, state:CW, native ID:0x460)
prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:420)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:94)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:118)
"ExecuteThread-8" (TID:0xa31170, sys_thread_t:0x90606f8, state:CW, native ID:0x3a8)
prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:420)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:94)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:118)
"ExecuteThread-7" (TID:0xa31250, sys_thread_t:0x9060588, state:CW, native ID:0x754)
prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:420)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:94)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:118)
"ExecuteThread-6" (TID:0xa31080, sys_thread_t:0x90604a0, state:CW, native ID:0x600)
prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:420)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:94)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:118)
"ExecuteThread-5" (TID:0xa30eb0, sys_thread_t:0x8fd1638, state:CW, native ID:0x500)
prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:420)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:94)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:118)
"ExecuteThread-4" (TID:0xa30f98, sys_thread_t:0x8fd14c8, state:CW, native ID:0x5b8)
prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:420)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:94)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:118)
"ExecuteThread-3" (TID:0xa30dc8, sys_thread_t:0x8fd1358, state:CW, native ID:0x4b4)
prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:420)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:94)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:118)
"ExecuteThread-2" (TID:0xa30c00, sys_thread_t:0x901f8c8, state:CW, native ID:0x798)
prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:420)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:94)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:118)
"ExecuteThread-1" (TID:0xa30ce0, sys_thread_t:0x901f758, state:CW, native ID:0x88)
prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:420)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:94)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:118)
"ExecuteThread-0" (TID:0xa308d0, sys_thread_t:0x901f670, state:CW, native ID:0x3a0)
prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:420)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:94)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:118)
"Thread-0" (TID:0x85a238, sys_thread_t:0x8fb5088, state:CW, native ID:0x744)
prio=10
at java.lang.Thread.sleep(Native Method)
at weblogic.transaction.internal.TransactionManagerImpl$1.run(TransactionManagerImpl.java:737)
at java.lang.Thread.run(Thread.java:484)
"Finalizer" (TID:0x7b0528, sys_thread_t:0x89fa088, state:CW, native ID:0x5c4)
prio=8
at java.lang.Object.wait(Native Method)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:108)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:123)
at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:162)
"Reference Handler" (TID:0x7b0300, sys_thread_t:0x89f6148, state:CW, native ID:0x690)
prio=10
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:420)
at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:110)
"Signal dispatcher" (TID:0x7b0330, sys_thread_t:0x89ef5f8, state:R, native ID:0x5ac)
prio=5
"main" (TID:0x7b01a0, sys_thread_t:0x235328, state:CW, native ID:0x788) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:420)
at weblogic.t3.srvr.T3Srvr.waitForDeath(T3Srvr.java:498)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:171)
at weblogic.Server.main(Server.java:35)
Monitor Cache Dump:
weblogic.kernel.ExecuteThread@A316E0/22C7E48: <unowned>
Waiting to be notified:
"ExecuteThread-14" (0x90502f0)
weblogic.kernel.ExecuteThread@A30CE0/22C5268: <unowned>
Waiting to be notified:
"ExecuteThread-1" (0x901f758)
weblogic.kernel.ExecuteThread@A308D0/22C4DD0: <unowned>
Waiting to be notified:
"ExecuteThread-0" (0x901f670)
weblogic.kernel.ExecuteThread@A30EB0/22C6028: <unowned>
Waiting to be notified:
"ExecuteThread-5" (0x8fd1638)
weblogic.kernel.ExecuteThread@A31080/22C6398: <unowned>
Waiting to be notified:
"ExecuteThread-6" (0x90604a0)
weblogic.kernel.ExecuteThread@A31250/22C6708: <unowned>
Waiting to be notified:
"ExecuteThread-7" (0x9060588)
java.io.InputStreamReader@FEAB90/3DD57C8: owner "ExecuteThread-12" (0x9050010)
1 entry
weblogic.kernel.ExecuteThread@A30C00/22C55D8: <unowned>
Waiting to be notified:
"ExecuteThread-2" (0x901f8c8)
java.net.PlainSocketImpl@FB1FE8/25A91C0: owner "SSLListenThread" (0x9dc3b20)
1 entry
weblogic.time.common.internal.TimeTable@A68270/22FF4B0: <unowned>
Waiting to be notified:
"TimeEventGenerator" (0x9070890)
weblogic.kernel.ExecuteThread@A317C0/22C7B38: <unowned>
Waiting to be notified:
"ExecuteThread-13" (0x9050180)
weblogic.time.common.internal.TimeTable@A3E730/22CDA60: <unowned>
Waiting to be notified:
"TimeEventGenerator" (0x9071c10)
java.net.PlainSocketImpl@FB1DD0/25A9110: owner "ListenThread" (0x9dc3960) 1 entry
weblogic.kernel.ExecuteThread@A30DC8/22C5948: <unowned>
Waiting to be notified:
"ExecuteThread-3" (0x8fd1358)
weblogic.kernel.ExecuteThread@A30F98/22C5CB8: <unowned>
Waiting to be notified:
"ExecuteThread-4" (0x8fd14c8)
weblogic.common.internal.DynaQueue@FB97F8/25AB878: <unowned>
Waiting to be notified:
"ExecuteThread-10" (0x90609d8)
weblogic.kernel.ExecuteThread@A31170/22C6A78: <unowned>
Waiting to be notified:
"ExecuteThread-8" (0x90606f8)
java.lang.ref.ReferenceQueue$Lock@7B0540/214CA40: <unowned>
Waiting to be notified:
"Finalizer" (0x89fa088)
weblogic.t3.srvr.T3Srvr@7C4C08/2185000: <unowned>
Waiting to be notified:
"main" (0x235328)
weblogic.kernel.ExecuteThread@A31520/22C74C8: <unowned>
Waiting to be notified:
"ExecuteThread-11" (0x9060b48)
weblogic.security.SpinnerThread@A37340/22CAB60: <unowned>
Waiting to be notified:
"SpinnerRandomSource" (0x9050ba0)
weblogic.servlet.internal.ServletInputStreamImpl@FEB090/3DD28C8: owner "ExecuteThread-12"
(0x9050010) 1 entry
weblogic.kernel.ExecuteThread@A31330/22C6DE8: <unowned>
Waiting to be notified:
"ExecuteThread-9" (0x9060868)
java.lang.ref.Reference$Lock@7B0310/214C560: <unowned>
Waiting to be notified:
"Reference Handler" (0x89f6148)
Registered Monitor Dump:
utf8 hash table: <unowned>
JNI pinning lock: <unowned>
JNI global reference lock: <unowned>
BinClass lock: <unowned>
Class linking lock: <unowned>
System class loader lock: <unowned>
Code rewrite lock: <unowned>
Heap lock: <unowned>
Monitor cache lock: owner "Signal dispatcher" (0x89ef5f8) 1 entry
Thread queue lock: owner "Signal dispatcher" (0x89ef5f8) 1 entry
Monitor registry: owner "Signal dispatcher" (0x89ef5f8) 1 entryHi,
I'm running WLS6.0 on Win2000. The server hangs for some requests sent over https,
unless it times out. It seems that the server is not able to read the complete request
from the socket. It somehow thinks that there is more data available and keeps on
waiting. Is this a bug?
Also, it works fine if i change the url from a https to a http one. So, is this
related to SSL implementation of weblogic?
Has any of faced a similar problem? Thanks in advance for any ideas/thoughts on this
problem,
Thakur.
The stacktrace is as follows :
Full thread dump Classic VM (1.3.0-C, native threads):
"tavant.bus.PurgeStaleDataTask" (TID:0x10ce268, sys_thread_t:0x9e73fc0, state:CW,
native ID:0
x728) prio=5
at java.lang.Thread.sleep(Native Method)
at tavant.bus.HouseKeepingTask.run(HouseKeepingTask.java:63)
at java.lang.Thread.run(Thread.java:484)
"tavant.bus.MsgHistTask" (TID:0x10cd3a0, sys_thread_t:0x9e73de8, state:CW, native
ID:0x10c) p
rio=5
at java.lang.Thread.sleep(Native Method)
at tavant.bus.HouseKeepingTask.run(HouseKeepingTask.java:63)
at java.lang.Thread.run(Thread.java:484)
"tavant.bus.MsgNotificationTask" (TID:0x10cd158, sys_thread_t:0x9fbda70, state:CW,
native ID:
0x514) prio=5
at java.lang.Thread.sleep(Native Method)
at tavant.bus.HouseKeepingTask.run(HouseKeepingTask.java:63)
at java.lang.Thread.run(Thread.java:484)
"SSLListenThread" (TID:0xc68510, sys_thread_t:0x9dc3b20, state:R, native ID:0x408)
prio=5
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:276)
at java.net.ServerSocket.implAccept(ServerSocket.java:241)
at java.net.ServerSocket.accept(ServerSocket.java:222)
at weblogic.security.SSL.SSLServerSocket.acceptNoHandshake(SSLServerSocket.java:123)
at weblogic.security.SSL.SSLServerSocket.accept(SSLServerSocket.java:114)
at weblogic.t3.srvr.ListenThread.run(ListenThread.java:244)
"ListenThread" (TID:0xc65ce0, sys_thread_t:0x9dc3960, state:R, native ID:0x2d8)
prio=5
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:276)
at java.net.ServerSocket.implAccept(ServerSocket.java:241)
at java.net.ServerSocket.accept(ServerSocket.java:222)
at weblogic.t3.srvr.ListenThread.run(ListenThread.java:244)
"Application Manager Thread" (TID:0xfaf738, sys_thread_t:0x9dd07a8, state:CW,
native ID:0x5a4
) prio=5
at java.lang.Thread.sleep(Native Method)
at weblogic.management.mbeans.custom.ApplicationManager$ApplicationPoller.run(Application
Manager.java:643)
"TimeEventGenerator" (TID:0xa68020, sys_thread_t:0x9070890, state:CW, native
ID:0x4e0) prio=5
at java.lang.Object.wait(Native Method)
at weblogic.time.common.internal.TimeTable.snooze(TimeTable.java:259)
at weblogic.time.common.internal.TimeEventGenerator.run(TimeEventGenerator.java:138)
at java.lang.Thread.run(Thread.java:484)
"TimeEventGenerator" (TID:0xa3e480, sys_thread_t:0x9071c10, state:CW, native
ID:0x138) prio=5
at java.lang.Object.wait(Native Method)
at weblogic.time.common.internal.TimeTable.snooze(TimeTable.java:259)
at weblogic.time.common.internal.TimeEventGenerator.run(TimeEventGenerator.java:138)
at java.lang.Thread.run(Thread.java:484)
"SpinnerRandomSource" (TID:0xa37340, sys_thread_t:0x9050ba0, state:CW, native
ID:0x594) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:420)
at weblogic.security.SpinnerThread.stopSpinning(SpinnerRandomBitsSource.java:92)
at weblogic.security.SpinnerThread.run(SpinnerRandomBitsSource.java:109)
"ExecuteThread-14" (TID:0xa316e0, sys_thread_t:0x90502f0, state:CW, native ID:0x658)
prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:420)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:94)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:118)
"ExecuteThread-13" (TID:0xa317c0, sys_thread_t:0x9050180, state:CW, native ID:0x564)
prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:420)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:94)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:118)
"ExecuteThread-12" (TID:0xa315f0, sys_thread_t:0x9050010, state:R, native ID:0x52c)
prio=5
at java.net.SocketInputStream.socketRead(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:42)
at java.net.SocketInputStream.read(SocketInputStream.java:59)
at weblogic.utils.io.ChunkedInputStream.read(ChunkedInputStream.java:130)
at weblogic.security.SSL.SSLSocket$WLPushbackInputStream.read(SSLSocket$WLPushbackInputStream.java:35)
at weblogic.security.Utils.inputByte(Utils.java:131)
at weblogic.security.SSL.ContentType.input(ContentType.java:50)
at weblogic.security.SSL.SSLCiphertext.input(SSLCiphertext.java:61)
at weblogic.security.SSL.SSLSocket.getRecord(SSLSocket.java:1002)
at weblogic.security.SSL.RecordInputStream.getData(RecordInputStream.java:109)
at weblogic.security.SSL.RecordInputStream.available(RecordInputStream.java:166)
at weblogic.servlet.internal.PostInputStream.available(PostInputStream.java:146)
at weblogic.servlet.internal.ServletInputStreamImpl.available(ServletInputStreamImpl.java:21)
at java.io.InputStreamReader.inReady(InputStreamReader.java:199)
at java.io.InputStreamReader.fill(InputStreamReader.java:171)
at java.io.InputStreamReader.read(InputStreamReader.java:249)
at java.io.BufferedReader.fill(BufferedReader.java:139)
at java.io.BufferedReader.read1(BufferedReader.java:187)
at java.io.BufferedReader.read(BufferedReader.java:261)
at weblogic.servlet.internal.ServletRequestImpl.mergePostParams(ServletRequestImpl.java:596)
at weblogic.servlet.internal.ServletRequestImpl.parseQueryParams(ServletRequestImpl.java:501)
at weblogic.servlet.internal.ServletRequestImpl.parseQueryParams(ServletRequestImpl.java:494)
at weblogic.servlet.internal.ServletRequestImpl.getParameterNames(ServletRequestImpl.java:649)
at tavant.web.URLGen.<init>(URLGen.java:51)
at tavant.web.MainServlet.processRequest(MainServlet.java:189)
at tavant.web.MainServlet.doPost(MainServlet.java:172)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:208)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:1127)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:1529)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
"ExecuteThread-11" (TID:0xa31520, sys_thread_t:0x9060b48, state:CW, native ID:0x718)
prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:420)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:94)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:118)
"ExecuteThread-10" (TID:0xa31500, sys_thread_t:0x90609d8, state:CW, native ID:0x768)
prio=5
at java.lang.Object.wait(Native Method)
at weblogic.common.internal.DynaQueue.getW(DynaQueue.java:228)
at weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:246)
at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
"ExecuteThread-9" (TID:0xa31330, sys_thread_t:0x9060868, state:CW, native ID:0x460)
prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:420)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:94)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:118)
"ExecuteThread-8" (TID:0xa31170, sys_thread_t:0x90606f8, state:CW, native ID:0x3a8)
prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:420)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:94)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:118)
"ExecuteThread-7" (TID:0xa31250, sys_thread_t:0x9060588, state:CW, native ID:0x754)
prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:420)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:94)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:118)
"ExecuteThread-6" (TID:0xa31080, sys_thread_t:0x90604a0, state:CW, native ID:0x600)
prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:420)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:94)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:118)
"ExecuteThread-5" (TID:0xa30eb0, sys_thread_t:0x8fd1638, state:CW, native ID:0x500)
prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:420)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:94)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:118)
"ExecuteThread-4" (TID:0xa30f98, sys_thread_t:0x8fd14c8, state:CW, native ID:0x5b8)
prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:420)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:94)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:118)
"ExecuteThread-3" (TID:0xa30dc8, sys_thread_t:0x8fd1358, state:CW, native ID:0x4b4)
prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:420)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:94)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:118)
"ExecuteThread-2" (TID:0xa30c00, sys_thread_t:0x901f8c8, state:CW, native ID:0x798)
prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:420)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:94)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:118)
"ExecuteThread-1" (TID:0xa30ce0, sys_thread_t:0x901f758, state:CW, native ID:0x88)
prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:420)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:94)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:118)
"ExecuteThread-0" (TID:0xa308d0, sys_thread_t:0x901f670, state:CW, native ID:0x3a0)
prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:420)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:94)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:118)
"Thread-0" (TID:0x85a238, sys_thread_t:0x8fb5088, state:CW, native ID:0x744)
prio=10
at java.lang.Thread.sleep(Native Method)
at weblogic.transaction.internal.TransactionManagerImpl$1.run(TransactionManagerImpl.java:737)
at java.lang.Thread.run(Thread.java:484)
"Finalizer" (TID:0x7b0528, sys_thread_t:0x89fa088, state:CW, native ID:0x5c4)
prio=8
at java.lang.Object.wait(Native Method)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:108)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:123)
at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:162)
"Reference Handler" (TID:0x7b0300, sys_thread_t:0x89f6148, state:CW, native ID:0x690)
prio=10
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:420)
at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:110)
"Signal dispatcher" (TID:0x7b0330, sys_thread_t:0x89ef5f8, state:R, native ID:0x5ac)
prio=5
"main" (TID:0x7b01a0, sys_thread_t:0x235328, state:CW, native ID:0x788) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:420)
at weblogic.t3.srvr.T3Srvr.waitForDeath(T3Srvr.java:498)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:171)
at weblogic.Server.main(Server.java:35)
Monitor Cache Dump:
weblogic.kernel.ExecuteThread@A316E0/22C7E48: <unowned>
Waiting to be notified:
"ExecuteThread-14" (0x90502f0)
weblogic.kernel.ExecuteThread@A30CE0/22C5268: <unowned>
Waiting to be notified:
"ExecuteThread-1" (0x901f758)
weblogic.kernel.ExecuteThread@A308D0/22C4DD0: <unowned>
Waiting to be notified:
"ExecuteThread-0" (0x901f670)
weblogic.kernel.ExecuteThread@A30EB0/22C6028: <unowned>
Waiting to be notified:
"ExecuteThread-5" (0x8fd1638)
weblogic.kernel.ExecuteThread@A31080/22C6398: <unowned>
Waiting to be notified:
"ExecuteThread-6" (0x90604a0)
weblogic.kernel.ExecuteThread@A31250/22C6708: <unowned>
Waiting to be notified:
"ExecuteThread-7" (0x9060588)
java.io.InputStreamReader@FEAB90/3DD57C8: owner "ExecuteThread-12" (0x9050010)
1 entry
weblogic.kernel.ExecuteThread@A30C00/22C55D8: <unowned>
Waiting to be notified:
"ExecuteThread-2" (0x901f8c8)
java.net.PlainSocketImpl@FB1FE8/25A91C0: owner "SSLListenThread" (0x9dc3b20)
1 entry
weblogic.time.common.internal.TimeTable@A68270/22FF4B0: <unowned>
Waiting to be notified:
"TimeEventGenerator" (0x9070890)
weblogic.kernel.ExecuteThread@A317C0/22C7B38: <unowned>
Waiting to be notified:
"ExecuteThread-13" (0x9050180)
weblogic.time.common.internal.TimeTable@A3E730/22CDA60: <unowned>
Waiting to be notified:
"TimeEventGenerator" (0x9071c10)
java.net.PlainSocketImpl@FB1DD0/25A9110: owner "ListenThread" (0x9dc3960) 1 entry
weblogic.kernel.ExecuteThread@A30DC8/22C5948: <unowned>
Waiting to be notified:
"ExecuteThread-3" (0x8fd1358)
weblogic.kernel.ExecuteThread@A30F98/22C5CB8: <unowned>
Waiting to be notified:
"ExecuteThread-4" (0x8fd14c8)
weblogic.common.internal.DynaQueue@FB97F8/25AB878: <unowned>
Waiting to be notified:
"ExecuteThread-10" (0x90609d8)
weblogic.kernel.ExecuteThread@A31170/22C6A78: <unowned>
Waiting to be notified:
"ExecuteThread-8" (0x90606f8)
java.lang.ref.ReferenceQueue$Lock@7B0540/214CA40: <unowned>
Waiting to be notified:
"Finalizer" (0x89fa088)
weblogic.t3.srvr.T3Srvr@7C4C08/2185000: <unowned>
Waiting to be notified:
"main" (0x235328)
weblogic.kernel.ExecuteThread@A31520/22C74C8: <unowned>
Waiting to be notified:
"ExecuteThread-11" (0x9060b48)
weblogic.security.SpinnerThread@A37340/22CAB60: <unowned>
Waiting to be notified:
"SpinnerRandomSource" (0x9050ba0)
weblogic.servlet.internal.ServletInputStreamImpl@FEB090/3DD28C8: owner "ExecuteThread-12"
(0x9050010) 1 entry
weblogic.kernel.ExecuteThread@A31330/22C6DE8: <unowned>
Waiting to be notified:
"ExecuteThread-9" (0x9060868)
java.lang.ref.Reference$Lock@7B0310/214C560: <unowned>
Waiting to be notified:
"Reference Handler" (0x89f6148)
Registered Monitor Dump:
utf8 hash table: <unowned>
JNI pinning lock: <unowned>
JNI global reference lock: <unowned>
BinClass lock: <unowned>
Class linking lock: <unowned>
System class loader lock: <unowned>
Code rewrite lock: <unowned>
Heap lock: <unowned>
Monitor cache lock: owner "Signal dispatcher" (0x89ef5f8) 1 entry
Thread queue lock: owner "Signal dispatcher" (0x89ef5f8) 1 entry
Monitor registry: owner "Signal dispatcher" (0x89ef5f8) 1 entry -
Reading soap http request packets
im writing a class to obtain the soap http request from client on the server side. im not sure if i should be using the java.net class or the httpurlconnection or any other similar class. anyone have suggestions?
any tutorials on that? thanksYou can also use JAX-WS which can be found at http://jax-ws.dev.java.net.
-
Is there a restriction on length of Http request posted to a Iplanet Web Server ?
I am submitting an Http Request by POST method to my server. The request will be received and forwarded by Iplanet Web Server to a clustered Weblogic environment, which will then be handled by Java Servlets. The problem I am facing is that when the length of the request shoots up to around 2000 bytes, NES doesn't receive and forward the request to Weblogic. There is no fixed cut-off for the length, it keeps fluctuating.
I observed the following after hitting the server hundreds of times with Http Requests that vary in length.
1) If length of Request is below 1500 bytes, request always goes through successfully.
2) In a range of 1500 bytes to 2000 bytes, request fails most of the times. (Around 80 %)
3) Requests with length above 2000K invariably fail, though it just worked for a 2.4K request on one occasion (out of some 100 hits)
Note that by "length of request", I mean the data I post through Http Request (I just have a single parameter in Http request having the literal "XML" as key and a well formed XML document as value. That is equivalent to submitting a HTML form just having a text area called "XML" containing a XML document. )
I presume that the length of actual Http Request is slightly greater than that of XML (probably by around 100 bytes).
My Iplanet documentation says that the upper limit on the length of a POST Http Request is 64 K, which is way above the value (2-3 K) at which I am facing the problem.Hi Ganesh
Did you check the HTTP Persistent timeout of your server? Check the value which has been set up by default. Try increasing the timeout value and try again.
follow these steps it might solve your problem:
(1)Goto Web Server Administration Server, select the server you want to manage.
(2)Select Preference >> Perfomance Tuning.
(3)set HTTP Persistent Connection Timeout to your choice (eg 180 sec for three minutes)(note : if you are posting large amount of data or file increase the value accordingly)
(4) Apply changes and restart the server.
*Setting the timeout to a lower value, however, may prevent the transfer of large files as timeout does not refer to the time that the connection has been idle. For example, if you are using a 2400 baud modem, and the request timeout is set to 180 seconds, then the maximum file size that can be transferred before the connection is closed is 432000 bits (2400 multiplied by 180)
If this doesnot solve your problem notify me
regards
T.Raghulan
[email protected] -
Obtaining custom HTTP GET / POST parameters of variable length in Application Process
Hi, I'm trying to connect a javascript UI control within my page to an APEX Application Process.
The control calls the application process via AJAX and appends a variable number of GET / POST parameters to its URL.
What is the best way to obtain these parameters from within the PLSQL procedure of the process? Or is there a better way to connect my javascript AJAX control to the Database behind my APEX app?
Thanks,
SteffiSteffi,
I'm using APEX 4.1 and I've not used Treegrid before. It does look pretty interesting.
Firstly, I'm not sure if you are aware but GET requests aren't as secure as POST requests. GET simply appends a key/value pair to the server as part of the url which can be easily sniffed. POST request on the other hand sends the data as key/value pairs to the server in the header which makes it harder to intercept. This is why APEX outputs forms with POST methods.
Secondly, back to your original question.I'm not sure this is possible with an Application Process. In the passed I've used POST methods to pass values to my Application Process. I have some code using native jQuery if you would like to see how its done. Alternatively, if you convert your application process to a standard pl/sql procedure (i.e SQL Workshop>Object Browser>Procedures) you can call this procedure and pass in values as you would with any PHP page.
Simple example (untested)
CREATE OR REPLACE PROCEDURE "foo" ( my_name varchar(20)
, count NUMBER)
IS
p_name varchar(20) := my_name;
p_count NUMBER := count;
BEGIN
--Do what you want
--output something
htp.p(p_count || '.: '|| p_name);
END;
The url on the page (or ajax call) would be something like "/pls/apex/{MY SCHEMA}.foo?my_name=Alistair&count=1"
Of course for text you will need to escape single colons and special characters etc.
I would really like to help you further so if you could create a working demo using a free workspace on http://www.apex.oracle.com and provide me with demo username/password. I can try and have a better look for you.
In all honesty, I'm sure you would be looking to create this as a plugin so that you can easily reuse it in various parts of your application and can easily update it or maintain it. I can help you with that as well if you want.
Alistair
P.S You might want to update your profile on this forum to provide your name so people dont just see "31742965-2d09-4f42-849f-e39eb2cfbc9e" your profile name -
Microsoft Windows Vista Home Premium Edition Service Pack 2 (Build 6002)
TOSHIBA Satellite A215
iTunes 10.6.1.7
QuickTime 7.7.1
FairPlay 1.14.37
Apple Application Support 2.1.7
iPod Updater Library 10.0d2
CD Driver 2.2.0.1
CD Driver DLL 2.1.1.1
Apple Mobile Device 5.1.1.4
Apple Mobile Device Driver not found.
Bonjour 3.0.0.10 (333.10)
Gracenote SDK 1.9.5.502
Gracenote MusicID 1.9.5.115
Gracenote Submit 1.9.5.143
Gracenote DSP 1.9.5.45
iTunes Serial Number 0029A68C04077DC8
Current user is an administrator.
The current local date and time is 2012-04-18 05:41:18.
iTunes is not running in safe mode.
WebKit accelerated compositing is enabled.
HDCP is not supported.
Core Media is supported.
Video Display Information
ATI Technologies Inc., ATI Radeon X1200
**** External Plug-ins Information ****
No external plug-ins installed.
Genius ID: ff966d6a67ef265801e62ca642665008
iPodService 10.6.1.7 is currently running.
iTunesHelper is currently not running.
Apple Mobile Device service 3.3.0.0 is currently running.
**** Network Connectivity Tests ****
Network Adapter Information
Adapter Name: {174B2346-A791-4C25-9515-884E658FE655}
Description: Realtek RTL8187 Wireless 802.11b/g 54Mbps USB 2.0 Network Adapter
IP Address: 10.100.160.213
Subnet Mask: 255.255.254.0
Default Gateway: 10.100.160.1
DHCP Enabled: Yes
DHCP Server: 10.100.160.2
Lease Obtained: Wed Apr 18 05:39:40 2012
Lease Expires: Wed Apr 18 05:56:20 2012
DNS Servers: 64.250.243.37 <<<<<<<<<<< multiple DNS ADS.
64.250.243.42
Adapter Name: {5C7559AA-708B-4EFC-B67F-25B400863B6B}
Description: Realtek PCIe FE Family Controller
IP Address: 0.0.0.0
Subnet Mask: 0.0.0.0
Default Gateway: 0.0.0.0
DHCP Enabled: Yes
DHCP Server:
Lease Obtained: Wed Dec 31 16:00:00 1969
Lease Expires: Wed Dec 31 16:00:00 1969
DNS Servers:
Here is the latest Diag. i got from iTunes help
Active Connection: LAN Connection
Connected: Yes
Online: Yes
Using Modem: No
Using LAN: Yes
Using Proxy: No
Firewall Information
Windows Firewall is on.
iTunes is enabled in Windows Firewall.
Connection attempt to Apple web site was successful.
Connection attempt to browsing iTunes Store was successful.
Connection attempt to purchasing from iTunes Store was successful.
Connection attempt to iPhone activation server was successful.
Connection attempt to firmware update server was unsuccessful. <<<<<<<<<< MAYBE PROBLEM HERE
The network connection timed out.<<<<<<<<<<
Connection attempt to Gracenote server was successful.
Last successful iTunes Store access was 2012-04-18 04:24:48.See if this article will help:
iTunes for Windows: iTunes cannot contact the iPhone, iPad, or iPod software update server
http://support.apple.com/kb/TS1814 -
How to send a HTTP request to servlet in java application
I'm new in Java. I need to send a HTTP request with parameters to servlet in a java aplication. Here is my code. It can be compiled but always threw an exceptions when I ran it. Can anyone help?
package coreservlets;
import java.io.*;
import java.net.*;
public class PostHTTP
public static void main(String args[])
throws IOException, UnknownHostException {
try
// URL and servlet
URL myURL = new URL("http://pc076/servlet/coreservlets.OffHold");
URLConnection c = myURL.openConnection();
c.setUseCaches(false);
c.setDoOutput(true);
ByteArrayOutputStream byteStream = new ByteArrayOutputStream(512);
PrintWriter out = new PrintWriter(byteStream, true);
//parameters
String postData = "REASON_CODE=3B&RSPCODE=JSmith&CASENUM=NA795401&REPLY=123&SOURCE=XYZ&REPLYLINK=http://pc076/servlet/coreservlets.ShowParameters";
out.print(postData);
out.flush();
String lengthString = String.valueOf(byteStream.size());
c.setRequestProperty("Content-Length", lengthString);
c.setRequestProperty("Content-Type", "application/x-www-form-urlencoded");
byteStream.writeTo(c.getOutputStream());
BufferedReader in = new BufferedReader(new InputStreamReader
(c.getInputStream()));
String line;
//String linefeed = "\n";
//resultsArea.setText("");
while((line = in.readLine()) != null) {
System.out.println(line);
//resultsArea.append(linefeed);
catch(IOException ioe) {
// Print debug info in Java Console
System.out.println("IOException: " + ioe);here are some updates to your code I haven't tested it running
post again if you still have trouble
URL myURL = new URL("http://pc076/servlet/coreservlets.OffHold");
HttpURLConnection c = (HttpURLConnection)myURL.openConnection();
c.setDoInput(true);
c.setDoOutput(true);
ByteArrayOutputStream byteStream = new ByteArrayOutputStream(512);
String lengthString = String.valueOf(byteStream.size());
c.setRequestProperty("Content-Length", lengthString);
c.setRequestProperty("Content-Type", "application/x-www-form-urlencoded");
PrintWriter out = new PrintWriter(byteStream, true);
//parameters
String postData = "REASON_CODE=3B&RSPCODE=JSmith&CASENUM=NA795401&REPLY=123&SOURCE=XYZ&REPLYLINK=http://pc076/servlet/coreservlets.ShowParameters";
out.print(postData);
out.flush();
byteStream.writeTo(c.getOutputStream());
// connect
c.connect();
BufferedReader in = new BufferedReader(new InputStreamReader
(c.getInputStream()));
String line;
while((line = in.readLine()) != null)
System.out.println(line); -
Hi Experts,
I'm getting error when trying to run a report. I already configure it correctly but I'm still getting an HTTP request error. I read few post relating to the problem but none has resolved the issue.
Another issue is that after installing LVS the server rebooted several times.
Any feedback will be greatly appreciated.
Thanks,
CyrousHi Cyrous,
Did you finally solved the problem?
Have you installed the latest version of the tool available in SDN?
Please test the latest version and let us know if you have any problem.
Sorry for the delay in my answer.
Regards,
Trinidad.
Maybe you are looking for
-
I upgraded my phone to the newest iPhone (4s) and can't get all of my music on it (or my iPad for that matter). It says that some of the musice is already on 5 devices. Seeing that this is my 3rd iPhone, my music has been on the 1st two, my computer
-
How to add new codes into SAP Query/Infoset
Hi Experts, First time working with SAP Query. I need to enhance an existing Query to add a new field into a report. I have added new tables into this Infoset and joined my new tables with existing tables and able to extract the new fields out on t
-
JTextfield input Date convert to java.sql.Date
Hi. I have a textfield for users to input date in 'dd/mm/yyyy' format and I would like to format this input into java.sql.Date to be stored into a database. How should I go about doing that ? I did the following: SimpleDateFormat formatDate = new Sim
-
Do we need two ports for establishing one connection to EJB from swing clie
Hi all, I have an application which uses Java Swing client and accesses an EJB to connect to the server. I am connecting to the EJB using iiop://server-ipaddress:port. It is required for me to open the firewall to access the above specified ip addres
-
Problem with I-Trigue 3400 (static)! Please help!
Alright, I bought my first set of I-Trigue 3400s about 2 weeks ago. Less than a few hours after using them, static started to come through the right speaker. This would happen intermittently for the next 2 days before I decided to exchange them. I wa