Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Deploying EJB with MySql fails because persistence store couldn't set up

0 views
Skip to first unread message

Dirk

unread,
May 11, 2002, 5:46:28 PM5/11/02
to

What's my failure here?
Creation of the Conectionpool succeeded:

-->
Sa Mai 11 23:42:08 CEST 2002:<I> <JDBC Pool> Creating connection pool ejbTestPool
wit
h:
{aclName=weblogic.jdbc.connectionPool.ejbTestPool, maxCapacity=2, initialCapacity=1,
url=jdbc:mysql://localhost:3306/ejbTest, props=user=du-it;password=du-it;server=local
host, capacityIncrement=1, driver=org.gjt.mm.mysql.Driver, poolName=ejbTestPool}
Sa Mai 11 23:42:09 CEST 2002:<I> <JDBC Pool> Connection for pool "ejbTestPool" create
d.
<--

But then this error messages occurs:

Sa Mai 11 23:42:12 CEST 2002:<E> <EJB> Could not deploy: 'd:/server/weblogic51/myserv
er/EjbTest.jar'
Possible reasons include:
1. The bean or an interface class has been modified but
the deployment descriptor has not been updated
2. The database mappings in the deployment descriptor do not
match the database definition
3. The jar file is not a valid jar file
4. The jar file does not contain a valid bean
weblogic.ejb.common.DeploymentException: Could not setup the persistence store for
th
is bean.; nested exception is:
weblogic.cmp.rdbms.ConnectionPoolException: Could not open connection pool
na
med 'EjbTestPool'. Cannot deploy CMP Entity Bean.
weblogic.cmp.rdbms.ConnectionPoolException: Could not open connection pool named
'Ejb
TestPool'. Cannot deploy CMP Entity Bean.
at weblogic.cmp.rdbms.PSRdbms_Base.columnIsInTable(PSRdbms_Base.java:262)
at weblogic.cmp.rdbms.PSRdbms_Base.columnsAreInTable(PSRdbms_Base.java:226)
at weblogic.cmp.rdbms.PSRdbms_Base.baseSetup(PSRdbms_Base.java:114)

Slava Imeshev

unread,
May 12, 2002, 9:02:01 PM5/12/02
to
Hi Dirk,

Try to increase size of the pool. The minimal recommended size is 15
connections.

Regards,

Slava Imeshev

"Dirk" <Dirk....@gmx.de> wrote in message
news:3cdd9134$1...@newsgroups2.bea.com...

0 new messages