NullPointerException @ ConnectionPoolManager.getConnection
I wrote a simple client application to get connection( from connectionFactory)
in Managed-Scanerio, it fails with Null Pointer Exception in side
the Application Server.
Any help appreciated?
============= client-side trace ===============================
ConnectionManager :weblogic.connector.common.internal.ConnectionManagerI
mpl@f0ab22ee
Exception in thread "main" java.lang.NullPointerException
at weblogic.connector.common.internal.ConnectionPoolManager.getConnectio
n(ConnectionPoolManager.java:130)
at weblogic.connector.common.internal.ConnectionManagerImpl.allocateConn
ection(ConnectionManagerImpl.java:20)
at com.b2berp.ra.sapr3.connection.ConnectionFactoryImpl.getConnection(Co
nnectionFactoryImpl.java:95)
at com.b2berp.ra.tests.WLConnectionManagerTest.main(WLConnectionManagerT
est.java:73)
================================================================
Looks like, you are passing a null MangedConnectionFactory to the
allocateConnection()
method.
prasen
mahmood wrote:
>
> I wrote a simple client application to get connection( from connectionFactory)
> in Managed-Scanerio, it fails with Null Pointer Exception in side
> the Application Server.
>
> Any help appreciated?
>
> ============= client-side trace ===============================
> ConnectionManager :weblogic.connector.common.internal.ConnectionManagerI
> mpl@f0ab22ee
> Exception in thread "main" java.lang.NullPointerException
> at weblogic.connector.common.internal.ConnectionPoolManager.getConnectio
> n(ConnectionPoolManager.java:130)
> at weblogic.connector.common.internal.ConnectionManagerImpl.allocateConn
> ection(ConnectionManagerImpl.java:20)
> at com.b2berp.ra.sapr3.connection.ConnectionFactoryImpl.getConnection(Co
> nnectionFactoryImpl.java:95)
> at com.b2berp.ra.tests.WLConnectionManagerTest.main(WLConnectionManagerT
> est.java:73)
> ================================================================
Similar Messages
-
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 -
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) -
Unable to get the connections due to access denied error.
Hi All,
I am trying to use my adapter in WebLogic Server 7.0 and get the following exception
while requesting for a connection by doing getConnection. The ex is as follows -
<May 23, 2002 11:08:22 AM PDT> <Error> <Connector> <190006> <Error granting connection
request.>
failed to get the connection with ex Access to resource adapterXAhas been denied
ex in createAccount
java.rmi.RemoteException: Access to resource adapterXAhas been denied; nested exception
is:
javax.resource.spi.SecurityException: Access to resource adapterXAhas been
denied
javax.resource.spi.SecurityException: Access to resource adapterXAhas been denied
at weblogic.connector.common.internal.ConnectionPool.getConnection(ConnectionPool.java:1637)
at weblogic.connector.common.internal.ConnectionPoolManager.getConnection(ConnectionPoolManager.java:163)
at weblogic.connector.common.internal.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:25)
at com.versant.connector.cci.ConnectionFactoryImpl.getConnection(ConnectionFactoryImpl.java:122)
at examples.xacase2.ManagerBean.getConnection(ManagerBean.java:247)
at examples.xacase2.ManagerBean.createAccount(ManagerBean.java:84)
at examples.xacase2.ManagerBean_ixu7g_EOImpl.createAccount(ManagerBean_ixu7g_EOImpl.java:150)
at examples.xacase2.ManagerBean_ixu7g_EOImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:346)
at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:114)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:300)
at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:762)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:295)
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)
I have successfully been using my adapter with WebLogic6.1sp2.
Thanks in advance for any pointers.
Hi Monica,
There is a patch available for this known problem. Please contact BEA support and
ask for patch CR075892_70.jar for WLS 7.0.
Thanks!
Deb
"Monica" <[email protected]> wrote:
>
>Hi All,
> I am trying to use my adapter in WebLogic Server 7.0 and get the following
>exception
>while requesting for a connection by doing getConnection. The ex is as follows
>-
>
> <May 23, 2002 11:08:22 AM PDT> <Error> <Connector> <190006> <Error granting
>connection
>request.>
>failed to get the connection with ex Access to resource adapterXAhas been
>denied
>ex in createAccount
>java.rmi.RemoteException: Access to resource adapterXAhas been denied; nested
>exception
>is:
> javax.resource.spi.SecurityException: Access to resource adapterXAhas
>been
>denied
>javax.resource.spi.SecurityException: Access to resource adapterXAhas been
>denied
> at weblogic.connector.common.internal.ConnectionPool.getConnection(ConnectionPool.java:1637)
> at weblogic.connector.common.internal.ConnectionPoolManager.getConnection(ConnectionPoolManager.java:163)
> at weblogic.connector.common.internal.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:25)
> at com.versant.connector.cci.ConnectionFactoryImpl.getConnection(ConnectionFactoryImpl.java:122)
> at examples.xacase2.ManagerBean.getConnection(ManagerBean.java:247)
> at examples.xacase2.ManagerBean.createAccount(ManagerBean.java:84)
> at examples.xacase2.ManagerBean_ixu7g_EOImpl.createAccount(ManagerBean_ixu7g_EOImpl.java:150)
> at examples.xacase2.ManagerBean_ixu7g_EOImpl_WLSkel.invoke(Unknown
>Source)
> at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:346)
> at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:114)
> at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:300)
> at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:762)
> at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:295)
> 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)
>
>
>I have successfully been using my adapter with WebLogic6.1sp2.
>
>Thanks in advance for any pointers.
>
-
Bridge JMS on SSL Mutual authenticathed Servers
Hi all,
I'm facing a problem on bridging JMS message with WLS bridge on SSL Mutual authenticathed Servers
I configured two WLS (8.1 SP6), say "ALICE" and "BOB", with SSL listen port and I enabled "Two Way Client Cert Behavior" with "Client Certs Requested and Enforced" for both servers.
I configured a WLS bridge on ALICE with source destination on ALICE itself and target destination on BOB.
When I start this bridge it cannot connect to BOB. I enabled SSL debug and I found that ALICE didn't send CLIENT certificate to BOB.
Here is BOB's log:
<22-mag-2008 14.56.10 CEST> <Debug> <TLS> <000000> <Filtering JSSE SSLSocket>
<22-mag-2008 14.56.10 CEST> <Debug> <TLS> <000000> <SSLIOContextTable.addContext(ctx): 32975481>
<22-mag-2008 14.56.10 CEST> <Debug> <TLS> <000000> <SSLSocket will be Muxing>
<22-mag-2008 14.56.10 CEST> <Debug> <TLS> <000000> <SSLFilter.isActivated: false>
<22-mag-2008 14.56.10 CEST> <Debug> <TLS> <000000> <isMuxerActivated: false>
<22-mag-2008 14.56.10 CEST> <Debug> <TLS> <000000> <SSLFilter.isActivated: false>
<22-mag-2008 14.56.12 CEST> <Debug> <TLS> <000000> <7192496 SSL Version 2 with no padding>
<22-mag-2008 14.56.12 CEST> <Debug> <TLS> <000000> <21231495 SSL3/TLS MAC>
<22-mag-2008 14.56.12 CEST> <Debug> <TLS> <000000> <21231495 received SSL_20_RECORD>
<22-mag-2008 14.56.12 CEST> <Debug> <TLS> <000000> <HANDSHAKEMESSAGE: ClientHelloV2>
<22-mag-2008 14.56.12 CEST> <Debug> <TLS> <000000> <write HANDSHAKE, offset = 0, length = 58>
<22-mag-2008 14.56.12 CEST> <Debug> <TLS> <000000> <write HANDSHAKE, offset = 0, length = 566>
<22-mag-2008 14.56.12 CEST> <Debug> <TLS> <000000> <write HANDSHAKE, offset = 0, length = 260>
<22-mag-2008 14.56.12 CEST> <Debug> <TLS> <000000> <write HANDSHAKE, offset = 0, length = 4>
<22-mag-2008 14.56.12 CEST> <Debug> <TLS> <000000> <SSLFilter.isActivated: false>
<22-mag-2008 14.56.12 CEST> <Debug> <TLS> <000000> <isMuxerActivated: false>
<22-mag-2008 14.56.12 CEST> <Debug> <TLS> <000000> <SSLFilter.isActivated: false>
<22-mag-2008 14.56.13 CEST> <Debug> <TLS> <000000> <21231495 SSL3/TLS MAC>
<22-mag-2008 14.56.13 CEST> <Debug> <TLS> <000000> <21231495 received HANDSHAKE>
<22-mag-2008 14.56.13 CEST> <Debug> <TLS> <000000> <HANDSHAKEMESSAGE: Certificate>
<22-mag-2008 14.56.13 CEST> <Debug> <TLS> <000000> <validationCallback: validateErr = 0>
<22-mag-2008 14.56.13 CEST> <Debug> <TLS> <000000> <Required peer certificates not supplied by peer>
<22-mag-2008 14.56.13 CEST> <Warning> <Security> <BEA-090508> <Certificate chain received from localhost - 127.0.0.1 was incomplete.>
<22-mag-2008 14.56.13 CEST> <Debug> <TLS> <000000> <Validation error = 4>
<22-mag-2008 14.56.13 CEST> <Debug> <TLS> <000000> <Certificate chain is incomplete>
<22-mag-2008 14.56.13 CEST> <Debug> <TLS> <000000> <User defined JSSE trustmanagers not allowed to override>
<22-mag-2008 14.56.13 CEST> <Debug> <TLS> <000000> <SSLTrustValidator returns: 68>
<22-mag-2008 14.56.13 CEST> <Debug> <TLS> <000000> <Trust failure (68): CERT_CHAIN_INCOMPLETE>
<22-mag-2008 14.56.13 CEST> <Debug> <TLS> <000000> <NEW ALERT with Severity: FATAL, Type: 40
and here is ALICE's log:
<22-mag-2008 15.28.01 CEST> <Warning> <Connector> <BEA-190032> << Weblogic Messaging Bridge Adapter (XA)_eis/jms/WLSConnectionFactoryJNDIXA > ResourceAllocationException of javax.resource.ResourceException: ConnectionFactory: failed to get
initial context (InitialContextFactory =weblogic.jndi.WLInitialContextFactory, url = t3s://localhost:7002, user name = jmsbob) on createManagedConnection.>
<22-mag-2008 15.28.01 CEST> <Info> <MessagingBridge> <BEA-200043> <Bridge "AliceToBobMessagingBridge" failed to connect to the target destination and will try again in 25 seconds. (java.lang.Exception: javax.resource.ResourceException: Conn
ectionFactory: failed to get initial context (InitialContextFactory =weblogic.jndi.WLInitialContextFactory, url = t3s://localhost:7002, user name = jmsbob)
at weblogic.jms.adapter.JMSBaseConnection.throwResourceException(JMSBaseConnection.java:1386)
at weblogic.jms.adapter.JMSBaseConnection.throwResourceException(JMSBaseConnection.java:1366)
at weblogic.jms.adapter.JMSBaseConnection.startInternal(JMSBaseConnection.java:345)
at weblogic.jms.adapter.JMSBaseConnection.start(JMSBaseConnection.java:219)
at weblogic.jms.adapter.JMSManagedConnectionFactory.createManagedConnection(JMSManagedConnectionFactory.java:188)
at weblogic.connector.common.internal.ConnectionFactory.createResource(ConnectionFactory.java:127)
at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1193)
at weblogic.common.resourcepool.ResourcePoolImpl.reserveResource(ResourcePoolImpl.java:345)
at weblogic.common.resourcepool.ResourcePoolImpl.reserveResource(ResourcePoolImpl.java:286)
at weblogic.connector.common.internal.ConnectionPool.reserveResource(ConnectionPool.java:567)
at weblogic.common.resourcepool.ResourcePoolImpl.reserveResource(ResourcePoolImpl.java:280)
at weblogic.connector.common.internal.ConnectionPoolManager.getConnection(ConnectionPoolManager.java:650)
at weblogic.connector.common.internal.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:106)
at weblogic.jms.adapter.JMSBaseConnectionFactory.getTargetConnection(JMSBaseConnectionFactory.java:120)
at weblogic.jms.bridge.internal.MessagingBridge.getConnections(MessagingBridge.java:809)
at weblogic.jms.bridge.internal.MessagingBridge.execute(MessagingBridge.java:991)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
-------------- Linked Exception ------------
javax.naming.CommunicationException [Root exception is java.net.ConnectException: t3s://localhost:7002: Destination unreachable; nested exception is:
javax.net.ssl.SSLHandshakeException: [Security:090497]HANDSHAKE_FAILURE alert received from localhost - 127.0.0.1. Check both sides of the SSL configuration for mismatches in supported ciphers, supported protocol versions, trusted C
As, and hostname verification settings.; No available router to destination]
at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:47)
at weblogic.jndi.WLInitialContextFactoryDelegate.toNamingException(WLInitialContextFactoryDelegate.java:651)
at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:320)
at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:253)
at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:135)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:662)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
at javax.naming.InitialContext.init(InitialContext.java:219)
at javax.naming.InitialContext.<init>(InitialContext.java:195)
at weblogic.jms.adapter.JMSBaseConnection.getInitialContext(JMSBaseConnection.java:1967)
at weblogic.jms.adapter.JMSBaseConnection.startInternal(JMSBaseConnection.java:233)
at weblogic.jms.adapter.JMSBaseConnection.start(JMSBaseConnection.java:219)
at weblogic.jms.adapter.JMSManagedConnectionFactory.createManagedConnection(JMSManagedConnectionFactory.java:188)
at weblogic.connector.common.internal.ConnectionFactory.createResource(ConnectionFactory.java:127)
at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1193)
at weblogic.common.resourcepool.ResourcePoolImpl.reserveResource(ResourcePoolImpl.java:345)
at weblogic.common.resourcepool.ResourcePoolImpl.reserveResource(ResourcePoolImpl.java:286)
at weblogic.connector.common.internal.ConnectionPool.reserveResource(ConnectionPool.java:567)
at weblogic.common.resourcepool.ResourcePoolImpl.reserveResource(ResourcePoolImpl.java:280)
at weblogic.connector.common.internal.ConnectionPoolManager.getConnection(ConnectionPoolManager.java:650)
at weblogic.connector.common.internal.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:106)
at weblogic.jms.adapter.JMSBaseConnectionFactory.getTargetConnection(JMSBaseConnectionFactory.java:120)
at weblogic.jms.bridge.internal.MessagingBridge.getConnections(MessagingBridge.java:809)
at weblogic.jms.bridge.internal.MessagingBridge.execute(MessagingBridge.java:991)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
Caused by: java.net.ConnectException: t3s://localhost:7002: Destination unreachable; nested exception is:
javax.net.ssl.SSLHandshakeException: [Security:090497]HANDSHAKE_FAILURE alert received from localhost - 127.0.0.1. Check both sides of the SSL configuration for mismatches in supported ciphers, supported protocol versions, trusted C
As, and hostname verification settings.; No available router to destination
at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:200)
at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:125)
at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:310)
... 23 more
)>
<22-mag-2008 15.28.09 CEST> <Info> <MessagingBridge> <BEA-200036> <The Started attribute of Bridge "AliceToBobMessagingBridge" has been changed from "true" to "false".>
What I need to do to avoid this problem?
Nathan65I checked my configuration. ALICE's keystores are
IDENTITY
Tipo keystore: jks
Provider keystore: SUN
Il keystore contiene 2 entry
Nome alias: certgenca
Data di creazione: 21-mag-2008
Tipo entry: trustedCertEntry
Proprietario: CN=CertGenCAB, OU=FOR TESTING ONLY, O=MyOrganization, L=MyTown, ST=MyState, C=US
Organismo di emissione: CN=CertGenCAB, OU=FOR TESTING ONLY, O=MyOrganization, L=MyTown, ST=MyState, C=US
Numero di serie: 234b5559d1fa0f3ff5c82bdfed032a87
Valido da Thu Oct 24 17:54:45 CEST 2002 a Tue Oct 25 17:54:45 CEST 2022
Impronte digitali certificato:
MD5: A2:18:4C:E0:1C:AB:82:A7:65:86:86:03:D0:B3:D8:FE
SHA1: F8:5D:49:A4:12:54:78:C7:BA:42:A7:14:3E:06:F5:1E:A0:D4:C6:59
Nome alias: alicecert
Data di creazione: 21-mag-2008
Tipo entry: keyEntry
Lunghezza catena certificati: 1
Certificato[1]:
Proprietario: [email protected], OU=CompetenceCenter, O=ValueTeam, L=Rome, ST=IT, C=IT
Organismo di emissione: CN=CertGenCAB, OU=FOR TESTING ONLY, O=MyOrganization, L=MyTown, ST=MyState, C=US
Numero di serie: -1dbb65eaa595141fa1e44ba5856d65e4
Valido da Tue May 20 09:39:25 CEST 2008 a Sun May 21 09:39:25 CEST 2023
Impronte digitali certificato:
MD5: BA:01:C2:E3:CC:92:C4:99:F7:8C:28:FF:C1:16:88:D9
SHA1: C0:D8:E8:B6:C2:62:03:90:3F:23:3C:FA:A8:C8:0A:00:FA:96:5A:4E
TRUST
Tipo keystore: jks
Provider keystore: SUN
Il keystore contiene 1 entry
Nome alias: certgenca
Data di creazione: 21-mag-2008
Tipo entry: trustedCertEntry
Proprietario: CN=CertGenCAB, OU=FOR TESTING ONLY, O=MyOrganization, L=MyTown, ST=MyState, C=US
Organismo di emissione: CN=CertGenCAB, OU=FOR TESTING ONLY, O=MyOrganization, L=MyTown, ST=MyState, C=US
Numero di serie: 234b5559d1fa0f3ff5c82bdfed032a87
Valido da Thu Oct 24 17:54:45 CEST 2002 a Tue Oct 25 17:54:45 CEST 2022
Impronte digitali certificato:
MD5: A2:18:4C:E0:1C:AB:82:A7:65:86:86:03:D0:B3:D8:FE
SHA1: F8:5D:49:A4:12:54:78:C7:BA:42:A7:14:3E:06:F5:1E:A0:D4:C6:59
BOB's keystores are:
IDENTITY
Tipo keystore: jks
Provider keystore: SUN
Il keystore contiene 2 entry
Nome alias: certgenca
Data di creazione: 21-mag-2008
Tipo entry: trustedCertEntry
Proprietario: CN=CertGenCAB, OU=FOR TESTING ONLY, O=MyOrganization, L=MyTown, ST=MyState, C=US
Organismo di emissione: CN=CertGenCAB, OU=FOR TESTING ONLY, O=MyOrganization, L=MyTown, ST=MyState, C=US
Numero di serie: 234b5559d1fa0f3ff5c82bdfed032a87
Valido da Thu Oct 24 17:54:45 CEST 2002 a Tue Oct 25 17:54:45 CEST 2022
Impronte digitali certificato:
MD5: A2:18:4C:E0:1C:AB:82:A7:65:86:86:03:D0:B3:D8:FE
SHA1: F8:5D:49:A4:12:54:78:C7:BA:42:A7:14:3E:06:F5:1E:A0:D4:C6:59
Nome alias: bobcert
Data di creazione: 21-mag-2008
Tipo entry: keyEntry
Lunghezza catena certificati: 1
Certificato[1]:
Proprietario: [email protected], OU=CompetenceCenter, O=ValueTeam, L=Rome, ST=IT, C=IT
Organismo di emissione: CN=CertGenCAB, OU=FOR TESTING ONLY, O=MyOrganization, L=MyTown, ST=MyState, C=US
Numero di serie: 26ccb8983c1cd0dc2eb6b0c7019eddb2
Valido da Tue May 20 09:53:38 CEST 2008 a Sun May 21 09:53:38 CEST 2023
Impronte digitali certificato:
MD5: 6C:B3:9D:02:6E:CD:F4:04:C2:76:F2:92:97:39:66:7E
SHA1: D1:07:5A:64:79:2F:FE:35:4D:D4:FD:7E:42:FC:D3:9C:68:6B:EE:B8
TRUST (same as ALICE's TRUST)
Tipo keystore: jks
Provider keystore: SUN
Il keystore contiene 1 entry
Nome alias: certgenca
Data di creazione: 21-mag-2008
Tipo entry: trustedCertEntry
Proprietario: CN=CertGenCAB, OU=FOR TESTING ONLY, O=MyOrganization, L=MyTown, ST=MyState, C=US
Organismo di emissione: CN=CertGenCAB, OU=FOR TESTING ONLY, O=MyOrganization, L=MyTown, ST=MyState, C=US
Numero di serie: 234b5559d1fa0f3ff5c82bdfed032a87
Valido da Thu Oct 24 17:54:45 CEST 2002 a Tue Oct 25 17:54:45 CEST 2022
Impronte digitali certificato:
MD5: A2:18:4C:E0:1C:AB:82:A7:65:86:86:03:D0:B3:D8:FE
SHA1: F8:5D:49:A4:12:54:78:C7:BA:42:A7:14:3E:06:F5:1E:A0:D4:C6:59
Here is a FRAGMENT of ALICE's "config.xml" (I use custom identity and custom trust)
<Server
CustomIdentityKeyStoreFileName="C:\bea\wlp81sp6\user_projects\domains\ALICE\CERTIFICATI\alice.jks"
CustomIdentityKeyStorePassPhraseEncrypted="{3DES}/q7+XXkrvz0zncx18PjDug=="
CustomIdentityKeyStoreType="JKS"
CustomTrustKeyStoreFileName="C:\bea\wlp81sp6\user_projects\domains\ALICE\CERTIFICATI\certgenca.jks"
CustomTrustKeyStorePassPhraseEncrypted="{3DES}/q7+XXkrvz0zncx18PjDug=="
CustomTrustKeyStoreType="JKS" ExpectedToRun="false"
JavaStandardTrustKeyStorePassPhraseEncrypted="{3DES}CVtHlHaDky1XKC1QZVz2Kw=="
KeyStores="CustomIdentityAndCustomTrust" ListenAddress=""
ListenPort="7011" Name="alice" NativeIOEnabled="true"
ReliableDeliveryPolicy="RMDefaultPolicy" ServerVersion="8.1.6.0"
StdoutDebugEnabled="true" StdoutSeverityLevel="64">
<SSL ClientCertificateEnforced="true" Enabled="true"
HostnameVerificationIgnored="true"
IdentityAndTrustLocations="KeyStores" ListenPort="7012"
Name="alice" ServerPrivateKeyAlias="alicecert"
ServerPrivateKeyPassPhraseEncrypted="{3DES}/q7+XXkrvz0zncx18PjDug==" TwoWaySSLEnabled="true"/>
<Log FileCount="2" FileMinSize="5000" Name="alice" NumberOfFilesLimited="true"/>
</Server>
and also here is a fragment of BOB's "config.xml" (same of ALICE's keystores configuration)
<Server
CustomIdentityKeyStoreFileName="C:\bea\wlp81sp6\user_projects\domains\BOB\CERTIFICATI\bob.jks"
CustomIdentityKeyStorePassPhraseEncrypted="{3DES}PJMoAH+j5jeVWzQfY8Gf2w=="
CustomIdentityKeyStoreType="JKS"
CustomTrustKeyStoreFileName="C:\bea\wlp81sp6\user_projects\domains\BOB\CERTIFICATI\certgenca.jks"
CustomTrustKeyStorePassPhraseEncrypted="{3DES}PJMoAH+j5jeVWzQfY8Gf2w=="
CustomTrustKeyStoreType="JKS" ExpectedToRun="false"
JavaStandardTrustKeyStorePassPhraseEncrypted="{3DES}TXgi1bpazzUgtLpwMy9q9Q=="
KeyStores="CustomIdentityAndCustomTrust" ListenAddress=""
ListenPort="7001" Name="bob" NativeIOEnabled="true"
ReliableDeliveryPolicy="RMDefaultPolicy" ServerVersion="8.1.6.0"
StdoutDebugEnabled="true" StdoutSeverityLevel="64">
<SSL ClientCertificateEnforced="true" Enabled="true"
HostnameVerificationIgnored="true"
IdentityAndTrustLocations="KeyStores" ListenPort="7002"
Name="bob" ServerPrivateKeyAlias="bobcert"
ServerPrivateKeyPassPhraseEncrypted="{3DES}PJMoAH+j5jeVWzQfY8Gf2w==" TwoWaySSLEnabled="true"/>
<Log FileCount="2" FileMinSize="5000" Name="bob" NumberOfFilesLimited="true"/>
</Server>
PS: I used a JNDI Client to access to BOB configured with ALICE's keystores and I got a success.
Nat. -
Configuring MQSeries 5.2 JMS With Weblogic 7.0
Hi :
Has anyone configured MQ Series 5.2 under weblogic 7.0 ?. I would appreciate
if you could let me step by step configuration.
I have tried all the configuration steps in Weblogic 7.0 but still i am
getting an exception while the MessageBridge is trying to get a connection
from the Target Destination (in my case MQSeries).
The exception:
<Oct 17, 2002 11:17:37 AM PDT> <Error> <Connector> <190006> <Error granting
connection request.>
javax.resource.spi.ResourceAllocationException: CreateManagedConnection
Error: Failed to start the connection
at
weblogic.connector.common.internal.ConnectionPool.makeResources(ConnectionPo
ol.java:993)
at
weblogic.connector.common.internal.ConnectionPool.getConnection(ConnectionPo
ol.java:1762)
at
weblogic.connector.common.internal.ConnectionPoolManager.getConnection(Conne
ctionPoolManager.java:163)
at
weblogic.connector.common.internal.ConnectionManagerImpl.allocateConnection(
ConnectionManagerImpl.java:25)
at
weblogic.jms.adapter.JMSBaseConnectionFactory.getTargetConnection(JMSBaseCon
nectionFactory.java:126)
at
weblogic.jms.bridge.internal.MessagingBridge.getConnections(MessagingBridge.
java:733)
at
weblogic.jms.bridge.internal.MessagingBridge.execute(MessagingBridge.java:89
9)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
thanks,
Balaji.
Hi Dongbo:
It worked, as you have said it was configuration problem of the PATH
variable in my end.
thanks,
Balaji.
"Dongbo Xiao" <[email protected]> wrote in message
news:[email protected]...
> Your configuration looks fine except that you are not recommended to
> put MQSeries stuff in the AdapterClasspath attribute. Instead, the
> following is what you should do according to the doc.
>
> Before starting WebLogic Server:
>
> Supply the provider's CLASSPATH in the WebLogic Server CLASSPATH.
>
> Include the PATH of any native code required by the provider's
> client-side libraries in the WebLogic Server system PATH. (This variable
> may vary depending on your operating system.)
>
> You can also check the Messaging Bridge part of the following doc:
>
>
http://dev2dev.bea.com/resourcelibrary/whitepapers.jsp?highlight=whitepapers
>
> If the bridge still does not work after you correctly set everything,
> you need to check all the values that you set for the attributes
> (ConnectionURL
> and etc)of the JMSBridgeDestination corresponding to the MQSeries queue.
> Make sure
> you can access MQSeries with those values from a client.
>
> It should work. Most commonly seen problems are configuration problems
> or
> environment problems.
>
> Good luck.
> Dongbo
>
> Balaji Venkataraman wrote:
> >
> > Hi Dongbo: Please find herewith the information requested by you.
> >
> > Related Properties from Config.xml:
> >
> > <Application Deployed="true" Name="jms-xa-adp"
> > Path="C:\bea\weblogic700\server\lib" TwoPhase="true">
> > <ConnectorComponent Name="jms-xa-adp" Targets="adminserver"
> > URI="jms-xa-adp.rar"/>
> > </Application>
> >
> > JMS Related Entries:
> >
> > <JMSBridgeDestination ConnectionFactoryJNDIName="ediJMSFactory"
> > DestinationJNDIName="MQ_WEBEDI_TO_OPUSTX"
> > Name="MQSourceDestination"/>
> > <JMSBridgeDestination
> > Classpath="c:\Program
> > Files\IBM\MQSeries\Java\samples\base;c:\Program
> > Files\IBM\MQSeries\java\lib\com.ibm.mq.jar;c:\Program
> > Files\IBM\MQSeries\java\lib\com.ibm.mqjms.jar;c:\Program
> > Files\IBM\MQSeries\java\lib\jms.jar;c:\Program
> > Files\IBM\MQSeries\java\lib\jndi.jar;c:\Program
> > Files\IBM\MQSeries\java\lib\fscontext.jar;c:\Program
> > Files\IBM\MQSeries\java\lib\providerutil.jar;c:\Program
> > Files\IBM\MQSeries\java\lib\connector.jar;"
> > ConnectionFactoryJNDIName="mqXAQCF"
> > ConnectionURL="file://c:\bea\wlsmq" DestinationJNDIName="mqQ"
> >
InitialContextFactory="com.sun.jndi.fscontext.RefFSContextFactory"
> > Name="MQTargetDestination"/>
> > <JMSConnectionFactory AllowCloseInOnMessage="true"
> > JNDIName="ediJMSFactory" Name="ediJMSFactory"
> > Targets="adminserver" UserTransactionsEnabled="true"
> > XAConnectionFactoryEnabled="true" XAServerEnabled="true"/>
> > <JMSFileStore Directory="filestore" Name="MyJMSFile Store"/>
> > <JMSServer Name="MyJMSServer" Store="MyJMSFile Store"
> > Targets="adminserver">
> > <JMSQueue DeliveryModeOverride="Persistent"
> > JNDIName="MQ_WEBEDI_TO_OPUSTX" Name="OpusQueue"
> > StoreEnabled="true"/>
> > </JMSServer>
> >
> > Message Bridge:
> >
> > <MessagingBridge Name="MyMessaging Bridge"
> > SourceDestination="MQSourceDestination"
> > TargetDestination="MQTargetDestination" Targets="adminserver"/>
> >
> > thanks,
> > Balaji.
> >
> > "Dongbo Xiao" <[email protected]> wrote in message
> > news:[email protected]...
> > >
> > > Please send your configuration for the source bridge destination,
> > > target bridge destination and the bridge itself.
> > >
> > > Dongbo
> > >
> > > Balaji Venkataraman wrote:
> > > >
> > > > Hi :
> > > >
> > > > Has anyone configured MQ Series 5.2 under weblogic 7.0 ?. I would
> > appreciate
> > > > if you could let me step by step configuration.
> > > >
> > > > I have tried all the configuration steps in Weblogic 7.0 but still i
am
> > > > getting an exception while the MessageBridge is trying to get a
> > connection
> > > > from the Target Destination (in my case MQSeries).
> > > >
> > > > The exception:
> > > > <Oct 17, 2002 11:17:37 AM PDT> <Error> <Connector> <190006> <Error
> > granting
> > > > connection request.>
> > > > javax.resource.spi.ResourceAllocationException:
CreateManagedConnection
> > > > Error: Failed to start the connection
> > > > at
> > > >
> >
weblogic.connector.common.internal.ConnectionPool.makeResources(ConnectionPo
> > > > ol.java:993)
> > > > at
> > > >
> >
weblogic.connector.common.internal.ConnectionPool.getConnection(ConnectionPo
> > > > ol.java:1762)
> > > > at
> > > >
> >
weblogic.connector.common.internal.ConnectionPoolManager.getConnection(Conne
> > > > ctionPoolManager.java:163)
> > > > at
> > > >
> >
weblogic.connector.common.internal.ConnectionManagerImpl.allocateConnection(
> > > > ConnectionManagerImpl.java:25)
> > > > at
> > > >
> >
weblogic.jms.adapter.JMSBaseConnectionFactory.getTargetConnection(JMSBaseCon
> > > > nectionFactory.java:126)
> > > > at
> > > >
> >
weblogic.jms.bridge.internal.MessagingBridge.getConnections(MessagingBridge.
> > > > java:733)
> > > > at
> > > >
> >
weblogic.jms.bridge.internal.MessagingBridge.execute(MessagingBridge.java:89
> > > > 9)
> > > > at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
> > > > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
> > > >
> > > > thanks,
> > > > Balaji.
> >
> > <?xml version="1.0" encoding="UTF-8"?>
> > <!--If your domain is active, please do not edit the config.xml file.
Any changes made to that file while the domain is active will not have any
effect on the domain's configuration and are likely to be lost. If your
domain is inactive, you may edit this file with an XML editor. If you do so,
please refer to the BEA Weblogic Server Configuration Reference
documentation available from http://edocs.bea.com/wls/docs70/config_xml. In
general, we recommend that changes to your configuration file be made
through the Administration Console.-->
> > <Domain ConfigurationVersion="7.0.0.0" Name="edixml">
> > <Application Deployed="true" Name="DefaultWebApp"
> > Path=".\applications" StagedTargets="" TwoPhase="false">
> > <WebAppComponent Name="DefaultWebApp" Targets="adminserver"
URI="DefaultWebApp"/>
> > </Application>
> > <Application Deployed="true" Name="certificate"
> > Path=".\applications" StagedTargets="" TwoPhase="false">
> > <WebAppComponent Name="certificate" Targets="adminserver"
URI="certificate.war"/>
> > </Application>
> > <Application Deployed="true" Name="jms-xa-adp"
> > Path="C:\bea\weblogic700\server\lib" TwoPhase="true">
> > <ConnectorComponent Name="jms-xa-adp" Targets="adminserver"
URI="jms-xa-adp.rar"/>
> > </Application>
> > <ApplicationManager Name="edixml"/>
> > <Cluster ClusterAddress="208.193.6.143:7001,208.193.6.143:8001"
> > MulticastAddress="237.0.0.4" MulticastPort="7777"
Name="edixmlcluster"/>
> > <EmbeddedLDAP
> > Credential="{3DES}iLJIRpiJCbQYHvktF5nq32XqGBhWLQpLEcMRXP+KJi0="
Name="edixml"/>
> > <FileRealm Name="wl_default_file_realm"/>
> > <JDBCConnectionPool DriverName="oracle.jdbc.driver.OracleDriver"
> > Name="OracleDBPool"
> >
Properties="user=webedi7;password=webedi7;dll=ocijdbc8;protocol=thin"
> > Targets="adminserver" TestConnectionsOnReserve="true"
> > TestTableName="numberblockmaster"
URL="jdbc:oracle:thin:@192.168.222.6:1521:ora8"/>
> > <JDBCTxDataSource JNDIName="OracleTxDS" Name="OracleTxDS"
PoolName="OracleDBPool"/>
> > <JMSBridgeDestination ConnectionFactoryJNDIName="ediJMSFactory"
> > DestinationJNDIName="MQ_WEBEDI_TO_OPUSTX"
Name="MQSourceDestination"/>
> > <JMSBridgeDestination
> > Classpath="c:\Program
Files\IBM\MQSeries\Java\samples\base;c:\Program
Files\IBM\MQSeries\java\lib\com.ibm.mq.jar;c:\Program
Files\IBM\MQSeries\java\lib\com.ibm.mqjms.jar;c:\Program
Files\IBM\MQSeries\java\lib\jms.jar;c:\Program
Files\IBM\MQSeries\java\lib\jndi.jar;c:\Program
Files\IBM\MQSeries\java\lib\fscontext.jar;c:\Program
Files\IBM\MQSeries\java\lib\providerutil.jar;c:\Program
Files\IBM\MQSeries\java\lib\connector.jar;"
> > ConnectionFactoryJNDIName="mqXAQCF"
> > ConnectionURL="file://c:\bea\wlsmq" DestinationJNDIName="mqQ"
> >
InitialContextFactory="com.sun.jndi.fscontext.RefFSContextFactory"
Name="MQTargetDestination"/>
> > <JMSConnectionFactory AllowCloseInOnMessage="true"
> > JNDIName="ediJMSFactory" Name="ediJMSFactory"
> > Targets="adminserver" UserTransactionsEnabled="true"
> > XAConnectionFactoryEnabled="true" XAServerEnabled="true"/>
> > <JMSFileStore Directory="filestore" Name="MyJMSFile Store"/>
> > <JMSServer Name="MyJMSServer" Store="MyJMSFile Store"
Targets="adminserver">
> > <JMSQueue DeliveryModeOverride="Persistent"
> > JNDIName="MQ_WEBEDI_TO_OPUSTX" Name="OpusQueue"
StoreEnabled="true"/>
> > </JMSServer>
> > <JTA Name="edixml"/>
> > <JTARecoveryService Name="primary"/>
> > <JTARecoveryService Name="secondary"/>
> > <Log FileName=".\wl-domain.log" Name="edixml"/>
> > <MessagingBridge Name="MyMessaging Bridge"
> > SourceDestination="MQSourceDestination"
> > TargetDestination="MQTargetDestination" Targets="adminserver"/>
> > <MigratableTarget Cluster="edixmlcluster"
> > Name="primary (migratable)"
> > Notes="This is a system generated default migratable target for
a server. Do not delete manually." UserPreferredServer="primary"/>
> > <MigratableTarget Cluster="edixmlcluster"
> > Name="secondary (migratable)"
> > Notes="This is a system generated default migratable target for
a server. Do not delete manually." UserPreferredServer="secondary"/>
> > <PasswordPolicy Name="wl_default_password_policy"/>
> > <Realm FileRealm="wl_default_file_realm" Name="wl_default_realm"/>
> > <SNMPAgent Name="edixml"/>
> > <Security GuestDisabled="false" Name="edixml"
> > PasswordPolicy="wl_default_password_policy"
> > Realm="wl_default_realm" RealmSetup="true"/>
> > <SecurityConfiguration
> >
Credential="{3DES}du0wFpH35kta7XFhGk6UV2mve7IhavFhAJ8uSzz1W4Gt2i9CV4PDWSLsnb
6nJjMiej2UAIGHrmT3RGIQG1sn9R0xaYz1STwV" Name="edixml"/>
> > <Server ListenAddress="208.193.6.143" ListenPort="9001"
> > Name="adminserver" NativeIOEnabled="true"
ServerVersion="7.0.0.0">
> > <COM Name="adminserver"/>
> > <ExecuteQueue Name="default" ThreadCount="15"/>
> > <IIOP Name="adminserver"/>
> > <JTAMigratableTarget Cluster="" Name="adminserver"
UserPreferredServer="adminserver"/>
> > <KernelDebug Name="adminserver"/>
> > <Log FileName=".\adminserver\adminserver.log"
Name="adminserver"/>
> > <SSL Enabled="true" HostnameVerificationIgnored="true"
> > ListenPort="9002" Name="adminserver"
> > ServerCertificateChainFileName="ca.pem"
> > ServerCertificateFileName="democert.pem"
ServerKeyFileName="demokey.pem"/>
> > <ServerDebug Name="adminserver"/>
> > <ServerStart Name="adminserver"/>
> > <WebServer DefaultWebApp="DefaultWebApp"
> > LogFileName=".\adminserver\access.log" LoggingEnabled="true"
Name="adminserver"/>
> > </Server>
> > <Server Cluster="edixmlcluster" JTARecoveryService="primary"
> > ListenAddress="208.193.6.143" ListenPort="7001" Name="primary"
> > NativeIOEnabled="true" ServerVersion="7.0.0.0">
> > <COM Name="primary"/>
> > <ExecuteQueue Name="default" ThreadCount="15"/>
> > <IIOP Name="primary"/>
> > <JTAMigratableTarget Cluster="edixmlcluster" Name="primary"
UserPreferredServer="primary"/>
> > <KernelDebug Name="primary"/>
> > <Log Name="primary"/>
> > <SSL Name="primary"/>
> > <ServerDebug Name="primary"/>
> > <ServerStart Name="primary"/>
> > <WebServer Name="primary"/>
> > </Server>
> > <Server Cluster="edixmlcluster" JTARecoveryService="secondary"
> > ListenAddress="208.193.6.143" ListenPort="8001" Name="secondary"
> > NativeIOEnabled="true" ServerVersion="7.0.0.0">
> > <COM Name="secondary"/>
> > <ExecuteQueue Name="default" ThreadCount="15"/>
> > <IIOP Name="secondary"/>
> > <JTAMigratableTarget Cluster="edixmlcluster" Name="secondary"
UserPreferredServer="secondary"/>
> > <KernelDebug Name="secondary"/>
> > <Log Name="secondary"/>
> > <SSL Name="secondary"/>
> > <ServerDebug Name="secondary"/>
> > <ServerStart Name="secondary"/>
> > <WebServer Name="secondary"/>
> > </Server>
> > </Domain>
-
Messaging Bridge & Managed Server
Hi,
I am trying to use the messaging bridge in a cluster
(WLS61SP3 with CR081404_61sp3.jar + CR081511_61sp3.jar),
but I am getting the following error on startup of one
of my managed servers (error attached).
What am I doing wrong here?
Regards,
-Per
[error.txt]
Hi,
Came up with the idea of putting the jmsadapter.jar archive (included in the jms-xa-adp.rar
archive) in the system classpath,
of my managed servers.
This was mentioned in a previous posting I found, and now it seems to be working...
-Per
####<12.sep.02 09:34:18 CEST> <Debug> <MessagingBridge> <6S19FHGZN2CM> <serverone>
<main> <system> <> <200006> <Messaging Bridge Debugging STARTUP! creating bridge
bridgeOne>
####<12.sep.02 09:34:21 CEST> <Debug> <MessagingBridge> <6S19FHGZN2CM> <serverone>
<main> <system> <> <200006> <Messaging Bridge Debugging STARTUP! Bridge bridgeOne's
source properties are:
AdapterJNDIName=eis.jms.WLSConnectionFactoryJNDIXA
Classpath=null
ConnectionURL = t3://localhost:7011
DestinationType = Queue
DestinationJNDIName = XmlQueue2
InitialContextFactory = weblogic.jndi.WLInitialContextFactory
ConnectionFactoryJNDIName = connFac>
####<12.sep.02 09:34:21 CEST> <Debug> <MessagingBridge> <6S19FHGZN2CM> <serverone>
<main> <system> <> <200006> <Messaging Bridge Debugging STARTUP! Bridge bridgeOne's
target properties are:
AdapterJNDIName=eis.jms.WLSConnectionFactoryJNDIXA
Classpath=null
ConnectionURL = t3://localhost:8011
DestinationType = Queue
DestinationJNDIName = queue
InitialContextFactory = weblogic.jndi.WLInitialContextFactory
ConnectionFactoryJNDIName = connFac>
####<12.sep.02 09:34:21 CEST> <Debug> <MessagingBridge> <6S19FHGZN2CM> <serverone>
<main> <system> <> <200006> <Messaging Bridge Debugging STARTUP! Bridge bridgeOne
is successfully initialized>
####<12.sep.02 09:34:21 CEST> <Info> <MessagingBridge> <6S19FHGZN2CM> <serverone>
<main> <system> <> <200004> <Messaging Bridge "bridgeOne" has been successfully
deployed.>
####<12.sep.02 09:34:25 CEST> <Info> <MessagingBridge> <6S19FHGZN2CM> <serverone>
<ExecuteThread: '0' for queue: 'MessagingBridge'> <system> <> <200012> <Bridge
"bridgeOne" suceesfully found the two adapters configured for it.>
####<12.sep.02 09:34:25 CEST> <Debug> <MessagingBridge> <6S19FHGZN2CM> <serverone>
<ExecuteThread: '0' for queue: 'MessagingBridge'> <system> <> <200006> <Messaging
Bridge Debugging STARTUP! BridgeBridge bridgeOne forwarding policy is AUTO>
####<12.sep.02 09:34:25 CEST> <Info> <MessagingBridge> <6S19FHGZN2CM> <serverone>
<ExecuteThread: '0' for queue: 'MessagingBridge'> <system> <> <200033> <Bridge
"bridgeOne" is getting the connections to the two adapters.>
####<12.sep.02 09:34:25 CEST> <Debug> <MessagingBridge> <6S19FHGZN2CM> <serverone>
<ExecuteThread: '0' for queue: 'MessagingBridge'> <system> <> <200006> <Messaging
Bridge Debugging RUNTIME! Bridge bridgeOne Getting source connection>
####<12.sep.02 09:34:26 CEST> <Notice> <WebLogicServer> <6S19FHGZN2CM> <serverone>
<ListenThread> <system> <> <000202> <ListenThread listening on port 7011>
####<12.sep.02 09:34:26 CEST> <Notice> <WebLogicServer> <6S19FHGZN2CM> <serverone>
<SSLListenThread> <system> <> <000202> <SSLListenThread listening on port 7012>
####<12.sep.02 09:34:26 CEST> <Info> <Connector> <6S19FHGZN2CM> <serverone> <ExecuteThread:
'0' for queue: 'MessagingBridge'> <system> <> <190011> <Unable to locate context:
java:/comp/env/wls-connector-resref>
####<12.sep.02 09:34:26 CEST> <Info> <Connector> <6S19FHGZN2CM> <serverone> <ExecuteThread:
'0' for queue: 'MessagingBridge'> <system> <> <190010> <Unable to determine Resource
Principal for Container Managed Security Context.>
####<12.sep.02 09:34:26 CEST> <Info> <Connector> <6S19FHGZN2CM> <serverone> <ExecuteThread:
'0' for queue: 'MessagingBridge'> <system> <> <190011> <Unable to locate context:
java:/comp/env/wls-connector-resref>
####<12.sep.02 09:34:26 CEST> <Info> <Connector> <6S19FHGZN2CM> <serverone> <ExecuteThread:
'0' for queue: 'MessagingBridge'> <system> <> <190010> <Unable to determine Resource
Principal for Container Managed Security Context.>
####<12.sep.02 09:34:28 CEST> <Info> <Management> <6S19FHGZN2CM> <serverone> <ExecuteThread:
'1' for queue: '__weblogic_admin_rmi_queue'> <system> <> <141060> <Reconnected
to Admin Server running at http://6S19FHGZN2CM:7001 from Managed Server - serverone.>
####<12.sep.02 09:34:29 CEST> <Info> <Connector> <6S19FHGZN2CM> <serverone> <ExecuteThread:
'0' for queue: 'MessagingBridge'> <system> <> <190035> <There was/were 1 physical
connection(s) created with the following Meta Data: Product name of EIS instance:
Java Messaging Service Product version of EIS instance: 1.0.2 Maximum number of
connections supported from different processes: 0 User name for connection: system>
####<12.sep.02 09:34:29 CEST> <Notice> <Cluster> <6S19FHGZN2CM> <serverone> <main>
<system> <> <000102> <Listening for multicast messages (cluster MyCluster) on
port 7011 at address 224.0.0.1>
####<12.sep.02 09:34:29 CEST> <Debug> <MessagingBridge> <6S19FHGZN2CM> <serverone>
<ExecuteThread: '0' for queue: 'MessagingBridge'> <system> <> <200006> <Messaging
Bridge Debugging RUNTIME! Bridge bridgeOne Successfully got connection to the
source destination>
####<12.sep.02 09:34:29 CEST> <Debug> <MessagingBridge> <6S19FHGZN2CM> <serverone>
<ExecuteThread: '0' for queue: 'MessagingBridge'> <system> <> <200006> <Messaging
Bridge Debugging RUNTIME! Bridge bridgeOne Getting target connection>
####<12.sep.02 09:34:29 CEST> <Info> <Connector> <6S19FHGZN2CM> <serverone> <ExecuteThread:
'0' for queue: 'MessagingBridge'> <system> <> <190011> <Unable to locate context:
java:/comp/env/wls-connector-resref>
####<12.sep.02 09:34:29 CEST> <Info> <Connector> <6S19FHGZN2CM> <serverone> <ExecuteThread:
'0' for queue: 'MessagingBridge'> <system> <> <190010> <Unable to determine Resource
Principal for Container Managed Security Context.>
####<12.sep.02 09:34:29 CEST> <Notice> <WebLogicServer> <6S19FHGZN2CM> <serverone>
<main> <system> <> <000330> <Started WebLogic Managed Server "serverone" for domain
"dmsdomain" running in Production Mode>
####<12.sep.02 09:34:29 CEST> <Info> <Connector> <6S19FHGZN2CM> <serverone> <ExecuteThread:
'0' for queue: 'MessagingBridge'> <system> <> <190011> <Unable to locate context:
java:/comp/env/wls-connector-resref>
####<12.sep.02 09:34:29 CEST> <Info> <Connector> <6S19FHGZN2CM> <serverone> <ExecuteThread:
'0' for queue: 'MessagingBridge'> <system> <> <190010> <Unable to determine Resource
Principal for Container Managed Security Context.>
####<12.sep.02 09:34:30 CEST> <Info> <Connector> <6S19FHGZN2CM> <serverone> <ExecuteThread:
'0' for queue: 'MessagingBridge'> <system> <> <190035> <There was/were 1 physical
connection(s) created with the following Meta Data: Product name of EIS instance:
Java Messaging Service Product version of EIS instance: 1.0.2 Maximum number of
connections supported from different processes: 0 User name for connection: system>
####<12.sep.02 09:34:30 CEST> <Debug> <MessagingBridge> <6S19FHGZN2CM> <serverone>
<ExecuteThread: '0' for queue: 'MessagingBridge'> <system> <> <200006> <Messaging
Bridge Debugging RUNTIME! Bridge bridgeOne Successfully got connection to the
target destination>
####<12.sep.02 09:34:30 CEST> <Debug> <MessagingBridge> <6S19FHGZN2CM> <serverone>
<ExecuteThread: '0' for queue: 'MessagingBridge'> <system> <> <200006> <Messaging
Bridge Debugging RUNTIME! Bridge bridgeOne: both source and target adapters support
XA = true>
####<12.sep.02 09:34:30 CEST> <Info> <MessagingBridge> <6S19FHGZN2CM> <serverone>
<ExecuteThread: '0' for queue: 'MessagingBridge'> <system> <> <200032> <Bridge
"bridgeOne" is configured not to allow degradation of its quality of service in
cases where the configured quality of service is not reachable.>
####<12.sep.02 09:34:30 CEST> <Debug> <MessagingBridge> <6S19FHGZN2CM> <serverone>
<ExecuteThread: '0' for queue: 'MessagingBridge'> <system> <> <200006> <Messaging
Bridge Debugging RUNTIME! Bridge bridgeOne supportsMDBTX = true supportsXA = true
async = true>
####<12.sep.02 09:34:30 CEST> <Debug> <MessagingBridge> <6S19FHGZN2CM> <serverone>
<ExecuteThread: '0' for queue: 'MessagingBridge'> <system> <> <200006> <Messaging
Bridge Debugging RUNTIME! Bridge bridgeOne WorkMode = Exactly-once>
####<12.sep.02 09:34:30 CEST> <Info> <MessagingBridge> <6S19FHGZN2CM> <serverone>
<ExecuteThread: '0' for queue: 'MessagingBridge'> <system> <> <200030> <Bridge
"bridgeOne" is configured to work in "Exactly-once" mode and it is actually working
in "Exactly-once" mode.>
####<12.sep.02 09:34:30 CEST> <Info> <MessagingBridge> <6S19FHGZN2CM> <serverone>
<ExecuteThread: '0' for queue: 'MessagingBridge'> <system> <> <200028> <Bridge
"bridgeOne" starts transferring messages.>
####<12.sep.02 09:35:29 CEST> <Info> <MessagingBridge> <6S19FHGZN2CM> <serverone>
<ExecuteThread: '0' for queue: 'MessagingBridge'> <> <> <200027> <Bridge "bridgeOne"
works in asynchronous mode and has not received messages for the predefined maximum
idle time. The connections to the adapters will be interrupted and re-established.>
####<12.sep.02 09:35:29 CEST> <Info> <MessagingBridge> <6S19FHGZN2CM> <serverone>
<ExecuteThread: '0' for queue: 'MessagingBridge'> <> <> <200020> <Bridge "bridgeOne"
is stopped.>
####<12.sep.02 09:35:29 CEST> <Info> <MessagingBridge> <6S19FHGZN2CM> <serverone>
<ExecuteThread: '0' for queue: 'MessagingBridge'> <> <> <200033> <Bridge "bridgeOne"
is getting the connections to the two adapters.>
"Per Mengshoel" <[email protected]> wrote:
>
>Hi,
>
>I got the patch, but didn't quite succeed in configuring
>it... I am getting exceptions in the managed server's log.
>
>Ideas?
>-Per
>
>####<12.sep.02 08:44:58 CEST> <Debug> <MessagingBridge> <6S19FHGZN2CM>
><serverone>
><main> <system> <> <200006> <Messaging Bridge Debugging STARTUP! creating
>bridge
>bridgeOne>
>####<12.sep.02 08:44:59 CEST> <Debug> <MessagingBridge> <6S19FHGZN2CM>
><serverone>
><main> <system> <> <200006> <Messaging Bridge Debugging STARTUP! Bridge
>bridgeOne's
>source properties are:
> AdapterJNDIName=eis.jms.WLSConnectionFactoryJNDIXA
> Classpath=null
> ConnectionURL = t3://localhost:7011
> DestinationType = Queue
> DestinationJNDIName = XmlQueue2
> InitialContextFactory = weblogic.jndi.WLInitialContextFactory
> ConnectionFactoryJNDIName = connFac>
>####<12.sep.02 08:44:59 CEST> <Debug> <MessagingBridge> <6S19FHGZN2CM>
><serverone>
><main> <system> <> <200006> <Messaging Bridge Debugging STARTUP! Bridge
>bridgeOne's
>target properties are:
> AdapterJNDIName=eis.jms.WLSConnectionFactoryJNDIXA
> Classpath=null
> ConnectionURL = t3://localhost:8011
> DestinationType = Queue
> DestinationJNDIName = queue
> InitialContextFactory = weblogic.jndi.WLInitialContextFactory
> ConnectionFactoryJNDIName = connFac>
>####<12.sep.02 08:44:59 CEST> <Debug> <MessagingBridge> <6S19FHGZN2CM>
><serverone>
><main> <system> <> <200006> <Messaging Bridge Debugging STARTUP! Bridge
>bridgeOne
>is successfully initialized>
>####<12.sep.02 08:44:59 CEST> <Info> <MessagingBridge> <6S19FHGZN2CM>
><serverone>
><main> <system> <> <200004> <Messaging Bridge "bridgeOne" has been successfully
>deployed.>
>####<12.sep.02 08:44:59 CEST> <Info> <HTTP> <6S19FHGZN2CM> <serverone>
><main>
><system> <> <101133> <Initializing WEB server serverone>
>####<12.sep.02 08:45:01 CEST> <Info> <MessagingBridge> <6S19FHGZN2CM>
><serverone>
><ExecuteThread: '0' for queue: 'MessagingBridge'> <system> <> <200012>
><Bridge
>"bridgeOne" suceesfully found the two adapters configured for it.>
>####<12.sep.02 08:45:02 CEST> <Debug> <MessagingBridge> <6S19FHGZN2CM>
><serverone>
><ExecuteThread: '0' for queue: 'MessagingBridge'> <system> <> <200006>
><Messaging
>Bridge Debugging STARTUP! BridgeBridge bridgeOne forwarding policy is
>AUTO>
>####<12.sep.02 08:45:02 CEST> <Info> <MessagingBridge> <6S19FHGZN2CM>
><serverone>
><ExecuteThread: '0' for queue: 'MessagingBridge'> <system> <> <200033>
><Bridge
>"bridgeOne" is getting the connections to the two adapters.>
>####<12.sep.02 08:45:02 CEST> <Debug> <MessagingBridge> <6S19FHGZN2CM>
><serverone>
><ExecuteThread: '0' for queue: 'MessagingBridge'> <system> <> <200006>
><Messaging
>Bridge Debugging RUNTIME! Bridge bridgeOne Getting source connection>
>
>####<12.sep.02 08:45:02 CEST> <Info> <MessagingBridge> <6S19FHGZN2CM>
><serverone>
><ExecuteThread: '0' for queue: 'MessagingBridge'> <system> <> <200042>
><Bridge
>"bridgeOne" failed to connect to the source destination and will try
>again in
>20 seconds. (java.lang.Exception: javax.resource.ResourceException: Problem
>granting
>connection request to a ManagedConnectionFactory which does not exist
>in connection
>pool. Check your MCF's hashcode()
> at weblogic.connector.common.internal.ConnectionPoolManager.getConnection(ConnectionPoolManager.java:149)
> at weblogic.connector.common.internal.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:20)
> at weblogic.jms.adapter.JMSBaseConnectionFactory.getSourceConnection(JMSBaseConnectionFactory.java:97)
> at weblogic.jms.bridge.internal.MessagingBridge.getConnections(MessagingBridge.java:696)
> at weblogic.jms.bridge.internal.MessagingBridge.execute(MessagingBridge.java:901)
> at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
> at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
>)>
>
>
>"Dongbo Xiao" <[email protected]> wrote:
>>This is a known problem in the adapter deployment area.
>>Contact BEA customer support and ask about CR083563.
>>
>>Dongbo
>>
>>"Per Mengshoel" <[email protected]> wrote in message
>>news:[email protected]...
>>>
>>> Hi,
>>>
>>> I am trying to use the messaging bridge in a cluster
>>> (WLS61SP3 with CR081404_61sp3.jar + CR081511_61sp3.jar),
>>> but I am getting the following error on startup of one
>>> of my managed servers (error attached).
>>>
>>> What am I doing wrong here?
>>>
>>> Regards,
>>> -Per
>>>
>>>
>>
>>
>
-
CreateManagedConnection Error messaging bridge MQ
Hi all,
I've successfuly set up a messaging bridge between 2 Weblogic queues, but I
get the following when setting up an MQSeries queue as source and WL queue
as target:
javax.resource.spi.ResourceAllocationException: CreateManagedConnection
Error: Failed to start the connection
at
weblogic.connector.common.internal.ConnectionPool.makeResources(ConnectionPo
ol.java:978)
at
weblogic.connector.common.internal.ConnectionPool.getConnection(ConnectionPo
ol.java:1708)
at
weblogic.connector.common.internal.ConnectionPoolManager.getConnection(Conne
ctionPoolManager.java:163)
at
weblogic.connector.common.internal.ConnectionManagerImpl.allocateConnection(
ConnectionManagerImpl.java:25)
at
weblogic.jms.adapter.JMSBaseConnectionFactory.getSourceConnection(JMSBaseCon
nectionFactory.java:97)
at
weblogic.jms.bridge.internal.MessagingBridge.getConnections(MessagingBridge.
java:699)
at
weblogic.jms.bridge.internal.MessagingBridge.execute(MessagingBridge.java:89
9)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
<May 13, 2002 7:11:23 PM PDT> <Error> <Connector> <190006> <Error granting
conne
ction request.>
It finds everything fine in LDAP for the MQ queue. Does anyone know what
would cause this exception?
I'm using Weblogic 7, and MQSeries 5.2.1
Thanks,
Duke
[email protected]
Hi Duke,
Looks like that you have not configured the MQSeries
side of the bridge. There are a couple of things you have to configure in
order to make bridge work for 3rd party
products. Please see details in the e-doc:
http://edocs.bea.com/wls/docs70/adminguide/msgbridge.html#1063962
Besides, you have to configure the security attributes according to the
requirement of your MQSeries setup.
Hope this helps.
Dongbo
"Duke Nguyen" <[email protected]> wrote in message
news:[email protected]...
> Hi all,
>
> I've successfuly set up a messaging bridge between 2 Weblogic queues, but
I
> get the following when setting up an MQSeries queue as source and WL queue
> as target:
>
> javax.resource.spi.ResourceAllocationException: CreateManagedConnection
> Error: Failed to start the connection
> at
>
weblogic.connector.common.internal.ConnectionPool.makeResources(ConnectionPo
> ol.java:978)
> at
>
weblogic.connector.common.internal.ConnectionPool.getConnection(ConnectionPo
> ol.java:1708)
> at
>
weblogic.connector.common.internal.ConnectionPoolManager.getConnection(Conne
> ctionPoolManager.java:163)
> at
>
weblogic.connector.common.internal.ConnectionManagerImpl.allocateConnection(
> ConnectionManagerImpl.java:25)
> at
>
weblogic.jms.adapter.JMSBaseConnectionFactory.getSourceConnection(JMSBaseCon
> nectionFactory.java:97)
> at
>
weblogic.jms.bridge.internal.MessagingBridge.getConnections(MessagingBridge.
> java:699)
> at
>
weblogic.jms.bridge.internal.MessagingBridge.execute(MessagingBridge.java:89
> 9)
> at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
> at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
> <May 13, 2002 7:11:23 PM PDT> <Error> <Connector> <190006> <Error granting
> conne
> ction request.>
>
> It finds everything fine in LDAP for the MQ queue. Does anyone know what
> would cause this exception?
> I'm using Weblogic 7, and MQSeries 5.2.1
>
> Thanks,
> Duke
> [email protected]
>
>
-
I am trying to install Exchange 2013 CU5 but when it is trying to prepare organization point I get the following error.
Error:
The following error was generated when "$error.Clear();
initialize-ExchangeUniversalGroups -DomainController $RoleDomainController -ActiveDirectorySplitPermissions $RoleActiveDirectorySplitPermissions
" was run: "Microsoft.Exchange.Data.Directory.SuitabilityDirectoryException: An Active Directory error 0x51 occurred when trying to check the suitability of server 'MY_Domain_Controler.com'. Error: 'Active directory response: The LDAP server is unavailable.'
---> System.DirectoryServices.Protocols.LdapException: The LDAP server is unavailable.
at System.DirectoryServices.Protocols.LdapConnection.Connect()
at System.DirectoryServices.Protocols.LdapConnection.BindHelper(NetworkCredential newCredential, Boolean needSetCredential)
at Microsoft.Exchange.Data.Directory.PooledLdapConnection.BindWithLogging()
at Microsoft.Exchange.Data.Directory.PooledLdapConnection.TryBindWithRetry(Int32 maxRetries, ADErrorRecord& errorRecord)
--- End of inner exception stack trace ---
at Microsoft.Exchange.Data.Directory.TopologyDiscovery.SuitabilityVerifier.CheckIsServerSuitable(String fqdn, Boolean isGlobalCatalog, NetworkCredential credentials, String& writableNC)
at Microsoft.Exchange.Data.Directory.ConnectionPoolManager.GetConnection(ConnectionType connectionType, String partitionFqdn, ADObjectId domain, String serverName, Int32 port, NetworkCredential credential)
at Microsoft.Exchange.Data.Directory.ConnectionPoolManager.GetConnection(ConnectionType connectionType, String partitionFqdn, NetworkCredential networkCredential, String serverName, Int32 port)
at Microsoft.Exchange.Data.Directory.ADDataSession.GetConnection(String preferredServer, Boolean isWriteOperation, String optionalBaseDN, ADObjectId& rootId, ADScope scope)
at Microsoft.Exchange.Data.Directory.ADDataSession.GetReadConnection(String preferredServer, String optionalBaseDN, ADObjectId& rootId, ADRawEntry scopeDeteriminingObject, DualSearchMode dualSearchMode)
at Microsoft.Exchange.Data.Directory.ADGenericReader.GetNextResultCollection(Type controlType, DirectoryControl& responseControl)
at Microsoft.Exchange.Data.Directory.ADPagedReader`1.GetNextResultCollection()
at Microsoft.Exchange.Data.Directory.ADGenericPagedReader`1.GetNextPage()
at Microsoft.Exchange.Data.Directory.ADGenericPagedReader`1.<GetEnumerator>d__0.MoveNext()
at Microsoft.Exchange.Data.Directory.Recipient.ADRecipientObjectSession.<FindByAccountName>d__2`1.MoveNext()
at Microsoft.Exchange.Data.Directory.Recipient.ADRecipientObjectSession.FindByAccountName[T](String domainName, String accountName)
at Microsoft.Exchange.Management.Tasks.InitializeExchangeUniversalGroups.InternalProcessRecord()
at Microsoft.Exchange.Configuration.Tasks.Task.<ProcessRecord>b__b()
at Microsoft.Exchange.Configuration.Tasks.Task.InvokeRetryableFunc(String funcName, Action func, Boolean terminatePipelineIfFailed)".
I have uninstalled the antivirus from both the domain controller and exchange server and turned off their firewalls but still no luck. anyone else having this issue or a resolution to it?I also have the same problem.
My domain is in 2008 R2 native and my exchange version is 2013 SP1
I have run the setup /prepareschema from an elevated command propmt and now the schema version is 15300
but when i run setup/prepareAD at 30% the setup stops with this error:
Ending processing initialize-ExchangeUniversalGroups
[06/18/2014 13:28:28.0708] [1] The following 1 error(s) occurred during task execution:
[06/18/2014 13:28:28.0724] [1] 0. ErrorRecord: An Active Directory error 0x51 occurred when trying to check the suitability of server '<>. Error: 'Active directory response: The LDAP server is unavailable.'
[06/18/2014 13:28:28.0724] [1] 0. ErrorRecord: Microsoft.Exchange.Data.Directory.SuitabilityDirectoryException: An Active Directory error 0x51 occurred when trying to check the suitability of server <>Error: 'Active directory response: The LDAP
server is unavailable.' ---> System.DirectoryServices.Protocols.LdapException: The LDAP server is unavailable.
I have also open all ports on firewall between exchange server and domain controllers. -
I am trying to configure a Messaging Bridge in WLS 7.0 to an Oracle9i Advanced
Queue. I have a startup class that registers AQjmsQueueConnectionFactory in the
WLS JNDI tree (which AFAICT is working).
However, now I'm getting a ClassCastException. Any clues?
<Jul 25, 2003 2:26:31 PM EDT> <Info> <MessagingBridge> <200012> <Bridge "Oracle
To Weblogic Bridge" suceesfully found the two adapters configured for it.>
<Jul 25, 2003 2:26:31 PM EDT> <Info> <MessagingBridge> <200033> <Bridge "Oracle
To Weblogic Bridge" is getting the connections to the two adapters.>
<Jul 25, 2003 2:26:31 PM EDT> <Info> <Connector> <190011> <Unable to locate context:
java:/comp/env/wls-connector-resref>
<Jul 25, 2003 2:26:31 PM EDT> <Info> <Connector> <190010> <Unable to determine
Resource Principal for Container Managed Security Context.>
<Jul 25, 2003 2:26:31 PM EDT> <Info> <Connector> <190011> <Unable to locate context:
java:/comp/env/wls-connector-resref>
<Jul 25, 2003 2:26:31 PM EDT> <Info> <Connector> <190010> <Unable to determine
Resource Principal for Container Managed Security Context.>
java.lang.ClassCastException: weblogic.jndi.internal.WLContextImpl
at oracle.jms.AQjmsConnectionFactory.getObjectInstance(AQjmsConnectionFactory.java:101)
at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:299)
at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:338)
at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:332)
at javax.naming.InitialContext.lookup(InitialContext.java:345)
at weblogic.jms.adapter.JMSBaseConnection.startInternal(JMSBaseConnection.java:231)
at weblogic.jms.adapter.JMSBaseConnection.start(JMSBaseConnection.java:215)
at weblogic.jms.adapter.JMSManagedConnectionFactory.createManagedConnection(JMSManagedConnectionFactory.java:190)
at weblogic.connector.common.internal.ConnectionPool.makeResources(ConnectionPool.java:994)
at weblogic.connector.common.internal.ConnectionPool.getConnection(ConnectionPool.java:1768)
at weblogic.connector.common.internal.ConnectionPoolManager.getConnection(ConnectionPoolManager.java:177)
at weblogic.connector.common.internal.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:25)
at weblogic.jms.adapter.JMSBaseConnectionFactory.getSourceConnection(JMSBaseConnectionFactory.java:97)
at weblogic.jms.bridge.internal.MessagingBridge.getConnections(MessagingBridge.java:714)
at weblogic.jms.bridge.internal.MessagingBridge.execute(MessagingBridge.java:919)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
Hi Jeff,
If you haven't already, I very highly recommend that you use
google to search this newsgroup for all "AQ" related messages
posted this year. "AQ" has some rather unique requirements
in comparison to other JMS implementations, so these discussions
should save you a good amount of drudgery.
Good luck and hope this helps,
Tom
Jeff Kneale wrote:
> I am trying to configure a Messaging Bridge in WLS 7.0 to an Oracle9i Advanced
> Queue. I have a startup class that registers AQjmsQueueConnectionFactory in the
> WLS JNDI tree (which AFAICT is working).
>
> However, now I'm getting a ClassCastException. Any clues?
>
>
> <Jul 25, 2003 2:26:31 PM EDT> <Info> <MessagingBridge> <200012> <Bridge "Oracle
> To Weblogic Bridge" suceesfully found the two adapters configured for it.>
> <Jul 25, 2003 2:26:31 PM EDT> <Info> <MessagingBridge> <200033> <Bridge "Oracle
> To Weblogic Bridge" is getting the connections to the two adapters.>
> <Jul 25, 2003 2:26:31 PM EDT> <Info> <Connector> <190011> <Unable to locate context:
> java:/comp/env/wls-connector-resref>
> <Jul 25, 2003 2:26:31 PM EDT> <Info> <Connector> <190010> <Unable to determine
> Resource Principal for Container Managed Security Context.>
> <Jul 25, 2003 2:26:31 PM EDT> <Info> <Connector> <190011> <Unable to locate context:
> java:/comp/env/wls-connector-resref>
> <Jul 25, 2003 2:26:31 PM EDT> <Info> <Connector> <190010> <Unable to determine
> Resource Principal for Container Managed Security Context.>
> java.lang.ClassCastException: weblogic.jndi.internal.WLContextImpl
> at oracle.jms.AQjmsConnectionFactory.getObjectInstance(AQjmsConnectionFactory.java:101)
> at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:299)
> at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:338)
> at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:332)
> at javax.naming.InitialContext.lookup(InitialContext.java:345)
> at weblogic.jms.adapter.JMSBaseConnection.startInternal(JMSBaseConnection.java:231)
> at weblogic.jms.adapter.JMSBaseConnection.start(JMSBaseConnection.java:215)
> at weblogic.jms.adapter.JMSManagedConnectionFactory.createManagedConnection(JMSManagedConnectionFactory.java:190)
> at weblogic.connector.common.internal.ConnectionPool.makeResources(ConnectionPool.java:994)
> at weblogic.connector.common.internal.ConnectionPool.getConnection(ConnectionPool.java:1768)
> at weblogic.connector.common.internal.ConnectionPoolManager.getConnection(ConnectionPoolManager.java:177)
> at weblogic.connector.common.internal.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:25)
> at weblogic.jms.adapter.JMSBaseConnectionFactory.getSourceConnection(JMSBaseConnectionFactory.java:97)
> at weblogic.jms.bridge.internal.MessagingBridge.getConnections(MessagingBridge.java:714)
> at weblogic.jms.bridge.internal.MessagingBridge.execute(MessagingBridge.java:919)
> at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
> at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
>
>
>
-
Connecting 2 WLS 7 servers via the Messaging Bridge
Hi,
I am trying to use the messaging bridge to post messages received on a
source JMS queue running in one WLS instance to a destination queue running
on another target WLS instance. I have followed the instructions in the
admin guide and performed the following:
- defined in the source WLS instance 2 JMS bridge destinations - one for the
source queue and one for the target queue
- defined the bridge between the 2 destination, using the jms-xa-adp.rar
- deployed the jmx-xa-adp.rar adapter to the source WLS instance
- enabled the XA connection factory (had to define a new connection factory
to do this)
- made sure that both WLS instances have the system user configured with the
same password
When the source WLS instance starts up, the following is logged to the
console:
weblogic.jms.common.JMSException: Connection not found
at
weblogic.jms.dispatcher.InvocableManager.invocableFind(InvocableManager.java
:134)
at
weblogic.jms.dispatcher.Request.wrappedFiniteStateMachine(Request.java:592)
at
weblogic.jms.dispatcher.DispatcherImpl.dispatchSync(DispatcherImpl.java:275)
at
weblogic.jms.client.JMSConnection.createSession(JMSConnection.java:368)
at
weblogic.jms.client.JMSXAConnection.createXAQueueSession(JMSXAConnection.jav
a:75)
at
weblogic.jms.adapter.JMSBaseConnection.startInternal(JMSBaseConnection.java:
257)
at
weblogic.jms.adapter.JMSBaseConnection.start(JMSBaseConnection.java:215)
at
weblogic.jms.adapter.JMSManagedConnectionFactory.createManagedConnection(JMS
ManagedConnectionFactory.java:1
at
weblogic.connector.common.internal.ConnectionPool.makeResources(ConnectionPo
ol.java:1002)
at
weblogic.connector.common.internal.ConnectionPool.getConnection(ConnectionPo
ol.java:1777)
at
weblogic.connector.common.internal.ConnectionPoolManager.getConnection(Conne
ctionPoolManager.java:190)
at
weblogic.connector.common.internal.ConnectionManagerImpl.allocateConnection(
ConnectionManagerImpl.java:25)
at
weblogic.jms.adapter.JMSBaseConnectionFactory.getTargetConnection(JMSBaseCon
nectionFactory.java:126)
at
weblogic.jms.bridge.internal.MessagingBridge.getConnections(MessagingBridge.
java:753)
at
weblogic.jms.bridge.internal.MessagingBridge.execute(MessagingBridge.java:91
9)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
and any messages sent to the source queue just sit there.
What might I be missing? Am I correct that the configuration of the bridge
and destinations takes place at the source WLS instance (as this is posting
the messages to the target WLS) - the documentation seems to me a bit
ambiguous in this regard.
Thanks,
Stanley.
I am afraid that you'll have to enable security interoperability for
the bridge to work across two domains. Making the password for
system user is not enough. You have to disable generated credential
for both domains. For details, please look at the following link:
http://edocs.bea.com/wls/docs70/adminguide/msgbridge.html#1078380
Please also note that this requirement has been removed in 8.1 release and
7.0SP3.
Thanks
Dongbo
Stanley Beamish wrote:
> "Dongbo Xiao" <[email protected]> wrote in message
> news:[email protected]...
> > I suspect that the two WebLogic servers have the same name.
> > There are some naming restrictions in the WLS configuration.
> > Please take a look at the following link.
> > http://e-docs.bea.com/wls/docs70/adminguide/msgbridge.html#1076982
> >
> > Dongbo
>
> OK, I've changed the name of one of the servers and I can get further. But
> now I get the following exception on the server that hosts the bridge,
> relating to permissions. Both servers use the same system password.
>
> Thanks,
> SB
>
> java.lang.SecurityException: Invalid Subject: principals=[system,
> Administrators, Operators, Monitors, Deployers]
> at
> weblogic.security.service.SecurityServiceManager.seal(SecurityServiceManager
> .java:993)
> at
> weblogic.security.service.RoleManager.getRoles(RoleManager.java:277)
> at
> weblogic.security.service.AuthorizationManager.isAccessAllowed(Authorization
> Manager.java:589)
> at weblogic.jms.JMSService.checkPermission(JMSService.java:1064)
> at weblogic.jms.JMSService.checkRecvPermission(JMSService.java:1076)
> at
> weblogic.jms.frontend.FESession.consumerCreate(FESession.java:944)
> at weblogic.jms.frontend.FESession.invoke(FESession.java:2252)
> at
> weblogic.jms.dispatcher.Request.wrappedFiniteStateMachine(Request.java:602)
> at
> weblogic.jms.dispatcher.DispatcherImpl.dispatchSync(DispatcherImpl.java:275)
> at
> weblogic.jms.client.JMSSession.consumerCreate(JMSSession.java:1592)
> at
> weblogic.jms.client.JMSSession.createConsumer(JMSSession.java:1452)
> at
> weblogic.jms.client.JMSSession.createReceiver(JMSSession.java:1302)
> at
> weblogic.jms.adapter.JMSBaseConnection.setMessageListenerInternal(JMSBaseCon
> nection.java:931)
> at
> weblogic.jms.adapter.JMSBaseConnection.setMessageListener(JMSBaseConnection.
> java:885)
> at
> weblogic.jms.adapter.JMSConnectionHandle.setMessageListener(JMSConnectionHan
> dle.java:121)
> at java.lang.reflect.Method.invoke(Native Method)
> at
> weblogic.connector.common.internal.ConnectionWrapper.invoke(ConnectionWrappe
> r.java:101)
> at $Proxy103.setMessageListener(Unknown Source)
> at
> weblogic.jms.bridge.internal.MessagingBridge.beginForwarding(MessagingBridge
> .java:862)
> at
> weblogic.jms.bridge.internal.MessagingBridge.execute(MessagingBridge.java:94
> 2)
> at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
> at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
>
> >
> > Stanley Beamish wrote:
> >
> > > Hi,
> > >
> > > I am trying to use the messaging bridge to post messages received on a
> > > source JMS queue running in one WLS instance to a destination queue
> running
> > > on another target WLS instance. I have followed the instructions in the
> > > admin guide and performed the following:
> > >
> > > - defined in the source WLS instance 2 JMS bridge destinations - one for
> the
> > > source queue and one for the target queue
> > > - defined the bridge between the 2 destination, using the jms-xa-adp.rar
> > > - deployed the jmx-xa-adp.rar adapter to the source WLS instance
> > > - enabled the XA connection factory (had to define a new connection
> factory
> > > to do this)
> > > - made sure that both WLS instances have the system user configured with
> the
> > > same password
> > >
> > > When the source WLS instance starts up, the following is logged to the
> > > console:
> > >
> > > weblogic.jms.common.JMSException: Connection not found
> > > at
> > >
> weblogic.jms.dispatcher.InvocableManager.invocableFind(InvocableManager.java
> > > :134)
> > > at
> > >
> weblogic.jms.dispatcher.Request.wrappedFiniteStateMachine(Request.java:592)
> > > at
> > >
> weblogic.jms.dispatcher.DispatcherImpl.dispatchSync(DispatcherImpl.java:275)
> > > at
> > > weblogic.jms.client.JMSConnection.createSession(JMSConnection.java:368)
> > > at
> > >
> weblogic.jms.client.JMSXAConnection.createXAQueueSession(JMSXAConnection.jav
> > > a:75)
> > > at
> > >
> weblogic.jms.adapter.JMSBaseConnection.startInternal(JMSBaseConnection.java:
> > > 257)
> > > at
> > > weblogic.jms.adapter.JMSBaseConnection.start(JMSBaseConnection.java:215)
> > > at
> > >
> weblogic.jms.adapter.JMSManagedConnectionFactory.createManagedConnection(JMS
> > > ManagedConnectionFactory.java:1
> > > )
> > > at
> > >
> weblogic.connector.common.internal.ConnectionPool.makeResources(ConnectionPo
> > > ol.java:1002)
> > > at
> > >
> weblogic.connector.common.internal.ConnectionPool.getConnection(ConnectionPo
> > > ol.java:1777)
> > > at
> > >
> weblogic.connector.common.internal.ConnectionPoolManager.getConnection(Conne
> > > ctionPoolManager.java:190)
> > > at
> > >
> weblogic.connector.common.internal.ConnectionManagerImpl.allocateConnection(
> > > ConnectionManagerImpl.java:25)
> > > at
> > >
> weblogic.jms.adapter.JMSBaseConnectionFactory.getTargetConnection(JMSBaseCon
> > > nectionFactory.java:126)
> > > at
> > >
> weblogic.jms.bridge.internal.MessagingBridge.getConnections(MessagingBridge.
> > > java:753)
> > > at
> > >
> weblogic.jms.bridge.internal.MessagingBridge.execute(MessagingBridge.java:91
> > > 9)
> > > at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
> > >
> > > and any messages sent to the source queue just sit there.
> > >
> > > What might I be missing? Am I correct that the configuration of the
> bridge
> > > and destinations takes place at the source WLS instance (as this is
> posting
> > > the messages to the target WLS) - the documentation seems to me a bit
> > > ambiguous in this regard.
> > >
> > > Thanks,
> > > Stanley.
> >
[att1.html]
-
I am receiving errors on my exchange box, all of a sudden and need some help as to which way to look to solve. Almost all of these started happening about the same time. To begin with my PDC died, and i was forced to seize the fsmo roles to the secondary
domain controller. I had a copy of the dhcp scope and activated it on the "new" primary domain controller and proceeded to clean up the AD and get rid of this orphaned domain controller. Everything ran fine for a while. However then these errors
started popping up. I have a feeling that the exchange server did not like this action, but i cant seem to figure out how to correct it or how to locate WHAT is the real problem. the following are the few errors i am getting, and they might not be related,
understand this is a "in" production exchange server that can, after a reboot, send and rec email, but after a few hours, the incoming stops.
System
Provider
[ Name]
MSExchangeADTopology
EventID
2142
[ Qualifiers]
49156
Level
2
Task
3
Keywords
0x80000000000000
TimeCreated
[ SystemTime]
2014-09-09T20:53:18.000000000Z
EventRecordID
2074501
Channel
Application
Computer
CS-MAIL.$$$$$.com
Security
EventData
Microsoft.Exchange.Directory.TopologyService.exe
3544
$$$$$.com
No Suitable Directory Servers Found in Forest $$$$$.com Site Default-First-Site-Name.
and
System
Provider
[ Name]
MSExchangeDiagnostics
EventID
1006
[ Qualifiers]
49156
Level
2
Task
2
Keywords
0x80000000000000
TimeCreated
[ SystemTime]
2014-09-09T15:21:07.000000000Z
EventRecordID
2072666
Channel
Application
Computer
CS-MAIL.$$$$$.com
Security
EventData
\\CS-MAIL\LogicalDisk(HarddiskVolume1)\Free Megabytes
71.00
15
9/9/2014 3:05:00 PM
None
DatabaseDriveSpaceTrigger
harddiskvolume1
and
System
Provider
[ Name]
Application
EventID
65535
[ Qualifiers]
0
Level
2
Task
0
Keywords
0x80000000000000
TimeCreated
[ SystemTime]
2014-09-09T15:32:14.000000000Z
EventRecordID
2072715
Channel
Application
Computer
CS-MAIL.$$$$$.com
Security
EventData
<TraceRecord xmlns="http://schemas.microsoft.com/2004/10/E2ETraceEvent/TraceRecord" Severity="Error"><TraceIdentifier>http://msdn.microsoft.com/en-US/library/System.ServiceModel.Channels.TcpConnectionResetError.aspx</TraceIdentifier><Description>The
socket connection was aborted. This could be caused by an error processing your message or a receive timeout being exceeded by the ............(limited to 60k characters)
and
System
Provider
[ Name]
Application
EventID
65535
[ Qualifiers]
0
Level
2
Task
0
Keywords
0x80000000000000
TimeCreated
[ SystemTime]
2014-09-09T15:32:14.000000000Z
EventRecordID
2072715
Channel
Application
Computer
CS-MAIL.$$$$.com
Security
EventData
<TraceRecord xmlns="http://schemas.microsoft.com/2004/10/E2ETraceEvent/TraceRecord" Severity="Error"><TraceIdentifier>http://msdn.microsoft.com/en-US/library/System.ServiceModel.Channels.TcpConnectionResetError.aspx</TraceIdentifier><Description>The
socket connection was aborted. This could be caused by an error processing your message or a receive timeout being exceeded by the remote host, or an underlying network resource issue. Local socket timeout was '00:01:00'. The local IP address and port is [::]:6122.
The remote IP address and port is [::1]:890.</Description><AppDomain>MSExchangeFrontendTransport.exe</AppDomain><ExtendedData xmlns="http://schemas.microsoft.com/2006/08/ServiceModel/MessageTraceRecord"></ExtendedData><Exception><ExceptionType>System.ServiceModel.CommunicationException,
System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType><Message>The socket connection was aborted. This could be caused by an error processing your message or a receive timeout being exceeded by the
remote host, or an underlying network resource issue. Local socket timeout was '00:01:00'.</Message><StackTrace> at System.ServiceModel.Channels.SocketConnection.ConvertTransferException(SocketException socketException, TimeSpan timeout, Exception
originalException, TransferOperation transferOperation, Boolean aborted, String timeoutErrorString, TransferOperation timeoutErrorTransferOperation, SocketConnection socketConnection, TimeSpan remainingTime) at System.ServiceModel.Channels.SocketConnection.ConvertSendException(SocketException
socketException, TimeSpan remainingTime) at System.ServiceModel.Channels.SocketConnection.Write(Byte[] buffer, Int32 offset, Int32 size, Boolean immediate, TimeSpan timeout) at System.ServiceModel.Channels.BufferedConnection.WriteNow(Byte[] buffer, Int32 offset,
Int32 size, TimeSpan timeout, BufferManager bufferManager) at System.ServiceModel.Channels.BufferedConnection.Write(Byte[] buffer, Int32 offset, Int32 size, Boolean immediate, TimeSpan timeout) at System.ServiceModel.Channels.ConnectionStream.Write(Byte[]
buffer, Int32 offset, Int32 count) at System.Net.Security.NegotiateStream.StartWriting(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest) at System.Net.Security.NegotiateStream.ProcessWrite(Byte[] buffer, Int32 offset, Int32 count,
AsyncProtocolRequest asyncRequest) at System.Net.Security.NegotiateStream.Write(Byte[] buffer, Int32 offset, Int32 count) at System.ServiceModel.Channels.StreamConnection.Write(Byte[] buffer, Int32 offset, Int32 size, Boolean immediate, TimeSpan timeout) at
System.ServiceModel.Channels.FramingDuplexSessionChannel.CloseOutputSessionCore(TimeSpan timeout) at System.ServiceModel.Channels.TransportDuplexSessionChannel.CloseOutputSession(TimeSpan timeout) at System.ServiceModel.Channels.TransportDuplexSessionChannel.OnClose(TimeSpan
timeout) at System.ServiceModel.Channels.CommunicationObject.Close(TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannel.OnClose(TimeSpan timeout) at System.ServiceModel.Channels.CommunicationObject.Close(TimeSpan timeout) at System.RuntimeMethodHandle.InvokeMethod(Object
target, Object[] arguments, Signature sig, Boolean constructor) at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr,
Binder binder, Object[] parameters, CultureInfo culture) at System.ServiceModel.Channels.ServiceChannelProxy.ExecuteMessage(Object target, IMethodCallMessage methodCall) at System.ServiceModel.Channels.ServiceChannelProxy.InvokeChannel(IMethodCallMessage methodCall)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&amp; msgData, Int32 type) at System.ServiceModel.ICommunicationObject.Close() at Microsoft.Exchange.Net.WcfUtils.DisposeWcfClientGracefully(ICommunicationObject
client, Boolean skipDispose) at Microsoft.Exchange.Net.ServiceProxyPool`1.GetClient(Boolean useCache) at Microsoft.Exchange.Net.ServiceProxyPool`1.TryCallServiceWithRetry(Action`1 action, String debugMessage, WCFConnectionStateTuple proxyToUse, Int32 numberOfRetries,
Boolean doNotReturnProxyOnSuccess, Exception&amp; exception) at Microsoft.Exchange.Data.Directory.ServiceTopologyProvider.GetTopologyVersions(IList`1 partitionFqdns) at Microsoft.Exchange.Data.Directory.TopologyProvider.GetTopologyVersion(String partitionFqdn)
at Microsoft.Exchange.Data.Directory.ConnectionPoolManager.CheckTopologyVersionForRebuild() at Microsoft.Exchange.Data.Directory.ConnectionPoolManager.GetConnection(ConnectionType connectionType, String partitionFqdn, ADObjectId domain, String serverName,
Int32 port, NetworkCredential credential) at Microsoft.Exchange.Data.Directory.ConnectionPoolManager.GetConnection(ConnectionType connectionType, String partitionFqdn) at Microsoft.Exchange.Data.Directory.ADDataSession.GetConnection(String preferredServer,
Boolean isWriteOperation, String optionalBaseDN, ADObjectId&amp; rootId, ADScope scope) at Microsoft.Exchange.Data.Directory.ADDataSession.GetReadConnection(String preferredServer, String optionalBaseDN, ADObjectId&amp; rootId, ADRawEntry scopeDeteriminingObject,
DualSearchMode dualSearchMode) at Microsoft.Exchange.Data.Directory.ADGenericReader.GetNextResultCollection(Type controlType, DirectoryControl&amp; responseControl) at Microsoft.Exchange.Data.Directory.ADPagedReader`1.GetNextResultCollection() at Microsoft.Exchange.Data.Directory.ADGenericPagedReader`1.GetNextPage()
at Microsoft.Exchange.Data.Directory.ADGenericPagedReader`1.&lt;GetEnumerator&gt;d__0.MoveNext() at Microsoft.Exchange.Data.Directory.ADDataSession.ReadBatch[TKey,TData](TKey[] keys, ADObjectId rootId, Converter`2 filterBuilder, QueryFilter
commonFilter, HashInserter`1 hashInserter, HashLookup`2 hashLookup, IEnumerable`1 properties, Boolean includeDeletedObjects, List`1 results) at Microsoft.Exchange.Data.Directory.ADDataSession.ReadMultiple[TKey,TData](TKey[] keys, ADObjectId rootId, Converter`2
filterBuilder, QueryFilter commonFilter, HashInserter`1 hashInserter, HashLookup`2 hashLookup, IEnumerable`1 properties, Boolean includeDeletedObjects) at Microsoft.Exchange.Data.Directory.ADDataSession.ReadMultiple[TKey,TData](TKey[] keys, Converter`2 filterBuilder,
HashInserter`1 hashInserter, HashLookup`2 hashLookup, IEnumerable`1 properties, Boolean includeDeletedObjects) at Microsoft.Exchange.Data.Directory.ADDataSession.ReadMultiple[TKey,TData](TKey[] keys, Converter`2 filterBuilder, HashInserter`1 hashInserter,
HashLookup`2 hashLookup, IEnumerable`1 properties) at Microsoft.Exchange.Data.Directory.Recipient.ADRecipientObjectSession.FindByProxyAddresses[TData](ProxyAddress[] keys, IEnumerable`1 properties) at Microsoft.Exchange.Data.Directory.Recipient.ADRecipientCache`1.&lt;&gt;c__DisplayClass16.&lt;FindAndCacheRecipients&gt;b__13()
at Microsoft.Exchange.Data.Directory.ADNotificationAdapter.RunADOperation(ADOperation adOperation, Int32 retryCount) at Microsoft.Exchange.Data.Directory.Recipient.ADRecipientCache`1.FindAndCacheRecipients(IList`1 proxyAddressList) at Microsoft.Exchange.Transport.Categorizer.ProxyHubSelector.&lt;&gt;c__DisplayClass1.&lt;GetRecipientDatabases&gt;b__0()
at Microsoft.Exchange.Data.Directory.ADNotificationAdapter.RunADOperation(ADOperation adOperation, Int32 retryCount) at Microsoft.Exchange.Data.Directory.ADNotificationAdapter.TryRunADOperation(ADOperation adOperation, Int32 retryCount) at Microsoft.Exchange.Transport.Categorizer.ProxyHubSelector.GetRecipientDatabases(IReadOnlyMailItem
mailItem) at Microsoft.Exchange.Transport.Categorizer.ProxyHubSelector.TrySelectHubServers(IReadOnlyMailItem mailItem, IEnumerable`1&amp; hubServers) at Microsoft.Exchange.Transport.FrontendProxyRoutingAgent.FrontendProxyAgent.OnProxyInboundMessageEventHandler(ProxyInboundMessageEventSource
source, ProxyInboundMessageEventArgs e) at Microsoft.Exchange.Data.Transport.Smtp.SmtpReceiveAgent.Invoke(String eventTopic, Object source, Object e) at Microsoft.Exchange.Data.Transport.Internal.MExRuntime.Dispatcher.Invoke(MExSession session) at Microsoft.Exchange.Data.Transport.Internal.MExRuntime.MExSession.Invoke()
at Microsoft.Exchange.Data.Transport.Internal.MExRuntime.MExSession.AsyncInvoke(Object state) at Microsoft.Exchange.Data.Transport.Internal.MExRuntime.MExSession.BeginInvoke(String topic, Object source, Object e, AsyncCallback callback, Object callbackState)
at Microsoft.Exchange.Protocols.Smtp.DataInboundProxySmtpCommand.RaiseProxyInboundMessageEvent(ISmtpInSession session, AsyncCallback callback) at Microsoft.Exchange.Protocols.Smtp.DataInboundProxySmtpCommand.ContinueEndOfHeaders(IAsyncResult ar) at Microsoft.Exchange.Data.Transport.Internal.MExRuntime.MExAsyncResult.InvokeCompleted()
at Microsoft.Exchange.Data.Transport.Internal.MExRuntime.MExSession.AsyncInvoke(Object state) at Microsoft.Exchange.Data.Transport.Internal.MExRuntime.MExSession.BeginInvoke(String topic, Object source, Object e, AsyncCallback callback, Object callbackState)
at Microsoft.Exchange.Protocols.Smtp.BaseDataSmtpCommand.RaiseEOHEvent(Object state, ISmtpInSession session, AsyncCallback callback, EndOfHeadersEventArgs eventArgs) at Microsoft.Exchange.Protocols.Smtp.DataInboundProxySmtpCommand.RawDataReceived(Byte[] data,
Int32 offset, Int32 numBytes) at Microsoft.Exchange.Protocols.Smtp.SmtpInSession.ReadComplete(IAsyncResult asyncResult) at Transport.AgentFactories.FrontendAgent.FrontendAgentFactory.ReadComplete(IAsyncResult asyncResult) at Microsoft.Exchange.Net.LazyAsyncResult.WorkerThreadComplete(Object
state) at Microsoft.Exchange.Net.LazyAsyncResult.Complete(IntPtr userToken) at Microsoft.Exchange.Net.LazyAsyncResult.ProtectedInvokeCallback(Object value, IntPtr userToken) at Microsoft.Exchange.Net.NetworkConnection.InvokeRecvCallback(LazyAsyncResultWithTimeout
asyncResult, Object result) at Microsoft.Exchange.Net.NetworkConnection.ReadDataAvailable(IAsyncResult asyncResult) at System.Net.LazyAsyncResult.Complete(IntPtr userToken) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext,
ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext
executionContext, ContextCallback callback, Object state) at System.Net.ContextAwareResult.Complete(IntPtr userToken) at System.Net.Sockets.BaseOverlappedAsyncResult.CompletionPortCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped)
at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP) </StackTrace><ExceptionString>System.ServiceModel.CommunicationException: The socket connection was aborted. This
could be caused by an error processing your message or a receive timeout being exceeded by the remote host, or an underlying network resource issue. Local socket timeout was '00:01:00'. ---&gt; System.Net.Sockets.SocketException: An existing connection
was forcibly closed by the remote host at System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags) at System.ServiceModel.Channels.SocketConnection.Write(Byte[] buffer, Int32 offset, Int32 size, Boolean immediate, TimeSpan
timeout) --- End of inner exception stack trace ---</ExceptionString><InnerException><ExceptionType>System.Net.Sockets.SocketException, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType><Message>An
existing connection was forcibly closed by the remote host</Message><StackTrace> at System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags) at System.ServiceModel.Channels.SocketConnection.Write(Byte[] buffer,
Int32 offset, Int32 size, Boolean immediate, TimeSpan timeout)</StackTrace><ExceptionString>System.Net.Sockets.SocketException (0x80004005): An existing connection was forcibly closed by the remote host at System.Net.Sockets.Socket.Send(Byte[]
buffer, Int32 offset, Int32 size, SocketFlags socketFlags) at System.ServiceModel.Channels.SocketConnection.Write(Byte[] buffer, Int32 offset, Int32 size, Boolean immediate, TimeSpan timeout)</ExceptionString><NativeErrorCode>2746</NativeErrorCode></InnerException></Exception></TraceRecord>
System
Provider
[ Name]
MSExchange ADAccess
EventID
2454
[ Qualifiers]
49156
Level
2
Task
9
Keywords
0x80000000000000
TimeCreated
[ SystemTime]
2014-09-09T20:53:20.000000000Z
EventRecordID
2074712
Channel
Application
Computer
CS-MAIL.$$$$$.com
Security
EventData
w3wp.exe (AutoDisc)
8260
Microsoft.Exchange.Data.Directory.ADTransientException: Could not find any available Domain Controller. at Microsoft.Exchange.Data.Directory.ConnectionPoolManager.GetConnection(ConnectionType connectionType,
String partitionFqdn, ADObjectId domain, String serverName, Int32 port, NetworkCredential credential) at Microsoft.Exchange.Data.Directory.ADNotificationListener.TryIssueNotificationRequests(List`1 notificationRequest) at Microsoft.Exchange.Data.Directory.ADNotificationListener.ReissueNotificationRequests(Boolean
throwOnFailure, Boolean reissueIfListening) at Microsoft.Exchange.Data.Directory.ConnectionPoolManager.<>c__DisplayClass8.<RebuildNonPartitionScopedConnectionPoolManager>b__6()
Like i said, i assume that the exchange server cant "talk" to the domain controller. (yet AD is on the exchange server), how do i FIX this "while in production"?
Any help in what direction to look to solve this will be greatly appreciated.
"Once you have eliminated the impossible, whatever remains, however improbable, must be the truth." ~SpockI corrected the issue, well at least the main problem. I know this is going to sound weird, but had to due with an update to the exchange server. (surprise, surprise).
About a year ago i set this exchange up and needed to add a receive connector. (for some older printers/copiers that scan to email.) i set up and internal rec connector based on ip list. A couple of months later, the printers/copiers are upgrade, policies
are changed, scan to email is stopped, ........although the new printer/copiers retain their static ip and the connector is not removed.
Apparently, the update is installed. (we had a major power outage that drained our UPSs and shut down the servers.) this started the update process. (which is something i now have insured does not happen again, which is another story). When the machines
rebooted, my PDC was broken but the exchange server seemed fine.
That exchange update "BROKE" something involving my transport service. about every 6 hours the server would shut off. I found an article online that mentioned, in passing, something about all send / rec connectors that were NOT default maybe being
an issue and removing them.
Apparently that was it. I went into to my exchange box and removed the custom rec connector and no more problem. I do not understand the MSExchange ADAccess / w3wp.exe error, but it no longer is present.
I still have
System
Provider
[ Name]
MSExchangeDiagnostics
EventID
1006
[ Qualifiers]
49156
Level
2
Task
2
Keywords
0x80000000000000
TimeCreated
[ SystemTime]
2014-09-09T15:21:07.000000000Z
EventRecordID
2072666
Channel
Application
Computer
CS-MAIL.$$$$$.com
Security
EventData
\\CS-MAIL\LogicalDisk(HarddiskVolume1)\Free Megabytes
71.00
15
9/9/2014 3:05:00 PM
None
DatabaseDriveSpaceTrigger
harddiskvolume
But will look for that in another thread..
"Once you have eliminated the impossible, whatever remains, however improbable, must be the truth." ~Spock -
Error in doing container managed sign on with Resource Adaptor
Hi,
I have developed a Resource Adaptor. I have written a jsp file using which I want to do container managed sign on. I have followed all the steps given on bea site.
http://e-docs.bea.com/wls/docs81/secmanage/credential_maps.html#1100282
I have created a user in default security realm. After that I deployed my Resource Adaptor file. I defined the credential mapping for this RA with user name defined in realm & EIS user name & password. I have not defined any security role & policy for this RA.
When I deploy my web application which consist of single jsp & web.xml , I get the following error.
<Sep 10, 02004 12:43.29.890 PM> : ExecuteThread: '13' for queue: 'weblogic.kernel.Default' : FN_IS_SpiManagedConnectionFactory: createManagedConnection: Entered into the method.
<Sep 10, 02004 12:43.29.906 PM> : ExecuteThread: '13' for queue: 'weblogic.kernel.Default' : javax.resource.ResourceException: : Invalid arguments passed .
<Sep 10, 02004 12:43.29.921 PM> : ExecuteThread: '13' for queue: 'weblogic.kernel.Default' : javax.resource.ResourceException: : Invalid arguments passed .
This simply means that my Subject & ConnectionRequestInfo are null in createManagedConnectionFactory.
When i define a security role & policy for my RA, I get the following error.
<Sep 10, 2004 4:58:29 PM GMT+05:30> <Warning> <Connector> <BEA-190064> <Access has been denied to ISRA_ISCF - Application: while reserving a connection.>
<Sep 10, 02004 4:58.29.428 PM> : ExecuteThread: '14' for queue: 'weblogic.kernel.Default' : javax.resource.spi.Applica
ionServerInternalException: Access to resource adapterISRA_ISCFhas been denied.
ResourceException ecnountered
javax.resource.spi.ApplicationServerInternalException: Access to resource adapterISRA_ISCFhas been denied.
at weblogic.connector.common.internal.ConnectionPoolManager.getConnection(ConnectionPoolManager.java:654)
at weblogic.connector.common.internal.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:106)
at com.filenet.is.ra.cci.FN_IS_CciConnectionFactory.getConnection(Unknown Source)
here is my jsp code.
try
ConnectionFactory connectionFactory = null;
Connection connection = null;
//Get the InitialContextFactory
Context context = new InitialContext();
//Perform JNDI Lookup
connectionFactory =(ConnectionFactory)context.lookup ("ISCF");
try
//ConnectionSpec connectionSpec = new FN_IS_CciConnectionSpec("SysAdmin", "camelot");
//connection = connectionFactory.getConnection(connectionSpec);
connection = connectionFactory.getConnection();
System.out.println("getConnection successful");
catch(ResourceException re)
System.out.println("ResourceException ecnountered");
re.printStackTrace();
catch(Exception re)
System.out.println("Exception ecnountered");
re.printStackTrace();
System.out.println("connection created");
FN_IS_CciInteractionSpec interactionSpec = new FN_IS_CciInteractionSpec();
interactionSpec.setFunctionName("GetWorkspaces");
RecordFactory recordFactory = connectionFactory.getRecordFactory();
MappedRecord mappedRecord = recordFactory.createMappedRecord("blank");
Interaction interaction = connection.createInteraction();
//Execute the interaction
IndexedRecord indexedRecord = (IndexedRecord)interaction.execute(interactionSpec, mappedRecord);
ListIterator list = indexedRecord.listIterator();
while (list.hasNext())
System.out.println((String)list.next() + "<br>");
System.out.println("Done<br>");
catch (Exception e)
e.printStackTrace();
System.out.println(" Message = " + e.getMessage());
System.out.println(" toString = " + e.toString());
here iam doing lookup of the connection factory & calling getConnection() method & simply executing an interaction.
Can anyone help me what could be the possible cause of the problem.You might want to post this query to one of the websphere forums.
- Binod. -
DC Restart when start installing Exchange 2013 CU6
I have a domain installed on windows server 2012 R2 with function level 2008 R2 and when i try to install "as a administrator" Update for exchange 2013 CU6 or CU5 DC restart and am facing this error :
Error:
The following error was generated when "$error.Clear();
install-CannedAddressLists -DomainController $RoleDomainController
" was run: "Microsoft.Exchange.Data.Directory.ADTransientException: Failed to reconnect to Active Directory server Make sure the server is available, and that you have used the correct credentials. ---> System.DirectoryServices.ActiveDirectory.ActiveDirectoryServerDownException:
Active Directory server is not available. Please retry at a later time.
--- End of inner exception stack trace ---
at Microsoft.Exchange.Data.Directory.ConnectionPoolManager.GetConnectionFromPool(ConnectionPoolType connectionPoolType, ADObjectId domain, String serverName, Int32 port, Boolean& serverConnectionPresentButDownOrDisconnected)
at Microsoft.Exchange.Data.Directory.ConnectionPoolManager.GetConnection(ConnectionType connectionType, String partitionFqdn, ADObjectId domain, String serverName, Int32 port, NetworkCredential credential)
at Microsoft.Exchange.Data.Directory.ConnectionPoolManager.GetConnection(ConnectionType connectionType, String partitionFqdn, NetworkCredential networkCredential, String serverName, Int32 port)
at Microsoft.Exchange.Data.Directory.ADDataSession.GetConnection(String preferredServer, Boolean isWriteOperation, String optionalBaseDN, ADObjectId& rootId, ADScope scope)
at Microsoft.Exchange.Data.Directory.ADDataSession.GetWritableConnection(String preferredServer, ADObjectId identity, ADRawEntry scopeDeterimingObject)
I already prepare AD and Schema before start install
Please Advice ThanksHi Midoooz
Thank you for your question.
Do you install the Exchange Server on the DC?
From you posted error, I think you can try to make your exchange server in maintenance mode, then you can try install exchange CU6.
You can refer to the following link:
http://support2.microsoft.com/kb/2713696
Note:
Stop Maintenance Mode on the computer that is running Exchange Server after the Exchange Server 2013 CU6 upgrade is completed.
If there are any questions, please let me know.
Best Regard,
Jim -
Exchange randomly Looses AD connecting
Hi Guys,
sorry for my bad english.
Can some one please help me with the following error.
Our exchange 2013 server can't find the Domain controller randomly. if we restart the exchange server, everything is working fine again for a couple of days.
Below is the error log.
Process Microsoft.Exchange.ServiceHost.exe (EMS) (PID=2992). Failed to reissue notifications. Error:Microsoft.Exchange.Data.Directory.ADTransientException: Failed to create a
connection to any of the servers in the topology provider.
at Microsoft.Exchange.Data.Directory.ConnectionPoolManager.GetConnection(ConnectionType connectionType, String partitionFqdn, ADObjectId domain, String serverName,
Int32 port, NetworkCredential credential)
at Microsoft.Exchange.Data.Directory.ConnectionPoolManager.GetConnection(ConnectionType connectionType, String partitionFqdn)
at Microsoft.Exchange.Data.Directory.Diagnostics.ADScenarioLog.InvokeWithAPILog[T](DateTime whenUTC, String name, Guid activityId, String implementation, String caller,
Func`1 action, Func`1 getDcFunc)
at Microsoft.Exchange.Data.Directory.SystemConfiguration.ADTopologyConfigurationSession.InvokeWithAPILogging[T](Func`1 action, String memberName)
at Microsoft.Exchange.Data.Directory.ADNotificationListener.TryIssueNotificationRequests(List`1 notificationRequest)
at Microsoft.Exchange.Data.Directory.ADNotificationListener.ReissueNotificationRequests(Boolean throwOnFailure, Boolean reissueIfListening)
at Microsoft.Exchange.Data.Directory.ConnectionPoolManager.<>c__DisplayClass8.<RebuildNonPartitionScopedConnectionPoolManager>b__6()Hi Musti61,
On current situation, please refer to following steps and check if can help you.
Please check if can ping DC from this Exchange Server successfully.
Please check if the DC which the Exchange server connect to is registered correctly on the DNS server.
Please use the
Dcdiag tool to test domain controller health. Any find?
In addition, this issue seems to be more related to Exchange Server 2013. I suggest that you would post the
question in
Exchange Server Forum. I believe we will get a better assistance there.
Hope this helps.
Best regards,
Justin Gu
Maybe you are looking for
-
I am going to be doing an online course for a University in the area, and need to upload a video introduction. I am wondering whether there is a way to use the Facetime system to record to IMovie or similar system? Alternatively, can I turn on the
-
Hi ALL I am trying to run that following dump utility on my corrupt DIS File, I am not successful , but if run that following command on my correct file (Working File) it gives me the result. d51wkdmp "C:\XX DISCOVERER REPORT.DIS" c:\PA_EXP_DUMP.TXT
-
Selecting records which are greater than or of current week
Hi I have a table having table structure CREATE TABLE OMPPRODUCTION LOCATIONID VARCHAR2(200 BYTE) NOT NULL , IPC VARCHAR2(200 BYTE) NOT NULL , PRODUCTIONWEEK VARCHAR2(200 BYTE) NOT NULL , QUANTITY VARCHAR2(2000 BYTE) , PRODUCTIONCODE VARCHAR2(2000 BY
-
hi all i am a newbie in web development. and i found dreamweaver very useful to me. but i was dissapointed in one thing. i wanted to know how to create a flash button in dreamweaver for my new site Face Anti Wrinkle. but i couldnt find a way. and wha
-
So I'm downloading Mountain Lion trying to figure all the new bits! Seems like one is you can see the tabs in Safari on my iPad. So icloud is set up on both devices, I open Safari on my iMac and my iPad. Open a few pages on my iPad, and look on my iM