cancel
Showing results for 
Search instead for 
Did you mean: 

Deploy a Library with the NetWeaver Developer Studio 7.1

Former Member
0 Kudos

Hi All,

i would like to deploy a jar-file as a library on PI 7.1 with the NWDS 7.1.

It is different to 7.0.

I hope anyone can tell me how to do this..

Thanks

Christoph

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member184619
Active Contributor
0 Kudos

This [Wiki|https://www.sdn.sap.com/irj/scn/wiki?path=/display/xi/wheretogetthelibrariesforXI+development] Guide might help you.

Sachin

Shabarish_Nair
Active Contributor
0 Kudos

We can deploy EAR files via the NWDS.

I dont think there is anything different from the earlier version.

Use the SDM (from the menu) and deploy the project

Former Member
0 Kudos

Hi,

Here is the process to deploy a Library project:

1.Defining Libraries:

To define J2EE libraries in the SAP NetWeaver Developer Studio, you first create a corresponding Library project .Then you have to add all necessary JAR files or references to other J2EE Engine components.

2.Creating a Library Project:

Choose File ® New ® Project.Follow the wizard to create a library project.The wizard generates an empty Library project. After the generation is completed, the J2EE perspective is opened automatically. The logical project structure is displayed in the J2EE Explorer and contains the two XML files: sda-dd.xml and provider.xml.

3.Adding JARs:

1. Choose the server/provider.xml node and choose Open from the context menu.The multipage editor opens in the right pane.

2. Choose the Jars tab.

3. Choose the Jars node followed by Add.

4. Select one or more JARs from your workspace and confirm by choosing OK.

4.Adding References:

1. Choose the server/provider.xml node and choose Open from the context menu.The multipage editor opens in the right pane.

2. Choose the References tab.

3. Choose the References node followed by Add.

4. You can either create a new reference or select an existing one.

5.Creating a Library Archive :

1. Select the library project node in the J2EE Explorer.

2. Open the context menu and choose Build Library Archive.

3. Choose OK to confirm

6.Deploying a Library Archive :

Prerequisites:· The SDA file for the library project has been created successfully.

· You have started the J2EE Engine on which the archive is to be deployed.

· The settings in Window --> Preferences --> SAP J2EE Engine( SAP PI) are correct.

Process:

1. In the J2EE Explorer, expand the library project node and select the relevant archive.

2. Open the context menu and choose Deploy to corresponding J2EE Engine.

Regards,

Kalpana

Former Member
0 Kudos

Hi Kalpana,

your description is for a DS 7.0. In DS 7.1 there is no possibility to create a Library Project.

I tried to deploy the library as a Enterprise Application Project (how describe in the docu), but my Adapter (here i reference the library) can't find the deployed library. Maybe because of the Software Type is J2EE, not library.

Regards,

Christoph

Former Member
0 Kudos

-

Edited by: Christoph Spierling on May 19, 2009 10:20 AM

Former Member
0 Kudos

-

Edited by: Christoph Spierling on May 19, 2009 10:21 AM

Former Member
0 Kudos

-

Edited by: Christoph Spierling on May 19, 2009 10:21 AM

Former Member
0 Kudos

-

Edited by: Christoph Spierling on May 19, 2009 10:21 AM