WebLogic support - NullPointerException when deploying JCA

This is Interesting: Free IT Magazines  
Home > Archive > WebLogic support > September 2004 > NullPointerException when deploying JCA





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author NullPointerException when deploying JCA
Zia Khan

2004-09-08, 5:51 pm

Hi,
This is my first time writting a JCA and I have written a simple JCA
to print "hello world". When I deploy this Adapter I get following
exception from the container. Does anyone know what is wrong or has
someone seen a similar problem before?

The Exception message is:

<Sep 8, 2004 3:51:20 PM CEST> <Info> <Connector> <190014>
<Initializing connection pool for resource adapter MY Sample
JCA_MyAdapter.>
<Sep 8, 2004 3:51:20 PM CEST> <Info> <Connector> <190010> <Unable to
determine Resource Principal for Container Managed Security Context.>
java.lang.NullPointerException
at weblogic.connector.common.internal.ConnectionPool.makeResources(ConnectionPool.java:1095)
at weblogic.connector.common.internal.ConnectionPool.<init>(ConnectionPool.java:528)
at weblogic.connector.common.internal.ConnectionPoolManager. addManagedConnectionFactory(ConnectionPo
olManager.java:62)
at weblogic.connector.deploy.ConnectorDeployer.activate(ConnectorDeployer.java:290)
at weblogic.connector.deploy.ConnectorModule.activate(ConnectorModule.java:221)
at weblogic.j2ee.J2EEApplicationContainer.activateModule(J2EEApplicationContainer.java:1592)
at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:1029)
at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:966)
at weblogic.management.deploy.slave.SlaveDeployer. setActivationStateForAllApplications(Sla
veDeployer.java:619)
at weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.java:376)
at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl. resume(DeploymentManagerServerLifeCycleI
mpl.java:235)
at weblogic.t3.srvr.ServerLifeCycleList.resume(ServerLifeCycleList.java:61)
at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:806)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:295)
at weblogic.Server.main(Server.java:32)
<Sep 8, 2004 3:51:21 PM CEST> <Info> <Connector> <190026> << MY Sample
JCA_MyAdapter > Connection Pool initialization has completed
successfully.>


Any help would be appreciated.

Thanks,

Zia Khan
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com