Skip to Content

EJB Module build failed ...

Hi All,

I am trying to build an Entity Service in CAF. But it is unable to create the EJB Module.

Error:

JDO enhancer failed because of internal Error.

Error: Build stopped due to an error: JDO enhancer failed because of internal Error.

Can any one tell wht the exact problem is and how to rectify it.

Thanks,

Chaitanya.

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Jun 10, 2008 at 01:15 PM

    Hi, Chaitanya.

    Please, post the whole build log of the ejbmodule DC.

    Vlado

    Add a comment
    10|10000 characters needed characters exceeded

    • Development Component Build (2008-06-10 19:04:46)

      Component name: sample/ejbmodule

      Component vendor: sap.com

      SC compartment: MyComponents

      Configuration: LocalDevelopment

      Location: local

      Source code location: szp7rn@w2szp7rn01

      DC root folder: D:\Documents and Settings\szp7rn.GEMSCONSULT\.dtc\LocalDevelopment\DCs\sap.com\sample\ejbmodule\_comp\

      DC type: J2EE

      DC subtype: EJBModule

      Host: w2szp7rn01

      DC Model check:

      All used DCs are available locally

      validating dependency to build plugin "sap.com/tc/bi/bp/ejbmodule"

      validating dependency to public part "default" of DC "sap.com/ejb20"

      validating dependency to public part "default" of DC "sap.com/jdbc20"

      validating dependency to public part "default" of DC "sap.com/jms"

      validating dependency to public part "default" of DC "sap.com/tc/ddic/metamodel/content"

      validating dependency to public part "CAFRuntimeAPI" of DC "sap.com/caf/runtime/impl"

      validating dependency to public part "compilation" of DC "sap.com/caf/runtime/api"

      validating dependency to public part "default" of DC "sap.com/bi/mmr/core"

      validating dependency to public part "compilation" of DC "sap.com/caf/metamodel"

      validating dependency to public part "default" of DC "sap.com/com.sap.security.api.sda"

      validating dependency to public part "default" of DC "sap.com/tc/logging"

      validating dependency to public part "default" of DC "sap.com/com.sap.exception"

      validating dependency to public part "default" of DC "sap.com/com.sap.jdo"

      validating dependency to public part "compilation" of DC "sap.com/bi/mmr/cwm_1.0_source"

      validating dependency to public part "jmi" of DC "sap.com/bi/mmr/jmi"

      validating dependency to public part "ClientApi" of DC "sap.com/caf/km.proxyjava"

      validating dependency to public part "default" of DC "sap.com/bi/mmr/db"

      validating dependency to public part "ClientAPI" of DC "sap.com/caf/runtime/security"

      validating dependency to public part "ClientAPI" of DC "sap.com/caf/core/services"

      validating dependency to used DC "sap.com/caf/runtime/connectivity/base"

      validating dependency to used DC "sap.com/caf/runtime/connectivity"

      validating dependency to used DC "sap.com/applocking"

      validating dependency to public part "default" of DC "sap.com/com.sap.engine.client.lib"

      validating dependency to public part "default" of DC "sap.com/jta"

      DC model check OK

      Start build plugin:

      using build plugin: sap.com/tc/bi/bp/ejbmodule

      starting build plugin from : C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP_BUILDT\DCs\sap.com\tc\bi\bp\ejbmodule\_comp\gen\default\public\ejb\

      Build Plugin 'EJBModulePlugin', Version 7.00 SP 9 (NW04S_09_REL, built on 2006-10-25 22:26:50 CEST)

      development component: sample/ejbmodule (sap.com)

      software component: MyComponents (demo.sap.com)

      location: local

      type: J2EE, subtype EJBModule

      build variant: default

      source location: szp7rn@w2szp7rn01

      plugin start time: 2008-06-10 19:04:46 GMT+05:30 (IST)

      Java VM: Java HotSpot(TM) Client VM, 1.5.0_12-b04 (Sun Microsystems Inc.)

      General options:

      convert *.xlf to *.properties: yes

      include sources for debugging: yes

      Source folder src exists but is empty.

      Plugin initialized in 0.063 seconds

      Preparing data context..

      No 'default' JDK defined, will use running VM.

      Data context prepared in 0.031 seconds

      Executing macro file..

      Using macro file: C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP_BUILDT\DCs\sap.com\tc\bi\bp\ejbmodule\_comp\gen\default\public\ejb\macros\build.vm

      Creating output file: D:\Documents and Settings\szp7rn.GEMSCONSULT\.dtc\LocalDevelopment\DCs\sap.com\sample\ejbmodule\_comp\gen\default\logs\build.xml

      Macro file executed in 0.172 seconds

      Starting Ant..

      Using build file: D:\Documents and Settings\szp7rn.GEMSCONSULT\.dtc\LocalDevelopment\DCs\sap.com\sample\ejbmodule\_comp\gen\default\logs\build.xml

      Using build target: build

      Generation folder: D:\Documents and Settings\szp7rn.GEMSCONSULT\.dtc\LocalDevelopment\t\81C8304DFA221C7AF5F2C84019FF3C43

      Using Ant version: 1.6.2

      compile:

      [echo] Starting Java compiler

      [echo] Settings:

      [echo] debug: on

      [echo] optimize: off

      [echo] deprecation: off

      [echo] verbose: default

      [echo] encoding: UTF8

      [echo] source: default

      [echo] target: default

      [echo] source path: D:\Documents and Settings\szp7rn.GEMSCONSULT\.dtc\LocalDevelopment\DCs\sap.com\sample\ejbmodule\_comp\ejbModule

      [echo] class path:

      [echo] C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\tc\logging\_comp\gen\default\public\default\lib\java\logging.jar

      [echo] C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\tc\logging\_comp\gen\default\public\default\lib\java\logging.perf.jar

      [echo] C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP_JTECHS\DCs\sap.com\tc\ddic\metamodel\content\_comp\gen\default\public\default\lib\java\SapMetamodelDictionaryContent.zip

      [echo] C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP_JTECHS\DCs\sap.com\com.sap.jdo\_comp\gen\default\public\default\lib\java\jdo.jar

      [echo] C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP_JTECHS\DCs\sap.com\com.sap.jdo\_comp\gen\default\public\default\lib\java\sapjdoapi.jar

      [echo] C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\BI_UDI\DCs\sap.com\bi\mmr\jmi\_comp\gen\default\public\jmi\lib\java\sap.combimmrjmijmi.jar

      [echo] C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\BI_UDI\DCs\sap.com\bi\mmr\core\_comp\gen\default\public\default\lib\java\sap.combimmrcoredefault.jar

      [echo] C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\CAF\DCs\sap.com\caf\km.proxyjava\_comp\gen\default\public\ClientApi\lib\java\sap.comcafkm.proxyjava~ClientApi.jar

      [echo] C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\applocking\_comp\gen\default\public\default\lib\java\applocking.jar

      [echo] C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\applocking\_comp\gen\default\public\default\lib\java\frame.jar

      [echo] C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\applocking\_comp\gen\default\public\default\lib\java\jdbc.jar

      [echo] C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\CAF\DCs\sap.com\caf\metamodel\_comp\gen\default\public\compilation\lib\java\sap.comcafmetamodel.jar

      [echo] C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\CAF\DCs\sap.com\caf\metamodel\_comp\gen\default\public\compilation\lib\java\sap.comcafmetamodel_JMI.jar

      [echo] C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\CAF\DCs\sap.com\caf\metamodel\_comp\gen\default\public\compilation\lib\java\sap.comcafmetamodel_JMI_src.jar

      [echo] C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\com.sap.engine.client.lib\_comp\gen\default\public\default\lib\java\sapj2eeclient.jar

      [echo] C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\CAF\DCs\sap.com\caf\runtime\connectivity\base\_comp\gen\default\public\com.sap.caf.mp.base\lib\java\sap.comcafruntimeconnectivitybase~com.sap.caf.mp.base.jar

      [echo] C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\CAF\DCs\sap.com\caf\runtime\security\_comp\gen\default\public\ClientAPI\lib\java\sap.comcafruntimesecurityClientAPI.jar

      [echo] C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\CAF\DCs\sap.com\caf\runtime\api\_comp\gen\default\public\compilation\lib\java\sap.comcafruntimeapicompilation.jar

      [echo] C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\jdbc20\_comp\gen\default\public\default\lib\java\jdbc.jar

      [echo] C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\BI_UDI\DCs\sap.com\bi\mmr\cwm_1.0_source\_comp\gen\default\public\compilation\lib\java\sap.combimmr~cwm_1.0_source.jar

      [echo] C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\BI_UDI\DCs\sap.com\bi\mmr\cwm_1.0_source\_comp\gen\default\public\compilation\lib\java\sap.combimmr~cwm_1.0_source_JMI.jar

      [echo] C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\BI_UDI\DCs\sap.com\bi\mmr\cwm_1.0_source\_comp\gen\default\public\compilation\lib\java\sap.combimmr~cwm_1.0_source_JMI_src.jar

      [echo] C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\CAF\DCs\sap.com\caf\runtime\impl\_comp\gen\default\public\CAFRuntimeAPI\lib\java\sap.comcafruntimeimplCAFRuntimeAPI.jar

      [echo] C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\ejb20\_comp\gen\default\public\default\lib\java\ejb20.jar

      [echo] C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\jms\_comp\gen\default\public\default\lib\java\jms.jar

      [echo] C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\com.sap.security.api.sda\_comp\gen\default\public\default\lib\java\com.sap.security.api.jar

      [echo] C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\com.sap.security.api.sda\_comp\gen\default\public\default\lib\java\com.sap.security.api.perm.jar

      [echo] C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\jta\_comp\gen\default\public\default\lib\java\jta.jar

      [echo] C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\CAF\DCs\sap.com\caf\core\services\_comp\gen\default\public\ClientAPI\lib\java\sap.comcafcoreservicesClientAPI.jar

      [echo] C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\com.sap.exception\_comp\gen\default\public\default\lib\java\exception.jar

      [echo] C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\CAF\DCs\sap.com\caf\runtime\connectivity\_comp\gen\default\public\com.sap.caf.mp.core.api\lib\java\sap.comcafruntimeconnectivitycom.sap.caf.mp.core.api.jar

      [echo] C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\BI_UDI\DCs\sap.com\bi\mmr\db\_comp\gen\default\public\default\lib\java\sap.combimmrdbdefault.jar

      [echo] output dir: D:\Documents and Settings\szp7rn.GEMSCONSULT\.dtc\LocalDevelopment\t\81C8304DFA221C7AF5F2C84019FF3C43\classes

      [javac] Compiling 9 source files to D:\Documents and Settings\szp7rn.GEMSCONSULT\.dtc\LocalDevelopment\t\81C8304DFA221C7AF5F2C84019FF3C43\classes

      [javac] Note: Some input files use unchecked or unsafe operations.

      [javac] Note: Recompile with -Xlint:unchecked for details.

      [timer] Java compilation finished in 1.672 seconds

      [echo] Starting JDO enhancer

      [jdo.enhance] Using classfile: D:\Documents and Settings\szp7rn.GEMSCONSULT\.dtc\LocalDevelopment\t\81C8304DFA221C7AF5F2C84019FF3C43\classes\com\sap\sample\besrv\test\testJDO.class

      [jdo.enhance] Using metadata : D:\Documents and Settings\szp7rn.GEMSCONSULT\.dtc\LocalDevelopment\DCs\sap.com\sample\ejbmodule\_comp\ejbModule\com\sap\sample\besrv\test\testJDO.jdo

      [jdo.enhance] Using dst : D:\Documents and Settings\szp7rn.GEMSCONSULT\.dtc\LocalDevelopment\t\81C8304DFA221C7AF5F2C84019FF3C43\classes

      [jdo.enhance] Error while enhancing: JDO ENHANCER: At least one error occurred while enhancing input class for Transparent Persistence; detailed message(s): I/O error while reading input stream or input stream does not denote a valid Java class.

      [jdo.enhance] ERROR: com.sap.jdo.enhancer.EnhancerUserException: JDO ENHANCER: At least one error occurred while enhancing input class for Transparent Persistence; detailed message(s): I/O error while reading input stream or input stream does not denote a valid Java class.

      [jdo.enhance] ERROR: at com.sap.jdo.enhancer.filter.Enhancer.enhanceClassFile(Enhancer.java:238)

      [jdo.enhance] ERROR: at com.sap.jdo.enhancer.Main.enhanceClassFile(Main.java:514)

      [jdo.enhance] ERROR: at com.sap.jdo.enhancer.Main.enhanceInputFiles(Main.java:474)

      [jdo.enhance] ERROR: at com.sap.jdo.enhancer.Main.process(Main.java:137)

      [jdo.enhance] ERROR: at com.sap.jdo.anttasks.JDOEnhance.run(JDOEnhance.java:99)

      [jdo.enhance] ERROR: at com.sap.jdo.anttasks.JDOEnhance.execute(JDOEnhance.java:82)

      [jdo.enhance] ERROR: at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)

      [jdo.enhance] ERROR: at org.apache.tools.ant.Task.perform(Task.java:364)

      [jdo.enhance] ERROR: at org.apache.tools.ant.Target.execute(Target.java:341)

      [jdo.enhance] ERROR: at org.apache.tools.ant.Target.performTasks(Target.java:369)

      [jdo.enhance] ERROR: at org.apache.tools.ant.Project.executeTarget(Project.java:1214)

      [jdo.enhance] ERROR: at com.sap.tc.buildplugin.techdev.ant.util.AntRunner.run(AntRunner.java:111)

      [jdo.enhance] ERROR: at com.sap.tc.buildplugin.DefaultAntBuildAction.execute(DefaultAntBuildAction.java:62)

      [jdo.enhance] ERROR: at com.sap.tc.buildplugin.AbstractPlugin.handleBuildStepSequence(AbstractPlugin.java:222)

      [jdo.enhance] ERROR: at com.sap.tc.buildplugin.AbstractPlugin.performBuild(AbstractPlugin.java:199)

      [jdo.enhance] ERROR: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

      [jdo.enhance] ERROR: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

      [jdo.enhance] ERROR: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      [jdo.enhance] ERROR: at java.lang.reflect.Method.invoke(Method.java:585)

      [jdo.enhance] ERROR: at com.sap.tc.buildtool.PluginCommunicator.maybeInvoke(PluginCommunicator.java:114)

      [jdo.enhance] ERROR: at com.sap.tc.buildtool.PluginCommunicatorV2.communicate(PluginCommunicatorV2.java:42)

      [jdo.enhance] ERROR: at com.sap.tc.buildtool.PluginHandlerImpl.handlePluginCommunication(PluginHandlerImpl.java:354)

      [jdo.enhance] ERROR: at com.sap.tc.buildtool.PluginHandlerImpl.execute(PluginHandlerImpl.java:176)

      [jdo.enhance] ERROR: at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:1723)

      [jdo.enhance] ERROR: at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:5615)

      [jdo.enhance] ERROR: at com.sap.caf.designer.actions.DcBuildAction.buildDCsForDevConfig(DcBuildAction.java:764)

      [jdo.enhance] ERROR: at com.sap.caf.designer.actions.DcBuildAction.access$300(DcBuildAction.java:78)

      [jdo.enhance] ERROR: at com.sap.caf.designer.actions.DcBuildAction$1.run(DcBuildAction.java:499)

      [jdo.enhance] ERROR: at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:101)

      [jdo.enhance] aborted with errors.

      Ant runtime 2.187 seconds

      Ant build finished with ERRORS

      JDO enhancer failed because of internal Error.

      Error: Build stopped due to an error: JDO enhancer failed because of internal Error.

      Build plugin finished at 2008-06-10 19:04:48 GMT+05:30 (IST)

      Total build plugin runtime: 2.531 seconds

      Build finished with ERROR

  • Posted on Jun 19, 2008 at 05:00 AM

    Reinstalling both Java SDK and NWDS helped me resolve it.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.