I am able to resolve all the issues in my Project. Thanks for Providing the Project. God bless you. If anyone else does need any help regarding the project and implementation of the code Provided by marcel. I am ready to help on parveensingla08@gmail.com
Thanks marcel for providing the project. I am able to resolve the above issue as well. In web.xml for the parameter I was using USERDNSDOMAIN rather than USERDOMAIN. We can find these values bu using SET command in Command Prompt. Now Above Project is working fine for both NTLM and NTLMv2. Now When I am using the web.xml with OC4J 10.1.3 server. Java is 1.5 I am facing the below exception : This loader has been closed and should not be in use. java.lang.IllegalStateException: ClassLoader "LPS.root:0.0.0"...
Actually I am using ntlmv2-auth project which uses the ehcache-1.1.jar. This ntlmv2-auth project uses the Cache,CacheException,Element classes which has different format in latest jar ehcache-3.5.2.jar. So I cant uses the updated jar. please suggest what changes I need to do so that this jar will get supported in OC4J server.
I am using ehcache-1.1.jar in OC4J(10.1.3) server. But i am facing this exception. java.lang.IllegalStateException: ClassLoader "LPS.root:0.0.0" (from <application> in /env/lps/user/oracleas/dev_env/products/oraAS10g/j2ee/LPS1/applications/LPS/): This loader has been closed and should not be in use. at oracle.classloader.util.ClassLoadAsserts.fail(ClassLoadAsserts.java:154) at oracle.classloader.PolicyClassLoader.checkState(PolicyClassLoader.java:2120) at oracle.classloader.PolicyClassLoader.internalLoadClass(PolicyClassLoader.java:1706)...
I am using ehcache-1.1.jar in OC4J(10.1.3) server. But i am facing this exception. java.lang.IllegalStateException: ClassLoader "LPS.root:0.0.0" (from <application> in /env/lps/user/oracleas/dev_env/products/oraAS10g/j2ee/LPS1/applications/LPS/): This loader has been closed and should not be in use. at oracle.classloader.util.ClassLoadAsserts.fail(ClassLoadAsserts.java:154) at oracle.classloader.PolicyClassLoader.checkState(PolicyClassLoader.java:2120) at oracle.classloader.PolicyClassLoader.internalLoadClass(PolicyClassLoader.java:1706)...
I am using ehcache-1.1.jar in OC4J(10.1.3) server. But i am facing this exception. java.lang.IllegalStateException: ClassLoader "LPS.root:0.0.0" (from <application> in /env/lps/user/oracleas/dev_env/products/oraAS10g/j2ee/LPS1/applications/LPS/): This loader has been closed and should not be in use. at oracle.classloader.util.ClassLoadAsserts.fail(ClassLoadAsserts.java:154) at oracle.classloader.PolicyClassLoader.checkState(PolicyClassLoader.java:2120) at oracle.classloader.PolicyClassLoader.internalLoadClass(PolicyClassLoader.java:1706)...