Skip to Content

Not able to use external library DC in NW 7.0

Hi Experts,

I have a requirement wherein I need to provide the option to export the data in the Table UI to a PDF file. For this purpose I am using the iText-2.1.5.jar file in my External Library DC.

I am following the blog *How to use external JAR files in Web Dynpro development components * [] [original link is broken] [original link is broken]; to use the external library DC within my Web Dynpro Development component.

Below are the steps I am following:

Web Dynpro DC - pdftest

External Library DC - pdftestlib

J2EE ServerComponent/Library DC - pdfjeecomp

1. Create an external library DC and add the jar file in the libraries folder of this DC.

2. Create public part for compilation and for assembly for the jar file.

3. Create a development component of type J2EE ServerComponent/Library and use the public part for

assembly of the external library DC (with Dependency Type Build Time).

3. Use the public part for compilation in my web dynpro development component (with Dependency Type Build Time).

4. Build and deploy the J2EE Library DC

5. Define a Library Reference to the J2EE Server Component/Library development component in the project properties of my

web dynpro DC.

6. Build and deploy the web dynpro DC.

Deployment of the web dynpro DC finishes with the below warning:



=> deployed with warning : file:/C:/DOCUME1/NETWEA1.HUL/LOCALS1/Temp/temp1845989722034077442com.hul.testpdftest.ear

Finished with warnings: development component 'pdftest'/'com.hul.test'/'local'/'20111214120043'/'0':Caught exception during application startup from SAP J2EE Engine's deploy service:java.rmi.RemoteException: Error occurred while starting application com.hul.test/pdftest and wait. Reason: Clusterwide exception: server ID Clusterwide exception: Failed to prepare application com.hul.test/pdftest for startup. Reason=Clusterwide exception: Failed to start dependent library ''com.test~pdfjeecomp.sda'' of application ''com.hul.test/pdftest''. Status of dependent component: STATUS_MISSING. Hint: Is the component deployed correctly on the engine? at at at at at at at at at at at at at at at at at at at at (message ID:

Deployment exception : Got problems during deployment


And when I run the application I get the below error: Failed to start deployable object com.hul.test/pdftest

I am following the exact steps from the above mentioned blog. Can anyone help me in pointing if I am missing something?



Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.