on 05-03-2007 12:31 PM
Hi everyone,
I created JSP that call RFC from SAP/R3.
I have problem with the DestinationService.
Without DCs, it worked very good.
But since I created a DC for my JSP project, I have exception at run time regarding
the java.lang.NoClassDefFoundError: com/sap/security/core/server/destinations/api/DestinationService.
Eventhough I add the specific jar, I get an excpetion.
Thanks for the help.
David
Go to the application-j2ee-engine.xml file and add following reference:
<reference
reference-type="weak">
<reference-target
provider-name="sap.com"
target-type="interface">tcsecdestinations~interface</reference-target>
</reference>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
adding direct jar ref for a DC project is not recommended..you should instead add a Used DC reference...search in the three SWCs(JTech and other two) those come with your track for the JCo library
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Did you copy jco.jar to application server folder?
Because I had same error before, i copied jar to usr/j2ee/.. application server/lib folder and i solved problem
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.