geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From purdticker <core...@rocketmail.com>
Subject Connecting my application to a connection pool
Date Thu, 14 Aug 2008 21:51:12 GMT

I've deployed a database pool on my geronimo server.  Now, I'm trying to
connect my application to that pool.

I tried following the directions from the "Usage" link next to that pool,
but I get an error (seen below).

My web.xml and geronimo-web.xml:
http://www.nabble.com/file/p18990389/web.xml web.xml 
http://www.nabble.com/file/p18990389/geronimo-web.xml geronimo-web.xml 


The error when deploying:

Distribution of module failed.  See log for details.
  Unable to resolve resource reference 'EBSPool' (Could not auto-map to
resource.  Try adding a resource-ref mapping to your Geronimo deployment
plan.
  Search conducted in current module and dependencies:
  [ALL: org.apache.geronimo.configs/j2ee-server//car]
  [ALL: org.apache.geronimo.configs/openejb//car]
  [ALL: org.apache.geronimo.configs/system-database//car]
  [ALL: org.apache.geronimo.configs/jetty6//car]
  [ALL: org.apache.geronimo.configs/j2ee-corba-yoko//car]
  [ALL: org.apache.geronimo.configs/openjpa//car]
  [ALL: org.apache.geronimo.configs/axis//car]
  [ALL: org.apache.geronimo.configs/cxf//car]
  )
  org.apache.geronimo.common.DeploymentException: Unable to resolve resource
reference 'EBSPool' (Could not auto-map to resource.  Try adding a
resource-ref mapping to your Geronimo deployment plan.
  Search conducted in current module and dependencies:
  [ALL: org.apache.geronimo.configs/j2ee-server//car]
  [ALL: org.apache.geronimo.configs/openejb//car]
  [ALL: org.apache.geronimo.configs/system-database//car]
  [ALL: org.apache.geronimo.configs/jetty6//car]
  [ALL: org.apache.geronimo.configs/j2ee-corba-yoko//car]
  [ALL: org.apache.geronimo.configs/openjpa//car]
  [ALL: org.apache.geronimo.configs/axis//car]
  [ALL: org.apache.geronimo.configs/cxf//car]
  )
  	at
org.apache.geronimo.connector.deployment.ResourceRefBuilder.buildNaming(ResourceRefBuilder.java:216)
  	at
org.apache.geronimo.j2ee.deployment.NamingBuilderCollection.buildNaming(NamingBuilderCollection.java:53)
  	at
org.apache.geronimo.openejb.deployment.EjbDeploymentBuilder.addEnc(EjbDeploymentBuilder.java:321)
  	at
org.apache.geronimo.openejb.deployment.EjbDeploymentBuilder.buildEnc(EjbDeploymentBuilder.java:286)
  	at
org.apache.geronimo.openejb.deployment.EjbModuleBuilder.addGBeans(EjbModuleBuilder.java:761)
  	at
org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:647)
  	at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:254)
  	at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:133)
  	at sun.reflect.GeneratedMethodAccessor198.invoke(Unknown Source)
  	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  	at java.lang.reflect.Method.invoke(Unknown Source)
  	at
org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
  	at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)
  	at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:867)
  	at
org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:239)
  	at org.apache.geronimo.kernel.KernelGBean.invoke(KernelGBean.java:342)
  	at sun.reflect.GeneratedMethodAccessor106.invoke(Unknown Source)
  	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  	at java.lang.reflect.Method.invoke(Unknown Source)
  	at
org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
  	at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)
  	at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:867)
  	at
org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:239)
  	at
org.apache.geronimo.system.jmx.MBeanGBeanBridge.invoke(MBeanGBeanBridge.java:172)
  	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Unknown
Source)
  	at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Unknown Source)
  	at javax.management.remote.rmi.RMIConnectionImpl.doOperation(Unknown
Source)
  	at javax.management.remote.rmi.RMIConnectionImpl.access$200(Unknown
Source)
  	at
javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(Unknown
Source)
  	at java.security.AccessController.doPrivileged(Native Method)
  	at
javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(Unknown
Source)
  	at javax.management.remote.rmi.RMIConnectionImpl.invoke(Unknown Source)
  	at sun.reflect.GeneratedMethodAccessor83.invoke(Unknown Source)
  	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  	at java.lang.reflect.Method.invoke(Unknown Source)
  	at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
  	at sun.rmi.transport.Transport$1.run(Unknown Source)
  	at java.security.AccessController.doPrivileged(Native Method)
  	at sun.rmi.transport.Transport.serviceCall(Unknown Source)
  	at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
  	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(Unknown
Source)
  	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown
Source)
  	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
  	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
  	at java.lang.Thread.run(Unknown Source)
-- 
View this message in context: http://www.nabble.com/Connecting-my-application-to-a-connection-pool-tp18990389s134p18990389.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.


Mime
View raw message