DeadLock in tomcat

When tomcat server in production has runned for 3 or 4 days it stop responding and need to bee restarted.
When i take out a thread dump, all threads are locked on java.net.SocketInputStream.socketRead0(Native Method). In the java code it do this simple thing:
UpdateSelectedDocumentsInterceptor.java, line 39 se TP 206:
if (request.getParameter("allDocumentIdsOnPage") == null) {
We use JVM 1.5.0_06-b05, tomcat 5.5, mod_jk and apache
What is locked? Is it possible that the request parameter can be locked for reading?
"TP-Processor212" daemon prio=1 tid=0x2aed7340 nid=0x5e57 runnable [0x1d6b5000..0x1d6b5580]
at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:129) at java.io.BufferedInputStream.fill(BufferedInputStream.java:218) at java.io.BufferedInputStream.read1(BufferedInputStream.java:256) at java.io.BufferedInputStream.read(BufferedInputStream.java:313) - locked <
0x89ad51d8> (a java.io.BufferedInputStream) at org.apache.jk.common.ChannelSocket.read(ChannelSocket.java:607) at org.apache.jk.common.ChannelSocket.receive(ChannelSocket.java:545) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:672) at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:876) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595)
"TP-Processor206" daemon prio=1 tid=0x2b6c86b0 nid=0x5dc5 runnable [0x1da3b000..0x1da3c780] at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:129) at java.io.BufferedInputStream.fill(BufferedInputStream.java:218) at java.io.BufferedInputStream.read1(BufferedInputStream.java:256) at java.io.BufferedInputStream.read(BufferedInputStream.java:313) - locked <
0x6b3f5a90> (a java.io.BufferedInputStream) at org.apache.jk.common.ChannelSocket.read(ChannelSocket.java:607) at org.apache.jk.common.ChannelSocket.receive(ChannelSocket.java:545) at org.apache.jk.common.JkInputStream.receive(JkInputStream.java:185) at org.apache.jk.common.JkInputStream.doRead(JkInputStream.java:164) at org.apache.coyote.Request.doRead(Request.java:418) at org.apache.catalina.connector.InputBuffer.realReadBytes(InputBuffer.java:284) at org.apache.tomcat.util.buf.ByteChunk.substract(ByteChunk.java:404) at org.apache.catalina.connector.InputBuffer.read(InputBuffer.java:299) at org.apache.catalina.connector.CoyoteInputStream.read(CoyoteInputStream.java:192) at org.apache.catalina.connector.Request.readPostBody(Request.java:2392) at org.apache.catalina.connector.Request.parseParameters(Request.java:2372) at org.apache.catalina.connector.Request.getParameter(Request.java:998) at org.apache.catalina.connector.RequestFacade.getParameter(RequestFacade.java:352) at javax.servlet.ServletRequestWrapper.getParameter(ServletRequestWrapper.java:157) at com.retriever.ui.commons.interceptor.UpdateSelectedDocumentsInterceptor.preHandle(UpdateSelectedDocumentsInterceptor.java:39)

