Hi,
We have a portal application deployed on our portal NW 7.0 SPS18. The par file is: com.XXX.portal.projectmanagement.par, the (application alias="projectmanagement").
I have to reference to this project from a WebDynpro (Java) but when I try to deploy the WebDynpro I get the java.lang.NoClassDefFoundError.
How can I reference to this already existing and deployed project? I tried all suitable possibilities in the WebDynpro proberties in the tab "Sharing References" and also in the other ones but then I couldn't even deploy the WebDynpro.
Do you have any idea how to get the reference working and how the "Sharing Reference" has to be set?
Thanks in advance.
Stefan
Edited by: Stefan Kuster on Jul 22, 2009 3:05 PM
What I already tried strings as Sharing Reference
PORTAL:XXX.com/com.XXX.portal.projectmanagement
XXX.com/com.XXX.portal.projectmanagement
com.XXX.portal.projectmanagement
projectmanagement
comXXXportal~projectmanagement
com/XXX/portal/projectmanagement
Request clarification before answering.
Hi
NoClassDefFoundError excepiton comes when the required jar file is not reaching to the server.
make sure all the jar sud be there in lib folder before deypoyment.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Stefan
try
XXX.com~com.XXX.projektmanagement
Thats one "~" between the vendor name and the component name.
Jan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jan,
Thanks for your reply.
Unfortunately this doesn't work, either. When I try to deploy I get the following deployment error (warning) message:
The referenced application XXX.com~com.XXX.portal.projectmanagement cannot be started. Check the causing exception for details. Hint: Is the referenced application deployed correctly on the server?....
Regards,
Stefan
According to the following help page it should be PORTAL:com.XXX.portal.projectmanagement, right? And it should work with simple portal applications.
[http://help.sap.com/saphelp_nw2004s/helpdata/en/5b/a0480cb4a14747b60cf4d6b23c0a44/content.htm]
Applications
The SharingReference entry specifies the reference to a J2EE application and applications that contain EJBs or portal applications and portal services. The entry must begin with the prefix PORTAL: for referenced portal applications and services, for example SharingReference=PORTAL:<Name of the portal application>.
As for ServiceReferences, the name specified under SharingReference must be a valid application that is deployed on the J2EE Engine. If the J2EE Engine does not know the specified application, you cannot start the referencing Web Dynpro application after deployment. This is the case if a defined reference cannot be triggered at runtime.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.