cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X

How to add custom jar to Windchill

VasiliyRepecki
1-Newbie

How to add custom jar to Windchill

Hi.

What is best practice for adding custom jar to Windchill?

Should i put it anywhere and add path to wt.java.classpath property in wt.properties?

Or should i put it in codebase/WEB-INf/lib directory?

Thanks.

1 REPLY 1
jessh
5-Regular Member
(To:VasiliyRepecki)

This depends a bit upon the release and where you're using the custom jar.

If this is for a release prior to R10, then put the jar in WEB-INF/lib if you want it accessible to the servlet engine or WT_HOME/lib if you want it accessible only to the method server. In R10 and higher, either location will work fine, though it's worth noting that WT_HOME/lib jars are after those in WEB-INF/lib in the classpath lookup.

In any case if it is to be used by applets, then a copy will be needed somewhere in codebase but outside WEB-INF. The standard location in this case would be codebase/lib.

In any case, double-check the Windchill 3rd-party support matrix to be sure that the jar you're adding isn't already bundled with Windchill -- as Windchill requires the versions it bundles be the versions used.

Top Tags