File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JBoss/WildFly and the fly likes CMP Roster example Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "CMP Roster example" Watch "CMP Roster example" New topic
Author

CMP Roster example

Jose Alvarez de Lara
Ranch Hand

Joined: May 10, 2008
Posts: 92
I am trying with CMP and it does not work. First I try with Roster CMP example against MySQL and the server responses with an exception regarding datasource not found, and I have configured the descriptor mysql-ds.xml as the tutorial explain. In fact the tutorial explains how to use MySQL with Roster CMP example.

If you know what I am talking about, will you post me the descriptors of the application.

Thanking you in advance,
Jose Alvarez de Lara
Jose Alvarez de Lara
Ranch Hand

Joined: May 10, 2008
Posts: 92
Well, I have configured the xml files to use Jboss 4.0.0 with MySQL 5.0
and I have a problem,

10:12:19,470 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
MBeans waiting for other MBeans:
ObjectName: jboss.ejb:service=EJBTimerService,persistencePolicy=database
state: FAILED
I Depend On: jboss.jca:service=DataSourceBinding,name=DefaultDS

Depends On Me: com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: 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 other,
INFO other,
' at line 5

MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM:
ObjectName: jboss.ejb:service=EJBTimerService,persistencePolicy=database
state: FAILED
I Depend On: jboss.jca:service=DataSourceBinding,name=DefaultDS

etc�

And I do not Know what file is talking of.

Any idea?
Jose Alvarez de Lara
Ranch Hand

Joined: May 10, 2008
Posts: 92
Hi All,

I have it resolved. I mean it is not necessary any post about the issue.

Thanks,
Jose Alvarez de Lara
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: CMP Roster example