On Mon, Oct 26, 2009 at 09:02, Caldarale, Charles R
<chuck.caldar...@unisys.com> wrote:
> If any webapp requires a specific CLASSPATH setting, the webapp is 
> ill-engineered at best.
>
> The CLASSPATH environment variable should *never* be used with Tomcat (or any 
> other Java program, for that matter).

I agree.  Unfortunately, IBM disagrees and our webapp relies on this API:

http://publib.boulder.ibm.com/infocenter/forms/v3r0m0/index.jsp?topic=/com.ibm.help.forms.doc/API_Install_Guide/i_wfsa_g_unix_setting_the_environmental_variables.html

For whatever reason, copying those JAR files to the WEB-INF/lib
directory doesn't work.  I am not much of a Java developer, and do not
understand the intricacies of how this all should work, but the API
throws a "failed to initialize" error at us if we don't have the
environment set up as described in the above document.

>> Can anybody assist?
>
> The proper thing to do is place whatever jars or classes the webapp needs 
> under its WEB-INF/lib or WEB-INF/classes directory, respectively.  Webapps 
> are intended to be self-contained, so should include all their dependencies.

I agree with that, but it didn't work, unfortunately.  Is there a
workaround for ill-engineered applications such as this?

Thanks for your help, Chuck!

Rob

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to