glassfish
  1. glassfish
  2. GLASSFISH-17305

glassfish-embedded-all ignores "org.glassfish.ejb.embedded.glassfish.configuration.file" property

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 3.1.1
    • Fix Version/s: 3.1.2, 4.0
    • Component/s: ejb_container
    • Labels:
      None
    • Environment:

      ubuntu 11.04
      JDK 6u27

      Description

      Happened to this guys http://pschyska.blogspot.com/2011/06/unit-testing-ejb-31-with-netbeans-maven.html

      Happens to me too.

      I do this:
      Map p = new HashMap();
      p.put("org.glassfish.ejb.embedded.glassfish.configuration.file", "target/test-classes/domain.xml");
      EJBContainer ret = javax.ejb.embeddable.EJBContainer.createEJBContainer(p);

      I get this:

      Sep 16, 2011 11:04:29 AM org.glassfish.ejb.embedded.EJBContainerProviderImpl getValidFile
      SEVERE: EJB6004:Specified application server installation location [/home/pablo/.m2/repository/org/glassfish/extras/glassfish-embedded-all/domains/domain1] does not exist.

        Activity

        Hide
        Bhavanishankar added a comment -

        Looks like a ejb-container issue.

        Show
        Bhavanishankar added a comment - Looks like a ejb-container issue.
        Hide
        marina vatkina added a comment -

        Access Embedded EJB Container API without an installed GlassFish is not a p1 error

        Show
        marina vatkina added a comment - Access Embedded EJB Container API without an installed GlassFish is not a p1 error
        Hide
        marina vatkina added a comment -

        Made install_root, instance_root and configuration_file independent setting.

        3.1.2 - rev 51437
        Trunk - rev 51439

        Modified files:
        ejb/ejb-container/src/main/resources/com/sun/logging/enterprise/system/container/ejb/LogStrings.properties
        ejb/ejb-container/src/main/java/org/glassfish/ejb/embedded/EJBContainerProviderImpl.java

        Show
        marina vatkina added a comment - Made install_root, instance_root and configuration_file independent setting. 3.1.2 - rev 51437 Trunk - rev 51439 Modified files: ejb/ejb-container/src/main/resources/com/sun/logging/enterprise/system/container/ejb/LogStrings.properties ejb/ejb-container/src/main/java/org/glassfish/ejb/embedded/EJBContainerProviderImpl.java

          People

          • Assignee:
            marina vatkina
            Reporter:
            anahatait
          • Votes:
            2 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: