OIM Null Connection Errors

We have OIM 9.1.0.2 configured in our environment. I am seeing a lot of GOT A NULL CONNECTION errors in the application logs. But when we contact the DBAs, they are not seeing any errors on the database side. I am seeing only from the application side. We are running on OAS 10.1.3.1
here is the error:
WARN,22 Feb 2012 06:00:14,153,[XELLERATE.DATABASE],Trying to get the connection count : 1
WARN,22 Feb 2012 06:00:14,153,[XELLERATE.DATABASE],Trying to get the connection count : 1
WARN,22 Feb 2012 06:00:14,153,[XELLERATE.DATABASE],Trying to get the connection count : 1
WARN,22 Feb 2012 06:00:14,153,[XELLERATE.DATABASE],Trying to get the connection count : 4
WARN,22 Feb 2012 06:00:14,153,[XELLERATE.DATABASE],Trying to get the connection count : 0
WARN,22 Feb 2012 06:00:14,169,[XELLERATE.DATABASE],Trying to get the connection count : 2
WARN,22 Feb 2012 06:00:14,169,[XELLERATE.DATABASE],Trying to get the connection count : 3
WARN,22 Feb 2012 06:00:14,169,[XELLERATE.DATABASE],Trying to get the connection count : 0
WARN,22 Feb 2012 06:00:14,169,[XELLERATE.DATABASE],Trying to get the connection count : 0
WARN,22 Feb 2012 06:00:14,169,[XELLERATE.DATABASE],Trying to get the connection count : 3
ERROR,22 Feb 2012 06:00:14,247,[XELLERATE.DATABASE],Class/Method: DirectDB/getConnection encounter some problems: Error while retrieving database connection.Please check for the follwoing
Database srever is running.
Datasource configuration settings are correct.
ERROR,22 Feb 2012 06:00:14,247,[XELLERATE.DATABASE],Class/Method: tcDataBase/readPartialStatement encounter some problems: Got a null connection
java.sql.SQLException: Got a null connection
     at com.thortech.xl.dataaccess.tcDataBase.readPartialStatement(Unknown Source)
     at com.thortech.xl.dataobj.tcDataBase.readPartialStatement(Unknown Source)
     at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)
     at com.thortech.xl.dataobj.tcDataSet.executeQuery(Unknown Source)
     at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)
     at com.thortech.xl.dataobj.tcDataSet.executeQuery(Unknown Source)
     at com.thortech.xl.ejb.beansimpl.tcHelpOperationsBean.getHelpAbout(Unknown Source)
     at com.thortech.xl.ejb.beans.tcHelpOperationsSession.getHelpAbout(Unknown Source)
     at sun.reflect.GeneratedMethodAccessor275.invoke(Unknown Source)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:585)
     at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
     at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
     at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
     at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
     at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
     at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
     at com.evermind.server.ejb.interceptor.system.SecurityRoleInterceptor.invoke(SecurityRoleInterceptor.java:47)
     at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
     at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
     at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
     at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
     at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
     at tcHelpOperations_RemoteProxy_6ocop18.getHelpAbout(Unknown Source)
     at sun.reflect.GeneratedMethodAccessor280.invoke(Unknown Source)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:585)
     at com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
     at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
     at java.lang.Thread.run(Thread.java:595)
ERROR,22 Feb 2012 06:00:14,247,[XELLERATE.APIS],Class/Method: tcHelpOperationsBean/getHelpAbout encounter some problems: Error occurred while getting the database build number.
ERROR,22 Feb 2012 06:00:14,247,[XELLERATE.APIS],Class/Method: tcHelpOperationsBean/getHelpAbout encounter some problems: Data Access Error
com.thortech.xl.dataaccess.tcDataSetException: Data Access Error
     at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)
     at com.thortech.xl.dataobj.tcDataSet.executeQuery(Unknown Source)
     at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)
     at com.thortech.xl.dataobj.tcDataSet.executeQuery(Unknown Source)
     at com.thortech.xl.ejb.beansimpl.tcHelpOperationsBean.getHelpAbout(Unknown Source)
     at com.thortech.xl.ejb.beans.tcHelpOperationsSession.getHelpAbout(Unknown Source)
     at sun.reflect.GeneratedMethodAccessor275.invoke(Unknown Source)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:585)
     at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
     at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
     at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
     at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
     at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
     at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
     at com.evermind.server.ejb.interceptor.system.SecurityRoleInterceptor.invoke(SecurityRoleInterceptor.java:47)
     at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
     at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
     at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
     at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
     at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
     at tcHelpOperations_RemoteProxy_6ocop18.getHelpAbout(Unknown Source)
     at sun.reflect.GeneratedMethodAccessor280.invoke(Unknown Source)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:585)
     at com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
     at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
     at java.lang.Thread.run(Thread.java:595)
Data AccessException:

Search for file: data-sources.xml file in your app server directories and modify it. Go to data sources section and do the modification. A sample datasource may look like:
<data-sources>
<!-- vendor pooled DataSource -->
<data-source
name="vendorPooled"
location="jdbc/vendorPooledDS"
class="com.inet.tds.PDataSource"
max-connections="10"
min-connections="2"
inactivity-timeout="60"
staleness-timeout="0"
alive-poll-query="query"
wait-timeout="30"
username="sa"
password=""
host="localhost"
schema="database-schemas/ms-sql.xml"
>
<property name="databaseName" value="sample"/>
</data-source>
</data-sources>
Here update min and max connections. You can have min=15 and max 50 (as per you requirements)
HTH
regards,
GP

