Error running "threads" in jdb.

When I run jdb against WebLogic SP2 running in Sun JVM 1.3.1_02, and I type
the "threads" command to list the running threads, I get this exception:
Group system:
Internal exception:
java.lang.StringIndexOutOfBoundsException
at java.lang.StringBuffer.insert(StringBuffer.java:808)
at
com.sun.tools.example.debug.tty.Commands.printThreadGroup(Commands.ja
va:295)
at
com.sun.tools.example.debug.tty.Commands.commandThreads(Commands.java
:303)
at com.sun.tools.example.debug.tty.TTY.executeCommand(TTY.java:351)
at com.sun.tools.example.debug.tty.TTY.<init>(TTY.java:625)
at com.sun.tools.example.debug.tty.TTY.main(TTY.java:924)
Any ideas?
Thanks,
Bob

When things like this happen, usually the right place to search for an answer
is Sun's bugparade. Searching for 'com.sun.tools.example.debug.tty.Commands.printThreadGroup'
results in:
http://developer.java.sun.com/developer/bugParade/bugs/4432376.html
Bob Lee <[email protected]> wrote:
When I run jdb against WebLogic SP2 running in Sun JVM 1.3.1_02, and I type
the "threads" command to list the running threads, I get this exception:
Group system:
Internal exception:
java.lang.StringIndexOutOfBoundsException
at java.lang.StringBuffer.insert(StringBuffer.java:808)
at
com.sun.tools.example.debug.tty.Commands.printThreadGroup(Commands.ja
va:295)
at
com.sun.tools.example.debug.tty.Commands.commandThreads(Commands.java
:303)
at com.sun.tools.example.debug.tty.TTY.executeCommand(TTY.java:351)
at com.sun.tools.example.debug.tty.TTY.<init>(TTY.java:625)
at com.sun.tools.example.debug.tty.TTY.main(TTY.java:924)
Any ideas?
Thanks,
Bob--
Dimitri

