glassfish
  1. glassfish
  2. GLASSFISH-13013

Errors during jpa samples redeploy/undeploy: createDDL.jdbc/dropDDL.jdbc is not available

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.1
    • Fix Version/s: 3.1_b23
    • Component/s: entity-persistence
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      13,013

      Description

      B16 Created a cluster with two instaqnces on one machine.

      Then tried redeploy to the cluster, undeploy jpa samples. For example
      advancedMapping.war. But I saw such messages during these actions:

      Cannot drop tables for application advancedMapping. The expected DDL file
      advancedMapping_jpaPU_dropDDL.jdbc is not available.

      Cannot create tables for application advancedMapping. The expected DDL file
      advancedMapping_jpaPU_createDDL.jdbc is not available.

      For other application I saw:

      Cannot create tables for application jsf-jpa-war. The expected DDL file
      jsf-jpa-war_jsf-jpa-war_createDDL.jdbc is not available.

      Cannot drop tables for application jsf-jpa-war. The expected DDL file
      jsf-jpa-war_jsf-jpa-war_dropDDL.jdbc is not available.

      Cannot create tables for application automatic-timer-ejb. The expected DDL file
      automatic-timer-ejb_log_record_createDDL.jdbc
      is not available.

      Cannot drop tables for application automatic-timer-ejb. The expected DDL file
      automatic-timer-ejb_log_record_dropDDL.jdbc is
      not available.

      And so on.

      In DAS server.log I saw such messages:

      [#|2010-08-17T16:57:50.771-0700|WARNING|glassfish3.1|javax.enterprise.system.tools.deployment.org.glassfish.persistence.comm
      on|_ThreadID=14;_ThreadName=Thread-1;|Cannot create tables for application
      advancedMapping. The expected DDL file advancedMapping_jpaPU_createDDL.jdbc is
      not available.|#]

        Activity

        Hide
        Hong Zhang added a comment -

        Seems java2db was not run for some reason. Was the database started?
        Mitesh knows better about this, assign to him to follow up. Also adding Marina
        to the Cc.

        Show
        Hong Zhang added a comment - Seems java2db was not run for some reason. Was the database started? Mitesh knows better about this, assign to him to follow up. Also adding Marina to the Cc.
        Hide
        easarina added a comment -

        Yes, derby was started.

        Show
        easarina added a comment - Yes, derby was started.
        Hide
        easarina added a comment -

        Still see this issue, b22

        Show
        easarina added a comment - Still see this issue, b22
        Show
        Mitesh Meswani added a comment - Fixed with https://fisheye4.atlassian.com/changelog/glassfish-svn/?cs=41328

          People

          • Assignee:
            Mitesh Meswani
            Reporter:
            easarina
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: