Hi All,
We are developing a BPM DC in CE7.2 SP04. It can successfully be built and deployed to CE system locally. However, when using NWDI, the activation of the DC always fails with the following error:
Error: java.lang.NoClassDefFoundError: javax/xml/stream/XMLStreamReader
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1225)
at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
at com.sap.tc.buildplugin.techdev.ant.util.AntRunner.run(AntRunner.java:114)
....
Could anyone please help us in this issue?
Our CE system is CE7.2 SP04.
The NWDI track is using JDK1.6.0_17 to build the DC.
My local NWDS is 7.2 SP04 PAT0017.
Thanks in advance.
Regards,
Wan Loong Seow
Hello Mr. WAN
It seems to be a misconfiguration in your NWDI
You must verify if all your dependent SC's are imported well into your environments and verify if SC's versions are up to date against your NW patch levels.
Is important to be shure that your NWDI enviroment have the same patch level in Software components as your testing systems, i think the BASIS guys can help you on this.
NOTE: SC's needed for BPM/CE activation:
BPEM-BASE
BPEM-BUILDT
BPEM-CORE
BPEM-MM
BRMS-BUILDT
CAF
CAF-MF
COMP-BUILDT
CU-BASE-JAV
CU-BASE-WD
DATA-MAPPING
ECM-CORE
ENGFACADE
ENGINEAPI
ESCONF_BUILDT
ESF
ESMP_BUILDT
ESP_FRAMEWORK
FP-INFRA
FRAMEWORK
MOIN_BUILDT
SAP_BUILDT
SERVICE-COMP
THL-CORE
UI-SVCS-CORE
WD-ADOBE
WD-RUNTIME
WSRM
Hope this helps!
Julio Cesar
Edited by: jleyvarios on Sep 9, 2011 1:32 AM
Hi Julio Cesar,
Thanks for your suggestions. I have added the dependency of the DCs you suggested into the NWDI track.
However, the activation of the BPM DC still return with the same error.
Regard,
Wan Loong Seow
seems something wrong with your nwdi,
you are using sun jdk not sap jdk?
Hi John,
Yes. The default JDK home path of the track is pointing to a Sun JDK (version 1.6.0_17).
Thanks.
Regards,
Wan Loong Seow
why donn't you use default sap jdk?
Hi John,
The track is meant for building CE 7.2 applications which requires JDK1.6.
The NWDI is of version 7.0 EhP 2 which is running on a SAP JVM 1.4. That is why we've changed the default JDK of the track to JDK 1.6.
Thanks & Regards,
Wan Loong Seow
seems your nwdi is still using jdk1.4 to build your dc.
check your configuration with basis.
check the cbs property
BUILD_TOOL_JDK_HOME
JDK_HOME_PATH
Hi John,
The values are as follows:
1. BUILD_TOOL_JDK_HOME = <JDK 1.5 directory>
2. JDK_HOME_PATHS=JDK1.3.1_HOME=<JDK 1.4.2 Direcotory>;default=<JDK 1.4.2 Direcotory>;JDK1.5.0_HOME=<JDK 1.5.0 Direcotory>;JDK1.6.0_HOME=<JDK 1.6.0 Direcotory>
Sorry for not being able to post the actual value here.
Thanks & Regards,
Wan Loong Seow
Hi John,
The issue is resolved after changing the value of BUILD_TOOL_JDK_HOME to a JDK1.6 direcotory.
Thank you all for the solutions.
Regards,
Wan Loong Seow