[jboss-jira] [JBoss JIRA] Commented: (JBAS-4320) The EJB2 timer service with persistencePolicy=database can not start on MySQL

Sergey Artuh (JIRA) jira-events at lists.jboss.org
Mon Feb 25 13:02:42 EST 2008


    [ http://jira.jboss.com/jira/browse/JBAS-4320?page=comments#action_12400502 ] 
            
Sergey Artuh commented on JBAS-4320:
------------------------------------

JBoss 4.2.2.GA
the same issue while deploying Postgres XA datasource for ejb timer.
<xa-datasource>
     <jndi-name>DefaultDS</jndi-name>

     <xa-datasource-class>org.postgresql.xa.PGXADataSource</xa-datasource-class>
     <xa-datasource-property name="ServerName">127.0.0.1</xa-datasource-property>
     <xa-datasource-property name="PortNumber">5432</xa-datasource-property>

     <xa-datasource-property name="DatabaseName">jboss</xa-datasource-property>
     <xa-datasource-property name="User">postgres</xa-datasource-property>
     <xa-datasource-property name="Password">postgres</xa-datasource-property>

     <track-connection-by-tx/>
   </xa-datasource>


19:52:44,392 WARN  [ServiceController] Problem starting service jboss.ejb:service=EJBTimerService,persistencePolicy=database
java.lang.IllegalStateException: Cannot find datasource meta data: jboss.jdbc:datasource=DefaultDS,service=metadata
        at org.jboss.ejb.txtimer.GeneralPurposeDatabasePersistencePlugin.init(GeneralPurposeDatabasePersistencePlugin.java:124)


> The EJB2 timer service with persistencePolicy=database can not start on MySQL
> -----------------------------------------------------------------------------
>
>                 Key: JBAS-4320
>                 URL: http://jira.jboss.com/jira/browse/JBAS-4320
>             Project: JBoss Application Server
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: EJB2, Scheduling/Timers
>    Affects Versions: JBossAS-5.0.0.Beta2
>         Environment: MySQL 5, JBossAS-5.0.0.Beta2
>            Reporter: Joshua Partogi
>         Assigned To: Scott M Stark
>         Attachments: ejb2-timer-service.xml, mysql-ds.xml, stacktrace.txt
>
>
> The database tested other than HSQL is only MySQL
> Perhaps we should also check other database too

-- 
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list