tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ignacio Ocampo <naf...@gmail.com>
Subject jespa (jcifs) does not works in Tomcat but works in single app
Date Mon, 17 Nov 2014 05:59:12 GMT
Hi all,

I've a simple *app (A)* that uses *JESPA* (and *JCIFS*), it works perfectly
when I run this isolated. This app, has a *functionA* that call a URL with
NTLM authentication and I use JESPA to authenticate.

I have another *app (B)* that uses *app (A)* as library with *TOMCAT*, but,
when I call the *functionA* it doesn't work.

In both cases, I'm sure of:

   1. I register java protocol handler with:
*System.setProperty("java.protocol.handler.pkgs",
   "jespa")* at the start of the program (I tried with *JAVA_OPTS* too).
   2. I've *jespa-1.1.20.jar* and *jcifs-1.3.18.jar* in /opt/tomcat/lib/
   and /opt/tomcat/webapps/ROOT/WEB-INF/lib

Using CLASSPATH:
/root/apache-tomcat-7.0.57/bin/bootstrap.jar:/root/apache-tomcat-7.0.57/bin/tomcat-juli.jar:/root/apache-tomcat-7.0.57/lib/
*jespa.jar*:/root/apache-tomcat-7.0.57/lib/*jcifs.jar*


-- 
Ignacio Ocampo Millán

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message