NullPointerException in connector's connectionpool

I have a custom connector developed with WebLogic 6.1. It worked
          great. Running the connector under WebLogic 7.0 will generate
          occasional an NullPointerException but only when many simultaneous
          clients are running. This never happens with just a single client.
          Because of this I strongly suspect that this is a multi threading
          issue, where some global or member data is being modified by multiple
          threads.
          Here is the stacktrace:
          javax.resource.ResourceException: java.lang.NullPointerException
          at
          weblogic.connector.common.internal.XATransResourceFactory.enListResource(XATransResourceFactory.java:281)
          at
          weblogic.connector.common.internal.XATransResourceFactory.createConnection(XATransResourceFactory.java:230)
          at
          weblogic.connector.common.internal.ConnectionPool.createConnection(ConnectionPool.java:1490)
          at
          weblogic.connector.common.internal.ConnectionPool.getConnection(ConnectionPool.java:1903)
          at
          weblogic.connector.common.internal.ConnectionPoolManager.getConnection(ConnectionPoolManager.java:163)
          at
          weblogic.connector.common.internal.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:25)
          at
          com.entragroup.vcs.fm.connector.VcsConnectionFactory.getConnection(Unknown
          Source)
          at
          com.entragroup.xsm.ejb.PrivateCustomerBean.ejbFindByPrimaryKey(Unknown
          Source)
          at
          com.entragroup.xsm.ejb.PrivateCustomerBean_372kzo_Impl.ejbFindByPrimaryKey(PrivateCustomerBean_372kzo_Impl.java:152)
          at java.lang.reflect.Method.invoke(Native Method)
          at
          weblogic.ejb20.manager.BeanManagedPersistenceManager.findByPrimaryKey(BeanManagedPersistenceManager.java:35)
          at
          weblogic.ejb20.manager.BaseEntityManager.findByPrimaryKey(BaseEntityManager.java:486)
          at
          weblogic.ejb20.manager.BaseEntityManager.localFindByPrimaryKey(BaseEntityManager.java:433)
          at
          weblogic.ejb20.internal.EntityEJBLocalHome.findByPrimaryKey(EntityEJBLocalHome.java:275)
          at
          com.entragroup.xsm.ejb.PrivateCustomerBean_372kzo_LocalHomeImpl.findByPrimaryKey(PrivateCustomerBean_372kzo_LocalHomeImpl.java:62)
          at com.entragroup.xsm.test.ManagerBean.getCustomerImpl(Unknown Source)
          at com.entragroup.xsm.test.ManagerBean.stress(Unknown Source)
          at
          com.entragroup.xsm.test.ManagerBean_379jf4_EOImpl.stress(ManagerBean_379jf4_EOImpl.java:99)
          at
          com.entragroup.xsm.test.ManagerBean_379jf4_EOImpl_WLSkel.invoke(Unknown
          Source)
          at
          weblogic.rmi.internal.activation.ActivatableServerRef.invoke(ActivatableServerRef.java:87)
          at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:313)
          at
          weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:762)
          at
          weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:308)
          at
          weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
          at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
          at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
          Any insight would greatly appreciated.
          TIA
          Björn
          

Hi Rajdeep,
The page is unable to enter into the method in runtime, can't debug the issue.
Thanks,
$@M$
Edited by: $AM$ on Mar 19, 2013 8:10 AM