Similar Messages

  • Long running threads (Jasper Reports) and AM-Pooling

    Hi,
    we are developing quite large application with ADF an BC. We have quite a lot of reports generated through Jasper that take quite long time to complete. The result is a PDF document that user gets on the UI so he can download it over download link. Reports that take over an hour to finish are never completed and returned to the user on UI. I think the problem is in AM-Polling because we are using default AM-Polling settings:
    <AM-Pooling jbo.ampool.maxinactiveage="600000" jbo.ampool.monitorsleepinterval="600000" jbo.ampool.timetolive="3600000"/>
    The AM is destroyed or returned to pool before reports finishes. How to properly configure those settings that even long running threads will do there jobs to the end.
    We also modified web.xml as follows:
      <session-config>
        <session-timeout>300</session-timeout>
      </session-config>
    Any help appreciated.
    Regards, Tadej

    Your problem is not related to ADF ApplicationModules. AMs are returned to the pool no earlier than the end of request, so for sure they are not destroyed by the framework while the report is running. The AM timeout settings you are referring to are applicable only to idle AMs in the pool but not to AMs that have been checked out and used by some active request.
    If you are using MS Internet Explorer, then most probably your problem is related to the IE's ReceiveTimeout setting, which defines a timeout for receiving a response from the server. I have had such problems with long running requests (involving DB processing running for more than 1 hour) and solved my problem by increasing this timeout. By default this timeout is as follows:
    IE4 - 5 minutes
    IE5, 6, 7, 8 - 60 minutes
    I cannot find what the default value is for IE9 and IE10, but some people claim it is only 10 seconds, although this information does not sound reasonable and reliable! Anyway, the real value is hardly greater than 60 minutes.
    You should increase the ReceiveTimeout registry value to an appropriate value (greater than the time necessary for your report to complete). Follow the instructions of MS Support here:
    Internet Explorer error &quot;connection timed out&quot; when server does not respond
    I have searched Internet for similar timeout settings for Google Chrome and Mozilla Firefox, but I have not found anything, so I instructed my customers (who execute long-running DB processing) to configure and use IE for these requests.
    Dimitar

  • 500 Internal Server Error running SRList.jsp from ADFBC_tutorial (OTN)

    Hello!
    I am running through the JDeveloper totorial (ADFBC_tutorial) posted on OTN. I have gone as far as Chapter 5 but when I run the SRList.jsp page, I get the 500 Internal Server Error:
    I have had no issues running through the tutorial in the design time but when I run the app I get the following error:
    Error Details are as:
    java.lang.NullPointerException     at javax.faces.webapp.UIComponentTag.isValueReference(UIComponentTag.java:336)     at oracle.adfinternal.view.faces.taglib.AttributeTag.doStartTag(AttributeTag.java:84)     at app.SRList._jspService(_SRList.java:109)     [app/SRList.jsp]     at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.3.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:287)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193)     at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)     at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:346)     at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:152)     at oracle.adfinternal.view.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:157)     at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:107)     at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)     at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:137)     at javax.faces.webapp.FacesServlet.service(FacesServlet.java:214)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)     at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:228)     at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:197)     at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:123)     at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:103)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)     at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)     at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)     at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)     at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)     at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)     at java.lang.Thread.run(Thread.java:595)
    Also, I tried to run the application in debug mode and this is what I find:
    1. Unable to find source file for the package oracle.adfinternal.view.faces.application, filename ViewHandlerImpl.java
    2. Unable to find source file for the package oracle.adfinternal.view.faces.webapp, filename AdfFacesFilterImpl.java
    Am I missing any libraries?
    Thanks!

    Hi,
    if you used a starter workspace then make sure that the adf-faces-impl.jar file and the jsf-impl.jar file in the WEB-INF/lib directory of the ViewLayer project is from the JDeveloper build you use. In JDeveloper you find the adf-faces-impl.jar in the JDeveloper jlib directory and the jsf-impl.jar in the jsf-ri directory
    Frank

  • Connection refused error running JSP on Jdev 10.1.3.0.3.3412 with MySL 5.0

    Hello,
    I'm using Jdeveloper 10.1.3.0.3.3412 on a Mac with a MySQL database. In Jdeveloper i can make a connection to the database and create adf business components
    I've made a JSP page with ADF on a single table. No errors when compiling. When I try to run the JSP Page using Embedded OC4J (on Mac OSX Tiger) I get the error:
    5/12/09 00:45:50 java.net.ConnectException: Connection refused
    05/12/09 00:45:50      at java.net.PlainSocketImpl.socketConnect(Native Method)
    05/12/09 00:45:50      at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
    05/12/09 00:45:50      at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
    05/12/09 00:45:50      at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
    05/12/09 00:45:50      at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:428)
    05/12/09 00:45:50      at java.net.Socket.connect(Socket.java:507)
    05/12/09 00:45:50      at java.net.Socket.connect(Socket.java:457)
    05/12/09 00:45:50      at java.net.Socket.<init>(Socket.java:365)
    05/12/09 00:45:50      at java.net.Socket.<init>(Socket.java:207)
    05/12/09 00:45:50      at oracle.jdevimpl.runner.oc4j.Oc4jNotifier.sendMessage(Oc4jNotifier.java:98)
    05/12/09 00:45:50      at oracle.jdevimpl.runner.oc4j.Oc4jNotifier.postInitApplicationServer(Oc4jNotifier.java:55)
    05/12/09 00:45:50      at com.evermind.server.ApplicationServer.serverExtensionPostInit(ApplicationServer.java:1041)
    05/12/09 00:45:50      at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:927)
    05/12/09 00:45:50      at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:98)
    05/12/09 00:45:50      at java.lang.Thread.run(Thread.java:613)
    What am I doing wrong? The embedded OC4J library is added to the project. I've tried to use the javac compiler. It looks like the OC4J instance cannot make a connection to the db.
    Thanks,
    Martin

    Hello
    I've added the connection to the web.xml, but still get the same error.
    When I go to embedded OC4J preferences and change the JNDI-names of the datasources (global and current-workspace) to the same name (this was default), i get this error message:
    9-dec-2005 9:30:09 com.evermind.server.ApplicationStateRunning initNativeDataSource
    SEVERE: Error creating native data source. The location 'jdbc/MySQLConnectionCoreDS' is already in use.
    05/12/09 09:30:09 Application: current-workspace-app is in state FAILED
    05/12/09 09:30:09 Error instantiating application 'current-workspace-app' at file:/Users/martinsuijs/jdevhome/mywork/myWorldApp/myWorldApp-oc4j-app.xml: Error creating native data source. The location 'jdbc/MySQLConnectionCoreDS' is already in use.
    05/12/09 09:30:14 java.net.ConnectException: Connection refused
    grtz
    Martin

  • Error running app at 10g 1.3 with MySql driver

    I am beginner of using JDeveloper. When i right click the JSP file i create and click RUN. It show the error mesage like below. Any expert know wat happen?? From what i thought is, it cannot find the driver class, but i already add in the driver in the project library..
    Exception creating connection pool. Exception: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.mysql.jdbc.Driver
    06/12/07 12:15:38 SEVERE: ApplicationStateRunning.initConnector Error occurred initializing connectors. Exception is: Exception creating connection pool. Exception: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.mysql.jdbc.Driver
    06/12/07 12:15:38 SEVERE: ApplicationStateRunning.initConnector Stack trace: oracle.oc4j.sql.DataSourceException: Exception creating connection pool. Exception: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.mysql.jdbc.Driver
         at com.evermind.server.ApplicationStateRunning.initDataSourceConnectionPool(ApplicationStateRunning.java:2072)
         at com.evermind.server.ApplicationStateRunning.initDataSourceConnector(ApplicationStateRunning.java:2017)
         at com.evermind.server.ApplicationStateRunning.initConnector(ApplicationStateRunning.java:1272)
         at com.evermind.server.ApplicationStateRunning.initConnectors(ApplicationStateRunning.java:345)
         at com.evermind.server.ApplicationStateRunning.initializeApplication(ApplicationStateRunning.java:206)
         at com.evermind.server.Application.setConfig(Application.java:413)
         at com.evermind.server.Application.setConfig(Application.java:314)
         at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1853)
         at com.evermind.server.ApplicationServer.initializeDeployedApplications(ApplicationServer.java:1608)
         at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:990)
         at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:131)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: javax.resource.ResourceException: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.mysql.jdbc.Driver
         at oracle.oc4j.sql.spi.ResourceAdapterImpl.createDataSourceConnectionPool(ResourceAdapterImpl.java:106)
         at oracle.oc4j.sql.DataSourceUtils.getDataSourceConnectionPool(DataSourceUtils.java:326)
         at com.evermind.server.ApplicationStateRunning.initDataSourceConnectionPool(ApplicationStateRunning.java:2053)
         ... 11 more
    Caused by: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.mysql.jdbc.Driver
         at oracle.oc4j.sql.config.DataSourceConfigUtils.createConnectionFactory(DataSourceConfigUtils.java:284)
         at oracle.oc4j.sql.DataSourceConnectionPoolImpl.<init>(DataSourceConnectionPoolImpl.java:108)
         at oracle.oc4j.sql.spi.ResourceAdapterImpl.createDataSourceConnectionPool(ResourceAdapterImpl.java:99)
         ... 13 more
    Caused by: oracle.classloader.util.AnnotatedClassNotFoundException:
         Missing class: com.mysql.jdbc.Driver
         Dependent class: oracle.oc4j.sql.config.DataSourceConfigUtils
         Loader: oc4j:10.1.3
         Code-Source: /D:/jdevstudio10131/j2ee/home/lib/oc4j-internal.jar
         Configuration: <code-source> in META-INF/boot.xml in D:\jdevstudio10131\j2ee\home\oc4j.jar
    This load was initiated at current-workspace-app.root:0.0.0 using the Class.forName() method.
    The missing class is not available from any code-source or loader in the system.
         at oracle.classloader.PolicyClassLoader.handleClassNotFound(PolicyClassLoader.java:2078)
         at oracle.classloader.PolicyClassLoader.internalLoadClass(PolicyClassLoader.java:1679)
         at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1635)
         at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1620)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:242)
         at oracle.oc4j.sql.config.DataSourceConfigUtils.createConnectionFactory(DataSourceConfigUtils.java:281)
         ... 15 more

    For non-Oracle database, you need to use the OracleAS release of DataDirect JDBC drivers available from either the OracleAS DC or OracleAS download area.
    Kuassi,
    http://db360.blogspot.com/2006/08/oracle-database-programming-using-java_01.html

  • Error running seeded iExpense Page

    Hi,
    I am trying to run an iExpense page from Jdeveloper, but get the below error:
    (This developer mode error is thrown instead of being registered due to the lack of the page context object.) The OA passivation framework coding standard has been violated. Web bean properties cannot be modified in the controller processFormData or processFormRequest method. Web bean properties should be modified in the processRequest method only. An attempt to modify a web bean has been made in the following call stack: java.lang.Throwable at oracle.apps.fnd.framework.OACommonUtils.getCallStack(OACommonUtils.java:784) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.setAttributeValue(OAWebBeanHelper.java:1778) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.setAttributeValue(OAWebBeanHelper.java:1809) at oracle.apps.fnd.framework.webui.beans.table.OAColumnBean.setAttributeValue(OAColumnBean.java:208) at oracle.cabo.ui.BaseMutableUINode.setRendered(Unknown Source) at oracle.cabo.ui.beans.BaseWebBean.setRendered(Unknown Source) at oracle.apps.ap.oie.entry.accounting.webui.ExpenseAllocationsTblCO.renderErrorColumn(ExpenseAllocationsTblCO.java:184) at oracle.apps.ap.oie.entry.accounting.webui.ExpenseAllocationsPageCO.validateExpenseAllocations(ExpenseAllocationsPageCO.java:165) at oracle.apps.ap.oie.entry.accounting.webui.ExpenseAllocationsPageCO.processFormRequest(ExpenseAllocationsPageCO.java:114) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:804) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363) at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processFormRequest(OAStackLayoutBean.java:370) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1000) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:966) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:821) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363) at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processFormRequest(OAStackLayoutBean.java:370) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1000) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:966) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:821) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363) at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:1156) at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1579) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1000) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:966) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:821) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363) at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(OAFormBean.java:395) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1000) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:966) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:821) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363) at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:363) at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2658) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1665) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:502) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:423) at OA.jspService(OA.jsp:40) at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106) at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803) at java.lang.Thread.run(Thread.java:534)
    I downloaded all the pages under $AP_TOP/mds and all the classes from $JAVA_TOP/oracle/apps/ap , $JAVA_TOP/oracle/apps/fun
    I run HOMEPG and try to "Create an Expense Report". I reach upto step 3 (ExpenseAllocationsPG), but when i select "Next", I get the above error.
    Any pointers? I have NOT changed anything yet.
    Thanks
    Ashish

    Method renderErrorColumn looks fine as it is just modifying the render property which is allowed both in processRequest and processFormRequest .
    See whether renderErrorColumn is getting called from processRequest or processFormRequest ?
    Also check the complete code flow from the stack
    oracle.apps.ap.oie.entry.accounting.webui.ExpenseAllocationsTblCO.renderErrorColumn(ExpenseAllocationsTblCO.java:184) at oracle.apps.ap.oie.entry.accounting.webui.ExpenseAllocationsPageCO.validateExpenseAllocations(ExpenseAllocationsPageCO.java:165) at oracle.apps.ap.oie.entry.accounting.webui.ExpenseAllocationsPageCO.processFormRequest(ExpenseAllocationsPageCO.java:114) at
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • JVM SIGSEGV error running Java 1.5.0_01 on linux

    Three times last week we had the JVM come down hard with a SISSEGV error running our web application. Each crash was on a different machine. The offending thread was always in libnet.so shared library handling either a getHostByAddr() or getLocalHostName() call. I included a portion of one of the JVM dumps below. In the other two cases we are in either an Oracle JDBC driver or a SQL Server JDBC driver (tds).
    We are not able to issolate and reproduce this problem at will. This is happening in our QA environment and we are planning to go to production soon. Any ideas or information would be most helpful.
    We've just decided to upgrade to Java 1.5.0_04 in the hope it might help this problem. Too early to tell if this is making a difference or not.
    The JVM is running Tomcat 5.5.9.
    OS:Red Hat Enterprise Linux AS release 3 (Taroon Update 2)
    vm_info: Java HotSpot(TM) Server VM (1.5.0_01-b08) for linux-x86, built on Dec 6 2004 19:33:50 by java_re with gcc 3.2.1-7a (J2SE release)
    Thanks for your attention.
    --Brad
    first part of jvm dump follows:
    # An unexpected error has been detected by HotSpot Virtual Machine:
    # SIGSEGV (0xb) at pc=0x007737b9, pid=16179, tid=122411952
    # Java VM: Java HotSpot(TM) Server VM (1.5.0_01-b08 mixed mode)
    # Problematic frame:
    # C [libc.so.6+0x797b9] memchr+0x29
    --------------- T H R E A D ---------------
    Current thread (0xb192d0f0): JavaThread "http-80-Processor25" daemon [_thread_in_native, id=16341]
    siginfo:si_signo=11, si_errno=0, si_code=1, si_addr=0xb0bfe0c2
    Registers:
    EAX=0xb0bfe0c2, EBX=0x0082ea98, ECX=0x00000a0a, EDX=0x0a0a0a0a
    ESP=0x074bcae8, EBP=0x074bcb14, ESI=0x00000036, EDI=0x000003e7
    EIP=0x007737b9, CR2=0xb0bfe0c2, EFLAGS=0x00010202
    Top of Stack: (sp=0x074bcae8)
    0x074bcae8: 000003e7 00000036 0075ae2b b0bfe0c2
    0x074bcaf8: 0000000a 00000036 b0bff038 074bcc48
    0x074bcb08: 0082ea98 b2f87428 074bcc48 074bcb38
    0x074bcb18: 0075adb3 b2f87428 074bcc48 000003e7
    0x074bcb28: 0000000a 00000001 00000000 0082ea98
    0x074bcb38: 074bcb64 00763ebb b2f87428 074bcc48
    0x074bcb48: 000003e7 0000000a 00000001 00000000
    0x074bcb58: 0011c3a4 074bcc48 000003e8 074bcbb0
    Instructions: (pc=0x007737b9)
    0x007737a9: 89 d1 c1 e2 10 66 89 ca a8 03 0f 84 cd 00 00 00
    0x007737b9: 38 10 0f 84 67 01 00 00 40 4e 0f 84 3f 01 00 00
    Stack: [0x0747d000,0x074be000), sp=0x074bcae8, free space=254k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    C [libc.so.6+0x797b9] memchr+0x29
    C [libc.so.6+0x60db3] IOgetline+0x43
    C [libc.so.6+0x69ebb] fgets_unlocked+0x5b
    C [libnss_files.so.2+0x4b14] nssfiles_gethostbyaddr_r+0x184
    C [libc.so.6+0xef7ed] gethostbyaddr_r+0xdd
    C [libnet.so+0x5321] Java_java_net_Inet4AddressImpl_getHostByAddr+0x10d
    j java.net.Inet4AddressImpl.getHostByAddr([B)Ljava/lang/String;+0
    j java.net.InetAddress$1.getHostByAddr([B)Ljava/lang/String;+4
    j java.net.InetAddress.getHostFromNameService(Ljava/net/InetAddress;Z)Ljava/lang/String;+7
    j java.net.InetAddress.getHostName(Z)Ljava/lang/String;+10
    j java.net.InetAddress.getHostName()Ljava/lang/String;+2
    j org.apache.coyote.http11.Http11Processor.parseHost(Lorg/apache/tomcat/util/buf/MessageBytes;)V+38
    j org.apache.coyote.http11.Http11Processor.prepareRequest()V+794

    So, we started getting this problem again in production (on 1.5.0_06, even).
    Following up on Dan Paum's report, I dug around a little deeper:
    ~/java/old/java/net$ javap Inet4AddressImpl
    Compiled from "Inet4AddressImpl.java"
    class java.net.Inet4AddressImpl extends java.lang.Object implements java.net.InetAddressImpl{
    java.net.Inet4AddressImpl();
    public native java.lang.String getLocalHostName() throws java.net.UnknownHostException;
    public native byte[][] lookupAllHostAddr(java.lang.String) throws java.net.UnknownHostException;
    public native java.lang.String getHostByAddr(byte[]) throws java.net.UnknownHostException;
    public synchronized java.net.InetAddress anyLocalAddress();
    public synchronized java.net.InetAddress loopbackAddress();
    public boolean isReachable(java.net.InetAddress, int, java.net.NetworkInterface, int) throws java.io.IOException;
    Both anyLocalAddress() and loopbackAddress() are synchronized, but not getLocalHostName(). The native code for getLocalHostName() calls gethostbyaddr_r in lieu of synchronization. gethostbyaddr_r is a non-standard, non-portable call that, judging from a brief trawl through Google, has historically been problematic for multi-platform code.
    I'm guessing this bug is another such problem.
    I extracted Inet4AddressImpl.java from src.zip in the JDK, changed the declaration, compiled, and "updated" the modified version into lib/rt.jar:
    ~/java/new/java/net$ javap Inet4AddressImpl
    Compiled from "Inet4AddressImpl.java"
    class java.net.Inet4AddressImpl extends java.lang.Object implements java.net.InetAddressImpl{
    java.net.Inet4AddressImpl();
    public synchronized native java.lang.String getLocalHostName() throws java.net.UnknownHostException;
    public native byte[][] lookupAllHostAddr(java.lang.String) throws java.net.UnknownHostException;
    public native java.lang.String getHostByAddr(byte[]) throws java.net.UnknownHostException;
    public synchronized java.net.InetAddress anyLocalAddress();
    public synchronized java.net.InetAddress loopbackAddress();
    public boolean isReachable(java.net.InetAddress, int, java.net.NetworkInterface, int) throws java.io.IOException;
    So far, so good. I will stress test this over the next few days, and if it works, I'll open a bug in the bug database to get this fixed.

  • Error running the login sample under the embedded OC4J server

    Does anyone have any ideas why I am getting the following error:
    [Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    C:\JDeveloper10g\jdev\system9.0.5.2.1618\oc4j-config>
    C:\j2sdk1.4.2_04\bin\javaw.exe -client -classpath C:\JDeveloper10g\j2ee\home\oc4j.jar;C:\JDeveloper10g\jdev\lib\jdev-oc4j.jar -Xverify:none -Ddisable.checkForUpdate=true -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doracle.dms.sensors=NONE -Doc4j.jms.usePersistenceLockFiles=false com.evermind.server.OC4JServer -config C:\JDeveloper10g\jdev\system9.0.5.2.1618\oc4j-config\server.xml
    [waiting for the server to complete its initialization...]
    04/08/20 11:12:25 *** (WARNING) Fri Aug 20 11:12:25 CDT 2004 [Thread[Orion Launcher,5,main]] getHostTimePrefix java.net.UnknownHostException: extreme-dev: extreme-dev
    04/08/20 11:12:26 Error creating the ORB :
    04/08/20 11:12:27 java.net.UnknownHostException: extreme-dev: extreme-dev
    04/08/20 11:12:27      at java.net.InetAddress.getLocalHost(InetAddress.java:1191)
    04/08/20 11:12:27      at oracle.jdevimpl.runner.oc4j.Oc4jNotifier.sendMessage(Oc4jNotifier.java:97)
    04/08/20 11:12:27      at oracle.jdevimpl.runner.oc4j.Oc4jNotifier.postInitApplicationServer(Oc4jNotifier.java:55)
    04/08/20 11:12:27      at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1585)
    04/08/20 11:12:27 Oracle Application Server Containers for J2EE 10g (9.0.4.0.0) initialized
    04/08/20 11:12:27      at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:93)
    04/08/20 11:12:27      at java.lang.Thread.run(Thread.java:534)

    I tried already and the resolution only works for a app without a db connection.
    My app required to connect to Oracle 10g db.
    Now I'm and getting this error.
    connectionjavax.naming.NameNotFoundException
    exception occurred during method invocation: oracle.oc4j.rmi.OracleRemoteException: java.lang.NullPointerException; nested exception is:
         java.lang.NullPointerException
    Caught exception: oracle.oc4j.rmi.OracleRemoteException: java.lang.NullPointerException; nested exception is:
         java.lang.NullPointerException

  • Error starting thread: Not enough storage is available to process...

    Hi all,
    We are seeing server going down frequently with below exception:
    [ERROR][thread ] Failed to start new thread
    [2010-04-08 14:36:54,046][ERROR][com.astrazeneca.portal.rss.ContentTransformer] - Error processing item:null
    ; SystemID: http://beaa.astrazeneca.net:10002/NewsBroker/resources/newsToRss.xsl; Line#: 21; Column#: 128
    javax.xml.transform.TransformerException: java.lang.Error: Error starting thread: Not enough storage is available to process this command.
         at org.apache.xalan.extensions.ExtensionHandlerJavaPackage.callFunction(ExtensionHandlerJavaPackage.java:403)
         at org.apache.xalan.extensions.ExtensionHandlerJavaPackage.callFunction(ExtensionHandlerJavaPackage.java:426)
         at org.apache.xalan.extensions.ExtensionsTable.extFunction(ExtensionsTable.java:220)
         at org.apache.xalan.transformer.TransformerImpl.extFunction(TransformerImpl.java:437)
         at org.apache.xpath.functions.FuncExtFunction.execute(FuncExtFunction.java:199)
         at org.apache.xpath.XPath.execute(XPath.java:268)
         at org.apache.xalan.templates.ElemVariable.getValue(ElemVariable.java:279)
         at org.apache.xalan.templates.ElemVariable.execute(ElemVariable.java:247)
    I have a weblogic support SR open and they suggested to add -XXtlaSize and -XXlargeObjectLimit to our JVM parameter. With these parameters, we are getting below error in Windows frequently:
    Reporting queued error: faulting application java.exe, version 1.5.0.11, faulting module jvm.dll, version 27.3.1.1, fault address 0x0014b442.
    I have seen few threads on Sun forum, but answer was not posted there. Details of our environment are as below:-
    JVM : JROCKIT 1.5.0.11
    OS : Windows 2003
    Application Server : Weblogic 10
    Any inputs or pointers will be highly appreciated as this is a bit urgent for me...
    Thanks & Regards,
    Sanjeev

    Hi Henrik,
    I am running Weblogic with below parameters now:
    -Xnohup -Xms:1536m -Xmx:1536m -XXtlaSize:min=32k,preferred=768k -XXlargeObjectLimit:32K
    Weblogic crashed again with below dump:
    ===== BEGIN DUMP =============================================================
    JRockit dump produced after 0 days, 07:17:18 on Fri May 07 15:26:16 2010
    Additional information is available in:
    E:\PortalLIVDomaina\jrockit.5772.dump
    E:\PortalLIVDomaina\jrockit.5772.mdmp
    If you see this dump, please open a support case with BEA and
    supply as much information as you can on your system setup and
    the program you were running. You can also search for solutions
    to your problem at http://forums.bea.com in
    the forum jrockit.developer.interest.general.
    Error Message: Illegal memory access. [54]
    Exception Rec: EXCEPTION_ACCESS_VIOLATION (c0000005) at 0x005148AF - memory at 0x00000000 could not be written.
    Minidump : Wrote mdmp. Size is 1406MB
    SafeDllMode : -1
    Version : BEA JRockit(R) R27.3.1-1_CR344434-89345-1.5.0_11-20070925-1628-windows-ia32
    GC Strategy : Mode: throughput. Currently using strategy: genparpar
    GC Status : OC currently running, in phase: sweeping. This is OC#3000.
    : YC is not running. Last finished YC was YC#9937.
    OC History : Strategy genparpar was used for OC#1.
    : Strategy singleparpar was used for OC#2.
    : Strategy genparpar was used for OC#3 to OC#3000.
    YC History : Ran 11 YCs before OC#2996.
    : Ran 18 YCs before OC#2997.
    : Ran 11 YCs before OC#2998.
    : Ran 8 YCs before OC#2999.
    : Ran 1 YCs before OC#3000.
    Heap : 0x00900000 - 0x60900000
    Compaction : 0x06900000 - 0x0C900000
    Could you please provide some input on this?
    Thanks,
    Sanjeev

  • Error 38 "thread.cpp line 1938" failure during an application execution

    I made a Labview6.1 based application that handle serial communication with six RS-232 ports. The program is intended to run 24 hours a day. After around 2 days of execution an error occurs. Here the reference:
    Error 38
    thread.cpp line 1938
    What can be the root cause of this failure?
    I'm pretty sure it's not lack of memory/CPU.

    Hi Mao,
    Be sure that all the threads you oppened are all closed.
    For example if you put an "open VI reference" don't forget to put the "close reference" at the end of the task.
    Hope it helps!
    Best regards,
    G Liagre
    Best regards,
    G Liagre

  • Error Running SOA Suite Demo

    Hi,
    after deploying and registering all packages of the SOA Suite Demo. I get an error when starting the application.
    I get following error I do not have an idea how to fix it.
    Can someone help me at that topic?
    Thanks
    Chrístopher
    06/10/23 18:16:10.638 soaui: Servlet error
    java.lang.NoSuchMethodError: Oracle.adf.view.faces.context.AdfFacesContextFactory.createContext(Ljava/lang/Object;Ljava/lang/Object
    ;)Loracle/adf/view/faces/context/AdfFacesContext;
    at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:187)
    at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:106)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java
    :15)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:179)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher
    .java:619)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher
    .java:368)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler
    .java:866)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler
    .java:448)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler
    .java:216)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor
    .java:303)
    at java.lang.Thread.run(Thread.java:595)

    Wow - I got it to work.
    I saw some posts about there being two versions of the Order booking demo. One was soademo_101310_preview.zip
    and the other was soademo_101310_prod.zip.
    I had been using the preview version, and I figured I would try the prod version because nothing else was working. I did everything exactly the same, and deployed each application one by one following the SOA Suite quick start guide, as I had before.
    Anyway, I don't know exactly what is different between the two versions, but the prod worked.
    Thanks for all those that responded!
    Marita

  • SIGBUS 10 bus error" & "Inconsistent thread : best efforts attempt (may fail)

    We are using Weblogic 5.1 (no service pack installd) on SUN Solaris.
    Suddenly weblogic server was down & in log file
    we found the "SIGBUS 10 bus error" & "Inconsistent thread : best efforts
    attempt (may fail)" errors (see below for full errors in log file).
    We have executeThreadCount=100 in properties file.
    Is it known problem/bug with solaris?
    thanks,
    -ravi
    Tue Jun 06 15:30:55 PDT 2000:<E> <ServletContext-General> Cannot find
    resource 'javascript/stub.rmf' in document root
    '/qa/weblogic/p4root/website/htdocs-portal'
    SIGBUS 10 bus error
    si_signo [10]: BUS
    si_errno [0]:
    si_code [1]: BUS_ADRALN [addr: 0xd81eb71d]
    stackpointer=C99D0D80
    Inconsistent thread : best efforts attempt (may fail)
    "Thread-36" (TID:0x4e92320, sys_thread_t:0x4e92258, state:CW, thread_t:
    t@202, threadID:0xc8ae1dd8, stack_bottom:0xc8ae2000, stack_size:0x20000)
    prio=5
    [1] java.lang.Object.wait(Object.java:424)
    [2] javax.mail.EventQueue.dequeue(EventQueue.java:73)
    [3] javax.mail.EventQueue.run(EventQueue.java:93)
    [4] java.lang.Thread.run(Thread.java:478)
    Inconsistent thread : best efforts attempt (may fail)
    "SeedGenerator Thread" (TID:0x4994508, sys_thread_t:0x4994440, state:CW,
    thread_t: t@118, threadID:0xc8ab1dd8, stack_bottom:0xc8ab2000,
    stack_size:0x20000) prio=1
    [1] java.lang.Object.wait(Object.java:424)
    [2] sun.security.provider.SeedGenerator.run(SeedGenerator.java:107)
    [3] java.lang.Thread.run(Thread.java:479)
    Inconsistent thread : best efforts attempt (may fail)
    "SSLListenThread" (TID:0x4381688, sys_thread_t:0x43815c0, state:R, thread_t:
    t@114, threadID:0xc8b41dd8, stack_bottom:0xc8b42000, stack_size:0x20000)
    prio=5
    [1] java.net.PlainSocketImpl.socketAccept(Native Method)
    [2] java.net.PlainSocketImpl.accept(PlainSocketImpl.java:406)
    [3] java.net.ServerSocket.implAccept(ServerSocket.java:238)
    [4] java.net.ServerSocket.accept(ServerSocket.java:223)
    [5]
    weblogic.security.SSL.SSLServerSocket.acceptNoHandshake(SSLServerSocket.java
    :121)
    [6] weblogic.security.SSL.SSLServerSocket.accept(SSLServerSocket.java:112)
    [7] weblogic.t3.srvr.ListenThread.run(ListenThread.java:226)

    Hi Steve,
    We are also not getting that error on NT. We are not getting SIGBUS error
    at particular point/place. Randomly (approx after 30 min)
    the server will give this SIGBUS error & shutdowns.
    I tried with -native option with JAVA VM also. Still we are getting the same
    error.
    We are using ORACLE8.1.5 with Weblogic's OCI driver.
    I feel this problem may be related to "jdk1.2.2_05a" on Solaris!!
    Weblogic guys: Will weblogic supports jdk1.2.2_05a on Solaris?
    thanks
    -ravi
    Steve Rogers <[email protected]> wrote in message
    news:[email protected]...
    Ravi, I am developing on WL 4.5.1 and solaris 2.6 with SIGBUS 10 erroralso
    (I also have jdk 1.2.2_05a) I do NOT think it has anything to do withthis,
    java always runs with -native on, infact you cannot turn it off. I am
    using HTMLkona, and getting this (from the thread dump) in
    weblogic.html.OptionElement.
    Do you know where yours is coming from?
    I have been hacking at this for 3 days, and have submitted to
    [email protected] as well. I still cannot figure out why this happens. The
    really strange thing is, it WORKS on Windows NT.
    Please respond, maybe we can help each other solve this problem.
    Thanks
    Steve Rogers
    [email protected]
    "Ravi Kumar.T" <[email protected]> wrote in message
    news:[email protected]...
    We are using Weblogic 5.1 (no service pack installd) on SUN Solaris.
    Suddenly weblogic server was down & in log file
    we found the "SIGBUS 10 bus error" & "Inconsistent thread : best efforts
    attempt (may fail)" errors (see below for full errors in log file).
    We have executeThreadCount=100 in properties file.
    Is it known problem/bug with solaris?
    thanks,
    -ravi
    Tue Jun 06 15:30:55 PDT 2000:<E> <ServletContext-General> Cannot find
    resource 'javascript/stub.rmf' in document root
    '/qa/weblogic/p4root/website/htdocs-portal'
    SIGBUS 10 bus error
    si_signo [10]: BUS
    si_errno [0]:
    si_code [1]: BUS_ADRALN [addr: 0xd81eb71d]
    stackpointer=C99D0D80
    Inconsistent thread : best efforts attempt (may fail)
    "Thread-36" (TID:0x4e92320, sys_thread_t:0x4e92258, state:CW, thread_t:
    t@202, threadID:0xc8ae1dd8, stack_bottom:0xc8ae2000, stack_size:0x20000)
    prio=5
    [1] java.lang.Object.wait(Object.java:424)
    [2] javax.mail.EventQueue.dequeue(EventQueue.java:73)
    [3] javax.mail.EventQueue.run(EventQueue.java:93)
    [4] java.lang.Thread.run(Thread.java:478)
    Inconsistent thread : best efforts attempt (may fail)
    "SeedGenerator Thread" (TID:0x4994508, sys_thread_t:0x4994440, state:CW,
    thread_t: t@118, threadID:0xc8ab1dd8, stack_bottom:0xc8ab2000,
    stack_size:0x20000) prio=1
    [1] java.lang.Object.wait(Object.java:424)
    [2] sun.security.provider.SeedGenerator.run(SeedGenerator.java:107)
    [3] java.lang.Thread.run(Thread.java:479)
    Inconsistent thread : best efforts attempt (may fail)
    "SSLListenThread" (TID:0x4381688, sys_thread_t:0x43815c0, state:R,thread_t:
    t@114, threadID:0xc8b41dd8, stack_bottom:0xc8b42000, stack_size:0x20000)
    prio=5
    [1] java.net.PlainSocketImpl.socketAccept(Native Method)
    [2] java.net.PlainSocketImpl.accept(PlainSocketImpl.java:406)
    [3] java.net.ServerSocket.implAccept(ServerSocket.java:238)
    [4] java.net.ServerSocket.accept(ServerSocket.java:223)
    [5]
    weblogic.security.SSL.SSLServerSocket.acceptNoHandshake(SSLServerSocket.java
    :121)
    [6]weblogic.security.SSL.SSLServerSocket.accept(SSLServerSocket.java:112)
    [7] weblogic.t3.srvr.ListenThread.run(ListenThread.java:226)

  • DB_RUNRECOVERY: Fatal error, run database recovery

    I am getting this error when trying to add data to QUEUE. But after I restart my app, this error does not happen anymore.
    2009-08-16 10:27:12.558990 [ERR] mod_cdr_bdb.c:370 Unable to add cdr to Queue. Error=DB_RUNRECOVERY: Fatal error, run database recovery
    Does anyone know what could be the cause of the error?

    Hi,
    Do you know the steps that lead up to this error? Can you reproduce it?
    Were there any error messages sent to the error log file? Can you confirm that you have verbose error messages turned on by always initializing one of the error callback interfaces in your environment. This will provide verbose error messages:
    DB_ENV->set_errcall, DB_ENV->set_errfile, DB_ENV->set_errpfx, and DB_ENV->set_verbose.
    What flags are you using when opening the environment and the database?
    The procedure you have to follow when you receive this error is described here: [DB_RUNRECOVERY|http://www.oracle.com/technology/documentation/berkeley-db/db/ref/program/errorret.html#DB_RUNRECOVERY]
    DB_RUNRECOVERY:
    There exists a class of errors that Berkeley DB considers fatal to an entire Berkeley DB environment. An example of this type of error is a corrupted database page. The only way to recover from these failures is to have all threads of control exit the Berkeley DB environment, run recovery of the environment, and re-enter Berkeley DB. (It is not strictly necessary that the processes exit, although that is the only way to recover system resources, such as file descriptors and memory, allocated by Berkeley DB.)
    When this type of error is encountered, the error value DB_RUNRECOVERY is returned. This error can be returned by any Berkeley DB interface. Once DB_RUNRECOVERY is returned by any interface, it will be returned from all subsequent Berkeley DB calls made by any threads of control participating in the environment.
    Applications can handle such fatal errors in one of two ways: first, by checking for DB_RUNRECOVERY as part of their normal Berkeley DB error return checking, similarly to DB_LOCK_DEADLOCK or any other error. Alternatively, applications can specify a fatal-error callback function using the DB_ENV->set_event_notify method. Applications with no cleanup processing of their own should simply exit from the callback function.Thanks,
    Bogdan Coman

  • SIGBUS 10 bus error Inconsistent thread

    Getting the SIGBUS 10 bus error Inconsistent thread randomly when running
    the server.
    Having read all the discussions it seems as if JDK 1.2.1_03 is the
    latest version of the JDK that will prevent this problem from arizing.
    Does anyone know any other fixes to the SIGBUS 10 bus error apart from reverting
    to JDK 1.2.1_03?
    Thanks
    Our Configuration:
    JDK 1.2.2_05a
    Solaris 2.7
    Weblogic 5.7 servicepack 4

    So far so good...
    Added the
    JVMARGS="inline_instrs_jit=0" export JVMARGS
    directive to startWebLogic.sh on 10/2/00 and have not seen any of the random core dumps we were experiencing before that.
    JDK 1.2.2_05a
    Solaris 2.7
    Weblogic 5.7 servicepack 4
    "Jesus M. Salvo Jr." <[email protected]> wrote:
    I can only tell you that it fixed our problem on this configuration:
    Solaris Sparc SunOS 2.7 (with all the Solaris patches required for
    JDK1.2.2_005a)
    JDK1.2.2_005a
    WLS 5.1 + SP5
    .... and JVMARGS is not a Java system property so using it with java -D
    will definitely not work.
    .... and we placed the code:
    JVMARGS="inline_instrs_jit=0"
    export JVMARGS
    .... within startWebLogic.sh ( near the top where all the other env.
    variables were declared ) to make the directive work.
    John Salvo
    Roberto Nanamura wrote:
    Hi,
    I am having the same problem but I set the JVMARGS in the command line like:
    java -D_JVM_ARGS="inline_instrs_jit=0" ....
    and it did not work.
    Now I going to use the:
    JVMARGS="inline_instrs_jit=0"
    export JVMARGS
    as suggested in the BEA page.
    Can you confirm that adding these lines to startWebLogic.sh file will fix the
    problem?
    Thanks in advance,
    Roberto N Nanamura
    Technical Consultant
    Summa Technologies
    "Jesus M. Salvo Jr." wrote:
    We also experienced this, with the following config:
    Solaris 2.7
    JDK 1.2.2_005a
    WLS 5.1 + SP5
    The workaround in our case was to include the JVMARGS directive
    specified in BEA's platform support document.
    John Salvo
    mic murphy wrote:
    Thanks Kumar, have you the Sun bug number for this?
    Kumar Allamraju <[email protected]> wrote:
    We already reported this problem to sun.
    The workaround is to turn-off JIT
    Kumar
    mic murphy wrote:
    Getting the SIGBUS 10 bus error Inconsistent thread randomly when running
    the server.
    Having read all the discussions it seems as if JDK 1.2.1_03 is the
    latest version of the JDK that will prevent this problem from arizing.
    Does anyone know any other fixes to the SIGBUS 10 bus error apart from reverting
    to JDK 1.2.1_03?
    Thanks
    Our Configuration:
    JDK 1.2.2_05a
    Solaris 2.7
    Weblogic 5.7 servicepack 4

  • Help Please! Exception Error with Threads

    In my program i get this:
    java.lang.NullPointerException
         at kmess$SocketClient.run(kmess.java:336)
         at java.lang.Thread.run(Thread.java:536)line 336 refers to this part of my code:
    public void run()
              if(getdata.equals(Thread.currentThread()) )
                   System.out.println("running getdata thread");
                   getdatamethod();
              if(senddataThread.equals(Thread.currentThread()) )
                   System.out.println("running senddataThread thread");
                   senddatamethod();
    }Now, here is the rest of this class that this method is in:
    class SocketClient extends JFrame implements Runnable {
         Socket socket = null;
       PrintWriter out = null;
       BufferedReader in = null;
              String text = null;
         Thread getdata;
       SocketClient(){
         public void listenSocket() {
         if ( connected==("2") ) {
    //Create socket connection
         try{
           socket = new Socket("0.0.0.0", 4444);
           out = new PrintWriter(socket.getOutputStream(), true);
           in = new BufferedReader(new InputStreamReader(socket.getInputStream()));
         } catch (UnknownHostException e) {
           System.out.println("Unknown host: host your connecting to");
           System.exit(1);
         } catch  (IOException e) {
           System.out.println("No I/O");
           System.exit(1);
                   connected = "1";
                   out2 = out;
                   in2 = in;
         if (thisclient==("1"))
              creategetdatathread();
         if (thisclient==("2"))
         { Thread senddataThread = new Thread(this);
              senddataThread.equals(Thread.currentThread());
              System.out.println("current thread is after thisclient = 2 " + Thread.currentThread() + senddataThread);
              senddataThread.start();
              thisclient = "3";
         senddata();
    public void creategetdatathread()
    System.out.println("In creategetdatathread");
         Thread getdata = new Thread(this);
              getdata.equals(Thread.currentThread());
              System.out.println("current thread is after thisclient = 1 " + Thread.currentThread() + senddataThread);
              thisclient = "4";
              getdata.start();
    public void run()
              if(getdata.equals(Thread.currentThread()) )
                   System.out.println("running getdata thread");
                   getdatamethod();
              if(senddataThread.equals(Thread.currentThread()) )
                   System.out.println("running senddataThread thread");
                   senddatamethod();
    public void senddatamethod() {
    while(true) {
           try{
           String line = in2.readLine();
              if (line != null) {
              out2.println(line);
           } catch (IOException e){
          System.out.println("Read failed");
                 System.exit(1);
              try { Thread.sleep(2000); }
                   catch(InterruptedException e) {}
    public void getdatamethod() {
    while(true) {
           try{
           String line = in2.readLine();
              if (line != null)
              messlistArea.append("Message:" + line + "\n");
           } catch (IOException e){
          System.out.println("Read failed");
                 System.exit(1);
              try { Thread.sleep(2000); }
                   catch(InterruptedException e) {}
    public void senddata() {
         //Send data over socket
         System.out.println("in send data method");
              String text = messageArea.getText();
              out2.println(text);
           messageArea.setText(new String(""));
    //Receive text from server
           try{
           String line = in2.readLine();
              if (thisclient==("4"))
              messlistArea.append("Message:" + line + "\n");
           } catch (IOException e){
          System.out.println("Read failed");
                 System.exit(1);
    }QUESTION: how do i prevent this error, and therefore enable those threads in that run method to run? thanks.

    Well I don't really want to get into the design of your solution but there are a lot of errors in the code you've posted. I presume the code you posted isn't the code you're running as there are declarations missing and it won't compile. But the fundamental answer to your question is that to avoid the error you initially described you need to make sure your reading and writing threads are fully initialised before your frame thread starts running.

Maybe you are looking for

  • Computer will not boot up but fan will turn on and stay on.

    I have a Gateway and I did not have enough memory.  I bought 1Gig to give it enough memory to run the basic systems.  I added the memory to the slot in the hard drive and now it will not boot up.  The fan just turns on and runs.  I took out the new m

  • Media in the timeline says it needs to be connected, but it plays fine.

    Hey guys, I'm using Final Cut 7 and today I had to disconnect my external drive that has the project I'm currently working with on it. When I reconnected the drive and opened up my project ,some of the clips in the timeline where there is usually a p

  • I cant use my spotify account in Brazil.

    I used to live in the USA when I opened my spotify account. I have a PS3 also purchase in the USA where I access my spotify account. 3 years ago I moved to brazil and recently I was using spotify as I used to do but after a while I was no longer able

  • How can I connect to Bloomberg?

    Hi! Has anybody an idea, how a Java application can connect to Bloomberg software to query stock quotes etc? Or has anybody even done this already? Any hints or links are very much appreciated! Thank you! Thilo

  • Getting error for opening shopping cart after deleting user fron org struct

    Hi Experts I am getting dump user attribute not maintained after deleting user assignment from org structure. what can i do to retain old status. or atleas wants to avoid getting this dump ..while displaying this SC. pl provide any solution Regards N