This is the UpdateSelectedDocumentsInterceptor. It's the first code that thats run when people using the webapp. It is locked on if (request.getParameter(IKeys.ALL_DOCUMENT_IDS_ON_PAGE) == null), it seems that the requets.getParameter is locked because the java.net.SocketInputStream.socketRead0 is locked??
Is it possible that java.net.SocketInputStream.socketRead0 is locked. Can the SocketInputStream que be full, because to much request.
public class UpdateSelectedDocumentsInterceptor
          extends HandlerInterceptorAdapter implements ApplicationContextAware {
     // Used to lookup HttpSessionFacade objects (a new one for each client)
     private ApplicationContext applicationContext;
     // Called by container
     public void setApplicationContext(ApplicationContext applicationContext) throws BeansException {
          this.applicationContext = applicationContext;
     * Executed before performing operatins on selected documents.
     * a) get selection, b) remove old selections, c) add new selections
     * Updates list of selected documents
     public boolean preHandle(HttpServletRequest request, HttpServletResponse response,
                    Object handler) {
          // only update user selection if we are called from a 'result' page, otherwise ignore and continue
          if (request.getParameter(IKeys.ALL_DOCUMENT_IDS_ON_PAGE) == null) {
               return true;
          // GET SELECTED DOCUMENTS (SelectedDocumentS)
          // all access to users HTTP session should be through the IUserSession interface
          IHttpSessionFacade session = (IHttpSessionFacade)
                    applicationContext.getBean("httpSessionFacade");
          session.setHttpSession(request.getSession());
          LightweightSelectedDocuments selection = session.getSelectedDocuments();     
          // REMOVE OLD SELECTED DOCUMENTS FROM SELECTION, but only the one found on current page (selectedDocumentIdsOnPreviousPage)
          // Do always clear any documents present from user selection shown on the 'result'
          // page that the user comes to allow for removal of selected documents.
          // Those still selected will be re-inserted below
          // UPDATE 13.02.07: Only remove documents that doesn't exist in HttpServletRequest
          String[] selectedDocumentIds = request.getParameterValues(IKeys.SELECTED_DOCUMENT_IDS);     
          String[] selectedDocumentIdsOnPreviousPage = request.getParameter(IKeys.ALL_DOCUMENT_IDS_ON_PAGE).split(",");;
          if(selectedDocumentIds != null && request.getParameter(IKeys.ALL_DOCUMENT_IDS_ON_PAGE).length() > 0) {
               //don't remove selected documents
               for (int bigAllList = 0; bigAllList < selectedDocumentIdsOnPreviousPage.length; bigAllList++) {
                    // if not in request, remove from session
                    boolean existInRequest = false;
                    for (int smallRequestList = 0; smallRequestList < selectedDocumentIds.length; smallRequestList++) {
                         if (selectedDocumentIds[smallRequestList].equals(selectedDocumentIdsOnPreviousPage[bigAllList]))
                              existInRequest = true;
                    if (!existInRequest)
                         selection.remove(selectedDocumentIdsOnPreviousPage[bigAllList]);
          // if no documents are selected, try to remove all on page
          else if (selectedDocumentIds == null)
               selection.remove(selectedDocumentIdsOnPreviousPage);
          // ADD NEW SELECTED DOCUMENTS TO SELECTION
          // Don't update if the user selection is equal - sort order may be lost
          if(selectedDocumentIds != null && !selection.equals(selectedDocumentIds)) {
               //Service service = Service.getInstance(request.getParameter("service"));
               Service service = (Service)request.getAttribute(IKeys.SERVICE);
               for (int pos = 0; pos < selectedDocumentIds.length; pos++) {
                    // pk is only relevant in monitor section
                    long pk = RequestUtils.getLongParameter(request,
                              IKeys.DOCUMENT_PRIMARY_KEY+selectedDocumentIds[pos], -1);               
                    //only add a new selectedDocumets
                    if (!selection.isSelected(selectedDocumentIds[pos])){
                         LightweightSelectedDocument nw = new LightweightSelectedDocument(selectedDocumentIds[pos],
                                   pk != -1 ? new Long(pk) : null, service.getId());
                         selection.add(nw);
          return true; // always continue request processing
}

Similar Messages

  • [svn] 1605: Bug: BLZ-155 - Deadlock using a thread pool for tomcat connectors

    Revision: 1605
    Author: [email protected]
    Date: 2008-05-07 14:24:53 -0700 (Wed, 07 May 2008)
    Log Message:
    Bug: BLZ-155 - Deadlock using a thread pool for tomcat connectors
    QA: Yes - Jorge verified in the QE lab
    Doc: No
    Ticket Links:
    http://bugs.adobe.com/jira/browse/BLZ-155
    Modified Paths:
    blazeds/branches/3.0.x/modules/core/src/java/flex/messaging/client/EndpointPushNotifier.j ava

    Cross post: http://forum.java.sun.com/thread.jspa?threadID=5215686&tstart=0
    If you must post across forums, just post in the most relevant one and then give the link to that in the other posts.

  • I have enabled both the traces 1204 and 1222 in sql server 2008 but not able to capture deadlocks

    In Application error:
    2014-09-06 12:04:10,140 ERROR [org.apache.catalina.core.ContainerBase] Servlet.service() for servlet DoMethod threw exception
    javax.servlet.ServletException: java.lang.Exception: [ErrorCode] 0010 [ServerError] [DM_SESSION_E_DEADLOCK]error:  "Operation failed due to DBMS Deadlock error." 
    And
    I have enabled both the traces 1204 and 1222 in sql server 2008 but still I am not getting any deadlock in sql server logs.
    Thanks

    Thanks Shanky may be u believe or not but right now I am in a migration of 4 lakh documents in documentum on Production site.
    and the process from documentum is halting due to this error but I am not able to get any deadlock in the sql server while the deadlock error is coming in documentum:
    [ Date ] 2014-09-06 17:54:48,192 [ Priority ] INFO [ Text 3 ] [STDOUT] 17:54:48,192 ERROR [http-0.0.0.0-9080-3] com.bureauveritas.documentum.commons.method.SystemSessionMethod - ERROR 100: problem occured when connecting repository! DfServiceException::
    THREAD: http-0.0.0.0-9080-3; MSG: [DM_SESSION_E_DEADLOCK]error: "Operation failed due to DBMS Deadlock error."; ERRORCODE: 100; NEXT: null at com.documentum.fc.client.impl.connection.docbase.netwise.NetwiseDocbaseRpcClient.checkForDeadlock(NetwiseDocbaseRpcClient.java:276)
    at com.documentum.fc.client.impl.connection.docbase.netwise.NetwiseDocbaseRpcClient.applyForObject(NetwiseDocbaseRpcClient.java:647) at com.documentum.fc.client.impl.connection.docbase.DocbaseConnection$8.evaluate(DocbaseConnection.java:1292) at com.documentum.fc.client.impl.connection.docbase.DocbaseConnection.evaluateRpc(DocbaseConnection.java:1055)
    at com.documentum.fc.client.impl.connection.docbase.DocbaseConnection.applyForObject(DocbaseConnection.java:1284) at com.documentum.fc.client.impl.docbase.DocbaseApi.authenticateUser(DocbaseApi.java:1701) at com.documentum.fc.client.impl.connection.docbase.DocbaseConnection.authenticate(DocbaseConnection.java:418)
    at com.documentum.fc.client.impl.connection.docbase.DocbaseConnection.open(DocbaseConnection.java:128) at com.documentum.fc.client.impl.connection.docbase.DocbaseConnection.<init>(DocbaseConnection.java:97) at com.documentum.fc.client.impl.connection.docbase.DocbaseConnection.<init>(DocbaseConnection.java:60)
    at com.documentum.fc.client.impl.connection.docbase.DocbaseConnectionFactory.newDocbaseConnection(DocbaseConnectionFactory.java:26) at com.documentum.fc.client.impl.connection.docbase.DocbaseConnectionManager.getDocbaseConnection(DocbaseConnectionManager.java:83)
    at com.documentum.fc.client.impl.session.SessionFactory.newSession(SessionFactory.java:29) at com.documentum.fc.client.impl.session.PrincipalAwareSessionFactory.newSession(PrincipalAwareSessionFactory.java:35) at com.documentum.fc.client.impl.session.PooledSessionFactory.newSession(PooledSessionFactory.java:47)
    at com.documentum.fc.client.impl.session.SessionManager.getSessionFromFactory(SessionManager.java:111) at com.documentum.fc.client.impl.session.SessionManager.newSession(SessionManager.java:64) at com.documentum.fc.client.impl.session.SessionManager.getSession(SessionManager.java:168)
    at com.bureauveritas.documentum.commons.method.SystemSessionMethod.execute(Unknown Source) at com.documentum.mthdservlet.DfMethodRunner.runIt(Unknown Source) at com.documentum.mthdservlet.AMethodRunner.runAndReturnStatus(Unknown Source) at com.documentum.mthdservlet.DoMethod.invokeMethod(Unknown
    Source) at com.documentum.mthdservlet.DoMethod.doPost(Unknown Source) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104) at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) at java.lang.Thread.run(Thread.java:619) (Log Path:SID CER > vmsfrndc01docpp > JMS_Log > server ,Host: vmsfrndc01docpp ,Apps: [SID CER, SID IVS])</init></init>
    Thanks

  • Bug in Oracle JDBC Pooling Classes - Deadlock

    We are utilizing Oracle's connection caching (drivers 10.2.0.1) and have found a deadlock situation. I reviewed the code for the (drivers 10.2.0.3) and I see the same problem could happen.
    I searched and have not found this problem identified anywhere. Is this something I should post to Oracle in some way (i.e. Metalink?) or is there a better forum to get this resolved?
    We are utilizing an OCI driver with the following setup in the server.xml
    <ResourceParams name="cmf_toolbox">
    <parameter>
    <name>factory</name>
    <value>oracle.jdbc.pool.OracleDataSourceFactory</value>
    </parameter>
    <parameter>
    <name>driverClassName</name>
    <value>oracle.jdbc.driver.OracleDriver</value>
    </parameter>
    <parameter>
    <name>user</name>
    <value>hidden</value>
    </parameter>
    <parameter>
    <name>password</name>
    <value>hidden</value>
    </parameter>
    <parameter>
    <name>url</name>
    <value>jdbc:oracle:oci:@PTB2</value>
    </parameter>
    <parameter>
    <name>connectionCachingEnabled</name>
    <value>true</value>
    </parameter>
    <parameter>
    <name>connectionCacheProperties</name>
    <value>(InitialLimit=5,MinLimit=15,MaxLimit=75,ConnectionWaitTimeout=30,InactivityTimeout=300,AbandonedConnectionTimeout=300,ValidateConnection=false)</value>
    </parameter>
    </ResourceParams>
    We get a deadlock situation between two threads and the exact steps are this:
    1) thread1 - The OracleImplicitConnectionClassThread class is executing the runAbandonedTimeout method which will lock the OracleImplicitConnectionCache class with a synchronized block. It will then go thru additional steps and finally try to call the LogicalConnection.close method which is already locked by thread2
    2) thread2 - This thread is doing a standard .close() on the Logical Connection and when it does this it obtains a lock on the LogicalConnection class. This thread then goes through additional steps till it gets to a point in the OracleImplicitConnectionCache class where it executes the reusePooledConnection method. This method is synchronized.
    Actual steps that cause deadlock:
    1) thread1 locks OracleImplicitConnectionClass in runAbandonedTimeout method
    2) thread2 locks LogicalConnection class in close function.
    3) thread1 tries to lock the LogicalConnection and is unable to do this, waits for lock
    4) thread2 tries to lock the OracleImplicitConnectionClass and waits for lock.
    ***DEADLOCK***
    Thread Dumps from two threads listed above
    thread1
    Thread Name : Thread-1 State : Deadlock/Waiting on monitor Owns Monitor Lock on 0x30267fe8 Waiting for Monitor Lock on 0x509190d8 Java Stack at oracle.jdbc.driver.LogicalConnection.close(LogicalConnection.java:214) - waiting to lock 0x509190d8> (a oracle.jdbc.driver.LogicalConnection) at oracle.jdbc.pool.OracleImplicitConnectionCache.closeCheckedOutConnection(OracleImplicitConnectionCache.java:1330) at oracle.jdbc.pool.OracleImplicitConnectionCacheThread.runAbandonedTimeout(OracleImplicitConnectionCacheThread.java:261) - locked 0x30267fe8> (a oracle.jdbc.pool.OracleImplicitConnectionCache) at oracle.jdbc.pool.OracleImplicitConnectionCacheThread.run(OracleImplicitConnectionCacheThread.java:81)
    thread2
    Thread Name : http-7320-Processor83 State : Deadlock/Waiting on monitor Owns Monitor Lock on 0x509190d8 Waiting for Monitor Lock on 0x30267fe8 Java Stack at oracle.jdbc.pool.OracleImplicitConnectionCache.reusePooledConnection(OracleImplicitConnectionCache.java:1608) - waiting to lock 0x30267fe8> (a oracle.jdbc.pool.OracleImplicitConnectionCache) at oracle.jdbc.pool.OracleConnectionCacheEventListener.connectionClosed(OracleConnectionCacheEventListener.java:71) - locked 0x34d514f8> (a oracle.jdbc.pool.OracleConnectionCacheEventListener) at oracle.jdbc.pool.OraclePooledConnection.callImplicitCacheListener(OraclePooledConnection.java:544) at oracle.jdbc.pool.OraclePooledConnection.logicalCloseForImplicitConnectionCache(OraclePooledConnection.java:459) at oracle.jdbc.pool.OraclePooledConnection.logicalClose(OraclePooledConnection.java:475) at oracle.jdbc.driver.LogicalConnection.closeInternal(LogicalConnection.java:243) at oracle.jdbc.driver.LogicalConnection.close(LogicalConnection.java:214) - locked 0x509190d8> (a oracle.jdbc.driver.LogicalConnection) at com.schoolspecialty.cmf.yantra.OrderDB.updateOrder(OrderDB.java:2022) at com.schoolspecialty.cmf.yantra.OrderFactoryImpl.saveOrder(OrderFactoryImpl.java:119) at com.schoolspecialty.cmf.yantra.OrderFactoryImpl.saveOrder(OrderFactoryImpl.java:67) at com.schoolspecialty.ecommerce.beans.ECommerceUtil.saveOrder(Unknown Source) at com.schoolspecialty.ecommerce.beans.ECommerceUtil.saveOrder(Unknown Source) at com.schoolspecialty.ecommerce.beans.UpdateCartAction.perform(Unknown Source) at com.schoolspecialty.mvc2.ActionServlet.doPost(ActionServlet.java:112) at com.schoolspecialty.ecommerce.servlets.ECServlet.doPostOrGet(Unknown Source) at com.schoolspecialty.ecommerce.servlets.ECServlet.doPost(Unknown Source) at javax.servlet.http.HttpServlet.service(HttpServlet.java:709) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at com.schoolspecialty.ecommerce.servlets.filters.EcommerceURLFilter.doFilter(Unknown Source) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:462) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929) at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683) at java.lang.Thread.run(Thread.java:534)

    We used a documented option to abandon connects in the case of an unforeseen error. The consequence of using this option was not a graceful degradation in performance but a complete lockup of the application. The scenario in which we created a moderate number of abandoned connections was a rare error scenario but a valid test.
    How could this not be a bug in the Oracle driver? Is dead-lock a desireable outcome of using an option? Is dead-lock ever an acceptable consequence of using a feature as documented?
    Turns out other Oracle options to recover from an unexpected error also incur a similar deadlock (TimeToLiveTimeout).
    I did a code review of the decompiled drivers and it clearly shows the issue, confirming the original report of this issue. Perhaps you have evidence to the contrary or better evidence to support your statement "not a bug in Oracle"?
    Perhaps you are one of the very few people who have not experience problems with Oracle drivers? I've been using Oracle since 7.3.4 and it seems that I have always been working around Oracle JDBC driver problems.
    We are using Tomcat with the OracleDataSourceFactory.

  • Apache+Tomcat access to static apache data from Tomcat

    Hi,
    Apache is in path /opt/apache
    and tomcat is on /opt/apache/tomcat
    I have to access to static data (/opt/apache/data) that is handled by my apache http server from my tomcat web application. Is there a way to do this in a clean way without doing things like this :
    getServletCoontext().getRealPath(xxx) and doing some ../data manipulations
    Thanks

    I'm not completely sure I fully understand your problem.
    I do not recommend opening sockets to your own WLS instance. That is a
    recipe for deadlock.
    Can you just include the static file in your response?
    -- Rob
    Yol. wrote:
    We have a WebApplication which is running on a WebLogic Server 6.1.
    The clients access to the application via an Apache hosted in another machine.
    The Apache server redirects the requests to the server except the static files
    which are served by the Apache Server.
    Nevertheless, we have a few static resources that are not requested by the external
    clients but are requested by the application in the WLS. The problem is that to
    make this, it access the resource via the WLS, that is, via an url. That makes
    the WLS open at least one socket. This cause that after a few time, there are
    too many sockets in the machine opened in TIME-WAIT state.
    For some reasons it is not possible to change the configuration of the sockets
    in the server hosting the WLS.
    We would like to access to this resources that are in the war of the WebApllication
    without opening a socket.
    Is it possible? Any ideas or suggestions?
    Many many thanks in advance,
    Yol.

  • Deadlock issue in client communication WL5.1sp8

    Howdy
    I seem to have a reoccurring deadlocking in
    weblogic.rjvm.ServerURL.findOrCreateRJVM.
    It is happening using either t3 or http communication. We are using resin
    as a JSP/Servlet engine, but all these lockups are occurring in the weblogic
    classes. We are using WL5.1sp8 and I thought there was supposed to be a fix
    in sp8 for this issue with the weblogic.jndi.WLInitialContextFactoryDelegate
    being changed out.
    I'm including a thread dump below.
    Has anyone seen this issue before or know of a fix?
    Thanks
    -=Brian
    -------------Thread Dump------------------
    Fri Jan 19 15:45:37 2001
    SIGSEGV received at 14458be5 in unknown. Processing terminated.
    J2RE 1.3.0 IBM build cx130-20001124
    /usr/local/java/jre/bin/exe/java -Dresin.home=/data/resin
    com.caucho.server.http.RunnerServer -socketwait 2371 -conf
    /data/admin/config/resin.conf -server a -stdout
    /data/logs/resin/stdout.log -stderr /data/logs/resin/stderr.log
    System Properties
    Java Home Dir: /usr/local/java/jre
    Java DLL Dir: /usr/local/java/jre/bin
    Sys Classpath:
    /usr/local/java/jre/lib/rt.jar:/usr/local/java/jre/lib/i18n.jar:/usr/local/j
    ava/jre/classes
    User Args:
    -Djava.class.path=/data/classes/weblogic510sp8.jar:/data/classes/SmartUploa
    d.jar:/data/classes/mail.jar:/data/classes/jce1_2-do.jar:/data/classes/NetCo
    mponents.jar:/data/classes/xerces.jar:/data/classes/xalan.jar:/data/classes/
    weblogicaux.jar:/usr/local/java/lib/tools.jar:/data/classes/cayenne.jar:/dat
    a/classes/cayenneData.jar:/data/classes/util.jar:/data/classes/gumbo.jar:/da
    ta/classes/weblogicclasses.jar:/data/classes/jambalaya.jar:/data/classes/tas
    so.jar:/data/classes/jsse.jar:/data/classes/jcert.jar:/data/classes/jnet.jar
    :/data/classes/imalldom.jar:/data/classes/ppsdk.jar:/data/classes/regexp.jar
    :/data/classes/OracleJDBC12.jar:/data/resin/lib/resin.jar:/data/resin/lib/jd
    bc2_0-stdext.jar:/data/resin/lib/jta-spec1_0_1.jar:/data/resin/lib/jndi.jar:
    /data/resin/lib/dom.jar:/data/resin/lib/sax.jar:/data/resin/lib/jaxp.jar:/da
    ta/resin/lib/webutil.jar:/usr/local/java/lib/tools.jar:/usr/local/java/jre/l
    ib/rt.jar:/data/resin/lib/jsdk22.jar
    -Dresin.home=/data/resin
    Current Thread Details
    "main" (TID:0x402e87e0, sys_thread_t:0x80505e8, state:R, native
    ID:0x400) prio=5
    at java.net.SocketInputStream.socketRead(Native Method)
    at java.net.SocketInputStream.read(SocketInputStream.java:104)
    at java.net.SocketInputStream.read(SocketInputStream.java:121)
    at com.caucho.server.http.ResinServer.waitForExit(ResinServer.java:658)
    at com.caucho.server.http.ResinServer.main(ResinServer.java:800)
    at com.caucho.server.http.RunnerServer.main(RunnerServer.java:87)
    ----- Native Stack -----
    Operating Environment
    Host : storm03.bid4real.com.
    OS Level : 2.2.16-3smp.#1 SMP Mon Jun 19 19:00:35 EDT 2000
    glibc Version : 2.1.3
    No. of Procs : 2
    Memory Info:
    total: used: free: shared: buffers: cached:
    Mem: 529514496 407732224 121782272 256684032 233717760 45092864
    Swap: 718577664 1150976 717426688
    MemTotal: 517104 kB
    MemFree: 118928 kB
    MemShared: 250668 kB
    Buffers: 228240 kB
    Cached: 44036 kB
    BigTotal: 0 kB
    BigFree: 0 kB
    SwapTotal: 701736 kB
    SwapFree: 700612 kB
    User Limits (in bytes except for NOFILE and NPROC) -
    RLIMIT_FSIZE : infinity
    RLIMIT_DATA : infinity
    RLIMIT_STACK : 2088960
    RLIMIT_CORE : 0
    RLIMIT_NOFILE : 1024
    RLIMIT_NPROC : 2048
    Application Environment
    Signal Handlers -
    SIGQUIT : ignored
    SIGILL : intrDispatchMD (libhpi.so)
    SIGTRAP : intrDispatchMD (libhpi.so)
    SIGABRT : intrDispatchMD (libhpi.so)
    SIGFPE : intrDispatchMD (libhpi.so)
    SIGBUS : intrDispatchMD (libhpi.so)
    SIGSEGV : intrDispatchMD (libhpi.so)
    SIGUSR1 : sigusr1Handler (libhpi.so)
    SIGUSR2 : sysThreadSetTypeImpl (libhpi.so)
    Environment Variables -
    LESSOPEN=|/usr/bin/lesspipe.sh %s
    USERNAME=
    HISTSIZE=1000
    HOSTNAME=storm03.bid4real.com
    LOGNAME=tomcat
    JAVAHOME=/usr/local/java/jre
    SSH_TTY=/dev/pts/0
    MAIL=/var/spool/mail/btowles
    LD_LIBRARY_PATH=/usr/local/java/jre/bin:/usr/local/java/jre/bin/classic::lib
    exec
    CLASSPATH=/data/classes/weblogic510sp8.jar:/data/classes/SmartUpload.jar:/da
    ta/classes/mail.jar:/data/classes/jce1_2-do.jar:/data/classes/NetComponents.
    jar:/data/classes/xerces.jar:/data/classes/xalan.jar:/data/classes/weblogica
    ux.jar:/usr/local/java/lib/tools.jar:/data/classes/cayenne.jar:/data/classes
    /cayenneData.jar:/data/classes/util.jar:/data/classes/gumbo.jar:/data/classe
    s/weblogicclasses.jar:/data/classes/jambalaya.jar:/data/classes/tasso.jar:/d
    ata/classes/jsse.jar:/data/classes/jcert.jar:/data/classes/jnet.jar:/data/cl
    asses/imalldom.jar:/data/classes/ppsdk.jar:/data/classes/regexp.jar:/data/cl
    asses/OracleJDBC12.jar:/data/resin/lib/resin.jar:/data/resin/lib/jdbc2_0-std
    ext.jar:/data/resin/lib/jta-spec1_0_1.jar:/data/resin/lib/jndi.jar:/data/res
    in/lib/dom.jar:/data/resin/lib/sax.jar:/data/resin/lib/jaxp.jar:/data/resin/
    lib/webutil.jar:/usr/local/java/lib/tools.jar:/usr/local/java/jre/lib/rt.jar
    :/data/resin/lib/jsdk22.jar
    JAVA_COMPILER=NONE
    TERM=vt100
    HOSTTYPE=i386
    PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin
    HOME=/data/tomcat
    INPUTRC=/etc/inputrc
    SUDO_GID=500
    SHELL=/bin/bash
    SUDO_UID=500
    USER=tomcat
    SUDO_USER=btowles
    JAVA_HOME=/usr/local/java
    LANG=en_US
    SSH_CLIENT=64.92.133.251 1023 22
    OSTYPE=Linux
    SHLVL=5
    SUDO_COMMAND=/etc/rc.d/init.d/resin restart
    LS_COLORS=no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:bd=40;33;01:cd=40;
    33;01:or=01;05;37;41:mi=01;05;37;41:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=0
    1;32:*.btm=01;32:*.bat=01;32:*.sh=01;32:*.csh=01;32:*.tar=01;31:*.tgz=01;31:
    *.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;
    31:*.bz2=01;31:*.bz=01;31:*.tz=01;31:*.rpm=01;31:*.cpio=01;31:*.jpg=01;35:*.
    gif=01;35:*.bmp=01;35:*.xbm=01;35:*.xpm=01;35:*.png=01;35:*.tif=01;35:
    IBM_JAVA_COMMAND_LINE=/usr/local/java/jre/bin/exe/java -Dresin.home=/data/re
    sin com.caucho.server.http.RunnerServer -socketwait 2371 -conf
    /data/admin/config/resin.conf -server a -stdout
    /data/logs/resin/stdout.log -stderr /data/logs/resin/stderr.log
    Full Thread Dump
    "tcpConnection-6802-49" (TID:0x402e7390, sys_thread_t:0x86a6458,
    state:S, native ID:0xe83b) prio=5
    at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:182)
    at
    weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialCon
    textFactoryDelegate.java:195)
    at
    weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialCon
    textFactoryDelegate.java:148)
    at
    weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFact
    ory.java:123)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:669)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
    at javax.naming.InitialContext.init(InitialContext.java:223)
    at javax.naming.InitialContext.<init>(InitialContext.java:199)
    at util.CTXFactory.getInitialContext(CTXFactory.java:66)
    at util.CTXFactory.lookupHome(CTXFactory.java:36)
    at
    jsp.staging__bid4real__com._80_0._stormtest__jsp._jspService(_stormtest__j
    sp.java:51)
    at com.caucho.jsp.JavaPage.service(JavaPage.java:89)
    at com.caucho.jsp.JavaPage.subservice(JavaPage.java:83)
    at com.caucho.jsp.Page.service(Page.java:334)
    at com.caucho.server.http.Invocation.service(Invocation.java:255)
    at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:201)
    at
    com.caucho.server.http.RunnerRequest.handleRequest(RunnerRequest.java:342)
    at
    com.caucho.server.http.RunnerRequest.handleConnection(RunnerRequest.java:263
    at com.caucho.server.TcpConnection.run(TcpConnection.java:140)
    at java.lang.Thread.run(Thread.java:498)
    ----- Native Stack -----
    sysMonitorWait at 0x4029f277 in libhpi.so
    lkMonitorEnter at 0x401ec773 in libjvm.so
    mmipInvokeSynchronizedJavaMethodWithCatch at 0x402346d6 in libjvm.so
    ivq_doinvoke_I__ at 0x4020db71 in libjvm.so
    ivq_doinvoke_I__ at 0x4020db71 in libjvm.so
    iiq_doinvoke_I__ at 0x4020dfa2 in libjvm.so
    iiq_doinvoke_I__ at 0x4020dfa2 in libjvm.so
    isq_doinvoke_I__ at 0x4020de5c in libjvm.so
    ivq_doinvoke_I__ at 0x4020db71 in libjvm.so
    ivq_doinvoke_V__ at 0x4020db66 in libjvm.so
    invq_doinvoke_V__ at 0x4020dc5d in libjvm.so
    isq_doinvoke_I__ at 0x4020de5c in libjvm.so
    ivq_doinvoke_I__ at 0x4020db71 in libjvm.so
    ivq_doinvoke_V__ at 0x4020db66 in libjvm.so
    ivq_doinvoke_V__ at 0x4020db66 in libjvm.so
    ivq_doinvoke_V__ at 0x4020db66 in libjvm.so
    ivq_doinvoke_V__ at 0x4020db66 in libjvm.so
    invq_doinvoke_V__ at 0x4020dc5d in libjvm.so
    ivq_doinvoke_V__ at 0x4020db66 in libjvm.so
    ivq_doinvoke_I__ at 0x4020db71 in libjvm.so
    iiq_doinvoke_V__ at 0x4020df97 in libjvm.so
    iiq_doinvoke_V__ at 0x4020df97 in libjvm.so
    EJivq_doinvoke_V__ at 0x40208d29 in libjvm.so
    "tcpConnection-6802-48" (TID:0x402e73d8, sys_thread_t:0x86a5190,
    state:S, native ID:0xe43a) prio=5
    at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:182)
    at
    weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialCon
    textFactoryDelegate.java:195)
    at
    weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialCon
    textFactoryDelegate.java:148)
    at
    weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFact
    ory.java:123)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:669)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
    at javax.naming.InitialContext.init(InitialContext.java:223)
    at javax.naming.InitialContext.<init>(InitialContext.java:199)
    at util.CTXFactory.getInitialContext(CTXFactory.java:66)
    at util.CTXFactory.lookupHome(CTXFactory.java:36)
    at
    jsp.staging__bid4real__com._80_0._stormtest__jsp._jspService(_stormtest__j
    sp.java:51)
    at com.caucho.jsp.JavaPage.service(JavaPage.java:89)
    at com.caucho.jsp.JavaPage.subservice(JavaPage.java:83)
    at com.caucho.jsp.Page.service(Page.java:334)
    at com.caucho.server.http.Invocation.service(Invocation.java:255)
    at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:201)
    at
    com.caucho.server.http.RunnerRequest.handleRequest(RunnerRequest.java:342)
    at
    com.caucho.server.http.RunnerRequest.handleConnection(RunnerRequest.java:263
    at com.caucho.server.TcpConnection.run(TcpConnection.java:140)
    at java.lang.Thread.run(Thread.java:498)
    ----- Native Stack -----
    sysMonitorWait at 0x4029f277 in libhpi.so
    lkMonitorEnter at 0x401ec773 in libjvm.so
    mmipInvokeSynchronizedJavaMethodWithCatch at 0x402346d6 in libjvm.so
    ivq_doinvoke_I__ at 0x4020db71 in libjvm.so
    ivq_doinvoke_I__ at 0x4020db71 in libjvm.so
    iiq_doinvoke_I__ at 0x4020dfa2 in libjvm.so
    iiq_doinvoke_I__ at 0x4020dfa2 in libjvm.so
    isq_doinvoke_I__ at 0x4020de5c in libjvm.so
    ivq_doinvoke_I__ at 0x4020db71 in libjvm.so
    ivq_doinvoke_V__ at 0x4020db66 in libjvm.so
    invq_doinvoke_V__ at 0x4020dc5d in libjvm.so
    isq_doinvoke_I__ at 0x4020de5c in libjvm.so
    ivq_doinvoke_I__ at 0x4020db71 in libjvm.so
    ivq_doinvoke_V__ at 0x4020db66 in libjvm.so
    ivq_doinvoke_V__ at 0x4020db66 in libjvm.so
    ivq_doinvoke_V__ at 0x4020db66 in libjvm.so
    ivq_doinvoke_V__ at 0x4020db66 in libjvm.so
    invq_doinvoke_V__ at 0x4020dc5d in libjvm.so
    ivq_doinvoke_V__ at 0x4020db66 in libjvm.so
    ivq_doinvoke_I__ at 0x4020db71 in libjvm.so
    iiq_doinvoke_V__ at 0x4020df97 in libjvm.so
    iiq_doinvoke_V__ at 0x4020df97 in libjvm.so
    EJivq_doinvoke_V__ at 0x40208d29 in libjvm.so
    "tcpConnection-6802-47" (TID:0x402e7420, sys_thread_t:0x86a3ec8,
    state:S, native ID:0xe039) prio=5
    at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:182)
    at
    weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialCon
    textFactoryDelegate.java:195)
    at
    weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialCon
    textFactoryDelegate.java:148)
    at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContext
    Factory.java:123)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:669)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
    at javax.naming.InitialContext.init(InitialContext.java:223)
    at javax.naming.InitialContext.<init>(InitialContext.java:199)
    at util.CTXFactory.getInitialContext(CTXFactory.java:66)
    at util.CTXFactory.lookupHome(CTXFactory.java:36)
    at
    jsp.staging__bid4real__com._80_0._stormtest__jsp._jspService(_stormtest__j
    sp.java:51)
    at com.caucho.jsp.JavaPage.service(JavaPage.java:89)
    at com.caucho.jsp.JavaPage.subservice(JavaPage.java:83)
    at com.caucho.jsp.Page.service(Page.java:334)
    at com.caucho.server.http.Invocation.service(Invocation.java:255)
    at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:201)
    at
    com.caucho.server.http.RunnerRequest.handleRequest(RunnerRequest.java:342)
    at
    com.caucho.server.http.RunnerRequest.handleConnection(RunnerRequest.java:263
    at com.caucho.server.TcpConnection.run(TcpConnection.java:140)
    at java.lang.Thread.run(Thread.java:498)
    ----- Native Stack -----
    sysMonitorWait at 0x4029f277 in libhpi.so
    lkMonitorEnter at 0x401ec773 in libjvm.so
    mmipInvokeSynchronizedJavaMethodWithCatch at 0x402346d6 in libjvm.so
    ivq_doinvoke_I__ at 0x4020db71 in libjvm.so
    ivq_doinvoke_I__ at 0x4020db71 in libjvm.so
    iiq_doinvoke_I__ at 0x4020dfa2 in libjvm.so
    iiq_doinvoke_I__ at 0x4020dfa2 in libjvm.so
    isq_doinvoke_I__ at 0x4020de5c in libjvm.so
    ivq_doinvoke_I__ at 0x4020db71 in libjvm.so
    ivq_doinvoke_V__ at 0x4020db66 in libjvm.so
    invq_doinvoke_V__ at 0x4020dc5d in libjvm.so
    isq_doinvoke_I__ at 0x4020de5c in libjvm.so
    ivq_doinvoke_I__ at 0x4020db71 in libjvm.so
    ivq_doinvoke_V__ at 0x4020db66 in libjvm.so
    ivq_doinvoke_V__ at 0x4020db66 in libjvm.so
    ivq_doinvoke_V__ at 0x4020db66 in libjvm.so
    ivq_doinvoke_V__ at 0x4020db66 in libjvm.so
    invq_doinvoke_V__ at 0x4020dc5d in libjvm.so
    ivq_doinvoke_V__ at 0x4020db66 in libjvm.so
    ivq_doinvoke_I__ at 0x4020db71 in libjvm.so
    iiq_doinvoke_V__ at 0x4020df97 in libjvm.so
    iiq_doinvoke_V__ at 0x4020df97 in libjvm.so
    EJivq_doinvoke_V__ at 0x40208d29 in libjvm.so
    "tcpConnection-6802-46" (TID:0x402e7468, sys_thread_t:0x86a2c00,
    state:S, native ID:0xdc38) prio=5
    at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:182)
    at
    weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialCon
    textFactoryDelegate.java:195)
    at
    weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialCon
    textFactoryDelegate.java:148)
    at
    weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFact
    ory.java:123)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:669)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
    at javax.naming.InitialContext.init(InitialContext.java:223)
    at javax.naming.InitialContext.<init>(InitialContext.java:199)
    at util.CTXFactory.getInitialContext(CTXFactory.java:66)
    at util.CTXFactory.lookupHome(CTXFactory.java:36)
    at
    jsp.staging__bid4real__com._80_0._stormtest__jsp._jspService(_stormtest__j
    sp.java:51)
    at com.caucho.jsp.JavaPage.service(JavaPage.java:89)
    at com.caucho.jsp.JavaPage.subservice(JavaPage.java:83)
    at com.caucho.jsp.Page.service(Page.java:334)
    at com.caucho.server.http.Invocation.service(Invocation.java:255)
    at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:201)
    at
    com.caucho.server.http.RunnerRequest.handleRequest(RunnerRequest.java:342)
    at
    com.caucho.server.http.RunnerRequest.handleConnection(RunnerRequest.java:263
    at com.caucho.server.TcpConnection.run(TcpConnection.java:140)
    at java.lang.Thread.run(Thread.java:498)
    ----- Native Stack -----
    sysMonitorWait at 0x4029f277 in libhpi.so
    lkMonitorEnter at 0x401ec773 in libjvm.so
    mmipInvokeSynchronizedJavaMethodWithCatch at 0x402346d6 in libjvm.so
    ivq_doinvoke_I__ at 0x4020db71 in libjvm.so
    ivq_doinvoke_I__ at 0x4020db71 in libjvm.so
    iiq_doinvoke_I__ at 0x4020dfa2 in libjvm.so
    iiq_doinvoke_I__ at 0x4020dfa2 in libjvm.so
    isq_doinvoke_I__ at 0x4020de5c in libjvm.so
    ivq_doinvoke_I__ at 0x4020db71 in libjvm.so
    ivq_doinvoke_V__ at 0x4020db66 in libjvm.so
    invq_doinvoke_V__ at 0x4020dc5d in libjvm.so
    isq_doinvoke_I__ at 0x4020de5c in libjvm.so
    ivq_doinvoke_I__ at 0x4020db71 in libjvm.so
    ivq_doinvoke_V__ at 0x4020db66 in libjvm.so
    ivq_doinvoke_V__ at 0x4020db66 in libjvm.so
    ivq_doinvoke_V__ at 0x4020db66 in libjvm.so
    ivq_doinvoke_V__ at 0x4020db66 in libjvm.so
    invq_doinvoke_V__ at 0x4020dc5d in libjvm.so
    ivq_doinvoke_V__ at 0x4020db66 in libjvm.so
    ivq_doinvoke_I__ at 0x4020db71 in libjvm.so
    iiq_doinvoke_V__ at 0x4020df97 in libjvm.so
    iiq_doinvoke_V__ at 0x4020df97 in libjvm.so
    EJivq_doinvoke_V__ at 0x40208d29 in libjvm.so
    "tcpConnection-6802-45" (TID:0x402e74b0, sys_thread_t:0x86a1938,
    state:S, native ID:0xd837) prio=5
    at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:182)
    at
    weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialCon
    textFactoryDelegate.java:195)
    at
    weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialCon
    textFactoryDelegate.java:148)
    at
    weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFact
    ory.java:123)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:669)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
    at javax.naming.InitialContext.init(InitialContext.java:223)
    at javax.naming.InitialContext.<init>(InitialContext.java:199)
    at util.CTXFactory.getInitialContext(CTXFactory.java:66)
    at util.CTXFactory.lookupHome(CTXFactory.java:36)
    at
    jsp.staging__bid4real__com._80_0._stormtest__jsp._jspService(_stormtest__j
    sp.java:51)
    at com.caucho.jsp.JavaPage.service(JavaPage.java:89)
    at com.caucho.jsp.JavaPage.subservice(JavaPage.java:83)
    at com.caucho.jsp.Page.service(Page.java:334)
    at com.caucho.server.http.Invocation.service(Invocation.java:255)
    at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:201)
    at
    com.caucho.server.http.RunnerRequest.handleRequest(RunnerRequest.java:342)
    at
    com.caucho.server.http.RunnerRequest.handleConnection(RunnerRequest.java:263
    at com.caucho.server.TcpConnection.run(TcpConnection.java:140)
    at java.lang.Thread.run(Thread.java:498)
    ----- Native Stack -----
    sysMonitorWait at 0x4029f277 in libhpi.so
    lkMonitorEnter at 0x401ec773 in libjvm.so
    mmipInvokeSynchronizedJavaMethodWithCatch at 0x402346d6 in libjvm.so
    ivq_doinvoke_I__ at 0x4020db71 in libjvm.so
    ivq_doinvoke_I__ at 0x4020db71 in libjvm.so
    iiq_doinvoke_I__ at 0x4020dfa2 in libjvm.so
    iiq_doinvoke_I__ at 0x4020dfa2 in libjvm.so
    isq_doinvoke_I__ at 0x4020de5c in libjvm.so
    ivq_doinvoke_I__ at 0x4020db71 in libjvm.so
    ivq_doinvoke_V__ at 0x4020db66 in libjvm.so
    invq_doinvoke_V__ at 0x4020dc5d in libjvm.so
    isq_doinvoke_I__ at 0x4020de5c in libjvm.so
    ivq_doinvoke_I__ at 0x4020db71 in libjvm.so
    ivq_doinvoke_V__ at 0x4020db66 in libjvm.so
    ivq_doinvoke_V__ at 0x4020db66 in libjvm.so
    ivq_doinvoke_V__ at 0x4020db66 in libjvm.so
    ivq_doinvoke_V__ at 0x4020db66 in libjvm.so
    invq_doinvoke_V__ at 0x4020dc5d in libjvm.so
    ivq_doinvoke_V__ at 0x4020db66 in libjvm.so
    ivq_doinvoke_I__ at 0x4020db71 in libjvm.so
    iiq_doinvoke_V__ at 0x4020df97 in libjvm.so
    iiq_doinvoke_V__ at 0x4020df97 in libjvm.so
    EJivq_doinvoke_V__ at 0x40208d29 in libjvm.so
    "tcpConnection-6802-44" (TID:0x402e74f8, sys_thread_t:0x86a0670,
    state:S, native ID:0xd436) prio=5
    at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:182)
    at
    weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialCon
    textFactoryDelegate.java:195)
    at
    weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialCon
    textFactoryDelegate.java:148)
    at
    weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFact
    ory.java:123)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:669)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
    at javax.naming.InitialContext.init(InitialContext.java:223)
    at javax.naming.InitialContext.<init>(InitialContext.java:199)
    at util.CTXFactory.getInitialContext(CTXFactory.java:66)
    at util.CTXFactory.lookupHome(CTXFactory.java:36)
    at
    jsp.staging__bid4real__com._80_0._stormtest__jsp._jspService(_stormtest__j
    sp.java:51)
    at com.caucho.jsp.JavaPage.service(JavaPage.java:89)
    at com.caucho.jsp.JavaPage.subservice(JavaPage.java:83)
    at com.caucho.jsp.Page.service(Page.java:334)
    at com.caucho.server.http.Invocation.service(Invocation.java:255)
    at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:201)
    at
    com.caucho.server.http.RunnerRequest.handleRequest(RunnerRequest.java:342)
    at
    com.caucho.server.http.RunnerRequest.handleConnection(RunnerRequest.java:263
    at com.caucho.server.TcpConnection.run(TcpConnection.java:140)
    at java.lang.Thread.run(Thread.java:498)
    ----- Native Stack -----
    sysMonitorWait at 0x4029f277 in libhpi.so
    lkMonitorEnter at 0x401ec773 in libjvm.so
    mmipInvokeSynchronizedJavaMethodWithCatch at 0x402346d6 in libjvm.so
    ivq_doinvoke_I__ at 0x4020db71 in libjvm.so
    ivq_doinvoke_I__ at 0x4020db71 in libjvm.so
    iiq_doinvoke_I__ at 0x4020dfa2 in libjvm.so
    iiq_doinvoke_I__ at 0x4020dfa2 in libjvm.so
    isq_doinvoke_I__ at 0x4020de5c in libjvm.so
    ivq_doinvoke_I__ at 0x4020db71 in libjvm.so
    ivq_doinvoke_V__ at 0x4020db66 in libjvm.so
    invq_doinvoke_V__ at 0x4020dc5d in libjvm.so
    isq_doinvoke_I__ at 0x4020de5c in libjvm.so
    ivq_doinvoke_I__ at 0x4020db71 in libjvm.so
    ivq_doinvoke_V__ at 0x4020db66 in libjvm.so
    ivq_doinvoke_V__ at 0x4020db66 in libjvm.so
    ivq_doinvoke_V__ at 0x4020db66 in libjvm.so
    ivq_doinvoke_V__ at 0x4020db66 in libjvm.so
    invq_doinvoke_V__ at 0x4020dc5d in libjvm.so
    ivq_doinvoke_V__ at 0x4020db66 in libjvm.so
    ivq_doinvoke_I__ at 0x4020db71 in libjvm.so
    iiq_doinvoke_V__ at 0x4020df97 in libjvm.so
    iiq_doinvoke_V__ at 0x4020df97 in libjvm.so
    EJivq_doinvoke_V__ at 0x40208d29 in libjvm.so
    "tcpConnection-6802-43" (TID:0x402e7540, sys_thread_t:0x869f3a8,
    state:S, native ID:0xd035) prio=5
    at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:182)
    at
    weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialCon
    textFactoryDelegate.java:195)
    at
    weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialCon
    textFactoryDelegate.java:148)
    at
    weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFact
    ory.java:123)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:669)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
    at javax.naming.InitialContext.init(InitialContext.java:223)
    at javax.naming.InitialContext.<init>(InitialContext.java:199)
    at util.CTXFactory.getInitialContext(CTXFactory.java:66)
    at util.CTXFactory.lookupHome(CTXFactory.java:36)
    at
    jsp.staging__bid4real__com._80_0._stormtest__jsp._jspService(_stormtest__j
    sp.java:51)
    at com.caucho.jsp.JavaPage.service(JavaPage.java:89)
    at com.caucho.jsp.JavaPage.subservice(JavaPage.java:83)
    at com.caucho.jsp.Page.service(Page.java:334)
    at com.caucho.server.http.Invocation.service(Invocation.java:255)
    at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:201)
    at
    com.caucho.server.http.RunnerRequest.handleRequest(RunnerRequest.java:342)
    at
    com.caucho.server.http.RunnerRequest.handleConnection(RunnerRequest.java:263
    at com.caucho.server.TcpConnection.run(TcpConnection.java:140)
    at java.lang.Thread.run(Thread.java:498)
    ----- Native Stack -----
    sysMonitorWait at 0x4029f277 in libhpi.so
    lkMonitorEnter at 0x401ec773 in libjvm.so
    mmipInvokeSynchronizedJavaMethodWithCatch at 0x402346d6 in libjvm.so
    ivq_doinvoke_I__ at 0x4020db71 in libjvm.so
    ivq_doinvoke_I__ at 0x4020db71 in libjvm.so
    iiq_doinvoke_I__ at 0x4020dfa2 in libjvm.so
    iiq_doinvoke_I__ at 0x4020dfa2 in libjvm.so
    isq_doinvoke_I__ at 0x4020de5c in libjvm.so
    ivq_doinvoke_I__ at 0x4020db71 in libjvm.so
    ivq_doinvoke_V__ at 0x4020db66 in libjvm.so
    invq_doinvoke_V__ at 0x4020dc5d in libjvm.so
    isq_doinvoke_I__ at 0x4020de5c in libjvm.so
    ivq_doinvoke_I__ at 0x4020db71 in libjvm.so
    ivq_doinvoke_V__ at 0x4020db66 in libjvm.so
    ivq_doinvoke_V__ at 0x4020db66 in libjvm.so
    ivq_doinvoke_V__ at 0x4020db66 in libjvm.so
    ivq_doinvoke_V__ at 0x4020db66 in libjvm.so
    invq_doinvoke_V__ at 0x4020dc5d in libjvm.so
    ivq_doinvoke_V__ at 0x4020db66 in libjvm.so
    ivq_doinvoke_I__ at 0x4020db71 in libjvm.so
    iiq_doinvoke_V__ at 0x4020df97 in libjvm.so
    iiq_doinvoke_V__ at 0x4020df97 in libjvm.so
    EJivq_doinvoke_V__ at 0x40208d29 in libjvm.so
    "tcpConnection-6802-42" (TID:0x402e7588, sys_thread_t:0x869e0e0,
    state:S, native ID:0xcc34) prio=5
    at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:182)
    at
    weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialCon
    textFactoryDelegate.java:195)
    at
    weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialCon
    textFactoryDelegate.java:148)
    at
    weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFact
    ory.java:123)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:669)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
    at javax.naming.InitialContext.init(InitialContext.java:223)
    at javax.naming.InitialContext.<init>(InitialContext.java:199)
    at util.CTXFactory.getInitialContext(CTXFactory.java:66)
    at util.CTXFactory.lookupHome(CTXFactory.java:36)
    at
    jsp.staging__bid4real__com._80_0._stormtest__jsp._jspService(_stormtest__j
    sp.java:51)
    at com.caucho.jsp.JavaPage.service(JavaPage.java:89)
    at com.caucho.jsp.JavaPage.subservice(JavaPage.java:83)
    at com.caucho.jsp.Page.service(Page.java:334)
    at com.caucho.server.http.Invocation.service(Invocation.java:255)
    at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:201)
    at
    com.caucho.server.http.RunnerRequest.handleRequest(RunnerRequest.java:342)
    at
    com.caucho.server.http.RunnerRequest.handleConnection(RunnerRequest.java:263
    at com.caucho.server.TcpConnection.run(TcpConnection.java:140)
    at java.lang.Thread.run(Thread.java:498)
    ----- Native Stack -----
    sysMonitorWait at 0x4029f277 in libhpi.so
    lkMonitorEnter at 0x401ec773 in libjvm.so
    mmipInvokeSynchronizedJavaMethodWithCatch at 0x402346d6 in libjvm.so
    ivq_doinvoke_I__ at 0x4020db71 in libjvm.so
    ivq_doinvoke_I__ at 0x4020db71 in libjvm.so
    iiq_doinvoke_I__ at 0x4020dfa2 in libjvm.so
    iiq_doinvoke_I__ at 0x4020dfa2 in libjvm.so
    isq_doinvoke_I__ at 0x4020de5c in libjvm.so
    ivq_doinvoke_I__ at 0x4020db71 in libjvm.so
    ivq_doinvoke_V__ at 0x4020db66 in libjvm.so
    invq_doinvoke_V__ at 0x4020dc5d in libjvm.so
    isq_doinvoke_I__ at 0x4020de5c in libjvm.so
    ivq_doinvoke_I__ at 0x4020db71 in libjvm.so
    ivq_doinvoke_V__ at 0x4020db66 in libjvm.so
    ivq_doinvoke_V__ at 0x4020db66 in libjvm.so
    ivq_doinvoke_V__ at 0x4020db66 in libjvm.so
    ivq_doinvoke_V__ at 0x4020db66 in libjvm.so
    invq_doinvoke_V__ at 0x4020dc5d in libjvm.so
    ivq_doinvoke_V__ at 0x4020db66 in libjvm.so
    ivq_doinvoke_I__ at 0x4020db71 in libjvm.so
    iiq_doinvoke_V__ at 0x4020df97 in libjvm.so
    iiq_doinvoke_V__ at 0x4020df97 in libjvm.so
    EJivq_doinvoke_V__ at 0x40208d29 in libjvm.so
    "tcpConnection-6802-41" (TID:0x402e75d0, sys_thread_t:0x869ce18,
    state:S, native ID:0xc833) prio=5
    at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:182)
    at
    weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialCon
    textFactoryDelegate.java:195)
    at
    weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialCon
    textFactoryDelegate.java:148)
    at
    weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFact
    ory.java:123)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:669)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
    at javax.naming.InitialContext.init(InitialContext.java:223)
    at javax.naming.InitialContext.<init>(InitialContext.java:199)
    at util.CTXFactory.getInitialContext(CTXFactory.java:66)
    at util.CTXFactory.lookupHome(CTXFactory.java:36)
    at
    jsp.staging__bid4real__com._80_0._stormtest__jsp._jspService(_stormtest__j
    sp.java:51)
    at com.caucho.jsp.JavaPage.service(JavaPage.java:89)
    at com.caucho.jsp.JavaPage.subservice(JavaPage.java:83)
    at com.caucho.jsp.Page.service(Page.java:334)
    at com.caucho.server.http.Invocation.service(Invocation.java:255)
    at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:201)
    at
    com.caucho.server.http.RunnerRequest.handleRequest(RunnerRequest.java:342)
    at
    com.caucho.server.http.RunnerRequest.handleConnection(RunnerRequest.java:263
    at com.caucho.server.TcpConnection.run(TcpConnection.java:140)
    at java.lang.Thread.run(Thread.java:498)
    ----- Native Stack -----
    sysMonitorWait at 0x4029f277 in libhpi.so
    lkMonitorEnter at 0x401ec773 in libjvm.so
    mmipInvokeSynchronizedJavaMethodWithCatch at 0x402346d6 in libjvm.so
    ivq_doinvoke_I__ at 0x4020db71 in libjvm.so
    ivq_doinvoke_I__ at 0x4020db71 in libjvm.so
    iiq_doinvoke_I__ at 0x4020dfa2 in libjvm.so
    iiq_doinvoke_I__ at 0x4020dfa2 in libjvm.so
    isq_doinvoke_I__ at 0x4020de5c in libjvm.so
    ivq_doinvoke_I__ at 0x4020db71 in libjvm.so
    ivq_doinvoke_V__ at 0x4020db66 in libjvm.so
    invq_doinvoke_V__ at 0x4020dc5d in libjvm.so
    isq_doinvoke_I__ at 0x4020de5c in libjvm.so
    ivq_doinvoke_I__

    I'm facing the same problem. SIGSEGV when trying to connect after a system panic on weblogic server. The client crashes on SIGSEGV.
    I would like to know how you have managed to resolve this SIGSEGV.
    Thanks.

  • Javamail deadlock : Please help

    Please help me.
    I have searched everywhere in this forum but I got no answer to my problem so I have decided to make a new post.
    I have been getting this error for a 8days now. I am trying to send an email using Javamail API but Transport.send() and(or) Transport.sendMessage() leads to a deadlock. This is a web application. when the client submits a feedback we would like to send him an email confirmation. But then that page keep running forever. I have tried all but nothing works for me. The weird is that when I turn off tomcat the message is delivered.
    Here is the code
    public class MailUtil
    public static void sendMail(String to, String from,
    String subject, String body, boolean bodyIsHTML)
    throws MessagingException
    // 1 - get a mail session
    //Properties props = new Properties();
    Properties props = System.getProperties();
    props.put("mail.transport.protocol", "smtp");
    props.put("mail.smtp.host", smtpserver)
    props.put("mail.smtp.port", 2525);
    props.put("mail.smtp.auth", "true");
    props.put("mail.smtp.connectiontimeout","20000");
    props.put("mail.smtp.timeout","40000");
    props.put("mail.smtp.quitwait", "false");
    // create some properties and get the default Session
    Session session = Session.getInstance(props, new Authenticator() {
    public PasswordAuthentication getPasswordAuthentication() {
    return new PasswordAuthentication(authemail, authpassword);
    session.setDebug(true);
    // 2 - create a message
    Message message = new MimeMessage(session);
    java.util.Date today=new java.util.Date();
    message.setSentDate(today);
    message.setSubject(subject);
    if (bodyIsHTML)
    message.setContent(body, "text/html");
    else
    message.setText(body);
    // 3 - address the message
    message.setFrom(new InternetAddress(from));
    message.setRecipient(Message.RecipientType.TO, new InternetAddress(to));
    // 4 - send the message
    Transport.send(message);
    this how I called it: MailUtil.sendMail(to, from, subject, body, isBodyHTML);
    props.put("mail.smtp.connectiontimeout","20000");
    props.put("mail.smtp.timeout","40000");
    props.put("mail.smtp.quitwait", "false");
    was just to see if the problem will be solved but no way
    Please help me

    I think that you've posted this to the wrong forum. I suggest you try the JavaMail forum: http://forum.java.sun.com/forum.jsp?forum=43

  • Tomcat Server become very slow

    Hi all,
    I have a urgent problem which need you all help.... My tomcat server become very slow..i checked the CPU and memory usage are normal....and there are only about 10 users connect to server only....After i checked the log...i found that there are two error ..
    1. socket write error
    java.net.SocketException: Connection reset by peer: socket write error
    at java.net.SocketOutputStream.socketWrite(Native Method)
    at java.net.SocketOutputStream.write(SocketOutputStream.java:91)
    at org.apache.coyote.http11.InternalOutputBuffer$OutputStreamOutputBuffer.doWrite(InternalOutputBuffer.java:652)
    at org.apache.coyote.http11.filters.IdentityOutputFilter.doWrite(IdentityOutputFilter.java:160)
    at org.apache.coyote.http11.InternalOutputBuffer.doWrite(InternalOutputBuffer.java:523)
    at org.apache.coyote.Response.doWrite(Response.java:513)
    at org.apache.coyote.tomcat4.OutputBuffer.realWriteBytes(OutputBuffer.java:380)
    at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:360)
    at org.apache.coyote.tomcat4.OutputBuffer.flush(OutputBuffer.java:344)
    at org.apache.coyote.tomcat4.OutputBuffer.close(OutputBuffer.java:321)
    at org.apache.coyote.tomcat4.CoyoteWriter.close(CoyoteWriter.java:115)
    at nextapp.echoservlet.WindowUI.service(WindowUI.java:203)
    at nextapp.echoservlet.Initializer.service(Initializer.java:175)
    at nextapp.echoservlet.Connection.process(Connection.java:541)
    at nextapp.echoservlet.EchoServer.process(EchoServer.java:303)
    at nextapp.echoservlet.EchoServer.doPost(EchoServer.java:223)
    2. java.sql.SQLException: [Microsoft][ODBC SQL Server Driver][SQL Server]Transaction (Process ID 180) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.
    Which is the main causes to server slow down???.....How to solve this problem????

    The first message seems to indicate that a connection was made on the socket but closed prematurely. I get this often on my Tomcat installation when our corporate virus scanners kick in, probing network ports. I wouldn't worry about that one.
    The second one is indicating a deadlock on your database. I would say that your problem lies there.

  • IBM's TSpaces probably deadlocks in Web Logic 5.1.0 sp 8

    Hi,
    In our Web Logic 5.1.0 sp8 installation we have a tuple space (IBM's
    TSpaces) solution to connection to a number of external servers.
    On top of Web Logic we use a tomcat web server. When we stress
    test system with 10 testers (5 concurrent), the system goes into
    a possible deadlock in about 1 hour.
    The thread dump below shows it is com.ibm.tspaces.Semaphore.decr()
    that 'hangs'.
    Does someone know how I can solve this problem or know how I might
    get closer to the core of the problem?
    Does someone have had experience with Tuple Spaces and Web Logic?
    Thanks,
    Brian Kristiansen
    Hewlett-Packard Danmark
    Thread dump:
    Full thread dump:
    "Callback-1" daemon prio=5 tid=0x1a804a90 nid=0xd2 runnable [0x1a8ff000..0x1a8ffdc8]
         at java.net.SocketInputStream.socketRead(Native Method)
         at java.net.SocketInputStream.read(SocketInputStream.java:86)
         at java.io.BufferedInputStream.fill(BufferedInputStream.java:186)
         at java.io.BufferedInputStream.read(BufferedInputStream.java:204)
         at java.io.ObjectInputStream.peekCode(ObjectInputStream.java:1549)
         at java.io.ObjectInputStream.refill(ObjectInputStream.java:1683)
         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:283)
         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
         at com.ibm.tspaces.CallbackThread.run(CallbackThread.java:434)
    "SSLListenThread" prio=5 tid=0x828410 nid=0x12b runnable [0x1a6af000..0x1a6afdc8]
         at java.net.PlainSocketImpl.socketAccept(Native Method)
         at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:413)
         at java.net.ServerSocket.implAccept(ServerSocket.java:241)
         at java.net.ServerSocket.accept(ServerSocket.java:222)
         at weblogic.security.SSL.SSLServerSocket.acceptNoHandshake(SSLServerSocket.java:121)
         at weblogic.security.SSL.SSLServerSocket.accept(SSLServerSocket.java:112)
         at weblogic.t3.srvr.ListenThread.run(ListenThread.java:277)
    "ListenThread" prio=5 tid=0x828df0 nid=0x11c runnable [0x1a66f000..0x1a66fdc8]
         at java.net.PlainSocketImpl.socketAccept(Native Method)
         at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:413)
         at java.net.ServerSocket.implAccept(ServerSocket.java:241)
         at java.net.ServerSocket.accept(ServerSocket.java:222)
         at weblogic.t3.srvr.ListenThread.run(ListenThread.java:277)
    "JavaIDL Reader for 15.168.56.52:1630" daemon prio=5 tid=0x82aa40
    nid=0x100 runnable [0x1a5ef000..0x1a5efdc8]
         at java.net.SocketInputStream.socketRead(Native Method)
         at java.net.SocketInputStream.read(SocketInputStream.java:86)
         at com.sun.corba.se.internal.iiop.Message.readFully(Message.java:268)
         at com.sun.corba.se.internal.iiop.Message.createFromStream(Message.java:159)
         at com.sun.corba.se.internal.iiop.IIOPConnection.createInputStream(IIOPConnection.java:608)
         at com.sun.corba.se.internal.iiop.ReaderThread.run(IIOPConnection.java:109)
    "JavaIDL Listener" daemon prio=5 tid=0x82cee0 nid=0x128 runnable
    [0x1a56f000..0x1a56fdc8]
         at java.net.PlainSocketImpl.socketAccept(Native Method)
         at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:413)
         at java.net.ServerSocket.implAccept(ServerSocket.java:241)
         at java.net.ServerSocket.accept(ServerSocket.java:222)
         at com.sun.corba.se.internal.iiop.ListenerThread.run(ListenerThread.java:52)
    "JavaIDL Reader for 15.168.56.52:5000" daemon prio=5 tid=0x82bca0
    nid=0x11a runnable [0x1a4ef000..0x1a4efdc8]
         at java.net.SocketInputStream.socketRead(Native Method)
         at java.net.SocketInputStream.read(SocketInputStream.java:86)
         at com.sun.corba.se.internal.iiop.Message.readFully(Message.java:268)
         at com.sun.corba.se.internal.iiop.Message.createFromStream(Message.java:159)
         at com.sun.corba.se.internal.iiop.IIOPConnection.createInputStream(IIOPConnection.java:608)
         at com.sun.corba.se.internal.iiop.ReaderThread.run(IIOPConnection.java:109)
    "NBExecuteThread-1" daemon prio=5 tid=0x7daf20 nid=0xa9 waiting
    on monitor [0x1a3ef000..0x1a3efdc8]
         at java.lang.Object.wait(Native Method)
         at java.lang.Object.wait(Object.java:420)
         at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:99)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:126)
    "NBExecuteThread-0" daemon prio=5 tid=0x7d9b20 nid=0x11e waiting
    on monitor [0x1a36f000..0x1a36fdc8]
         at java.lang.Object.wait(Native Method)
         at java.lang.Object.wait(Object.java:420)
         at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:99)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:126)
    "ExecuteThread-14" daemon prio=5 tid=0x7d8800 nid=0x122 waiting
    on monitor [0x1a2ef000..0x1a2efdc8]
         at java.lang.Object.wait(Native Method)
         at com.ibm.tspaces.Semaphore.decr(Semaphore.java:105)
         at com.ibm.tspaces.Waiter.waitFor(Waiter.java:128)
         at com.ibm.tspaces.TSCmdSocketImpl.command(TSCmdSocketImpl.java:512)
         at com.ibm.tspaces.TSCmdSocketImpl.command(TSCmdSocketImpl.java:419)
         at com.ibm.tspaces.TupleSpace.command(TupleSpace.java:4298)
         at com.ibm.tspaces.TupleSpace.waitToTake(TupleSpace.java:2120)
         at com.hugin.edot.Space.waitingTake(Space.java:166)
         at com.hugin.edot.superlib.SuperLib.retrieveAnswer(SuperLib.java:80)
         at com.hp.edot.service.bats.em.EdotLib.request(EdotLib.java:111)
         at com.hp.edot.service.bats.em.EdotLib.findBestStep(EdotLib.java:162)
         at com.hp.edot.service.bats.em.EngineManager.FindBestStep(EngineManager.java:300)
         at com.hp.edot.service.bats.em.EngineManager_ServiceStub.FindBestStep(EngineManager_ServiceStub.java:84)
         at com.hp.edot.service.bats.phase.CalculateNextStep.FindBestStep(CalculateNextStep.java:136)
         at com.hp.edot.service.bats.phase.InterrogativeTroubleshooting.execute(InterrogativeTroubleshooting.java:241)
         at com.citr.decade.b2b.phase.PhaseClassExecutor.execute(PhaseClassExecutor.java:252)
         at com.citr.decade.b2b.resolver.Resolver.processExecute(Resolver.java:446)
         at com.citr.decade.b2b.resolver.Resolver.resolve(Resolver.java:282)
         at com.hp.edot.service.bats.tsservice.TsServiceBean.service(TsServiceBean.java:728)
         at com.hp.edot.service.bats.tsservice.TsServiceBeanEOImpl.service(TsServiceBeanEOImpl.java:237)
         at com.citr.decade.b2b.serviceconnector.ServiceConnectorExecutorEJB$DocumentExecutor.execute(ServiceConnectorExecutorEJB.java:179)
         at com.citr.decade.b2b.serviceconnector.ServiceConnectorExecutorEJB.execute(ServiceConnectorExecutorEJB.java:461)
         at com.citr.decade.b2b.serviceconnector.ServiceConnectorBase.serviceServiceRequest(ServiceConnectorBase.java:419)
         at com.citr.decade.b2b.serviceconnector.ServiceConnectorBase.service(ServiceConnectorBase.java:173)
         at com.citr.decade.b2b.serviceconnector.ServiceConnectorBean.service(ServiceConnectorBean.java:605)
         at com.citr.decade.b2b.serviceconnector.ServiceConnectorBeanEOImpl.service(ServiceConnectorBeanEOImpl.java:108)
         at com.hp.edot.servlet.ProcessServlet.doPost(ProcessServlet.java:538)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:772)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:106)
         at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:907)
         at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:851)
         at weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:252)
         at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:364)
         at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:252)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)
    "ExecuteThread-13" daemon prio=5 tid=0x7d7530 nid=0x14d runnable
    [0x1a26f000..0x1a26fdc8]
         at weblogic.socket.NTSocketMuxer.getNextSocket(Native Method)
         at weblogic.socket.NTSocketMuxer.processSockets(NTSocketMuxer.java:331)
         at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)
    "ExecuteThread-12" daemon prio=5 tid=0x7d6180 nid=0xec runnable
    [0x1a1ef000..0x1a1efdc8]
         at weblogic.socket.NTSocketMuxer.getNextSocket(Native Method)
         at weblogic.socket.NTSocketMuxer.processSockets(NTSocketMuxer.java:331)
         at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)
    "ExecuteThread-11" daemon prio=5 tid=0x7d6d30 nid=0xc4 runnable
    [0x1a16f000..0x1a16fdc8]
         at weblogic.socket.NTSocketMuxer.getNextSocket(Native Method)
         at weblogic.socket.NTSocketMuxer.processSockets(NTSocketMuxer.java:331)
         at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)
    "ExecuteThread-10" daemon prio=5 tid=0x7d59e0 nid=0xf1 runnable
    [0x1a0ef000..0x1a0efdc8]
         at weblogic.socket.NTSocketMuxer.getNextSocket(Native Method)
         at weblogic.socket.NTSocketMuxer.processSockets(NTSocketMuxer.java:331)
         at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)
    "ExecuteThread-9" daemon prio=5 tid=0x7d45e0 nid=0xca waiting on
    monitor [0x1a06f000..0x1a06fdc8]
         at java.lang.Object.wait(Native Method)
         at java.lang.Object.wait(Object.java:420)
         at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:99)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:126)
    "ExecuteThread-8" daemon prio=5 tid=0x7d32b0 nid=0x11f waiting
    on monitor [0x19fef000..0x19fefdc8]
         at java.lang.Object.wait(Native Method)
         at com.ibm.tspaces.Semaphore.decr(Semaphore.java:105)
         at com.ibm.tspaces.Waiter.waitFor(Waiter.java:128)
         at com.ibm.tspaces.TSCmdSocketImpl.command(TSCmdSocketImpl.java:512)
         at com.ibm.tspaces.TSCmdSocketImpl.command(TSCmdSocketImpl.java:419)
         at com.ibm.tspaces.TupleSpace.<init>(TupleSpace.java:645)
         at com.ibm.tspaces.TupleSpace.<init>(TupleSpace.java:871)
         at com.hugin.edot.Space.<init>(Space.java:46)
         at com.hugin.edot.superlib.SuperLib.<init>(SuperLib.java:27)
         at com.hp.edot.service.bats.em.EdotLib.<init>(EdotLib.java:34)
         at com.hp.edot.service.bats.em.EngineManager.FindBestStep(EngineManager.java:299)
         at com.hp.edot.service.bats.em.EngineManager_ServiceStub.FindBestStep(EngineManager_ServiceStub.java:84)
         at com.hp.edot.service.bats.phase.CalculateNextStep.FindBestStep(CalculateNextStep.java:136)
         at com.hp.edot.service.bats.phase.InterrogativeTroubleshooting.execute(InterrogativeTroubleshooting.java:241)
         at com.citr.decade.b2b.phase.PhaseClassExecutor.execute(PhaseClassExecutor.java:252)
         at com.citr.decade.b2b.resolver.Resolver.processExecute(Resolver.java:446)
         at com.citr.decade.b2b.resolver.Resolver.resolve(Resolver.java:282)
         at com.hp.edot.service.bats.tsservice.TsServiceBean.service(TsServiceBean.java:728)
         at com.hp.edot.service.bats.tsservice.TsServiceBeanEOImpl.service(TsServiceBeanEOImpl.java:237)
         at com.citr.decade.b2b.serviceconnector.ServiceConnectorExecutorEJB$DocumentExecutor.execute(ServiceConnectorExecutorEJB.java:179)
         at com.citr.decade.b2b.serviceconnector.ServiceConnectorExecutorEJB.execute(ServiceConnectorExecutorEJB.java:461)
         at com.citr.decade.b2b.serviceconnector.ServiceConnectorBase.serviceServiceRequest(ServiceConnectorBase.java:419)
         at com.citr.decade.b2b.serviceconnector.ServiceConnectorBase.service(ServiceConnectorBase.java:173)
         at com.citr.decade.b2b.serviceconnector.ServiceConnectorBean.service(ServiceConnectorBean.java:605)
         at com.citr.decade.b2b.serviceconnector.ServiceConnectorBeanEOImpl.service(ServiceConnectorBeanEOImpl.java:108)
         at com.hp.edot.servlet.ProcessServlet.doPost(ProcessServlet.java:538)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:772)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:106)
         at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:907)
         at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:851)
         at weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:252)
         at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:364)
         at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:252)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)
    "ExecuteThread-7" daemon prio=5 tid=0x7d3e80 nid=0x14a waiting
    on monitor [0x19f6f000..0x19f6fdc8]
         at java.lang.Object.wait(Native Method)
         at com.ibm.tspaces.Semaphore.decr(Semaphore.java:105)
         at com.ibm.tspaces.Waiter.waitFor(Waiter.java:128)
         at com.ibm.tspaces.TSCmdSocketImpl.command(TSCmdSocketImpl.java:512)
         at com.ibm.tspaces.TSCmdSocketImpl.command(TSCmdSocketImpl.java:419)
         at com.ibm.tspaces.TupleSpace.command(TupleSpace.java:4298)
         at com.ibm.tspaces.TupleSpace.read(TupleSpace.java:2785)
         at com.hugin.edot.Space.getTime(Space.java:73)
         at com.hugin.edot.Space.put(Space.java:88)
         at com.hugin.edot.superlib.SuperLib.performRequest(SuperLib.java:60)
         at com.hp.edot.service.bats.em.EdotLib.request(EdotLib.java:110)
         at com.hp.edot.service.bats.em.EdotLib.findBestStep(EdotLib.java:162)
         at com.hp.edot.service.bats.em.EngineManager.FindBestStep(EngineManager.java:300)
         at com.hp.edot.service.bats.em.EngineManager_ServiceStub.FindBestStep(EngineManager_ServiceStub.java:84)
         at com.hp.edot.service.bats.phase.CalculateNextStep.FindBestStep(CalculateNextStep.java:136)
         at com.hp.edot.service.bats.phase.InterrogativeTroubleshooting.execute(InterrogativeTroubleshooting.java:241)
         at com.citr.decade.b2b.phase.PhaseClassExecutor.execute(PhaseClassExecutor.java:252)
         at com.citr.decade.b2b.resolver.Resolver.processExecute(Resolver.java:446)
         at com.citr.decade.b2b.resolver.Resolver.resolve(Resolver.java:282)
         at com.hp.edot.service.bats.tsservice.TsServiceBean.service(TsServiceBean.java:728)
         at com.hp.edot.service.bats.tsservice.TsServiceBeanEOImpl.service(TsServiceBeanEOImpl.java:237)
         at com.citr.decade.b2b.serviceconnector.ServiceConnectorExecutorEJB$DocumentExecutor.execute(ServiceConnectorExecutorEJB.java:179)
         at com.citr.decade.b2b.serviceconnector.ServiceConnectorExecutorEJB.execute(ServiceConnectorExecutorEJB.java:461)
         at com.citr.decade.b2b.serviceconnector.ServiceConnectorBase.serviceServiceRequest(ServiceConnectorBase.java:419)
         at com.citr.decade.b2b.serviceconnector.ServiceConnectorBase.service(ServiceConnectorBase.java:173)
         at com.citr.decade.b2b.serviceconnector.ServiceConnectorBean.service(ServiceConnectorBean.java:605)
         at com.citr.decade.b2b.serviceconnector.ServiceConnectorBeanEOImpl.service(ServiceConnectorBeanEOImpl.java:108)
         at com.hp.edot.servlet.ProcessServlet.doPost(ProcessServlet.java:538)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:772)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:106)
         at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:907)
         at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:851)
         at weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:252)
         at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:364)
         at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:252)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)
    "ExecuteThread-6" daemon prio=5 tid=0x7d2b20 nid=0x116 waiting
    on monitor [0x19eef000..0x19eefdc8]
         at java.lang.Object.wait(Native Method)
         at java.lang.Object.wait(Object.java:420)
         at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:99)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:126)
    "ExecuteThread-5" daemon prio=5 tid=0x7d1720 nid=0xfd waiting on
    monitor [0x19e6f000..0x19e6fdc8]
         at java.lang.Object.wait(Native Method)
         at java.lang.Object.wait(Object.java:420)
         at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:99)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:126)
    "ExecuteThread-4" daemon prio=5 tid=0x7d03e0 nid=0xfa waiting on
    monitor [0x19def000..0x19defdc8]
         at java.lang.Object.wait(Native Method)
         at java.lang.Object.wait(Object.java:420)
         at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:99)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:126)
    "ExecuteThread-3" daemon prio=5 tid=0x7cf680 nid=0xf2 waiting on
    monitor [0x19d6f000..0x19d6fdc8]
         at java.lang.Object.wait(Native Method)
         at com.ibm.tspaces.Semaphore.decr(Semaphore.java:105)
         at com.ibm.tspaces.Waiter.waitFor(Waiter.java:128)
         at com.ibm.tspaces.TSCmdSocketImpl.command(TSCmdSocketImpl.java:512)
         at com.ibm.tspaces.TSCmdSocketImpl.command(TSCmdSocketImpl.java:419)
         at com.ibm.tspaces.TupleSpace.<init>(TupleSpace.java:645)
         at com.ibm.tspaces.TupleSpace.<init>(TupleSpace.java:871)
         at com.hugin.edot.Space.<init>(Space.java:46)
         at com.hugin.edot.superlib.SuperLib.<init>(SuperLib.java:27)
         at com.hp.edot.service.bats.em.EdotLib.<init>(EdotLib.java:34)
         at com.hp.edot.service.bats.em.EngineManager.FindBestStep(EngineManager.java:299)
         at com.hp.edot.service.bats.em.EngineManager_ServiceStub.FindBestStep(EngineManager_ServiceStub.java:84)
         at com.hp.edot.service.bats.phase.CalculateNextStep.FindBestStep(CalculateNextStep.java:136)
         at com.hp.edot.service.bats.phase.InterrogativeTroubleshooting.execute(InterrogativeTroubleshooting.java:241)
         at com.citr.decade.b2b.phase.PhaseClassExecutor.execute(PhaseClassExecutor.java:252)
         at com.citr.decade.b2b.resolver.Resolver.processExecute(Resolver.java:446)
         at com.citr.decade.b2b.resolver.Resolver.resolve(Resolver.java:282)
         at com.hp.edot.service.bats.tsservice.TsServiceBean.service(TsServiceBean.java:728)
         at com.hp.edot.service.bats.tsservice.TsServiceBeanEOImpl.service(TsServiceBeanEOImpl.java:237)
         at com.citr.decade.b2b.serviceconnector.ServiceConnectorExecutorEJB$DocumentExecutor.execute(ServiceConnectorExecutorEJB.java:179)
         at com.citr.decade.b2b.serviceconnector.ServiceConnectorExecutorEJB.execute(ServiceConnectorExecutorEJB.java:461)
         at com.citr.decade.b2b.serviceconnector.ServiceConnectorBase.serviceServiceRequest(ServiceConnectorBase.java:419)
         at com.citr.decade.b2b.serviceconnector.ServiceConnectorBase.service(ServiceConnectorBase.java:173)
         at com.citr.decade.b2b.serviceconnector.ServiceConnectorBean.service(ServiceConnectorBean.java:605)
         at com.citr.decade.b2b.serviceconnector.ServiceConnectorBeanEOImpl.service(ServiceConnectorBeanEOImpl.java:108)
         at com.hp.edot.servlet.ProcessServlet.doPost(ProcessServlet.java:538)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:772)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:106)
         at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:907)
         at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:851)
         at weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:252)
         at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:364)
         at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:252)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)
    "ExecuteThread-2" daemon prio=5 tid=0x78c8f0 nid=0x104 runnable
    [0x19cef000..0x19cefdc8]
         at weblogic.servlet.internal.session.SessionData.remove(SessionData.java:266)
         at weblogic.servlet.internal.session.MemorySessionContextImpl.invalidateSession(MemorySessionContextImpl.java:72)
         at weblogic.servlet.internal.session.SessionContext$SessionInvalidator.invalidateSessions(SessionContext.java:502)
         at weblogic.servlet.internal.session.SessionContext$SessionInvalidator.trigger(SessionContext.java:479)
         at weblogic.time.common.internal.ScheduledTrigger.executeLocally(ScheduledTrigger.java:197)
         at weblogic.time.common.internal.ScheduledTrigger.execute(ScheduledTrigger.java:191)
         at weblogic.time.server.ScheduledTrigger.execute(ScheduledTrigger.java:60)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)
    "ExecuteThread-1" daemon prio=5 tid=0x7b9990 nid=0x113 waiting
    on monitor [0x19c6f000..0x19c6fdc8]
         at java.lang.Object.wait(Native Method)
         at com.ibm.tspaces.Semaphore.decr(Semaphore.java:105)
         at com.ibm.tspaces.Waiter.waitFor(Waiter.java:128)
         at com.ibm.tspaces.TSCmdSocketImpl.command(TSCmdSocketImpl.java:512)
         at com.ibm.tspaces.TSCmdSocketImpl.command(TSCmdSocketImpl.java:419)
         at com.ibm.tspaces.TupleSpace.<init>(TupleSpace.java:645)
         at com.ibm.tspaces.TupleSpace.<init>(TupleSpace.java:871)
         at com.hugin.edot.Space.<init>(Space.java:46)
         at com.hugin.edot.superlib.SuperLib.<init>(SuperLib.java:27)
         at com.hp.edot.service.bats.em.EdotLib.<init>(EdotLib.java:34)
         at com.hp.edot.service.bats.em.EngineManager.FindBestStep(EngineManager.java:299)
         at com.hp.edot.service.bats.em.EngineManager_ServiceStub.FindBestStep(EngineManager_ServiceStub.java:84)
         at com.hp.edot.service.bats.phase.CalculateNextStep.FindBestStep(CalculateNextStep.java:136)
         at com.hp.edot.service.bats.phase.InterrogativeTroubleshooting.execute(InterrogativeTroubleshooting.java:241)
         at com.citr.decade.b2b.phase.PhaseClassExecutor.execute(PhaseClassExecutor.java:252)
         at com.citr.decade.b2b.resolver.Resolver.processExecute(Resolver.java:446)
         at com.citr.decade.b2b.resolver.Resolver.resolve(Resolver.java:282)
         at com.hp.edot.service.bats.tsservice.TsServiceBean.service(TsServiceBean.java:728)
         at com.hp.edot.service.bats.tsservice.TsServiceBeanEOImpl.service(TsServiceBeanEOImpl.java:237)
         at com.citr.decade.b2b.serviceconnector.ServiceConnectorExecutorEJB$DocumentExecutor.execute(ServiceConnectorExecutorEJB.java:179)
         at com.citr.decade.b2b.serviceconnector.ServiceConnectorExecutorEJB.execute(ServiceConnectorExecutorEJB.java:461)
         at com.citr.decade.b2b.serviceconnector.ServiceConnectorBase.serviceServiceRequest(ServiceConnectorBase.java:419)
         at com.citr.decade.b2b.serviceconnector.ServiceConnectorBase.service(ServiceConnectorBase.java:173)
         at com.citr.decade.b2b.serviceconnector.ServiceConnectorBean.service(ServiceConnectorBean.java:605)
         at com.citr.decade.b2b.serviceconnector.ServiceConnectorBeanEOImpl.service(ServiceConnectorBeanEOImpl.java:108)
         at com.hp.edot.servlet.ProcessServlet.doPost(ProcessServlet.java:538)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:772)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:106)
         at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:907)
         at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:851)
         at weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:252)
         at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:364)
         at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:252)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)
    "ExecuteThread-0" daemon prio=5 tid=0x7b9f20 nid=0x10f waiting
    on monitor [0x19bef000..0x19befdc8]
         at java.lang.Object.wait(Native Method)
         at java.lang.Object.wait(Object.java:420)
         at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:99)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:126)
    "TimeEventGenerator" daemon prio=5 tid=0x7cd030 nid=0x5e waiting
    on monitor [0x19b6f000..0x19b6fdc8]
         at java.lang.Object.wait(Native Method)
         at weblogic.time.common.internal.TimeTable.snooze(TimeTable.java:279)
         at weblogic.time.common.internal.TimeEventGenerator.run(TimeEventGenerator.java:141)
         at java.lang.Thread.run(Thread.java:484)
    "SpinnerRandomSource" daemon prio=5 tid=0x7cc910 nid=0x101 waiting
    on monitor [0x19aef000..0x19aefdc8]
         at java.lang.Object.wait(Native Method)
         at java.lang.Object.wait(Object.java:420)
         at weblogic.security.SpinnerThread.stopSpinning(SpinnerRandomBitsSource.java:104)
         at weblogic.security.SpinnerThread.run(SpinnerRandomBitsSource.java:121)
    "Signal Dispatcher" daemon prio=10 tid=0x76aaa0 nid=0x4c waiting
    on monitor [0..0]
    "Finalizer" daemon prio=9 tid=0x767f20 nid=0x149 waiting on monitor
    [0x14e4f000..0x14e4fdc8]
         at java.lang.Object.wait(Native Method)
         at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:108)
         at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:123)
         at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:162)
    "Reference Handler" daemon prio=10 tid=0x766c50 nid=0x144 waiting
    on monitor [0x14e0f000..0x14e0fdc8]
         at java.lang.Object.wait(Native Method)
         at java.lang.Object.wait(Object.java:420)
         at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:110)
    "main" prio=5 tid=0x7627e0 nid=0x124 waiting on monitor [0x6f000..0x6fc3c]
         at java.lang.Object.wait(Native Method)
         at java.lang.Object.wait(Object.java:420)
         at weblogic.t3.srvr.T3Srvr.waitForDeath(T3Srvr.java:1803)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.Server.startServerDynamically(Server.java:107)
         at weblogic.Server.main(Server.java:65)
         at weblogic.Server.main(Server.java:55)
    "VM Thread" prio=5 tid=0x765f30 nid=0xc1 runnable
    "VM Periodic Task Thread" prio=10 tid=0x769560 nid=0x120 waiting
    on monitor

    To use the XA feature, you would need a version 8.1.6 or later Oracle database with JServer option.
    http://technet.oracle.com/doc/oracle8i_816/java.816/a81354/xadistra.htm#1056354

  • Tomcat problems

    i had install 2 tomcat
    tomcat4.1.27 and tomcat 5.0.27
    and a apache1.3.1
    and has organized the apache1.3.1 and tomcat 4.1.27
    and wanna to join tomcat5.0.27 together with apache1.3.1
    situation is :
    now : tomcat4..27+apache1.3.1 tomcat5.0.27
    purpose is:tomcat4.1.27+apache1.3.1+tomcat5.0.27
    how to do this?
    if i install apache2.0, will the install program modify the linux's core?
    if i install apache2.0, can it make sure the apache1.3.1+tomcat4.1.27work well?
    can it be a constructure like this:
    apache1.3.1+tomcat4.1.27+apache2.0+tomcat5.0.27
    or tomcat4.1.27+apache1.3.1+tomcat5.0.27
    when only have tomcat ,the memory is always very large more than 110M,
    but after 110M,the tomcat will be deadlock.
    so i separate some webpages to tomcat 5.0.27,but 4.1.27 must work together with 5.0.27,can the both tomcat join with apache1.3.1?

    you need to read some documentation on the JK connectors. you would need to configure each tomcat on different AJP/HTTP ports and then create JK URI mappings to point certain requests at the 2 tomcats.
    yes you can do all this and you need to read the JK documentation @ jakarta.apache.org

  • Tomcat 4.1.18 Capacity?

    Can anyone give me an idea when I will begin to experience system slow down and/or crashes running Tomcat 4.1.18 . Tomcat is running stand-alone on a Sun Solaris box which has four processors and, I beileve, two gigs of memory. The database is Oracle. On a 'heavy' day, the system handles 10, 000 requests but I'm wondering how many transacations can be processed per hour before issues arrise. I belive it's tied to memory but any comments are greatly appreciated.
    Thanks!

    1:
    thats a very powerful system you have, any problems should only occur
    if you have incorrect program techniques.
    2:
    10,000 requests per day is only a request every 8 seconds
    what is the trafic at peak times?
    how many requests per second?
    3:
    you can set the number of processes that tomcat uses.
    this is the number of threads it creates to handle the workload.
    this will determine the number of requests it can handle per hour.
    4:
    i would recommend upgrading to tomcat 5.5 as this is the latest version
    with bug fixes and security.
    it also uses java 1.5 which is meant to be the most scalable version of java.
    5:
    the only way to answer your question is for you to perform a stress test on
    your system setup.
    6:
    as long as (your code has no memory leaks or deadlocks) and (you set the
    number of processors to a sufficient number) the only factor influncing the
    performance of your app is the server memory capacity.
    7:
    some useful links
    http://www.google.ie/search?q=tomcat+performance+tuning

  • Javamail deadlock

    Please help me.
    I have searched everywhere in this forum but I got no answer to my problem so I have decided to make a new post.
    I have been getting this error for a 8days now. I am trying to send an email using Javamail API but Transport.send() and(or) Transport.sendMessage() leads to a deadlock. This is a web application. when the client submits a feedback we would like to send him an email confirmation. But then that page keep running forever. I have tried all but nothing works for me. The weird is that when I turn off tomcat the message is delivered.
    Here is the code
    public class MailUtil
    public static void sendMail(String to, String from,
    String subject, String body, boolean bodyIsHTML)
    throws MessagingException
    // 1 - get a mail session
    //Properties props = new Properties();
    Properties props = System.getProperties();
    props.put("mail.transport.protocol", "smtp");
    props.put("mail.smtp.host", smtpserver)
    props.put("mail.smtp.port", 2525);
    props.put("mail.smtp.auth", "true");
    props.put("mail.smtp.connectiontimeout","20000");
    props.put("mail.smtp.timeout","40000");
    props.put("mail.smtp.quitwait", "false");
    // create some properties and get the default Session
    Session session = Session.getInstance(props, new Authenticator() {
    public PasswordAuthentication getPasswordAuthentication() {    
    return new PasswordAuthentication(authemail, authpassword);
    session.setDebug(true);
    // 2 - create a message
    Message message = new MimeMessage(session);
    java.util.Date today=new java.util.Date();
    message.setSentDate(today);
    message.setSubject(subject);
    if (bodyIsHTML)
    message.setContent(body, "text/html");
    else
    message.setText(body);
    // 3 - address the message
    message.setFrom(new InternetAddress(from));
    message.setRecipient(Message.RecipientType.TO, new InternetAddress(to));
    // 4 - send the message
    Transport.send(message);
    this how I called it: MailUtil.sendMail(to, from, subject, body, isBodyHTML);
    props.put("mail.smtp.connectiontimeout","20000");
    props.put("mail.smtp.timeout","40000");
    props.put("mail.smtp.quitwait", "false");
    was just to see if the problem will be solved but no way
    Please help me

    Crossposted in the JavaMail forum : [http://forums.sun.com/thread.jspa?threadID=5399984&tstart=0]

  • Problem with JNI and Tomcat (and threads???)

    Howdy,
    Here is the issue - I would like some help on HOW to debug and fix this problem:
    2 test use cases -
    1)
    a)User goes to Login.jsp, enters user and password
    b) User submits to LoginServlet
    c) login calls JNI code that connects to a powerbuilder(Yes I know this is ugly) PBNI code module (this is a .dll) that authenticates the user with the database
    d) the servlet then redirects to another .jsp page
    e) user then submits to LogoutServlet - also a JNI call to a powerbuilder PBNI code module
    f) REPEAT STEPS a-e over a few times (inconsistent) and then the call to the JNI code hangs
    2)
    a) users does NOT goto Login.jsp, but rather calls LoginServlet and passes the userid and password as GET parms
    b) user does NOT get redirected to a page (redirect code commented out)
    c) user calls LogoutServlet
    d) repeat steps a-c at will and no failure, no hanging
    The only difference is that in case 1 (with JSP), there is a redirect and it afffected the JNI call by haniging inside JNI code.
    In case 2 (without JSP) there is still a JNI call, but it does not hang. In addition, when it hangs and I stop Tomcat, the logs show cleanup entries that say:
    Oct 19, 2004 9:17:09 AM org.apache.catalina.core.StandardWrapper unload
    INFO: Waiting for 1 instance(s) to be deallocated
    Oct 19, 2004 9:17:10 AM org.apache.catalina.core.StandardWrapper unload
    INFO: Waiting for 1 instance(s) to be deallocated
    Oct 19, 2004 9:17:11 AM org.apache.catalina.core.StandardWrapper unload
    INFO: Waiting for 1 instance(s) to be deallocated
    Is this a threading issue in Tomcat???
    On would assume that the JNI code is not cleaning up after itself, but I don't believe this is the case,
    and even if it was, why would I get the tomcat log cleanup entries above???
    What do those cleanup entries imply about the state of Tomcat????

    hi ,
    I met the same problem this morning, and searched the www.google.com in order to solve it, as a result, your article was shown on my screen. :)
    Till now I have read some technical information and solved my problems. Maybe the solution be useful to you:
    ==============================
    error message : (Environment : Tomcat 5, Windows 2003, Mysql5)
    2006-3-29 11:53:48 org.apache.catalina.core.StandardWrapper unload
    message: Waiting for 2 instance(s) to be deallocated
    ==============================
    cause: the number of connection to database exceeded.another word,too many connections.
    ==============================
    solution: close the connection when it becomes useless for your program. :)
    ==============================
    ps. Sorry for my weak English . hehe ....

  • Web Service Security is not working when migrating application from Tomcat

    Hi,
    We have a application running successfully in tomcat6 It calls a Webservice call through TIBCO BW interface.
    When we deployed the same WAR file in Weblogic 10.3.2, it gives me a error on Prefix[ds] not able to locate namespace URI not found error.
    IN Tomcat, its a existing application uses AxilUtility to get the soap messages after signing document for bothe encyption and decryption.
    Please anybody help me out, is there any other jars needs to be locate in Weblogic to run this application. Its fine with Tomcat and gives error in Weblogic10.3.2
    Please help me out
    Thanks in advance

    Hi Rajkumar,
    Thanks for you reply. Please let me now if you have any ideas..thnks a lot....
    Below is the error message what i am getting through weblogic console.
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppS
    ervletContext.java:2202)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletC
    ontext.java:2108)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.j
    ava:1432)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: java.io.IOException: error:weblogic.xml.stream.XMLStreamException: Pr
    efix [ds] used without binding it to a namespace URI
    at weblogic.xml.xmlnode.XMLNode.read(XMLNode.java:744)
    at weblogic.xml.xmlnode.XMLNode.readChildren(XMLNode.java:1054)
    at weblogic.xml.xmlnode.XMLNode.read(XMLNode.java:742)
    at weblogic.xml.xmlnode.XMLNode.readChildren(XMLNode.java:1054)
    at weblogic.xml.xmlnode.XMLNode.read(XMLNode.java:742)
    at weblogic.xml.xmlnode.XMLNode.readChildren(XMLNode.java:1054)
    at weblogic.xml.xmlnode.XMLNode.read(XMLNode.java:742)
    at weblogic.xml.xmlnode.XMLNode.readInternal(XMLNode.java:713)
    at weblogic.xml.xmlnode.XMLNode.readInternal(XMLNode.java:722)
    at weblogic.xml.xmlnode.NodeBuilder.build(NodeBuilder.java:44)
    at weblogic.xml.xmlnode.NodeBuilder.<init>(NodeBuilder.java:24)
    at weblogic.webservice.core.soap.SOAPEnvelopeImpl.<init>(SOAPEnvelopeImp
    l.java:154)
    at weblogic.webservice.core.soap.SOAPPartImpl.getEnvelope(SOAPPartImpl.j
    ava:200)
    ... 78 more
    java.lang.NullPointerException
    at java.io.ByteArrayInputStream.<init>(ByteArrayInputStream.java:89)
    at com.db.alat.wss.WSSClient.postSoapMessage(WSSClient.java:358)
    at com.db.alat.wss.WSSClient.WSSEncDec(WSSClient.java:102)
    at com.db.alat.service.CollateralAccounts.getAccountsSummary(CollateralA
    ccounts.java:55)
    at com.db.alat.CH.CHMapper.getGroup(CHMapper.java:281)
    at com.db.alat.BackingBeans.BorrowerDetailsBean.getClientDataCH(Borrower
    DetailsBean.java:1034)
    at com.db.alat.BackingBeans.BorrowerDetailsBean.<init>(BorrowerDetailsBe
    an.java:766)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
    orAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
    onstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at java.lang.Class.newInstance0(Class.java:355)
    at java.lang.Class.newInstance(Class.java:308)
    at com.sun.faces.mgbean.BeanBuilder.newBeanInstance(BeanBuilder.java:186
    at com.sun.faces.mgbean.BeanBuilder.build(BeanBuilder.java:106)
    at com.sun.faces.mgbean.BeanManager.createAndPush(BeanManager.java:368)
    at com.sun.faces.mgbean.BeanManager.create(BeanManager.java:222)
    at com.sun.faces.el.ManagedBeanELResolver.getValue(ManagedBeanELResolver
    .java:86)
    at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:143)
    at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELRe
    solver.java:72)
    at com.sun.el.parser.AstIdentifier.getValue(AstIdentifier.java:68)
    at com.sun.el.parser.AstValue.getValue(AstValue.java:107)
    at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192)
    And i have the loggers which gives the system out statements. You can identify the difference in both logs is the sys out ...Convert Signed Document back to Soap Message.
    IN tomcat i am getting the return object after calling the method
    SOAPMessage signedMsg = (SOAPMessage) AxisUtil.toSOAPMessage(signedDoc);
    But in Weblogic i am getting NULL. You can c in SOAPMessageImpl[SOAPPartImpl[null]]
    Tomocat Logs:
    Message Context..................1.........................org.apache.axis.MessageContext@c393a1
    2011-04-21 05:35:56,906 8672 INFO [com.db.alat.wss.WSSClient] (http-8080-1:) Unsigned Envelop............2.........................<?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Header/><SOAP-ENV:Body><RqDetail xmlns="http://schemas.db.com/esb/emf/pwm/ALAT/Services/CLIENT-getCandidateCollateralAccounts-RR" xmlns:cli="http://schemas.db.com/esb/emf/pwm/ClientElements" xmlns:com="http://schemas.db.com/esb/emf/pwm/CommonAggregates" xmlns:com1="http://schemas.db.com/esb/emf/pwm/CommonElements">
    <cli:ClientID BusinessUnit="CH">7cf8e78f86212a65398d50766de95a762318d3eee1350c1105d4b751825a690b</cli:ClientID>
    <cli:ClientType>B</cli:ClientType>
    <com:Field>
    <com1:Name>INITIALPAGE</com1:Name>
    <com1:Value>YES</com1:Value>
    </com:Field>
    </RqDetail></SOAP-ENV:Body></SOAP-ENV:Envelope>
    2011-04-21 05:35:56,906 8672 INFO [com.db.alat.wss.WSSClient] (http-8080-1:) DOCUMENT is .......:[#document: null]
    2011-04-21 05:35:56,906 8672 INFO [com.db.alat.wss.WSSClient] (http-8080-1:) KEYSTORE is .......:java.security.KeyStore@127fa03
    2011-04-21 05:35:57,078 8844 INFO [com.db.alat.wss.WSSClient] (http-8080-1:) ..................................3.........................
    2011-04-21 05:35:57,094 8860 INFO [com.db.alat.wss.WSSClient] (http-8080-1:) ..................................4.........................
    2011-04-21 05:35:57,297 9063 INFO [com.db.alat.wss.WSSClient] (http-8080-1:) Signed Document is .......:[#document: null]
    2011-04-21 05:35:57,437 9203 INFO [com.db.alat.wss.WSSClient] (http-8080-1:) Convert Signed Document back to Soap Message .......:[email protected]33662
    2011-04-21 05:35:57,469 9235 INFO [com.db.alat.wss.WSSClient] (http-8080-1:) ..................................5.........................
    Weblogic Logs:
    Message Context..................1.........................org.apache.axis.MessageContext@460d4
    2011-04-26 01:15:45,859 2640 INFO [com.db.alat.wss.WSSClient] ([ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)':) Unsigned Envelop............2.........................<?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Header/><SOAP-ENV:Body><RqDetail xmlns="http://schemas.db.com/esb/emf/pwm/ALAT/Services/CLIENT-getCandidateCollateralAccounts-RR" xmlns:cli="http://schemas.db.com/esb/emf/pwm/ClientElements" xmlns:com="http://schemas.db.com/esb/emf/pwm/CommonAggregates" xmlns:com1="http://schemas.db.com/esb/emf/pwm/CommonElements">
    <cli:ClientID BusinessUnit="CH">2b285aa27f1899d87de00f04099506ad24aaf1c18b0b6b071a8acd19b1732fb9</cli:ClientID>
    <cli:ClientType>B</cli:ClientType>
    <com:Field>
    <com1:Name>INITIALPAGE</com1:Name>
    <com1:Value>YES</com1:Value>
    </com:Field>
    </RqDetail></SOAP-ENV:Body></SOAP-ENV:Envelope>
    2011-04-26 01:15:45,875 2656 INFO [com.db.alat.wss.WSSClient] ([ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)':) DOCUMENT is .......:[#document: null]
    2011-04-26 01:15:45,875 2656 INFO [com.db.alat.wss.WSSClient] ([ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)':) KEYSTORE is .......:java.security.KeyStore@167d3c4
    2011-04-26 01:15:45,984 2765 INFO [com.db.alat.wss.WSSClient] ([ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)':) ..................................3.........................
    2011-04-26 01:15:46,016 2797 INFO [com.db.alat.wss.WSSClient] ([ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)':) ..................................4.........................
    2011-04-26 01:15:46,234 3015 INFO [com.db.alat.wss.WSSClient] ([ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)':) Signed Document is .......:[#document: null]
    2011-04-26 01:15:46,313 3094 INFO [com.db.alat.wss.WSSClient] ([ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)':) Convert Signed Document back to Soap Message .......:SOAPMessageImpl[SOAPPartImpl[null]]
    2011-04-26 01:15:46,328 3109 INFO [com.db.alat.wss.WSSClient] ([ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)':) ..................................5.........................

  • URgent !!!!!!!!! How do i add information to server.xml of tomcat

    Hi ,
    I want to add the conext information to my server.xml of tomcat for my hibernate configuration.....
    the conext information is as follows ....
    <Context path="/quickstart" docBase="quickstart">
    <Resource name="jdbc/quickstart" scope="Shareable" type="javax.sql.DataSource"/>
    <ResourceParams name="jdbc/quickstart">
    <parameter>
    <name>factory</name>
    <value>org.apache.commons.dbcp.BasicDataSourceFactory</value>
    </parameter>
    <!-- DBCP database connection settings -->
    <parameter>
    <name>url</name>
    <value>jdbc:postgresql://localhost/quickstart</value>
    </parameter>
    <parameter>
    <name>driverClassName</name><value>org.postgresql.Driver</value>
    </parameter>
    <parameter>
    <name>username</name>
    <value>quickstart</value>
    </parameter>
    <parameter>
    <name>password</name>
    <value>secret</value>
    </parameter>
    <!-- DBCP connection pooling options -->
    <parameter>
    <name>maxWait</name>
    <value>3000</value>
    </parameter>
    <parameter>
    <name>maxIdle</name>
    <value>100</value>
    </parameter>
    <parameter>
    <name>maxActive</name>
    <value>10</value>
    </parameter>
    </ResourceParams>
    </Context>
    Where in my server.xml should i put
    the server.xml looks like this :
    <!-- Example Server Configuration File -->
    <!-- Note that component elements are nested corresponding to their
    parent-child relationships with each other -->
    <!-- A "Server" is a singleton element that represents the entire JVM,
    which may contain one or more "Service" instances. The Server
    listens for a shutdown command on the indicated port.
    Note: A "Server" is not itself a "Container", so you may not
    define subcomponents such as "Valves" or "Loggers" at this level.
    -->
    <Server port="8005" shutdown="SHUTDOWN">
    <!-- Comment these entries out to disable JMX MBeans support used for the
    administration web application -->
    <Listener className="org.apache.catalina.core.AprLifecycleListener" />
    <Listener className="org.apache.catalina.mbeans.ServerLifecycleListener" />
    <Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" />
    <Listener className="org.apache.catalina.storeconfig.StoreConfigLifecycleListener"/>
    <!-- Global JNDI resources -->
    <GlobalNamingResources>
    <!-- Test entry for demonstration purposes -->
    <Environment name="simpleValue" type="java.lang.Integer" value="30"/>
    <!-- Editable user database that can also be used by
    UserDatabaseRealm to authenticate users -->
    <Resource name="UserDatabase" auth="Container"
    type="org.apache.catalina.UserDatabase"
    description="User database that can be updated and saved"
    factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
    pathname="conf/tomcat-users.xml" />
    </GlobalNamingResources>
    <!-- A "Service" is a collection of one or more "Connectors" that share
    a single "Container" (and therefore the web applications visible
    within that Container). Normally, that Container is an "Engine",
    but this is not required.
    Note: A "Service" is not itself a "Container", so you may not
    define subcomponents such as "Valves" or "Loggers" at this level.
    -->
    <!-- Define the Tomcat Stand-Alone Service -->
    <Service name="Catalina">
    <!-- A "Connector" represents an endpoint by which requests are received
    and responses are returned. Each Connector passes requests on to the
    associated "Container" (normally an Engine) for processing.
    By default, a non-SSL HTTP/1.1 Connector is established on port 8080.
    You can also enable an SSL HTTP/1.1 Connector on port 8443 by
    following the instructions below and uncommenting the second Connector
    entry. SSL support requires the following steps (see the SSL Config
    HOWTO in the Tomcat 5 documentation bundle for more detailed
    instructions):
    * If your JDK version 1.3 or prior, download and install JSSE 1.0.2 or
    later, and put the JAR files into "$JAVA_HOME/jre/lib/ext".
    * Execute:
    %JAVA_HOME%\bin\keytool -genkey -alias tomcat -keyalg RSA (Windows)
    $JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA (Unix)
    with a password value of "changeit" for both the certificate and
    the keystore itself.
    By default, DNS lookups are enabled when a web application calls
    request.getRemoteHost(). This can have an adverse impact on
    performance, so you can disable it by setting the
    "enableLookups" attribute to "false". When DNS lookups are disabled,
    request.getRemoteHost() will return the String version of the
    IP address of the remote client.
    -->
    <!-- Define a non-SSL HTTP/1.1 Connector on port 8080 -->
    <Connector
    port="8080" maxHttpHeaderSize="8192"
    maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
    enableLookups="false" redirectPort="8443" acceptCount="100"
    connectionTimeout="20000" disableUploadTimeout="true" />
    <!-- Note : To disable connection timeouts, set connectionTimeout value
    to 0 -->
         <!-- Note : To use gzip compression you could set the following properties :
                   compression="on"
                   compressionMinSize="2048"
                   noCompressionUserAgents="gozilla, traviata"
                   compressableMimeType="text/html,text/xml"
         -->
    <!-- Define a SSL HTTP/1.1 Connector on port 8443 -->
    <!--
    <Connector port="8443" maxHttpHeaderSize="8192"
    maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
    enableLookups="false" disableUploadTimeout="true"
    acceptCount="100" scheme="https" secure="true"
    clientAuth="false" sslProtocol="TLS" />
    -->
    <!-- Define an AJP 1.3 Connector on port 8009 -->
    <Connector port="8009"
    enableLookups="false" redirectPort="8443" protocol="AJP/1.3" />
    <!-- Define a Proxied HTTP/1.1 Connector on port 8082 -->
    <!-- See proxy documentation for more information about using this. -->
    <!--
    <Connector port="8082"
    maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
    enableLookups="false" acceptCount="100" connectionTimeout="20000"
    proxyPort="80" disableUploadTimeout="true" />
    -->
    <!-- An Engine represents the entry point (within Catalina) that processes
    every request. The Engine implementation for Tomcat stand alone
    analyzes the HTTP headers included with the request, and passes them
    on to the appropriate Host (virtual host). -->
    <!-- You should set jvmRoute to support load-balancing via AJP ie :
    <Engine name="Standalone" defaultHost="localhost" jvmRoute="jvm1">
    -->
    <!-- Define the top level container in our container hierarchy -->
    <Engine name="Catalina" defaultHost="localhost">
    <!-- The request dumper valve dumps useful debugging information about
    the request headers and cookies that were received, and the response
    headers and cookies that were sent, for all requests received by
    this instance of Tomcat. If you care only about requests to a
    particular virtual host, or a particular application, nest this
    element inside the corresponding <Host> or <Context> entry instead.
    For a similar mechanism that is portable to all Servlet 2.4
    containers, check out the "RequestDumperFilter" Filter in the
    example application (the source for this filter may be found in
    "$CATALINA_HOME/webapps/examples/WEB-INF/classes/filters").
    Request dumping is disabled by default. Uncomment the following
    element to enable it. -->
    <!--
    <Valve className="org.apache.catalina.valves.RequestDumperValve"/>
    -->
    <!-- Because this Realm is here, an instance will be shared globally -->
    <!-- This Realm uses the UserDatabase configured in the global JNDI
    resources under the key "UserDatabase". Any edits
    that are performed against this UserDatabase are immediately
    available for use by the Realm. -->
    <Realm className="org.apache.catalina.realm.UserDatabaseRealm"
    resourceName="UserDatabase"/>
    <!-- Comment out the old realm but leave here for now in case we
    need to go back quickly -->
    <!--
    <Realm className="org.apache.catalina.realm.MemoryRealm" />
    -->
    <!-- Replace the above Realm with one of the following to get a Realm
    stored in a database and accessed via JDBC -->
    <!--
    <Realm className="org.apache.catalina.realm.JDBCRealm"
    driverName="org.gjt.mm.mysql.Driver"
    connectionURL="jdbc:mysql://localhost/authority"
    connectionName="test" connectionPassword="test"
    userTable="users" userNameCol="user_name" userCredCol="user_pass"
    userRoleTable="user_roles" roleNameCol="role_name" />
    -->
    <!--
    <Realm className="org.apache.catalina.realm.JDBCRealm"
    driverName="oracle.jdbc.driver.OracleDriver"
    connectionURL="jdbc:oracle:thin:@ntserver:1521:ORCL"
    connectionName="scott" connectionPassword="tiger"
    userTable="users" userNameCol="user_name" userCredCol="user_pass"
    userRoleTable="user_roles" roleNameCol="role_name" />
    -->
    <!--
    <Realm className="org.apache.catalina.realm.JDBCRealm"
    driverName="sun.jdbc.odbc.JdbcOdbcDriver"
    connectionURL="jdbc:odbc:CATALINA"
    userTable="users" userNameCol="user_name" userCredCol="user_pass"
    userRoleTable="user_roles" roleNameCol="role_name" />
    -->
    <!-- Define the default virtual host
    Note: XML Schema validation will not work with Xerces 2.2.
    -->
    <Host name="localhost" appBase="webapps"
    unpackWARs="true" autoDeploy="true"
    xmlValidation="false" xmlNamespaceAware="false">
    <!-- Defines a cluster for this node,
    By defining this element, means that every manager will be changed.
    So when running a cluster, only make sure that you have webapps in there
    that need to be clustered and remove the other ones.
    A cluster has the following parameters:
    className = the fully qualified name of the cluster class
    name = a descriptive name for your cluster, can be anything
    mcastAddr = the multicast address, has to be the same for all the nodes
    mcastPort = the multicast port, has to be the same for all the nodes
    mcastBindAddr = bind the multicast socket to a specific address
    mcastTTL = the multicast TTL if you want to limit your broadcast
    mcastSoTimeout = the multicast readtimeout
    mcastFrequency = the number of milliseconds in between sending a "I'm alive" heartbeat
    mcastDropTime = the number a milliseconds before a node is considered "dead" if no heartbeat is received
    tcpThreadCount = the number of threads to handle incoming replication requests, optimal would be the same amount of threads as nodes
    tcpListenAddress = the listen address (bind address) for TCP cluster request on this host,
    in case of multiple ethernet cards.
    auto means that address becomes
    InetAddress.getLocalHost().getHostAddress()
    tcpListenPort = the tcp listen port
    tcpSelectorTimeout = the timeout (ms) for the Selector.select() method in case the OS
    has a wakup bug in java.nio. Set to 0 for no timeout
    printToScreen = true means that managers will also print to std.out
    expireSessionsOnShutdown = true means that
    useDirtyFlag = true means that we only replicate a session after setAttribute,removeAttribute has been called.
    false means to replicate the session after each request.
    false means that replication would work for the following piece of code: (only for SimpleTcpReplicationManager)
    <%
    HashMap map = (HashMap)session.getAttribute("map");
    map.put("key","value");
    %>
    replicationMode = can be either 'pooled', 'synchronous' or 'asynchronous'.
    * Pooled means that the replication happens using several sockets in a synchronous way. Ie, the data gets replicated, then the request return. This is the same as the 'synchronous' setting except it uses a pool of sockets, hence it is multithreaded. This is the fastest and safest configuration. To use this, also increase the nr of tcp threads that you have dealing with replication.
    * Synchronous means that the thread that executes the request, is also the
    thread the replicates the data to the other nodes, and will not return until all
    nodes have received the information.
    * Asynchronous means that there is a specific 'sender' thread for each cluster node,
    so the request thread will queue the replication request into a "smart" queue,
    and then return to the client.
    The "smart" queue is a queue where when a session is added to the queue, and the same session
    already exists in the queue from a previous request, that session will be replaced
    in the queue instead of replicating two requests. This almost never happens, unless there is a
    large network delay.
    -->
    <!--
    When configuring for clustering, you also add in a valve to catch all the requests
    coming in, at the end of the request, the session may or may not be replicated.
    A session is replicated if and only if all the conditions are met:
    1. useDirtyFlag is true or setAttribute or removeAttribute has been called AND
    2. a session exists (has been created)
    3. the request is not trapped by the "filter" attribute
    The filter attribute is to filter out requests that could not modify the session,
    hence we don't replicate the session after the end of this request.
    The filter is negative, ie, anything you put in the filter, you mean to filter out,
    ie, no replication will be done on requests that match one of the filters.
    The filter attribute is delimited by ;, so you can't escape out ; even if you wanted to.
    filter=".*\.gif;.*\.js;" means that we will not replicate the session after requests with the URI
    ending with .gif and .js are intercepted.
    The deployer element can be used to deploy apps cluster wide.
    Currently the deployment only deploys/undeploys to working members in the cluster
    so no WARs are copied upons startup of a broken node.
    The deployer watches a directory (watchDir) for WAR files when watchEnabled="true"
    When a new war file is added the war gets deployed to the local instance,
    and then deployed to the other instances in the cluster.
    When a war file is deleted from the watchDir the war is undeployed locally
    and cluster wide
    -->
    <!--
    <Cluster className="org.apache.catalina.cluster.tcp.SimpleTcpCluster"
    managerClassName="org.apache.catalina.cluster.session.DeltaManager"
    expireSessionsOnShutdown="false"
    useDirtyFlag="true"
    notifyListenersOnReplication="true">
    <Membership
    className="org.apache.catalina.cluster.mcast.McastService"
    mcastAddr="228.0.0.4"
    mcastPort="45564"
    mcastFrequency="500"
    mcastDropTime="3000"/>
    <Receiver
    className="org.apache.catalina.cluster.tcp.ReplicationListener"
    tcpListenAddress="auto"
    tcpListenPort="4001"
    tcpSelectorTimeout="100"
    tcpThreadCount="6"/>
    <Sender
    className="org.apache.catalina.cluster.tcp.ReplicationTransmitter"
    replicationMode="pooled"
    ackTimeout="15000"/>
    <Valve className="org.apache.catalina.cluster.tcp.ReplicationValve"
    filter=".*\.gif;.*\.js;.*\.jpg;.*\.htm;.*\.html;.*\.txt;"/>
    <Deployer className="org.apache.catalina.cluster.deploy.FarmWarDeployer"
    tempDir="/tmp/war-temp/"
    deployDir="/tmp/war-deploy/"
    watchDir="/tmp/war-listen/"
    watchEnabled="false"/>
    </Cluster>
    -->
    <!-- Normally, users must authenticate themselves to each web app
    individually. Uncomment the following entry if you would like
    a user to be authenticated the first time they encounter a
    resource protected by a security constraint, and then have that
    user identity maintained across all web applications contained
    in this virtual host. -->
    <!--
    <Valve className="org.apache.catalina.authenticator.SingleSignOn" />
    -->
    <!-- Access log processes all requests for this virtual host. By
    default, log files are created in the "logs" directory relative to
    $CATALINA_HOME. If you wish, you can specify a different
    directory with the "directory" attribute. Specify either a relative
    (to $CATALINA_HOME) or absolute path to the desired directory.
    -->
    <!--
    <Valve className="org.apache.catalina.valves.AccessLogValve"
    directory="logs" prefix="localhost_access_log." suffix=".txt"
    pattern="common" resolveHosts="false"/>
    -->
    <!-- Access log processes all requests for this virtual host. By
    default, log files are created in the "logs" directory relative to
    $CATALINA_HOME. If you wish, you can specify a different
    directory with the "directory" attribute. Specify either a relative
    (to $CATALINA_HOME) or absolute path to the desired directory.
    This access log implementation is optimized for maximum performance,
    but is hardcoded to support only the "common" and "combined" patterns.
    -->
    <!--
    <Valve className="org.apache.catalina.valves.FastCommonAccessLogValve"
    directory="logs" prefix="localhost_access_log." suffix=".txt"
    pattern="common" resolveHosts="false"/>
    -->
    </Host>
    </Engine>
    </Service>
    </Server>
    Can Some one Help me pleaseeeeee

    Please don't cross-post in multiple forums. I have answered
    this in your other thread.

Maybe you are looking for

  • How to play a symbol ONCE at a specific scroll position?

    Hello there, I was wondering if it's possible to trigger a symbol to play when a user scrolls past a specific scroll point just once? I've managed to create a trigger for a symbol which will fire at a specific scroll position but it fires multiple ti

  • How do I stop Firefox from signing me out of my ISP when I close it?

    Firefox signs me out of my ISP when I close it. I have tried resetting it and changing the "clear recent history" tool to not clear active logins.

  • How does one turn off the appletv

    How does one turn off an Apple tv?  I think it's 3d generation.

  • RMAN using OEM

    I have oracle 8i and 9i databases including 9i RAC instances. Planning to setup a 10g instance for centralized RMAN backups on all the above databases. Do i need 10Grid for this functionality ? If yes what are the agent softwares needed on 8i and 9i

  • Global Address Transform: Invalid Option Name

    Hi, Does anyone know how to resolve this error? "Transform <Canada_AddressCleanse>: Global Adress Transform: Invalid Option Name: The option name "DISABLE_CERTIFICATION" is invalid.  Tranform Canada_AddressCleanse: DLL <libgactransformu.so> runtime f