Similar Messages

  • Weblogic bridge error

    Hello!
    Please, can some one help me with my problem?
    I want to connect from our WebLogic server to OpenMQ JMS Server via bridge. But when i start server, i see this in my console:
    <Warning> <Connector> <BEA-190032> << eis/jms/WLSConnectionFactoryJNDINoTX > ResourceAllocationException thrown by resource adapter on call to ManagedConnectionFactory.createManagedConnection(): "javax.resource.ResourceException: Failed to start the connection ">
    And i find this in server logs:
    Bridge "Bridge-0" failed to connect to the target destination and will try again in 60 seconds. This could be a temporary condition unless the messages repeat several times. (java.lang.Exception: javax.resource.ResourceException: Failed to start the connection at weblogic.jms.adapter.JMSBaseConnection.throwResourceException(JMSBaseConnection.java:1695) at weblogic.jms.adapter.JMSBaseConnection.throwResourceException(JMSBaseConnection.java:1675) at weblogic.jms.adapter.JMSBaseConnection.startInternal(JMSBaseConnection.java:523) at weblogic.jms.adapter.JMSBaseConnection.start(JMSBaseConnection.java:249) at weblogic.jms.adapter.JMSManagedConnectionFactory.createManagedConnection(JMSManagedConnectionFactory.java:190) at weblogic.connector.security.layer.AdapterLayer.createManagedConnection(AdapterLayer.java:803) at weblogic.connector.outbound.ConnectionFactory.createResource(ConnectionFactory.java:91) at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1249) at weblogic.common.resourcepool.ResourcePoolImpl.reserveResourceInternal(ResourcePoolImpl.java:418) at weblogic.common.resourcepool.ResourcePoolImpl.reserveResource(ResourcePoolImpl.java:342) at weblogic.common.resourcepool.ResourcePoolImpl.reserveResource(ResourcePoolImpl.java:322) at weblogic.connector.outbound.ConnectionPool.reserveResource(ConnectionPool.java:620) at weblogic.common.resourcepool.ResourcePoolImpl.reserveResource(ResourcePoolImpl.java:316) at weblogic.connector.outbound.ConnectionManagerImpl.getConnectionInfo(ConnectionManagerImpl.java:380) at weblogic.connector.outbound.ConnectionManagerImpl.getConnection(ConnectionManagerImpl.java:320) at weblogic.connector.outbound.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:129) at weblogic.jms.adapter.JMSBaseConnectionFactory.getTargetConnection(JMSBaseConnectionFactory.java:123) at weblogic.jms.bridge.internal.MessagingBridge.getConnections(MessagingBridge.java:864) at weblogic.jms.bridge.internal.MessagingBridge.run(MessagingBridge.java:1055) at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209) at weblogic.work.ExecuteThread.run(ExecuteThread.java:178) -------------- Linked Exception ------------ java.lang.NullPointerException at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:385) at javax.naming.InitialContext.lookup(InitialContext.java:392) at weblogic.jms.adapter.JMSBaseConnection$2.run(JMSBaseConnection.java:284) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363) at weblogic.jms.adapter.JMSBaseConnection.startInternal(JMSBaseConnection.java:282) at weblogic.jms.adapter.JMSBaseConnection.start(JMSBaseConnection.java:249) at weblogic.jms.adapter.JMSManagedConnectionFactory.createManagedConnection(JMSManagedConnectionFactory.java:190) at weblogic.connector.security.layer.AdapterLayer.createManagedConnection(AdapterLayer.java:803) at weblogic.connector.outbound.ConnectionFactory.createResource(ConnectionFactory.java:91) at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1249) at weblogic.common.resourcepool.ResourcePoolImpl.reserveResourceInternal(ResourcePoolImpl.java:418) at weblogic.common.resourcepool.ResourcePoolImpl.reserveResource(ResourcePoolImpl.java:342) at weblogic.common.resourcepool.ResourcePoolImpl.reserveResource(ResourcePoolImpl.java:322) at weblogic.connector.outbound.ConnectionPool.reserveResource(ConnectionPool.java:620) at weblogic.common.resourcepool.ResourcePoolImpl.reserveResource(ResourcePoolImpl.java:316) at weblogic.connector.outbound.ConnectionManagerImpl.getConnectionInfo(ConnectionManagerImpl.java:380) at weblogic.connector.outbound.ConnectionManagerImpl.getConnection(ConnectionManagerImpl.java:320) at weblogic.connector.outbound.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:129) at weblogic.jms.adapter.JMSBaseConnectionFactory.getTargetConnection(JMSBaseConnectionFactory.java:123) at weblogic.jms.bridge.internal.MessagingBridge.getConnections(MessagingBridge.java:864) at weblogic.jms.bridge.internal.MessagingBridge.run(MessagingBridge.java:1055) at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209) at weblogic.work.ExecuteThread.run(ExecuteThread.java:178) )
    And connect failed.
    Help please!
    Edited by: 988900 on 19.02.2013 2:35

    Hi,
    This happens when the max number of connections in the jms_xa_adp\weblogic-ra.xml gets exhausted. During heavy load the message starts flow.
    In general, the value of the max-capacity attribute should be at least two times the number of bridge instances. For example, if your environment has up to ten message bridge instances targeted, a max-capacity attribute setting of 20 in the default configuration is adequate. But if you increase the number of bridge instances to 15, increase the max-capacity attribute to 30.
    Use the following steps to modify the weblogic-ra.xml descriptor file:
    1.Using the editor of your choice, update the attribute with the desired value.
    2.Deploy the updated adapter.
    3.Stop and restart any bridge instance that requires the new values.
    Example weblogic-ra.xml Descriptor File:
    <weblogic-connection-factory-dd>
    <connection-factory-name>WLSJMSConnectionFactoryLocal</connection-factory-name>
    <jndi-name>eis/jms/WLSConnectionFactoryJNDILocal</jndi-name>
    <pool-params>
    <initial-capacity>0</initial-capacity>
    <max-capacity>20</max-capacity>
    </pool-params>
    </weblogic-connection-factory-dd>
    Mark if this helps.
    Regards,
    Kishore

  • FTP Adapater issues in SOA Suite 11g- ResourceDeadException..

    We are losing the process and had to manually re-start the process because of below ResourceDeadException. We are having the FTP adapter connection pool to connect to external FTP server which we are going through the internet. Intermittently some of the connections becoming stale and geting rejected. I appreciate any inputs... Thanks, Saagi
    oracle.fabric.common.FabricInvocationException: BINDING.JCA-12563
    Exception occured when binding was invoked.
    Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'execute' failed due to: JCA Binding Component connection issue.
    JCA Binding Component is unable to create an outbound JCA (CCI) connection.
    STC_PROV_INS_SM_CS:WRITE_SM [ execute_ptt::execute(body) ] : The JCA Binding Component was unable to establish an outbound JCA CCI connection due to the following issue: javax.resource.spi.ApplicationServerInternalException: Unable to get a connection for pool = 'eis/FTP/STC', weblogic.common.resourcepool.ResourceDeadException
    The invoked JCA adapter raised a resource exception.
    Please examine the above error message carefully to determine a resolution.
         at oracle.integration.platform.blocks.adapter.fw.jca.cci.EndpointInteractionException.getFabricInvocationException(EndpointInteractionException.java:75)
         at oracle.integration.platform.blocks.adapter.AdapterReference.getFabricInvocationException(AdapterReference.java:286)
         at oracle.integration.platform.blocks.adapter.AdapterReference.post(AdapterReference.java:272)
         at oracle.integration.platform.blocks.mesh.AsynchronousMessageHandler.doPost(AsynchronousMessageHandler.java:142)
         at oracle.integration.platform.blocks.mesh.MessageRouter.post(MessageRouter.java:194)
         at oracle.integration.platform.blocks.mesh.MeshImpl.post(MeshImpl.java:204)
         at sun.reflect.GeneratedMethodAccessor1149.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:296)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:177)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
         at oracle.integration.platform.metrics.PhaseEventAspect.invoke(PhaseEventAspect.java:71)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
         at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
         at $Proxy192.post(Unknown Source)
         at oracle.fabric.CubeServiceEngine.postToMesh(CubeServiceEngine.java:770)
         at com.collaxa.cube.ws.WSInvocationManager.invoke(WSInvocationManager.java:251)
         at com.collaxa.cube.engine.ext.common.InvokeHandler.__invoke(InvokeHandler.java:1009)
         at com.collaxa.cube.engine.ext.common.InvokeHandler.handleNormalInvoke(InvokeHandler.java:512)
         at com.collaxa.cube.engine.ext.common.InvokeHandler.handle(InvokeHandler.java:123)
         at com.collaxa.cube.engine.ext.bpel.common.wmp.BPELInvokeWMP.__executeStatements(BPELInvokeWMP.java:63)
         at com.collaxa.cube.engine.ext.bpel.common.wmp.BaseBPELActivityWMP.perform(BaseBPELActivityWMP.java:157)
         at com.collaxa.cube.engine.CubeEngine._performActivity(CubeEngine.java:2585)
         at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:2444)
         at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1121)
         at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal(PerformMessageHandler.java:73)
         at com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage(DispatchHelper.java:220)
         at com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory(DispatchHelper.java:322)
         at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:4497)
         at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:4428)
         at com.collaxa.cube.engine.CubeEngine.createAndInvoke(CubeEngine.java:685)
         at com.collaxa.cube.engine.delivery.DeliveryService.handleInvoke(DeliveryService.java:682)
         at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean.handleInvoke(CubeDeliveryBean.java:356)
         at sun.reflect.GeneratedMethodAccessor1170.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
         at com.bea.core.repackaged.springframework.jee.intercept.MethodInvocationInvocationContext.proceed(MethodInvocationInvocationContext.java:104)
         at oracle.security.jps.ee.ejb.JpsAbsInterceptor$1.run(JpsAbsInterceptor.java:88)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.wls.JpsWeblogicEjbInterceptor.runJaasMode(JpsWeblogicEjbInterceptor.java:61)
         at oracle.security.jps.ee.ejb.JpsAbsInterceptor.intercept(JpsAbsInterceptor.java:106)
         at oracle.security.jps.ee.ejb.JpsInterceptor.intercept(JpsInterceptor.java:105)
         at sun.reflect.GeneratedMethodAccessor1125.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
         at com.bea.core.repackaged.springframework.jee.intercept.JeeInterceptorInterceptor.invoke(JeeInterceptorInterceptor.java:69)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
         at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:55)
         at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
         at $Proxy179.handleInvoke(Unknown Source)
         at com.collaxa.cube.engine.ejb.impl.bpel.BPELDeliveryBean_5k948i_ICubeDeliveryLocalBeanImpl.handleInvoke(BPELDeliveryBean_5k948i_ICubeDeliveryLocalBeanImpl.java:409)
         at com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessageHandler.handle(InvokeInstanceMessageHandler.java:35)
         at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:142)
         at com.collaxa.cube.engine.dispatch.BaseDispatchTask.run(BaseDispatchTask.java:82)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
         at java.lang.Thread.run(Thread.java:619)
    Caused by: BINDING.JCA-12563
    Exception occured when binding was invoked.
    Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'execute' failed due to: JCA Binding Component connection issue.
    JCA Binding Component is unable to create an outbound JCA (CCI) connection.
    STC_PROV_INS_SM_CS:WRITE_SM [ execute_ptt::execute(body) ] : The JCA Binding Component was unable to establish an outbound JCA CCI connection due to the following issue: javax.resource.spi.ApplicationServerInternalException: Unable to get a connection for pool = 'eis/FTP/STC', weblogic.common.resourcepool.ResourceDeadException
    The invoked JCA adapter raised a resource exception.
    Please examine the above error message carefully to determine a resolution.
         at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.executeJcaInteraction(JCAInteractionInvoker.java:432)
         at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.invokeJcaReference(JCAInteractionInvoker.java:541)
         at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.invokeAsyncJcaReference(JCAInteractionInvoker.java:501)
         at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAEndpointInteraction.performAsynchronousInteraction(JCAEndpointInteraction.java:479)
         at oracle.integration.platform.blocks.adapter.AdapterReference.post(AdapterReference.java:235)
         ... 72 more
    Caused by: BINDING.JCA-12511
    JCA Binding Component connection issue.
    JCA Binding Component is unable to create an outbound JCA (CCI) connection.
    STC_PROV_INS_SM_CS:WRITE_SM [ execute_ptt::execute(body) ] : The JCA Binding Component was unable to establish an outbound JCA CCI connection due to the following issue: javax.resource.spi.ApplicationServerInternalException: Unable to get a connection for pool = 'eis/FTP/STC', weblogic.common.resourcepool.ResourceDeadException
    Please examine the log file for any reasons. Enable FINEST adapter logging via Enterprise Manager.
         at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAConnectionManager$JCAConnectionPool.createJCAConnection(JCAConnectionManager.java:1372)
         at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAConnectionManager$JCAConnectionPool$JCAConnection.init(JCAConnectionManager.java:1041)
         at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAConnectionManager.obtainJCAConnection(JCAConnectionManager.java:694)
         at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.executeJcaInteraction(JCAInteractionInvoker.java:175)
         ... 76 more
    Caused by: javax.resource.spi.ApplicationServerInternalException: Unable to get a connection for pool = 'eis/FTP/STC', weblogic.common.resourcepool.ResourceDeadException
         at weblogic.connector.outbound.ConnectionManagerImpl.getConnectionInfo(ConnectionManagerImpl.java:394)
         at weblogic.connector.outbound.ConnectionManagerImpl.getConnection(ConnectionManagerImpl.java:307)
         at weblogic.connector.outbound.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:115)
         at oracle.tip.adapter.ftp.FTPConnectionFactory.getConnection(FTPConnectionFactory.java:98)
         at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAConnectionManager$JCAConnectionPool.createJCAConnection(JCAConnectionManager.java:1355)
         ... 79 more
    Caused by: weblogic.common.resourcepool.ResourceDeadException
         at weblogic.common.resourcepool.ResourcePoolImpl.checkAndReturnResource(ResourcePoolImpl.java:1540)
         at weblogic.common.resourcepool.ResourcePoolImpl.checkAndReturnResource(ResourcePoolImpl.java:1496)
         at weblogic.common.resourcepool.ResourcePoolImpl.reserveResourceInternal(ResourcePoolImpl.java:375)
         at weblogic.common.resourcepool.ResourcePoolImpl.reserveResource(ResourcePoolImpl.java:332)
         at weblogic.common.resourcepool.ResourcePoolImpl.reserveResource(ResourcePoolImpl.java:315)
         at weblogic.connector.outbound.ConnectionPool.reserveResource(ConnectionPool.java:596)
         at weblogic.common.resourcepool.ResourcePoolImpl.reserveResource(ResourcePoolImpl.java:309)
         at weblogic.connector.outbound.ConnectionManagerImpl.getConnectionInfo(ConnectionManagerImpl.java:352)
         ... 83 more

    This is issue with File and Ftp Adapters in the soa installation 11.1.1.2. These adapters not able to recycle the dead connections in the connection pool. Process are receiving the dead connections from the pool. Oracle provided the patch for it. In the patch ftp adapter is throwing out the dead connection pool instead of keeping them.

  • FTP adapter to connect to SFTP server that sits outside of firewall

    We have a firewall between soa server and ftp server. There is no proxy server configured on the firewall. We tried two configuration as listed below both were not working. ANy guidance would be greatly appreciated! Thanks!
    We are able to do sftp through command prompt from soa server to ftp server.
    Kathar
    First configuration:
    host
    port - 22
    username
    password
    sftp - true
    transport mode - socket
    authenticationType - PASSWORD
    Error Received
    [2013-05-23T09:05:27.619-10:00] [soa_server1] [ERROR] [] [oracle.soa.adapter] [tid: Workmanager: , Version: 0, Scheduled=false, Started=false, Wait time: 0 ms\n] [userId: <anonymous>] [ecid: 5fb2a7b48dd0cab4:e4632bf:13ec4b1184d:-8000-000000000005a46f,1:30571] [APP: soa-infra] FTP Adapter FTPTestProject [[
    BINDING.JCA-11445
    The SSH API threw an exception.
    The SSH API threw an exception.
    The SSH API threw an exception.
    Maverick has not been setup properly. Please correct the setup.
         at oracle.tip.adapter.ftp.SshImpl.SSHSessionImpl.setUpPasswordSocketConnection(SSHSessionImpl.java:206)
         at oracle.tip.adapter.ftp.SshImpl.SSHSessionImpl.<init>(SSHSessionImpl.java:128)
         at oracle.tip.adapter.ftp.SshImpl.SshImplFactory.getSshImpl(SshImplFactory.java:26)
         at oracle.tip.adapter.ftp.SFTPManagedConnection.setupSftpConnection(SFTPManagedConnection.java:154)
         at oracle.tip.adapter.ftp.SFTPManagedConnection.<init>(SFTPManagedConnection.java:67)
         at oracle.tip.adapter.ftp.FTPManagedConnectionFactory.createManagedConnection(FTPManagedConnectionFactory.java:180)
         at weblogic.connector.security.layer.AdapterLayer.createManagedConnection(AdapterLayer.java:803)
         at weblogic.connector.outbound.ConnectionFactory.createResource(ConnectionFactory.java:91)
         at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1310)
         at weblogic.common.resourcepool.ResourcePoolImpl.reserveResourceInternal(ResourcePoolImpl.java:419)
         at weblogic.common.resourcepool.ResourcePoolImpl.reserveResource(ResourcePoolImpl.java:344)
         at weblogic.common.resourcepool.ResourcePoolImpl.reserveResource(ResourcePoolImpl.java:323)
         at weblogic.connector.outbound.ConnectionPool.reserveResource(ConnectionPool.java:620)
         at weblogic.common.resourcepool.ResourcePoolImpl.reserveResource(ResourcePoolImpl.java:317)
         at weblogic.connector.outbound.ConnectionManagerImpl.getConnectionInfo(ConnectionManagerImpl.java:380)
         at weblogic.connector.outbound.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:129)
         at oracle.tip.adapter.ftp.FTPConnectionFactory.getConnection(FTPConnectionFactory.java:102)
         at oracle.tip.adapter.ftp.SFTPAgent.preCall(SFTPAgent.java:1192)
         at oracle.tip.adapter.ftp.SFTPAgent.validateInputDir(SFTPAgent.java:758)
         at oracle.tip.adapter.ftp.inbound.FTPSource.revalidatePollingError(FTPSource.java:1357)
         at oracle.tip.adapter.file.inbound.PollWork.onAlert(PollWork.java:476)
         at oracle.tip.adapter.file.inbound.PollWork.run(PollWork.java:357)
         at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:120)
         at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:184)
         at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
    Caused by: com.maverick.ssh.SshException: Failed to negotiate a transport component [aes192-cbc] [aes256-ctr]
         at com.maverick.ssh2.TransportProtocol.A(Unknown Source)
         at com.maverick.ssh2.TransportProtocol.C(Unknown Source)
         at com.maverick.ssh2.TransportProtocol.processMessage(Unknown Source)
         at com.maverick.ssh2.TransportProtocol.startTransportProtocol(Unknown Source)
         at com.maverick.ssh2.Ssh2Client.connect(Unknown Source)
         at com.maverick.ssh.SshConnector.connect(Unknown Source)
         at oracle.tip.adapter.ftp.SshImpl.SSHSessionImpl.setUpPasswordSocketConnection(SSHSessionImpl.java:194)
         ... 24 more
    Second configuration:
    host
    port - 22
    username
    password
    sftp - true
    transport mode - http
    authenticationType - PASSWORD
    Below error indicates it expects proxy configuration, but we don't have any
    Error
    Proxy Host: Proxy Port: -1 Proxy UserName: Connection Type: http
    [2013-05-23T09:00:42.837-10:00] [soa_server1] [ERROR] [] [oracle.soa.adapter] [tid: Workmanager: , Version: 0, Scheduled=false, Started=false, Wait time: 0 ms\n] [userId: <anonymous>] [ecid: 5fb2a7b48dd0cab4:e4632bf:13ec4b1184d:-8000-0000000000059c8e,1:30566] [APP: soa-infra] FTP Adapter FTPTestProject Exception while setting up session
    [2013-05-23T09:00:42.837-10:00] [soa_server1] [ERROR] [] [oracle.soa.adapter] [tid: Workmanager: , Version: 0, Scheduled=false, Started=false, Wait time: 0 ms\n] [userId: <anonymous>] [ecid: 5fb2a7b48dd0cab4:e4632bf:13ec4b1184d:-8000-0000000000059c8e,1:30566] [APP: soa-infra] FTP Adapter FTPTestProject [[
    BINDING.JCA-11443
    Adapter internal error.
    Adapter internal error.
    The adapter has become unstable. This could be because of incorrect parameters supplied to the adapter. The parameter: [Ljava.lang.String;@19062d06 had value: [Ljava.lang.String;@19062d0c
    Please make sure that SFTP has been setup correctly.
    Edited by: Kathar on May 23, 2013 12:25 PM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Hi,
    We have a firewall between soa server and ftp server. There is no proxy server configured on the firewall...
    We are able to do sftp through command prompt from soa server to ftp server...Some facts above look discordant... My understanding is you have to use http to access a ftp server running outside a firewall and socket if it's inside a firewall...
    However, you seem to have access with socket from FtpAdapter and also are able to do sftp via command prompt (without using a proxy!)... Those facts make me believe that the connection is actually not going through the firewall... Is the Ftp server in the internal network? Is the soa server running on Windows or Linux?
    Recheck your configuration according to steps on the document bellow and do some further investigation to assure that the connection from soa server to the ftp server is actually going through the firewall... Ask for the network administrator to close the SFTP port on the firewall and see if you still can connect to it...
    http://docs.oracle.com/cd/E28280_01/integration.1111/e10231/adptr_file.htm#CACDFFFB
    Cheers,
    Vlad

  • FTP adapter deployment failed after restart of the server

    Hi,
    I have a single node 11g server. I had created some outbound connection pools for the ftp adapter. When I created them they were working fine.
    But after the restart of the server the FTP Adapter state in the summary of deployment page is showing failed. The error I am getting is below
    <Unable to set the activation state to true for the application 'FtpAdapter'.
    java.lang.NoClassDefFoundError: oracle/tip/adapter/file/FileLogger
         at oracle.tip.adapter.ftp.FTPManagedConnectionFactory.createConnectionFactory(FTPManagedConnectionFactory.java:154)
         at weblogic.connector.security.layer.AdapterLayer.createConnectionFactory(AdapterLayer.java:787)
         at weblogic.connector.outbound.ConnectionPool.getConnectionFactory(ConnectionPool.java:2013)
         at weblogic.connector.outbound.RAOutboundManager.activatePool(RAOutboundManager.java:1076)
         at weblogic.connector.outbound.RAOutboundManager.activate(RAOutboundManager.java:183)
         at weblogic.connector.common.RAInstanceManager.activate(RAInstanceManager.java:437)
         at weblogic.connector.deploy.ConnectorModule.activate(ConnectorModule.java:303)
         at weblogic.application.internal.flow.ModuleListenerInvoker.activate(ModuleListenerInvoker.java:227)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$2.next(DeploymentCallbackFlow.java:541)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:175)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:167)
         at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:636)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205)
         at weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:43)
         at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
         at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)
         at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)
         at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51)
         at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)
         at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
         at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)
         at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)
         at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)
         at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:180)
         at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:96)
         at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
    ####<Apr 6, 2011 4:02:24 PM IST> <Error> <Deployer> <inhysu01> <osb_server1> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <0000IweNRSu8TsO8mjGNtn1Db43e000001> <1302085944811> <BEA-149250> <Unable to unprepare application 'FtpAdapter'.
    weblogic.application.ModuleException: Error occurred while trying to rollback the module: weblogic.connector.exception.RAException:
    There are 1 nested errors:
    There are 1 nested errors:
    ObjectLifeCycleException: weblogic.common.resourcepool.ObjectLifeCycleException: Attempted to shutdown the pool eis/Ftp/FtpAdapter when it is currently not in SUSPENDED state (Running)
         at weblogic.common.resourcepool.ResourcePoolImpl.shutdown(ResourcePoolImpl.java:299)
         at weblogic.connector.outbound.ConnectionPool.shutdown(ConnectionPool.java:355)
         at weblogic.connector.outbound.RAOutboundManager.internalShutdownPool(RAOutboundManager.java:346)
         at weblogic.connector.outbound.RAOutboundManager.rollback(RAOutboundManager.java:305)
         at weblogic.connector.common.RAInstanceManager.rollbackRAOutboundMgr(RAInstanceManager.java:623)
         at weblogic.connector.common.RAInstanceManager.rollback(RAInstanceManager.java:566)
         at weblogic.connector.deploy.ConnectorModule.unprepare(ConnectorModule.java:268)
         at weblogic.application.internal.flow.ModuleListenerInvoker.unprepare(ModuleListenerInvoker.java:285)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.previous(DeploymentCallbackFlow.java:523)
         at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:223)
         at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:215)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.unprepare(DeploymentCallbackFlow.java:211)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.unprepare(DeploymentCallbackFlow.java:202)
         at weblogic.application.internal.BaseDeployment$1.previous(BaseDeployment.java:619)
         at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:223)
         at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:215)
         at weblogic.application.internal.BaseDeployment.unprepare(BaseDeployment.java:248)
         at weblogic.application.internal.SingleModuleDeployment.unprepare(SingleModuleDeployment.java:43)
         at weblogic.application.internal.DeploymentStateChecker.unprepare(DeploymentStateChecker.java:205)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.unprepare(AppContainerInvoker.java:117)
         at weblogic.deploy.internal.targetserver.BasicDeployment.unprepare(BasicDeployment.java:287)
         at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:363)
         at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51)
         at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)
         at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
         at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)
         at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)
         at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)
         at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:180)
         at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:96)
         at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
    Can anyone please help me with this.
    Thanks in advance

    The solution is either change the order of deployment or copy the FileAdapter.rar file in $ORACLE_HOME/lib location and restart the server as mentioned here.
    http://soa-bpel-esb.blogspot.com/2011/04/javalangnoclassdeffounderror.html

  • Setting ClientID in JMS Adapter- Consume

    Hi All,
    does anyone have idea how to set clientId in JMS Adapter (Consume Operation). I am able to see only option to set durablesusriber name.
    I can see clientId option available in connection factory setting, but i am still unable to use that. If i have 10 clients , i can't go on creating 10 different connection factory. Also how to link it with 10 adapters?
    I am using JMS topic. SOA 11G
    thanks
    Bikash

    atheek1 wrote:
    You can set client ID either in the JMS connection factory or in FactoryProperties in JMS Adaptors outbound connection pool as <FactoryProperties>ClientID=uniquename</FactoryProperties>
    Weblogic jms expects the combo of durable subscription + client ID to be unique across the durable subscriptions, not just client ID. so if you can given unique durable subscription names in the jca file you should still be able to use the same JMS CF / jms adaptor connection pool across multiple instances.
    Below  is details
    Susriber Name       Client ID_
    DurTpicSus4_1 DurTpicSus4
    DurTpicSus4_2 DurTpicSus4
    DurTpicSus4_3 DurTpicSus4
    then in factory properties i gave ClientID = DurTpicSus4.
    Then deployed all 3 composit application with different susriber name, only one worked. Which ever i deployed first worked everytime. For rest error came, below is error
    ========================================
    JMSMessageConsumer_init: Retrying connection; attempt #2 BINDING.JCA-12133 ERRJMS_JMS_EXCEP. ERRJMS_JMS_EXCEP. Unable to create JMSConnection due to JMSException. Please examine the log file to determine the problem. at oracle.tip.adapter.jms.JMS.JMSConnection.init(JMSConnection.java:263) at oracle.tip.adapter.jms.JMS.JMSConnection.<init>(JMSConnection.java:117) at oracle.tip.adapter.jms.JmsManagedConnectionFactory.createConnection(JmsManagedConnectionFactory.java:371) at oracle.tip.adapter.jms.JmsManagedConnectionFactory.createDefaultConnection(JmsManagedConnectionFactory.java:364) at oracle.tip.adapter.jms.JmsManagedConnectionFactory.createConnection(JmsManagedConnectionFactory.java:327) at oracle.tip.adapter.jms.JmsManagedConnectionFactory.createManagedConnection(JmsManagedConnectionFactory.java:95) at weblogic.connector.security.layer.AdapterLayer.createManagedConnection(AdapterLayer.java:803) at weblogic.connector.outbound.ConnectionFactory.createResource(ConnectionFactory.java:91) at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1193) at weblogic.common.resourcepool.ResourcePoolImpl.reserveResourceInternal(ResourcePoolImpl.java:395) at weblogic.common.resourcepool.ResourcePoolImpl.reserveResource(ResourcePoolImpl.java:332) at weblogic.common.resourcepool.ResourcePoolImpl.reserveResource(ResourcePoolImpl.java:315) at weblogic.connector.outbound.ConnectionPool.reserveResource(ConnectionPool.java:620) at weblogic.common.resourcepool.ResourcePoolImpl.reserveResource(ResourcePoolImpl.java:309) at weblogic.connector.outbound.ConnectionManagerImpl.getConnectionInfo(ConnectionManagerImpl.java:365) at weblogic.connector.outbound.ConnectionManagerImpl.getConnection(ConnectionManagerImpl.java:320) at weblogic.connector.outbound.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:129) at oracle.tip.adapter.jms.JmsConnectionFactory.getConnection(JmsConnectionFactory.java:93) at oracle.tip.adapter.jms.JMS.JMSMessageConsumer.createConsumer(JMSMessageConsumer.java:318) at oracle.tip.adapter.jms.JMS.JMSMessageConsumer.init(JMSMessageConsumer.java:913) at oracle.tip.adapter.jms.inbound.JmsConsumer.init(JmsConsumer.java:862) at oracle.tip.adapter.jms.JmsEndpoint.run(JmsEndpoint.java:163) at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:105) at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:183) at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30) Caused By: weblogic.jms.common.InvalidClientIDException: Client id, DurTpicSus4, is in use. The reason for rejection is "The JNDI name weblogic.jms.connection.clientid.DurTpicSus4 was found, and was bound to an object of type weblogic.jms.frontend.FEClientIDSingularAggregatable : FEClientIDSingularAggregatable(SingularAggregatable(<4161256989713352509.1>:150):DurTpicSus4)" at weblogic.jms.frontend.FEConnection.setConnectionClientId(FEConnection.java:1247) at weblogic.jms.frontend.FEConnection.<init>(FEConnection.java:197) at weblogic.jms.frontend.FEConnectionFactory$1.run(FEConnectionFactory.java:381) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147) at weblogic.jms.frontend.FEConnectionFactory.connectionCreateInternal(FEConnectionFactory.java:377) at weblogic.jms.frontend.FEConnectionFactoryImpl.connectionCreateInternal(FEConnectionFactoryImpl.java:79) at weblogic.jms.frontend.FEConnectionFactoryImpl.connectionCreateRequest(FEConnectionFactoryImpl.java:62) at weblogic.jms.client.JMSConnectionFactory.setupJMSConnection(JMSConnectionFactory.java:224) at weblogic.jms.client.JMSConnectionFactory.createConnectionInternal(JMSConnectionFactory.java:285) at weblogic.jms.client.JMSConnectionFactory.createTopicConnection(JMSConnectionFactory.java:186) at oracle.tip.adapter.jms.JMS.JMSConnection.init(JMSConnection.java:159) at oracle.tip.adapter.jms.JMS.JMSConnection.<init>(JMSConnection.java:118) at oracle.tip.adapter.jms.JmsManagedConnectionFactory.createConnection(JmsManagedConnectionFactory.java:371) at oracle.tip.adapter.jms.JmsManagedConnectionFactory.createDefaultConnection(JmsManagedConnectionFactory.java:364) at oracle.tip.adapter.jms.JmsManagedConnectionFactory.createConnection(JmsManagedConnectionFactory.java:327) at oracle.tip.adapter.jms.JmsManagedConnectionFactory.createManagedConnection(JmsManagedConnectionFactory.java:95) at weblogic.connector.security.layer.AdapterLayer.createManagedConnection(AdapterLayer.java:803) at weblogic.connector.outbound.ConnectionFactory.createResource(ConnectionFactory.java:91) at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1193) at weblogic.common.resourcepool.ResourcePoolImpl.reserveResourceInternal(ResourcePoolImpl.java:395) at weblogic.common.resourcepool.ResourcePoolImpl.reserveResource(ResourcePoolImpl.java:332) at weblogic.common.resourcepool.ResourcePoolImpl.reserveResource(ResourcePoolImpl.java:315) at weblogic.connector.outbound.ConnectionPool.reserveResource(ConnectionPool.java:620) at weblogic.common.resourcepool.ResourcePoolImpl.reserveResource(ResourcePoolImpl.java:309) at weblogic.connector.outbound.ConnectionManagerImpl.getConnectionInfo(ConnectionManagerImpl.java:365) at weblogic.connector.outbound.ConnectionManagerImpl.getConnection(ConnectionManagerImpl.java:320) at weblogic.connector.outbound.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:129) at oracle.tip.adapter.jms.JmsConnectionFactory.getConnection(JmsConnectionFactory.java:93) at oracle.tip.adapter.jms.JMS.JMSMessageConsumer.createConsumer(JMSMessageConsumer.java:318) at oracle.tip.adapter.jms.JMS.JMSMessageConsumer.init(JMSMessageConsumer.java:914) at oracle.tip.adapter.jms.inbound.JmsConsumer.init(JmsConsumer.java:864) at oracle.tip.adapter.jms.JmsEndpoint.run(JmsEndpoint.java:163) at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:106) at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:183) at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
    ====================================

  • Weblogic Messaging Bridge - T3S Enabling Process

    Dear All,
    I need your help to resolve an issue in Weblogic Messaging Bridge - T3S enabling process.
    I'm doing a POC to forward messages between 2 different domains (from wl 10.3.2 to wl 10.0) using Messaging Bridge with T3S Protocol.
    I enabled SSL Port, Custom Identity and Custom Trust in those domains.
    In my laptop (single JVM), WL Messaging Bridge in 10.3.2 is able to forward messages between domains using T3S.
    My Testing Scenario:
    A Sample web application use the https/t3s protocol to put message(s) in the source jms queue                    
    Weblogic Messaging Bridge use the t3s protocol to get message(s) from source jms queue & forward the message(s) to the destination jms queue                    
    But, When I tried the same POC in sepearate boxes (WL 10.3.2 in one box, WL 10.0 in another box). I got the below exceptiion.
    Any one please throw some lights here to resolve the issue.
    ####<Oct 12, 2011 4:11:49 PM IST> <Debug> <MessagingBridgeRuntimeVerbose> <GLLNX01> <AdminServer> <[ACTIVE] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1318416109085> <BEA-000000> <Exception:
    javax.naming.CommunicationException [Root exception is java.net.ConnectException: t3s://172.16.2.25:4936: Destination unreachable; nested exception is:
         javax.net.ssl.SSLKeyException: [Security:090477]Certificate chain received from 172.16.2.25 - 172.16.2.25 was not trusted causing SSL handshake failure.; No available router to destination]
         at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:40)
         at weblogic.jndi.WLInitialContextFactoryDelegate.toNamingException(WLInitialContextFactoryDelegate.java:783)
         at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:367)
         at weblogic.jndi.Environment.getContext(Environment.java:315)
         at weblogic.jndi.Environment.getContext(Environment.java:285)
         at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:117)
         at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
         at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
         at javax.naming.InitialContext.init(InitialContext.java:223)
         at javax.naming.InitialContext.<init>(InitialContext.java:197)
         at weblogic.jms.adapter.JMSBaseConnection.getInitialContext(JMSBaseConnection.java:2253)
         at weblogic.jms.adapter.JMSBaseConnection.startInternal(JMSBaseConnection.java:261)
         at weblogic.jms.adapter.JMSBaseConnection.start(JMSBaseConnection.java:247)
         at weblogic.jms.adapter.JMSManagedConnectionFactory.createManagedConnection(JMSManagedConnectionFactory.java:190)
         at weblogic.connector.security.layer.AdapterLayer.createManagedConnection(AdapterLayer.java:802)
         at weblogic.connector.outbound.ConnectionFactory.createResource(ConnectionFactory.java:91)
         at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1180)
         at weblogic.common.resourcepool.ResourcePoolImpl.reserveResourceInternal(ResourcePoolImpl.java:395)
         at weblogic.common.resourcepool.ResourcePoolImpl.reserveResource(ResourcePoolImpl.java:332)
         at weblogic.common.resourcepool.ResourcePoolImpl.reserveResource(ResourcePoolImpl.java:315)
         at weblogic.connector.outbound.ConnectionPool.reserveResource(ConnectionPool.java:596)
         at weblogic.common.resourcepool.ResourcePoolImpl.reserveResource(ResourcePoolImpl.java:309)
         at weblogic.connector.outbound.ConnectionManagerImpl.getConnectionInfo(ConnectionManagerImpl.java:352)
         at weblogic.connector.outbound.ConnectionManagerImpl.getConnection(ConnectionManagerImpl.java:307)
         at weblogic.connector.outbound.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:115)
         at weblogic.jms.adapter.JMSBaseConnectionFactory.getTargetConnection(JMSBaseConnectionFactory.java:123)
         at weblogic.jms.bridge.internal.MessagingBridge.getConnections(MessagingBridge.java:860)
         at weblogic.jms.bridge.internal.MessagingBridge.run(MessagingBridge.java:1051)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused By: java.net.ConnectException: t3s://172.16.2.25:4936: Destination unreachable; nested exception is:
         javax.net.ssl.SSLKeyException: [Security:090477]Certificate chain received from 172.16.2.25 - 172.16.2.25 was not trusted causing SSL handshake failure.; No available router to destination
         at weblogic.rjvm.RJVMFinder.findOrCreateInternal(RJVMFinder.java:216)
         at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:170)
         at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:153)
         at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:352)
         at weblogic.jndi.Environment.getContext(Environment.java:315)
         at weblogic.jndi.Environment.getContext(Environment.java:285)
         at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:117)
         at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
         at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
         at javax.naming.InitialContext.init(InitialContext.java:223)
         at javax.naming.InitialContext.<init>(InitialContext.java:197)
         at weblogic.jms.adapter.JMSBaseConnection.getInitialContext(JMSBaseConnection.java:2253)
         at weblogic.jms.adapter.JMSBaseConnection.startInternal(JMSBaseConnection.java:261)
         at weblogic.jms.adapter.JMSBaseConnection.start(JMSBaseConnection.java:247)
         at weblogic.jms.adapter.JMSManagedConnectionFactory.createManagedConnection(JMSManagedConnectionFactory.java:190)
         at weblogic.connector.security.layer.AdapterLayer.createManagedConnection(AdapterLayer.java:802)
         at weblogic.connector.outbound.ConnectionFactory.createResource(ConnectionFactory.java:91)
         at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1180)
         at weblogic.common.resourcepool.ResourcePoolImpl.reserveResourceInternal(ResourcePoolImpl.java:395)
         at weblogic.common.resourcepool.ResourcePoolImpl.reserveResource(ResourcePoolImpl.java:332)
         at weblogic.common.resourcepool.ResourcePoolImpl.reserveResource(ResourcePoolImpl.java:315)
         at weblogic.connector.outbound.ConnectionPool.reserveResource(ConnectionPool.java:596)
         at weblogic.common.resourcepool.ResourcePoolImpl.reserveResource(ResourcePoolImpl.java:309)
         at weblogic.connector.outbound.ConnectionManagerImpl.getConnectionInfo(ConnectionManagerImpl.java:352)
         at weblogic.connector.outbound.ConnectionManagerImpl.getConnection(ConnectionManagerImpl.java:307)
         at weblogic.connector.outbound.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:115)
         at weblogic.jms.adapter.JMSBaseConnectionFactory.getTargetConnection(JMSBaseConnectionFactory.java:123)
         at weblogic.jms.bridge.internal.MessagingBridge.getConnections(MessagingBridge.java:860)
         at weblogic.jms.bridge.internal.MessagingBridge.run(MessagingBridge.java:1051)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused By: java.rmi.ConnectException: Destination unreachable; nested exception is:
         javax.net.ssl.SSLKeyException: [Security:090477]Certificate chain received from 172.16.2.25 - 172.16.2.25 was not trusted causing SSL handshake failure.; No available router to destination
         at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:464)
         at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:315)
         at weblogic.rjvm.RJVMManager.findOrCreateRemoteInternal(RJVMManager.java:251)
         at weblogic.rjvm.RJVMManager.findOrCreate(RJVMManager.java:194)
         at weblogic.rjvm.RJVMFinder.findOrCreateRemoteServer(RJVMFinder.java:238)
         at weblogic.rjvm.RJVMFinder.findOrCreateInternal(RJVMFinder.java:200)
         at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:170)
         at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:153)
         at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:352)
         at weblogic.jndi.Environment.getContext(Environment.java:315)
         at weblogic.jndi.Environment.getContext(Environment.java:285)
         at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:117)
         at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
         at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
         at javax.naming.InitialContext.init(InitialContext.java:223)
         at javax.naming.InitialContext.<init>(InitialContext.java:197)
         at weblogic.jms.adapter.JMSBaseConnection.getInitialContext(JMSBaseConnection.java:2253)
         at weblogic.jms.adapter.JMSBaseConnection.startInternal(JMSBaseConnection.java:261)
         at weblogic.jms.adapter.JMSBaseConnection.start(JMSBaseConnection.java:247)
         at weblogic.jms.adapter.JMSManagedConnectionFactory.createManagedConnection(JMSManagedConnectionFactory.java:190)
         at weblogic.connector.security.layer.AdapterLayer.createManagedConnection(AdapterLayer.java:802)
         at weblogic.connector.outbound.ConnectionFactory.createResource(ConnectionFactory.java:91)
         at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1180)
         at weblogic.common.resourcepool.ResourcePoolImpl.reserveResourceInternal(ResourcePoolImpl.java:395)
         at weblogic.common.resourcepool.ResourcePoolImpl.reserveResource(ResourcePoolImpl.java:332)
         at weblogic.common.resourcepool.ResourcePoolImpl.reserveResource(ResourcePoolImpl.java:315)
         at weblogic.connector.outbound.ConnectionPool.reserveResource(ConnectionPool.java:596)
         at weblogic.common.resourcepool.ResourcePoolImpl.reserveResource(ResourcePoolImpl.java:309)
         at weblogic.connector.outbound.ConnectionManagerImpl.getConnectionInfo(ConnectionManagerImpl.java:352)
         at weblogic.connector.outbound.ConnectionManagerImpl.getConnection(ConnectionManagerImpl.java:307)
         at weblogic.connector.outbound.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:115)
         at weblogic.jms.adapter.JMSBaseConnectionFactory.getTargetConnection(JMSBaseConnectionFactory.java:123)
         at weblogic.jms.bridge.internal.MessagingBridge.getConnections(MessagingBridge.java:860)
         at weblogic.jms.bridge.internal.MessagingBridge.run(MessagingBridge.java:1051)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    >
    ####<Oct 12, 2011 4:11:49 PM IST> <Warning> <Connector> <GLLNX01> <AdminServer> <[ACTIVE] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1318416109086> <BEA-190032> << eis/jms/WLSConnectionFactoryJNDINoTX > ResourceAllocationException thrown by resource adapter on call to ManagedConnectionFactory.createManagedConnection(): "javax.resource.ResourceException: ConnectionFactory: failed to get initial context (InitialContextFactory =weblogic.jndi.WLInitialContextFactory, url = t3s://172.16.2.25:4936, user name = null) ">
    ####<Oct 12, 2011 4:11:49 PM IST> <Info> <MessagingBridge> <GLLNX01> <AdminServer> <[ACTIVE] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1318416109089> <BEA-200043> <Bridge "Bridge-0" failed to connect to the target destination and will try again in 45 seconds. This could be a temporary condition unless the messages repeat several times. (java.lang.Exception: javax.resource.ResourceException: ConnectionFactory: failed to get initial context (InitialContextFactory =weblogic.jndi.WLInitialContextFactory, url = t3s://172.16.2.25:4936, user name = null)
         at weblogic.jms.adapter.JMSBaseConnection.throwResourceException(JMSBaseConnection.java:1665)
         at weblogic.jms.adapter.JMSBaseConnection.throwResourceException(JMSBaseConnection.java:1645)
         at weblogic.jms.adapter.JMSBaseConnection.startInternal(JMSBaseConnection.java:460)
         at weblogic.jms.adapter.JMSBaseConnection.start(JMSBaseConnection.java:247)
         at weblogic.jms.adapter.JMSManagedConnectionFactory.createManagedConnection(JMSManagedConnectionFactory.java:190)
         at weblogic.connector.security.layer.AdapterLayer.createManagedConnection(AdapterLayer.java:802)
         at weblogic.connector.outbound.ConnectionFactory.createResource(ConnectionFactory.java:91)
         at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1180)
         at weblogic.common.resourcepool.ResourcePoolImpl.reserveResourceInternal(ResourcePoolImpl.java:395)
         at weblogic.common.resourcepool.ResourcePoolImpl.reserveResource(ResourcePoolImpl.java:332)
         at weblogic.common.resourcepool.ResourcePoolImpl.reserveResource(ResourcePoolImpl.java:315)
         at weblogic.connector.outbound.ConnectionPool.reserveResource(ConnectionPool.java:596)
         at weblogic.common.resourcepool.ResourcePoolImpl.reserveResource(ResourcePoolImpl.java:309)
         at weblogic.connector.outbound.ConnectionManagerImpl.getConnectionInfo(ConnectionManagerImpl.java:352)
         at weblogic.connector.outbound.ConnectionManagerImpl.getConnection(ConnectionManagerImpl.java:307)
         at weblogic.connector.outbound.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:115)
         at weblogic.jms.adapter.JMSBaseConnectionFactory.getTargetConnection(JMSBaseConnectionFactory.java:123)
         at weblogic.jms.bridge.internal.MessagingBridge.getConnections(MessagingBridge.java:860)
         at weblogic.jms.bridge.internal.MessagingBridge.run(MessagingBridge.java:1051)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    -------------- Linked Exception ------------
    javax.naming.CommunicationException [Root exception is java.net.ConnectException: t3s://172.16.2.25:4936: Destination unreachable; nested exception is:
         javax.net.ssl.SSLKeyException: [Security:090477]Certificate chain received from 172.16.2.25 - 172.16.2.25 was not trusted causing SSL handshake failure.; No available router to destination]
         at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:40)
         at weblogic.jndi.WLInitialContextFactoryDelegate.toNamingException(WLInitialContextFactoryDelegate.java:783)
         at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:367)
         at weblogic.jndi.Environment.getContext(Environment.java:315)
         at weblogic.jndi.Environment.getContext(Environment.java:285)
         at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:117)
         at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
         at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
         at javax.naming.InitialContext.init(InitialContext.java:223)
         at javax.naming.InitialContext.<init>(InitialContext.java:197)
         at weblogic.jms.adapter.JMSBaseConnection.getInitialContext(JMSBaseConnection.java:2253)
         at weblogic.jms.adapter.JMSBaseConnection.startInternal(JMSBaseConnection.java:261)
         at weblogic.jms.adapter.JMSBaseConnection.start(JMSBaseConnection.java:247)
         at weblogic.jms.adapter.JMSManagedConnectionFactory.createManagedConnection(JMSManagedConnectionFactory.java:190)
         at weblogic.connector.security.layer.AdapterLayer.createManagedConnection(AdapterLayer.java:802)
         at weblogic.connector.outbound.ConnectionFactory.createResource(ConnectionFactory.java:91)
         at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1180)
         at weblogic.common.resourcepool.ResourcePoolImpl.reserveResourceInternal(ResourcePoolImpl.java:395)
         at weblogic.common.resourcepool.ResourcePoolImpl.reserveResource(ResourcePoolImpl.java:332)
         at weblogic.common.resourcepool.ResourcePoolImpl.reserveResource(ResourcePoolImpl.java:315)
         at weblogic.connector.outbound.ConnectionPool.reserveResource(ConnectionPool.java:596)
         at weblogic.common.resourcepool.ResourcePoolImpl.reserveResource(ResourcePoolImpl.java:309)
         at weblogic.connector.outbound.ConnectionManagerImpl.getConnectionInfo(ConnectionManagerImpl.java:352)
         at weblogic.connector.outbound.ConnectionManagerImpl.getConnection(ConnectionManagerImpl.java:307)
         at weblogic.connector.outbound.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:115)
         at weblogic.jms.adapter.JMSBaseConnectionFactory.getTargetConnection(JMSBaseConnectionFactory.java:123)
         at weblogic.jms.bridge.internal.MessagingBridge.getConnections(MessagingBridge.java:860)
         at weblogic.jms.bridge.internal.MessagingBridge.run(MessagingBridge.java:1051)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: java.net.ConnectException: t3s://172.16.2.25:4936: Destination unreachable; nested exception is:
         javax.net.ssl.SSLKeyException: [Security:090477]Certificate chain received from 172.16.2.25 - 172.16.2.25 was not trusted causing SSL handshake failure.; No available router to destination
         at weblogic.rjvm.RJVMFinder.findOrCreateInternal(RJVMFinder.java:216)
         at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:170)
         at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:153)
         at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:352)
         ... 28 more
    Caused by: java.rmi.ConnectException: Destination unreachable; nested exception is:
         javax.net.ssl.SSLKeyException: [Security:090477]Certificate chain received from 172.16.2.25 - 172.16.2.25 was not trusted causing SSL handshake failure.; No available router to destination
         at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:464)
         at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:315)
         at weblogic.rjvm.RJVMManager.findOrCreateRemoteInternal(RJVMManager.java:251)
         at weblogic.rjvm.RJVMManager.findOrCreate(RJVMManager.java:194)
         at weblogic.rjvm.RJVMFinder.findOrCreateRemoteServer(RJVMFinder.java:238)
         at weblogic.rjvm.RJVMFinder.findOrCreateInternal(RJVMFinder.java:200)
         ... 31 more
    )>
    ####<Oct 12, 2011 4:11:49 PM IST> <Debug> <MessagingBridgeRuntimeVerbose> <GLLNX01> <AdminServer> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1318416109479> <BEA-000000> <Bridge Bridge-0 doTrigger(): state = 2 stopped = false>
    ####<Oct 12, 2011 4:11:50 PM IST> <Debug> <MessagingBridgeRuntimeVerbose> <GLLNX01> <AdminServer> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1318416110055> <BEA-000000> <Bridge Bridge-0 doTrigger(): state = 2 stopped = false>
    ####<Oct 12, 2011 4:11:50 PM IST> <Debug> <MessagingBridgeRuntimeVerbose> <GLLNX01> <AdminServer> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1318416110479> <BEA-000000> <Bridge Bridge-0 doTrigger(): state = 2 stopped = false>
    ####<Oct 12, 2011 4:11:51 PM IST> <Debug> <MessagingBridgeRuntimeVerbose> <GLLNX01> <AdminServer> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1318416111055> <BEA-000000> <Bridge Bridge-0 doTrigger(): state = 2 stopped = false>
    ####<Oct 12, 2011 4:11:51 PM IST> <Debug> <MessagingBridgeRuntimeVerbose> <GLLNX01> <AdminServer> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1318416111479> <BEA-000000> <Bridge Bridge-0 doTrigger(): state = 2 stopped = false>
    ####<Oct 12, 2011 4:11:52 PM IST> <Debug> <MessagingBridgeRuntimeVerbose> <GLLNX01> <AdminServer> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1318416112055> <BEA-000000> <Bridge Bridge-0 doTrigger(): state = 2 stopped = false>
    ####<Oct 12, 2011 4:11:52 PM IST> <Debug> <MessagingBridgeRuntimeVerbose> <GLLNX01> <AdminServer> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1318416112479> <BEA-000000> <Bridge Bridge-0 doTrigger(): state = 2 stopped = false>
    ####<Oct 12, 2011 4:11:53 PM IST> <Debug> <MessagingBridgeRuntimeVerbose> <GLLNX01> <AdminServer> <[ACTIVE] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1318416113055> <BEA-000000> <Bridge Bridge-0 doTrigger(): state = 2 stopped = false>
    ####<Oct 12, 2011 4:11:53 PM IST> <Debug> <MessagingBridgeRuntimeVerbose> <GLLNX01> <AdminServer> <[ACTIVE] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1318416113479> <BEA-000000> <Bridge Bridge-0 doTrigger(): state = 2 stopped = false>
    ####<Oct 12, 2011 4:11:54 PM IST> <Debug> <MessagingBridgeRuntimeVerbose> <GLLNX01> <AdminServer> <[ACTIVE] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1318416114055> <BEA-000000> <Bridge Bridge-0 doTrigger(): state = 2 stopped = false>
    ####<Oct 12, 2011 4:11:54 PM IST> <Debug> <MessagingBridgeRuntimeVerbose> <GLLNX01> <AdminServer> <[ACTIVE] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1318416114479> <BEA-000000> <Bridge Bridge-0 doTrigger(): state = 2 stopped = false>
    ####<Oct 12, 2011 4:11:55 PM IST> <Debug> <MessagingBridgeRuntimeVerbose> <GLLNX01> <AdminServer> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1318416115051> <BEA-000000> <Bridge Bridge-0 doTrigger(): state = 2 stopped = false>
    ####<Oct 12, 2011 4:11:55 PM IST> <Debug> <MessagingBridgeRuntimeVerbose> <GLLNX01> <AdminServer> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1318416115479> <BEA-000000> <Bridge Bridge-0 doTrigger(): state = 2 stopped = false>
    ####<Oct 12, 2011 4:11:56 PM IST> <Debug> <MessagingBridgeRuntimeVerbose> <GLLNX01> <AdminServer> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1318416116055> <BEA-000000> <Bridge Bridge-0 doTrigger(): state = 2 stopped = false>
    ####<Oct 12, 2011 4:11:56 PM IST> <Debug> <MessagingBridgeRuntimeVerbose> <GLLNX01> <AdminServer> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1318416116479> <BEA-000000> <Bridge Bridge-0 doTrigger(): state = 2 stopped = false>
    ####<Oct 12, 2011 4:11:57 PM IST> <Debug> <MessagingBridgeRuntimeVerbose> <GLLNX01> <AdminServer> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1318416117055> <BEA-000000> <Bridge Bridge-0 doTrigger(): state = 2 stopped = false>
    ####<Oct 12, 2011 4:11:57 PM IST> <Debug> <MessagingBridgeRuntimeVerbose> <GLLNX01> <AdminServer> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1318416117479> <BEA-000000> <Bridge Bridge-0 doTrigger(): state = 2 stopped = false>
    ####<Oct 12, 2011 4:11:58 PM IST> <Debug> <MessagingBridgeRuntimeVerbose> <GLLNX01> <AdminServer> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1318416118055> <BEA-000000> <Bridge Bridge-0 doTrigger(): state = 2 stopped = false>
    ####<Oct 12, 2011 4:11:58 PM IST> <Debug> <MessagingBridgeRuntimeVerbose> <GLLNX01> <AdminServer> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1318416118479> <BEA-000000> <Bridge Bridge-0 doTrigger(): state = 2 stopped = false>
    Thanks in advance.

    Think this can help you on the way - http://blog.eisele.net/2010/06/weblogic-server-ssl-httpst3s-and-java.html

  • Jms.bridge.TemporaryResourceException

    Folks,
              I would very grateful if anyone has seen this one:
              I'm attempting to connect to a remote weblogic server, my bridge destination is configured (as best I can see, correctly, as its a clone of a working environment on another server).
              I am receiving the following error when the server tries to connect to the Bridge destination.
              Some Points:
              1. The remote WLE has a username/password on it, they've been configured.
              2. The domain credentials have been changed to match those of the remote server.
              3. The interoperability mode are the same across the domains.
              4. The remote server is active, I have sent messages across on a client tester.
              LOG
              ####<25-Jan-2007 14:02:45 o'clock GMT> <Info> <MessagingBridge> <serverName> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1169733765045>
              <BEA-200043> <Bridge "aTOb" failed to connect to the target destination and will try again in 60 seconds. This could be a temporary condition unless the messages repeat several times. (java.lang.Exception: weblogic.jms.bridge.TemporaryResourceException
              at weblogic.jms.adapter.JMSBaseConnection.throwTempResourceException(JMSBaseConnection.java:14
              31)
              at weblogic.jms.adapter.JMSBaseConnection.startInternal(JMSBaseConnection.java:390)
              at weblogic.jms.adapter.JMSBaseConnection.start(JMSBaseConnection.java:242)
              at weblogic.jms.adapter.JMSManagedConnectionFactory.createManagedConnection(JMSManagedConnectionFactory.java:190)
              at weblogic.connector.security.layer.AdapterLayer.createManagedConnection(AdapterLayer.java:802)
              at weblogic.connector.outbound.ConnectionFactory.createResource(ConnectionFactory.java:91)
              at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1057)
              at weblogic.common.resourcepool.ResourcePoolImpl.reserveResourceInternal(ResourcePoolImpl.java:346)
              at weblogic.common.resourcepool.ResourcePoolImpl.reserveResource(ResourcePoolImpl.java:294)
              at weblogic.common.resourcepool.ResourcePoolImpl.reserveResource(ResourcePoolImpl.java:277)
              at weblogic.connector.outbound.ConnectionPool.reserveResource(ConnectionPool.java:606)
              at weblogic.common.resourcepool.ResourcePoolImpl.reserveResource(ResourcePoolImpl.java:271)
              at weblogic.connector.outbound.ConnectionManagerImpl.getConnectionInfo(ConnectionManagerImpl.java:352)
              at weblogic.connector.outbound.ConnectionManagerImpl.getConnection(ConnectionManagerImpl.java:
              307)
              at weblogic.connector.outbound.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.
              java:115)
              at weblogic.jms.adapter.JMSBaseConnectionFactory.getTargetConnection(JMSBaseConnectionFactory.
              java:123)
              at weblogic.jms.bridge.internal.MessagingBridge.getConnections(MessagingBridge.java:854)
              at weblogic.jms.bridge.internal.MessagingBridge.run(MessagingBridge.java:1042)
              at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
              at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
              at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
              )>
              ####<25-Jan-2007 14:02:46 o'clock GMT> <Info> <Console> <serverName> <AdminServer> <[ACTIVE] ExecuteThread
              : '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <weblogic> <

    Enable debug flags for message bridge to capture more details:
    -Dweblogic.Debug.DebugMessagingBridgeStartup=true
    -Dweblogic.Debug.DebugMessagingBridgeRuntime=true
    Edited by: atheek1 on 07-Jul-2010 03:21

  • MQ 6 WLS 9.2 JMS Message Bridge Error

    I tried to set up a JMS message bridge between MQ 9.2 and WLS 9.2 collocated on the same server following the BEA example:
              1.Create local queue on MQ
              2.Bind queue using JMSAdmin
              3.Create JMS bridge betwen a source destination using JNDI name in #2 and a local WLS queue.
              Here is the WLS config:
              <messaging-bridge>
              <name>MQ-WLSBridge</name>
              <target>adminServer</target>
              <source-destination>MQ-WLSSource</source-destination>
              <target-destination>MQ-WLSTarget</target-destination>
              <selector></selector>
              <quality-of-service>Exactly-once</quality-of-service>
              <qos-degradation-allowed>true</qos-degradation-allowed>
              <durability-enabled>true</durability-enabled>
              <idle-time-maximum>60</idle-time-maximum>
              <async-enabled>true</async-enabled>
              <started>true</started>
              <preserve-msg-property>false</preserve-msg-property>
              </messaging-bridge>
              <jms-bridge-destination>
              <name>MQ-WLSTarget</name>
              <adapter-jndi-name>eis.jms.WLSConnectionFactoryJNDINoTX</adapter-jndi-name>
              <classpath></classpath>
              <connection-factory-jndi-name>com.MetaSolv.Security.QueueConnectionFactory</connection-factory-jndi-name>
              <connection-url>t3://localhost:7005</connection-url>
                   <destination-jndi-name>WLSMessageQueue</destination-jndi-name>
              </jms-bridge-destination>
              <jms-bridge-destination>
              <name>MQ-WLSSource</name>
              <adapter-jndi-name>eis.jms.WLSConnectionFactoryJNDINoTX</adapter-jndi-name>
              <classpath></classpath>
              <connection-factory-jndi-name>QCF</connection-factory-jndi-name>
              <initial-context-factory>com.sun.jndi.fscontext.RefFSContextFactory</initial-context-factory>
              <connection-url>file:///usr/mqm/java/jndi</connection-url>
              <destination-jndi-name>MQMessageQueus</destination-jndi-name>
              </jms-bridge-destination>
              I used a standalone JMS client and was able to connect to the MQ queue using the above JNDI name, factory so the MQ side was set up properly.
              When I start up WLS, I saw that
              <The messaging bridge "MQ-WLSBridge" has been successfully deployed.>
              and the exception:
              <MessagingBridge> <BEA-200042> <Bridge MQ-WLSBridge failed to connect to the source destination and will try again in 20 seconds. This could be a temporary condition unless the messages repeat several times. (java.lang.Exception: javax.resource.ResourceException: Failed to start the connection
                   at weblogic.jms.adapter.JMSBaseConnection.throwResourceException(JMSBaseConnection.java:1458)
                   at weblogic.jms.adapter.JMSBaseConnection.throwResourceException(JMSBaseConnection.java:1438)
                   at weblogic.jms.adapter.JMSBaseConnection.startInternal(JMSBaseConnection.java:403)
                   at weblogic.jms.adapter.JMSBaseConnection.start(JMSBaseConnection.java:242)
                   at weblogic.jms.adapter.JMSManagedConnectionFactory.createManagedConnection(JMSManagedConnectionFactory.java:190)
                   at weblogic.connector.security.layer.AdapterLayer.createManagedConnection(AdapterLayer.java:802)
                   at weblogic.connector.outbound.ConnectionFactory.createResource(ConnectionFactory.java:91)
                   at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1057)
                   at weblogic.common.resourcepool.ResourcePoolImpl.reserveResourceInternal(ResourcePoolImpl.java:346)
                   at weblogic.common.resourcepool.ResourcePoolImpl.reserveResource(ResourcePoolImpl.java:294)
                   at weblogic.common.resourcepool.ResourcePoolImpl.reserveResource(ResourcePoolImpl.java:277)
                   at weblogic.connector.outbound.ConnectionPool.reserveResource(ConnectionPool.java:606)
                   at weblogic.common.resourcepool.ResourcePoolImpl.reserveResource(ResourcePoolImpl.java:271)
                   at weblogic.connector.outbound.ConnectionManagerImpl.getConnectionInfo(ConnectionManagerImpl.java:352)
                   at weblogic.connector.outbound.ConnectionManagerImpl.getConnection(ConnectionManagerImpl.java:307)
                   at weblogic.connector.outbound.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:115)
                   at weblogic.jms.adapter.JMSBaseConnectionFactory.getSourceConnection(JMSBaseConnectionFactory.java:92)
                   at weblogic.jms.bridge.internal.MessagingBridge.getConnections(MessagingBridge.java:809)
                   at weblogic.jms.bridge.internal.MessagingBridge.run(MessagingBridge.java:1042)
                   at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
                   at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
                   at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
              )>
              There is no error in the MQ logs. What is the problem?
              CS

    C S <> wrote:
              > I tried to set up a JMS message bridge between MQ 9.2 and WLS 9.2
              > collocated on the same server following the BEA example: 1.Create local
              > queue on MQ 2.Bind queue using JMSAdmin
              > 3.Create JMS bridge betwen a source destination using JNDI name in #2 and
              > a local WLS queue.
              >
              > Here is the WLS config:
              > <messaging-bridge>
              > <name>MQ-WLSBridge</name>
              > <target>adminServer</target>
              > <source-destination>MQ-WLSSource</source-destination>
              > <target-destination>MQ-WLSTarget</target-destination>
              > <selector></selector>
              > <quality-of-service>Exactly-once</quality-of-service>
              > <qos-degradation-allowed>true</qos-degradation-allowed>
              > <durability-enabled>true</durability-enabled>
              > <idle-time-maximum>60</idle-time-maximum>
              > <async-enabled>true</async-enabled>
              > <started>true</started>
              > <preserve-msg-property>false</preserve-msg-property>
              > </messaging-bridge>
              >
              > <jms-bridge-destination>
              > <name>MQ-WLSTarget</name>
              >
              <adapter-jndi-name>eis.jms.WLSConnectionFactoryJNDINoTX</adapter-jndi-name>
              > <classpath></classpath>
              >
              <connection-factory-jndi-name>com.MetaSolv.Security.QueueConnectionFactory</connection-factory-jndi-name>
              > <connection-url>t3://localhost:7005</connection-url>
              > <destination-jndi-name>WLSMessageQueue</destination-jndi-name>
              > </jms-bridge-destination>
              > <jms-bridge-destination>
              > <name>MQ-WLSSource</name>
              >
              Hello,
              First of all, your classpath doesn't seem to be correct. You need to add the
              MQ jars in the bridge classpath. (DONT use the server classpath for
              this!!!)
              Secondly, enable debugging in Weblogic, which will give you some
              information: -Dweblogic.Debug.DebugMessagingBridgeStartup=true -Dweblogic.Debug.DebugMessagingBridgeRuntime=true -Dweblogic.Debug.DebugMessagingBridgeRuntimeVerbose=true
              IF you have more questions, pls reply also be mail.
              Bart
              Schelstraete Bart
              [email protected]
              http://www.schelstraete.org
              http://www.linkedin.com/in/bschelst

  • WLS 10.3.2 :: JMS javax.transaction.xa.XAException ArrayIndexOutOfBoundsExc

    Hi All,
    We have migrated from WLS 9.2 to WLS 10.3.2.
    We have messaging bridge which is configured to send messages from a weblogic cluster having 3 managed servers to IBM MQ V 7 queue.
    However the messaging bridge is failing with the exception with a huge trace as mentioned below:
    ####<Jun 2, 2010 11:35:51 AM EDT> <Debug> <MessagingBridgeRuntimeVerbose> <snjcprdcriba02> <citmqgatewayserver2> <[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <BEA1-0002269D8ED345D237A5> <> <1275492951488> <BEA-000000> <Exception:
    weblogic.jms.common.JMSException: weblogic.messaging.kernel.KernelException: Error enlisting GXA transaction
    at weblogic.jms.dispatcher.DispatcherAdapter.convertToJMSExceptionAndThrow(DispatcherAdapter.java:110)
    at weblogic.jms.dispatcher.DispatcherAdapter.dispatchSyncTran(DispatcherAdapter.java:53)
    at weblogic.jms.client.JMSProducer.toFEProducer(JMSProducer.java:1272)
    at weblogic.jms.bridge.internal.MessagingBridge.processMessages(MessagingBridge.java:1457)
    at weblogic.jms.bridge.internal.MessagingBridge.beginForwarding(MessagingBridge.java:1002)
    at weblogic.jms.bridge.internal.MessagingBridge.run(MessagingBridge.java:1079)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused By: weblogic.jms.common.JMSException: weblogic.messaging.kernel.KernelException: Error enlisting GXA transaction
    at weblogic.messaging.dispatcher.Request.wrappedFiniteStateMachine(Request.java:1070)
    at weblogic.messaging.dispatcher.DispatcherServerRef.invoke(DispatcherServerRef.java:276)
    at weblogic.messaging.dispatcher.DispatcherServerRef.handleRequest(DispatcherServerRef.java:141)
    at weblogic.messaging.dispatcher.DispatcherServerRef.access$000(DispatcherServerRef.java:34)
    at weblogic.messaging.dispatcher.DispatcherServerRef$2.run(DispatcherServerRef.java:111)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused By: weblogic.jms.common.JMSException: weblogic.messaging.kernel.KernelException: Error enlisting GXA transaction
    at weblogic.jms.dispatcher.Request.handleThrowable(Request.java:87)
    at weblogic.jms.dispatcher.Request.getResult(Request.java:52)
    at weblogic.jms.frontend.FEProducer.sendRetryDestination(FEProducer.java:1045)
    Caused By: weblogic.jms.common.JMSException: weblogic.messaging.kernel.KernelException: Error enlisting GXA transaction
    at weblogic.jms.dispatcher.Request.handleThrowable(Request.java:87)
    at weblogic.jms.dispatcher.Request.getResult(Request.java:52)
    at weblogic.messaging.dispatcher.DispatcherServerRef.access$000(DispatcherServerRef.java:34)
    at weblogic.messaging.dispatcher.DispatcherServerRef$2.run(DispatcherServerRef.java:111)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused By: weblogic.jms.common.JMSException: weblogic.messaging.kernel.KernelException: Error enlisting GXA transaction
    at weblogic.jms.backend.BEDestinationImpl.sendIssueMessage(BEDestinationImpl.java:1923)
    at weblogic.jms.backend.BEDestinationImpl.send(BEDestinationImpl.java:2111)
    at weblogic.jms.backend.BEDestinationImpl.wrappedSend(BEDestinationImpl.java:2054)
    at weblogic.messaging.dispatcher.DispatcherServerRef$2.run(DispatcherServerRef.java:111)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused By: weblogic.messaging.kernel.KernelException: Error enlisting GXA transaction
    at weblogic.messaging.kernel.internal.KernelImpl.getGXATransaction(KernelImpl.java:538)
    at weblogic.messaging.kernel.internal.QueueImpl.send(QueueImpl.java:316)
    at weblogic.jms.backend.BEDestinationImpl.sendIssueMessage(BEDestinationImpl.java:1876)
    at weblogic.messaging.dispatcher.DispatcherServerRef$2.run(DispatcherServerRef.java:111)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused By: weblogic.store.gxa.GXAException: Transaction already rolled back, or the transaction manager has timed out this resource.
    at weblogic.store.gxa.internal.GXAResourceImpl.enlist(GXAResourceImpl.java:523)
    at weblogic.messaging.kernel.internal.KernelImpl.getGXATransaction(KernelImpl.java:536)
    at weblogic.messaging.kernel.internal.QueueImpl.send(QueueImpl.java:316)
    at weblogic.jms.backend.BEDestinationImpl.sendIssueMessage(BEDestinationImpl.java:1876)
    at weblogic.jms.backend.BEDestinationImpl.send(BEDestinationImpl.java:2111)
    at weblogic.jms.backend.BEDestinationImpl.wrappedSend(BEDestinationImpl.java:2054)
    at weblogic.jms.backend.BEDestinationImpl.invoke(BEDestinationImpl.java:1542)
    at weblogic.messaging.dispatcher.Request.wrappedFiniteStateMachine(Request.java:961)
    at weblogic.messaging.dispatcher.DispatcherImpl.dispatchAsyncInternal(DispatcherImpl.java:139)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused By: weblogic.transaction.RollbackException: Tx marked rollback due to unexpected internal exception
    start() failed on resource 'eis/jms/WLSConnectionFactoryJNDIXA': XAER_RMERR : A resource manager error has occured in the transaction branch
    javax.transaction.xa.XAException: Unexpected Exception for XAResource 'eis/jms/WLSConnectionFactoryJNDIXA':0java.lang.ArrayIndexOutOfBoundsException: 0
    at weblogic.connector.outbound.ConnectionPool.findXATxConnectionHandler(ConnectionPool.java:2079)
    at weblogic.connector.transaction.outbound.RecoveryOnlyXAWrapper.useXAResourceFromPool(RecoveryOnlyXAWrapper.java:404)
    at weblogic.connector.transaction.outbound.RecoveryOnlyXAWrapper.validate(RecoveryOnlyXAWrapper.java:384)
    at weblogic.connector.transaction.outbound.XAWrapper.start(XAWrapper.java:472)
    at weblogic.connector.transaction.outbound.RecoveryOnlyXAWrapper.start(RecoveryOnlyXAWrapper.java:32)
    at weblogic.transaction.internal.XAServerResourceInfo.start(XAServerResourceInfo.java:1201)
    at weblogic.transaction.internal.XAServerResourceInfo.xaStart(XAServerResourceInfo.java:1134)
    at weblogic.transaction.internal.XAServerResourceInfo.enlist(XAServerResourceInfo.java:275)
    at weblogic.transaction.internal.XAServerResourceInfo.enlistIfStatic(XAServerResourceInfo.java:174)
    at weblogic.transaction.internal.ServerTransactionImpl.enlistStaticallyEnlistedResources(ServerTransactionImpl.java:1574)
    at weblogic.transaction.internal.ServerTransactionManagerImpl.dispatchRequest(ServerTransactionManagerImpl.java:571)
    at weblogic.messaging.dispatcher.DispatcherServerRef.handleRequest(DispatcherServerRef.java:132)
    at weblogic.messaging.dispatcher.DispatcherServerRef.access$000(DispatcherServerRef.java:34)
    at weblogic.messaging.dispatcher.DispatcherServerRef$2.run(DispatcherServerRef.java:111)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: java.lang.ArrayIndexOutOfBoundsException: 0
    at weblogic.connector.outbound.ConnectionPool.findXATxConnectionHandler(ConnectionPool.java:2079)
    at weblogic.connector.transaction.outbound.RecoveryOnlyXAWrapper.useXAResourceFromPool(RecoveryOnlyXAWrapper.java:404)
    at weblogic.connector.transaction.outbound.RecoveryOnlyXAWrapper.validate(RecoveryOnlyXAWrapper.java:384)
    at weblogic.connector.transaction.outbound.XAWrapper.start(XAWrapper.java:472)
    at weblogic.connector.transaction.outbound.RecoveryOnlyXAWrapper.start(RecoveryOnlyXAWrapper.java:32)
    at weblogic.transaction.internal.XAServerResourceInfo.start(XAServerResourceInfo.java:1201)
    Any pointers to address this issue would be helpful.
    Thanks in advance.

    The key exception seems to be an "ArrayIndexOutOfBounds" exception in the adapter code:
    Caused By: weblogic.transaction.RollbackException: Tx marked rollback due to unexpected internal exception start() failed on resource 'eis/jms/WLSConnectionFactoryJNDIXA': XAER_RMERR : A resource manager error has occured in the transaction branch
    javax.transaction.xa.XAException: Unexpected Exception for XAResource 'eis/jms/WLSConnectionFactoryJNDIXA':0java.lang.ArrayIndexOutOfBoundsException: 0
    at weblogic.connector.outbound.ConnectionPool.findXATxConnectionHandler(ConnectionPool.java:2079)An array-index-out-of-bounds exception is normally not expected or handled, and could be a sign of a Bug in the WebLogic. My only other guess is that the upgraded domain is somehow referencing an adapter from the original domain -- a configuration that's not supported.
    To see if you can get a working bridge, perhaps try creating an XA capable bridge from scratch. The console should guide you through most of the steps, and you can reference your old configuration for the MQ specific URL, JNDI context factory, connection factory, and dest values...
    Hope this helps,
    Tom

  • NullPointerException in LDAP Connector

    Hi guys, I'm trying to use the LDAP connector in my applications. I'm following the tutorial on https://identityconnectors.dev.java.net/api_info.html but I'm experiencing a NullPointerException when I call a SEARCH operation.
    I'm using:
    Java SDK 1.6
    LDAP Connector: org.identityconnectors.ldap-1.0.4726.jar
    Toolkit: connector_toolkit-1.0.4709
    Validate and test method go right, but when I try to launch a search (but also authenticate) I get the exception. Can someone help me?
    Below my code:
    File bundleDirectory = new File("/home/luca/Projects/Idm/bundles");
    URL flatfileUrl = IOUtil.makeURL(bundleDirectory, "org.identityconnectors.ldap-1.0.4726.jar");
    ConnectorInfoManagerFactory factory = ConnectorInfoManagerFactory.getInstance();
    ConnectorInfoManager manager = factory.getLocalManager(flatfileUrl);
    ConnectorKey ffKey = new ConnectorKey("org.identityconnectors.ldap", "1.0.4726", "org.identityconnectors.ldap.LdapConnector");
    ConnectorInfo ffConInfo = manager.findConnectorInfo(ffKey);
    APIConfiguration ffConfig = ffConInfo.createDefaultAPIConfiguration();
    ConfigurationProperties ffConfigProps = ffConfig.getConfigurationProperties();
    ffConfigProps.setPropertyValue("host", "localhost");
    ffConfigProps.setPropertyValue("port", 389);
    ffConfigProps.setPropertyValue("principal", "cn=admin,dc=idm,dc=com");
    ffConfigProps.setPropertyValue("credentials", new GuardedString("my_password".toCharArray()));
    ffConfigProps.setPropertyValue("uidAttribute", "cn");
    ffConfigProps.setPropertyValue("accountObjectClasses", new String[] {"person"});
    ffConfigProps.setPropertyValue("baseContextsToSynchronize", new String[] {"ou=people,dc=idm,dc=com"});
    ffConfigProps.setPropertyValue("baseContexts", new String[] {"ou=people,dc=idm,dc=com"});
    ConnectorFacade ffConnector = ConnectorFacadeFactory.getInstance().newInstance(ffConfig);
    ffConnector.validate();
    ffConnector.test();
    ResultsHandler resultsHandler = new ResultsHandler() {
    public boolean handle(ConnectorObject cobject) {
    logger.debug("OK");
    return true;
    ffConnector.search(ObjectClass.ACCOUNT, null, resultsHandler, null);
    End the exception:
    Exception in thread "main" java.lang.NullPointerException
    at org.identityconnectors.ldap.LdapConnection.detectServerType(LdapConnection.java:318)
    at org.identityconnectors.ldap.LdapConnection.getServerType(LdapConnection.java:310)
    at org.identityconnectors.ldap.schema.LdapSchemaBuilder.buildSchema(LdapSchemaBuilder.java:87)
    at org.identityconnectors.ldap.schema.LdapSchemaBuilder.getSchema(LdapSchemaBuilder.java:62)
    at org.identityconnectors.ldap.schema.LdapSchemaMapping.schema(LdapSchemaMapping.java:107)
    at org.identityconnectors.ldap.search.LdapSearch.getAttributesReturnedByDefault(LdapSearch.java:84)
    at org.identityconnectors.ldap.search.LdapSearch.getAttributesToGet(LdapSearch.java:344)
    at org.identityconnectors.ldap.search.LdapSearch.execute(LdapSearch.java:120)
    at org.identityconnectors.ldap.LdapConnector.executeQuery(LdapConnector.java:109)
    at org.identityconnectors.ldap.LdapConnector.executeQuery(LdapConnector.java:57)
    at org.identityconnectors.framework.impl.api.local.operations.SearchImpl.rawSearch(SearchImpl.java:105)
    at org.identityconnectors.framework.impl.api.local.operations.SearchImpl.search(SearchImpl.java:82)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.identityconnectors.framework.impl.api.local.operations.ConnectorAPIOperationRunnerProxy.invoke(ConnectorAPIOperationRunnerProxy.java:93)
    at $Proxy7.search(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.identityconnectors.framework.impl.api.local.operations.ThreadClassLoaderManagerProxy.invoke(ThreadClassLoaderManagerProxy.java:107)
    at $Proxy7.search(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.identityconnectors.framework.impl.api.BufferedResultsProxy$BufferedResultsHandler.run(BufferedResultsProxy.java:162)

    Hi,
    I am getting "No serializer for class: class org.identityconnectors.common.security.GuardedByteArray" exception when I am trying to use LDAP connector in my app.
    Appreciated for any help
    below my code :
    File bundleDirectory = new File("./bundles");
         URL flatfileUrl;
              try {
                   flatfileUrl = IOUtil.makeURL(bundleDirectory, "org.identityconnectors.ldap-1.0.5119.jar");
         ConnectorInfoManagerFactory factory = ConnectorInfoManagerFactory.getInstance();
         ConnectorInfoManager manager = factory.getLocalManager(flatfileUrl);
         ConnectorKey ffKey = new ConnectorKey("org.identityconnectors.ldap", "1.0.5119", "org.identityconnectors.ldap.LdapConnector");
         ConnectorInfo ffConInfo = manager.findConnectorInfo(ffKey);
         APIConfiguration ffConfig = ffConInfo.createDefaultAPIConfiguration();
         ConfigurationProperties ffConfigProps = ffConfig.getConfigurationProperties();
         ffConfigProps.setPropertyValue("host", "localhost");
         ffConfigProps.setPropertyValue("port", 389);
         ffConfigProps.setPropertyValue("principal", "cn=admin,dc=idm,dc=com");
         ffConfigProps.setPropertyValue("credentials", new GuardedString("my_password".toCharArray()));
         ffConfigProps.setPropertyValue("uidAttribute", "cn");
         ffConfigProps.setPropertyValue("accountObjectClasses", new String[] {"person"});
         ffConfigProps.setPropertyValue("baseContextsToSynchronize", new String[] {"ou=people,dc=idm,dc=com"});
         ffConfigProps.setPropertyValue("baseContexts", new String[] {"ou=people,dc=idm,dc=com"});
         ConnectorFacade ffConnector = ConnectorFacadeFactory.getInstance().newInstance(ffConfig);
         ffConnector.validate();
         ffConnector.test();
         ResultsHandler resultsHandler = new ResultsHandler() {
         public boolean handle(ConnectorObject cobject) {
         System.out.println("OK");
         return true;
         System.out.println("ending");
         ffConnector.search(ObjectClass.ACCOUNT, null, resultsHandler, null);
              } catch (IOException e) {
                   e.printStackTrace();
    Exception:
    Thread Id: 1 Time: 11/26/09 6:58 AM Class: org.identityconnectors.framework.impl.api.ConnectorFacadeFactoryImpl Method: newInstance Level: ERROR Message: Failed to create new connector facade: ConnectorKey( bundleName=org.identityconnectors.ldap.LdapConnector.bundle bundleVersion=1.0 connectorName=org.identityconnectors.ldap.LdapConnector ), [email protected]297e7
    org.identityconnectors.framework.common.exceptions.ConnectorException: No serializer for class: class org.identityconnectors.common.security.GuardedByteArray
    at org.identityconnectors.framework.impl.serializer.binary.BinaryObjectEncoder$InternalEncoder.writeClass(BinaryObjectEncoder.java:173)
    at org.identityconnectors.framework.impl.serializer.binary.BinaryObjectEncoder.writeClassField(BinaryObjectEncoder.java:385)
    at org.identityconnectors.framework.impl.serializer.APIConfigurationHandlers$2.serialize(APIConfigurationHandlers.java:129)
    at org.identityconnectors.framework.impl.serializer.binary.BinaryObjectEncoder$InternalEncoder.writeObject(BinaryObjectEncoder.java:131)
    at org.identityconnectors.framework.impl.serializer.binary.BinaryObjectEncoder.writeObjectContents(BinaryObjectEncoder.java:442)
    at org.identityconnectors.framework.impl.serializer.APIConfigurationHandlers$3.serialize(APIConfigurationHandlers.java:158)
    at org.identityconnectors.framework.impl.serializer.binary.BinaryObjectEncoder$InternalEncoder.writeObject(BinaryObjectEncoder.java:131)
    at org.identityconnectors.framework.impl.serializer.binary.BinaryObjectEncoder.writeObjectField(BinaryObjectEncoder.java:448)
    at org.identityconnectors.framework.impl.serializer.APIConfigurationHandlers$4.serialize(APIConfigurationHandlers.java:198)
    at org.identityconnectors.framework.impl.serializer.binary.BinaryObjectEncoder$InternalEncoder.writeObject(BinaryObjectEncoder.java:131)
    at org.identityconnectors.framework.impl.serializer.binary.BinaryObjectEncoder.writeObject(BinaryObjectEncoder.java:355)
    at org.identityconnectors.framework.common.serializer.SerializerUtil.serializeBinaryObject(SerializerUtil.java:53)
    at org.identityconnectors.framework.common.serializer.SerializerUtil.cloneObject(SerializerUtil.java:120)
    at org.identityconnectors.framework.impl.api.AbstractConnectorFacade.<init>(AbstractConnectorFacade.java:78)
    at org.identityconnectors.framework.impl.api.local.LocalConnectorFacadeImpl.<init>(LocalConnectorFacadeImpl.java:122)
    at org.identityconnectors.framework.impl.api.ConnectorFacadeFactoryImpl.newInstance(ConnectorFacadeFactoryImpl.java:57)
    at com.suchos.directax.identityinterceptor.idm.connector.helper.DAXIIIdentityConnectorLDAPInvoker.newFacade(DAXIIIdentityConnectorLDAPInvoker.java:143)
    at com.suchos.directax.identityinterceptor.idm.connector.helper.DAXIIIdentityConnectorLDAPInvoker.createAccount(DAXIIIdentityConnectorLDAPInvoker.java:122)
    at com.suchos.directax.identityinterceptor.idm.connector.helper.DAXIIIdentityConnectorLDAPInvoker.main(DAXIIIdentityConnectorLDAPInvoker.java:113)

  • SAP connector: java.lang.NullPointerException

    Hi,
    we are actually using the free of charge version of cps.
    Right now we are just running one job there "SAP_CCMS_MONI_BATCH_DP" It worked fine for about 2 weeks. Today I saw that the job is not executed in the SAP System anymore.
    The error message is:
    An error has occurred in the SAP connector: java.lang.NullPointerException
    Details:
    java.lang.NullPointerException
    at java.lang.Throwable.<init>(Throwable.java:58)
    at java.lang.String.regionMatches(String.java:886)
    at java.lang.String.startsWith(String.java:981)
    at java.lang.String.startsWith(String.java:966)
    at com.redwood.scheduler.connector.sap.rfc.command.JobParameterHelper.getParametersStartingWith(JobParameterHelper.java:276)
    at com.redwood.scheduler.connector.sap.rfc.command.impl.AbapRunPrintCommand.doAddSteps(AbapRunPrintCommand.java:256)
    at com.redwood.scheduler.connector.sap.rfc.command.AbstractXbpJobRunCommand.execute(AbstractXbpJobRunCommand.java:177)
    at com.redwood.scheduler.connector.sap.rfc.command.AbstractXbpCommand.doExecute(AbstractXbpCommand.java:123)
    at com.redwood.scheduler.connector.sap.rfc.command.AbstractCommand.execute(AbstractCommand.java:56)
    at com.redwood.scheduler.connector.sap.rfc.service.SapJobWork.doWork(SapJobWork.java:107)
    at com.redwood.scheduler.infrastructure.workqueue.Worker.run(Worker.java:59)
    at java.lang.Thread.run(Thread.java:838)
    I have already checked the connection from CPS to the SAP System - everything is ok... I have restarted the process server...
    Regards
    Johannes

    HI Anton,
    my college told me right now, that we have patched the SAp System with the latest Kernel:
    Kernel Release: 701
    Patch Level 75
    ABAP LOAD 1565
    CUA-Load 32
    Mode opt
    The Job failed exactly at that time, when the Kernel was patched...
    Regards
    Johannes

  • Java.lang.NullPointerException and ConnectionPool problem

    refresh page , problem gone
    java.lang.NullPointerException
    at Deferment.UpdatePostgraduate.getStatus(UpdatePostgraduate.java:278)
    at Deferment.UpdatePostgraduate.doPost(UpdatePostgraduate.java:175)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at org.apache.catalina.servlets.InvokerServlet.serveRequest(InvokerServlet.java:402)
    at org.apache.catalina.servlets.InvokerServlet.doPost(InvokerServlet.java:170)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    UpdatePostgraduate.java:278
    ->while (rs.next()) {
    175-> tarCount=getStatus(userid);
    now I have
    Connection conn = null;
    CallableStatement calstat=null;
    ResultSet rs = null;
    in every of my function
    and my
    public Connection getConnection()         throws SQLException, ServletException       {           Connection conn = null;           try{           pool.getConnection();           }catch (SQLException sqle) {             throw new ServletException(sqle.getMessage());         }           return conn;       }

    private DataSource pool = null; 
        int tarCount;
        int sendMail;
        @Override
        public void init() throws ServletException {
            Context env = null;
            try {
                env = (Context) new InitialContext().lookup("java:comp/env");
                pool = (DataSource) env.lookup("jdbc/test");
                if (pool == null) {
                    throw new ServletException(
                            "'jdbc/test' is an unknown DataSource");            }
            } catch (NamingException ne) {
                throw new ServletException(ne);
          public Connection getConnection()
            throws SQLException, ServletException
              Connection conn = null;
              try{
             conn=pool.getConnection();
              }catch (SQLException sqle) {
                System.out.println("JDBC error:" + sqle.getMessage());
                sqle.printStackTrace();
              return conn;
          }then on every function I call it like
    private int getFound(String UNumber) throws Exception {
            Connection conn = null;
            CallableStatement calstat=null;
            ResultSet rs = null;
            try {
                conn = pool.getConnection();
                calstat = (CallableStatement) conn.prepareCall("{call DuplicatePost(?)}");
                calstat.setString(1, UNumber);
                rs = calstat.executeQuery();
                tarCount = 0;
                while (rs.next()) {
                    tarCount++;
            } catch (SQLException se) {
                System.out.println("JDBC error:" + se.getMessage());
                se.printStackTrace();
            } catch (Exception e) {
                System.out.println("other error:" + e.getMessage());
                e.printStackTrace();
            } finally {
                try {
                    if (rs != null) {
                        rs.close();
                    if (calstat != null) {
                        calstat.close();
                } catch (SQLException e) {
                    e.printStackTrace();
            } //end finally
            return tarCount;
        }// end function
    }// end

  • ResourceAllocationException/NullPointer on createConnection with Connector

    Hi,
    I am using an in house developed resource adapter/connector which I am trying to get working in weblogic 8.1 SP3.
    I get the exception below when I try to use my resource adapter. Also below is connector debug output.
    I would appreciate any idea on what is causing this null pointer in the weblogic code.
    This connector has been successfully deployed in jboss.
    I have configured a user and defined a credential for the connector.
    The resource adapter seems to deploy successfully.
    Let me know if any further info would be useful.
    Thanks
    <Jul 3, 2007 12:59:27 PM EDT> <Info> <Deployer> <BEA-149059> <Module trs of application trs is transitioning from unprepared to prepared on server myserver.>
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Constructed the connection pool : trs.rar_eis/TRSConnectionFactory:eis/TRSConnectionFactory
    <Jul 3, 2007 12:59:27 PM EDT> <Info> <Common> <BEA-000625> <The application has disabled periodic testing of free resources in pool "trs.rar_eis/TRSConnectionFactory".>
    12:59:27,481 INFO  [TscsManagedConnectionFactoryImpl] Created.
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Found a config-property for a Bean method.  configName=Password, configValue="pks" ...
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Type from config-property=java.lang.String, type from Bean method=java.lang.String
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Config value "Password" changed successfully
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Found a config-property for a Bean method.  configName=PortNumber, configValue="50305" ...
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Type from config-property=java.lang.Integer, type from Bean method=java.lang.Integer
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Config value "PortNumber" changed successfully
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Found a config-property for a Bean method.  configName=ServerName, configValue="127.0.0.1" ...
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Type from config-property=java.lang.String, type from Bean method=java.lang.String
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Config value "ServerName" changed successfully
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Found a config-property for a Bean method.  configName=UserName, configValue="pks" ...
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Type from config-property=java.lang.String, type from Bean method=java.lang.String
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Config value "UserName" changed successfully
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Initializing SecurityContext with AppName = trs, ModuleName = trs, EIS Type = <eis>, ResourceId = type=<eis>, application=trs, module=trs, eis=TRS
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Looking up credentials for initial connections
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Looking up credentials for initiating principal:  weblogic_ra_initial
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Using provided credentials for initiating principal:  weblogic_ra_initial
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Using provided credentials for initial connections.
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Adding resource principal Username: pks
    12:59:27,512 INFO  [TscsManagedConnectionFactoryImpl] Creating connection: subject Subject:
         Principal: ResourcePrincipal(userName=pks,password=pks)
         Private Credential: javax.resource.spi.security.PasswordCredential@c5389100
    request info null
    12:59:27,512 INFO  [TscsManagedConnectionFactoryImpl] allocateConnection: created request info
    12:59:27,512 INFO  [TscsManagedConnectionImpl] Creating...
    12:59:27,528 INFO  [TscsExecutor] Getting initial context...
    12:59:27,528 INFO  [EnterpriseContext] Initializing...
    12:59:27,528 INFO  [TscsExecutor] Creating ClearingSystemStateDao...
    12:59:27,544 INFO  [AbstractDao] Disabling AutoCommit...
    12:59:27,544 INFO  [AbstractDao] Invoking setter: setFetchClearingSlipsStatement
    12:59:27,544 INFO  [AbstractDao] Invoking setter: setFetchTradeStatesStatement
    12:59:27,544 INFO  [AbstractDao] Invoking setter: setAddEntryCall
    12:59:27,606 INFO  [AbstractDao] Invoking setter: setUpdateEntryStatement
    12:59:27,606 INFO  [AbstractDao] Invoking setter: setUpdateStatesStatement
    <Jul 3, 2007 12:59:27 PM EDT> <Warning> <Connector> <BEA-190032> << trs.rar_eis/TRSConnectionFactory > ResourceAllocationException of java.lang.NullPointerException on createManagedConnection.>
    <Jul 3, 2007 12:59:27 PM EDT> <Warning> <Connector> <BEA-190024> << trs.rar_eis/TRSConnectionFactory > Error making initial connections for pool. Reason: java.lang.NullPointerException>
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Failed to open initial connections:  java.lang.NullPointerException
    <Jul 3, 2007 12:59:27 PM EDT> <Info> <Deployer> <BEA-149060> <Module trs of application trs successfully transitioned from unprepared to prepared on server myserver.>
    <Jul 3, 2007 12:59:27 PM EDT> <Warning> <J2EE> <BEA-160018> <ComponentMBean: Name = junit, Type = WebAppComponentConfig - Targeted on this server but, no corresponding module found in application descriptor. The component mbean is being Ignored.>
    <Jul 3, 2007 12:59:29 PM EDT> <Info> <Deployer> <BEA-149059> <Module admindesk_bean of application onexchange is transitioning from unprepared to prepared on server myserver.>
    <Jul 3, 2007 12:59:29 PM EDT> <Warning> <JDBC> <BEA-001074> <A JDBC pool connection leak was detected. A connection leak occurs when a connection obtained from the pool was not closed explicitly by calling close() and then was disposed by the garbage collector and returned to the connection pool. The following stack trace at create shows where the leaked connection was created.  [Null exception passed, creating stack trace for offending caller]
         at weblogic.utils.StackTraceUtils.throwable2StackTrace(StackTraceUtils.java:28)
         at weblogic.jdbc.wrapper.PoolConnection.finalizeInternal(PoolConnection.java:84)
         at weblogic.jdbc.wrapper.PoolConnection_oracle_jdbc_driver_T4CConnection.finalize(Unknown Source)
         at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
         at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:83)
         at java.lang.ref.Finalizer.access$100(Finalizer.java:14)
         at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:160)
    12:59:40,650 INFO  [TscsProxy] Getting connection: Connection Spec: Host: 127.0.0.1:50305 User/Password: pks/pks
    12:59:40,650 INFO  [ConnectionFactoryImpl] Creating TRS connection from ConnectionSpec...
    12:59:40,650 INFO  [ConnectionFactoryImpl] ConnectionSpec...eis://[email protected]:50305
    [ConnectorDebug] : <ConnectionManagerImpl.allocateConnection()> called with mcf=[email protected]bdcd6cc0, cxReqInfo=eis://[email protected]:50305
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Initializing SecurityContext with AppName = trs, ModuleName = trs, EIS Type = <eis>, ResourceId = type=<eis>, application=trs, module=trs, eis=TRS
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Skipping non-JNDI Entry in context
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Skipping non-JNDI Entry in context
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Found JNDI entry "OracleDSJNDI" in wls-connector-resref context -- looking it up...
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Lookup of "OracleDSJNDI" yields: "onexPool", comparing with "eis/TRSConnectionFactory"
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Skipping non-matching JNDIName
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Skipping non-JNDI Entry in context
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Skipping non-JNDI Entry in context
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Found JNDI entry "TRSConnectionFactoryJNDI" in wls-connector-resref context -- looking it up...
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Lookup of "TRSConnectionFactoryJNDI" yields: "eis/TRSConnectionFactory", comparing with "eis/TRSConnectionFactory"
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Found matching entry with jndiName: eis/TRSConnectionFactory
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Now looking up: "TRSConnectionFactoryAuth" ...
    <Jul 3, 2007 12:59:40 PM EDT> <Info> <Connector> <BEA-190012> <Component using JNDIName: eis/TRSConnectionFactory has Application managed security.>
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Now looking up: "TRSConnectionFactorySharingScope" ...
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Establishing Security Context for Application Managed client
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Entering reserveResource( 10, weblogic.connector.common.internal.ConnectionReqInfo@1abe751 )
    12:59:40,665 INFO  [TscsProxy] execute: not requesting trades because proxy isn't started
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory>  DUMP of ConnectionPool[ on entering reserveResource ]
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory>  currCapacity = 0 numReserves = 0 numReleases = 0
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory>  DUMPING avlList #entries = 0
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory>  DUMPING unavList #entries = 0
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory>  DUMPING resvList #entries = 0
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Entering getSharedConnection()
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> *** Dump of sharedConnections On entry to getSharedConnection() ***
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Returning nullon exit from getSharedConnection()
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> entering ConnectionPool.matchResource(weblogic.connector.common.internal.ConnectionReqInfo@1abe751)
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory>  DUMP of ConnectionPool[ at start of matchResource ]
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory>  currCapacity = 0 numReserves = 0 numReleases = 0
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory>  DUMPING avlList #entries = 0
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory>  DUMPING unavList #entries = 0
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory>  DUMPING resvList #entries = 0
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Initializing SecurityContext with AppName = trs, ModuleName = trs, EIS Type = <eis>, ResourceId = type=<eis>, application=trs, module=trs, eis=TRS
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Skipping non-JNDI Entry in context
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Skipping non-JNDI Entry in context
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Found JNDI entry "OracleDSJNDI" in wls-connector-resref context -- looking it up...
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Lookup of "OracleDSJNDI" yields: "onexPool", comparing with "eis/TRSConnectionFactory"
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Skipping non-matching JNDIName
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Skipping non-JNDI Entry in context
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Skipping non-JNDI Entry in context
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Found JNDI entry "TRSConnectionFactoryJNDI" in wls-connector-resref context -- looking it up...
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Lookup of "TRSConnectionFactoryJNDI" yields: "eis/TRSConnectionFactory", comparing with "eis/TRSConnectionFactory"
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Found matching entry with jndiName: eis/TRSConnectionFactory
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Now looking up: "TRSConnectionFactoryAuth" ...
    <Jul 3, 2007 12:59:40 PM EDT> <Info> <Connector> <BEA-190012> <Component using JNDIName: eis/TRSConnectionFactory has Application managed security.>
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Now looking up: "TRSConnectionFactorySharingScope" ...
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Establishing Security Context for Application Managed client
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> There are 0 in the avlList
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory>  DUMP of ConnectionPool[ on exiting matchResource() ]
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory>  currCapacity = 0 numReserves = 0 numReleases = 0
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory>  DUMPING avlList #entries = 0
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory>  DUMPING unavList #entries = 0
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory>  DUMPING resvList #entries = 0
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> exiting ConnectionPool.matchResource() and returning null
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Initializing SecurityContext with AppName = trs, ModuleName = trs, EIS Type = <eis>, ResourceId = type=<eis>, application=trs, module=trs, eis=TRS
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Skipping non-JNDI Entry in context
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Skipping non-JNDI Entry in context
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Found JNDI entry "OracleDSJNDI" in wls-connector-resref context -- looking it up...
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Lookup of "OracleDSJNDI" yields: "onexPool", comparing with "eis/TRSConnectionFactory"
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Skipping non-matching JNDIName
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Skipping non-JNDI Entry in context
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Skipping non-JNDI Entry in context
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Found JNDI entry "TRSConnectionFactoryJNDI" in wls-connector-resref context -- looking it up...
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Lookup of "TRSConnectionFactoryJNDI" yields: "eis/TRSConnectionFactory", comparing with "eis/TRSConnectionFactory"
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Found matching entry with jndiName: eis/TRSConnectionFactory
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Now looking up: "TRSConnectionFactoryAuth" ...
    <Jul 3, 2007 12:59:40 PM EDT> <Info> <Connector> <BEA-190012> <Component using JNDIName: eis/TRSConnectionFactory has Application managed security.>
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Now looking up: "TRSConnectionFactorySharingScope" ...
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Establishing Security Context for Application Managed client
    12:59:40,681 INFO  [TscsManagedConnectionFactoryImpl] Creating connection: subject null request info eis://[email protected]:50305
    12:59:40,681 INFO  [TscsManagedConnectionFactoryImpl] allocateConnection: created credentials
    12:59:40,681 INFO  [TscsManagedConnectionFactoryImpl] implCreateManagedConnection: created subject: Subject:
         Principal: pks
         Private Credential: javax.resource.spi.security.PasswordCredential@c5389100
    12:59:40,681 INFO  [TscsManagedConnectionImpl] Creating...
    12:59:40,681 INFO  [TscsExecutor] Getting initial context...
    12:59:40,681 INFO  [EnterpriseContext] Initializing...
    12:59:40,681 INFO  [TscsExecutor] Creating ClearingSystemStateDao...
    12:59:40,962 INFO  [AbstractDao] Disabling AutoCommit...
    12:59:40,962 INFO  [AbstractDao] Invoking setter: setFetchClearingSlipsStatement
    12:59:40,962 INFO  [AbstractDao] Invoking setter: setFetchTradeStatesStatement
    12:59:40,962 INFO  [AbstractDao] Invoking setter: setAddEntryCall
    12:59:40,962 INFO  [AbstractDao] Invoking setter: setUpdateEntryStatement
    12:59:40,962 INFO  [AbstractDao] Invoking setter: setUpdateStatesStatement
    <Jul 3, 2007 12:59:41 PM EDT> <Warning> <Connector> <BEA-190032> << trs.rar_eis/TRSConnectionFactory > ResourceAllocationException of java.lang.NullPointerException on createManagedConnection.>
    12:59:41,087 WARN  [TscsProxy] Event Agent Service not available.
    12:59:41,103 ERROR [TscsProxy] Unable to connect: Failed to create managed connection:  java.lang.NullPointerException
    com.cpex.clearing.tscs.TscsException: Unable to connect: Failed to create managed connection:  java.lang.NullPointerException
         at com.cpex.clearing.tscs.TscsProxy.throwException(TscsProxy.java:1097)
         at com.cpex.clearing.tscs.TscsProxy.connect(TscsProxy.java:765)
         at com.cpex.clearing.tscs.TscsProxy.start(TscsProxy.java:225)
         at com.cpex.clearing.tscs.TscsProxy.ejbCreate(TscsProxy.java:1137)
         at com.cpex.clearing.tscs.TscsEJB_xzvejz_Impl.ejbCreate(TscsEJB_xzvejz_Impl.java:135)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at weblogic.ejb20.pool.StatelessSessionPool.createBean(StatelessSessionPool.java:172)
         at weblogic.ejb20.pool.Pool.createInitialBeans(Pool.java:254)
         at weblogic.ejb20.manager.StatelessManager.initializePool(StatelessManager.java:376)
         at weblogic.ejb20.deployer.EJBDeployer.initializePools(EJBDeployer.java:1570)
         at weblogic.ejb20.deployer.EJBDeployer.start(EJBDeployer.java:1437)
         at weblogic.ejb20.deployer.EJBModule.start(EJBModule.java:689)
         at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2106)
         at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2147)
         at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2094)
         at weblogic.management.deploy.slave.SlaveDeployer$Application.setActivation(SlaveDeployer.java:2976)
         at weblogic.management.deploy.slave.SlaveDeployer.setActivationStateForAllApplications(SlaveDeployer.java:1751)
         at weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.java:359)
         at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume(DeploymentManagerServerLifeCycleImpl.java:229)
         at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:131)
         at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:966)
         at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:361)
         at weblogic.Server.main(Server.java:32)
    Caused by: javax.resource.ResourceException: Failed to create managed connection:  java.lang.NullPointerException
         at weblogic.connector.common.internal.ConnectionFactory.createResource(ConnectionFactory.java:159)
         at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1145)
         at weblogic.common.resourcepool.ResourcePoolImpl.reserveResource(ResourcePoolImpl.java:312)
         at weblogic.common.resourcepool.ResourcePoolImpl.reserveResource(ResourcePoolImpl.java:259)
         at weblogic.connector.common.internal.ConnectionPool.reserveResource(ConnectionPool.java:509)
         at weblogic.common.resourcepool.ResourcePoolImpl.reserveResource(ResourcePoolImpl.java:253)
         at weblogic.connector.common.internal.ConnectionPoolManager.getConnection(ConnectionPoolManager.java:646)
         at weblogic.connector.common.internal.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:106)
         at com.cpex.clearing.connector.trs.ConnectionFactoryImpl.getTrsConnection(ConnectionFactoryImpl.java:72)
         at com.cpex.clearing.tscs.TscsProxy.connect(TscsProxy.java:757)
         ... 24 more
    <Jul 3, 2007 12:59:41 PM EDT> <Info> <EJB> <BEA-011062> <The following exception has occurred:
    Error creating the TscsProxy: com.cpex.clearing.tscs.TscsException: Unable to connect: Failed to create managed connection:  java.lang.NullPointerExceptionjavax.ejb.EJBException: Error creating the TscsProxy: com.cpex.clearing.tscs.TscsException: Unable to connect: Failed to create managed connection:  java.lang.NullPointerException
         at com.cpex.clearing.tscs.TscsProxy.ejbCreate(TscsProxy.java:1143)
         at com.cpex.clearing.tscs.TscsEJB_xzvejz_Impl.ejbCreate(TscsEJB_xzvejz_Impl.java:135)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at weblogic.ejb20.pool.StatelessSessionPool.createBean(StatelessSessionPool.java:172)
         at weblogic.ejb20.pool.Pool.createInitialBeans(Pool.java:254)
         at weblogic.ejb20.manager.StatelessManager.initializePool(StatelessManager.java:376)
         at weblogic.ejb20.deployer.EJBDeployer.initializePools(EJBDeployer.java:1570)
         at weblogic.ejb20.deployer.EJBDeployer.start(EJBDeployer.java:1437)
         at weblogic.ejb20.deployer.EJBModule.start(EJBModule.java:689)
         at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2106)
         at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2147)
         at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2094)
         at weblogic.management.deploy.slave.SlaveDeployer$Application.setActivation(SlaveDeployer.java:2976)
         at weblogic.management.deploy.slave.SlaveDeployer.setActivationStateForAllApplications(SlaveDeployer.java:1751)
         at weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.java:359)
         at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume(DeploymentManagerServerLifeCycleImpl.java:229)
         at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:131)
         at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:966)
         at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:361)
         at weblogic.Server.main(Server.java:32)
    Caused by: com.cpex.clearing.tscs.TscsException: Unable to connect: Failed to create managed connection:  java.lang.NullPointerException
         at com.cpex.clearing.tscs.TscsProxy.throwException(TscsProxy.java:1097)
         at com.cpex.clearing.tscs.TscsProxy.connect(TscsProxy.java:765)
         at com.cpex.clearing.tscs.TscsProxy.start(TscsProxy.java:225)
         at com.cpex.clearing.tscs.TscsProxy.ejbCreate(TscsProxy.java:1137)
         ... 22 more
    Caused by: javax.resource.ResourceException: Failed to create managed connection:  java.lang.NullPointerException
         at weblogic.connector.common.internal.ConnectionFactory.createResource(ConnectionFactory.java:159)
         at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1145)
         at weblogic.common.resourcepool.ResourcePoolImpl.reserveResource(ResourcePoolImpl.java:312)
         at weblogic.common.resourcepool.ResourcePoolImpl.reserveResource(ResourcePoolImpl.java:259)
         at weblogic.connector.common.internal.ConnectionPool.reserveResource(ConnectionPool.java:509)
         at weblogic.common.resourcepool.ResourcePoolImpl.reserveResource(ResourcePoolImpl.java:253)
         at weblogic.connector.common.internal.ConnectionPoolManager.getConnection(ConnectionPoolManager.java:646)
         at weblogic.connector.common.internal.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:106)
         at com.cpex.clearing.connector.trs.ConnectionFactoryImpl.getTrsConnection(ConnectionFactoryImpl.java:72)
         at com.cpex.clearing.tscs.TscsProxy.connect(TscsProxy.java:757)
         ... 24 more
         at weblogic.ejb20.pool.Pool.createInitialBeans(Pool.java:259)
         at weblogic.ejb20.manager.StatelessManager.initializePool(StatelessManager.java:376)
         at weblogic.ejb20.deployer.EJBDeployer.initializePools(EJBDeployer.java:1570)
         at weblogic.ejb20.deployer.EJBDeployer.start(EJBDeployer.java:1437)
         at weblogic.ejb20.deployer.EJBModule.start(EJBModule.java:689)
         at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2106)
         at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2147)
         at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2094)
         at weblogic.management.deploy.slave.SlaveDeployer$Application.setActivation(SlaveDeployer.java:2976)
         at weblogic.management.deploy.slave.SlaveDeployer.setActivationStateForAllApplications(SlaveDeployer.java:1751)
         at weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.java:359)
         at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume(DeploymentManagerServerLifeCycleImpl.java:229)
         at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:131)
         at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:966)
         at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:361)
         at weblogic.Server.main(Server.java:32)

    sandherpk wrote:
    Hi,
    I am using an in house developed resource adapter/connector which I am trying to get working in weblogic 8.1 SP3.
    I get the exception below when I try to use my resource adapter. Also below is connector debug output.
    I would appreciate any idea on what is causing this null pointer in the weblogic code.
    This connector has been successfully deployed in jboss.
    I have configured a user and defined a credential for the connector.
    The resource adapter seems to deploy successfully.
    Let me know if any further info would be useful.
    Thanks Hi. The connector code is reporting the plain message
    of a NullPointerException suffered elsewhere. Here is
    a debug patch. Please edit your start-weblogic script
    to find where the classpath is constructed for the Java
    call for the server. Just befor the server is started,
    change the CLASSPATH variable to list this debug jar in
    front of all official weblogic stuff, and repeat the
    problem. The connector error messages will now include
    a full stacktrace of an exception that will get us
    closer to the actual NPE. Show me the log entries
    for the 190032 and 190024 messages.
    Does your resource adaptor use WebLogic pools
    for anything? If so, show me the pool definitions.
    Joe
    >
    <Jul 3, 2007 12:59:27 PM EDT> <Info> <Deployer> <BEA-149059> <Module trs of application trs is transitioning from unprepared to prepared on server myserver.>
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Constructed the connection pool : trs.rar_eis/TRSConnectionFactory:eis/TRSConnectionFactory
    <Jul 3, 2007 12:59:27 PM EDT> <Info> <Common> <BEA-000625> <The application has disabled periodic testing of free resources in pool "trs.rar_eis/TRSConnectionFactory".>
    12:59:27,481 INFO [TscsManagedConnectionFactoryImpl] Created.
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Found a config-property for a Bean method. configName=Password, configValue="pks" ...
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Type from config-property=java.lang.String, type from Bean method=java.lang.String
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Config value "Password" changed successfully
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Found a config-property for a Bean method. configName=PortNumber, configValue="50305" ...
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Type from config-property=java.lang.Integer, type from Bean method=java.lang.Integer
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Config value "PortNumber" changed successfully
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Found a config-property for a Bean method. configName=ServerName, configValue="127.0.0.1" ...
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Type from config-property=java.lang.String, type from Bean method=java.lang.String
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Config value "ServerName" changed successfully
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Found a config-property for a Bean method. configName=UserName, configValue="pks" ...
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Type from config-property=java.lang.String, type from Bean method=java.lang.String
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Config value "UserName" changed successfully
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Initializing SecurityContext with AppName = trs, ModuleName = trs, EIS Type = <eis>, ResourceId = type=<eis>, application=trs, module=trs, eis=TRS
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Looking up credentials for initial connections
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Looking up credentials for initiating principal: weblogic_ra_initial
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Using provided credentials for initiating principal: weblogic_ra_initial
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Using provided credentials for initial connections.
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Adding resource principal Username: pks
    12:59:27,512 INFO [TscsManagedConnectionFactoryImpl] Creating connection: subject Subject:
         Principal: ResourcePrincipal(userName=pks,password=pks)
         Private Credential: javax.resource.spi.security.PasswordCredential@c5389100
    request info null
    12:59:27,512 INFO [TscsManagedConnectionFactoryImpl] allocateConnection: created request info
    12:59:27,512 INFO [TscsManagedConnectionImpl] Creating...
    12:59:27,528 INFO [TscsExecutor] Getting initial context...
    12:59:27,528 INFO [EnterpriseContext] Initializing...
    12:59:27,528 INFO [TscsExecutor] Creating ClearingSystemStateDao...
    12:59:27,544 INFO [AbstractDao] Disabling AutoCommit...
    12:59:27,544 INFO [AbstractDao] Invoking setter: setFetchClearingSlipsStatement
    12:59:27,544 INFO [AbstractDao] Invoking setter: setFetchTradeStatesStatement
    12:59:27,544 INFO [AbstractDao] Invoking setter: setAddEntryCall
    12:59:27,606 INFO [AbstractDao] Invoking setter: setUpdateEntryStatement
    12:59:27,606 INFO [AbstractDao] Invoking setter: setUpdateStatesStatement
    <Jul 3, 2007 12:59:27 PM EDT> <Warning> <Connector> <BEA-190032> << trs.rar_eis/TRSConnectionFactory > ResourceAllocationException of java.lang.NullPointerException on createManagedConnection.>
    <Jul 3, 2007 12:59:27 PM EDT> <Warning> <Connector> <BEA-190024> << trs.rar_eis/TRSConnectionFactory > Error making initial connections for pool. Reason: java.lang.NullPointerException>
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Failed to open initial connections: java.lang.NullPointerException
    <Jul 3, 2007 12:59:27 PM EDT> <Info> <Deployer> <BEA-149060> <Module trs of application trs successfully transitioned from unprepared to prepared on server myserver.>
    <Jul 3, 2007 12:59:27 PM EDT> <Warning> <J2EE> <BEA-160018> <ComponentMBean: Name = junit, Type = WebAppComponentConfig - Targeted on this server but, no corresponding module found in application descriptor. The component mbean is being Ignored.>
    <Jul 3, 2007 12:59:29 PM EDT> <Info> <Deployer> <BEA-149059> <Module admindesk_bean of application onexchange is transitioning from unprepared to prepared on server myserver.>
    <Jul 3, 2007 12:59:29 PM EDT> <Warning> <JDBC> <BEA-001074> <A JDBC pool connection leak was detected. A connection leak occurs when a connection obtained from the pool was not closed explicitly by calling close() and then was disposed by the garbage collector and returned to the connection pool. The following stack trace at create shows where the leaked connection was created. [Null exception passed, creating stack trace for offending caller]
         at weblogic.utils.StackTraceUtils.throwable2StackTrace(StackTraceUtils.java:28)
         at weblogic.jdbc.wrapper.PoolConnection.finalizeInternal(PoolConnection.java:84)
         at weblogic.jdbc.wrapper.PoolConnection_oracle_jdbc_driver_T4CConnection.finalize(Unknown Source)
         at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
         at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:83)
         at java.lang.ref.Finalizer.access$100(Finalizer.java:14)
         at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:160)
    12:59:40,650 INFO [TscsProxy] Getting connection: Connection Spec: Host: 127.0.0.1:50305 User/Password: pks/pks
    12:59:40,650 INFO [ConnectionFactoryImpl] Creating TRS connection from ConnectionSpec...
    12:59:40,650 INFO [ConnectionFactoryImpl] ConnectionSpec...eis://[email protected]:50305
    [ConnectorDebug] : <ConnectionManagerImpl.allocateConnection()> called with mcf=[email protected]bdcd6cc0, cxReqInfo=eis://[email protected]:50305
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Initializing SecurityContext with AppName = trs, ModuleName = trs, EIS Type = <eis>, ResourceId = type=<eis>, application=trs, module=trs, eis=TRS
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Skipping non-JNDI Entry in context
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Skipping non-JNDI Entry in context
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Found JNDI entry "OracleDSJNDI" in wls-connector-resref context -- looking it up...
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Lookup of "OracleDSJNDI" yields: "onexPool", comparing with "eis/TRSConnectionFactory"
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Skipping non-matching JNDIName
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Skipping non-JNDI Entry in context
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Skipping non-JNDI Entry in context
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Found JNDI entry "TRSConnectionFactoryJNDI" in wls-connector-resref context -- looking it up...
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Lookup of "TRSConnectionFactoryJNDI" yields: "eis/TRSConnectionFactory", comparing with "eis/TRSConnectionFactory"
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Found matching entry with jndiName: eis/TRSConnectionFactory
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Now looking up: "TRSConnectionFactoryAuth" ...
    <Jul 3, 2007 12:59:40 PM EDT> <Info> <Connector> <BEA-190012> <Component using JNDIName: eis/TRSConnectionFactory has Application managed security.>
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Now looking up: "TRSConnectionFactorySharingScope" ...
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Establishing Security Context for Application Managed client
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Entering reserveResource( 10, weblogic.connector.common.internal.ConnectionReqInfo@1abe751 )
    12:59:40,665 INFO [TscsProxy] execute: not requesting trades because proxy isn't started
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> DUMP of ConnectionPool[ on entering reserveResource ]
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> currCapacity = 0 numReserves = 0 numReleases = 0
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> DUMPING avlList #entries = 0
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> DUMPING unavList #entries = 0
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> DUMPING resvList #entries = 0
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Entering getSharedConnection()
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> *** Dump of sharedConnections On entry to getSharedConnection() ***
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Returning nullon exit from getSharedConnection()
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> entering ConnectionPool.matchResource(weblogic.connector.common.internal.ConnectionReqInfo@1abe751)
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> DUMP of ConnectionPool[ at start of matchResource ]
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> currCapacity = 0 numReserves = 0 numReleases = 0
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> DUMPING avlList #entries = 0
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> DUMPING unavList #entries = 0
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> DUMPING resvList #entries = 0
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Initializing SecurityContext with AppName = trs, ModuleName = trs, EIS Type = <eis>, ResourceId = type=<eis>, application=trs, module=trs, eis=TRS
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Skipping non-JNDI Entry in context
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Skipping non-JNDI Entry in context
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Found JNDI entry "OracleDSJNDI" in wls-connector-resref context -- looking it up...
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Lookup of "OracleDSJNDI" yields: "onexPool", comparing with "eis/TRSConnectionFactory"
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Skipping non-matching JNDIName
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Skipping non-JNDI Entry in context
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Skipping non-JNDI Entry in context
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Found JNDI entry "TRSConnectionFactoryJNDI" in wls-connector-resref context -- looking it up...
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Lookup of "TRSConnectionFactoryJNDI" yields: "eis/TRSConnectionFactory", comparing with "eis/TRSConnectionFactory"
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Found matching entry with jndiName: eis/TRSConnectionFactory
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Now looking up: "TRSConnectionFactoryAuth" ...
    <Jul 3, 2007 12:59:40 PM EDT> <Info> <Connector> <BEA-190012> <Component using JNDIName: eis/TRSConnectionFactory has Application managed security.>
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Now looking up: "TRSConnectionFactorySharingScope" ...
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Establishing Security Context for Application Managed client
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> There are 0 in the avlList
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> DUMP of ConnectionPool[ on exiting matchResource() ]
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> currCapacity = 0 numReserves = 0 numReleases = 0
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> DUMPING avlList #entries = 0
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> DUMPING unavList #entries = 0
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> DUMPING resvList #entries = 0
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> exiting ConnectionPool.matchResource() and returning null
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Initializing SecurityContext with AppName = trs, ModuleName = trs, EIS Type = <eis>, ResourceId = type=<eis>, application=trs, module=trs, eis=TRS
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Skipping non-JNDI Entry in context
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Skipping non-JNDI Entry in context
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Found JNDI entry "OracleDSJNDI" in wls-connector-resref context -- looking it up...
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Lookup of "OracleDSJNDI" yields: "onexPool", comparing with "eis/TRSConnectionFactory"
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Skipping non-matching JNDIName
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Skipping non-JNDI Entry in context
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Skipping non-JNDI Entry in context
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Found JNDI entry "TRSConnectionFactoryJNDI" in wls-connector-resref context -- looking it up...
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Lookup of "TRSConnectionFactoryJNDI" yields: "eis/TRSConnectionFactory", comparing with "eis/TRSConnectionFactory"
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Found matching entry with jndiName: eis/TRSConnectionFactory
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Now looking up: "TRSConnectionFactoryAuth" ...
    <Jul 3, 2007 12:59:40 PM EDT> <Info> <Connector> <BEA-190012> <Component using JNDIName: eis/TRSConnectionFactory has Application managed security.>
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Now looking up: "TRSConnectionFactorySharingScope" ...
    [ConnectorDebug] : <trs.rar_eis/TRSConnectionFactory> Establishing Security Context for Application Managed client
    12:59:40,681 INFO [TscsManagedConnectionFactoryImpl] Creating connection: subject null request info eis://[email protected]:50305
    12:59:40,681 INFO [TscsManagedConnectionFactoryImpl] allocateConnection: created credentials
    12:59:40,681 INFO [TscsManagedConnectionFactoryImpl] implCreateManagedConnection: created subject: Subject:
         Principal: pks
         Private Credential: javax.resource.spi.security.PasswordCredential@c5389100
    12:59:40,681 INFO [TscsManagedConnectionImpl] Creating...
    12:59:40,681 INFO [TscsExecutor] Getting initial context...
    12:59:40,681 INFO [EnterpriseContext] Initializing...
    12:59:40,681 INFO [TscsExecutor] Creating ClearingSystemStateDao...
    12:59:40,962 INFO [AbstractDao] Disabling AutoCommit...
    12:59:40,962 INFO [AbstractDao] Invoking setter: setFetchClearingSlipsStatement
    12:59:40,962 INFO [AbstractDao] Invoking setter: setFetchTradeStatesStatement
    12:59:40,962 INFO [AbstractDao] Invoking setter: setAddEntryCall
    12:59:40,962 INFO [AbstractDao] Invoking setter: setUpdateEntryStatement
    12:59:40,962 INFO [AbstractDao] Invoking setter: setUpdateStatesStatement
    <Jul 3, 2007 12:59:41 PM EDT> <Warning> <Connector> <BEA-190032> << trs.rar_eis/TRSConnectionFactory > ResourceAllocationException of java.lang.NullPointerException on createManagedConnection.>
    12:59:41,087 WARN [TscsProxy] Event Agent Service not available.
    12:59:41,103 ERROR [TscsProxy] Unable to connect: Failed to create managed connection: java.lang.NullPointerException
    com.cpex.clearing.tscs.TscsException: Unable to connect: Failed to create managed connection: java.lang.NullPointerException
         at com.cpex.clearing.tscs.TscsProxy.throwException(TscsProxy.java:1097)
         at com.cpex.clearing.tscs.TscsProxy.connect(TscsProxy.java:765)
         at com.cpex.clearing.tscs.TscsProxy.start(TscsProxy.java:225)
         at com.cpex.clearing.tscs.TscsProxy.ejbCreate(TscsProxy.java:1137)
         at com.cpex.clearing.tscs.TscsEJB_xzvejz_Impl.ejbCreate(TscsEJB_xzvejz_Impl.java:135)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at weblogic.ejb20.pool.StatelessSessionPool.createBean(StatelessSessionPool.java:172)
         at weblogic.ejb20.pool.Pool.createInitialBeans(Pool.java:254)
         at weblogic.ejb20.manager.StatelessManager.initializePool(StatelessManager.java:376)
         at weblogic.ejb20.deployer.EJBDeployer.initializePools(EJBDeployer.java:1570)
         at weblogic.ejb20.deployer.EJBDeployer.start(EJBDeployer.java:1437)
         at weblogic.ejb20.deployer.EJBModule.start(EJBModule.java:689)
         at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2106)
         at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2147)
         at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2094)
         at weblogic.management.deploy.slave.SlaveDeployer$Application.setActivation(SlaveDeployer.java:2976)
         at weblogic.management.deploy.slave.SlaveDeployer.setActivationStateForAllApplications(SlaveDeployer.java:1751)
         at weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.java:359)
         at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume(DeploymentManagerServerLifeCycleImpl.java:229)
         at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:131)
         at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:966)
         at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:361)
         at weblogic.Server.main(Server.java:32)
    Caused by: javax.resource.ResourceException: Failed to create managed connection: java.lang.NullPointerException
         at weblogic.connector.common.internal.ConnectionFactory.createResource(ConnectionFactory.java:159)
         at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1145)
         at weblogic.common.resourcepool.ResourcePoolImpl.reserveResource(ResourcePoolImpl.java:312)
         at weblogic.common.resourcepool.ResourcePoolImpl.reserveResource(ResourcePoolImpl.java:259)
         at weblogic.connector.common.internal.ConnectionPool.reserveResource(ConnectionPool.java:509)
         at weblogic.common.resourcepool.ResourcePoolImpl.reserveResource(ResourcePoolImpl.java:253)
         at weblogic.connector.common.internal.ConnectionPoolManager.getConnection(ConnectionPoolManager.java:646)
         at weblogic.connector.common.internal.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:106)
         at com.cpex.clearing.connector.trs.ConnectionFactoryImpl.getTrsConnection(ConnectionFactoryImpl.java:72)
         at com.cpex.clearing.tscs.TscsProxy.connect(TscsProxy.java:757)
         ... 24 more
    <Jul 3, 2007 12:59:41 PM EDT> <Info> <EJB> <BEA-011062> <The following exception has occurred:
    Error creating the TscsProxy: com.cpex.clearing.tscs.TscsException: Unable to connect: Failed to create managed connection: java.lang.NullPointerExceptionjavax.ejb.EJBException: Error creating the TscsProxy: com.cpex.clearing.tscs.TscsException: Unable to connect: Failed to create managed connection: java.lang.NullPointerException
         at com.cpex.clearing.tscs.TscsProxy.ejbCreate(TscsProxy.java:1143)
         at com.cpex.clearing.tscs.TscsEJB_xzvejz_Impl.ejbCreate(TscsEJB_xzvejz_Impl.java:135)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at weblogic.ejb20.pool.StatelessSessionPool.createBean(StatelessSessionPool.java:172)
         at weblogic.ejb20.pool.Pool.createInitialBeans(Pool.java:254)
         at weblogic.ejb20.manager.StatelessManager.initializePool(StatelessManager.java:376)
         at weblogic.ejb20.deployer.EJBDeployer.initializePools(EJBDeployer.java:1570)
         at weblogic.ejb20.deployer.EJBDeployer.start(EJBDeployer.java:1437)
         at weblogic.ejb20.deployer.EJBModule.start(EJBModule.java:689)
         at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2106)
         at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2147)
         at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2094)
         at weblogic.management.deploy.slave.SlaveDeployer$Application.setActivation(SlaveDeployer.java:2976)
         at weblogic.management.deploy.slave.SlaveDeployer.setActivationStateForAllApplications(SlaveDeployer.java:1751)
         at weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.java:359)
         at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume(DeploymentManagerServerLifeCycleImpl.java:229)
         at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:131)
         at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:966)
         at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:361)
         at weblogic.Server.main(Server.java:32)
    Caused by: com.cpex.clearing.tscs.TscsException: Unable to connect: Failed to create managed connection: java.lang.NullPointerException
         at com.cpex.clearing.tscs.TscsProxy.throwException(TscsProxy.java:1097)
         at com.cpex.clearing.tscs.TscsProxy.connect(TscsProxy.java:765)
         at com.cpex.clearing.tscs.TscsProxy.start(TscsProxy.java:225)
         at com.cpex.clearing.tscs.TscsProxy.ejbCreate(TscsProxy.java:1137)
         ... 22 more
    Caused by: javax.resource.ResourceException: Failed to create managed connection: java.lang.NullPointerException
         at weblogic.connector.common.internal.ConnectionFactory.createResource(ConnectionFactory.java:159)
         at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1145)
         at weblogic.common.resourcepool.ResourcePoolImpl.reserveResource(ResourcePoolImpl.java:312)
         at weblogic.common.resourcepool.ResourcePoolImpl.reserveResource(ResourcePoolImpl.java:259)
         at weblogic.connector.common.internal.ConnectionPool.reserveResource(ConnectionPool.java:509)
         at weblogic.common.resourcepool.ResourcePoolImpl.reserveResource(ResourcePoolImpl.java:253)
         at weblogic.connector.common.internal.ConnectionPoolManager.getConnection(ConnectionPoolManager.java:646)
         at weblogic.connector.common.internal.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:106)
         at com.cpex.clearing.connector.trs.ConnectionFactoryImpl.getTrsConnection(ConnectionFactoryImpl.java:72)
         at com.cpex.clearing.tscs.TscsProxy.connect(TscsProxy.java:757)
         ... 24 more
         at weblogic.ejb20.pool.Pool.createInitialBeans(Pool.java:259)
         at weblogic.ejb20.manager.StatelessManager.initializePool(StatelessManager.java:376)
         at weblogic.ejb20.deployer.EJBDeployer.initializePools(EJBDeployer.java:1570)
         at weblogic.ejb20.deployer.EJBDeployer.start(EJBDeployer.java:1437)
         at weblogic.ejb20.deployer.EJBModule.start(EJBModule.java:689)
         at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2106)
         at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2147)
         at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2094)
         at weblogic.management.deploy.slave.SlaveDeployer$Application.setActivation(SlaveDeployer.java:2976)
         at weblogic.management.deploy.slave.SlaveDeployer.setActivationStateForAllApplications(SlaveDeployer.java:1751)
         at weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.java:359)
         at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume(DeploymentManagerServerLifeCycleImpl.java:229)
         at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:131)
         at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:966)
         at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:361)
         at weblogic.Server.main(Server.java:32)

  • Data Federator Connection to R3 - java.lang.NullPointerException

    Hi.
    We are trying to add a SAP R3 DataSource in Data Federator XI 3.0 SP2.
    Test Connection gives us the following message: "The connection was established but there is no table for the given connection parameters", what it seems to be ok according to the SAP doc.
    However, when we try to get a list of the Functions or Infosets in the SAP system, an error comes because of a "java.lang.NullPointerException". Checking the application log we get the following:
    2010/03/30 12:21:27.059|<=|||0|26537104| |||||||||||||||"[LeSelect.Api.LSStatementImpl] - [Execution Thread 4]Executing query: CALL executeConnectorCommand '/TEST//TEST/user_bla/sources/draft/R3SYS', 'GET_FUNCTION_LIST * * 200'"
    2010/03/30 12:21:27.074|>=|E||0|26537104| |||||||||||||||"[LeSelect.Core.n] - [Execution Thread 4]Bad Wrapper Error:
    java.lang.NullPointerException
         at LeSelect.Wrappers.SAPR3.H.F(y:343)
         at LeSelect.Wrappers.SAPR3.H.executeCommand(y:285)
         at LeSelect.Core.B.D.R(y:151)
         at LeSelect.Core.QueryEngine.H.p.G(y:131)
         at LeSelect.Core.QueryEngine.H.p.A(y:105)
         at LeSelect.Core.QueryEngine.B.J.A(y:72)
         at LeSelect.Core.QueryEngine.Executor.y.A(y:227)
         at LeSelect.Core.QueryEngine.m.A(y:284)
         at LeSelect.Api.LSStatementImpl.lsExecuteQuery(y:314)
         at LeSelect.B.E.D.V(y:935)
         at LeSelect.B.E.K.B(y:105)
         at LeSelect.B.E.G$_A.run(y:691)"
    We registered the callback program and did all of the steps indicated for the installation, also checked the possible sources of the error according to OSS Note 1278491.
    Any idea how to solve this? Thanks.

    Hello, we have the similar problem: while connecting from Data Federator to SAP ERP we get the following error - "Wrapper /ZTEST/sources/ZTEST reported an exception which is not a WrapperException: java.lang.NullPointerException: null"
    It's necessary to install "SAP BusinessObjects Data Federator Infoset, SAP Query and ABAP Functions Connector Prototype"
    SAP BusinessObjects Web Intelligence Reporting for SAP ERP
    for connection to SAP ERP.
    Are there any ideas? Thanks

