glassfish
  1. glassfish
  2. GLASSFISH-16884

Table 'timertest.ejb__timer__tbl' isn't created

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 3.1.1_b08
    • Fix Version/s: None
    • Component/s: ejb_container
    • Labels:
      None
    • Environment:

      Edition 3.1.1-b08 (build 8)
      Windows 7 version 6.1 running on amd64; Cp1252; de_DE (nb)
      jdk1.6.0_22

      Description

      Trying to use the EJB Timer (source attached) with an external DB (MySql) I get the exception attached while deploying the app:

      Seems as if the Timer Table isn't created. As far as I know, this should be done automatically during deployment of a timer enabled app.

      I checked with the applications\ejb-timer-service-app\WEB-INF\classes\META-INF\persistence.xml
      eclipselink.ddl-generation is set to create-tables ...

      1. exception.txt
        44 kB
        myfear
      2. SimpleTimerBean.java
        0.3 kB
        myfear

        Activity

        Hide
        marina vatkina added a comment -

        You probably started the timer service ("TS") on another database before switching to MySQL. The TS doesn't know that it was switched. The table is created only on the 1st start of it in this server instance. Remove the marker file domains/domain1/generated/ejb-timer-service-app and try again

        Show
        marina vatkina added a comment - You probably started the timer service ("TS") on another database before switching to MySQL. The TS doesn't know that it was switched. The table is created only on the 1st start of it in this server instance. Remove the marker file domains/domain1/generated/ejb-timer-service-app and try again

          People

          • Assignee:
            marina vatkina
            Reporter:
            myfear
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: