Hi Philippe,
> it will be fine if you could send us the xml files for the BMP beans
> that runs
> and the xml files for the CMP files that doesn't.
> + the jonas.datasources property in jonas.properties
Thanks for your reply. I have attached the files that you asked for. The BMP
files (that deploy okay) are:
BMP-ejb-jar.xml
jonas-BMP-ejb-jar.xml
The CMP files (that throw the exception during server start-up) are:
jonas-ejb-jar.xml
ejb-jar.xml
I have also included "datastore.properties" which is the file referenced
from my "jonas.properties" entry:
jonas.datasources datastore
> there is something confusing in your traces:
> getDatasourceJndiName()=weblogic.jdbc.connectionPool.demoPool
> it seems it remains some links to a previous weblogic environment
It should only be by name only though. I have just so happened to call my
"datasource.name" entry "weblogic.jdbc.connectionPool.demoPool". I have
included the server trace below that is outputed during startup:
...
Env.getDataSources()
Env.getDataSource()
datasource =datastore
DataBaseManager.createConnectionManagers()
DataBaseManager.createConnectionManager()
ConnectionManager.ConnectionManager()
XADataSourceImpl.XADataSourceImpl()
ConnectionManager.setDataSourceName: weblogic.jdbc.connectionPool.demoPool
XADataSourceImpl.setDataSourceName(weblogic.jdbc.connectionPool.demoPool)
ConnectionManager.setUrl(String
jdbc:weblogic:mssqlserver4:@endor:1433:Darwin)
ConnectionManager.setClassName(String weblogic.jdbc.mssqlserver4.Driver)
Load JDBC driver weblogic.jdbc.mssqlserver4.Driver
PoolKeeper: started
ConnectionManager.setUserName(String SQLuser)
ConnectionManager.setPassword(String SQLuser)
ConnectionManager configured with:
jdbcConnCheckLevel = 1
jdbcConnMaxAge = 30
jdbcConnMaxThreads = 4
jdbcConnExclTimeout = 30
jdbcTestStmt = SELECT 1
Mapping datasource jdbc:weblogic:mssqlserver4:@endor:1433:Darwin on
weblogic.jdbc.connectionPool.demoPool
...
Thank you for your help.
Best Regards,
Andy.
BMP-ejb-jar.xml
ejb-jar.xml
jonas-BMP-ejb-jar.xml
jonas-ejb-jar.xml
datastore.properties