weblogic.utils.compiler.ToolFailureException: [J2EE:160112]Error: The directory, '/tmp/myage', does not contain a valid module. If the directory represents an ear file, it must contain a META-INF/application.xml file. If the directory represents an ejb-jar file, it must contain a META-INF/ejb-jar.xml file. If the directory represents a war file, it must contain a WEB-INF/web.xml file. Please ensure the source directory is a valid module and try again.

Oracle Community | 3004 | 1 decade ago
  1. 0

    URGENT:   Error when run build.xml in a split directory strcuture

    Oracle Community | 1 decade ago | 3004
    weblogic.utils.compiler.ToolFailureException: [J2EE:160112]Error: The directory, '/tmp/myage', does not contain a valid module. If the directory represents an ear file, it must contain a META-INF/application.xml file. If the directory represents an ejb-jar file, it must contain a META-INF/ejb-jar.xml file. If the directory represents a war file, it must contain a WEB-INF/web.xml file. Please ensure the source directory is a valid module and try again.
  2. 0

    Weblogic8.1sp2 and ant compiling problems

    Google Groups | 1 decade ago | Dharmesh Krishnammagaru
    weblogic.utils.compiler.ToolFailureException: [J2EE:160121]Errors encountered wh ile compiling module 'D:\web3710\classes\com\printeron\pon\PonEntity.jar': error in finding weblogic.Home - with nested exception: [ error in finding weblogic.Home ]
  3. 0

    no longer able to build ejb using appc (WLS 8.1)

    Google Groups | 1 decade ago | Tim Perrigo
    weblogic.utils.compiler.ToolFailureException: [J2EE:160121]Errors encountered wh ile compiling module 'D:\workspace\TRIPS\deployment\build': In EJB VASKeyGeneratorEJB, the bean class must implement directly or indirectly the javax.ejb.SessionBean interface. In EJB VASKeyGeneratorEJB, method remove() defined in the local interface either does not exist in the bean class, or it is not a public method. Each method in the local interface must have a corresponding public method in the bean class. In EJB VASKeyGeneratorEJB, method getEJBHome() defined in the local interface ei ther does not exist in the bean class, or it is not a public method. Each method in the local interface must have a corresponding public method in the bean clas s. In EJB VASKeyGeneratorEJB, method getPrimaryKey() defined in the local interface either does not exist in the bean class, or it is not a public method. Each met hod in the local interface must have a corresponding public method in the bean c lass. In EJB VASKeyGeneratorEJB, method getHandle() defined in the local interface eit her does not exist in the bean class, or it is not a public method. Each method in the local interface must have a corresponding public method in the bean class . In EJB VASKeyGeneratorEJB, method isIdentical(javax.ejb.EJBObject) defined in th e local interface either does not exist in the bean class, or it is not a public method. Each method in the local interface must have a corresponding public met hod in the bean class. In EJB VASKeyGeneratorEJB, method remove() defined in the local interface either does not exist in the bean class, or it is not a public method. Each method in the local interface must have a corresponding public method in the bean class. In EJB VASKeyGeneratorEJB, method getPrimaryKey() defined in the local interface either does not exist in the bean class, or it is not a public method. Each met hod in the local interface must have a corresponding public method in the bean c lass. In EJB VASKeyGeneratorEJB, method isIdentical(javax.ejb.EJBLocalObject) defined in the local interface either does not exist in the bean class, or it is not a p ublic method. Each method in the local interface must have a corresponding publi c method in the bean class. In EJB VASKeyGeneratorEJB, method getEJBLocalHome() defined in the local interfa ce either does not exist in the bean class, or it is not a public method. Each m ethod in the local interface must have a corresponding public method in the bean class. - with nested exception: [ In EJB VASKeyGeneratorEJB, the bean class must implement directly or indirectly the javax.ejb.SessionBean interface. In EJB VASKeyGeneratorEJB, method remove() defined in the local interface either does not exist in the bean class, or it is not a public method. Each method in the local interface must have a corresponding public method in the bean class. In EJB VASKeyGeneratorEJB, method getEJBHome() defined in the local interface ei ther does not exist in the bean class, or it is not a public method. Each method in the local interface must have a corresponding public method in the bean clas s. In EJB VASKeyGeneratorEJB, method getPrimaryKey() defined in the local interface either does not exist in the bean class, or it is not a public method. Each met hod in the local interface must have a corresponding public method in the bean c lass. In EJB VASKeyGeneratorEJB, method getHandle() defined in the local interface eit her does not exist in the bean class, or it is not a public method. Each method in the local interface must have a corresponding public method in the bean class . In EJB VASKeyGeneratorEJB, method isIdentical(javax.ejb.EJBObject) defined in th e local interface either does not exist in the bean class, or it is not a public method. Each method in the local interface must have a corresponding public met hod in the bean class. In EJB VASKeyGeneratorEJB, method remove() defined in the local interface either does not exist in the bean class, or it is not a public method. Each method in the local interface must have a corresponding public method in the bean class. In EJB VASKeyGeneratorEJB, method getPrimaryKey() defined in the local interface either does not exist in the bean class, or it is not a public method. Each met hod in the local interface must have a corresponding public method in the bean c lass. In EJB VASKeyGeneratorEJB, method isIdentical(javax.ejb.EJBLocalObject) defined in the local interface either does not exist in the bean class, or it is not a p ublic method. Each method in the local interface must have a corresponding publi c method in the bean class. In EJB VASKeyGeneratorEJB, method getEJBLocalHome() defined in the local interfa ce either does not exist in the bean class, or it is not a public method. Each m ethod in the local interface must have a corresponding public method in the bean class. ]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    no longer able to build ejb using appc (WLS 8.1)

    Oracle Community | 1 decade ago | 3004
    weblogic.utils.compiler.ToolFailureException: [J2EE:160121]Errors encountered wh ile compiling module 'D:\workspace\TRIPS\deployment\build': In EJB VASKeyGeneratorEJB, the bean class must implement directly or indirectly the javax.ejb.SessionBean interface. In EJB VASKeyGeneratorEJB, method remove() defined in the local interface either does not exist in the bean class, or it is not a public method. Each method in the local interface must have a corresponding public method in the bean class. In EJB VASKeyGeneratorEJB, method getEJBHome() defined in the local interface ei ther does not exist in the bean class, or it is not a public method. Each method in the local interface must have a corresponding public method in the bean clas s. In EJB VASKeyGeneratorEJB, method getPrimaryKey() defined in the local interface either does not exist in the bean class, or it is not a public method. Each met hod in the local interface must have a corresponding public method in the bean c lass. In EJB VASKeyGeneratorEJB, method getHandle() defined in the local interface eit her does not exist in the bean class, or it is not a public method. Each method in the local interface must have a corresponding public method in the bean class .. In EJB VASKeyGeneratorEJB, method isIdentical(javax.ejb.EJBObject) defined in th e local interface either does not exist in the bean class, or it is not a public method. Each method in the local interface must have a corresponding public met hod in the bean class. In EJB VASKeyGeneratorEJB, method remove() defined in the local interface either does not exist in the bean class, or it is not a public method. Each method in the local interface must have a corresponding public method in the bean class. In EJB VASKeyGeneratorEJB, method getPrimaryKey() defined in the local interface either does not exist in the bean class, or it is not a public method. Each met hod in the local interface must have a corresponding public method in the bean c lass. In EJB VASKeyGeneratorEJB, method isIdentical(javax.ejb.EJBLocalObject) defined in the local interface either does not exist in the bean class, or it is not a p ublic method. Each method in the local interface must have a corresponding publi c method in the bean class. In EJB VASKeyGeneratorEJB, method getEJBLocalHome() defined in the local interfa ce either does not exist in the bean class, or it is not a public method. Each m ethod in the local interface must have a corresponding public method in the bean class. - with nested exception: [ In EJB VASKeyGeneratorEJB, the bean class must implement directly or indirectly the javax.ejb.SessionBean interface. In EJB VASKeyGeneratorEJB, method remove() defined in the local interface either does not exist in the bean class, or it is not a public method. Each method in the local interface must have a corresponding public method in the bean class. In EJB VASKeyGeneratorEJB, method getEJBHome() defined in the local interface ei ther does not exist in the bean class, or it is not a public method. Each method in the local interface must have a corresponding public method in the bean clas s. In EJB VASKeyGeneratorEJB, method getPrimaryKey() defined in the local interface either does not exist in the bean class, or it is not a public method. Each met hod in the local interface must have a corresponding public method in the bean c lass. In EJB VASKeyGeneratorEJB, method getHandle() defined in the local interface eit her does not exist in the bean class, or it is not a public method. Each method in the local interface must have a corresponding public method in the bean class .. In EJB VASKeyGeneratorEJB, method isIdentical(javax.ejb.EJBObject) defined in th e local interface either does not exist in the bean class, or it is not a public method. Each method in the local interface must have a corresponding public met hod in the bean class. In EJB VASKeyGeneratorEJB, method remove() defined in the local interface either does not exist in the bean class, or it is not a public method. Each method in the local interface must have a corresponding public method in the bean class. In EJB VASKeyGeneratorEJB, method getPrimaryKey() defined in the local interface either does not exist in the bean class, or it is not a public method. Each met hod in the local interface must have a corresponding public method in the bean c lass. In EJB VASKeyGeneratorEJB, method isIdentical(javax.ejb.EJBLocalObject) defined in the local interface either does not exist in the bean class, or it is not a p ublic method. Each method in the local interface must have a corresponding publi c method in the bean class. In EJB VASKeyGeneratorEJB, method getEJBLocalHome() defined in the local interfa ce either does not exist in the bean class, or it is not a public method. Each m ethod in the local interface must have a corresponding public method in the bean class. ]
  6. 0

    Weblogic8.1sp2 and ant compiling problems

    Oracle Community | 1 decade ago | 3004
    weblogic.utils.compiler.ToolFailureException: [J2EE:160121]Errors encountered wh ile compiling module 'D:\web3710\classes\com\printeron\pon\PonEntity.jar': error in finding weblogic.Home - with nested exception: [ error in finding weblogic.Home ]

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. weblogic.utils.compiler.ToolFailureException

      [J2EE:160112]Error: The directory, '/tmp/myage', does not contain a valid module. If the directory represents an ear file, it must contain a META-INF/application.xml file. If the directory represents an ejb-jar file, it must contain a META-INF/ejb-jar.xml file. If the directory represents a war file, it must contain a WEB-INF/web.xml file. Please ensure the source directory is a valid module and try again.

      at weblogic.appc.compileInput()
    2. weblogic
      appc.runBody
      1. weblogic.appc.compileInput(appc.java:413)
      2. weblogic.appc.runBody(appc.java:183)
      2 frames
    3. weblogic.utils.compiler
      Tool.run
      1. weblogic.utils.compiler.Tool.run(Tool.java:146)
      2. weblogic.utils.compiler.Tool.run(Tool.java:103)
      2 frames
    4. weblogic
      appc.main
      1. weblogic.appc.main(appc.java:1022)
      1 frame
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:324)
      4 frames
    6. weblogic.ant.taskdefs
      Appc.execute
      1. weblogic.ant.taskdefs.j2ee.CompilerTask.invokeMain(CompilerTask.java:278)
      2. weblogic.ant.taskdefs.j2ee.Appc.execute(Appc.java:179)
      2 frames
    7. Ant
      Main.main
      1. org.apache.tools.ant.Task.perform(Task.java:317)
      2. org.apache.tools.ant.Target.execute(Target.java:309)
      3. org.apache.tools.ant.Target.performTasks(Target.java:334)
      4. org.apache.tools.ant.Project.executeTarget(Project.java:1306)
      5. org.apache.tools.ant.Project.executeTargets(Project.java:1250)
      6. org.apache.tools.ant.Main.runBuild(Main.java:610)
      7. org.apache.tools.ant.Main.start(Main.java:196)
      8. org.apache.tools.ant.Main.main(Main.java:235)
      8 frames