Question

6
Replies
4327
Views
Kohei Yoshiwara (KoheiYoshi)
Tokio Marine Holdings

Tokio Marine Holdings
JP
KoheiYoshi Member since 2014 7 posts
Tokio Marine Holdings
Posted: April 7, 2016
Last activity: April 12, 2016
Posted: 7 Apr 2016 6:49 EDT
Last activity: 12 Apr 2016 2:36 EDT
Closed
Solved

How to set classpath of external jar

I’d like to know how to set the classpath of external Jar.

(1) I made a Jar file “/var/tmp/Test.jar” that has class file “jp.co.test.Test”,

(2) Selecting DesignerStudio > System > Settings > Compiler, I entered “var/tmp/Test.jar” at Default Paths and click “Submit”.

(3) Reboot tomcat.

(4) “Jar added to compile time class path /var/tmp/test1.jar” was logged on catalina.out when rebooting tomcat.

(5) I couldn’t crete connect java on Connector Wizard.

But when I place the same jar file in “/var/lib/tomcat-6/webapps/prweb/WEB-INF/lib/“, I can connect “jp.co.test.Test” without Default Paths setting.

Could you tell me how to connect Java when I place jar file outside of “/WEB-INF/lib” directory.

Thank you

Data Integration
Moderation Team has archived post, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.