Maybe you are looking for

  • Is there a way to excerpt all texts from the captivate course?

    Hi all, can someone tell me whether there is a way to excerpt all texts from a captivate file? We need to convert all the texts on the screen to audio and insert the audio into each slide... Thank you for any inputs.

  • Audio sync issues in FCP X

    Here is the scenario: The video shoot is an interview format. I recorded my audio externally using the Zoom H6. The sample rate was set at 48kHz, 24bit. The camera used to shoot the video was a Canon 60D. It appears that it recorded its audio from th

  • Export Import 9i

    Hi My exp parfile looks like the following and I did export as user "abc" buffer=3145728 direct=y compress=n consistent=y constraints=y feedback=1000000 file=a.dmp grants=y indexes=y log=a.log owner=abc recordlength=65535 rows=n And import parfile lo

  • Virtual PC 7.0 for Mac

    I wasn't sure where to put this topic. I was wanting to know what the difference was between the Standalone version of the virtual pc software and the Virtual PC that has a certain version of windows in it like Windows Professional and Windows Home e

  • Nowhere can input reason code in function BAPI_ACC_DOCUMENT_POST

    Hi..... Field Reason code is a required field for a G/L account,But it seems that nowhere can input it in function BAPI_ACC_DOCUMENT_POST's table parameter ACCOUNTGL.Thus I can use this function to create Accounting Document .....How can I solve it ?