on 03-30-2006 5:54 PM
Hello all,
I am new to CAF developing, and I am experiencing this problem: When I create new CAF DC and when I add only one entity service (only adding no other customization) a try to build this occurs through building:
-
0.3.2006 18:37:30 /userOut/Development Component (com.sap.ide.eclipse.component.provider.listener.DevConfListener) [Thread[ModalContext,5,main]] ERROR: test3/ejbmodule: Build failed for sk.globesy/test3/ejbmodule(MyComponents) in variant "default": JDO enhancer failed because of internal Error.
-
Build log -
Development Component Build (2006-03-30 18:37:28)
Component name: test3/ejbmodule
Component vendor: sk.globesy
SC compartment: MyComponents
Configuration: LocalDevelopment
Location: local
Source code location: koskarm@gn10
DC root folder: C:\Documents and Settings\koskarm\.dtc\LocalDevelopment\DCs\sk.globesy\test3\ejbmodule\_comp\
DC type: J2EE
DC subtype: EJBModule
Host: gn10
DC Model check:
[dcmake] All used DCs are available locally
[dcmake] validating dependency to build plugin "sap.com/tc/bi/bp/ejbmodule"
[dcmake] validating dependency to public part "default" of DC "sap.com/ejb20"
[dcmake] validating dependency to public part "default" of DC "sap.com/jdbc20"
[dcmake] validating dependency to public part "default" of DC "sap.com/jms"
[dcmake] validating dependency to public part "default" of DC "sap.com/tc/ddic/metamodel/content"
[dcmake] validating dependency to public part "CAFRuntimeAPI" of DC "sap.com/caf/runtime/impl"
[dcmake] validating dependency to public part "default" of DC "sap.com/bi/mmr/core"
[dcmake] validating dependency to public part "compilation" of DC "sap.com/caf/metamodel"
[dcmake] validating dependency to public part "default" of DC "sap.com/com.sap.security.api.sda"
[dcmake] validating dependency to public part "default" of DC "sap.com/tc/logging"
[dcmake] validating dependency to public part "default" of DC "sap.com/com.sap.exception"
[dcmake] validating dependency to public part "default" of DC "sap.com/com.sap.jdo"
[dcmake] validating dependency to public part "compilation" of DC "sap.com/bi/mmr/cwm_1.0_source"
[dcmake] validating dependency to public part "jmi" of DC "sap.com/bi/mmr/jmi"
[dcmake] validating dependency to public part "ClientApi" of DC "sap.com/caf/km.proxyjava"
[dcmake] validating dependency to public part "default" of DC "sap.com/bi/mmr/db"
[dcmake] validating dependency to public part "ClientAPI" of DC "sap.com/caf/runtime/security"
[dcmake] validating dependency to public part "ClientAPI" of DC "sap.com/caf/core/services"
[dcmake] validating dependency to used DC "sap.com/caf/runtime/connectivity/base"
[dcmake] validating dependency to used DC "sap.com/caf/runtime/connectivity"
[dcmake] validating dependency to used DC "sap.com/applocking"
[dcmake] validating dependency to public part "default" of DC "sap.com/com.sap.engine.client.lib"
[dcmake] validating dependency to public part "default" of DC "sap.com/kernel.sda"
[dcmake] DC model check OK
Start build plugin:
[dcmake] using build plugin: sap.com/tc/bi/bp/ejbmodule
[dcmake] starting build plugin from : C:\Program Files\SAP\JDT\eclipse\plugins\com.sap.tc.ap\comp\SAP_BUILDT\DCs\sap.com\tc\bi\bp\ejbmodule\_comp\gen\default\public\ejb\
Build Plugin 'EJB Module Plugin', Version 6.40 SP 15 (630_VAL_REL, built on 2005-11-25 00:23:07 CET)
development component: test3/ejbmodule (sk.globesy)
type: J2EE, subtype: EJBModule
software component: MyComponents (sap.com)
location: local
source location: koskarm@gn10
build variant: default
plugin start time: 2006-03-30 18:37:28 GMT+01:00 (CEST)
Java VM: Java HotSpot(TM) Client VM, 1.5.0_01-b08 (Sun Microsystems Inc.)
General options:
convert *.xlf to *.properties: yes
include sources for debugging: yes
Reading BuildInfrastructure extension from DC tc/bi/javatech (sap.com)
Reading BuildInfrastructure extension from DC tc/bi/util (sap.com)
Added technology 'sap.com/tc/bi/core'
Added technology 'sap.com/tc/bi/javatech'
Plugin initialized in 0.031 seconds
Preparing data context..
No 'default' JDK defined, will use running VM.
Data context prepared in 0.015 seconds
Executing macro file..
Using macro file: C:\Program Files\SAP\JDT\eclipse\plugins\com.sap.tc.ap\comp\SAP_BUILDT\DCs\sap.com\tc\bi\bp\ejbmodule\_comp\gen\default\public\ejb\macros\build.vm
Creating output file: C:\Documents and Settings\koskarm\.dtc\LocalDevelopment\DCs\sk.globesy\test3\ejbmodule\_comp\gen\default\logs\build.xml
Macro file executed in 0.047 seconds
Starting Ant..
Using build file: C:\Documents and Settings\koskarm\.dtc\LocalDevelopment\DCs\sk.globesy\test3\ejbmodule\_comp\gen\default\logs\build.xml
Using build target: build
Generation folder: C:\Documents and Settings\koskarm\.dtc\LocalDevelopment\t\EE76BAB34EE55D9582B939C3638F656A
Ant build started at 2006-03-30 18:37:28 GMT+01:00 (CEST)
Using Ant version 1.5.4
prepare:
compile:
[javac] Compiling 7 source files to C:\Documents and Settings\koskarm\.dtc\LocalDevelopment\t\EE76BAB34EE55D9582B939C3638F656A\classes
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
[timer] Java compiler finished in 1.547 seconds
[echo] Calling JDOEnhance task
[jdo.enhance] Using classfile: C:\Documents and Settings\koskarm\.dtc\LocalDevelopment\t\EE76BAB34EE55D9582B939C3638F656A\classes/globesy\sk\test3\besrv\testa\TestA.class
[jdo.enhance] Using metadata : C:\Documents and Settings\koskarm\.dtc\LocalDevelopment\DCs\sk.globesy\test3\ejbmodule\_comp\/ejbModule/globesy\sk\test3\besrv\testa\TestA.jdo
[jdo.enhance] Using dst : C:\Documents and Settings\koskarm\.dtc\LocalDevelopment\t\EE76BAB34EE55D9582B939C3638F656A\classes
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.
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.
at com.sap.jdo.enhancer.filter.Enhancer.enhanceClassFile(Enhancer.java:238)
at com.sap.jdo.enhancer.Main.enhanceClassFile(Main.java:516)
at com.sap.jdo.enhancer.Main.enhanceInputFiles(Main.java:474)
at com.sap.jdo.enhancer.Main.process(Main.java:139)
at com.sap.jdo.anttasks.JDOEnhance.run(JDOEnhance.java:99)
at com.sap.jdo.anttasks.JDOEnhance.execute(JDOEnhance.java:82)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:193)
at org.apache.tools.ant.Task.perform(Task.java:341)
at org.apache.tools.ant.Target.execute(Target.java:309)
at org.apache.tools.ant.Target.performTasks(Target.java:336)
at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
at com.sap.tc.buildplugin.techdev.ant.util.AntRunner.run(AntRunner.java:115)
at com.sap.tc.buildplugin.AbstractAntBuildAction.execute(AbstractAntBuildAction.java:65)
at com.sap.tc.buildplugin.AbstractPlugin.handleBuildStepSequence(AbstractPlugin.java:217)
at com.sap.tc.buildplugin.AbstractPlugin.performBuild(AbstractPlugin.java:193)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sap.tc.buildtool.PluginCommunicator.maybeInvoke(PluginCommunicator.java:114)
at com.sap.tc.buildtool.PluginCommunicatorV2.communicate(PluginCommunicatorV2.java:42)
at com.sap.tc.buildtool.PluginHandlerImpl.handlePluginCommunication(PluginHandlerImpl.java:345)
at com.sap.tc.buildtool.PluginHandlerImpl.execute(PluginHandlerImpl.java:175)
at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:1726)
at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:5548)
at com.sap.caf.designer.actions.DcBuildAction.buildDCsForDevConfig(DcBuildAction.java:768)
at com.sap.caf.designer.actions.DcBuildAction.access$300(DcBuildAction.java:84)
at com.sap.caf.designer.actions.DcBuildAction$1.run(DcBuildAction.java:500)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:101)
aborted with errors.
Ant build finished with ERRORS
file:C:/Documents and Settings/koskarm/.dtc/LocalDevelopment/DCs/sk.globesy/test3/ejbmodule/_comp/gen/default/logs/build.xml:308: JDO enhancer failed because of internal Error.
Ant build finished at 2006-03-30 18:37:30 GMT+01:00 (CEST), Duration: 1.75 seconds
Build finished with ERROR
Cleaning up.
Total build plug-in runtime: 2.109 seconds
-
My coleague have installed fresh installation of NWDS SPS15 and the same example on his installation work fine. All building proccesses are successfully executed. I tried it several times, everytime same result. I tried to use fresh workspace, tried to delete whole content in ./dtc.
I compared every file with coleague installation. But no success. I am running out of ideas what should I do with it.
If anyone was facing similar problem or have any idea. I will be glad to read it.
Thanks
Best regards Miroslav Koskar
Hi Miroslav,
I did not face with this problem, but try to build with jsdk 1.4.2_06.
Best regards,
Aliaksei.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Aliaksei,
I already solved that problem. Yes I was using j2sdk1.4.2_08 but had also installed jdk1.5. I was building with jdk1.4 and also ant build tools was from jdk1.4, then I had have noticed that my NWDS is starting using jre1.5, after change this, everything works.
Thanks for post.
Regards,
Miroslav Koskar
Hi
Please confirm if you used j2sdk1.4.2_08 for building?
Regards
Aruna
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I have similar error:
Can anybody help me?
Regards.
[jdo.enhance] WARNING: Caused by: com.sap.jdo.enhancer.util.UserException: The byte code of the class file has version 1.6. This is not supported by the JDO enhancer. Please compile with the option -target 1.5.
[jdo.enhance] WARNING: at com.sap.jdo.enhancer.classfile.ClassFile.assertSupportedVersion(ClassFile.java:101)
[jdo.enhance] WARNING: at com.sap.jdo.enhancer.classfile.ClassFile.<init>(ClassFile.java:364)
[jdo.enhance] WARNING: at com.sap.jdo.enhancer.filter.Enhancer.enhanceClassFile1(Enhancer.java:144)
[jdo.enhance] WARNING: at com.sap.jdo.enhancer.filter.Enhancer.enhanceClassFile(Enhancer.java:192)
[jdo.enhance] WARNING: ... 45 more
[jdo.enhance] aborted with errors.
Ant runtime 1.07 seconds
Ant build finished with ERRORS
JDO enhancer failed because of unknown Error: 1
Build stopped due to an error: JDO enhancer failed because of unknown Error: 1
Build plugin finished at 2013-03-14 12:59:22 GMT+01:00 (CET)
Total build plugin runtime: 1.34 seconds
Build finished with ERROR
Hi,
I am facing with the same problem.
Can you please explain in detail how to solve it.
Thanks,
Chaitanya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.