users@glassfish.java.net

Unable to create a Connector Connection Pool (GF 3.1)

From: <forums_at_java.net>
Date: Wed, 3 Aug 2011 14:02:02 -0500 (CDT)

I am trying to deploy my application to one of the servers.I need to create a
Connector connection pool for my app.So I did that by going to localhost:4848
url.But When I ping it,I get this error -

"Ping Connection Pool for jms/SimpleConnectionFactory is Failed. Ping failed
Exception - null Please check the server.log for more details."   Logs have
this -
[#|2011-08-03T11:52:21.508-0700|WARNING|oracle-glassfish3.1|javax.enterprise.resource.resourceadapter.com.sun.enterprise.connectors.service|_ThreadID=73;_ThreadName=Thread-1;|RAR8054:
Exception while creating an unpooled [test] connection for pool [
jms/simplePool ], null|#]
  Moreover,I am unable to deploy my app because of this.When I try to
deploy,I get this exception stack trace in logs -  
*java.lang.RuntimeException: EJB Container initialization error*
        at
org.glassfish.ejb.startup.EjbApplication.loadContainers(EjbApplicatio
n.java:246)
        at
org.glassfish.ejb.startup.EjbDeployer.load(EjbDeployer.java:290)
        at
org.glassfish.ejb.startup.EjbDeployer.load(EjbDeployer.java:101)
        at
org.glassfish.internal.data.ModuleInfo.load(ModuleInfo.java:186)
        at
org.glassfish.internal.data.ApplicationInfo.load(ApplicationInfo.java
:249)
        at
com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationL
ifecycle.java:460)
        at
com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationL
ifecycle.java:240)
        at
org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.ja
va:370)
*Caused by: java.lang.NullPointerException*
        at
com.sun.messaging.jms.ra.DirectConnectionFactory._createConnectionId(
DirectConnectionFactory.java:424)
        at
com.sun.messaging.jms.ra.DirectConnectionFactory._createConnection(Di
rectConnectionFactory.java:522)
        at
com.sun.messaging.jms.ra.EndpointConsumer.createDirectMessageConsumer
(EndpointConsumer.java:752)
        at
com.sun.messaging.jms.ra.EndpointConsumer._init(EndpointConsumer.java
:306)
        at
com.sun.messaging.jms.ra.EndpointConsumer.<init>(EndpointConsumer.jav
a:185)
        at
com.sun.messaging.jms.ra.ResourceAdapter.endpointActivation(ResourceA
dapter.java:475)
        at
com.sun.enterprise.connectors.inbound.ConnectorMessageBeanClient.setu
p(ConnectorMessageBeanClient.java:225)     What can be the issue?
 

--
[Message sent by forum member 'Jitesh_S']
View Post: http://forums.java.net/node/829323