Problem with EJB+DataSource in JBoss
Yes, I am using this parameter:
cocosource.inj2eecontainer=true
I think the use of this parameter resolved the problem.
Nowadays We have other kind of problem in an application with EJBs:
We have a 4 MDBs that may work in parallel.
When we send many data to the process and they begin to work in parallel, with DataSource in JBoss, a load operation doesn?t find the data that exists and Cocobase doesn?t show any error.
When we don?t use DataSource, the problem doesn?t occur.
We are using the version 4.5 (SP 8).
We doesn?t use CMPs or BMPs. We use a Utility Jar (in EAR) that are shared with other 2 Projects (EJB Project, Web Project) which are modules from the same EAR. The Utility Project has business classes that invokes database operations.
The Web Project starts the connection pool by a servlet.
What are we doing wrong?
Thank you,
Fernanda
|