Hi,
I have mbean called 'Startup'.It is registered fine. I have probelm in
accessing mbean from a servlet using jndi lookup.Can anybody help me?

thanks,
Chandra

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of thebadpete
Sent: Tuesday, November 09, 2004 11:22 AM
To: [EMAIL PROTECTED]
Subject: [JBoss-user] [Persistence & CMP/JBoss] - Re: problem with jboss
4.0.0 and mysql 4.0.21


Hi there,

I have EXACTLY the same problem. I just tried 4.0.1RC1, and this time, I got
a slightly different problem:

00:00:48,420 ERROR [DatabasePersistencePolicy] Starting failed
jboss.ejb:persistencePolicy=database,service=EJBTimerService
java.sql.SQLException: Syntax error or access violation message from server:
"You have an error in your SQL syntax.  Check the manual that corresponds to
your MySQL server version for the right syntax to use near 'INTERVAL BIGINT,
INSTANCEPK LONGBLOB,  INFO LONGBLOB,  constra"
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:1997)
        at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1167)
        at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1278)
        at com.mysql.jdbc.MysqlIO.sqlQuery(MysqlIO.java:1224)
        at com.mysql.jdbc.Connection.execSQL(Connection.java:2244)
        at com.mysql.jdbc.Connection.execSQL(Connection.java:2192)
        at com.mysql.jdbc.Statement.executeUpdate(Statement.java:1259)
        at com.mysql.jdbc.Statement.executeUpdate(Statement.java:1205)
........

So the ejb-deployer.xml is different from the one in 4.0.0, but I am still
getting the SQL syntax issue. Anyone has any clue? 

Pete


View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854442#3854442

Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854442


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to