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
Can you help me?