cancel
Showing results for 
Search instead for 
Did you mean: 

adding external Jar to a DC

Former Member
0 Kudos

Hello all,

My web DC project needs to use some classes from an exiting jar files built in my company.

If I add the jar file to web-inf/lib, I can deploy and it work if called from a JSP. However I cannot manage to compile java classes from sap netweaver.

This is if I am using the component model. I don't swant to deploy this jar outside of the WAR file.

How can I do so?

Antoine

Message was edited by: antoine Voiry

Accepted Solutions (1)

Accepted Solutions (1)

former_member182372
Active Contributor
0 Kudos

Hello antoine,

Check this

Best regards, Maksim Rashchynski.

Answers (1)

Answers (1)

guru_subramanianb
Active Contributor
0 Kudos

Hii antonie,

Did u try this

Try the following

1. Open the config tool (c:\usr\sap\J2E\JC00\j2ee\configtool\configtool.bat)

2. Expand and Select Server_ID<<Some number>> (cluster-data>instance_ID<<Some server No>>>Server_ID<<ur id number>>)

3. In the "classpath" text field add the external jar file to be added (Specify here the absolute path of your jar files)

4. Restart your J2EE engine and run it.

Hope it helps.

Regards,

Guru

Former Member
0 Kudos

Guru,

I don't want to do that as this is not following a track model approach.

This is also having an impact on all applications on the servers.

The solution had been given to me in the previous link.

Antoine