glassfish
  1. glassfish
  2. GLASSFISH-20769

EJB Remote Interface non recognized in supplied library

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Works as designed
    • Affects Version/s: 4.0_b89_RC5
    • Fix Version/s: None
    • Component/s: ejb_container
    • Labels:
      None
    • Environment:

      Windows 7 ,intel X64, JDK 1.7.0_25

      Description

      I packaged a simple ejb module (EJB JAR + JAR library) and tried to deploy it by GF console ,but :
      deploy is failing because there is a

      ClassNotFoundException: org.savino.hb.common.business.service.HBTestService

      The interface not found id already present in JAR library and this jar is supplied into EJB-JAR.jar module uploaded by console ,then it seams there isn't a right reason for ClassNotFoundException.

      I upload the ejb jar module..

        Activity

        Hide
        marina vatkina added a comment -

        Are you packaging a library jar inside the ejb jar? If you do, it's not a valid packaging configuration

        Show
        marina vatkina added a comment - Are you packaging a library jar inside the ejb jar? If you do, it's not a valid packaging configuration
        Hide
        kronos72it added a comment -

        Marina, are you meaning that jar dependencies is not J2EE compliant if included into ejb jar ?
        Perhaps it should compliant if I provide an ear to deploy ?

        Show
        kronos72it added a comment - Marina, are you meaning that jar dependencies is not J2EE compliant if included into ejb jar ? Perhaps it should compliant if I provide an ear to deploy ?
        Hide
        marina vatkina added a comment -

        Yes, you can use lib/ directory of an ear file to combine an EJB module with a library

        Show
        marina vatkina added a comment - Yes, you can use lib/ directory of an ear file to combine an EJB module with a library

          People

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

            Dates

            • Created:
              Updated:
              Resolved: