on 08-05-2004 9:43 PM
Hi,
I want to access xerces.jar from my application. I have added entries in library.txt and reference.txt. I am following the instructions in the FAQ - Frequently-AskedQuestionsAboutSAPJ2EEEngine6.20. as given below
**************************
1) Register Xerces as an additional library on SAP J2EE
Engine. You can do this using the Deploy Service
CHANGELIB command or manually copy the archive
file in <sap-install-dir>/cluster/dispatcher/additional-lib/ for dispatcher nodes and
for <sap-install-dir>/cluster/server/additional-lib/ application nodes. Then add the following line in library.txt file located in <sap-install-dir>/cluster/dispatcher/managers/
directory for dispatcher nodes and in <sap-install-dir>/cluster/server/managers/
directory for application nodes:
library xerces xerces.jar
Then register a reference from your application to
the Xerces library, using the CHANGEREF shell
command of Deploy Service, or manually in reference.txt
file located in the same directory as the
above mentioned library.txt
2) If you are using the Xerces parser in classes that are
included in a WAR file, add xerces.jar in the WEB-INF/lib
directory in the WAR.
3) Add to your applications EAR.
*******************
I tried the first and third options except that I did not modify the reference.txt and library.txt files in the dispatcher directory. I have restarted the server every time and tried to access my pages. But it is giving me a org/w3c/dom/Node NoClassDefFound error.
Environment : Windows 2003, EP6.0 Sp2. Hotfix4. MS SQL Server. WAS 6.20.
Any ideas to resolve this ?
Regards
Bhanu
Hi Bhanu,
You also need to put sapxmltoolkit.jar in the classpath.
Regards,
Hart
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
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.