createTableIfNotExists() always fails for "timer" table
-------------------------------------------------------

         Key: JBAS-1472
         URL: http://jira.jboss.com/jira/browse/JBAS-1472
     Project: JBoss Application Server
        Type: Bug
  Components: CMP service  
    Versions: JBossAS-4.0.1 Final    
 Environment: all platforms
    Reporter: nwc


The method createTableIfNotExists() in

org.jboss.ejb.txtimer.GeneralPurposeDatabasePersistencePlugin

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 does not have such an attribute and in fact 
there are no classes in the entire code base that have this attribute. 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 to the database.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.jboss.com/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to