on 2016 May 14 12:38 AM
Hi Experts,
I am configuring Sourcing, and its failing at update and created EAR SCA Files.
Below is the error log:
build_opt_sca:
[copy] Copying 1 file to C:\sourcing90\fsapp
[exec] Exception in thread "main" java.lang.NoClassDefFoundError: com/sap/tc/di/cmdline/ApplicationLauncher
[exec] Caused by: java.lang.ClassNotFoundException: com.sap.tc.di.cmdline.ApplicationLauncher
[exec] at java.net.URLClassLoader$1.run(URLClassLoader.java:261)
[exec] at java.security.AccessController.doPrivileged(Native Method)
[exec] at java.net.URLClassLoader.findClass(URLClassLoader.java:249)
[exec] at java.lang.ClassLoader.loadClass(ClassLoader.java:354)
[exec] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:344)
[exec] at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
[exec] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:367)
[exec] Could not find the main class: com.sap.tc.di.cmdline.ApplicationLauncher. Program will exit.
[exec] Result: 1
[delete] Deleting: C:\sourcing90\fsapp\commandfile.txt
BUILD FAILED
file:C:/sourcing90/deploy/NW-deploy.xml:209: Warning: Could not find file C:\sourcing90\fsapp\esooptimizer.sca to copy.
Please advice.
Thanks,
Asad
Request clarification before answering.
Hello,
For fix your problem you need to configure the variables as below:
In dctool.sh input this:
export NWDITOOLLIB="/sapmnt/<SID>/global/di_cmd_tools/lib"
export JAVA_HOME="/sapmnt/<SID>/exe/jvm/linuxx86_64/sapjvm_6.1.086/sapjvm_6/jre"
In operating system this:
setenv DISPLAY=localhost:0
setenv NWDITOOLLIB /sapmnt/<SID>/global/di_cmd_tools/lib
setenv JAVA_HOME /sapmnt/<SID>/exe/jvm/linuxx86_64/sapjvm_6.1.086/sapjvm_6/jre
setenv PATH /sapmnt/<SID>/exe/jvm/linuxx86_64/sapjvm_6.1.086/sapjvm_6/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/sap/<SID>/SYS/exe/uc/linuxx86_64:/usr/sap/<SID>/SYS/exe/run:/home/<sid>adm:.
Remind, check your java's version before to configure the variables. In my case my java is 6.1.086.
Thanks.
Daniel Berto Santana
SAP Basis Netweaver
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Asad,
I am with the same problem here.. So, I would like to know.. Are you fixed this issue? if yes, Can you share the solution with me?
thanks.
S.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Please use below link.
https://help.sap.com/saphelp_nw70/helpdata/EN/43/cf6bac44e70a85e10000000a1553f6/frameset.htm
Also, see below:
Thanks,
Asad
Creating the SDA file is the first of two steps. The second step is to create the SCA file. Where this problem is not finding a file that is required to generate the SDA, it seems to be either the path is incorrecvt to the tools or the tools were not extracted properly from the archive they are stored in. Please refer to the documentation that explains how / where to extract the tools and the modifications in the script to point at them. The only othere issue I have seen on these installations is insufficient access on the directory but that seems unlikely in this case. when I see the ../ in the begining of the path that seems to indicate a relative path. As stated in the install guide the path should be set explicitly. (as suggested by Asad above)
Regards,
Gary
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.