on 07-01-2011 11:02 AM
Hello,
I have recently installed a test SAP NW 7.0 EHP1Java (AIX 6.1/ Oracle 11.2) system and deployed Portal/DI/EP Core for our developers.
I am setting also up the WebDynpro settings for one of them. In particular I define the JCO which will be need in WebDynrpo.
I had several issue when I created and tested 1 JCO. I was getting either classpath errors or I could not find the message server I wanted from the given list. I solved them by defining on the O/S sidadm profile the LIBPATH to
/usr/sap/<SID>/SYS/exe/run
and by configuring correctly the SLD on the target ABAP ERP 6.0 system
Now, when I am testing the JCO connection I get this error:
The initial exception that caused the request to fail, was:
java.lang.NoClassDefFoundError: com.sap.util.monitor.jarm.TaskMonitor
at com.sap.mw.jco.util.Jarm.getRequestMonitor(Jarm.java:57)
at com.sap.mw.jco.JCO$Client.beginCall(JCO.java:4144)
at com.sap.mw.jco.JCO$Client.execute(JCO.java:3796)
at com.sap.mw.jco.JCO$Client.execute(JCO.java:3392)
at com.sap.mw.jco.JCO$Client.ping(JCO.java:4106)
... 31 more
The library exists under:
/usr/sap/<SID>/JCxx/j2ee/cluster/server0/bin/ext/com.sap.util.monitor.jarm
I guess I have to do something with the CLASSPATH. Should I add the path
/usr/sap/<SID>/JCxx/j2ee/cluster/server0/bin
to my LIBPATH on OS?
What about the CLASSPATH defined in the Configtool (java startup framework/bootstrap etc).
Your response is very welcome.
Loukas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Saleem,
unfortunately I have already found this article and it doesn't help that much.
I have done an extensive research and there is not much info out there.
I was rather expecting some answer from personal experience from some guy(s) with webdynpro.
Let 's see if someone else has had the same error.
Brgds,
Loukas
I have also found this thread. However it is not clear where to change the classpath in the configtool.
It is very generic the answer and it doesn't provide precise info where and what to change.
Classpath there is in configtool for framework , for bootstrap and it contains few jars. Should we change this location of classpath everytime an application requires a new jar?
Is this a standard way for defining the Classpath?
by the way I have changed the LIBPATH on the Unix level containing the path to the /bin/ext libraries but no success.
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
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.