Bugs item #1123074, was opened at 2005-02-15 03:57
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=1123074&group_id=22866

Category: JBossServer
Group: v4.0
Status: Open
Resolution: None
Priority: 5
Submitted By: Nathan Cheng (nathan_w_cheng)
Assigned to: Nobody/Anonymous (nobody)
Summary: impossible to auto create "timer" table

Initial Comment:
The method createTableIfNotExists() in

jboss-4.0.1-
src\server\src\main\org\jboss\ejb\txtimer\GeneralPurpose
DatabasePersistencePlugin.java

references an mbean attribute 
called "TypeMappingMetaData"; however, the class 
org.jboss.ejb.plugins.cmp.jdbc.metadata.MetaDataLibrary
, which is expected to provide the value of this 
attribute, has no getter/setter methods for this 
attribute, and in fact there are no classes in the entire 
code base that has setter method 
for "TypeMappingMetaData". This means that the 
getAttribute call at the beginning of 
createTableIfNotExists() will always return null, and so 
the method will always throw an IllegalStateException, 
and so the "timer" table will never get created. So if you 
don't manually create this table, or write your own 
persistence plugin, there is no way to have EJB timers 
persisted.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=1123074&group_id=22866


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to