glassfish
  1. glassfish
  2. GLASSFISH-15437

[UB]Cannot start DAS when custom container has a class called Domain

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 4.0
    • Fix Version/s: 4.0
    • Component/s: docs
    • Labels:
      None
    • Environment:

      Ubuntu 10.04,
      java version "1.6.0_23"
      Java(TM) SE Runtime Environment (build 1.6.0_23-b05)
      Java HotSpot(TM) Server VM (build 19.0-b09, mixed mode)

      Description

      I'm developing a custom container. It was working fine. I rename one of my class to Domain. I repackaged it. I then copied my container's jar to$GF_HOME/glassfish/modules.

      When I tried to start GF, I got

      Waiting for DAS to start.......

      This goes on for a while then GF says it could not start my domain. Anyway I then renamed the Domain class to something else. Rebuild and recopied the file to modules directory and GF started.

        Activity

        Hide
        Mike Fitch added a comment -

        Changed fix version to 4.0 so this issue gets picked up by OSE 4.0 release queries.

        Show
        Mike Fitch added a comment - Changed fix version to 4.0 so this issue gets picked up by OSE 4.0 release queries.
        Hide
        Tom Mueller added a comment -

        Changing this to be a docs bug. The section on extending the configuration of the system should be modified to specify that any new config element must have a unique name, i.e., the name of just the class has to be unique, not just the name including the Java package name.

        Show
        Tom Mueller added a comment - Changing this to be a docs bug. The section on extending the configuration of the system should be modified to specify that any new config element must have a unique name, i.e., the name of just the class has to be unique, not just the name including the Java package name.
        Hide
        scatari added a comment -

        To be considered in the next release.

        Show
        scatari added a comment - To be considered in the next release.
        Hide
        Nazrul added a comment -

        Excluding from 3.1 list.

        Comment from Jerome:
        Looks like folks should not use any of our [GlassFish] configuration names or should use a @configured(name="myspecialname") annotations to disambiguate.

        Show
        Nazrul added a comment - Excluding from 3.1 list. Comment from Jerome: Looks like folks should not use any of our [GlassFish] configuration names or should use a @configured(name="myspecialname") annotations to disambiguate.
        Hide
        Nazrul added a comment -

        Jerome: Should this be documented?

        Show
        Nazrul added a comment - Jerome: Should this be documented?

          People

          • Assignee:
            Paul Davies
            Reporter:
            chukmunnlee
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: