Hello,
I am currently trying to adapt EJB's developped under J2EE to JBoss. I
simply copy the ear file to the deploy directory. The beans get deployed
fine, except for the database configuration.
Under J2EE, I am working with a MS SQLServer database referenced in the JNDI
as jdbc/SQLServer.
I configured my driver under the jboss.conf, jboss.jcml and
jboss.properties. Each time a database name is request I type
jdbc/SQLServer.
The database pool is initalized correctly. I get the following messages :
[jdbc/SQLServer] Initializing
[jdbc/SQLServer] Initialized
and a bit later
[jdbc/SQLServer] Starting
[jdbc/SQLServer] XA Connection pool jdbc/SQLServer bound to
java:/jdbc/SQLServer
[jdbc/SQLServer] Started
When I try to use the database, the container keeps finding the default
datasource. For BMP I resolved the problem by setting up the default Data
Source to my MSSQL database.
But when I try to start CMP, the database is not found.
So here are my questions :
- From the log you can see, what is the JNDI name stored by Jboss
(jdbc/SQLServer or java:/jdbc/SQLServer) ?
- How can I get the list of name known by the server ?
- How are database connection handled by JBoss ? It seams that there is a
default data source for BMP (where is it defined ?) and not fot CMP.
Can someone help me ?
Thanks
Olivier Doucet
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
List Help?: [EMAIL PROTECTED]