500 Internal Server Error java.lang.NoSuchFieldError:  oracle.jdbc.oci8.OCI

I am running small SQLJ in a JSP to get the hang of it.
I am running on 920, and have downloaded the new runtime classes for 920 and tested per the instructions.
Using JDev 903, here is the private method for running a query ( It is from an article I found by Julie Basu at Oracle; I have played around with the empno/emp_no variable to convert it to an int):
<%! private String runQuery(String emp_no) throws java.sql.SQLException {
DefaultContext dctx =null;
String ename = null; double sal = 0.0; String hireDate=null;
StringBuffer sb = new StringBuffer();
//int emp_no = Integer.parseInt(emp_no);
try {
dctx =Oracle.getConnection("jdbc:oracle:oci8:@olap","scott","tiger");
#sql [dctx] { SELECT ename, sal, TO_CHAR(hiredate,'DD-MON-YYYY')
INTO :ename,:sal,:hireDate
FROM scott.emp WHERE empno=:emp_no
sb.append("<BLOCKQUOTE><BIG><B><PRE>\n");
sb.append("Name :"+ename+ "\n");
sb.append("Salary :"+sal+ "\n");
sb.append("Date hired :"+hireDate);
sb.append("</PRE></B>></BIG></BLOCKQUOTE>");
} catch (java.sql.SQLException e){
sb.append("<P> SQL Error: <pre> "+e+" </pre> </p>\n");
} finally {
if (dctx!=null) dctx.close();
return sb.toString();
%>
I keep getting the following error:
java.lang.NoSuchFieldError: oracle.jdbc.oci8.OCIEnv.envCharSetId
     int oracle.jdbc.oci8.OCIEnv.get_env_handle()
          native code
     long oracle.jdbc.oci8.OCIEnv.getEnvHandle()
          OCIEnv.java:70
     oracle.jdbc.dbaccess.DBConversion oracle.jdbc.oci8.OCIDBAccess.logon(java.lang.String, java.lang.String, java.lang.String, java.util.Properties)
          OCIDBAccess.java:390
     void oracle.jdbc.driver.OracleConnection.<init>(oracle.jdbc.dbaccess.DBAccess, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.util.Properties)
          OracleConnection.java:361
     java.sql.Connection oracle.jdbc.driver.OracleDriver.getConnectionInstance(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.util.Properties)
          OracleDriver.java:485
     java.sql.Connection oracle.jdbc.driver.OracleDriver.connect(java.lang.String, java.util.Properties)
          OracleDriver.java:337
     java.sql.Connection java.sql.DriverManager.getConnection(java.lang.String, java.util.Properties, java.lang.ClassLoader)
          DriverManager.java:517
     java.sql.Connection java.sql.DriverManager.getConnection(java.lang.String, java.lang.String, java.lang.String)
          DriverManager.java:177
     void sqlj.runtime.ref.ConnectionContextImpl.<init>(sqlj.runtime.ref.ProfileGroup, java.lang.String, java.lang.String, java.lang.String, boolean)
          ConnectionContextImpl.java:346
     void sqlj.runtime.ref.DefaultContext.<init>(java.lang.String, java.lang.String, java.lang.String, boolean)
          DefaultContext.java:172
     sqlj.runtime.ref.DefaultContext oracle.sqlj.runtime.Oracle.getConnection(java.lang.String, java.lang.String, java.lang.String, boolean)
          Oracle.java:580
     sqlj.runtime.ref.DefaultContext oracle.sqlj.runtime.Oracle.getConnection(java.lang.String, java.lang.String, java.lang.String)
          Oracle.java:609
     java.lang.String _SQLJ.runQuery(java.lang.String)
     [SQLJ.jsp]
          SQLJ.jsp:42
     void SQLJ.jspService(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
     [SQLJ.jsp]
          SQLJ.jsp:20
     void com.orionserver[Oracle9iAS (9.0.3.0.0) Containers for J2EE].http.OrionHttpJspPage.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
          OrionHttpJspPage.java:56
          [SRC:/SQLJ.jsp]
     void oracle.jsp.runtimev2.JspPageTable.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)
          JspPageTable.java:317
     void oracle.jsp.runtimev2.JspServlet.internalService(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
          JspServlet.java:465
     void oracle.jsp.runtimev2.JspServlet.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
          JspServlet.java:379
     void javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
          HttpServlet.java:853
     void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.invoke(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
          ServletRequestDispatcher.java:721
     void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.forwardInternal(javax.servlet.ServletRequest, javax.servlet.http.HttpServletResponse)
          ServletRequestDispatcher.java:306
     boolean com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.processRequest(com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.ApplicationServerThread, com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.EvermindHttpServletRequest, com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.EvermindHttpServletResponse, java.io.InputStream, java.io.OutputStream, boolean)
          HttpRequestHandler.java:767
     void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.run(java.lang.Thread)
          HttpRequestHandler.java:259
     void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.run()
          HttpRequestHandler.java:106
     void EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run()
          PooledExecutor.java:803
     void java.lang.Thread.run()
          Thread.java:484
When I run it using just JDBC with the thin Driver, I have no problems.
What could be the issue?
Thanks,
Scott Rappoport

Fail to make OCI connection Using JDeveloper

Similar Messages

  • Error 500--Internal Server Error: java.lang.NoClassDefFoundError:

    Dears
    I deployed a and ADF application in Weblogic server configured instance. Compilation and deployment was done perfectly. When I tried to Run the application in my local weblogic instance it throw the following exception
    Error 500--Internal Server Error
    java.lang.NoClassDefFoundError: com/sun/facelets/FaceletViewHandler
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
         at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:343)
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:302)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:64)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
         at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:43)
         at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl._initIfNeeded(ViewHandlerImpl.java:346)
         at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.createView(ViewHandlerImpl.java:88)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._restoreView(LifecycleImpl.java:763)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:374)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.share.http.ServletADFFilter.doFilter(ServletADFFilter.java:62)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at com.kacst.common.filter.ErrorHandlerFilter.doFilter(Unknown Source)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:175)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    Caused by: java.lang.ClassNotFoundException: com.sun.facelets.FaceletViewHandler
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:64)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
         at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:43)
         ... 58 more
    Any body has faced a similar issue. Please let me know your views
    Best regards
    Mohamed Chargui

    The JSF version packaged starting in 11.1.2.0.0 has been upgraded to 2.0.
    Jdeveloper 11.1.1.6 support is JSF 1.2.
    Upgrade to JDeveloper 11.1.2.0.0.
    With an earlier version of WLS (10.3.4) add the jsf library configuration for the JSF 2.0 library to weblogic.xml with exact-match set to true.
    <library-ref>
    <library-name>jsf</library-name>
    <specification-version>2.0</specification-version>
    <implementation-version>1.0.0.0_2-0-2</implementation-version>
    *<exact-match>true</exact-match>*
    </library-ref>
    Edited by: dvohra16 on Feb 28, 2013 6:43 AM

  • 500 Internal Server Error java.lang.NullPointerException

    500 Internal Server Error
    java.lang.NullPointerException     at com.idealake.RBI.struts.login.LoginAction.execute(LoginAction.java:72)     at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)     at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)     at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1158)     at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:824)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)     at java.lang.Thread.run(Thread.java:534)
    Thanks in advance
    Robin

    The method execute, in class LoginAction, in package com.idealake.RBI.struts.login, on line 72 of the corresponding .java file attempted to use null reference/pointer/value. Which is exactly what the error message you printed tells you. More, we also cannot say, until provided with much more information.

  • 500 Internal Server Error :java.lang.VerifyError

    Ok, so I have deployed my BI Bean RC2 tutorial app from Jdeveloper RC2, with no errors during deployment.
    It also runs fine from jdeveloper embedded oc4j.
    When I try to call the deployed application in my browser I get this:
    500 Internal Server Error
    java.lang.VerifyError: class org.omg.PortableServer.AdapterActivatorPOA overrides final method . at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:486) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111) at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].naming.ContextClassLoader.defineClass(ContextClassLoader.java:1004) at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].naming.ContextClassLoader.findClass(ContextClassLoader.java:267) at java.lang.ClassLoader.loadClass(ClassLoader.java:297) at java.lang.ClassLoader.loadClass(ClassLoader.java:253) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313) at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:486) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111) at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].naming.ContextClassLoader.defineClass(ContextClassLoader.java:1004) at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].naming.ContextClassLoader.findClass(ContextClassLoader.java:267) at java.lang.ClassLoader.loadClass(ClassLoader.java:297) at java.lang.ClassLoader.loadClass(ClassLoader.java:253) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313) at com.inprise.vbroker.orb.ORB.adapterManager(ORB.java:1101) at com.inprise.vbroker.ds.DSUser.<init>(DSUser.java:282) at com.inprise.vbroker.ds.Init.init(Init.java:20) at com.inprise.vbroker.orb.ORB.installServices(ORB.java:922) at com.inprise.vbroker.orb.ORB.initialize(ORB.java:831) at com.inprise.vbroker.orb.ORB.set_parameters(ORB.java:950) at org.omg.CORBA.ORB.init(ORB.java:329) at oracle.dss.appmodule.common.ORBUtils.getORBForApplication(ORBUtils.java:109) at oracle.dss.connection.server.ConnectionImpl.getORB(ConnectionImpl.java:1056) at oracle.dss.connection.server.ConnectionImpl.connect(ConnectionImpl.java:263) at oracle.dss.connection.client.Connection.connect(Connection.java:399) at oracle.dss.connection.client.Connection.connect(Connection.java:321) at oracle.dss.metadataManager.client.MetadataManager.setConnectionObjects(MetadataManager.java:3933) at oracle.dss.metadataManager.client.MetadataManager.attach(MetadataManager.java:827) at oracle.dss.metadataManager.client.MetadataManager.attach(MetadataManager.java:767) at oracle.dss.datautil.client.XMLManagerFactory.createQueryManager(XMLManagerFactory.java:187) at oracle.dss.datautil.client.ManagerFactoryImpl.lookupQueryManager(ManagerFactoryImpl.java:176) at oracle.dss.datautil.client.ManagerFactoryImpl.lookupMetadataManager(ManagerFactoryImpl.java:239) at oracle.dss.datautil.client.ManagerFactoryImpl.lookupManager(ManagerFactoryImpl.java:128) at oracle.dss.addins.jspTags.BIThinSession.getMetadataManager(BIThinSession.java:203) at oracle.dss.addins.jspTags.BIThinSession.getQueryManager(BIThinSession.java:226) at oracle.dss.addins.jspTags.BIThinSession.loadView(BIThinSession.java:126) at oracle.dss.addins.jspTags.PresentationTag.createThinObject(PresentationTag.java:142) at oracle.dss.addins.jspTags.BIBaseTag.getThinObject(BIBaseTag.java:76) at oracle.dss.addins.jspTags.PresentationTag.doStartTag(PresentationTag.java:225) at simpleJSP.jspService(_simpleJSP.java:72) [SRC:/simpleJSP.jsp:6] at com.orionserver[Oracle9iAS (9.0.3.0.0) Containers for J2EE].http.OrionHttpJspPage.service(OrionHttpJspPage.java:56) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:304) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:423) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:346) at javax.servlet.http.HttpServlet.service(HttpServlet.java:336) at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:691) at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:276) at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:737) at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.run(HttpRequestHandler.java:247) at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].util.ThreadPoolThread.run(ThreadPoolThread.java:64)
    Nothing (except the 500 error itself) is logged to any of the log-files in j2ee/home/log.
    I am able to run all of the samples that comes with oc4j.
    oc4j is invoked using:
    java -Xmx128m -Dorg.omg.CORBA.ORBClass=com.inprise.vbroker.orb.ORB -Dorg.omg.COR
    BA.ORBSingletonClass=com.inprise.vbroker.orb.ORB -jar oc4j.jar &
    as specified in tutorial instructions.
    Can anyone point me in the right direction to solve this?
    Thanks,
    Jens

    The guys over in the J2EE forum came with this answer. Please note that they refer to Jdeveloper 9.0.3.
    I don't really know how to interpret that, as the RC2 Jdeveloper is 9.0.2.7.86, but anyway, her goes:
    <snip>
    It seems like you are using JDeveloper 903, is that right?
    Select Help->About from the Jdeveloper menus
    If you are using Jdeveloper 903, read on:
    This is a known issue. 903 Jdeveloper is bundled with J2EE ORB (IIOP.jar) from Sun to allow EJBs communicate using RMI/IIOP. In addition, we also have Visibroker ORB (VBJORB.jar) in the classpath. Sun has implemented CORBA 2.3.1 specification and Visibroker I believe has implemented CORBA 2.3.0 spec. The signature of one of the methods in class org.omg.PortableServer.AdapterActivatorPOA has changed between the two releases and hence the problem.
    We are trying to move away from Visibroker ORB and have requested OLAPI team to remove all dependencies on Visi ORB. Although there is no known dependencies on it, there seems to be dependencies because the idl compiler (from Visibroker) is inserting referces to Visibroker code.
    To work around :
    Remove/rename iiop.jar file in ORACLE_HOME/J2EE/HOME directory. Be warned that EJB's wont work if it is renamed or removed.
    This should only be considered as a temporary work around until we decide our next steps.
    </snip>
    Use at own risk..
    The error reported in this thread disappeared with this workaround, but unfortunately I got another one:
    500 Internal Server Error
    javax.servlet.jsp.JspException: BIB-10310 An unknown exception occurred.BIB-10101 Handler failed to handle UserObject.java.lang.NullPointerException     at oracle.dss.addins.jspTags.PresentationTag.doStartTag(PresentationTag.java:254)     at simpleJSP.jspService(_simpleJSP.java:72)     [SRC:/simpleJSP.jsp:6]     at com.orionserver[Oracle9iAS (9.0.3.0.0) Containers for J2EE].http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)     at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:510)     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:257)     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:423)     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:346)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)     at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:691)     at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:276)     at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:737)     at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.run(HttpRequestHandler.java:247)     at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].util.ThreadPoolThread.run(ThreadPoolThread.java:64)
    Tips anyone..?
    Jens

  • 500 Internal Server Error (java.lang.NullPointerException) - email config

    I have installed collaboration suite on xp.
    The install has completed and I am in the process of setting up oracle email.
    Part of the email configuration says that I must stop the sendmail services and start the email listener.
    Then I should change the settings in the 'Unified Messaging Inbound SMTP'
    My problem is when I try and do this at the stage where I select 'Change Settings' I get the error message
    500 internal server error
    java.lang.NullPointerException
    I am not sure how to stop the sendmail services on xp?
    Has anyone seen this before and if so help?

    I didn't think XP/2000/NT had sendmail installed, so there shouldn't be anything to shutdown.
    I'm afraid I don't have any suggestions regarding your NullPointerException, though.

  • Error 500--Internal Server Error  java.lang.OutOfMemoryError: PermGen space

    I use Jdeveloper 11g to create and run simple ADF application.
    However, it always shows the error of java.lang.OutOfMemoryError.
    I have to restart Jdeveloper.
    Could anyone tell me how to avoid this problem?
    Error 500--Internal Server Error
    java.lang.OutOfMemoryError: PermGen space
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
         at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:335)
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:288)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:256)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:54)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
         at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:176)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:35)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
         at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:335)
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:288)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:256)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:54)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
         at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:176)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:35)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
         at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:335)
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:288)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:256)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:54)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)

    Hello,
    This is fixed now,
    1. cleared the classpath in the environment variables(my computer) ,
    2. uninstalled jdev and weblogic,
    3. deleted the oracle/middleware folder
    4. searched under registry entries as middleware and deleted all of them,
    5. rebooted and reinstalled, worked...
    Thanks for your inputs...............

  • Error 500--Internal Server Error  java.lang.RuntimeException: javax.servlet

    Hi,
    I am following the tutorial which is given in Tutorial for Oracle WebCenter Developers.pdf i am at step 3 , i am using document library service in my page. BUt when i am running the page, the page get opens and it shows the following error:
    Error 500--Internal Server Error java.lang.RuntimeException: javax.servlet.jsp.el.ELException.
    the details of the error are shown below:
    java.lang.RuntimeException: javax.servlet.jsp.el.ELException: Encountered "\u2019", expected one of [<INTEGER_LITERAL>, <FLOATING_POINT_LITERAL>, <STRING_LITERAL>, "true", "false", "null", "(", "-", "not", "!", "empty", <IDENTIFIER>]
         at oracle.adf.share.el.OracleExpressionEvaluatorImpl.evaluateInternal(OracleExpressionEvaluatorImpl.java:85)
         at oracle.adf.share.el.OracleExpressionEvaluatorImpl.evaluate(OracleExpressionEvaluatorImpl.java:51)
         at oracle.adfinternal.view.faces.model.FacesExpressionEvaluator._evaluate(FacesExpressionEvaluator.java:115)
         at oracle.adfinternal.view.faces.model.FacesExpressionEvaluator.evaluate(FacesExpressionEvaluator.java:72)
         at oracle.adf.model.binding.DCUtil.elEvaluate(DCUtil.java:788)
         at oracle.adf.model.binding.DCBindingContainer.evaluateParameterWithElCheck(DCBindingContainer.java:1403)
         at oracle.adf.model.binding.DCBindingContainer.evaluateParameter(DCBindingContainer.java:1452)
         at oracle.adf.model.binding.DCParameter.internalEvaluateExpresion(DCParameter.java:183)
         at oracle.adf.model.binding.DCParameter.getValue(DCParameter.java:98)
         at oracle.adf.controller.internal.binding.DCTaskFlowBinding.initializeParams(DCTaskFlowBinding.java:549)
         at oracle.adf.controller.internal.binding.DCTaskFlowBinding.createRegionViewPortContext(DCTaskFlowBinding.java:320)
         at oracle.adf.controller.internal.binding.DCTaskFlowBinding.getViewPort(DCTaskFlowBinding.java:281)
         at oracle.adf.controller.internal.binding.TaskFlowRegionModel.doProcessBeginRegion(TaskFlowRegionModel.java:129)
         at oracle.adf.controller.internal.binding.TaskFlowRegionModel.processBeginRegion(TaskFlowRegionModel.java:90)
         at oracle.adf.controller.internal.binding.TaskFlowRegionController.refreshRegion(TaskFlowRegionController.java:116)
         at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3038)
         at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2759)
         at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareModel(PageLifecycleImpl.java:112)
         at oracle.adf.controller.faces.lifecycle.FacesPageLifecycle.prepareModel(FacesPageLifecycle.java:80)
         at oracle.adf.controller.v2.lifecycle.Lifecycle$2.execute(Lifecycle.java:137)
         at oracle.adfinternal.controller.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:192)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.mav$executePhase(ADFPhaseListener.java:21)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$PhaseInvokerImpl.startPageLifecycle(ADFPhaseListener.java:231)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$1.after(ADFPhaseListener.java:267)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:71)
         at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.afterPhase(ADFLifecyclePhaseListener.java:53)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:352)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:165)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:85)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:54)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.wls.JpsWlsFilter$1.run(JpsWlsFilter.java:96)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.wls.util.JpsWlsUtil.runJaasMode(JpsWlsUtil.java:146)
         at oracle.security.jps.wls.JpsWlsFilter.doFilter(JpsWlsFilter.java:140)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:202)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3588)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2200)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2106)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1428)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: javax.servlet.jsp.el.ELException: Encountered "\u2019", expected one of [<INTEGER_LITERAL>, <FLOATING_POINT_LITERAL>, <STRING_LITERAL>, "true", "false", "null", "(", "-", "not", "!", "empty", <IDENTIFIER>]
         at org.apache.commons.el.ExpressionEvaluatorImpl.parseExpressionString(ExpressionEvaluatorImpl.java:320)
         at oracle.jsp.el.OracleExpressionEvaluator.parseExpression(Unknown Source)
         at oracle.adf.share.el.OracleExpressionEvaluatorImpl.evaluateInternal(OracleExpressionEvaluatorImpl.java:78)
         ... 64 more
    Kindly suggest me.
    Thanks.

    There may be a problem with the encoding of the single quotes in the connectionName and startFolderPath parameters of the task flow binding. I had the same problem when I copied and pasted the values from the pdf version of the tutorial.
    Try this:
    Select the "Bindings" tab of "MyPage.jspx".
    Double click on "taskFlow - doclibdocumentLibrary1"
    Replace the single quotes in the values by re-typing them.
    The tutorial uses these values:
    ${’MyTutorialContent’}
    ${'/Manuals'}

  • 500 Internal server error - java.lang.NullPointerException: null

    While trying to access the initial login screen of EP, we face this '500 Internal server error - java.lang.NullPointerException: null' issue very randomly. It appears sometimes and when opened from new browser we get the login screen sometimes. It is not a problem that reproduces always. On the screen where the error appears, we refresh any number of times, no help, the error remains the same, but when we open in a new window, it might give the login screen or end up with this error.
    We have 4 Dialog Instances and a Cisco load balancer.
    Upon repeated redirection to a particular instance and particular server node(https://<hostname>:<port>/irj/portal;sapj2ee_irj= XXX) from the trace files, I could get the following information :-
    #0019BBEB9F4C00190000409700001707000478F21B0BBACE#1258881142025#com.sap.tc.webdynpro.sessionmanagement#sap.com/tcwddispwda#com.sap.tc.webdynpro.sessionmanagement.ExceptionHandler.handleThrowable#2449#32347##n/a##245825a0d74711de92700019bbeb9f4c#SAPEngine_Application_Thread[impl:3]_12##0#0#Error#1#/System/UserInterface#Java###Exception occured during processing of Web Dynpro application . The causing exception is nested.
    [EXCEPTION]
    #2#sap.com/pb/PageBuilder#java.lang.NullPointerException
    #1.5_#0019BBEB9F4C00190000409800001707000478F21B0BD29A#1258881142031#com.sap.engine.services.servlets_jsp.client.RequestInfoServer#sap.com/tcwddispwda#com.sap.engine.services.servlets_jsp.client.RequestInfoServer#2449#32347##n/a##245825a0d74711de92700019bbeb9f4c#SAPEngine_Application_Thread[impl:3]_12##0#0#Error##Plain###application [webdynpro/dispatcher] Processing HTTP request to servlet [dispatcher] finished with error. The error is: java.lang.NullPointerException
    #1.5_#0019BBEB9F4C00190000409A00001707000478F21B0C5FDE#1258881142068#com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl#sap.com/tcwddispwda#com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl#2449#32347##n/a##245825a0d74711de92700019bbeb9f4c#SAPEngine_Application_Thread[impl:3]_12##0#0#Error#1#/System/Server/WebRequests#Plain###application [webdynpro/dispatcher] Processing HTTP request to servlet [dispatcher] finished with error.
    The error is: java.lang.NullPointerException: null
    Exception id: [0019BBEB9F4C00190000409800001707000478F21B0BD29A]#
    #1.5_#0019BBEB9F4C00310000372500001707000478F21D348764#1258881178254#com.sap.security.core.server.destinations.service.DestinationServiceImpl#sap.com/tcwddispwda#com.sap.security.core.server.destinations.service.DestinationServiceImpl.getDestination#5180#32285##juepp01_EPP_16040550#5180#392ddb50d74711de87f40019bbeb9f4c#SAPEngine_Application_Thread[impl:3]_10##0#0#Error#1#/System/Security/destinations#Java###An error occurred while reading the destination , type . The error was .#3#sap_inbox$WebFlowConnector#RFC#<Localization failed: ResourceBundle='com.sap.exception.io.IOResourceBundle', ID='No such destination sap_inbox$WebFlowConnector of type RFC exists ', Arguments: []> : Can't find resource for bundle java.util.PropertyResourceBundle, key No such destination sap_inbox$WebFlowConnector of type RFC exists #
    #1.5_#0019BBEB9F4C00310000372600001707000478F21D34893F#1258881178255#System.err#sap.com/tcwddispwda#System.err#5180#32285##juepp01_EPP_16040550#5180#392ddb50d74711de87f40019bbeb9f4c#SAPEngine_Application_Thread[impl:3]_10##0#0#Error##Plain###java.lang.Exception: Problem occured while creating JCO client for destination: sap_inbox#
    #1.5_#0019BBEB9F4C00310000372700001707000478F21D34A80D#1258881178262#System.err#sap.com/tcwddispwda#System.err#5180#32285##juepp01_EPP_16040550#5180#392ddb50d74711de87f40019bbeb9f4c#SAPEngine_Application_Thread[impl:3]_10##0#0#Error##Plain###      at com.sap.netweaver.bc.uwl.utils.r3.R3SystemInfo.createJCOClient(R3SystemInfo.java:67)#
    #1.5_#0019BBEB9F4C00310000372800001707000478F21D34A887#1258881178263#System.err#sap.com/tcwddispwda#System.err#5180#32285##juepp01_EPP_16040550#5180#392ddb50d74711de87f40019bbeb9f4c#SAPEngine_Application_Thread[impl:3]_10##0#0#Error##Plain###      at com.sap.netweaver.bc.uwl.utils.r3.R3SystemInfo.hasFunctionModule(R3SystemInfo.java:591)#
    Kindly advise as to what could be the issue..

    Hi,  either the problem should come always for us to be able to trouble shoot it or should not come at all.
    Now since it comes sometimes, i feel that you surely are using more than one app. servers in  your enviroment and some of them are not fine.
    I received this error when i accidently had deleted my sso ticket pairs in the visual admin.
    First troubleshoot by login to individual app servers where the issue is coming. after that check the certificate-cert key pair in keystore admin. you can also delete them and make new ticket pairs..
    If this does not help, replace your login page with the standard sap login page par  com.sap.portal.runtime.logon.par.
    This should certainly troubleshoot u
    cheers,
    Ankur

  • 500   Internal Server Error : java.lang.NoClassDefFoundError in XI -  SLD

    Hi Friends,
    We have upgraded the NW2004s java sp level from SP 04 to SP 05. But after doing so we are getting the following error while accessing the System Landscape Directory from the following link
    "http://host:port/rep/start/index.jsp"
    The error description is as below
    "500   Internal Server Error
      Web Dynpro Container/SAP J2EE Engine/6.40 
    Failed to process request. Please contact your system administrator.
    Error Summary
    While processing the current request, an exception occured which could not be handled by the application or the framework.
    If the information contained on this page doesn't help you to find and correct the cause of the problem, please contact your system administrator.
    Root Cause
    The initial exception that caused the request to fail, was:
    java.lang.NoClassDefFoundError: com/sap/lcr/pers/jdbc/CRQMappedJdbcJ2EEPoolPersistence
        at com.sap.sld.wd.main.MainView.checkHealthyServer(MainView.java:423)
        at com.sap.sld.wd.main.MainView.wdDoModifyView(MainView.java:152)
        at com.sap.sld.wd.main.wdp.InternalMainView.wdDoModifyView(InternalMainView.java:893)
        at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.doModifyView(DelegatingView.java:78)
        at com.sap.tc.webdynpro.progmodel.view.View.modifyView(View.java:282)
        ... 28 more
    Correction Hints
    It can't be determined from the exception chain, which class loader failed to load the above class. But at least the class loader of the current application does not contain a resource with name 'com/sap/lcr/pers/jdbc/CRQMappedJdbcJ2EEPoolPersistence'.
    If I click on the SLD onthe SAP Netweaver - Exchange Infrastructure, I am getting the above error.
    Pls help me to solve this problem.
    Thanks in advance
    Purnendu

    Hi Sridhar,
    Thanks a lot for your reply.
    I can launch the transaction SXMB_IFR. It works fine. I got the XI frontend with Exchange Infrastructure Tools.
    But when I click on the SLD I am getting this error.
    I have also tried to open the http://<SLDserver>:<port>/sld  link. But this is also giving me the same error.
    I have checked the SLDCHECK transaction.
    I am copy/pasting some part of the Check result for reference.
    ""Use transaction SLDAPICUST if you wish to maintain the SLD server access data
    Launching the SLD GUI in a separate browser window...
    => Verify in the browser GUI that the SLD is in a healthy running state!
    Calling function LCR_LIST_BUSINESS_SYSTEMS
    Retrieving data from the SLD server...
    Function call returned exception code     4
    => Check whether the SLD is running!
    Summary: Connection to SLD does not work
    => Check SLD function and configurations""
    I have checked the following thread
    XI-SLD & IS configuration
    But the solution provided in the thread "configure the hostname without any domain with transaction SLDAPICUST" doen not work.
    By the way how to check whether SLD is running or not.
    Thanks in advance and warm regards
    Purnendu

  • OAF 12.2.4 - 500 Internal Server Error java.io.IOException when running a page from Jdeveloper

    Hi All,
    I face the following error message in the web browser when I try to run a simple page from JDeveloper:
    500 Internal Server Error java.io.IOException
    The message is the same when I run the Hello World test from the Tutorials project.
    Here is the error stack:
    500 Internal Server Error
    java.io.IOException
            at oracle.apps.fnd.common.WebRequestUtil.validateContextPrivate(WebRequestUtil.java:559)
            at oracle.apps.fnd.common.WebRequestUtil.validateContext(WebRequestUtil.java:334)
            at oracle.apps.fnd.common.WebRequestUtil.validateContext(WebRequestUtil.java:237)
            at _OAErrorPage._jspService(_OAErrorPage.java:337)
            [/OAErrorPage.jsp]
            at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.5.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
            at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:473)
            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.5.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:734)
            at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
            at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:280)
            at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:68)
            at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:214)
            at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284)
            at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:219)
            at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.EvermindPageContext.handlePageThrowable(EvermindPageContext.java:871)
            at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.EvermindPageContext.handlePageException(EvermindPageContext.java:816)
            at _OA._jspService(_OA.java:130)
            [/OA.jsp]
            at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.5.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
            at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:473)
            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.5.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:734)
            at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
            at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908)
            at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
            at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:226)
            at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:127)
            at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:116)
            at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
            at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
            at java.lang.Thread.run(Thread.java:662)
    This is JDeveloper 10.1.3.5.0 from patch p19170592_R12_GENERIC.zip
    The OAF release is 12.2.4
    JDEV_USER_HOME is set to C:\Olivier\R12\jdev1224\jdevhome\jdev
    The .dbc file looks fine.
    I connect successfully to database.
    I tried to reinstall JDeveloper.
    I performed many searches on MOS, OTN, Google, etc...
    I tried to change the Startup Settings (Host Name, IP Address settings) of the Embedded OC4J Server Preferences.
    I am stuck.
    Any ideas?
    Thanks,
    Olivier

    Hi Peddi,
    Thanks for your reply.
    I checked again the .dbc file.
    I downloaded again the file from $INST_TOP/appl/fnd/12.0.0/secure to <JDEV_USER_HOME>\dbc_files\secure
    This file worked fine for JDeveloper for 12.2.3.
    I went again through "Oracle Application Framework Developer's Guide Release 12.2.4 July 2014" but could not find any part related to .dbc file having changed from previous release.
    I tried to comment out the parameter APPS_JDBC_URL in .dbc as per MOS note "Troubleshooting JDeveloper setup for Oracle Applications (Doc ID 357218.1)"
    But I still face the issue.
    According to the note "Configuring JDeveloper For Use With Oracle Applications 11i and R12 (Doc ID 330236.1)", I have added the following debug parameters in the project properties:
    -Djbo.debugoutput=console -Djbo.logging.trace.threshold=9 -Djbo.jdbc.driver.verbose=true -Djbo.jdbc.trace=true
    It generated the following OC4J server detailed log showing more error messages (in red below):
    [extract]
    15/02/04 17:13:56 [553] Successfully logged in
    15/02/04 17:13:56 [554] JDBCDriverVersion: 11.2.0.2.0
    15/02/04 17:13:56 [555] DatabaseProductName: Oracle
    15/02/04 17:13:56 [556] DatabaseProductVersion: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production With the Partitioning, OLAP, Data Mining and Real Application Testing options
    15/02/04 17:13:56 [557] Root application module, oracle.apps.fnd.framework.toolbox.tutorial.server.HelloWorldAM, was created at 2015-02-04 17:13:56.283
    15/02/04 17:13:56 [558] setConnectionReleaseLevel - Set connection release level to 0
    15/02/04 17:13:56 [559]
    <ICX_SessionValues_Diagnostics - ICX Cookie = 4tzlN3OR7BSoTLXf4grnQylQ4l>: WebRequestUtil.validateContext is called.
    15/02/04 17:13:56 [560] SQLState(42000) vendor code(2248)
    15/02/04 17:13:56 [561] java.sql.SQLSyntaxErrorException: ORA-02248: invalid option for ALTER SESSION
    ORA-06512: at "SYS.DBMS_SESSION", line 164
    ORA-06512: at line 6
    15/02/04 17:13:56 [562] at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:94)
    15/02/04 17:13:56 [563] at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:147)
    15/02/04 17:13:56 [564] at oracle.jdbc.driver.DatabaseError.createSqlException(DatabaseError.java:206)
    15/02/04 17:13:56 [565] at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:456)
    15/02/04 17:13:56 [566] at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
    15/02/04 17:13:56 [567] at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:889)
    15/02/04 17:13:56 [568] at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:476)
    15/02/04 17:13:56 [569] at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:204)
    15/02/04 17:13:56 [570] at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:540)
    15/02/04 17:13:56 [571] at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:213)
    15/02/04 17:13:56 [572] at oracle.jdbc.driver.T4CCallableStatement.executeForRows(T4CCallableStatement.java:1075)
    15/02/04 17:13:56 [573] at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1466)
    15/02/04 17:13:56 [574] at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3752)
    15/02/04 17:13:56 [575] at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3937)
    15/02/04 17:13:56 [576] at oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStatement.java:9259)
    15/02/04 17:13:56 [577] at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1535)
    15/02/04 17:13:56 [578] at oracle.apps.fnd.sso.SessionMgr.loadInstalledLanguages(SessionMgr.java:4119)
    15/02/04 17:13:56 [579] at oracle.apps.fnd.sso.SessionMgr.getInstalledLanguages(SessionMgr.java:3872)
    15/02/04 17:13:56 [580] at oracle.apps.fnd.sso.Utils.getBaseInstalledLangCode(Utils.java:1491)
    15/02/04 17:13:56 [581] at oracle.apps.fnd.sso.Authenticator.<clinit>(Authenticator.java:45)
    15/02/04 17:13:56 [582] at oracle.apps.fnd.sso.Utils.<clinit>(Utils.java:675)
    15/02/04 17:13:56 [583] at oracle.apps.fnd.sso.SSOManager.canUpgradeToUserSession(SSOManager.java:3000)
    15/02/04 17:13:56 [584] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    15/02/04 17:13:56 [585] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    15/02/04 17:13:56 [586] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    15/02/04 17:13:56 [587] at java.lang.reflect.Method.invoke(Method.java:597)
    15/02/04 17:13:56 [588] at oracle.apps.fnd.common.WebRequestUtil.validateContextPrivate(WebRequestUtil.java:557)
    15/02/04 17:13:56 [589] at oracle.apps.fnd.common.WebRequestUtil.validateContext(WebRequestUtil.java:369)
    15/02/04 17:13:56 [590] at oracle.apps.fnd.framework.webui.OAHttpSessionCookieImpl.validateIcxCookie(Unknown Source)
    15/02/04 17:13:56 [591] at oracle.apps.fnd.framework.OASessionCookieHelper.validateIcxSession(Unknown Source)
    15/02/04 17:13:56 [592] at oracle.apps.fnd.framework.OASessionCookieHelper.initializeApplicationModule(Unknown Source)
    15/02/04 17:13:56 [593] at oracle.apps.fnd.framework.webui.OAHttpSessionCookieImpl.initializeApplicationModule(Unknown Source)
    15/02/04 17:13:56 [594] at oracle.apps.fnd.framework.webui.OAHttpSessionCookieImpl.useApplicationModule(Unknown Source)
    15/02/04 17:13:56 [595] at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:424)
    15/02/04 17:13:56 [596] at oracle.apps.fnd.framework.webui.OAJSPApplicationRegistry.registerApplicationModule(Unknown Source)
    15/02/04 17:13:56 [597] at oracle.apps.fnd.framework.webui.OAJSPApplicationRegistry.registerApplicationModule(Unknown Source)
    15/02/04 17:13:56 [598] at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
    15/02/04 17:13:56 [599] at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
    15/02/04 17:13:56 [600] at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
    15/02/04 17:13:56 [601] at _OA._jspService(_OA.java:72)
    15/02/04 17:13:56 [602] at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    15/02/04 17:13:56 [603] at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:473)
    15/02/04 17:13:56 [604] at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
    15/02/04 17:13:56 [605] at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
    15/02/04 17:13:56 [606] at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    15/02/04 17:13:56 [607] at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:734)
    15/02/04 17:13:56 [608] at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
    15/02/04 17:13:56 [609] at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:280)
    15/02/04 17:13:56 [610] at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:68)
    15/02/04 17:13:56 [611] at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:214)
    15/02/04 17:13:56 [612] at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284)
    15/02/04 17:13:56 [613] at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:219)
    15/02/04 17:13:56 [614] at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:395)
    15/02/04 17:13:56 [615] at _OA._jspService(_OA.java:81)
    15/02/04 17:13:56 [616] at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    15/02/04 17:13:56 [617] at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:473)
    15/02/04 17:13:56 [618] at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
    15/02/04 17:13:56 [619] at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
    15/02/04 17:13:56 [620] at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    15/02/04 17:13:56 [621] at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:734)
    15/02/04 17:13:56 [622] at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
    15/02/04 17:13:56 [623] at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908)
    15/02/04 17:13:56 [624] at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
    15/02/04 17:13:56 [625] at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:226)
    15/02/04 17:13:56 [626] at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:127)
    15/02/04 17:13:56 [627] at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:116)
    15/02/04 17:13:56 [628] at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    15/02/04 17:13:56 [629] at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    15/02/04 17:13:56 [630] at java.lang.Thread.run(Thread.java:662)
    15/02/04 17:13:56 [631] Could not load application module 'oracle.apps.fnd.framework.toolbox.tutorial.server.HelloWorldAM'.
    15/02/04 17:13:56 [632] oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND_GENERIC_MESSAGE. Tokens: MESSAGE = java.io.IOException;
      at oracle.apps.fnd.framework.OAException.wrapperException(Unknown Source)
      at oracle.apps.fnd.framework.webui.OAHttpSessionCookieImpl.validateIcxCookie(Unknown Source)
      at oracle.apps.fnd.framework.OASessionCookieHelper.validateIcxSession(Unknown Source)
      at oracle.apps.fnd.framework.OASessionCookieHelper.initializeApplicationModule(Unknown Source)
      at oracle.apps.fnd.framework.webui.OAHttpSessionCookieImpl.initializeApplicationModule(Unknown Source)
      at oracle.apps.fnd.framework.webui.OAHttpSessionCookieImpl.useApplicationModule(Unknown Source)
      at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:424)
      at oracle.apps.fnd.framework.webui.OAJSPApplicationRegistry.registerApplicationModule(Unknown Source)
      at oracle.apps.fnd.framework.webui.OAJSPApplicationRegistry.registerApplicationModule(Unknown Source)
      at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
      at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
      at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
      at _OA._jspService(_OA.java:72)
      at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
      at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:473)
      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.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:734)
      at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
      at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:280)
      at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:68)
      at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:214)
      at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284)
      at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:219)
      at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:395)
      at _OA._jspService(_OA.java:81)
      at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
      at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:473)
      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.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:734)
      at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
      at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908)
      at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
      at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:226)
      at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:127)
      at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:116)
      at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
      at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
      at java.lang.Thread.run(Thread.java:662)
    ## Detail 0 ##
    java.io.IOException
      at oracle.apps.fnd.common.WebRequestUtil.validateContextPrivate(WebRequestUtil.java:559)
      at oracle.apps.fnd.common.WebRequestUtil.validateContext(WebRequestUtil.java:369)
      at oracle.apps.fnd.framework.webui.OAHttpSessionCookieImpl.validateIcxCookie(Unknown Source)
      at oracle.apps.fnd.framework.OASessionCookieHelper.validateIcxSession(Unknown Source)
      at oracle.apps.fnd.framework.OASessionCookieHelper.initializeApplicationModule(Unknown Source)
      at oracle.apps.fnd.framework.webui.OAHttpSessionCookieImpl.initializeApplicationModule(Unknown Source)
      at oracle.apps.fnd.framework.webui.OAHttpSessionCookieImpl.useApplicationModule(Unknown Source)
      at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:424)
      at oracle.apps.fnd.framework.webui.OAJSPApplicationRegistry.registerApplicationModule(Unknown Source)
      at oracle.apps.fnd.framework.webui.OAJSPApplicationRegistry.registerApplicationModule(Unknown Source)
      at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
      at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
      at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
      at _OA._jspService(_OA.java:72)
      at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
      at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:473)
      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.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:734)
      at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
      at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:280)
      at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:68)
      at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:214)
      at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284)
      at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:219)
      at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:395)
      at _OA._jspService(_OA.java:81)
      at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
      at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:473)
      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.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:734)
      at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
      at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908)
      at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
      at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:226)
      at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:127)
      at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:116)
      at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
      at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
      at java.lang.Thread.run(Thread.java:662)
    15/02/04 17:13:56 [633] In OADBTransactionImpl.rollback()
    15/02/04 17:13:56 [634]      conn.rollback();  // JBO-JDBC-INTERACT
    15/02/04 17:13:56 [635] Resetting AM=HelloWorldAM
    15/02/04 17:13:56 [636] OAApplicationPoolImpl.setConnectionReleaseLevel was called with isReleased = true, isReserved = false
    15/02/04 17:13:56 [637] setConnectionReleaseLevel - Set connection release level to 2
    Regards,
    Olivier

  • 500 Internal Server Error - java.sql.SQLException: Invalid column index

    500 Internal Server Error
    java.sql.SQLException: Invalid column index     at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:137)     at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:174)     at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:239)     at oracle.jdbc.driver.OracleResultSetImpl.getObject(OracleResultSetImpl.java:851)     at com.stardeveloper.servlets.db.InsertServlet.doPost(InsertServlet.java:88)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)     at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:663)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:285)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)     at java.lang.Thread.run(Thread.java:534)
    This is the connection part of the java code
         // connecting to database
              Connection con = null;
              Statement stmt = null;
              ResultSet rs = null;
              PreparedStatement ps = null;
              try {
                   Class.forName("oracle.jdbc.driver.OracleDriver");
              con=DriverManager.getConnection("host:port:sid, userName, password");
                   String sql;
              sql = "INSERT INTO USERSS(user_id, username) VALUES (?,?)";
                   ps = con.prepareStatement(sql);
                   stmt = con.createStatement();
                   // inserting records
                   if(proceed) {
                        ps.setString(1, user_id);
                        ps.setString(2, username);
                        ps.executeUpdate();
    desc userss;
    Name Null? Type
    USER_ID NOT NULL NUMBER(5)
    USERNAME VARCHAR2(15)
    Index_Name table_name
    USERSS_PK1 USERSS
    when I try to insert values, it is inserting, but at the end I am getting the above error. I am using JDeveloper 10g and database [Oracle9i Enterprise Edition Release 9.2.0.7.0 - 64bit Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.7.0 - Production]

    I suggest you should alter the JDBC Driver and select one for Oracle 9i.
    Which version is your JDev10g?

  • Re : Error java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDrive

    Hello All,
    I am writing this simple program which connects to Oracle DB ( 10.2 ). The Java version I have is 1.5.0_13 . I do have oracle client installed. When I run the below code ...I get error
    java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
            at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
            at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
            at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
            at java.lang.Class.forName0(Native Method)
            at java.lang.Class.forName(Class.java:164)
            at OraThin.main(OraThin.java:13)The code I have is :
    import java.io.*;
    import java.sql.*;
    public class OraThin {
      public static void main(String[] args) {
        try {
    System.out.println(System.getProperty ("java.class.path") );
          Connection con=null;
          Class.forName("oracle.jdbc.driver.OracleDriver");
          con=DriverManager.getConnection(
            "jdbc:oracle:thin:@hostname:15282:ServiceName",
            "scott",
            "tiger");
          Statement s=con.createStatement();
          s.execute("SELECT SYSDATE FROM DUAL");
          s.close();
          con.close();
      } catch(Exception e){e.printStackTrace();}
    } Please suggest as to what am I missing, I am not that well versed with Java.
    Thanks in advance,
    Sam

    Hello Paul,
    Thanks for you suggestion. Based on it , I did add the exact jar file in the PATH environmental variable in XP.
    Path=C:\oraclexe\app\oracle\product\10.2.0\server\jdbc\lib\ojdbc14.jar;C:\oraclexe\a
    pp\oracle\product\10.2.0\server\bin;C:\oracle\product\10.2.0\client_1\bin;C:\Ora
    cle\product\10.1.0\Client_1\bin;C:\Oracle\product\10.1.0\Client_1\jre\1.4.2\bin\
    client;C:\j2sdk1.4.2_06\bin;Even after adding the specific jar file *("C:\oraclexe\app\oracle\product\10.2.0\server\jdbc\lib\ojdbc14.jar")* ..I am getting the exact same error. moreover, to verify this I also tried to import import oracle.jdbc.driver.*.....and now my code would not even complie and I get error *(c:\Program Files\Java\jdk1.5.0_13\bin\OraThin.java:3: package oracle.jdbc.driver*
    does not exist ) . I also rebooted my machine just to make sure ...that didnt work either. Also, I changed these jar to be first in the PATH varibale ..to avoid conflict with any later .jar's classes. The code is :
    import java.io.*;
    import java.sql.*;
    import oracle.jdbc.driver.*;
    public class OraThin {
      public static void main(String[] args) {
        try {
    System.out.println(System.getProperty ("java.class.path") );
          Connection con=null;
          Class.forName("oracle.jdbc.driver.OracleDriver");
          con=DriverManager.getConnection(
            "jdbc:oracle:thin:@hostname:15282:ServiceName",
            "scott",
            "tiger");
          Statement s=con.createStatement();
          s.execute("SELECT SYSDATE FROM DUAL");
          s.close();
          con.close();
      } catch(Exception e){e.printStackTrace();}
    }What am I missing here!! ?
    Thanks again,
    Sam

  • Error : java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver

    Hi,
    I am writing an application and am trying to open a connection to Oracle database that is on a server. I am using the following test code to check if it connects to the database.
    import java.sql.*;
    class dbAccess {
      public static void main (String args []) throws SQLException
            String DBurl = "jdbc:oracle:thin:@local:1522:DBORA";
            String user = "test";
            String pwd = "test123";
            Class.forName("oracle.jdbc.driver.OracleDriver");
            con = DriverManager.getConnection(DBurl, user, pwd);
    }On running the above program I keep on getting the following error:
    Error : java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
    java.lang.NullPointerException
    If I open the connection using JDeveloper wizard I can see the DB. But if running the above program in the JDev, JCreator or commandline keep on getting the error. Any help is appreciated. Thanks

    How do I set the path for the Oracle Driver. ThanksI dunno. You're supposed to know where that class is (what jar it lives in). You set it up in JDeveloper in the first place, so you must have known where it is. After you know that, it's up to you to figure out how JCreator projects are set up to include jars in a project (just like JDeveloper projects do). For the command-line way, you set the classpath on the command-line arguments:
    java -cp (your classpath here, which must include the jars it needs) ...

  • Error: java.lang.NoClassDefFoundError: oracle/jdbc/driver/OracleDriver

    hi,
    I try a simple connect to a DB 9.2.0.1
    through JDBC
    $javac -d /home/oracle/jdbc Applet1.java
    OK
    but ...
    oracle@pluto:/home/oracle/jdbc$ appletviewer -J-Djava.security.policy=mypolic>
    java.lang.NoClassDefFoundError: oracle/jdbc/driver/OracleDriver
    at mypackage.Applet1.connectToDB(Applet1.java:55)
    at mypackage.Applet1.access$000(Applet1.java:17)
    at mypackage.Applet1$1.actionPerformed(Applet1.java:41)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1
    64)
    at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Abstr
    ctButton.java:1817)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonMode
    .java:419)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:25
    private void connectToDB(ActionEvent e) {
    try {
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver())
    con = DriverManager.getConnection ("jdbc:oracle:thin:@pluto:1521:DB
    9IDEV","system","manger");
    empValues.setText("Connected to the Database. Fetching Values from
    TOTO Tables.\n");
    fetchValues();
    } catch (SQLException ex) {
    System.out.println("Connection Error = " + ex.toString());
    I tried with:
    CLASSPATH=/tools/oracle/9.2.0/jdbc/lib/classes12.jar
    and ( loaded from otn for JDK 1.4 and 9.2.0.1)
    CLASSPATH=/tools/oracle/9.2.0/jdbc/lib/ojdbc14.jar
    What I have to put in the CLASSPATH, please ???

    Please don't cross post.
    http://forum.java.sun.com/thread.jsp?thread=541572&forum=57&message=2625798
    http://forum.java.sun.com/thread.jsp?thread=541573&forum=48&message=2625800
    http://forum.java.sun.com/thread.jsp?thread=541574&forum=31&message=2625802

  • 500 Internal Server Error on IBM AIX for Oracle Application Server 10g

    Hi all,
    I have installed Oracle AS 10g on IBM AIX 5.3.After installation everything was working fine.After some time when i was trying to access the emd console for deploying the application it gives me following error:w/o asking for user name(ias_admin) and password.
    500 Internal Server Error
    java.lang.NoClassDefFoundError: oracle/sysman/eml/app/Console     at java.lang.Class.forName0(Native Method)     at java.lang.Class.forName(Class.java(Compiled Code))     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpApplication.loadServlet(HttpApplication.java:2283)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpApplication.findServlet(HttpApplication.java:4795)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:2821)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java(Compiled Code))     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.run(HttpRequestHandler.java(Compiled Code))     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)     at java.lang.Thread.run(Thread.java:568)
    Please help me out...
    Thanks in advance

    Hi,
    I am facing the same problem as well. Below is part
    of error captured from em-application.log:
    08/07/22 17:02:59 Started
    08/07/22 17:03:00 default: jsp: init
    08/07/22 17:03:00 default: Started
    08/07/22 17:03:04 emd: jsp: init
    08/07/22 17:03:04 emd: dynamicImage: init
    08/07/22 17:03:11 emd: Error initializing servlet
    java.lang.InternalError: Can't connect to X11 window
    server using '172.28.8.106:0.0' as the value of the
    DISPLAY variable.
    at
    sun.awt.X11GraphicsEnvironment.initDisplay(Native
    Method)
    at
    sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnv
    ironment.java:175)
    at java.lang.Class.forName1(Native Method)
    at java.lang.Class.forName(Class.java:180)
    at
    java.awt.GraphicsEnvironment.getLocalGraphicsEnvironme
    nt(GraphicsEnvironment.java:91)
    at
    java.awt.Font.initializeFont(Font.java:333)
    at java.awt.Font.<init>(Font.java:368)
    at
    oracle.sysman.eml.app.Console.<clinit>(Console.java:57
    9)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java(Compiled
    Code))
    at
    com.evermind.server.http.HttpApplication.loadServlet(H
    ttpApplication.java:2283)
    at
    com.evermind.server.http.HttpApplication.findServlet(H
    ttpApplication.java:4795)
    at
    com.evermind.server.http.HttpApplication.initPreloadSe
    rvlets(HttpApplication.java:4889)
    at
    com.evermind.server.http.HttpApplication.initDynamic(H
    ttpApplication.java:1015)
    at
    com.evermind.server.http.HttpApplication.<init>(HttpAp
    plication.java:549)
    at
    com.evermind.server.Application.getHttpApplication(App
    lication.java:890)
    at
    com.evermind.server.http.HttpServer.getHttpApplication
    (HttpServer.java:707)
    at
    com.evermind.server.http.HttpSite.initApplications(Htt
    pSite.java:625)
    at
    com.evermind.server.http.HttpSite.setConfig(HttpSite.j
    ava:278)
    at
    com.evermind.server.http.HttpServer.setSites(HttpServe
    r.java:278)
    at
    com.evermind.server.http.HttpServer.setConfig(HttpServ
    er.java:179)
    at
    com.evermind.server.ApplicationServer.initializeHttp(A
    pplicationServer.java:2394)
    at
    com.evermind.server.ApplicationServer.setConfig(Applic
    ationServer.java:1551)
    at
    com.evermind.server.ApplicationServerLauncher.run(Appl
    icationServerLauncher.java:92)
    at java.lang.Thread.run(Thread.java:568)
    17:03:11 emd: Error preloading servlet
    avax.servlet.ServletException: Error initializing
    servlet
    at
    com.evermind.server.http.HttpApplication.findServlet(H
    ttpApplication.java:4846)
    at
    com.evermind.server.http.HttpApplication.initPreloadSe
    rvlets(HttpApplication.java:4889)
    at
    com.evermind.server.http.HttpApplication.initDynamic(H
    ttpApplication.java:1015)
    at
    com.evermind.server.http.HttpApplication.<init>(HttpAp
    plication.java:549)
    at
    com.evermind.server.Application.getHttpApplication(App
    lication.java:890)
    at
    com.evermind.server.http.HttpServer.getHttpApplication
    (HttpServer.java:707)
    at
    com.evermind.server.http.HttpSite.initApplications(Htt
    pSite.java:625)
    at
    com.evermind.server.http.HttpSite.setConfig(HttpSite.j
    ava:278)
    at
    com.evermind.server.http.HttpServer.setSites(HttpServe
    r.java:278)
    at
    com.evermind.server.http.HttpServer.setConfig(HttpServ
    er.java:179)
    at
    com.evermind.server.ApplicationServer.initializeHttp(A
    pplicationServer.java:2394)
    at
    com.evermind.server.ApplicationServer.setConfig(Applic
    ationServer.java:1551)
    at
    com.evermind.server.ApplicationServerLauncher.run(Appl
    icationServerLauncher.java:92)
    at java.lang.Thread.run(Thread.java:568)
    17:03:11 emd: redirect: init
    8/07/22 17:03:11 emd: Started
    08/07/22 17:03:11 cabo: jsp: init
    08/07/22 17:03:11 cabo: Started
    08/07/22 17:05:28 emd: Error initializing servlet
    java.lang.NoClassDefFoundError:
    oracle/sysman/eml/app/Console
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java(Compiled
    Code))
    at com.evermind[Oracle Application Server
    Containers for J2EE 10g
    (10.1.2.0.2)].server.http.HttpApplication.loadServlet
    Http
    Application.java:2283)
    at com.evermind[Oracle Application Server
    Containers for J2EE 10g
    (10.1.2.0.2)].server.http.HttpApplication.findServlet
    Http
    Application.java:4795)
    at com.evermind[Oracle Application Server
    Containers for J2EE 10g
    (10.1.2.0.2)].server.http.HttpApplication.getRequestD
    spat
    cher(HttpApplication.java:2821)
    at com.evermind[Oracle Application Server
    Containers for J2EE 10g
    (10.1.2.0.2)].server.http.HttpRequestHandler.processR
    ques
    t(HttpRequestHandler.java:680)
    at com.evermind[Oracle Application Server
    Containers for J2EE 10g
    (10.1.2.0.2)].server.http.HttpRequestHandler.run(Http
    eque
    stHandler.java:285)
    at com.evermind[Oracle Application Server
    Containers for J2EE 10g
    (10.1.2.0.2)].server.http.HttpRequestHandler.run(Http
    eque
    stHandler.java:126)
    at com.evermind[Oracle Application Server
    Containers for J2EE 10g
    (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$M
    Work
    er.run(ReleasableResourcePooledExecutor.java:186)
    at java.lang.Thread.run(Thread.java:568)
    17:05:28 emd: Servlet error
    /b]
    Could someone please help me take a look on this?
    Thank you.
    Regards,
    HT
    Hi,
    I have got the solution........
    go through the url:
    http://docs.tpu.ru/docs/oracle/en/oas/10.1.2.0.2/aix.1012/relnotes.1012/relnotes/install.htm
    Read these points:
    Class Not Found Execption: 2.1.25
    After doing all these four steps,restart your application server control.
    Cause of this problem:
    X Virtual Frame Buffer: 2.4.14
    Cheers,

Maybe you are looking for

  • Rev2:  2 Apple IDs on the same computer?

    My partner has her own Apple ID/account and her own Mac running 10.7.  She uses the Mac App Store. I have my own Apple ID/account and an iPhone running iOS 5.1.  I also have a Mac running 10.5 and I will upgrade that later (compatibility issues). I h

  • Acrobat Writer won't create pdf from GenoPro webpage

    A teriffic genealogy program is GenoPro.  It prints to the web (or to the hard drive) as an actual html web page(s).  I can click on any name and go there, click on any name in the pedigree chart and go to that person.  I tried creating pdf and chose

  • WRT54GH - Which cable should I use???

    I bought a new router and I try to connect my adsl modem in my new Router and the both lan lights(router/adsl) still turned off ......  with the old router, I used the same cable that I am trying to use in this new router now....   Should I use anoth

  • Using wi-fi as default setting

    How do I set up the iPad so that it uses wi-fi when in range instead of my cellular account?

  • How to find database status

    how to find database status(average execution,reads,writes,block size)