Weblogic 6.0 Cluster Problem while reading requests
Hi,
My Problem is:
I get "weblogic.utils.NestedRuntimeException:Cannot parse POST parameters of request".
I am using weblogic 6.0 with SP2. I do have cluster setup. Problem occurs when accessing particular servlet using proxy cluster.
Can anybody help me out in resolving this problem? Thanks in advance!!!
Hi,
My Problem is:
I get "weblogic.utils.NestedRuntimeException:Cannot parse POST parameters of request".
I am using weblogic 6.0 with SP2. I do have cluster setup. Problem occurs when accessing particular servlet using proxy cluster.
Can anybody help me out in resolving this problem? Thanks in advance!!!
Similar Messages
-
i am facing problem while reading values from properties file ...i am getting null pointer exception earlier i was using jdeveloper10g now i am using 11g
hi TimoHahn,
i am getting following exception in JDeveloper(11g release 2) Studio Edition Version 11.1.2.4.0 but it works perfectly fine in JDeveloper 10.1.2.1.0
Root cause of ServletException.
java.lang.NullPointerException
at java.util.PropertyResourceBundle.handleGetObject(PropertyResourceBundle.java:136)
at java.util.ResourceBundle.getObject(ResourceBundle.java:368)
at java.util.ResourceBundle.getString(ResourceBundle.java:334)
at org.rbi.cefa.master.actionclass.UserAction.execute(UserAction.java:163)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178) -
Problem while releasing Request
Hello All,
In one of our client's DEV Server, we are facing problem while releasing requests.
When I release a request it is not appearing in the PRD import Queue.
When I checked the TMS Alert Viewer, it is showing as" TP REPORTED ERROR"
And more over when I checked in the OS level,only the cofile is created not the data file.
Please suggest ..
Thank You,
Regards,
HasanHello,
Here is some contents from Slog.dev
Name: SLOG1126.DEV
WARNING:
stisdev\sapmnt\trans\tmp\SAPABAP.LOS is already in use (10), I'm waiting 4 sec (20110627095120). My name: pid 8084 on stisdev (APServiceDEV)
WARNING:
stisdev\sapmnt\trans\tmp\SAPABAP.LOS is already in use (20), I'm waiting 1 sec (20110627095151). My name: pid 8084 on stisdev (APServiceDEV)
WARNING:
stisdev\sapmnt\trans\tmp\SAPABAP.LOS is already in use (30), I'm waiting 4 sec (20110627095215). My name: pid 8084 on stisdev (APServiceDEV)
WARNING:
stisdev\sapmnt\trans\tmp\SAPABAP.LOS is already in use (10), I'm waiting 4 sec (20110628123131). My name: pid 7500 on stisdev (APServiceDEV)
WARNING:
stisdev\sapmnt\trans\tmp\SAPABAP.LOS is already in use (10), I'm waiting 4 sec (20110630093900). My name: pid 8124 on stisdev (APServiceDEV)
WARNING:
stisdev\sapmnt\trans\tmp\SAPABAP.LOS is already in use (20), I'm waiting 1 sec (20110630093925). My name: pid 8124 on stisdev (APServiceDEV)
WARNING:
stisdev\sapmnt\trans\tmp\SAPABAP.LOS is already in use (30), I'm waiting 4 sec (20110630093949). My name: pid 8124 on stisdev (APServiceDEV)
WARNING:
stisdev\sapmnt\trans\tmp\SAPABAP.LOS is already in use (40), I'm waiting 2 sec (20110630094020). My name: pid 8124 on stisdev (APServiceDEV)
WARNING:
stisdev\sapmnt\trans\tmp\SAPABAP.LOS is already in use (50), I'm waiting 2 sec (20110630094055). My name: pid 8124 on stisdev (APServiceDEV)
WARNING:
stisdev\sapmnt\trans\tmp\SAPABAP.LOS is already in use (60), I'm waiting 1 sec (20110630094132). My name: pid 8124 on stisdev (APServiceDEV) -
Problem while reading data from Serial Port
Hi All,
I am facing some problem while reading data from Serial Port.
As per the requirement I am writing the data on Serial Port and waiting for response of that data.
Notification for data availabilty is checked with method public void serialEvent(SerialPortEvent event) of javax.comm.SerialPortEventListener.
When we are writing data on the port one thread i.e. "main" thread is generated and when data availability event occures another thread "Win32SerialPort Notification thread" is generated. This creates problem for me as we can't control thread processing.
So can anybody pls explain me how to overcome this problem?
Regards,
NehaMy Problem is:-
I am simoultaneouly wrting data on port & reading data from port.
First I write data on port using outputStream.write() method. Now when target side sends me response back for the request on serial port DATA_AVAILABLE of SerialPortEventListner event occured,we are reading data from serial port.Now till the time we didn't get the response from target next command can't be written on the serial port. When we are writing data on port main thread is executed.Now my problem starts when DATA_AVAILABLE event occured.At this point another thread is created.Due to this my program writes data of next command without reading response of previous command.To solve this prob. I have used wait() & notify() methods as follows.But again due to this my pc hangs after execution of 2 commands. (PC hang in while loop in a code provided below.)
From SOPs I could figure it out that after 2 commands we are not able to write data on serial port so DATA_AVAILABLE event doesn't occure n pro. goes in wait state.
Can anybody help me to solve this issue.
Neha.
Code:
public void serialEvent(SerialPortEvent event)
switch (event.getEventType())
case SerialPortEvent.BI:
case SerialPortEvent.OE:
case SerialPortEvent.FE:
case SerialPortEvent.PE:
case SerialPortEvent.CD:
case SerialPortEvent.CTS:
case SerialPortEvent.DSR:
case SerialPortEvent.RI:
case SerialPortEvent.OUTPUT_BUFFER_EMPTY:
break;
case SerialPortEvent.DATA_AVAILABLE:
try
dataThread = Thread.currentThread();
dataThread.setPriority(10);
dataAvailable = true;
byte[] tempArray=new byte[availableBytes];
inputStream.read(tempArray);
catch (IOException io)
SOP(io, "Error in serialEvent callback call for event DATA_AVAILABLE");
public void writetoPort(byte[] data) throws IOException
outputStream.write(data);
while(finalTimeOut >= actualTime)
if( ! dataAvailable)
actualTime = System.currentTimeMillis();
else
synchronized (mainThread)
mainThread = Thread.currentThread();
mainThread.wait();
public void sendDatatoUser(byte[] b) throws Exception, HWCCSystemFailure
obj.returnData(b);
synchronized(mainThread)
mainThread.notify();
-
Problem while reading XML file from Aplication server(Al11)
Hi Experts
I am facing a problem while reading XML file from Aplication server using open data set.
OPEN DATASET v_dsn IN BINARY MODE FOR INPUT.
IF sy-subrc <> 0.
EXIT.
ENDIF.
READ DATASET v_dsn INTO v_rec.
WHILE sy-subrc <> 0.
ENDWHILE.
CLOSE DATASET v_dsn.
The XML file contains the details from an IDOC number , the expected output is XML file giving all the segments details in a single page and send the user in lotus note as an attachment, But in the present output after opening the attachment i am getting a single XML file which contains most of the segments ,but in the bottom part it is giving the below error .
- <E1EDT13 SEGMENT="1">
<QUALF>001</QUALF>
<NTANF>20110803</NTANF>
<NTANZ>080000</NTANZ>
<NTEND>20110803<The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
Invalid at the top level of the document. Error processing resource 'file:///C:/TEMP/notesD52F4D/SHPORD_0080005842.xml'.
/SPAN></NTEND>
<NTENZ>000000</NTENZ>
for all the xml its giving the error in bottom part , but once we open the source code and if we saved in system without changing anything the file giving the xml file without any error in that .
could any one can help to solve this issue .Hi Oliver
Thanx for your reply.
see the latest output
- <E1EDT13 SEGMENT="1">
<QUALF>003</QUALF>
<NTANF>20110803</NTANF>
<NTANZ>080000</NTANZ>
<NTEND>20110803</NTEND>
<NTENZ>000000</NTENZ>
<ISDD>00000000</ISDD>
<ISDZ>000000</ISDZ>
<IEDD>00000000</IEDD>
<IEDZ>000000</IEDZ>
</E1EDT13>
- <E1EDT13 SEGMENT="1">
<QUALF>001</QUALF>
<NTANF>20110803</NTANF>
<NTANZ>080000</NTANZ>
<NTEND>20110803<The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
Invalid at the top level of the document. Error processing resource 'file:///C:/TEMP/notesD52F4D/~1922011.xml'.
/SPAN></NTEND>
<NTENZ>000000</NTENZ>
E1EDT13 with QUALF>003 and <E1EDT13 SEGMENT="1">
with <QUALF>001 having almost same segment data . but E1EDT13 with QUALF>003 is populating all segment data
properly ,but E1EDT13 with QUALF>001 is giving in between. -
Encoding problem while reading binary data from MQ-series
Dear all,
we are running on 7.0 and we have an encoding problem while reading binary data from MQ-series. Because we are getting flat strings from queue we use module "Plain2ML" (MessageTransformBean) for wrapping xml-elements around the incoming data.
The MQ-Series-Server is using CCSID 850, which we configured in connection parameters in communication channel (both parameters for Queuemanager CCSID and also CCSID of target).If there are special characters in the message (which HEX-values differ from codepage to codepage) we get errors in our adapter while executing, please see stack-trace for further analysis below.
It seems to us that
1. method ByteToCharUTF8.convert() expects UTF-8 in binary data
2. Both CCSID parameters are not used anyway in JMS-adapter
How can we solve this problem without changing anything on MQ-site?
Here is the stack-trace:
Catching com.sap.aii.af.mp.module.ModuleException: Transform: failed to execute the transformation: com.sap.aii.messaging.adapter.trans.TransformException: Error converting Message: 'sun.io.MalformedInputException'; nested exception caused by: sun.io.MalformedInputException caused by: com.sap.aii.messaging.adapter.trans.TransformException: Error converting Message: 'sun.io.MalformedInputException'; nested exception caused by: sun.io.MalformedInputException
at com.sap.aii.af.modules.trans.MessageTransformBean.throwModuleException(MessageTransformBean.java:453)
at com.sap.aii.af.modules.trans.MessageTransformBean.process(MessageTransformBean.java:387)
at com.sap.aii.af.mp.module.ModuleLocalLocalObjectImpl0_0.process(ModuleLocalLocalObjectImpl0_0.java:103)
at com.sap.aii.af.mp.ejb.ModuleProcessorBean.process(ModuleProcessorBean.java:292)
at com.sap.aii.af.mp.processor.ModuleProcessorLocalLocalObjectImpl0_0.process(ModuleProcessorLocalLocalObjectImpl0_0.java:103)
at com.sap.aii.adapter.jms.core.channel.filter.SendToModuleProcessorFilter.filter(SendToModuleProcessorFilter.java:84)
at com.sap.aii.adapter.jms.core.channel.filter.MessageFilterContextImpl.callNext(MessageFilterContextImpl.java:195)
at com.sap.aii.adapter.jms.core.channel.filter.ConvertBinaryToXiMessageFilter.filter(ConvertBinaryToXiMessageFilter.java:304)
at com.sap.aii.adapter.jms.core.channel.filter.MessageFilterContextImpl.callNext(MessageFilterContextImpl.java:195)
at com.sap.aii.adapter.jms.core.channel.filter.ConvertJmsMessageToBinaryFilter.filter(ConvertJmsMessageToBinaryFilter.java:112)
at com.sap.aii.adapter.jms.core.channel.filter.MessageFilterContextImpl.callNext(MessageFilterContextImpl.java:195)
at com.sap.aii.adapter.jms.core.channel.filter.InboundDuplicateCheckFilter.filter(InboundDuplicateCheckFilter.java:87)
at com.sap.aii.adapter.jms.core.channel.filter.MessageFilterContextImpl.callNext(MessageFilterContextImpl.java:195)
at com.sap.aii.adapter.jms.core.channel.filter.TxManagerFilter.filterSend(TxManagerFilter.java:123)
at com.sap.aii.adapter.jms.core.channel.filter.TxManagerFilter.filter(TxManagerFilter.java:59)
at com.sap.aii.adapter.jms.core.channel.filter.MessageFilterContextImpl.callNext(MessageFilterContextImpl.java:195)
at com.sap.aii.adapter.jms.core.channel.filter.DynamicConfigurationFilter.filter(DynamicConfigurationFilter.java:72)
at com.sap.aii.adapter.jms.core.channel.filter.MessageFilterContextImpl.callNext(MessageFilterContextImpl.java:195)
at com.sap.aii.adapter.jms.core.channel.filter.PmiAgentFilter.filter(PmiAgentFilter.java:66)
at com.sap.aii.adapter.jms.core.channel.filter.MessageFilterContextImpl.callNext(MessageFilterContextImpl.java:195)
at com.sap.aii.adapter.jms.core.channel.filter.InboundCorrelationFilter.filter(InboundCorrelationFilter.java:60)
at com.sap.aii.adapter.jms.core.channel.filter.MessageFilterContextImpl.callNext(MessageFilterContextImpl.java:195)
at com.sap.aii.adapter.jms.core.channel.filter.JmsHeadersProfileFilter.filter(JmsHeadersProfileFilter.java:59)
at com.sap.aii.adapter.jms.core.channel.filter.MessageFilterContextImpl.callNext(MessageFilterContextImpl.java:195)
at com.sap.aii.adapter.jms.core.channel.filter.MessageInvocationsFilter.filter(MessageInvocationsFilter.java:89)
at com.sap.aii.adapter.jms.core.channel.filter.MessageFilterContextImpl.callNext(MessageFilterContextImpl.java:195)
at com.sap.aii.adapter.jms.core.channel.filter.JarmMonitorFilter.filter(JarmMonitorFilter.java:57)
at com.sap.aii.adapter.jms.core.channel.filter.MessageFilterContextImpl.callNext(MessageFilterContextImpl.java:195)
at com.sap.aii.adapter.jms.core.channel.filter.ThreadNamingFilter.filter(ThreadNamingFilter.java:62)
at com.sap.aii.adapter.jms.core.channel.filter.MessageFilterContextImpl.callNext(MessageFilterContextImpl.java:195)
at com.sap.aii.adapter.jms.core.channel.SenderChannelImpl.doReceive(SenderChannelImpl.java:263)
at com.sap.aii.adapter.jms.core.channel.ChannelImpl.receive(ChannelImpl.java:437)
at com.sap.aii.adapter.jms.core.connector.MessageListenerImpl.onMessage(MessageListenerImpl.java:36)
at com.ibm.mq.jms.MQMessageConsumer$FacadeMessageListener.onMessage(MQMessageConsumer.java:399)
at com.ibm.msg.client.jms.internal.JmsMessageConsumerImpl$JmsProviderMessageListener.onMessage(JmsMessageConsumerImpl.java:904)
at com.ibm.msg.client.wmq.v6.jms.internal.MQMessageConsumer.receiveAsync(MQMessageConsumer.java:4249)
at com.ibm.msg.client.wmq.v6.jms.internal.SessionAsyncHelper.run(SessionAsyncHelper.java:537)
at java.lang.Thread.run(Thread.java:770)
Caused by: com.sap.aii.messaging.adapter.trans.TransformException: Error converting Message: 'sun.io.MalformedInputException'; nested exception caused by: sun.io.MalformedInputException
at com.sap.aii.messaging.adapter.Conversion.service(Conversion.java:714)
at com.sap.aii.af.modules.trans.MessageTransformBean.processTransform(MessageTransformBean.java:538)
at com.sap.aii.af.modules.trans.MessageTransformBean.processTransform(MessageTransformBean.java:528)
at com.sap.aii.af.modules.trans.MessageTransformBean.processTransform(MessageTransformBean.java:471)
at com.sap.aii.af.modules.trans.MessageTransformBean.process(MessageTransformBean.java:364)
... 36 more
Caused by: sun.io.MalformedInputException
at sun.io.ByteToCharUTF8.convert(ByteToCharUTF8.java:270)
at sun.nio.cs.StreamDecoder$ConverterSD.convertInto(StreamDecoder.java:287)
at sun.nio.cs.StreamDecoder$ConverterSD.implRead(StreamDecoder.java:337)
at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:223)
at java.io.InputStreamReader.read(InputStreamReader.java:208)
at java.io.BufferedReader.fill(BufferedReader.java:153)
at java.io.BufferedReader.readLine(BufferedReader.java:316)
at java.io.LineNumberReader.readLine(LineNumberReader.java:176)
at com.sap.aii.messaging.adapter.Conversion.convertPlain2XML(Conversion.java:310)
at com.sap.aii.messaging.adapter.Conversion.service(Conversion.java:709)
... 40 more
Any ideas?
Kind regards, StefanHi Stefan,
for the first MTB now we are using only one parameter: Transform.ContentType = text/plain;charset="ISO-8859-1"
The second MTB, which does the XML-Wrapping, is configured like this:
Transform.Class = com.sap.aii.messaging.adapter.Conversion
Transform.ContentType = application/xml
xml.conversionType = SimplePlain2XML
xml.fieldNames = value
xml.fieldSeparator = §%zulu§%
xml.processFieldNames = fromConfiguration
xml.structureTitle = payload
Both CCSID configuration parameters from the "Source"-Tab we've set to 850.
Now, we don't get an error anymore - sun.io.malformedInputException - , but, unfortunately, now special character conversion succeeded (we need an "ß" and we get an ISO-HEX-E1 -> á). E1 is (different from ISO) an "ß" in 850.
Any ideas? -
Problem while reading the file from FTP server
Hi Friends,
I have a problem while fetching files from FTP server.
I used FTP_Connect, FTP_COMMAND function modules. I can able to put the files into FTP server.
but I cant able to pick the files from FTP server.
anyone have faced similar issues kindly let me know.
Thanks
GowrishankarHi,
try this way..
for reading the file using FTP you need to use different unix command ..
Prabhuda -
Problem While reading a file in text mode from Unix in ECC 5.0
Hi Experts,
I am working on Unicode Upgrade project of ECC5.0.
Here i got a problem with reading a file format which it does successfully in 4.6 and not in ECC5.0
My file format was as follows:
*4 000001862004060300000010###/#######L##########G/##########G/########
It was successfully converting corresponding field values in 4.6:
*4
00000186
2004
06
03
00000010
25
0
4
0
54.75
0
54.75
0.00
While i am getting some problem in ECC5.0 during conversion of the above line:
*4 000001862004060300000010###/#######L##########G/##########G/########
it was consider in the same # values.
I have used the following statement to open and read dataset.
OPEN DATASET i_dsn IN LEGACY TEXT MODE FOR INPUT.
READ DATASET i_dsn INTO pos_rec.
Thanks for your help.
Regards,
Gopinath Addepalli.Hi
You might be facing this problem because of uni code. So while opening or reading the file, there is a statement call ENCODING. Use that option and keep the code page which you want. Then the problem may be solved.
Thanks & Regards.
Harish. -
LSMW:problem While reading Data
Hi Experts,
I have specified one field length as 180 of type CHAR of one field called Name in the maintain source field step.But the problem is while reading the data characters upto lenght 60 are coming.rest are getting truncated(i mean after 60 till 180).i mean after 60 rest it is showing blank.What exactly can be the problem?i am not able to sort it out.
Is there any limit to the length of a particular field that we specify?
Any pointers will be highly appreciated.
Regards,
Rahul
Edited by: Rahul Kumar Sinha on Feb 11, 2009 10:05 AMif your passing the text up to 180 chars but target filed is only 60 char length, so that ist taking only 60 chars. put the break point on the text filed in step5(Maintain Field Mapping and Conversion Rules) and check...
-
CLIENT_OLE2 date formatting problem while reading from Excel
I have installed webutil package and tested that everything works by running webutil_demo as well as WU_TEST_106 form. Then I had implemented reading from Excel sp. sheet using Oracle note 813535.1 (This note has OLE2 code sample on how to read an Excel file). Everything fine till now. The problem started when I have a date fiield to read from Excel. The field where the value is going to has format mask of 'DD-MM-RRRR'. When the date is displayed in the form, it shows '01-AUG-0009' instead of '01-AUG-2009'. I tried changing the date format to different formats in Excel but no go. I found one blog which stated that treat the date as number and use e.g. "cell_date_value:=to_date('01/01/1900','DD/MM/YYYY')+client_OLE2.get_num_property(cel,,'Value')+2" but it too did not change the display. Then I tried debugging and stepping through the code..the only thing I noticed that OLE2 function displayed the date with 2 digit year as 09 and when the code completed execution, the date went back to '01-AUG-0009'. Casting with 4 digit year at every step in the code is not helping to change final date display correctly. Any idea?!!!
Hi,
While reading the date column from excel, try using
m_col_val := OLE2.get_char_property(Workcell,'Text');
Instead of
m_col_val := OLE2.get_char_property(Workcell,'Value');
I think you problem will be solved...
hello...i meant client_OLE2
Regards
Dora
Edited by: Dora on Sep 16, 2009 11:05 AM -
Problem while reading a line from a file
Hi all
I am facing a problem while readinga line from a file ,
line contains some french characters due to which it skips sequence, returning invalid record in a variable
e.g 'abcdefghÛLasasa'
Starting Point of Û is 9 and if
V1:=substr(''abcdefghÛLasasa',9,3)
result is v1='ÛLas' which is invalid
can i anybody help me out in resolving this problemHello,
What is your oracle version? And what is your expected result.
I used the same string and this is my output on 10.2.
select substr('abcdefghÛLasasa',9,3) mystring from dual;
MYS
ÛLa
1 row selected.Regards
Edited by: OrionNet on Jan 29, 2009 12:45 AM -
Problem while reading double data?
run the program
then get the output, show below
have an additional data
import java.io.*;
import java.util.*;
import java.net.*;
public class SimpleInputStream
private StringTokenizer tk;
public SimpleInputStream(String fileName) throws IOException
String content = readFile(fileName);
tk = new StringTokenizer(content);
public SimpleInputStream(String fileName, String delim) throws IOException
String content = readFile(fileName);
tk = new StringTokenizer(content, delim);
public static String readFile(String fileName) throws IOException
BufferedReader reader = new BufferedReader(new FileReader(fileName));
StringBuffer buffer = new StringBuffer();
char temp[] = new char[20];
while ( reader.read(temp) != -1)
buffer.append(temp);
if (reader != null)
reader.close();
return buffer.toString();
public int readInt() throws NullContentException
if (!tk.hasMoreTokens())
throw new NullContentException("not more element in content");
return Integer.parseInt(tk.nextToken());
public float readFloat() throws NullContentException
if (!tk.hasMoreTokens())
throw new NullContentException("not more element in content");
return Float.parseFloat(tk.nextToken());
//test if any data can be used
public boolean hasMore()
return tk != null && tk.hasMoreTokens();
public double readDouble() throws NullContentException
if (!tk.hasMoreTokens())
throw new NullContentException("not more element in content");
return Double.parseDouble(tk.nextToken());
public void close()
tk = null;
public static void main(String[] args)
try {
SimpleInputStream input = new SimpleInputStream("resources/c17.txt");
while (input.hasMore())
System.out.println(input.readDouble());
} catch (Exception e) {
e.printStackTrace();
class NullContentException extends Exception
public NullContentException()
super();
public NullContentException(String msg)
super(msg);
}file "resources/c17.txt"
17 11 9 20
1.12
1.12
1.12
1.12
1.12
1.12
1.12
1.12
2.24
2.24
2.24
2.24
2.24
2.24
4.64
4.64
4.64
the output:
17.0
11.0
9.0
20.0
1.12
1.12
1.12
1.12
1.12
1.12
1.12
1.12
2.24
2.24
2.24
2.24
2.24
2.24
4.64
4.64
4.6424 // here the additional data why???
4.64i alway this class to read int data but when i first try to use it to read double data , it is failed, it always generate many other data
-
I am trying to read one payload from oracle AQ.the payload is consisting of 3 varchar fields and two date fields.But while reading the object using AQ adapter I can see only varchar fields.Dtae fields are not visible,so adapter is not picking up the data from AQ.Can anybody suggest what to do?
check these answers
HELP! ORA-25215: user_data type and queue type do not match
and
http://docstore.mik.ua/orelly/oracle/bipack/ch05_03.htm
hth,
Peter Paul -
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 -
Problem while reading data on java socket
Hi All,
I am in big problem based on java socket programming. I run my application and start a ServerSocket on 10000(suppose) port no.As soon as request is coming i create a new thread with Socket assigned to it and process the request. Now i got the response and written on same Socket(Listen to ServerSocket on 10000 port). Now what i want to read the response written earlier on Socket.The written response i print on SOP it is visible. But when i establish InputStream and try to read the data it gives me -1 means no data is available. But i have seen the SOP and data is written to socket. How can solve the problem. I have tried after close the Socket as well as not close the socket.
Please help me out on this.see below code
<CODE>
void upperClassMethod() {
istener = new ServerSocket(port);
while(true) {
clientSocket = listener.accept();
doComms conn_c= new doComms(clientSocket);
Thread t = new Thread(conn_c);
t.start();
//doComms is a inner class of upper level class
class doComms implements Runnable {
private Socket server;
doComms(Socket server) {
//pp = server;
this.server=server;
//server=server1;
void processResponse() {
try {
BufferedInputStream in = new BufferedInputStream (clientSocket.getInputStream());
byte [] inBuff = new byte [4096] ;
int len = in.read (inBuff, 0, inBuff.length) ;
String output = new String (inBuff) ;
System.out.println("the output is :::: "+output);
} catch(Exception e) {
e.printStackTrace();
</CODE>
in processResponse() method i am not able to get output. Plz help me guys.....
Thanks in advance for ant assistance
Regards,
Pradeepplease see mu rum nethos of doComms class
<CODE>
public void run () {
input="";
boolean done = false ;
try {
BufferedInputStream in = new BufferedInputStream (server.getInputStream());
out = new PrintStream(server.getOutputStream());
while (!done) {
byte [] inBuff = new byte [4096] ;
try {
int len = in.read (inBuff, 0, inBuff.length) ;
if (len > 0) {
input = new String (inBuff) ;
Runnable r = new RequestProcessThread();
Thread t = new Thread(r);
t.start();
} else if (len == -1) {
done = true ;
//server.close () ;
catch (InterruptedIOException iioe) {
} catch (IOException ioe) {
System.out.println("IOException " + ioe + " on socket in thread: " + Thread.currentThread().getName());
ioe.printStackTrace();
done = true ;
</CODE>
Maybe you are looking for
-
I downgraded to 3.x because when I browse I have many new open windows (I have been using FF for so long I automatically select the second option). Seems stupid to change the order of the context menu when it has been the other way forever. Please ch
-
COR2 (Change Process Order) Upload & Data Change Using BAPI OR RFC
Dear Experts, I want to change the Transaction cor2(Change Process Order) material 1st line quantity, after that i have to upload records from line 2. I have all the data in itab. Will you people please have a suggestion to change
-
Hello - The below error is being received when submitting an app via Application Loader (3.0). Application Loader ERROR ITMS-90072: "The IPA is invalid. It does not include a Payload directory." Has anyone encountered this issue? If so, please advis
-
Feature Request to enhance Weblogic Tech Support
Hi, I will try to express my idea in "draft" form. I think weblogic architects can enhance the ideas to hashout all the necessary details. It will be very good to have following environment variables in startWeblogic.cmd / startWeblogic.sh files: ENA
-
Delivery split due to conflicting header data
hi experts, we have implemented CRM services with R/3 as back end system. when ever a service order in crm with more than one material in line items get replicated to r/3 as sales order .during delivery we are getting the following error. *Item 000