Similar Messages

  • Error: Found Null Connection

    Using JDeveloper, I set up a connection with success. However, running the program generates the following error:
    java.sql.SQLException: found null connection context
    The error persists even when I use [contextNameFromtheConnection] with #sql{...};
    Fortunately, when I switched back to SQLJ code only, setting up the connection using Oracle.connect(...), it works in JDK 1.18, but not in 1.2.2. Furthermore, by doing so, I had to leave the JDeveloper Connection standing there useless. I even can not delete it from the upper-left Navigator pane!
    I really appreciate your help. Have fun and sleepless night with ORACLE.
    Thanks for your time.
    Xiang
    null

    The 8.1.5 tools (SQLJ, and EJB CLient for example) must be run in JDK 1.1.x. The 8.1.6 versions of these should work with JDK 1.2.x

  • DAE.DB_READ_FAILED   java.sql.SQLException: Got a null connection

    While adding / updating user in OIM, I am getting error on random basis.
    Sometime the system is allowing to add / update and sometimes it is giving below mentioned error.
    Due to this, there is huge impact on production with 30,000+ users in OIM
    Please help ASAP.
    WARN,29 Aug 2012 14:48:10,813,[XELLERATE.DATABASE],Trying to get the connection count : 0
    WARN,29 Aug 2012 14:48:10,816,[XELLERATE.DATABASE],Trying to get the connection count : 1
    WARN,29 Aug 2012 14:48:10,820,[XELLERATE.DATABASE],Trying to get the connection count : 2
    WARN,29 Aug 2012 14:48:10,823,[XELLERATE.DATABASE],Trying to get the connection count : 3
    WARN,29 Aug 2012 14:48:10,826,[XELLERATE.DATABASE],Trying to get the connection count : 4
    ERROR,29 Aug 2012 14:48:10,827,[XELLERATE.DATABASE],Class/Method: DirectDB/getConnection encounter some problems: Error while retrieving database connection.Please check for the follwoing
    Database srever is running.
    Datasource configuration settings are correct.
    ERROR,29 Aug 2012 14:48:10,828,[XELLERATE.DATABASE],Class/Method: tcDataBase/readPartialStatement encounter some problems: Got a null connection
    java.sql.SQLException: Got a null connection
         at com.thortech.xl.dataaccess.tcDataBase.readPartialStatement(Unknown Source)
         at com.thortech.xl.dataobj.tcDataBase.readPartialStatement(Unknown Source)
         at com.thortech.xl.dataobj.tcDataBase.readStatement(Unknown Source)
         at com.thortech.xl.dataobj.tcDataBase.getError(Unknown Source)
         at com.thortech.xl.dataobj.tcDataObj.handleError(Unknown Source)
         at com.thortech.xl.dataobj.tcDataObj.handleError(Unknown Source)
         at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
         at com.thortech.xl.dataobj.tcTableDataObj.save(Unknown Source)
         at com.thortech.xl.dataobj.tcRCE.reapplyRules(Unknown Source)
         at com.thortech.xl.ejb.databeansimpl.tcRCEBean.reapplyRules(Unknown Source)
         at com.thortech.xl.ejb.beans.tcRCE_4tknfu_EOImpl.reapplyRules(tcRCE_4tknfu_EOImpl.java:45)
         at com.thortech.xl.ejb.beans.tcRCE_4tknfu_EOImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.activation.ActivatableServerRef.invoke(ActivatableServerRef.java:90)
         at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:434)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:429)
         at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:35)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
    ERROR,29 Aug 2012 14:48:10,829,[XELLERATE.SERVER],Class/Method: tcDataObj/handleError encounter some problems: {1}
    com.thortech.xl.orb.dataaccess.tcDataAccessException
         at com.thortech.xl.dataaccess.tcDataAccessExceptionUtil.createException(Unknown Source)
         at com.thortech.xl.dataaccess.tcDataBase.createException(Unknown Source)
         at com.thortech.xl.dataaccess.tcDataBase.readPartialStatement(Unknown Source)
         at com.thortech.xl.dataobj.tcDataBase.readPartialStatement(Unknown Source)
         at com.thortech.xl.dataobj.tcDataBase.readStatement(Unknown Source)
         at com.thortech.xl.dataobj.tcDataBase.getError(Unknown Source)
         at com.thortech.xl.dataobj.tcDataObj.handleError(Unknown Source)
         at com.thortech.xl.dataobj.tcDataObj.handleError(Unknown Source)
         at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
         at com.thortech.xl.dataobj.tcTableDataObj.save(Unknown Source)
         at com.thortech.xl.dataobj.tcRCE.reapplyRules(Unknown Source)
         at com.thortech.xl.ejb.databeansimpl.tcRCEBean.reapplyRules(Unknown Source)
         at com.thortech.xl.ejb.beans.tcRCE_4tknfu_EOImpl.reapplyRules(tcRCE_4tknfu_EOImpl.java:45)
         at com.thortech.xl.ejb.beans.tcRCE_4tknfu_EOImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.activation.ActivatableServerRef.invoke(ActivatableServerRef.java:90)
         at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:434)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:429)
         at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:35)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
    Caused by [Nested Exception]:
    java.sql.SQLException: Got a null connection
         at com.thortech.xl.dataaccess.tcDataBase.readPartialStatement(Unknown Source)
         at com.thortech.xl.dataobj.tcDataBase.readPartialStatement(Unknown Source)
         at com.thortech.xl.dataobj.tcDataBase.readStatement(Unknown Source)
         at com.thortech.xl.dataobj.tcDataBase.getError(Unknown Source)
         at com.thortech.xl.dataobj.tcDataObj.handleError(Unknown Source)
         at com.thortech.xl.dataobj.tcDataObj.handleError(Unknown Source)
         at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
         at com.thortech.xl.dataobj.tcTableDataObj.save(Unknown Source)
         at com.thortech.xl.dataobj.tcRCE.reapplyRules(Unknown Source)
         at com.thortech.xl.ejb.databeansimpl.tcRCEBean.reapplyRules(Unknown Source)
         at com.thortech.xl.ejb.beans.tcRCE_4tknfu_EOImpl.reapplyRules(tcRCE_4tknfu_EOImpl.java:45)
         at com.thortech.xl.ejb.beans.tcRCE_4tknfu_EOImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.activation.ActivatableServerRef.invoke(ActivatableServerRef.java:90)
         at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:434)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:429)
         at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:35)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
    DEBUG,29 Aug 2012 14:48:10,830,[XELLERATE.SERVER],Class/Method: tcDataBase/getError entered.
    DEBUG,29 Aug 2012 14:48:10,831,[XELLERATE.SERVER],Class/Method: tcDataBase/isActionLoggable entered.
    DEBUG,29 Aug 2012 14:48:10,831,[XELLERATE.SERVER],Class/Method: tcDataBase/isActionLoggable left.
    DEBUG,29 Aug 2012 14:48:10,831,[XELLERATE.SERVER],Class/Method: tcDataBase/logError entered.
    ERROR,29 Aug 2012 14:48:10,831,[XELLERATE.DATABASE],Error: Error Keyword: DAE.DB_READ_FAILED
    Description: Could not execute database read. The database encountered a problem with the specified SQL query.
    Remedy: Check the database query. Contact your system adminstrator.
    Action: E
    Severity: H
    Help URL:
    Detail:
    com.thortech.xl.orb.dataaccess.tcDataAccessException: DB_READ_FAILEDDetail: SQL: select err_key, err_code, err_desc, err_rowver, err_remedy, err_count, err_last_occurance, err_action, err_help_url, err_severity from err where err_code='DOBJ.UPDATE_FAILED'Description: Got a null connectionSQL State: Vendor Code: 0Additional Debug Info:com.thortech.xl.orb.dataaccess.tcDataAccessException
         at com.thortech.xl.dataaccess.tcDataAccessExceptionUtil.createException(Unknown Source)
         at com.thortech.xl.dataaccess.tcDataBase.createException(Unknown Source)
         at com.thortech.xl.dataaccess.tcDataBase.readPartialStatement(Unknown Source)
         at com.thortech.xl.dataobj.tcDataBase.readPartialStatement(Unknown Source)
         at com.thortech.xl.dataobj.tcDataBase.readStatement(Unknown Source)
         at com.thortech.xl.dataobj.tcDataBase.getError(Unknown Source)
         at com.thortech.xl.dataobj.tcDataObj.handleError(Unknown Source)
         at com.thortech.xl.dataobj.tcDataObj.handleError(Unknown Source)
         at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
         at com.thortech.xl.dataobj.tcTableDataObj.save(Unknown Source)
         at com.thortech.xl.dataobj.tcRCE.reapplyRules(Unknown Source)
         at com.thortech.xl.ejb.databeansimpl.tcRCEBean.reapplyRules(Unknown Source)
         at com.thortech.xl.ejb.beans.tcRCE_4tknfu_EOImpl.reapplyRules(tcRCE_4tknfu_EOImpl.java:45)
         at com.thortech.xl.ejb.beans.tcRCE_4tknfu_EOImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.activation.ActivatableServerRef.invoke(ActivatableServerRef.java:90)
         at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:434)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:429)
         at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:35)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)

    Hi Nishith,
    max connection pool size is already set to 50 , which is recommended.
    Please Advise.
    Thanks
    Rachit

  • ADF: Gracefully handling JDBC connection errors?  Part II

    Hi gang
    I while back I posted a forum post to find a solution to "display a specific web page when the JDBC connection drops out on our ADF application, specifically the following error: oracle.jbo.DMLException: JBO-26061: Error while opening JDBC connection"
    ...you can see the original post here:
    Re: ADF: Gracefully handling JDBC connection errors?
    For the life of me I can't get this to work now. It appears I can't redirect to another page during the call to reportException. I've had a play with different methods of redirecting, as seen in the following code sample:
    public class ErrorHandlerImpl extends DCErrorHandlerImpl {
      public ErrorHandlerImpl() {
        super(true);
      @Override
      public void reportException(DCBindingContainer dCBindingContainer, Exception exception) {
    //    try {
          String message = exception.getMessage();
          if (message.indexOf("JBO-26061") >= 0) {
            // Method 1
            FacesContext fc = FacesContext.getCurrentInstance();
            UIViewRoot viewRoot =
            fc.getApplication().getViewHandler().createView(fc, "faces/errorPage.jspx");
            fc.setViewRoot(viewRoot);
            fc.renderResponse();
            // Method 2              
            // FacesContext fc = FacesContext.getCurrentInstance();
            // fc.getApplication().getNavigationHandler().handleNavigation(fc, null, "goError");
            // fc.responseComplete();
            // Method 3 - required IOExcepition handler
            // FacesContext.getCurrentInstance().getExternalContext().redirect("faces/errorPage.jspx");
          } else
              super.reportException(dCBindingContainer, exception);
    //    } catch (IOException e) {
    }... with no success.
    Has anyobody any other solutions or advice on getting this to work?
    Your help appreciated.
    Thanks & regads,
    CM.
    PS. JDev 11gR1 ADF BC + ADF Faces RC

    Hi Frank
    Yep, I' tried redirect, that was method 3 (you can see all 3 methods I've attempted, last 2 are commented out).
    With the declarative ADFc exception handler, problem is it's a catch all, not specifically for JBO-26061. Can you think of a way I can tailor fit it for JBO-26061 with a custom message "Database down"?
    In addition the exception handler is not consistently called. As example, if you're moving between pages rather than operating on 1 page, the standard af:messages error dialog is shown if the db connection has been dropped, rather than navigating to the exception handler page. As such it seems the DCErrorHandlerImpl.reportExceptions is the better chokepoint to work from.
    Cheers,
    CM.

  • Connection error while provisioning to AD in SSL mode

    Hi all,
    I am trying to establish the OIM-AD communication in SSL mode to provision the passwords.
    for that i used the MSFT_AD_base_91100 connector and deployed it on my OIM-9101which is on Win Server 2003
    I configured the ITResource by specifying the following details.
    use SSL: yes allow password provisioning: yes port:636
    and i imported the keystore by executing 'keytool' command at \bea\jdk....\jre\... keytool.exe
    but when i am trying to provision the user by using this SSL mode configuration i am getting the error "Error encountered while connecting to target system". and in the logs i am getting the following exception
    =========================================================
    ERROR,25 Mar 2010 03:40:49,812,[OIMCP.ADCS],com.thortech.xl.integration.ActiveDi
    rectory.tcUtilADTasks : createUser
    ERROR,25 Mar 2010 03:40:49,812,[OIMCP.ADCS],Connection Error Occur
    ERROR,25 Mar 2010 03:40:49,812,[OIMCP.ADCS],Description : Connection Error Occur
    ERROR,25 Mar 2010 03:40:49,812,[OIMCP.ADCS],com.thortech.xl.exception.Connection
    Exception: Connection Error Occur
    ==========================================================
    Note: 1) checked AD in SSL mode through jxplorer and ldapbrowser and it is connecting in SSL mode.
    2) checked by provisioning the user in non-ssl mode using this connector and its working fine.
    Could anyone help me in resolving the issue.?????
    Thanks in advance.

    My suggestion would be - Follow the steps religiously and see if you missed any step or not because I have tried it many a times and other people have also did and it works. You are saying that you imported that certificate in OIM too. See the document and verify your steps and finally the connection parameters in IT resource should be:
    - Use SSL = yes
    - Port Number = *636*
    Thanks
    Sunny

  • DB connect error in pre-migration check (EP5.0 SP6- EP6 SP16)

    Hello,
          I am working on migration (EP 5.0 SP 6--> EP 6.0 SP 16).
    I have created a EP 5 System ,While I am checking for connectivity, (http://nw04:5000/sp) it displays an error message. Here is a string I have used for connection.
    URL: jdbc:sap:sqlserver://btep-5:1433;DatabaseName=TTPSys
    Driver Class Name: com.sap.portal.jdbc.sqlserver.SQLServerDriver
    <b>Error message start:</b>----
    Test connection to source DB failed, please check Database parameters in EP5.0 system
    exception occured - could not check P310_SUPPORTED_LANGUAGES
    Tue Aug 08 17:01:31 GMT+05:30 2006 : java.lang.ClassNotFoundException
    at com.sapportals.utilities.analyzer.deploy.JarClassLoader.findClass(JarClassLoader.java:82)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:141)
    at com.sap.portal.ep5tonw04migration.premigration.checkDBConnection.createConnection(checkDBConnection.java:82)
    at com.sap.portal.ep5tonw04migration.premigration.checkDBConnection.checkConnectionToDB(checkDBConnection.java:58)
    at com.sap.portal.ep5tonw04migration.premigration.checkDBConnection.analyze(checkDBConnection.java:30)
    at com.sapportals.utilities.analyzer.PluginManager.analyze(PluginManager.java:281)
    at com.sapportals.utilities.analyzer.PluginManager.run(PluginManager.java:995)
    at java.lang.Thread.run(Thread.java:534)
    Tue Aug 08 17:01:31 GMT+05:30 2006 : null
    <b>Error message END:</b>----
    Does any one have idea what could be the reason?
    Regards
    Sunil Kulkarni

    Hello Nageshwar,
    the likely root cause of this issue is the lack of permissions for the user on the shadow instance.
    Please review note #592514 and check your users' rights accordingly.
    Best regards,
    Tomas Black

  • LMS4.2.2 TopologyView - sporadic Aniserver connect error

    Hello,
    As some others in this formun too, I recognized similar Java caused TolpologyView Problems.
    But not allways: With all clients in this network including the local IE on LMS server too - sometimes the start of TopologyView is working, sometimes not:
    In Failure-Situation: Cannont conect to ANIServer: null, unknown error
    I switched also the Windows-Firewall (tuned for all LMS-Apps and DFM with monitoring via logging for blocking connections before) at LMS server off - no changed behaviour. There is no other firewall in between, direct connection - that means Proxy exception set in browser. The problem is the same with IE and Mozilla and also the same with local and ACS remote users. Would be nice if I can switch the Windows-FW on again, because its actually a must from the security department at this customer that the windows firewall is active.
    Attached is a screenshot of the error message, status bar of connecting ANI... und the Java-console-log in Failure-Situation.
    Need help,
    thx, Steffen

    Hi Aparada
    The LMS is installed in a Windows Server 2008 Enterprise.
    I restarted the ANIDbEngine process but I have the issue yet. Also, I see that ANIServer process is in "Running with busy flag set" state. Is this normal?
    3.
    ANIDbEngine
    Program started - No mgt msgs received
    1488
    0
    0
    N/A
    Not applicable
    4.
    ANIServer
    Running with busy flag set
    12736
    0
    0
    9/19/2012 3:34:06 PM
    Not applicable
    Thanks

  • Web Service Timeout & connection errors

    Using jwsdp 2, i have developed a client that has a timeout property set. How are timeouts processed? Is an exception thrown by the port? or does the web method just return with a null return value?
    I also have noticed that in simulating a connection error (by stopping my app server) that an exception is thrown by the web method? but the exception is a javax.xml.ws.WebServiceException. How do I distinguish connection errors from other exceptions? what other exceptions are there?
    Basically, where is this info documented?

    Hello Vipul
    Enter the RZ10 and validates the TIMEOUT value of parameter "icm/server_port_<x>" for  PROT=HTTP and PROT=HTTPS.
    For example, the HTTP service is on port 0 and TIMEOUT=600 seconds
    icm/server_port_0 = PROT=HTTP,PORT=80$$,PROCTIMEOUT=600,TIMEOUT=600
    in your case, increasing the TIMEOUT and validates the WS again
    regards
    Juan

  • Fatal NI connect error 12170 issue

    Hi guys,
    I posted this issue a while back, but go no response, so just hoping for some more feedback. In my alert log, I constantly receive this error:
    Fatal NI connect error 12170.
    VERSION INFORMATION:
         TNS for 64-bit Windows: Version 11.1.0.6.0 - Production
         Oracle Bequeath NT Protocol Adapter for 64-bit Windows: Version 11.1.0.6.0 - Production
         Windows NT TCP/IP NT Protocol Adapter for 64-bit Windows: Version 11.1.0.6.0 - Production
    Time: 26-MAY-2010 13:05:04
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12535
    TNS-12535: TNS:operation timed out
    ns secondary err code: 12560
    nt main err code: 505
    TNS-00505: Operation timed out
    nt secondary err code: 60
    nt OS err code: 0
    Client address: (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.X.XX)(PORT=2504))
    One of metalinks suggestions is to set DIAG_ADR_ENABLED =OFF. My question is, will that really help and what really is the effect to turning that parameter off????
    I usually have 150 users connected at a time to the database, and i am hearing there are a lot of time outs out there in the field...Not sure how to go about diagnosing this......The users are connecting via webservers and dmz so also not sure if i should be looking into setting up Connection Manager. Any help will be appreciated...

    Sorry I took forever to reply to this....I went out on vacation and just got back....I think this IP is associated with a Virtual Setup....
    The weird thing is, alot of the systems which were accessing the database just fine are now receiving timeouts...Nothing has changed in the database setup...Right now I am getting this error from another application: "null     Io exception: Connection reset" Not sure how to tackle this situation.

  • After Server running for a period of time, get Connection Errors

    Hi All,
    We're experiencing some serious issues during performance testing.
    Its only occurring with WebLogic 10.3 and only occurring with connections of type oracle.jdbc.driver.OracleConnection.
    After a good while testing, the server fills up with the following exceptions....
    <09-Oct-2009 15:34:17 o'clock IST> <Warning> <JDBC> <BEA-001129> <Received exception while creating connection for pool "jdbc/sdoPool": Io exception: The Network Adapter could not establish the connection>
    Here is the configuration of the jdbc/sdoPool :
    Driver Class Name: oracle.jdbc.OracleDriver
    Properties -->
    user=SOL_ISMART_USER
    class=oracle.jdbc.pool.OracleConnectionCacheImpl
    protocol=thin
    Initial Capacity: 1
    Maximum Capacity: 100
    Capacity Increment: 1
    Remove Infected Connections Enabled
    Code to get Connection....
    DataSource dataSource = null;
    try
    dataSource = (DataSource) ctxt.lookup( "java:comp/env/jdbc/"+poolName );
    catch ( NamingException ne )
    dataSource = (DataSource) ctxt.lookup( poolName );
    Connection conn = dataSource.getConnection();
    OracleConnection vendorConn = (OracleConnection)((WLConnection)conn).getVendorConnection();
    vendorConn.setClientData( "LOGICAL_CONNECTION", conn );
    return vendorConn;
    Here is my code to close the connection.....
    if ( con instanceof OracleConnection )
    if ( ( (OracleConnection) con ).getClientData( C_LOGICAL_CONNECTION ) != null )
    Connection logicalCon = (Connection) ( (OracleConnection) con ).getClientData( C_LOGICAL_CONNECTION );
    // release connection - defense against connection leaking
    ( (OracleConnection) con ).setClientData(C_LOGICAL_CONNECTION, new Object());
    logicalCon.close();
    logicalCon = null;
    con = null;
    else
    con = null;
    else
    if ( !con.isClosed() )
    con.close();
    Any advice / help greatly appreciated.
    Ronan

    The issue did seem to reduce when the initial connections were increased and the error also became less frequent when the login delay was implemented.
    However, since my code is generating Maps the connection was being used to determine the orientation of the North arrow on the map for the particular view ... The ultimate solution was to remove the render-time database connection and calculate the orientation angle in code.
    Thanks,
    Ronan

  • Jdbcodbc connection error

    When I am trying to access the database using JDBC ODBC driver from webdynpro I am getting connection error.  The following code I am using to get the connection for the database
    public java.sql.Connection getConnection( )
    //@@begin getConnection()
    Connection conn = null;
    try {
    Class.forName ("sun.jdbc.odbc.JdbcOdbcDriver");
    conn= DriverManager.getConnection("jdbc:odbc:PrimaveraSDK","admin", "admin");
    catch (ClassNotFoundException e) {
    e.printStackTrace();
    catch (SQLException e) {
    e.printStackTrace();
    return conn;
    //@@end
    I am getting connection is null error.  When I am trying to access the same in the standalone application I am able to connect with the database. But in webdynpro I am getting connection null error.  Kindly let me know how to resolve this issue.
    Thanks,
    Regards,
    Balamurugan (Bala)

    First, bug reports can be made at http://metalink.oracle.com, but you'll need a support contract.
    Second, does the bug reproduce if you use one of the Oracle JDBC drivers? Using the JDBC-ODBC bridge is a really bad idea when the OCI and thin drivers are available.
    Justin

  • Creating connection error?

    hey all, i have created an application which when run through eclipse works 100% as expected. but when exported as a .jar i recieve an error from conecting to the database in question.
    String URL = "jdbc:mysql://82.110.105.79:3306/web79-j-clarkhou", username = "*****", password = "********";
                   try {
                        Class.forName("com.mysql.jdbc.Driver").newInstance();
                        con = DriverManager.getConnection(URL, username, password);i have narrowed it down to the above 3 lines, the URL string is 100% correct so im guessing its either not finding my driver or cannot create the connection help please ?

    I will gladly show you the code nested between them two areas, but i can assure you that the code is never reached. the application does not even make the connection. i have manually tested this by printing out after every command as it wasnt throwing any error
    Connection con = null;
                   String URL = "jdbc:mysql://82.110.105.79:3306/web79-j-clarkhou", username = "****", password = "******";
                   try {
                        Class.forName("com.mysql.jdbc.Driver").newInstance();
                        con = DriverManager.getConnection(URL, username, password);
                        if (!con.isClosed()) {
                             mainAddNote("DATABASE # Successfully connected to "
                                       + "MySQL server using TCP/IP");
                        Statement stmt = con.createStatement();
                        /* Load customer list */
                        ResultSet rs = stmt.executeQuery("SELECT * FROM `Customers`");
                        while (rs.next()) {
                             Customer cust = new Customer();
                             cust.customerID = rs.getInt("customerID");
                             cust.firstName = rs.getString("firstName");
                             cust.lastName = rs.getString("lastName");
                             cust.houseNumber = rs.getString("houseNumber");
                             cust.postCode = rs.getString("postCode");
                             cust.telephone = rs.getString("telephone");
                             customer.addCustomer(cust);
                        rs.close();
                        /* Load buy list */
                        rs = stmt.executeQuery("SELECT * FROM `Buy`");
                        while (rs.next()) {
                             Buy trans = new Buy();
                             trans.transID = rs.getInt("transID");
                             trans.staffID = rs.getInt("staffID");
                             trans.vehicleID = rs.getInt("vehicleID");
                             trans.customerID = rs.getInt("customerID");
                             trans.date = inputValidation.dateConvert(rs
                                       .getString("date"));
                             trans.isPrivate = inputValidation.stringToBoolean(rs
                                       .getString("isPrivate"));
                             trans.boughtPrice = rs.getDouble("boughtPrice");
                             buy.addBuy(trans);
                        rs.close();
                        /* Load Sell list */
                        rs = stmt.executeQuery("SELECT * FROM `Sell`");
                        while (rs.next()) {
                             Sell trans = new Sell();
                             trans.transID = rs.getInt("transID");
                             trans.staffID = rs.getInt("staffID");
                             trans.vehicleID = rs.getInt("vehicleID");
                             trans.customerID = rs.getInt("customerID");
                             trans.date = inputValidation.dateConvert(rs
                                       .getString("date"));
                             trans.isPrivate = inputValidation.stringToBoolean(rs
                                       .getString("isPrivate"));
                             trans.soldPrice = rs.getDouble("soldPrice");
                             trans.warranty = inputValidation.dateConvert(rs
                                       .getString("Warranty"));
                             trans.isNew = Boolean.parseBoolean(rs.getString("isNew"));
                             sell.addSell(trans);
                        rs.close();
                        /* Load Service list */
                        rs = stmt.executeQuery("SELECT * FROM `Service`");
                        while (rs.next()) {
                             Service serv = new Service();
                             serv.serviceID = rs.getInt("ServiceID");
                             serv.customerID = rs.getInt("CustomerID");
                             serv.vehicleID = rs.getInt("VehicleID");
                             serv.date = inputValidation.dateConvert(rs
                                       .getString("Date"));
                             serv.confirmed = inputValidation.stringToBoolean(rs
                                       .getString("Confirmed"));
                             serv.cost = rs.getDouble("Cost");
                             serv.notes = rs.getString("Notes");
                             services.addService(serv);
                        rs.close();
                        /* Load Staff list */
                        rs = stmt.executeQuery("SELECT * FROM `Staff`");
                        while (rs.next()) {
                             Staff staffMem = new Staff();
                             staffMem.staffID = rs.getInt("staffID");
                             staffMem.password = rs.getString("password");
                             staffMem.staffID = rs.getInt("staffID");
                             staffMem.firstName = rs.getString("firstName");
                             staffMem.lastName = rs.getString("lastName");
                             staffMem.isSenior = inputValidation.stringToBoolean(rs
                                       .getString("isSenior"));
                             staffMem.wage = rs.getDouble("wage");
                             staffMem.houseNumber = rs.getString("houseNumber");
                             staffMem.postCode = rs.getString("postCode");
                             staffMem.telephone = rs.getString("telephone");
                             staff.addStaff(staffMem);
                        rs.close();
                        /* Load Vehicle ID's for FTP download */
                        rs = stmt.executeQuery("SELECT `vehicleID` FROM `Vehicles`");
                        rs.last(); // move to last record so a count can be initiated
                        int id[] = new int[rs.getRow()];
                        rs.first(); // return to first record
                        while (rs.next()) {
                             id[rs.getRow() - 1] = rs.getInt("vehicleID");
                        rs.close();
                        /* Download images to temp directory */
                        Ftp.downloadAll(id);
                        /* Load Vehicles list */
                        rs = stmt.executeQuery("SELECT * FROM `Vehicles`");
                        while (rs.next()) {
                             Vehicle car = new Vehicle();
                             car.vehicleID = rs.getInt("vehicleID");
                             car.make = rs.getString("make");
                             car.model = rs.getString("model");
                             car.engine = rs.getDouble("engine");
                             car.reg = rs.getString("reg");
                             car.yearMade = Integer.parseInt(rs.getString("yearMade"));
                             car.fuel = Integer.parseInt(rs.getString("fuel"));
                             car.mileage = rs.getInt("mileage");
                             car.bodyType = rs.getInt("bodyType");
                             car.isSold = inputValidation.stringToBoolean(rs
                                       .getString("isSold"));
                             car.salePrice = rs.getDouble("price");
                             car.colour = rs.getString("colour");
                             car.comment = rs.getString("comment");
                             if (new File("vehImg/" + car.getVehicleID() + ".jpg")
                                       .exists()) {
                                  car.image = ImageIO.read(new File("vehImg/"
                                            + car.getVehicleID() + ".jpg"));
                             } else {
                                  car.image = null;
                             vehicle.addVehicles(car);
                        rs.close();
                        break;
                   } catch (Exception e) {
                        System.out.println("Exception  : " + e.getMessage());
                        System.out.println("Stack trace: " + e.getStackTrace());
                        System.out.println("Cause      : " + e.getCause());
                        Object[] options = { "Retry", "Exit" };
                        Component frame = null;
                        okFlag = JOptionPane
                                  .showOptionDialog(
                                            frame,
                                            "There has been an error connecting to the database.\n"
                                                      + "Please check that you are connected to the internet",
                                            "Connection Error", JOptionPane.YES_NO_OPTION,
                                            JOptionPane.WARNING_MESSAGE, null, options,
                                            options[0]);
                   } finally {
                        try {
                             if (con != null) {
                                  con.close();
                        } catch (SQLException e) {
                        mainAddNote("DATABASE # All lists loaded!");
                   }

  • Oim Strting errror- Error XELLERATE.ACCOUNTMANAGEMENT

    Hi ,
    I am getting the following error when I am starting the OIM server.
    <Error> <XELLERATE.ACCOUNTMANAGEMENT> <BEA-000000> <Class/Method: tcDefaultDBEncryptionImpl/decrypt encounter some problems: Input length must be multiple of 16 when decrypting with padded cipher
    javax.crypto.IllegalBlockSizeException: Input length must be multiple of 16 when decrypting with padded cipher
    at com.sun.crypto.provider.SunJCE_f.b(DashoA13*..)
    at com.sun.crypto.provider.SunJCE_f.b(DashoA13*..)
    at com.sun.crypto.provider.AESCipher.engineDoFinal(DashoA13*..)
    at javax.crypto.Cipher.doFinal(DashoA13*..)
    at com.thortech.xl.crypto.tcDefaultDBEncryptionImpl.decrypt(tcDefaultDBEncryptionImpl.java:219)
    at com.thortech.xl.crypto.tcCryptoUtil.decrypt(tcCryptoUtil.java:122)
    at com.thortech.xl.crypto.tcCryptoUtil.decrypt(tcCryptoUtil.java:200)
    at com.thortech.xl.dataobj.tcDataSet.decryptDataSet(tcDataSet.java:1431)
    at com.thortech.xl.dataaccess.tcDataBase.readPartialPreparedStatement(tcDataBase.java:1365)
    at com.thortech.xl.dataaccess.tcDataBase.readPreparedStatement(tcDataBase.java:1158)
    at com.thortech.xl.dataobj.PreparedStatementUtil.execute(PreparedStatementUtil.java:60)
    at oracle.iam.ldapsync.impl.eventhandlers.LDAPAddMissingObjectClasses.initialize(LDAPAddMissingObjectClasses.java:177)
    at oracle.iam.platform.kernel.impl.OrchConfig.getinitializedEventHandler(OrchConfig.java:205)
    at oracle.iam.platform.kernel.impl.OrchConfig.<init>(OrchConfig.java:123)
    at oracle.iam.platform.kernel.impl.KernelObjFactory.<init>(KernelObjFactory.java:54)
    at oracle.iam.platform.kernel.impl.KernelObjFactory.<clinit>(KernelObjFactory.java:48)
    at oracle.iam.platform.kernel.impl.OrchestrationEngineImpl.<init>(OrchestrationEngineImpl.java:71)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)
    at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:61)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:877)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:839)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
    But OIM started and I can able to view the OIM Admin consle.
    I need to know why this error came and How to resolve it?
    Please try to help me.
    Thanks & Regards,
    Karthick

    Looks like you are using LDAPSync post OIM installation and the encryption on the IT resource was not setup correctly. Follow the steps from MOS Article: 1307549.1 for the solution.
    _Cause:_
    Encryption of the Directory Server IT Resource data in SVP table was not accomplished.
    The fields that are plain text are:
    Server URL
    Use SSL
    Admin Login
    Admin Password
    Search Base
    User Reservation Container
    _Solution_
    1. Use the following query to find fields with "plain text" values:
    select svr.svr_name, spd.spd_field_name, svp.svp_key, svp_field_value
    from svp
    inner join spd on spd.spd_key = svp.spd_key
    inner join svr on svr.svr_key = svp.svr_key
    2. Set these plain text values to null after making backup of table.
    3. Edit the Directory Server to re-set values.
    Expected error at this stage:
    -- no "System Error call admin...", but that makes sense since the values in question pertained directly to the Directory Server --
    4. Re-entered the values for the IT Resource.
    5. Saving the changes and verify that SVP values are now all encrypted.
    With correct values and encryption, then users are able to be created.-Bikash

  • The Network Adapter could not establish the connection Error Code: 17002

    Hi,
    after upgrade b41 to b49, I get error from subject, without any changes in my app.
    This occurs only on Oracle AS, on standalone OC4J application works OK.
    I use connection defined in persistence.xml:
    <non-jta-data-source>jdbc/MyAppDS</non-jta-data-source>
    and can successfully test this connection in Enterprise manager.
    Also, I tried all tricks mentioned here:
    http://www.websina.com/bugzero/kb/oracle-connection.html
    I know, that this is JDBC layer problem, but I am sure, that my connection is OK, and
    after downgrade to b48 this problem fall away.
    Bye,
    Lumir

    Could you provide the full stack trace to the exception.Exception [TOPLINK-4002] (Oracle TopLink Essentials - 2.0 (Build b50-beta3 (06/07/2007))): oracle.toplink.essentials.exceptions.DatabaseException
    Internal Exception: java.sql.SQLException: Výjimka vstupu/výstupu: The Network Adapter could not establish the connection
    Error Code: 17002
         at oracle.toplink.essentials.exceptions.DatabaseException.sqlException(DatabaseException.java:305)
         at oracle.toplink.essentials.jndi.JNDIConnector.connect(JNDIConnector.java:150)
         at oracle.toplink.essentials.sessions.DatasourceLogin.connectToDatasource(DatasourceLogin.java:185)
         at oracle.toplink.essentials.internal.databaseaccess.DatasourceAccessor.connect(DatasourceAccessor.java:233)
         at oracle.toplink.essentials.internal.databaseaccess.DatabaseAccessor.connect(DatabaseAccessor.java:242)
         at oracle.toplink.essentials.internal.databaseaccess.DatasourceAccessor.connect(DatasourceAccessor.java:309)
         at oracle.toplink.essentials.threetier.ConnectionPool.buildConnection(ConnectionPool.java:117)
         at oracle.toplink.essentials.threetier.ExternalConnectionPool.startUp(ExternalConnectionPool.java:135)
         at oracle.toplink.essentials.threetier.ServerSession.connect(ServerSession.java:458)
         at oracle.toplink.essentials.internal.sessions.DatabaseSessionImpl.login(DatabaseSessionImpl.java:586)
         at oracle.toplink.essentials.ejb.cmp3.EntityManagerFactoryProvider.login(EntityManagerFactoryProvider.java:235)
         at oracle.toplink.essentials.internal.ejb.cmp3.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:227)
         at oracle.toplink.essentials.internal.ejb.cmp3.base.EntityManagerFactoryImpl.getServerSession(EntityManagerFactoryImpl.java:93)
         at oracle.toplink.essentials.internal.ejb.cmp3.base.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:126)
         at oracle.toplink.essentials.internal.ejb.cmp3.base.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:120)
         at oracle.toplink.essentials.internal.ejb.cmp3.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:91)
         at idea.isko.db.service.impl.AbstractServiceImpl.createEntityManager(AbstractServiceImpl.java:77)
    How have you deployed your application exactly, i.e. what is the structure of your ear. I use standard war for deploy.
    Is the DataSource defined in your server, or your application? Defined on server, test on Enterprise manager passed successfully.
    Try using a direct JDBC connection in your persistence.xml (driver/url), does this work?Not work, this same exception.
    How do you access your entity manager? (managed, non-managed, jta, non-jta?)non-managed, non-jta.
    FYI, I make downgrade to build 48, and this works - it is last version without this problem.
    I added some tracing code to my SessionCustomizer:customize():
    DatabaseLogin login = session.getLogin();
    logger.fine("URL is :" + login.getDatabaseURL());
    With build 48, connection defined using toplink.jdbc.* , the output is:
    07/06/11 10:04:36.218 10.1.3.1.0 Started
    07/06/11 10:04:43.593 MyApp: 10.1.3.1.0 Started
    07/06/11 10:05:18.578 MyApp: FINE - Customizing session - directProperties
    07/06/11 10:05:18.578 MyApp: FINE - URL is :jdbc:oracle:thin:@(DESCRIPTION ... (cut)
    07/06/11 10:07:16.875 MyApp: 10.1.3.1.0 Stopped
    And after upgrade to build 50:
    07/06/11 10:10:12.703 10.1.3.1.0 Started
    07/06/11 10:10:30.953 MyApp: 10.1.3.1.0 Started
    07/06/11 10:10:52.281 MyApp: FINE - Customizing session - directProperties
    07/06/11 10:10:52.296 MyApp: FINER - THROW
    Local Exception Stack:
    Exception [TOPLINK-28014] (Oracle TopLink Essentials - 2.0 (Build b50-beta3 (06/07/2007))): oracle.toplink.essentials.exceptions.EntityManagerSetupException
    Exception Description: Exception was thrown while processing property [toplink.session.customizer] with value [idea.jpa.util.ToplinkSessionCustomizer].
    Internal Exception: Exception [TOPLINK-7058] (Oracle TopLink Essentials - 2.0 (Build b50-beta3 (06/07/2007))): oracle.toplink.essentials.exceptions.ValidationException
    Exception Description: Invalid Connector [JNDIConnectordatasource name=>null] (must be of type DefaultConnector).
    It seems to me, that Login is not properly initialized when app. run in Oracle AS.
    Bye,
    Lumir

  • SQLException: found null connection context

    Using JDeveloper, I set up a connection with success. However, running the program generates the following error:
    java.sql.SQLException: found null connection context
    The error persists even when I use [contextNameFromtheConnection] with #sql{...};
    Thanks for your time.
    null

    You need to set your connection at runtime in your program. For example, to set the default connection:
    oracle.sqlj.runtime.Oracle.connect("jdbc:oracle:thin:@localhost:1521:orcl","scott","tiger");
    Or, if you have created a JDBC connection conn you could reuse that as follows.
    oracle.sqlj.runtime.Oracle.connect(conn);
    Hope this helps. -- Ekkehard

Maybe you are looking for

  • ITunes quit unexpectedly while using the libgnsdk_dsp.1.9.5.dylib plug-in

    I don't know what this plug-in is, but suddenly I cannot open my iTunes? System all current and running OS X Ver 10.9.3,  any suggestions? I just got my iTunes library the way I want it!  Here's the top portion of my crash report. Can anybody suggest

  • FRM-40350: Query caused no records to be retrieved

    hi apps--12.0.6 os--IBM AIX on POWER Systems (64-bit) When trying to find service request (e.g. 33599) throws a FORMS note: "FRM-40350: Query caused no records to be retrieved". This is happening in FORMS. Regards

  • Cant play movies downloaded from Itunes

    I have 2 issues.1. I can't play movies downloaded from Itunes. It says that format is not supported. What can I do?2. I bought the WDTV three weeks ago. ABC Iview no longer supports WD products as of July 1. Not happy. Can anyone help?

  • MSS PCR form not pulling data for a user

    Hi All, On Organizational/Position Change Form(on Portal)  one of the user don't see the data in the dropdowns in this form. But for other users it is working just fine. The user not able to see the data in drop down can access other PCR's. I was won

  • Emca -config dbcontrol db fails with grid control error

    hi friends i am using oracle 11.2.0.2.0 in windows xp 32 bit while i was trying to config the EM with the command emca -config dbcontrol db i am getting the following error The existing database you have specified has Grid Control repository.This ope