on 08-05-2004 9:44 AM
Hi,
I have deployed an .ear file on the SAP J2EE engine 6.20 on EP6.0 sp2. When I access one of the JSP's, I am getting a NoClassDefFound exception even though the particular jar (xml-apis.jar) file containing the class is in the additional-lib directory. Also, the jar file has been added to the classpath in go.bat? What other changes are to be done for a successful deployment?
Environment :EP6.0, sp2 hotfix4 on Windows 2003, MS SQL server DB.
Please reply ASAP
Thanks
Bhanu
Hi Bhanu,
did you make an entry for your library JAR file into the library.txt file?
the entry should look like:
library xml-api xml-api.jar
For more information, see the documentation that comes with J2EE Engine: Administration Manual -> Configuration Tasks -> Configuration of Additional Libraries.
Good luck!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ivalylo,
Yes, I did that. However it did not work. I tried the steps as indicated in the document. But that failed too.
I tried using the Node class from SAP. (inqmyxml.jar) My application is not able to find the org\w3c\dom\Node Class in inqmyxml.jar file. How should i place this jar file in the classpath?
regards
Bhanu
hello,
have you tried including the 3rd party jar in your EAR file itself?
i use a number of external jars in my web app and ejb, including some xml parsing classes. what i did was to put them all in the EAR, at the root level, in other words, not in a sub-directory. then in my WAR's meta-inf/MANIFEST.MF file reference them in the Class-path. do simililar thing for the ejbs if necessary.
when you tried to use the inqxml instead, did you make a reference in manager/referecen.txt from your app to the inqmy library? if so, did you look into the inqmyxml.jar to see if the Node class is actually there?
regards,
wentao
User | Count |
---|---|
80 | |
24 | |
11 | |
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.