WLS dies during stress testing
We're using JMeter to send continuous requests to the server. It creates
1500 threads and each requests Hello.jsp (see below) 500 times.
The server runs fine for about 6.5 minutes (serviced ~120000 requests)
before locking up. We let it sit for a while and about 4 minutes later, it
starts spewing out the following (bottom part of weblogic.log)
Fri May 19 10:48:37 GMT-04:00 2000:<I> <WebLogicServer> WebLogic Server
started
Fri May 19 10:48:47 GMT-04:00 2000:<I> <ServletContext-General> *.jsp: init
Fri May 19 10:48:47 GMT-04:00 2000:<I> <ServletContext-General> *.jsp: param
verbose initialized to: true
Fri May 19 10:48:47 GMT-04:00 2000:<I> <ServletContext-General> *.jsp: param
packagePrefix initialized to: jsp_servlet
Fri May 19 10:48:47 GMT-04:00 2000:<I> <ServletContext-General> *.jsp: param
compileCommand initialized to: /opt/Solaris_JDK_1.2.2_05a/bin/javac
Fri May 19 10:48:47 GMT-04:00 2000:<I> <ServletContext-General> *.jsp: param
srcCompiler initialized to weblogic.jspc
Fri May 19 10:48:47 GMT-04:00 2000:<I> <ServletContext-General> *.jsp: param
superclass initialized to null
Fri May 19 10:48:47 GMT-04:00 2000:<I> <ServletContext-General> *.jsp: param
workingDir initialized to: /opt/ejbserver/weblogic/myserver/classfiles
Fri May 19 10:48:47 GMT-04:00 2000:<I> <ServletContext-General> *.jsp: param
pageCheckSeconds initialized to: 1
Fri May 19 10:48:47 GMT-04:00 2000:<I> <ServletContext-General> *.jsp:
initialization complete
Fri May 19 10:48:47 GMT-04:00 2000:<I> <ServletContext-General> Generated
java file:
/opt/ejbserver/weblogic/myserver/classfiles/jsp_servlet/testpages/hello.java
Fri May 19 10:51:10 GMT-04:00 2000:<W> <ListenThread> Connection rejected:
'Login timed out after: '5000' ms on socket:
'Socket[addr=47.187.230.161/47.187.230.161,port=15123,localport=7111]''
Fri May 19 10:51:10 GMT-04:00 2000:<W> <ListenThread> Connection rejected:
'Login timed out after: '5000' ms on socket:
'Socket[addr=47.187.230.161/47.187.230.161,port=15172,localport=7111]''
Fri May 19 10:51:10 GMT-04:00 2000:<W> <ListenThread> Connection rejected:
'Login timed out after: '5000' ms on socket:
'Socket[addr=47.187.230.161/47.187.230.161,port=11312,localport=7111]''
Fri May 19 10:51:20 GMT-04:00 2000:<W> <ListenThread> Connection rejected:
'Login timed out after: '5000' ms on socket:
'Socket[addr=47.187.230.161/47.187.230.161,port=14368,localport=7111]''
Fri May 19 10:51:20 GMT-04:00 2000:<W> <ListenThread> Connection rejected:
'Login timed out after: '5000' ms on socket:
'Socket[addr=47.187.230.161/47.187.230.161,port=14385,localport=7111]''
Fri May 19 10:51:24 GMT-04:00 2000:<W> <ListenThread> Connection rejected:
'Login timed out after: '5000' ms on socket:
'Socket[addr=47.187.230.161/47.187.230.161,port=15294,localport=7111]''
Fri May 19 10:51:27 GMT-04:00 2000:<W> <ListenThread> Connection rejected:
'Login timed out after: '5000' ms on socket:
'Socket[addr=47.187.230.161/47.187.230.161,port=15291,localport=7111]''
Fri May 19 10:51:55 GMT-04:00 2000:<W> <ListenThread> Connection rejected:
'Login timed out after: '5000' ms on socket:
'Socket[addr=47.187.230.161/47.187.230.161,port=28068,localport=7111]''
Fri May 19 10:51:56 GMT-04:00 2000:<W> <ListenThread> Connection rejected:
'Login timed out after: '5000' ms on socket:
'Socket[addr=47.187.230.161/47.187.230.161,port=28385,localport=7111]''
Fri May 19 10:52:00 GMT-04:00 2000:<W> <ListenThread> Connection rejected:
'Login timed out after: '5000' ms on socket:
'Socket[addr=47.187.230.161/47.187.230.161,port=28421,localport=7111]''
Fri May 19 10:53:45 GMT-04:00 2000:<W> <ListenThread> Connection rejected:
'Login timed out after: '5000' ms on socket:
'Socket[addr=47.187.230.161/47.187.230.161,port=63711,localport=7111]''
Fri May 19 10:53:45 GMT-04:00 2000:<W> <ListenThread> Connection rejected:
'Login timed out after: '5000' ms on socket:
'Socket[addr=47.187.230.161/47.187.230.161,port=63709,localport=7111]''
Fri May 19 10:58:26 GMT-04:00 2000:<E> <WebLogicServer> Exception invoking
weblogic.time.server.ScheduledTrigger@d2573f
java.lang.RuntimeException: <UTIL> UnsyncCircularQueue was full!
at java.lang.Throwable.fillInStackTrace(Native Method)
at java.lang.Throwable.fillInStackTrace(Compiled Code)
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Compiled Code)
at java.lang.RuntimeException.<init>(Compiled Code)
at weblogic.utils.UnsyncCircularQueue.expandQueue(Compiled Code)
at weblogic.utils.UnsyncCircularQueue.put(Compiled Code)
at weblogic.kernel.ExecuteThreadManager.execute(Compiled Code)
at weblogic.kernel.Kernel.execute(Compiled Code)
at weblogic.time.common.internal.ScheduledTrigger.private_execute(Compiled
Code)
at weblogic.time.server.ScheduledTrigger.private_execute(Compiled Code)
at weblogic.time.common.internal.TimeTable.execute(Compiled Code)
at weblogic.time.common.internal.TimeEventGenerator.run(Compiled Code)
at java.lang.Thread.run(Thread.java:479)
We get a steady stream of this exact same RuntimeException for about 20
minutes before the whole thing dies.
Any ideas would be great!
Jason
The setup is the following:
Sun E250 with 1 CPU at 400MHz, 512 MB
Solaris 2.6
WLS 5.1 with SP3
Solaris Performance Pack is used
Sun JDK 1.2.2
min heap size is 128MB and max as 128MB with options
"-native -verbosegc"
other changed to the OS:
rlim_fd_max=4096
rlim_fd_cur=4096
tcp_close_wait_interval=10000
tcp_flush_fin_wait_2=10000
No paging/swapping takes place during the test.
Hello.jsp is as follows:
<html>
<head>
<title>A simple JSP file</title>
</head>
<body>
<%
out.print("<p><b>Hello World!</b>");
%>
</body>
</html>
Comments inline.
Cheers - Wei
Jason <[email protected]> wrote in message
news:[email protected]...
Thanks, that definitely sheds some light on the problem.
We monitored the server and came up with the following. The queue isindeed
growing and probably accounts for the eventual failure (does anyone know
what the limit is?). The throughput is constant but just can't keep upwith
the requests. Another thing is that the heap slowly increases along with
the queue and it took a while for it to hit 100% and have GC occur.I am not sure about the limit. Either 32K or 64K, I guess. If you monitor
your queue lenght frequently, you might have a chance to spot that limit.
Every request need memory to hold. So the heap slowly increases along with
the queue.
>
Now, we duplicated the test but accessed a Servlet directly instead of a
JSP. This servlet simply did some out.print(...) statements to displaythe
same page as Hello.jsp. This ran without a hitch. We had about 5 times
more throughput and the queue wasn't growing out of control. Also, theheap
would reach 100% much quicker and GC occured more frequently. I can't see
how handling a JSP request is that much more resource intensive than a
Servlet request...
We then tried the original test again (accessing JSP) but this timeremoved
Service pack 3. We were running straight WLS 5.1 (no service packs).
Everything behaved nicely (just like the Servlet test did). Could it then
be that SP3 introduced a bug relating to how JSP requests are handled?Well, if this was the case, you might need to address this with support.
>
Finally, all the tests ran without changing the default number of execute
threads (15). I don't think increasing the number will help seeing how
short-lived these requests are. I think more execute threads would just
increase the context-switching.I agree. I've seen 15 to 60 threads in production. Might be worth a try to
use larger number of threads in your test to see if it alleviated the
problem.
>
Thanks again,My pleasure.
Jason
Wei Guan <[email protected]> wrote in message
news:[email protected]...
WebLogic has its interal request queue to enqueue all requests. Therequest
refers to an unit of work for weblogic to process, such as a triggeredtime
service, http request, etc. The finite number of worker threads defined
in
your weblogic.properties file will dequeue the requests inside therequest
queue and process the work.
There is an upper limit on the size of this queue. The message you gotmeans
that your test hit that limit. In practice, if there were lots of
requests
inside that queue, every request need to wait for lots of time beforebeing
processed (the queue is FIFO I believed). Open your WebLogic Console and
monitor the size of the queue, in your test or in your production, if
you
see the size of the queue increases constantly, there is somethingwrong.
You might need to increase the number of threads to handle the load. If
tuning up the number of threads doesn't help, you might need useweblogic
clustering (or add more servers in your clustering) to share the load.
WebLogic engineers might be able to lift up the upper limit of the sizeof
the queue. However, the larger upper limit on the queue might not helpyou
in practice. Tuning your configuration and making sure the number of
requests inside the queue do not increase constantly might be a good
practice to follow.
My 2 cents.
Cheers - Wei
Jason <[email protected]> wrote in message
news:[email protected]...
We're using JMeter to send continuous requests to the server. It
creates
1500 threads and each requests Hello.jsp (see below) 500 times.
The server runs fine for about 6.5 minutes (serviced ~120000 requests)
before locking up. We let it sit for a while and about 4 minutes
later,
it
starts spewing out the following (bottom part of weblogic.log)
Fri May 19 10:48:37 GMT-04:00 2000:<I> <WebLogicServer> WebLogic
Server
started
Fri May 19 10:48:47 GMT-04:00 2000:<I> <ServletContext-General> *.jsp:init
Fri May 19 10:48:47 GMT-04:00 2000:<I> <ServletContext-General> *.jsp:param
verbose initialized to: true
Fri May 19 10:48:47 GMT-04:00 2000:<I> <ServletContext-General> *.jsp:param
packagePrefix initialized to: jsp_servlet
Fri May 19 10:48:47 GMT-04:00 2000:<I> <ServletContext-General> *.jsp:param
compileCommand initialized to: /opt/Solaris_JDK_1.2.2_05a/bin/javac
Fri May 19 10:48:47 GMT-04:00 2000:<I> <ServletContext-General> *.jsp:param
srcCompiler initialized to weblogic.jspc
Fri May 19 10:48:47 GMT-04:00 2000:<I> <ServletContext-General> *.jsp:param
superclass initialized to null
Fri May 19 10:48:47 GMT-04:00 2000:<I> <ServletContext-General> *.jsp:param
workingDir initialized to: /opt/ejbserver/weblogic/myserver/classfiles
Fri May 19 10:48:47 GMT-04:00 2000:<I> <ServletContext-General> *.jsp:param
pageCheckSeconds initialized to: 1
Fri May 19 10:48:47 GMT-04:00 2000:<I> <ServletContext-General> *.jsp:
initialization complete
Fri May 19 10:48:47 GMT-04:00 2000:<I> <ServletContext-General>
Generated
java file:
/opt/ejbserver/weblogic/myserver/classfiles/jsp_servlet/testpages/hello.java
Fri May 19 10:51:10 GMT-04:00 2000:<W> <ListenThread> Connectionrejected:
'Login timed out after: '5000' ms on socket:
'Socket[addr=47.187.230.161/47.187.230.161,port=15123,localport=7111]''
Fri May 19 10:51:10 GMT-04:00 2000:<W> <ListenThread> Connectionrejected:
'Login timed out after: '5000' ms on socket:
'Socket[addr=47.187.230.161/47.187.230.161,port=15172,localport=7111]''
Fri May 19 10:51:10 GMT-04:00 2000:<W> <ListenThread> Connectionrejected:
'Login timed out after: '5000' ms on socket:
'Socket[addr=47.187.230.161/47.187.230.161,port=11312,localport=7111]''
Fri May 19 10:51:20 GMT-04:00 2000:<W> <ListenThread> Connectionrejected:
'Login timed out after: '5000' ms on socket:
'Socket[addr=47.187.230.161/47.187.230.161,port=14368,localport=7111]''
Fri May 19 10:51:20 GMT-04:00 2000:<W> <ListenThread> Connectionrejected:
'Login timed out after: '5000' ms on socket:
'Socket[addr=47.187.230.161/47.187.230.161,port=14385,localport=7111]''
Fri May 19 10:51:24 GMT-04:00 2000:<W> <ListenThread> Connectionrejected:
'Login timed out after: '5000' ms on socket:
'Socket[addr=47.187.230.161/47.187.230.161,port=15294,localport=7111]''
Fri May 19 10:51:27 GMT-04:00 2000:<W> <ListenThread> Connectionrejected:
'Login timed out after: '5000' ms on socket:
'Socket[addr=47.187.230.161/47.187.230.161,port=15291,localport=7111]''
Fri May 19 10:51:55 GMT-04:00 2000:<W> <ListenThread> Connectionrejected:
'Login timed out after: '5000' ms on socket:
'Socket[addr=47.187.230.161/47.187.230.161,port=28068,localport=7111]''
Fri May 19 10:51:56 GMT-04:00 2000:<W> <ListenThread> Connectionrejected:
'Login timed out after: '5000' ms on socket:
'Socket[addr=47.187.230.161/47.187.230.161,port=28385,localport=7111]''
Fri May 19 10:52:00 GMT-04:00 2000:<W> <ListenThread> Connectionrejected:
'Login timed out after: '5000' ms on socket:
'Socket[addr=47.187.230.161/47.187.230.161,port=28421,localport=7111]''
Fri May 19 10:53:45 GMT-04:00 2000:<W> <ListenThread> Connectionrejected:
'Login timed out after: '5000' ms on socket:
'Socket[addr=47.187.230.161/47.187.230.161,port=63711,localport=7111]''
Fri May 19 10:53:45 GMT-04:00 2000:<W> <ListenThread> Connectionrejected:
'Login timed out after: '5000' ms on socket:
'Socket[addr=47.187.230.161/47.187.230.161,port=63709,localport=7111]''
Fri May 19 10:58:26 GMT-04:00 2000:<E> <WebLogicServer> Exceptioninvoking
weblogic.time.server.ScheduledTrigger@d2573f
java.lang.RuntimeException: <UTIL> UnsyncCircularQueue was full!
at java.lang.Throwable.fillInStackTrace(Native Method)
at java.lang.Throwable.fillInStackTrace(Compiled Code)
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Compiled Code)
at java.lang.RuntimeException.<init>(Compiled Code)
at weblogic.utils.UnsyncCircularQueue.expandQueue(Compiled Code)
at weblogic.utils.UnsyncCircularQueue.put(Compiled Code)
at weblogic.kernel.ExecuteThreadManager.execute(Compiled Code)
at weblogic.kernel.Kernel.execute(Compiled Code)
atweblogic.time.common.internal.ScheduledTrigger.private_execute(Compiled
Code)
at weblogic.time.server.ScheduledTrigger.private_execute(Compiled
Code)
at weblogic.time.common.internal.TimeTable.execute(Compiled Code)
at weblogic.time.common.internal.TimeEventGenerator.run(CompiledCode)
at java.lang.Thread.run(Thread.java:479)
We get a steady stream of this exact same RuntimeException for about20
minutes before the whole thing dies.
Any ideas would be great!
Jason
The setup is the following:
Sun E250 with 1 CPU at 400MHz, 512 MB
Solaris 2.6
WLS 5.1 with SP3
Solaris Performance Pack is used
Sun JDK 1.2.2
min heap size is 128MB and max as 128MB with options
"-native -verbosegc"
other changed to the OS:
rlim_fd_max=4096
rlim_fd_cur=4096
tcp_close_wait_interval=10000
tcp_flush_fin_wait_2=10000
No paging/swapping takes place during the test.
Hello.jsp is as follows:
<html>
<head>
<title>A simple JSP file</title>
</head>
<body>
<%
out.print("<p><b>Hello World!</b>");
%>
</body>
</html>
Similar Messages
-
Toplink problem during stress tests
Hello
I have created simple Three tier application, where SLSBs connects using Toplink to Oracle database. During stress tests I'm having very offen following exception:
Wyj¦tek [TOPLINK-4002] (OracleAS TopLink - 10g (9.0.4.5) (Build 040930)): oracle.toplink.exceptions.DatabaseException
Opis wyj¦tku: java.sql.SQLException: Wyj?tek we-wy: The Network Adapter could not establish the connection
Wyj¦tek wewnÅtrzny: java.sql.SQLException: Wyj?tek we-wy: The Network Adapter could not establish the connection
Error code: 17002
at oracle.toplink.exceptions.DatabaseException.sqlException(DatabaseException.java:221)
at oracle.toplink.jndi.JNDIConnector.connect(JNDIConnector.java:105)
at oracle.toplink.sessions.DatabaseLogin.connect(DatabaseLogin.java:218)
at oracle.toplink.internal.databaseaccess.DatabaseAccessor.reconnect(DatabaseAccessor.java:1323)
at oracle.toplink.internal.databaseaccess.DatabaseAccessor.incrementCallCount(DatabaseAccessor.java:1198)
at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeCall(DatabaseAccessor.java:633)
at oracle.toplink.threetier.ServerSession.executeCall(ServerSession.java:506)
at oracle.toplink.internal.queryframework.CallQueryMechanism.executeCall(CallQueryMechanism.java:131)
at oracle.toplink.internal.queryframework.CallQueryMechanism.executeCall(CallQueryMechanism.java:115)
at oracle.toplink.internal.queryframework.CallQueryMechanism.executeSelectCall(CallQueryMechanism.java:194)
at oracle.toplink.internal.queryframework.CallQueryMechanism.selectAllRows(CallQueryMechanism.java:565)
at oracle.toplink.internal.queryframework.ExpressionQueryMechanism.selectAllRowsFromTable(ExpressionQueryMechanism.java:733)
at oracle.toplink.internal.queryframework.ExpressionQueryMechanism.selectAllRows(ExpressionQueryMechanism.java:708)
at oracle.toplink.queryframework.ReadAllQuery.execute(ReadAllQuery.java:447)
at oracle.toplink.queryframework.DatabaseQuery.execute(DatabaseQuery.java:493)
at oracle.toplink.queryframework.ReadQuery.execute(ReadQuery.java:125)
at oracle.toplink.publicinterface.Session.internalExecuteQuery(Session.java:1958)
at oracle.toplink.threetier.ServerSession.internalExecuteQuery(ServerSession.java:629)
at oracle.toplink.threetier.ClientSession.internalExecuteQuery(ClientSession.java:392)
at oracle.toplink.publicinterface.Session.executeQuery(Session.java:1086)
at oracle.toplink.publicinterface.Session.executeQuery(Session.java:1038)
at petstore.ejb.OrderFacadeBean.getUserOrders(OrderFacadeBean.java:190)
at OrderFacadeLocal_StatelessSessionBeanWrapper8.getUserOrders(OrderFacadeLocal_StatelessSessionBeanWrapper8.java:615)
at petstore.wmodule.OrderFacadeBusinessDelegate.getUserOrders(OrderFacadeBusinessDelegate.java:50)
at petstore.wmodule.struts.OrderListAction.execute(OrderListAction.java:57)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
at petstore.wmodule.servlet.EncodingFilter.doFilter(EncodingFilter.java:32)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
at petstore.wmodule.servlet.SecurityFilter.doFilter(SecurityFilter.java:43)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:600)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:793)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
at java.lang.Thread.run(Thread.java:534)
Caused by: java.sql.SQLException: Wyj?tek we-wy: The Network Adapter could not establish the connection
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:189)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:231)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:345)
at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:431)
at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:515)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:345)
at com.evermind.sql.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:116)
at oracle.toplink.jndi.JNDIConnector.connect(JNDIConnector.java:102)
... 40 more
Toplink session is configured to use external transaction controller and data source. Application run on OC4J 9.0.4.1. Using jdbc debug options I wasn't able to find any causes. Has anyone faced this problem before?
Regards
JarekHi Jarek,
TopLink uses the datasource similar to any other java application would, so there are no additional restrictions. From the error, you can see that the datasource is attempting to create a new connection and that is what is causing the exception. All TopLink did was call getConnection on the datasource ( DriverManagerDataSource.getConnection ).
This could be a problem/glitch with the network or that the listener when down temporarily. Things to check would be:
-how frequently this occurs
-if it occurs for all connections after this point
-the state of the database listener (can other applications connect to it, is it up, etc)
-how many connections to the DB are active at this point
-how many connections/sessions are active from this application
-the OC4J and JDBC versions. Latest patches are better with regards to connection pools.
What is strange though is that you have the min=max, so it should never create new connections after the first time the pool is accessed. Each connection should already have been created, which is why I suggest that you contact OC4J/JDBC support.
Best Regards,
Chris -
Weblogic server hangs during stress-testing -- possibly EJB deadlocks
Hi
While running stress tests on our application, our WLS 4.5.1 hangs even at a
mere load of 20 users. We are running on a Solaris machine. Database: Oracle
8.1.5, running on the same machine. Using oracle.jdbc.driver.OracleDriver as
the JDBC driver, and using JTS as the transaction manager.
When we did a thread dump (complete lis at the end of this post) and
basically we are seeing a bunch of our entity beans in a "locked" state. A
common pattern we see in the thread dumps is that
[1] weblogic.ejb.internal.BaseEJBContext.lock(BaseEJBContext.java:180)
[2] weblogic.ejb.internal.StatefulEJBCache.bind(StatefulEJBCache.java:250)
[3]
weblogic.ejb.internal.StatefulEJBObject.getContextForInvoke(StatefulEJBObjec
t.java:88)
[4] weblogic.ejb.internal.BaseEJBObject.preInvoke(BaseEJBObject.java:164)
[5] com.nps.ers.ejb.organization.<Our Entiy Bean>EOImpl.<a get
method>(ERSSystemConfigurationBeanEOImpl.java:1539)
[6] com.nps.ers.ejb.awardnomination.<Our entity bean>.<some method>
After more thorough studying of EJB transactions, we changed the isolation
level of all our beans from TRANSACTION_SERIALIZED to
TRANSACTION_READ_COMMITTED and made sure all our beans say TX_REQUIRED for
their transactionAttribue. Still, this problem persists.
The basic scenario we are load testing is that of multiple users logging
into the system and trying to access a particular user's record, and right
now, this is causing deadlocks at 20 users.
What we fail to understand is that --
(a) even if a method is attempting a read-only access to the data, why would
it try to obtain a lock? or why would it matter that the data is locked?
Some of the locks we are seeing are actually on a bean that is used for
read-only purposes.
(b) if 2 or more processes are trying to access the same record, based on
whichever process got their first, shouldn't one succeed, and the other go
into a 'waiting' state?
We have also opened this issue with weblogic support, and the response so
far has been that there "may" be a bug in weblogic 4.5.1 itself that's
causing it, and they need to look into it further. Other similar posts in
the newsgroup haven't been resolved either -- hence this general plea for
help. Please advise if you've any suggestions. Thanks
Sandeep
---------------------------Complete Thread Dump Listing -------------------
"HighPriority TimeEventGenerator" (TID:0x1488278, sys_thread_t:0x14881b8,
state:CW, thread_t: t@46, threadID:0xd9271dc8, stack_bottom:0xd9272000,
stack_size:0x20000) prio=9
[1] weblogic.time.common.internal.TimeTable.snooze(TimeTable.java:249)
[2]
weblogic.time.common.internal.TimeEventGenerator.run(TimeEventGenerator.java
:143)
[3] java.lang.Thread.run(Thread.java:479)
"SSLListenThread" (TID:0x1588220, sys_thread_t:0x1588160, state:R, thread_t:
t@45, threadID:0xd9321dc8, stack_bottom:0xd9322000, stack_size:0x20000)
prio=5
[1] java.net.PlainSocketImpl.socketAccept(Native Method)
[2] java.net.PlainSocketImpl.accept(PlainSocketImpl.java:406)
[3] java.net.ServerSocket.implAccept(ServerSocket.java:240)
[4] java.net.ServerSocket.accept(ServerSocket.java:224)
[5]
weblogic.security.SSL.SSLServerSocket.acceptNoHandshake(SSLServerSocket.java
:121)
[6] weblogic.security.SSL.SSLServerSocket.accept(SSLServerSocket.java:112)
[7] weblogic.t3.srvr.ListenThread.run(ListenThread.java:230)
"ListenThread" (TID:0x15f7d48, sys_thread_t:0x15f7c88, state:R, thread_t:
t@44, threadID:0xd92a1dc8, stack_bottom:0xd92a2000, stack_size:0x20000)
prio=5
[1] java.net.PlainSocketImpl.socketAccept(Native Method)
[2] java.net.PlainSocketImpl.accept(PlainSocketImpl.java:406)
[3] java.net.ServerSocket.implAccept(ServerSocket.java:238)
[4] java.net.ServerSocket.accept(ServerSocket.java:223)
[5] weblogic.t3.srvr.ListenThread.run(ListenThread.java:230)
"ExecuteThread-29" (TID:0xad1c90, sys_thread_t:0xad1bd0, state:CW, thread_t:
t@40, threadID:0xd94e1dc8, stack_bottom:0xd94e2000, stack_size:0x20000)
prio=5
[1] weblogic.ejb.internal.BaseEJBContext.lock(BaseEJBContext.java:180)
[2] weblogic.ejb.internal.StatefulEJBCache.bind(StatefulEJBCache.java:250)
[3]
weblogic.ejb.internal.StatefulEJBObject.getContextForInvoke(StatefulEJBObjec
t.java:88)
[4] weblogic.ejb.internal.BaseEJBObject.preInvoke(BaseEJBObject.java:164)
[5] com.nps.ers.ejb.user.UserBeanEOImpl.display(UserBeanEOImpl.java:1384)
[6]
com.nps.ers.ejb.awardnomination.AwardNominationBean.updatePointsUsed(AwardNo
minationBean.java:1530)
[7]
com.nps.ers.ejb.awardnomination.AwardNominationBean.nominate(AwardNomination
Bean.java:1279)
[8]
com.nps.ers.ejb.awardnomination.AwardNominationBeanEOImpl.nominate(AwardNomi
nationBeanEOImpl.java:282)
[9]
com.nps.ers.ejb.awardnomination.AwardNominationBeanEOImpl_ServiceStub.nomina
te(AwardNominationBeanEOImpl_ServiceStub.java:811)
[10]
com.nps.ers.servlet.AwardNominationRequest.nominate(AwardNominationRequest.j
ava:1339)
[11]
com.nps.ers.servlet.AwardNominationRequest.processNextPage(AwardNominationRe
quest.java:276)
[12]
com.nps.ers.servlet.AwardNominationRequest.getNextPage(AwardNominationReques
t.java:109)
[13] com.nps.common.servlet.BaseServlet.handleRequest(BaseServlet.java:245)
[14] com.nps.common.servlet.BaseServlet.doPost(BaseServlet.java:184)
[15] javax.servlet.http.HttpServlet.service(HttpServlet.java:708)
[16] javax.servlet.http.HttpServlet.service(HttpServlet.java:835)
[17]
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:75)
[18]
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
l.java:259)
[19]
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
l.java:244)
[20]
weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:353)
[21] weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:247)
[22] weblogic.t3.srvr.ExecuteThread.run(ExecuteThread.java:94)
"ExecuteThread-28" (TID:0xad1a78, sys_thread_t:0xad19b8, state:CW, thread_t:
t@39, threadID:0xd9511dc8, stack_bottom:0xd9512000, stack_size:0x20000)
prio=5
[1] weblogic.ejb.internal.BaseEJBContext.lock(BaseEJBContext.java:180)
[2] weblogic.ejb.internal.StatefulEJBCache.bind(StatefulEJBCache.java:250)
[3]
weblogic.ejb.internal.StatefulEJBObject.getContextForInvoke(StatefulEJBObjec
t.java:88)
[4] weblogic.ejb.internal.BaseEJBObject.preInvoke(BaseEJBObject.java:164)
[5]
com.nps.ers.ejb.organization.ERSSystemConfigurationBeanEOImpl.getEMTRoleId(E
RSSystemConfigurationBeanEOImpl.java:1539)
[6]
com.nps.ers.ejb.awardnomination.ApproverSelectionBean.checkEMT(ApproverSelec
tionBean.java:473)
[7]
com.nps.ers.ejb.awardnomination.ApproverSelectionBeanEOImpl.checkEMT(Approve
rSelectionBeanEOImpl.java:71)
[8]
com.nps.ers.ejb.awardnomination.ApproverSelectionBeanEOImpl_ServiceStub.chec
kEMT(ApproverSelectionBeanEOImpl_ServiceStub.java:501)
[9]
com.nps.ers.servlet.NortelApproverSelection.updateApproverList(NortelApprove
rSelection.java:87)
[10]
com.nps.ers.servlet.NortelApproverSelection.getApproverList(NortelApproverSe
lection.java:62)
[11]
com.nps.ers.servlet.AwardNominationRequest.getApprovers(AwardNominationReque
st.java:1412)
[12]
com.nps.ers.servlet.AwardNominationRequest.previewNominate(AwardNominationRe
quest.java:1096)
[13]
com.nps.ers.servlet.AwardNominationRequest.processNextPage(AwardNominationRe
quest.java:276)
[14]
com.nps.ers.servlet.AwardNominationRequest.getNextPage(AwardNominationReques
t.java:109)
[15] com.nps.common.servlet.BaseServlet.handleRequest(BaseServlet.java:245)
[16] com.nps.common.servlet.BaseServlet.doPost(BaseServlet.java:184)
[17] javax.servlet.http.HttpServlet.service(HttpServlet.java:708)
[18] javax.servlet.http.HttpServlet.service(HttpServlet.java:835)
[19]
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:75)
[20]
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
l.java:259)
[21]
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
l.java:244)
[22]
weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:353)
[23] weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:247)
[24] weblogic.t3.srvr.ExecuteThread.run(ExecuteThread.java:94)
"ExecuteThread-27" (TID:0xad1678, sys_thread_t:0xad15b8, state:CW, thread_t:
t@38, threadID:0xd9541dc8, stack_bottom:0xd9542000, stack_size:0x20000)
prio=5
[1] weblogic.ejb.internal.BaseEJBContext.lock(BaseEJBContext.java:180)
[2] weblogic.ejb.internal.StatefulEJBCache.bind(StatefulEJBCache.java:250)
[3]
weblogic.ejb.internal.StatefulEJBObject.getContextForInvoke(StatefulEJBObjec
t.java:88)
[4] weblogic.ejb.internal.BaseEJBObject.preInvoke(BaseEJBObject.java:164)
[5]
com.nps.ers.ejb.organization.ERSSystemConfigurationBeanEOImpl.getEMTRoleId(E
RSSystemConfigurationBeanEOImpl.java:1539)
[6]
com.nps.ers.ejb.awardnomination.ApproverSelectionBean.checkEMT(ApproverSelec
tionBean.java:473)
[7]
com.nps.ers.ejb.awardnomination.ApproverSelectionBeanEOImpl.checkEMT(Approve
rSelectionBeanEOImpl.java:71)
[8]
com.nps.ers.ejb.awardnomination.ApproverSelectionBeanEOImpl_ServiceStub.chec
kEMT(ApproverSelectionBeanEOImpl_ServiceStub.java:501)
[9]
com.nps.ers.servlet.NortelApproverSelection.updateApproverList(NortelApprove
rSelection.java:87)
[10]
com.nps.ers.servlet.NortelApproverSelection.getApproverList(NortelApproverSe
lection.java:62)
[11]
com.nps.ers.servlet.AwardNominationRequest.getApprovers(AwardNominationReque
st.java:1412)
[12]
com.nps.ers.servlet.AwardNominationRequest.previewNominate(AwardNominationRe
quest.java:1096)
[13]
com.nps.ers.servlet.AwardNominationRequest.processNextPage(AwardNominationRe
quest.java:276)
[14]
com.nps.ers.servlet.AwardNominationRequest.getNextPage(AwardNominationReques
t.java:109)
[15] com.nps.common.servlet.BaseServlet.handleRequest(BaseServlet.java:245)
[16] com.nps.common.servlet.BaseServlet.doPost(BaseServlet.java:184)
[17] javax.servlet.http.HttpServlet.service(HttpServlet.java:708)
[18] javax.servlet.http.HttpServlet.service(HttpServlet.java:835)
[19]
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:75)
[20]
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
l.java:259)
[21]
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
l.java:244)
[22]
weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:353)
[23] weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:247)
[24] weblogic.t3.srvr.ExecuteThread.run(ExecuteThread.java:94)
"ExecuteThread-26" (TID:0xac84e8, sys_thread_t:0xac8428, state:CW, thread_t:
t@37, threadID:0xd9571dc8, stack_bottom:0xd9572000, stack_size:0x20000)
prio=5
[1] weblogic.common.internal.DynaQueue.getW(DynaQueue.java:219)
[2] weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:212)
[3] weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:19)
[4] weblogic.t3.srvr.ExecuteThread.run(ExecuteThread.java:94)
"ExecuteThread-25" (TID:0xab7d50, sys_thread_t:0xab7c90, state:CW, thread_t:
t@36, threadID:0xd95a1dc8, stack_bottom:0xd95a2000, stack_size:0x20000)
prio=5
[1] weblogic.ejb.internal.BaseEJBContext.lock(BaseEJBContext.java:180)
[2] weblogic.ejb.internal.StatefulEJBCache.bind(StatefulEJBCache.java:250)
[3]
weblogic.ejb.internal.StatefulEJBObject.getContextForInvoke(StatefulEJBObjec
t.java:88)
[4] weblogic.ejb.internal.BaseEJBObject.preInvoke(BaseEJBObject.java:164)
[5]
com.nps.ers.ejb.organization.ERSSystemConfigurationBeanEOImpl.getEMTRoleId(E
RSSystemConfigurationBeanEOImpl.java:1539)
[6]
com.nps.ers.ejb.awardnomination.ApproverSelectionBean.checkEMT(ApproverSelec
tionBean.java:473)
[7]
com.nps.ers.ejb.awardnomination.ApproverSelectionBeanEOImpl.checkEMT(Approve
rSelectionBeanEOImpl.java:71)
[8]
com.nps.ers.ejb.awardnomination.ApproverSelectionBeanEOImpl_ServiceStub.chec
kEMT(ApproverSelectionBeanEOImpl_ServiceStub.java:501)
[9]
com.nps.ers.servlet.NortelApproverSelection.updateApproverList(NortelApprove
rSelection.java:87)
[10]
com.nps.ers.servlet.NortelApproverSelection.getApproverList(NortelApproverSe
lection.java:62)
[11]
com.nps.ers.servlet.AwardNominationRequest.getApprovers(AwardNominationReque
st.java:1412)
[12]
com.nps.ers.servlet.AwardNominationRequest.previewNominate(AwardNominationRe
quest.java:1096)
[13]
com.nps.ers.servlet.AwardNominationRequest.processNextPage(AwardNominationRe
quest.java:276)
[14]
com.nps.ers.servlet.AwardNominationRequest.getNextPage(AwardNominationReques
t.java:109)
[15] com.nps.common.servlet.BaseServlet.handleRequest(BaseServlet.java:245)
[16] com.nps.common.servlet.BaseServlet.doPost(BaseServlet.java:184)
[17] javax.servlet.http.HttpServlet.service(HttpServlet.java:708)
[18] javax.servlet.http.HttpServlet.service(HttpServlet.java:835)
[19]
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:75)
[20]
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
l.java:259)
[21]
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
l.java:244)
[22]
weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:353)
[23] weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:247)
[24] weblogic.t3.srvr.ExecuteThread.run(ExecuteThread.java:94)
"ExecuteThread-24" (TID:0xab9b60, sys_thread_t:0xab9aa0, state:CW, thread_t:
t@35, threadID:0xd95d1dc8, stack_bottom:0xd95d2000, stack_size:0x20000)
prio=5
[1] weblogic.common.internal.DynaQueue.getW(DynaQueue.java:219)
[2] weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:212)
[3] weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:19)
[4] weblogic.t3.srvr.ExecuteThread.run(ExecuteThread.java:94)
"ExecuteThread-23" (TID:0xab9948, sys_thread_t:0xab9888, state:CW, thread_t:
t@34, threadID:0xd9601dc8, stack_bottom:0xd9602000, stack_size:0x20000)
prio=5
[1] weblogic.ejb.internal.BaseEJBContext.lock(BaseEJBContext.java:180)
[2] weblogic.ejb.internal.StatefulEJBCache.bind(StatefulEJBCache.java:250)
[3]
weblogic.ejb.internal.StatefulEJBObject.getContextForInvoke(StatefulEJBObjec
t.java:88)
[4] weblogic.ejb.internal.BaseEJBObject.preInvoke(BaseEJBObject.java:164)
[5] com.nps.ers.ejb.user.UserBeanEOImpl.getUserId(UserBeanEOImpl.java:182)
[6]
com.nps.ers.ejb.login.LoginSessionBean.getUserStatus(LoginSessionBean.java:1
61)
[7]
com.nps.ers.ejb.login.LoginSessionBeanEOImpl.getUserStatus(LoginSessionBeanE
OImpl.java:212)
[8]
com.nps.ers.ejb.login.LoginSessionBeanEOImpl_ServiceStub.getUserStatus(Login
SessionBeanEOImpl_ServiceStub.java:554)
[9]
com.nps.ers.servlet.LoginRequest.processLoginRequest(LoginRequest.java:248)
[10] com.nps.ers.servlet.LoginRequest.getNextPage(LoginRequest.java:90)
[11] com.nps.common.servlet.BaseServlet.handleRequest(BaseServlet.java:245)
[12] com.nps.common.servlet.BaseServlet.doGet(BaseServlet.java:124)
[13] javax.servlet.http.HttpServlet.service(HttpServlet.java:708)
[14] javax.servlet.http.HttpServlet.service(HttpServlet.java:835)
[15]
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:75)
[16]
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
l.java:259)
[17]
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
l.java:244)
[18]
weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:353)
[19] weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:247)
[20] weblogic.t3.srvr.ExecuteThread.run(ExecuteThread.java:94)
"ExecuteThread-22" (TID:0xabcc20, sys_thread_t:0xabcb60, state:CW, thread_t:
t@33, threadID:0xd9631dc8, stack_bottom:0xd9632000, stack_size:0x20000)
prio=5
[1] weblogic.ejb.internal.BaseEJBContext.lock(BaseEJBContext.java:180)
[2] weblogic.ejb.internal.StatefulEJBCache.bind(StatefulEJBCache.java:250)
[3]
weblogic.ejb.internal.StatefulEJBObject.getContextForInvoke(StatefulEJBObjec
t.java:88)
[4] weblogic.ejb.internal.BaseEJBObject.preInvoke(BaseEJBObject.java:164)
[5]
com.nps.ers.ejb.organization.ERSSystemConfigurationBeanEOImpl.getEMTRoleId(E
RSSystemConfigurationBeanEOImpl.java:1539)
[6]
com.nps.ers.ejb.awardnomination.ApproverSelectionBean.checkEMT(ApproverSelec
tionBean.java:473)
[7]
com.nps.ers.ejb.awardnomination.ApproverSelectionBeanEOImpl.checkEMT(Approve
rSelectionBeanEOImpl.java:71)
[8]
com.nps.ers.ejb.awardnomination.ApproverSelectionBeanEOImpl_ServiceStub.chec
kEMT(ApproverSelectionBeanEOImpl_ServiceStub.java:501)
[9]
com.nps.ers.servlet.NortelApproverSelection.updateApproverList(NortelApprove
rSelection.java:87)
[10]
com.nps.ers.servlet.NortelApproverSelection.getApproverList(NortelApproverSe
lection.java:62)
[11]
com.nps.ers.servlet.AwardNominationRequest.getApprovers(AwardNominationReque
st.java:1412)
[12]
com.nps.ers.servlet.AwardNominationRequest.previewNominate(AwardNominationRe
quest.java:1096)
[13]
com.nps.ers.servlet.AwardNominationRequest.processNextPage(AwardNominationRe
quest.java:276)
[14]
com.nps.ers.servlet.AwardNominationRequest.getNextPage(AwardNominationReques
t.java:109)
[15] com.nps.common.servlet.BaseServlet.handleRequest(BaseServlet.java:245)
[16] com.nps.common.servlet.BaseServlet.doPost(BaseServlet.java:184)
[17] javax.servlet.http.HttpServlet.service(HttpServlet.java:708)
[18] javax.servlet.http.HttpServlet.service(HttpServlet.java:835)
[19]
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:75)
[20]
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
l.java:259)
[21]
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
l.java:244)
[22]
weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:353)
[23] weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:247)
[24] weblogic.t3.srvr.ExecuteThread.run(ExecuteThread.java:94)
"ExecuteThread-21" (TID:0xa9ccf0, sys_thread_t:0xa9cc30, state:CW, thread_t:
t@32, threadID:0xd9661dc8, stack_bottom:0xd9662000, stack_size:0x20000)
prio=5
[1] weblogic.common.internal.DynaQueue.getW(DynaQueue.java:219)
[2] weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:212)
[3] weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:19)
[4] weblogic.t3.srvr.ExecuteThread.run(ExecuteThread.java:94)
"ExecuteThread-20" (TID:0xab2550, sys_thread_t:0xab2490, state:R, thread_t:
t@31, threadID:0xd9691dc8, stack_bottom:0xd9692000, stack_size:0x20000)
prio=5
[1] java.net.SocketInputStream.socketRead(Native Method)
[2] java.net.SocketInputStream.read(SocketInputStream.java:85)
[3] weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:212)
[4] weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:19)
[5] weblogic.t3.srvr.ExecuteThread.run(ExecuteThread.java:94)
"ExecuteThread-19" (TID:0xa640c0, sys_thread_t:0xa64000, state:CW, thread_t:
t@30, threadID:0xd96c1dc8, stack_bottom:0xd96c2000, stack_size:0x20000)
prio=5
[1] weblogic.ejb.internal.BaseEJBContext.lock(BaseEJBContext.java:180)
[2] weblogic.ejb.internal.StatefulEJBCache.bind(StatefulEJBCache.java:250)
[3]
weblogic.ejb.internal.StatefulEJBObject.getContextForInvoke(StatefulEJBObjec
t.java:88)
[4] weblogic.ejb.internal.BaseEJBObject.preInvoke(BaseEJBObject.java:164)
[5] com.nps.ers.ejb.user.UserBeanEOImpl.display(UserBeanEOImpl.java:1384)
[6]
com.nps.ers.ejb.awardnomination.AwardNominationBean.updatePointsUsed(AwardNo
minationBean.java:1530)
[7]
com.nps.ers.ejb.awardnomination.AwardNominationBean.nominate(AwardNomination
Bean.java:1279)
[8]
com.nps.ers.ejb.awardnomination.AwardNominationBeanEOImpl.nominate(AwardNomi
nationBeanEOImpl.java:282)
[9]
com.nps.ers.ejb.awardnomination.AwardNominationBeanEOImpl_ServiceStub.nomina
te(AwardNominationBeanEOImpl_ServiceStub.java:811)
[10]
com.nps.ers.servlet.AwardNominationRequest.nominate(AwardNominationRequest.j
ava:1339)
[11]
com.nps.ers.servlet.AwardNominationRequest.processNextPage(AwardNominationRe
quest.java:276)
[12]
com.nps.ers.servlet.AwardNominationRequest.getNextPage(AwardNominationReques
t.java:109)
[13] com.nps.common.servlet.BaseServlet.handleRequest(BaseServlet.java:245)
[14] com.nps.common.servlet.BaseServlet.doPost(BaseServlet.java:184)
[15] javax.servlet.http.HttpServlet.service(HttpServlet.java:708)
[16] javax.servlet.http.HttpServlet.service(HttpServlet.java:835)
[17]
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:75)
[18]
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
l.java:259)
[19]
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
l.java:244)
[20]
weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:353)
[21] weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:247)
[22] weblogic.t3.srvr.ExecuteThread.run(ExecuteThread.java:94)
"ExecuteThread-18" (TID:0xa502d8, sys_thread_t:0xa50218, state:CW, thread_t:
t@29, threadID:0xd96f1dc8, stack_bottom:0xd96f2000, stack_size:0x20000)
prio=5
[1] weblogic.ejb.internal.BaseEJBContext.lock(BaseEJBContext.java:180)
[2] weblogic.ejb.internal.StatefulEJBCache.bind(StatefulEJBCache.java:250)
[3]
weblogic.ejb.internal.StatefulEJBObject.getContextForInvoke(StatefulEJBObjec
t.java:88)
[4] weblogic.ejb.internal.BaseEJBObject.preInvoke(BaseEJBObject.java:164)
[5]
com.nps.ers.ejb.organization.ERSSystemConfigurationBeanEOImpl.getCashWithinD
ays(ERSSystemConfigurationBeanEOImpl.java:1231)
[6]
com.nps.ers.ejb.awardnomination.AwardNominationBean.getAwardNominationNotifi
cationStates(AwardNominationBean.java:772)
[7]
com.nps.ers.ejb.awardnomination.AwardNominationBeanEOImpl.getAwardNomination
NotificationStates(AwardNominationBeanEOImpl.java:247)
[8]
com.nps.ers.ejb.awardnomination.AwardNominationBeanEOImpl_ServiceStub.getAwa
rdNominationNotificationStates(AwardNominationBeanEOImpl_ServiceStub.java:41
5)
[9]
com.nps.ers.servlet.AwardNominationRequest.nominate(AwardNominationRequest.j
ava:1339)
[10]
com.nps.ers.servlet.AwardNominationRequest.processNextPage(AwardNominationRe
quest.java:276)
[11]
com.nps.ers.servlet.AwardNominationRequest.getNextPage(AwardNominationReques
t.java:109)
[12] com.nps.common.servlet.BaseServlet.handleRequest(BaseServlet.java:245)
[13] com.nps.common.servlet.BaseServlet.doPost(BaseServlet.java:184)
[14] javax.servlet.http.HttpServlet.service(HttpServlet.java:708)
[15] javax.servlet.http.HttpServlet.service(HttpServlet.java:835)
[16]
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:75)
[17]
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
l.java:259)
[18]
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
l.java:244)
[19]
weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:353)
[20] weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:247)
[21] weblogic.t3.srvr.ExecuteThread.run(ExecuteThread.java:94)
"ExecuteThread-17" (TID:0xa242d8, sys_thread_t:0xa24218, state:CW, thread_t:
t@28, threadID:0xd9721dc8, stack_bottom:0xd9722000, stack_size:0x20000)
prio=5
[1] weblogic.ejb.internal.BaseEJBContext.lock(BaseEJBContext.java:180)
[2] weblogic.ejb.internal.StatefulEJBCache.bind(StatefulEJBCache.java:250)
[3]
weblogic.ejb.internal.StatefulEJBObject.getContextForInvoke(StatefulEJBObjec
t.java:88)
[4] weblogic.ejb.internal.BaseEJBObject.preInvoke(BaseEJBObject.java:164)
[5]
com.nps.ers.ejb.user.UserBeanEOImpl.getUserStatusCode(UserBeanEOImpl.java:22
77)
[6]
com.nps.ers.ejb.awardnomination.ApproverSelectionBean.getApprovers(ApproverS
electionBean.java:352)
[7]
com.nps.ers.ejb.awardnomination.ApproverSelectionBeanEOImpl.getApprovers(App
roverSelectionBeanEOImpl.java:140)
[8]
com.nps.ers.ejb.awardnomination.ApproverSelectionBeanEOImpl_ServiceStub.getA
pprovers(ApproverSelectionBeanEOImpl_ServiceStub.java:554)
[9]
com.nps.ers.servlet.ApproverSelection.getApproverList(ApproverSelection.java
:81)
[10]
com.nps.ers.servlet.NortelApproverSelection.getApproverList(NortelApproverSe
lection.java:62)
[11]
com.nps.ers.servlet.AwardNominationRequest.getApprovers(AwardNominationReque
st.java:1412)
[12]
com.nps.ers.servlet.AwardNominationRequest.previewNominate(AwardNominationRe
quest.java:1096)
[13]
com.nps.ers.servlet.AwardNominationRequest.processNextPage(AwardNominationRe
quest.java:276)
[14]
com.nps.ers.servlet.AwardNominationRequest.getNextPage(AwardNominationReques
t.java:109)
[15] com.nps.common.servlet.BaseServlet.handleRequest(BaseServlet.java:245)
[16] com.nps.common.servlet.BaseServlet.doPost(BaseServlet.java:184)
[17] javax.servlet.http.HttpServlet.service(HttpServlet.java:708)
[18] javax.servlet.http.HttpServlet.service(HttpServlet.java:835)
[19]
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:75)
[20]
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
l.java:259)
[21]
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
l.java:244)
[22]
weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:353)
[23] weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:247)
[24] weblogic.t3.srvr.ExecuteThread.run(ExecuteThread.java:94)
"ExecuteThread-16" (TID:0xaa0ed8, sys_thread_t:0xaa0e18, state:CW, thread_t:
t@27, threadID:0xd9751dc8, stack_bottom:0xd9752000, stack_size:0x20000)
prio=5
[1] weblogic.common.internal.DynaQueue.getW(DynaQueue.java:219)
[2] weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:212)
[3] weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:19)
[4] weblogic.t3.srvr.ExecuteThread.run(ExecuteThread.java:94)
"ExecuteThread-15" (TID:0xad0220, sys_thread_t:0xad0160, state:CW, thread_t:
t@26, threadID:0xd9781dc8, stack_bottom:0xd9782000, stack_size:0x20000)
prio=5
[1] weblogic.ejb.internal.BaseEJBContext.lock(BaseEJBContext.java:180)
[2] weblogic.ejb.internal.StatefulEJBCache.bind(StatefulEJBCache.java:250)
[3]
weblogic.ejb.internal.StatefulEJBObject.getContextForInvoke(StatefulEJBObjec
t.java:88)
[4] weblogic.ejb.internal.BaseEJBObject.preInvoke(BaseEJBObject.java:164)
[5] com.nps.ers.ejb.user.UserBeanEOImpl.getUserId(UserBeanEOImpl.java:182)
[6]
com.nps.ers.ejb.login.LoginSessionBean.getUserStatus(LoginSessionBean.java:1
61)
[7]
com.nps.ers.ejb.login.LoginSessionBeanEOImpl.getUserStatus(LoginSessionBeanE
OImpl.java:212)
[8]
com.nps.ers.ejb.login.LoginSessionBeanEOImpl_ServiceStub.getUserStatus(Login
SessionBeanEOImpl_ServiceStub.java:554)
[9]
com.nps.ers.servlet.LoginRequest.processLoginRequest(LoginRequest.java:248)
[10] com.nps.ers.servlet.LoginRequest.getNextPage(LoginRequest.java:90)
[11] com.nps.common.servlet.BaseServlet.handleRequest(BaseServlet.java:245)
[12] com.nps.common.servlet.BaseServlet.doGet(BaseServlet.java:124)
[13] javax.servlet.http.HttpServlet.service(HttpServlet.java:708)
[14] javax.servlet.http.HttpServlet.service(HttpServlet.java:835)
[15]
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:75)
[16]
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
l.java:259)
[17]
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
l.java:244)
[18]
weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:353)
[19] weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:247)
[20] weblogic.t3.srvr.ExecuteThread.run(ExecuteThread.java:94)
"ExecuteThread-14" (TID:0xa8f4c0, sys_thread_t:0xa8f400, state:CW, thread_t:
t@25, threadID:0xd97b1dc8, stack_bottom:0xd97b2000, stack_size:0x20000)
prio=5
[1] weblogic.ejb.internal.BaseEJBContext.lock(BaseEJBContext.java:180)
[2] weblogic.ejb.internal.StatefulEJBCache.bind(StatefulEJBCache.java:250)
[3]
weblogic.ejb.internal.StatefulEJBObject.getContextForInvoke(StatefulEJBObjec
t.java:88)
[4] weblogic.ejb.internal.BaseEJBObject.preInvoke(BaseEJBObject.java:164)
[5]
com.nps.ers.ejb.organization.ERSSystemConfigurationBeanEOImpl.getCashWithinD
ays(ERSSystemConfigurationBeanEOImpl.java:1231)
[6]
com.nps.ers.ejb.awardnomination.AwardNominationBean.getAwardNominationNotifi
cationStates(AwardNominationBean.java:772)
[7]
com.nps.ers.ejb.awardnomination.AwardNominationBeanEOImpl.getAwardNomination
NotificationStates(AwardNominationBeanEOImpl.java:247)
[8]
com.nps.ers.ejb.awardnomination.AwardNominationBeanEOImpl_ServiceStub.getAwa
rdNominationNotificationStates(AwardNominationBeanEOImpl_ServiceStub.java:41
5)
[9]
com.nps.ers.servlet.AwardNominationRequest.nominate(AwardNominationRequest.j
ava:1339)
[10]
com.nps.ers.servlet.AwardNominationRequest.processNextPage(AwardNominationRe
quest.java:276)
[11]
com.nps.ers.servlet.AwardNominationRequest.getNextPage(AwardNominationReques
t.java:109)
[12] com.nps.common.servlet.BaseServlet.handleRequest(BaseServlet.java:245)
[13] com.nps.common.servlet.BaseServlet.doPost(BaseServlet.java:184)
[14] javax.servlet.http.HttpServlet.service(HttpServlet.java:708)
[15] javax.servlet.http.HttpServlet.service(HttpServlet.java:835)
[16]
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:75)
[17]
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
l.java:259)
[18]
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
l.java:244)
[19]
weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:353)
[20] weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:247)
[21] weblogic.t3.srvr.ExecuteThread.run(ExecuteThread.java:94)
"ExecuteThread-13" (TID:0xa194f0, sys_thread_t:0xa19430, state:CW, thread_t:
t@24, threadID:0xd97e1dc8, stack_bottom:0xd97e2000, stack_size:0x20000)
prio=5
[1] weblogic.common.internal.DynaQueue.getW(DynaQueue.java:219)
[2] weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:212)
[3] weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:19)
[4] weblogic.t3.srvr.ECan you post details on this instrumentation?
I know in the past when we ran into this type of problem, it took us a while
to think through and identify the problems.
Thanks,
Gary
Rob Woollen <[email protected]> wrote in message
news:[email protected]...
Generally this indicates a deadlock in the order that you access your
entity beans. Please follow-up with [email protected]. There is
some instrumentation that you can turn on to help spot why this is
occurring.
-- Rob
Sandeep Giri wrote:
Hi
While running stress tests on our application, our WLS 4.5.1 hangs even
at a
mere load of 20 users. We are running on a Solaris machine. Database:Oracle
8.1.5, running on the same machine. Usingoracle.jdbc.driver.OracleDriver as
the JDBC driver, and using JTS as the transaction manager.
When we did a thread dump (complete lis at the end of this post) and
basically we are seeing a bunch of our entity beans in a "locked" state.A
common pattern we see in the thread dumps is that
[1] weblogic.ejb.internal.BaseEJBContext.lock(BaseEJBContext.java:180)
[2]weblogic.ejb.internal.StatefulEJBCache.bind(StatefulEJBCache.java:250)
[3]
weblogic.ejb.internal.StatefulEJBObject.getContextForInvoke(StatefulEJBObjec
t.java:88)
[4]weblogic.ejb.internal.BaseEJBObject.preInvoke(BaseEJBObject.java:164)
[5] com.nps.ers.ejb.organization.<Our Entiy Bean>EOImpl.<a get
method>(ERSSystemConfigurationBeanEOImpl.java:1539)
[6] com.nps.ers.ejb.awardnomination.<Our entity bean>.<some method>
After more thorough studying of EJB transactions, we changed theisolation
level of all our beans from TRANSACTION_SERIALIZED to
TRANSACTION_READ_COMMITTED and made sure all our beans say TX_REQUIREDfor
their transactionAttribue. Still, this problem persists.
The basic scenario we are load testing is that of multiple users logging
into the system and trying to access a particular user's record, andright
now, this is causing deadlocks at 20 users.
What we fail to understand is that --
(a) even if a method is attempting a read-only access to the data, whywould
it try to obtain a lock? or why would it matter that the data is locked?
Some of the locks we are seeing are actually on a bean that is used for
read-only purposes.
(b) if 2 or more processes are trying to access the same record, basedon
whichever process got their first, shouldn't one succeed, and the othergo
into a 'waiting' state?
We have also opened this issue with weblogic support, and the responseso
far has been that there "may" be a bug in weblogic 4.5.1 itself that's
causing it, and they need to look into it further. Other similar postsin
the newsgroup haven't been resolved either -- hence this general pleafor
help. Please advise if you've any suggestions. Thanks
Sandeep
---------------------------Complete Thread DumpListing -------------------
>>
"HighPriority TimeEventGenerator" (TID:0x1488278,sys_thread_t:0x14881b8,
state:CW, thread_t: t@46, threadID:0xd9271dc8, stack_bottom:0xd9272000,
stack_size:0x20000) prio=9
[1] weblogic.time.common.internal.TimeTable.snooze(TimeTable.java:249)
[2]
weblogic.time.common.internal.TimeEventGenerator.run(TimeEventGenerator.java
:143)
[3] java.lang.Thread.run(Thread.java:479)
"SSLListenThread" (TID:0x1588220, sys_thread_t:0x1588160, state:R,thread_t:
t@45, threadID:0xd9321dc8, stack_bottom:0xd9322000, stack_size:0x20000)
prio=5
[1] java.net.PlainSocketImpl.socketAccept(Native Method)
[2] java.net.PlainSocketImpl.accept(PlainSocketImpl.java:406)
[3] java.net.ServerSocket.implAccept(ServerSocket.java:240)
[4] java.net.ServerSocket.accept(ServerSocket.java:224)
[5]
weblogic.security.SSL.SSLServerSocket.acceptNoHandshake(SSLServerSocket.java
:121)
[6]weblogic.security.SSL.SSLServerSocket.accept(SSLServerSocket.java:112)
[7] weblogic.t3.srvr.ListenThread.run(ListenThread.java:230)
"ListenThread" (TID:0x15f7d48, sys_thread_t:0x15f7c88, state:R,thread_t:
t@44, threadID:0xd92a1dc8, stack_bottom:0xd92a2000, stack_size:0x20000)
prio=5
[1] java.net.PlainSocketImpl.socketAccept(Native Method)
[2] java.net.PlainSocketImpl.accept(PlainSocketImpl.java:406)
[3] java.net.ServerSocket.implAccept(ServerSocket.java:238)
[4] java.net.ServerSocket.accept(ServerSocket.java:223)
[5] weblogic.t3.srvr.ListenThread.run(ListenThread.java:230)
"ExecuteThread-29" (TID:0xad1c90, sys_thread_t:0xad1bd0, state:CW,thread_t:
t@40, threadID:0xd94e1dc8, stack_bottom:0xd94e2000, stack_size:0x20000)
prio=5
[1] weblogic.ejb.internal.BaseEJBContext.lock(BaseEJBContext.java:180)
[2]weblogic.ejb.internal.StatefulEJBCache.bind(StatefulEJBCache.java:250)
[3]
weblogic.ejb.internal.StatefulEJBObject.getContextForInvoke(StatefulEJBObjec
t.java:88)
[4]weblogic.ejb.internal.BaseEJBObject.preInvoke(BaseEJBObject.java:164)
[5]com.nps.ers.ejb.user.UserBeanEOImpl.display(UserBeanEOImpl.java:1384)
[6]
com.nps.ers.ejb.awardnomination.AwardNominationBean.updatePointsUsed(AwardNo
minationBean.java:1530)
[7]
com.nps.ers.ejb.awardnomination.AwardNominationBean.nominate(AwardNomination
Bean.java:1279)
[8]
com.nps.ers.ejb.awardnomination.AwardNominationBeanEOImpl.nominate(AwardNomi
nationBeanEOImpl.java:282)
[9]
com.nps.ers.ejb.awardnomination.AwardNominationBeanEOImpl_ServiceStub.nomina
te(AwardNominationBeanEOImpl_ServiceStub.java:811)
[10]
com.nps.ers.servlet.AwardNominationRequest.nominate(AwardNominationRequest.j
ava:1339)
[11]
com.nps.ers.servlet.AwardNominationRequest.processNextPage(AwardNominationRe
quest.java:276)
[12]
com.nps.ers.servlet.AwardNominationRequest.getNextPage(AwardNominationReques
t.java:109)
[13]com.nps.common.servlet.BaseServlet.handleRequest(BaseServlet.java:245)
[14] com.nps.common.servlet.BaseServlet.doPost(BaseServlet.java:184)
[15] javax.servlet.http.HttpServlet.service(HttpServlet.java:708)
[16] javax.servlet.http.HttpServlet.service(HttpServlet.java:835)
[17]
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:75)
[18]
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
l.java:259)
[19]
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
l.java:244)
[20]
weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:353)
[21]weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:247)
[22] weblogic.t3.srvr.ExecuteThread.run(ExecuteThread.java:94)
"ExecuteThread-28" (TID:0xad1a78, sys_thread_t:0xad19b8, state:CW,thread_t:
t@39, threadID:0xd9511dc8, stack_bottom:0xd9512000, stack_size:0x20000)
prio=5
[1] weblogic.ejb.internal.BaseEJBContext.lock(BaseEJBContext.java:180)
[2]weblogic.ejb.internal.StatefulEJBCache.bind(StatefulEJBCache.java:250)
[3]
weblogic.ejb.internal.StatefulEJBObject.getContextForInvoke(StatefulEJBObjec
t.java:88)
[4]weblogic.ejb.internal.BaseEJBObject.preInvoke(BaseEJBObject.java:164)
[5]
com.nps.ers.ejb.organization.ERSSystemConfigurationBeanEOImpl.getEMTRoleId(E
RSSystemConfigurationBeanEOImpl.java:1539)
[6]
com.nps.ers.ejb.awardnomination.ApproverSelectionBean.checkEMT(ApproverSelec
tionBean.java:473)
[7]
com.nps.ers.ejb.awardnomination.ApproverSelectionBeanEOImpl.checkEMT(Approve
rSelectionBeanEOImpl.java:71)
[8]
com.nps.ers.ejb.awardnomination.ApproverSelectionBeanEOImpl_ServiceStub.chec
kEMT(ApproverSelectionBeanEOImpl_ServiceStub.java:501)
[9]
com.nps.ers.servlet.NortelApproverSelection.updateApproverList(NortelApprove
rSelection.java:87)
[10]
com.nps.ers.servlet.NortelApproverSelection.getApproverList(NortelApproverSe
lection.java:62)
[11]
com.nps.ers.servlet.AwardNominationRequest.getApprovers(AwardNominationReque
st.java:1412)
[12]
com.nps.ers.servlet.AwardNominationRequest.previewNominate(AwardNominationRe
quest.java:1096)
[13]
com.nps.ers.servlet.AwardNominationRequest.processNextPage(AwardNominationRe
quest.java:276)
[14]
com.nps.ers.servlet.AwardNominationRequest.getNextPage(AwardNominationReques
t.java:109)
[15]com.nps.common.servlet.BaseServlet.handleRequest(BaseServlet.java:245)
[16] com.nps.common.servlet.BaseServlet.doPost(BaseServlet.java:184)
[17] javax.servlet.http.HttpServlet.service(HttpServlet.java:708)
[18] javax.servlet.http.HttpServlet.service(HttpServlet.java:835)
[19]
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:75)
[20]
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
l.java:259)
[21]
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
l.java:244)
[22]
weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:353)
[23]weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:247)
[24] weblogic.t3.srvr.ExecuteThread.run(ExecuteThread.java:94)
"ExecuteThread-27" (TID:0xad1678, sys_thread_t:0xad15b8, state:CW,thread_t:
t@38, threadID:0xd9541dc8, stack_bottom:0xd9542000, stack_size:0x20000)
prio=5
[1] weblogic.ejb.internal.BaseEJBContext.lock(BaseEJBContext.java:180)
[2]weblogic.ejb.internal.StatefulEJBCache.bind(StatefulEJBCache.java:250)
[3]
weblogic.ejb.internal.StatefulEJBObject.getContextForInvoke(StatefulEJBObjec
t.java:88)
[4]weblogic.ejb.internal.BaseEJBObject.preInvoke(BaseEJBObject.java:164)
[5]
com.nps.ers.ejb.organization.ERSSystemConfigurationBeanEOImpl.getEMTRoleId(E
RSSystemConfigurationBeanEOImpl.java:1539)
[6]
com.nps.ers.ejb.awardnomination.ApproverSelectionBean.checkEMT(ApproverSelec
tionBean.java:473)
[7]
com.nps.ers.ejb.awardnomination.ApproverSelectionBeanEOImpl.checkEMT(Approve
rSelectionBeanEOImpl.java:71)
[8]
com.nps.ers.ejb.awardnomination.ApproverSelectionBeanEOImpl_ServiceStub.chec
kEMT(ApproverSelectionBeanEOImpl_ServiceStub.java:501)
[9]
com.nps.ers.servlet.NortelApproverSelection.updateApproverList(NortelApprove
rSelection.java:87)
[10]
com.nps.ers.servlet.NortelApproverSelection.getApproverList(NortelApproverSe
lection.java:62)
[11]
com.nps.ers.servlet.AwardNominationRequest.getApprovers(AwardNominationReque
st.java:1412)
[12]
com.nps.ers.servlet.AwardNominationRequest.previewNominate(AwardNominationRe
quest.java:1096)
[13]
com.nps.ers.servlet.AwardNominationRequest.processNextPage(AwardNominationRe
quest.java:276)
[14]
com.nps.ers.servlet.AwardNominationRequest.getNextPage(AwardNominationReques
t.java:109)
[15]com.nps.common.servlet.BaseServlet.handleRequest(BaseServlet.java:245)
[16] com.nps.common.servlet.BaseServlet.doPost(BaseServlet.java:184)
[17] javax.servlet.http.HttpServlet.service(HttpServlet.java:708)
[18] javax.servlet.http.HttpServlet.service(HttpServlet.java:835)
[19]
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:75)
[20]
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
l.java:259)
[21]
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
l.java:244)
[22]
weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:353)
[23]weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:247)
[24] weblogic.t3.srvr.ExecuteThread.run(ExecuteThread.java:94)
"ExecuteThread-26" (TID:0xac84e8, sys_thread_t:0xac8428, state:CW,thread_t:
t@37, threadID:0xd9571dc8, stack_bottom:0xd9572000, stack_size:0x20000)
prio=5
[1] weblogic.common.internal.DynaQueue.getW(DynaQueue.java:219)
[2]weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:212)
[3]weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:19)
[4] weblogic.t3.srvr.ExecuteThread.run(ExecuteThread.java:94)
"ExecuteThread-25" (TID:0xab7d50, sys_thread_t:0xab7c90, state:CW,thread_t:
t@36, threadID:0xd95a1dc8, stack_bottom:0xd95a2000, stack_size:0x20000)
prio=5
[1] weblogic.ejb.internal.BaseEJBContext.lock(BaseEJBContext.java:180)
[2]weblogic.ejb.internal.StatefulEJBCache.bind(StatefulEJBCache.java:250)
[3]
weblogic.ejb.internal.StatefulEJBObject.getContextForInvoke(StatefulEJBObjec
t.java:88)
[4]weblogic.ejb.internal.BaseEJBObject.preInvoke(BaseEJBObject.java:164)
[5]
com.nps.ers.ejb.organization.ERSSystemConfigurationBeanEOImpl.getEMTRoleId(E
RSSystemConfigurationBeanEOImpl.java:1539)
[6]
com.nps.ers.ejb.awardnomination.ApproverSelectionBean.checkEMT(ApproverSelec
tionBean.java:473)
[7]
com.nps.ers.ejb.awardnomination.ApproverSelectionBeanEOImpl.checkEMT(Approve
rSelectionBeanEOImpl.java:71)
[8]
com.nps.ers.ejb.awardnomination.ApproverSelectionBeanEOImpl_ServiceStub.chec
kEMT(ApproverSelectionBeanEOImpl_ServiceStub.java:501)
[9]
com.nps.ers.servlet.NortelApproverSelection.updateApproverList(NortelApprove
rSelection.java:87)
[10]
com.nps.ers.servlet.NortelApproverSelection.getApproverList(NortelApproverSe
lection.java:62)
[11]
com.nps.ers.servlet.AwardNominationRequest.getApprovers(AwardNominationReque
st.java:1412)
[12]
com.nps.ers.servlet.AwardNominationRequest.previewNominate(AwardNominationRe
quest.java:1096)
[13]
com.nps.ers.servlet.AwardNominationRequest.processNextPage(AwardNominationRe
quest.java:276)
[14]
com.nps.ers.servlet.AwardNominationRequest.getNextPage(AwardNominationReques
t.java:109)
[15]com.nps.common.servlet.BaseServlet.handleRequest(BaseServlet.java:245)
[16] com.nps.common.servlet.BaseServlet.doPost(BaseServlet.java:184)
[17] javax.servlet.http.HttpServlet.service(HttpServlet.java:708)
[18] javax.servlet.http.HttpServlet.service(HttpServlet.java:835)
[19]
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:75)
[20]
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
l.java:259)
[21]
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
l.java:244)
[22]
weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:353)
[23]weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:247)
[24] weblogic.t3.srvr.ExecuteThread.run(ExecuteThread.java:94)
"ExecuteThread-24" (TID:0xab9b60, sys_thread_t:0xab9aa0, state:CW,thread_t:
t@35, threadID:0xd95d1dc8, stack_bottom:0xd95d2000, stack_size:0x20000)
prio=5
[1] weblogic.common.internal.DynaQueue.getW(DynaQueue.java:219)
[2]weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:212)
[3]weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:19)
[4] weblogic.t3.srvr.ExecuteThread.run(ExecuteThread.java:94)
"ExecuteThread-23" (TID:0xab9948, sys_thread_t:0xab9888, state:CW,thread_t:
t@34, threadID:0xd9601dc8, stack_bottom:0xd9602000, stack_size:0x20000)
prio=5
[1] weblogic.ejb.internal.BaseEJBContext.lock(BaseEJBContext.java:180)
[2]weblogic.ejb.internal.StatefulEJBCache.bind(StatefulEJBCache.java:250)
[3]
weblogic.ejb.internal.StatefulEJBObject.getContextForInvoke(StatefulEJBObjec
t.java:88)
[4]weblogic.ejb.internal.BaseEJBObject.preInvoke(BaseEJBObject.java:164)
[5]com.nps.ers.ejb.user.UserBeanEOImpl.getUserId(UserBeanEOImpl.java:182)
[6]
com.nps.ers.ejb.login.LoginSessionBean.getUserStatus(LoginSessionBean.java:1
61)
[7]
com.nps.ers.ejb.login.LoginSessionBeanEOImpl.getUserStatus(LoginSessionBeanE
OImpl.java:212)
[8]
com.nps.ers.ejb.login.LoginSessionBeanEOImpl_ServiceStub.getUserStatus(Login
SessionBeanEOImpl_ServiceStub.java:554)
[9]
com.nps.ers.servlet.LoginRequest.processLoginRequest(LoginRequest.java:248)
[10] com.nps.ers.servlet.LoginRequest.getNextPage(LoginRequest.java:90)
[11]com.nps.common.servlet.BaseServlet.handleRequest(BaseServlet.java:245)
[12] com.nps.common.servlet.BaseServlet.doGet(BaseServlet.java:124)
[13] javax.servlet.http.HttpServlet.service(HttpServlet.java:708)
[14] javax.servlet.http.HttpServlet.service(HttpServlet.java:835)
[15]
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:75)
[16]
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
l.java:259)
[17]
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
l.java:244)
[18]
weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:353)
[19]weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:247)
[20] weblogic.t3.srvr.ExecuteThread.run(ExecuteThread.java:94)
"ExecuteThread-22" (TID:0xabcc20, sys_thread_t:0xabcb60, state:CW,thread_t:
t@33, threadID:0xd9631dc8, stack_bottom:0xd9632000, stack_size:0x20000)
prio=5
[1] weblogic.ejb.internal.BaseEJBContext.lock(BaseEJBContext.java:180)
[2]weblogic.ejb.internal.StatefulEJBCache.bind(StatefulEJBCache.java:250)
[3]
weblogic.ejb.internal.StatefulEJBObject.getContextForInvoke(StatefulEJBObjec
t.java:88)
[4]weblogic.ejb.internal.BaseEJBObject.preInvoke(BaseEJBObject.java:164)
[5]
com.nps.ers.ejb.organization.ERSSystemConfigurationBeanEOImpl.getEMTRoleId(E
RSSystemConfigurationBeanEOImpl.java:1539)
[6]
com.nps.ers.ejb.awardnomination.ApproverSelectionBean.checkEMT(ApproverSelec
tionBean.java:473)
[7]
com.nps.ers.ejb.awardnomination.ApproverSelectionBeanEOImpl.checkEMT(Approve
rSelectionBeanEOImpl.java:71)
[8]
com.nps.ers.ejb.awardnomination.ApproverSelectionBeanEOImpl_ServiceStub.chec
kEMT(ApproverSelectionBeanEOImpl_ServiceStub.java:501)
[9]
com.nps.ers.servlet.NortelApproverSelection.updateApproverList(NortelApprove
rSelection.java:87)
[10]
com.nps.ers.servlet.NortelApproverSelection.getApproverList(NortelApproverSe
lection.java:62)
[11]
com.nps.ers.servlet.AwardNominationRequest.getApprovers(AwardNominationReque
st.java:1412)
[12]
com.nps.ers.servlet.AwardNominationRequest.previewNominate(AwardNominationRe
quest.java:1096)
[13]
com.nps.ers.servlet.AwardNominationRequest.processNextPage(AwardNominationRe
quest.java:276)
[14]
com.nps.ers.servlet.AwardNominationRequest.getNextPage(AwardNominationReques
t.java:109)
[15]com.nps.common.servlet.BaseServlet.handleRequest(BaseServlet.java:245)
[16] com.nps.common.servlet.BaseServlet.doPost(BaseServlet.java:184)
[17] javax.servlet.http.HttpServlet.service(HttpServlet.java:708)
[18] javax.servlet.http.HttpServlet.service(HttpServlet.java:835)
[19]
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:75)
[20]
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
l.java:259)
[21]
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
l.java:244)
[22]
weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:353)
[23]weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:247)
[24] weblogic.t3.srvr.ExecuteThread.run(ExecuteThread.java:94)
"ExecuteThread-21" (TID:0xa9ccf0, sys_thread_t:0xa9cc30, state:CW,thread_t:
t@32, threadID:0xd9661dc8, stack_bottom:0xd9662000, stack_size:0x20000)
prio=5
[1] weblogic.common.internal.DynaQueue.getW(DynaQueue.java:219)
[2]weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:212)
[3]weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:19)
[4] weblogic.t3.srvr.ExecuteThread.run(ExecuteThread.java:94)
"ExecuteThread-20" (TID:0xab2550, sys_thread_t:0xab2490, state:R,thread_t:
t@31, threadID:0xd9691dc8, stack_bottom:0xd9692000, stack_size:0x20000)
prio=5
[1] java.net.SocketInputStream.socketRead(Native Method)
[2] java.net.SocketInputStream.read(SocketInputStream.java:85)
[3]weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:212)
[4]weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:19)
[5] weblogic.t3.srvr.ExecuteThread.run(ExecuteThread.java:94)
"ExecuteThread-19" (TID:0xa640c0, sys_thread_t:0xa64000, state:CW,thread_t:
t@30, threadID:0xd96c1dc8, stack_bottom:0xd96c2000, stack_size:0x20000)
prio=5
[1] weblogic.ejb.internal.BaseEJBContext.lock(BaseEJBContext.java:180)
[2]weblogic.ejb.internal.StatefulEJBCache.bind(StatefulEJBCache.java:250)
[3]
weblogic.ejb.internal.StatefulEJBObject.getContextForInvoke(StatefulEJBObjec
t.java:88)
[4]weblogic.ejb.internal.BaseEJBObject.preInvoke(BaseEJBObject.java:164)
[5]com.nps.ers.ejb.user.UserBeanEOImpl.display(UserBeanEOImpl.java:1384)
[6]
com.nps.ers.ejb.awardnomination.AwardNominationBean.updatePointsUsed(AwardNo
minationBean.java:1530)
[7]
com.nps.ers.ejb.awardnomination.AwardNominationBean.nominate(AwardNomination
Bean.java:1279)
[8]
com.nps.ers.ejb.awardnomination.AwardNominationBeanEOImpl.nominate(AwardNomi
nationBeanEOImpl.java:282)
[9]
com.nps.ers.ejb.awardnomination.AwardNominationBeanEOImpl_ServiceStub.nomina
te(AwardNominationBeanEOImpl_ServiceStub.java:811)
[10]
com.nps.ers.servlet.AwardNominationRequest.nominate(AwardNominationRequest.j
ava:1339)
[11]
com.nps.ers.servlet.AwardNominationRequest.processNextPage(AwardNominationRe
quest.java:276)
[12]
com.nps.ers.servlet.AwardNominationRequest.getNextPage(AwardNominationReques
t.java:109)
[13]com.nps.common.servlet.BaseServlet.handleRequest(BaseServlet.java:245)
[14] com.nps.common.servlet.BaseServlet.doPost(BaseServlet.java:184)
[15] javax.servlet.http.HttpServlet.service(HttpServlet.java:708)
[16] javax.servlet.http.HttpServlet.service(HttpServlet.java:835)
[17]
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:75)
[18]
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
l.java:259)
[19]
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
l.java:244)
[20]
weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:353)
[21]weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:247)
[22] weblogic.t3.srvr.ExecuteThread.run(ExecuteThread.java:94)
"ExecuteThread-18" (TID:0xa502d8, sys_thread_t:0xa50218, state:CW,thread_t:
t@29, threadID:0xd96f1dc8, stack_bottom:0xd96f2000, stack_size:0x20000)
prio=5
[1] weblogic.ejb.internal.BaseEJBContext.lock(BaseEJBContext.java:180)
[2]weblogic.ejb.internal.StatefulEJBCache.bind(StatefulEJBCache.java:250)
[3]
weblogic.ejb.internal.StatefulEJBObject.getContextForInvoke(StatefulEJBObjec
t.java:88)
[4]weblogic.ejb.internal.BaseEJBObject.preInvoke(BaseEJBObject.java:164)
[5]
com.nps.ers.ejb.organization.ERSSystemConfigurationBeanEOImpl.getCashWithinD
ays(ERSSystemConfigurationBeanEOImpl.java:1231)
[6]
com.nps.ers.ejb.awardnomination.AwardNominationBean.getAwardNominationNotifi
cationStates(AwardNominationBean.java:772)
[7]
com.nps.ers.ejb.awardnomination.AwardNominationBeanEOImpl.getAwardNomination
NotificationStates(AwardNominationBeanEOImpl.java:247)
[8]
com.nps.ers.ejb.awardnomination.AwardNominationBeanEOImpl_ServiceStub.getAwa
>>
rdNominationNotificationStates(AwardNominationBeanEOImpl_ServiceStub.java:41
5)
[9]
com.nps.ers.servlet.AwardNominationRequest.nominate(AwardNominationRequest.j
ava:1339)
[10]
com.nps.ers.servlet.AwardNominationRequest.processNextPage(AwardNominationRe
quest.java:276)
[11]
com.nps.ers.servlet.AwardNominationRequest.getNextPage(AwardNominationReques
t.java:109)
[12]com.nps.common.servlet.BaseServlet.handleRequest(BaseServlet.java:245)
[13] com.nps.common.servlet.BaseServlet.doPost(BaseServlet.java:184)
[14] javax.servlet.http.HttpServlet.service(HttpServlet.java:708)
[15] javax.servlet.http.HttpServlet.service(HttpServlet.java:835)
[16]
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:75)
[17]
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
l.java:259)
[18]
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
l.java:244)
[19]
weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:353)
[20]weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:247)
[21] weblogic.t3.srvr.ExecuteThread.run(ExecuteThread.java:94)
"ExecuteThread-17" (TID:0xa242d8, sys_thread_t:0xa24218, state:CW,thread_t:
t@28, threadID:0xd9721dc8, stack_bottom:0xd9722000, stack_size:0x20000)
prio=5
[1] weblogic.ejb.internal.BaseEJBContext.lock(BaseEJBContext.java:180)
[2]weblogic.ejb.internal.StatefulEJBCache.bind(StatefulEJBCache.java:250)
[3]
weblogic.ejb.internal.StatefulEJBObject.getContextForInvoke(StatefulEJBObjec
t.java:88)
[4]weblogic.ejb.internal.BaseEJBObject.preInvoke(BaseEJBObject.java:164)
[5]
com.nps.ers.ejb.user.UserBeanEOImpl.getUserStatusCode(UserBeanEOImpl.java:22
77)
[6]
com.nps.ers.ejb.awardnomination.ApproverSelectionBean.getApprovers(ApproverS
electionBean.java:352)
[7]
com.nps.ers.ejb.awardnomination.ApproverSelectionBeanEOImpl.getApprovers(App
roverSelectionBeanEOImpl.java:140)
[8]
com.nps.ers.ejb.awardnomination.ApproverSelectionBeanEOImpl_ServiceStub.getA
pprovers(ApproverSelectionBeanEOImpl_ServiceStub.java:554)
[9]
com.nps.ers.servlet.ApproverSelection.getApproverList(ApproverSelection.java
:81)
[10]
com.nps.ers.servlet.NortelApproverSelection.getApproverList(NortelApproverSe
lection.java:62)
[11]
com.nps.ers.servlet.AwardNominationRequest.getApprovers(AwardNominationReque
st.java:1412)
[12]
com.nps.ers.servlet.AwardNominationRequest.previewNominate(AwardNominationRe
quest.java:1096)
[13]
com.nps.ers.servlet.AwardNominationRequest.processNextPage(AwardNominationRe
quest.java:276)
[14]
com.nps.ers.servlet.AwardNominationRequest.getNextPage(AwardNominationReques
t.java:109)
[15]com.nps.common.servlet.BaseServlet.handleRequest(BaseServlet.java:245)
[16] com.nps.common.servlet.BaseServlet.doPost(BaseServlet.java:184)
[17] javax.servlet.http.HttpServlet.service(HttpServlet.java:708)
[18] javax.servlet.http.HttpServlet.service(HttpServlet.java:835)
[19]
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:75)
[20]
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
l.java:259)
[21]
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
l.java:244)
[22]
weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:353)
[23]weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:247)
[24] weblogic.t3.srvr.ExecuteThread.run(ExecuteThread.java:94)
"ExecuteThread-16" (TID:0xaa0ed8, sys_thread_t:0xaa0e18, state:CW,thread_t:
t@27, threadID:0xd9751dc8, stack_bottom:0xd9752000, stack_size:0x20000)
prio=5
[1] weblogic.common.internal.DynaQueue.getW(DynaQueue.java:219)
[2]weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:212)
[3]weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:19)
[4] weblogic.t3.srvr.ExecuteThread.run(ExecuteThread.java:94)
"ExecuteThread-15" (TID:0xad0220, sys_thread_t:0xad0160, state:CW,thread_t:
t@26, threadID:0xd9781dc8, stack_bottom:0xd9782000, stack_size:0x20000)
prio=5
[1] weblogic.ejb.internal.BaseEJBContext.lock(BaseEJBContext.java:180)
[2]weblogic.ejb.internal.StatefulEJBCache.bind(StatefulEJBCache.java:250)
[3]
weblogic.ejb.internal.StatefulEJBObject.getContextForInvoke(StatefulEJBObjec
t.java:88)
[4]weblogic.ejb.internal.BaseEJBObject.preInvoke(BaseEJBObject.java:164)
[5]com.nps.ers.ejb.user.UserBeanEOImpl.getUserId(UserBeanEOImpl.java:182)
[6]
com.nps.ers.ejb.login.LoginSessionBean.getUserStatus(LoginSessionBean.java:1
61)
[7]
com.nps.ers.ejb.login.LoginSessionBeanEOImpl.getUserStatus(LoginSessionBeanE
OImpl.java:212)
[8]
com.nps.ers.ejb.login.LoginSessionBeanEOImpl_ServiceStub.getUserStatus(Login
SessionBeanEOImpl_ServiceStub.java:554)
[9]
com.nps.ers.servlet.LoginRequest.processLoginRequest(LoginRequest.java:248)
[10] com.nps.ers.servlet.LoginRequest.getNextPage(LoginRequest.java:90)
[11]com.nps.common.servlet.BaseServlet.handleRequest(BaseServlet.java:245)
[12] com.nps.common.servlet.BaseServlet.doGet(BaseServlet.java:124)
[13] javax.servlet.http.HttpServlet.service(HttpServlet.java:708)
[14 -
Exception only occuring during stress test
We are trying to get ready to release a beta version of the software I'm working on.. so part of getting ready for that was to try set up some stress tests and hit the server with multiple requests for the same page....
Not sure exactly how many it is taking but we are getting the following exception.
2005-06-10 13:20:23 StandardWrapperValve[action]: Servlet.service() for servlet action threw exception
java.lang.NumberFormatException: For input string: "200044.E2000444E"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
at java.lang.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1207)
at java.lang.Double.parseDouble(Double.java:220)
at java.text.DigitList.getDouble(DigitList.java:127)
at java.text.DecimalFormat.parse(DecimalFormat.java:1070)
at java.text.SimpleDateFormat.subParse(SimpleDateFormat.java:1386)
at java.text.SimpleDateFormat.parse(SimpleDateFormat.java:1156)
at java.text.DateFormat.parse(DateFormat.java:333)
at com.xxxxx.xxxxx.struts.adapter.BrowseBaseAdapter.formatYyyyMMddToLocaleStr(BrowseBaseAdapter.java:194)I can only assume that something was not thread safe and somehow something is getting confused....
this is the method that produced the error and the code that it runs.
I know absolutely nothing about making something thread safe.... can anyone give me good link to refer to or point something out in the below code that might be a no no.
private static final SimpleDateFormat xxxxxxxxDateFormat =
new SimpleDateFormat("yyyyMMdd");
protected String formatYyyyMMddToLocaleStr(
String xxxxxxxxDt,
Locale locale) {
String result = "";
if ( xxxxxxxxDt != null && xxxxxxxxDt.length() == 8) {
try {
Date tempDate = xxxxxxxxDateFormat.parse( xxxxxxxxDt);
result = javaDataTypeToString(tempDate, locale);
} catch (ParseException ex) {
return result;
public String javaDataTypeToString(Object data, Locale locale) {
String returnType = data.getClass().getName();
String result = null;
if (returnType.equals("java.lang.String")) {
result = (String) data;
} else if (returnType.equals("java.lang.Float")) {
NumberFormat formatter = NumberFormat.getNumberInstance(locale);
formatter.setMaximumFractionDigits(6);
formatter.setGroupingUsed(false);
result = formatter.format((Float) data);
} else if (returnType.equals("java.lang.Double")
|| returnType.equals("java.math.BigDecimal")) {
NumberFormat formatter = NumberFormat.getNumberInstance(locale);
formatter.setMaximumFractionDigits(13);
formatter.setGroupingUsed(false);
StringBuffer buffer = new StringBuffer();
result = formatter.format(data, buffer, new FieldPosition(0))
.toString();
} else if (returnType.equals("java.lang.Integer")) {
Integer inte = (Integer) data;
int intVal = inte.intValue();
if (intVal != 0)
result = String.valueOf(intVal);
else
result = "";
} else if (returnType.equals("java.util.Date")) {
java.util.Date date = (java.util.Date) data;
SimpleDateFormat dateFormatter = getDatePattern(locale);
result = dateFormatter.format(date);
} else if (returnType.equals("com.sungard.stnweb.utility.Time")) {
Time time = (Time) data;
result = time.asString();
} else if (returnType.equals("java.lang.Boolean")) {
Boolean dataBool = (Boolean) data;
if (dataBool.booleanValue())
result = "1";
else
result = "";
return result;From the API on java.text.SimpleDateFormat
Synchronization
Date formats are not synchronized. It is recommended to create separate
format instances for each thread. If multiple threads access a format
concurrently, it must be synchronized externally. Being static, your date format object will be accessed by multiple threads.
Solution: Don't make the date format object static.
I would suggest like this:
private static final String dfString ="yyyyMMdd";
protected String formatYyyyMMddToLocaleStr(String xxxxxxxxDt, Locale locale) {
String result = "";
SimpleDateFormat xxxxxxxxDateFormat = new SimpleDateFormat(dfString );
if ( xxxxxxxxDt != null && xxxxxxxxDt.length() == 8) {
try {
Date tempDate = xxxxxxxxDateFormat.parse( xxxxxxxxDt);
result = javaDataTypeToString(tempDate, locale);
catch (ParseException ex) {}
return result;
Ok, so it is constructing a DateFormatting object for each method call, but I don't see it as that big a deal. Its not a huge hit. You might get away with making it an instance variable - I don't know how you use the enclosing class. Start with this, and see if it works.
Cheers,
evnafets -
ApplicationException during Stress Testing
Hi All,
I have a PAR file(dynpage application) which is deployed in QA portal. The client did stress testing i.e multiple users are trying to access the application at the same time, clicking on various buttons. Sometimes they are getting
'com.sap.xxx.xxx.ApplicationException.'
I did complete testing at my end. The same application is working fine in DEV portal. I do not have access to QA portal. Also, I could not perform stress testing in DEV portal.
But I understand that the problem is not with the coding.
What could be the issue? Please suggest. Hope I am clear. If not, please let me know.
Thanks.Hi,
Please find the latest log file. Please suggest.
#1.5 #00145E0B8976007500000007000015B4000463672289F723#1235194519179#com.sap.engine.services.rfcengine##com.sap.engine.services.rfcengine.handleThrowable(Throwable t)####n/a##6ced9ac3ffd911ddc9db00145e0b8976#Thread[JCO.ServerThread-5,5,SAPEngine_System_Thread[impl:5]_Group]##0#0#Error#1#/System/Server#Java###Error in Server "SAP.CCMS.J2EE.QP1" :
#1#SAP.CCMS.J2EE.QP1#
#1.5 #00145E0B8976007500000008000015B4000463672289F8AE#1235194519179#com.sap.engine.services.rfcengine##com.sap.engine.services.rfcengine.handleThrowable(Throwable t)####n/a##6ced9ac3ffd911ddc9db00145e0b8976#Thread[JCO.ServerThread-5,5,SAPEngine_System_Thread[impl:5]_Group]##0#0#Error##Plain###
RfcException:
message: CPIC-CALL: SAP_CMACCPTP on convId: 00000000
ERROR gateway shutdown
TIME Fri Feb 20 21:35:18 2009
RELEASE 640
COMPONENT CPIC (TCP/IP)
VERSION 3
RC 731
MODULE r3cpic.c
LINE 9279
COUNTER 1
Return code: RFC_FAILURE(1)
error group: 102
key: RFC_ERROR_COMMUNICATION#
#1.5 #00145E0B8976007500000009000015B4000463672289F91E#1235194519179#com.sap.engine.services.rfcengine##com.sap.engine.services.rfcengine.handleThrowable(Throwable t)####n/a##6ced9ac3ffd911ddc9db00145e0b8976#Thread[JCO.ServerThread-5,5,SAPEngine_System_Thread[impl:5]_Group]##0#0#Error##Plain###
RfcException:
message: CPIC-CALL: SAP_CMACCPTP on convId: 00000000
ERROR gateway shutdown
TIME Fri Feb 20 21:35:18 2009
RELEASE 640
COMPONENT CPIC (TCP/IP)
VERSION 3
RC 731
MODULE r3cpic.c
LINE 9279
COUNTER 1
Return code: RFC_FAILURE(1)
error group: 102
key: RFC_ERROR_COMMUNICATION
at com.sap.mw.rfc.api.RfcApi.rfcAbort(RfcApi.java:873)
at com.sap.mw.rfc.api.RfcApi.RfcAbort(RfcApi.java:911)
at com.sap.mw.jco.MiddlewareJRfc.abort(MiddlewareJRfc.java:449)
at com.sap.mw.jco.MiddlewareJRfc$Server.abort(MiddlewareJRfc.java:1715)
at com.sap.mw.jco.JCO$Server.abort(JCO.java:7004)
at com.sap.mw.jco.JCO$Server.listen(JCO.java:7344)
at com.sap.mw.jco.JCO$Server.run(JCO.java:7162)
at java.lang.Thread.run(Thread.java:534)
#1.5 #00145E0B8976007400000006000015B400046367228A2DF0#1235194519195#System.err##System.err####n/a##6ced9ac2ffd911dda72600145e0b8976#Thread[JCO.ServerThread-1,5,SAPEngine_System_Thread[impl:5]_Group]##0#0#Error##Plain###Feb 20, 2009 9:35:19 PM ...fcengine.handleThrowable(Throwable t) [Thread[JCO.ServerThread-1,5,SAPEngine_System_Thread[impl:5]_Group]] Error: Error in Server "SAP.CCMS.J2EE.QP1" :
Edited by: Subashini on Feb 25, 2009 8:29 AM -
Reloading Plug-In Page causes browser to hang during stress test on IE & NS
When an applet page is in the process of being loaded using the Java Plug-In and a second request is made to reload that applet or a new applet several times in succession, the browser hangs. Is there a work around for the Java Plug-In version 1.3.1.
Hi,
You can see fixed bugs in 1.3.1_01 version at
http://java.sun.com/j2se/1.3.1/ReleaseNotes.html
This is one of them:
http://developer.java.sun.com/developer/bugParade/bugs/4477187.html
Description: Loading applets, using IExplorer 5.0/5.5, sometimes caused a system hang.
Hopefully this bug fix relates to your problem. -
MOVED: CPU temp sensor hitting 255C during stress test
This topic has been moved to Overclockers & Undervolting & Modding Corner.
https://forum-en.msi.com/index.php?topic=155824.0Quote from: Bas on 12-January-12, 16:02:07
I doubt TMPIN0 is connected to anything, ergo your program is reading nothing.
If something was 255C then you would see flames comming out of the system.
Exactly, and the heatsink is cool to the touch and the fans slow down.
255 is simply the maximum value of 1 byte - a value that goes from 1 to 256 or in this case, 0 to 255. For some reason the sensor seems to bug out and report a value as high as it can report. -
Errors encountered during perfromance testing
While doing some stress testing on our WLS server we kept seeing the
following errors:
1) NullPointerException on NTSocketMuxer, error log follows:
Tue Feb 22 05:08:28 EST 2000:<E> <NTSockMux> failure in processSockets()
loop: GetData: fd=16764 numBytes=23
Tue Feb 22 05:08:28 EST 2000:<E> <NTSockMux>
java.lang.NullPointerException: null native pointer - socket was closed
at weblogic.socket.NTSocketMuxer.initiateIO(Native Method)
at weblogic.socket.NTSocketMuxer.processSockets(NTSocketMuxer.java,
Compiled Code)
at
weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:19)
at weblogic.t3.srvr.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
This error doesn't seem to have any immediate impact, although it can't
be a good thing and it seems to happen even at times when we are not
doing stress testing. Also, it is very frequent that we see the above
messages. We are running WLS 4.51 w/ Service Pack 5. I am wondering if
this is a problem w/ Service Pack 5 since I don't see this on another
machine running WLS 4.51 with Service Pack 4. Both are using JDK 1.2.2.
2) Connection Rejected, error log follows:
Tue Feb 22 07:08:16 EST 2000:<W> <ListenThread> Connection rejected:
Login timed out after 15000 msec. The socket came from
[host=207.17.47.141,port=11929,localport=443] See property
weblogic.login.readTimeoutMillis.
I know how to adjust this for this one. My questions on this are:
If I set my readTimeoutMillisSSL (SSL in this case) from 15000 to 30000
what does this exactly mean. Does this mean that instead of allowing a
max 15 seconds for a connection to be established, now I am allowing 30
seconds? Also, is this only for the initial connection establishment (ie
user login), or does this parameter effect other aspects of the
connection later on? What negative side effects would I encounter if I
set this to 60000 (1 minute)?
Finally, what can I do so that a connection does not take over 15
seconds to establish? Note this is not the norm, just happens more often
during stress testing.
3) Creating & Closing connection & DGCserver, log follows:
Tue Feb 22 07:08:44 EST 2000:<I> <RJVM> Closing connection to
138.8.81.19/138.8.81.19 5634583086356155101
Tue Feb 22 07:08:45 EST 2000:<I> <RJVM> Creating connection to
138.8.81.19/138.8.81.19 5634583086356155101
Tue Feb 22 07:08:45 EST 2000:<I> <RJVM> Closing connection to
138.8.81.19/138.8.81.19 5634583086356155101
Tue Feb 22 07:08:50 EST 2000:<I> <RJVM> Creating connection to
144.14.157.204/144.14.157.204 2864292845294268830
Tue Feb 22 07:08:50 EST 2000:<I> <RJVM> Creating connection to
138.8.81.19/138.8.81.19 5634583086356155101
Tue Feb 22 07:08:50 EST 2000:<I> <RJVM> Closing connection to
138.8.81.19/138.8.81.19 5634583086356155101
Tue Feb 22 07:08:50 EST 2000:<I> <RJVM> Creating connection to
138.8.81.19/138.8.81.19 5634583086356155101
Tue Feb 22 07:08:50 EST 2000:<I> <RJVM> Closing connection to
138.8.81.19/138.8.81.19 5634583086356155101
Tue Feb 22 07:08:51 EST 2000:<I> <DGCserver> tried to renew lease for
lost ref: 902
Tue Feb 22 07:08:52 EST 2000:<I> <RJVM> Heartbeat/PublicKey resend
detected
Tue Feb 22 07:08:54 EST 2000:<I> <DGCserver> tried to renew lease for
lost ref: 904
Tue Feb 22 07:08:58 EST 2000:<I> <RJVM> Creating connection to
138.8.81.19/138.8.81.19 5634583086356155101
Why the constant trying to create connection, close connection?
What is DGCserver?
4) Ignoring message from a previous JVM, log follows:
Tue Feb 22 08:29:50 EST 2000:<E> <RJVM> Ignoring message from a previous
generation: JVMMessage from 8729925219143181234C138.8.222.21 to
-3465797227003769874C192.168.100.61 with CMD_ONE_WAY, prtNum=6, ack=103,
seqNum=1384
Tue Feb 22 08:30:15 EST 2000:<I> <HTTPTunneling> Sending DEAD response
What does this mean?
5) PeerGoneExceptions
What causes these?
Our environment is set up as follows:
WLS Server
WLS 4.51 w/ Service Pack 5
NativeIO = true
ExecuteThreadCount = 40
readTimeoutMillis=5000
readTimeoutMillisSSL=10000
Dell Pentium III 600 w/ 512 MB memory
NT 4.0
JavaSoft 1.2.2
-ms128 -mx350
WLS Client
Java Application
t3s and https (using WLS RMI)
JavaSoft 1.1.7b
typically Pentium 200 MHz or better w/ 64MB or more
Basically our clients connect to our WLS server using RMI. Each client
also has a callback object where the server sends event notification
back to the clients. Most of the communication is back through these
client callback objects. Its similar to a stock trading application in
that 1 client incoming requests will generate 200 outgoing events (if
for example there are 200 users on the system). The above observations
where made while 25 very active users where on the system.
Thanks very much for any and all help,
Edwin Marcial
Continental Power ExchangeHi Kim,
Thanks for the response, but which problem in particular did you solve, I've
listed a couple here.
Edwin
kim hyun chan wrote:
hi,
I met the problem like you before.
so I reduce executeThreadCount from 50 to 20 , and then I solved my proplem.
"Edwin Marcial" <[email protected]> wrote in message
news:[email protected]...
While doing some stress testing on our WLS server we kept seeing the
following errors:
1) NullPointerException on NTSocketMuxer, error log follows:
Tue Feb 22 05:08:28 EST 2000:<E> <NTSockMux> failure in processSockets()
loop: GetData: fd=16764 numBytes=23
Tue Feb 22 05:08:28 EST 2000:<E> <NTSockMux>
java.lang.NullPointerException: null native pointer - socket was closed
at weblogic.socket.NTSocketMuxer.initiateIO(Native Method)
at weblogic.socket.NTSocketMuxer.processSockets(NTSocketMuxer.java,
Compiled Code)
at
weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:19)
at weblogic.t3.srvr.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
This error doesn't seem to have any immediate impact, although it can't
be a good thing and it seems to happen even at times when we are not
doing stress testing. Also, it is very frequent that we see the above
messages. We are running WLS 4.51 w/ Service Pack 5. I am wondering if
this is a problem w/ Service Pack 5 since I don't see this on another
machine running WLS 4.51 with Service Pack 4. Both are using JDK 1.2.2.
2) Connection Rejected, error log follows:
Tue Feb 22 07:08:16 EST 2000:<W> <ListenThread> Connection rejected:
Login timed out after 15000 msec. The socket came from
[host=207.17.47.141,port=11929,localport=443] See property
weblogic.login.readTimeoutMillis.
I know how to adjust this for this one. My questions on this are:
If I set my readTimeoutMillisSSL (SSL in this case) from 15000 to 30000
what does this exactly mean. Does this mean that instead of allowing a
max 15 seconds for a connection to be established, now I am allowing 30
seconds? Also, is this only for the initial connection establishment (ie
user login), or does this parameter effect other aspects of the
connection later on? What negative side effects would I encounter if I
set this to 60000 (1 minute)?
Finally, what can I do so that a connection does not take over 15
seconds to establish? Note this is not the norm, just happens more often
during stress testing.
3) Creating & Closing connection & DGCserver, log follows:
Tue Feb 22 07:08:44 EST 2000:<I> <RJVM> Closing connection to
138.8.81.19/138.8.81.19 5634583086356155101
Tue Feb 22 07:08:45 EST 2000:<I> <RJVM> Creating connection to
138.8.81.19/138.8.81.19 5634583086356155101
Tue Feb 22 07:08:45 EST 2000:<I> <RJVM> Closing connection to
138.8.81.19/138.8.81.19 5634583086356155101
Tue Feb 22 07:08:50 EST 2000:<I> <RJVM> Creating connection to
144.14.157.204/144.14.157.204 2864292845294268830
Tue Feb 22 07:08:50 EST 2000:<I> <RJVM> Creating connection to
138.8.81.19/138.8.81.19 5634583086356155101
Tue Feb 22 07:08:50 EST 2000:<I> <RJVM> Closing connection to
138.8.81.19/138.8.81.19 5634583086356155101
Tue Feb 22 07:08:50 EST 2000:<I> <RJVM> Creating connection to
138.8.81.19/138.8.81.19 5634583086356155101
Tue Feb 22 07:08:50 EST 2000:<I> <RJVM> Closing connection to
138.8.81.19/138.8.81.19 5634583086356155101
Tue Feb 22 07:08:51 EST 2000:<I> <DGCserver> tried to renew lease for
lost ref: 902
Tue Feb 22 07:08:52 EST 2000:<I> <RJVM> Heartbeat/PublicKey resend
detected
Tue Feb 22 07:08:54 EST 2000:<I> <DGCserver> tried to renew lease for
lost ref: 904
Tue Feb 22 07:08:58 EST 2000:<I> <RJVM> Creating connection to
138.8.81.19/138.8.81.19 5634583086356155101
Why the constant trying to create connection, close connection?
What is DGCserver?
4) Ignoring message from a previous JVM, log follows:
Tue Feb 22 08:29:50 EST 2000:<E> <RJVM> Ignoring message from a previous
generation: JVMMessage from 8729925219143181234C138.8.222.21 to
-3465797227003769874C192.168.100.61 with CMD_ONE_WAY, prtNum=6, ack=103,
seqNum=1384
Tue Feb 22 08:30:15 EST 2000:<I> <HTTPTunneling> Sending DEAD response
What does this mean?
5) PeerGoneExceptions
What causes these?
Our environment is set up as follows:
WLS Server
WLS 4.51 w/ Service Pack 5
NativeIO = true
ExecuteThreadCount = 40
readTimeoutMillis=5000
readTimeoutMillisSSL=10000
Dell Pentium III 600 w/ 512 MB memory
NT 4.0
JavaSoft 1.2.2
-ms128 -mx350
WLS Client
Java Application
t3s and https (using WLS RMI)
JavaSoft 1.1.7b
typically Pentium 200 MHz or better w/ 64MB or more
Basically our clients connect to our WLS server using RMI. Each client
also has a callback object where the server sends event notification
back to the clients. Most of the communication is back through these
client callback objects. Its similar to a stock trading application in
that 1 client incoming requests will generate 200 outgoing events (if
for example there are 200 users on the system). The above observations
where made while 25 very active users where on the system.
Thanks very much for any and all help,
Edwin Marcial
Continental Power Exchange -
RPC FAILURE: For stress test
I am working with Sun Rpc for providing the client server interface in my project. I have observed that during stress testing after approx 3 hour client start taking a lot of time to process and give back the result. Although server side time stamp is still in microseconds, whereas client side gone in secs.Do any body face such problem previously if yes please let me know the solution.
Hi Tim.
Did you figure this problem out?
I'm having some kind of the same problem.
And is curious about how you solved it. -
PC powers off under Kombustor stress test MSI GTX 560-TI Twin Frozr II
Recently went through MSI RMA procedure and they replaced my 465 twin frozr II with the 560-TI twin frozr II. When the card is stressed under GPU Burn-IN benchmark settings, the computer will just reboot. Everything is set to stock speeds on the card.
I want to assume this is a power supply issue but I've had my i7 930 overclocked stably for a while, I reverted to stock speeds to give extra power back to the 12v rail, have unplugged my storage sata hd and dvd power and am still having this issue. Also it appears the 465 takes a lot more power than the 560-ti, though I hadn't stress tested it for quite a while.
My PSU is the OCZ500SXS. I monitored the 12v rail during stress testing and the lowest i see it drop to is 11.89v. Any ideas to narrow this down would be much appreciated. TIAUnderstood. Thanks much for the response. I'll replace the psu and run the same tests and see what happens. All this has lead me to be curious about how power is precisely drawn for the system. Is there a known good resource/article for getting a complete understanding here? Thanks.
Also, this appears to be a good deal, no? Especially the 750w version seems to get quite good reviews and I may do sli at some point so it would be a good idea to be prepared, right?
http://www.tigerdirect.com/applications/searchtools/item-details.asp?EdpNo=3844176 -
Error in running Jasper Reports for more than 100 users in stress test
I have created a web application with Jasper reports. during the stress test, we were able to run the same report simultaneously for 100 concurrent users, after that we get the following error. I hope there is no problem in my code (correct me if i am wrong)
We use Web Sphere
The error we get is as follows:
java.io.FileNotFoundException: /apps/HewittProjects/installedApps/TBIA/workforce_CUR.ear/workforceServer4.16.4.war/reports/timesheet_mgr2.jasper (Too many open files)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.(FileInputStream.java:106)
at com.wily.introscope.agent.probe.io.ManagedFileInputStream.(ManagedFileInputStream.java:89)
at net.sf.jasperreports.engine.util.JRLoader.loadObject(JRLoader.java:85)
at net.sf.jasperreports.engine.util.JRLoader.loadObject(JRLoader.java:64)
at com.workforcesoftware.servlets.ReportServlet2.getCompiledReport(ReportServlet2.java:712)
at com.workforcesoftware.servlets.ReportServlet2.doPost(ReportServlet2.java:423)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
at com.ibm.ws.webcontainer.servlet.ServicingServletState.service(StrictLifecycleServlet.java:333)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:61)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:1009)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:529)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:208)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:134)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:321)
at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
at com.ibm.ws.webcontainer.cache.invocation.CacheableInvocationContext.invoke(CacheableInvocationContext.java:120)
at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:250)
at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:652)
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:448)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:937)
NESTED BY :
net.sf.jasperreports.engine.JRException: Error loading object from file : /apps/HewittProjects/installedApps/TBIA/workforce_CUR.ear/workforceServer4.16.4.war/reports/timesheet_mgr2.jasper
at net.sf.jasperreports.engine.util.JRLoader.loadObject(JRLoader.java:92)
at net.sf.jasperreports.engine.util.JRLoader.loadObject(JRLoader.java:64)
at com.workforcesoftware.servlets.ReportServlet2.getCompiledReport(ReportServlet2.java:712)
at com.workforcesoftware.servlets.ReportServlet2.doPost(ReportServlet2.java:423)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
at com.ibm.ws.webcontainer.servlet.ServicingServletState.service(StrictLifecycleServlet.java:333)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:61)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:1009)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:529)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:208)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:134)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:321)
at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
at com.ibm.ws.webcontainer.cache.invocation.CacheableInvocationContext.invoke(CacheableInvocationContext.java:120)
at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:250)
at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:652)
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:448)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:937)
if this really cannot find the file, then how could it run successfully for 100 users?
Have anyone experienced this problem?
Thanks for your help.ummm seems odd to have 100 users making a report.. that can be the limitation of your application..
-
User is thrown from the Application under Cluster stress test
Hi All,
i have ADF/ADF faces application running on WLS 10.3.5.0 Cluster Environment (with 2 nodes).
I'm running application using in memory Session replication.
The problem which i have is that under the stress test (about 10-20 users) sometimes user suddenly is presented with Login Screen (more rare with session expired message) ! This also can happens immediately after user login .
That happens randomly on different part of the System. In more of the cases user is thrown independently from other users but
sometimes all the users are thrown simultaniously.
When the System is tested with only one user this effect appears very rare.
What i have done is to enable Cluster and Replication debugging to see if there some errors within Http Session Replication. However there isn't any errors appeared. From the application part everything seems fine.
I suspect that the proxy could cause a problem (by forwarding the request to secondary instead of primary server). Currenltly i'm using HttpClusterSerlvet installed by default from WebLogic Configurator on dedicated Managed Server.
Can somebody give any advice with this ?
Thanks in advance,
KrasimirKrashmir,
Did you find any solution for this problem. I am also facing the similar issue.
Thanks,
Ram -
Stress test processes invoked by DB Adapter
Hi,
I am trying to test a BPEL process which is invoked by DB adapter, but there's no way I can pass an XML message directly from the BPEL console 'Initiate' tab for such processes.
Does anyone know how to do unit/stress tests for such processes by manually passing the invoke message rather than having db apapter do the same.
Thanks,
Shishirnicvas wrote:
What is the version you used?
I use 10.3.1.4 and I can stress my process through Bpelconsole “stress test” putting the xml into the textarea.
Can you provide the log or the error that you got during your test?I would have expected so, but I can't get any text area to put my xml in to. The radio button for XML source just doesn't do anything. I am on 10.1.3.4 as well.
Edited by: Shishir on Apr 15, 2010 12:56 PM -
Stress test Sharepoint 2013 portal. How and what do You use?
Hi!
I'm using example from here http://msdn.microsoft.com/en-us/library/jj710162.aspx
It creates record in SP task list. I can loop it to create several records. But how can I simulate
several users?
Or what in common sense do You use to stress test sharepoint? Any links or better there is a book?
Best regards,
Gennady
Разработчик под SharePoint, http://rockietm.wordpress.com, http://demo.arsenal-it.com>>You can use Visual Studio to create performance and stress testing projects.
Yes I know that I can use VS, it's in the link of my first post.
>>Check out my articles at:
Margriet, thank You very much! I see that You analyzed more than a hundred of tools and dived very deep into this question! Thank You for
the tool, it works for me!
1) But what You use to monitor server behavior, do You use Resource monitor? By example I can see some network and cpu activity during test, but how can I analyze this data..
or I'd use some video-capture tools(like 'camtasia studio'), record this system monitor and then analyze?
2) I understand correctly, that this tool covers "WFE test", mostly IIS, like pages generation; SQL database should be tested by other methods.
p.s.:Sorry for bad english)
upd.: added all Your counters, the picture looks impressive :-D
Best regards,
Gennady
Разработчик под SharePoint, http://rockietm.wordpress.com, http://demo.arsenal-it.com -
Hi,
I have planned to do the Stress testing of our application by posting many transactions and running jobs. I would like to know what are all things in database I need to monitor during this stress test
Thanks,
KarthikWell, the most important is going to be whatever metric your users are going to be using. Since it sounds like you're building an OLTP application, I'm assuming that that metric is response time-- how long it takes between the time they hit a button and they get a response.
I would assume that you'd want to monitor CPU and memory utilization on the machine to see what kind of a load you're putting on the system. If those are too close to 100%, you won't be able to increase the transaction volume significantly without impacting the response time (which I assume is the most important metric).
After that, if you want to take a couple of statspack snapshots to look at the top waits, that would probably be a good idea. This will tend to show you where to focus your tuning if the stress test results are inadequate.
Justin
Maybe you are looking for
-
I am trying to connect to Oracle BI Discover
When I try connecting to OracleBI I get the following message. What am i doing wrong and what do I need to download to make this work? Thank you. Java Plug-in 1.6.0_17 Using JRE version 1.6.0_17-b04 Java HotSpot(TM) Client VM User home directory = C:
-
Creation of production order while mrp run
hi ppgurus can any body explain how to create a production order by mrp run ie sysytem should create the production order directly while mrp run not PLANNED ORDERS what settings i need to do for this plz explain urgent requirement regards sasikanth
-
WRP1 - different PO for same vendor/Purchase group/center
Hi Guys, I am facing an issue in a client like these: We are running the WRP1 and it is creating multiple purchase orders for the same combination: vendor/Purchase grup/center. It should generate 1 PO per combination mentioned. I found the note 41870
-
I'm using CS4 (actually the original fla was written in 2004MX) and have a completed frame-by-frame animation which is now in the wrong place on the Stage. The final animation now only takes up a small part of the original stage, so I want to move th
-
Certain websites will not load at certain times.
Hi, for the last few weeks, I have been having difficulty with loading certain websites at certain times of the day. The problem is affecting websites that I've been using for years, such as hotmail, Facebook, eBay, BBC Newsfeeds, Lego website, CB