geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Heuer <sh...@gmx.de>
Subject Can't "lookup" serverwide db pool from EAR application
Date Thu, 10 May 2007 08:50:20 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
 
Hi,

I'm trying to setup a java enterprise application, a EAR file
containing a EJB module and a WAR module. To get data I want to use an
serverwide datapool. With the geronimo database pool wizard I created
the pool without problems. I want to reach the database per JNDI from
a enterprise session bean. But I get always the error:

javax.naming.NameNotFoundException: env/jdbc/DBPool

I've tried to derive my application from the BankManager example from
geronimo web page. I attached my config files and the bean code as a
zip package.

I'm using eclipse with ant and xdoclet on windows xp with java 1.6.01.


Thanks

Stefan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
iD8DBQFGQtzLirQ0Ts08AdMRAh0LAKCM4INlsU9kaMhYeMyv/0m5HMnqPQCeJbXl
gbY9JOJ2jc8d+w58vjPAOkM=
=YGfF
-----END PGP SIGNATURE-----


Mime
View raw message