What steps will reproduce the problem?
1. Deploy the App
2. Start the Application-Server
3.
What is the expected output? What do you see instead?
Exptected: No Exception
Instead:
unable to initialize pwm due to configuration related error: null
java.lang.NullPointerException
at java.io.File.<init>(File.java:277)
at password.pwm.util.ServletHelper.figureFilepath(ServletHelper.java:263)
at password.pwm.ContextManager.initialize(ContextManager.java:127)
at password.pwm.HttpEventManager.contextInitialized(HttpEventManager.java:106)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4750)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5170)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:724)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:700)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:697)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1071)
at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1722)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
What version of PWM are you using?
1.7.1
I think that I have already read that ther ist a different behaviour of
ervletContext.getRealPath in Tomcat7 and Tomcat8.
Original issue reported on code.google.com by t0b14sk...@gmail.com on 24 Jun 2014 at 4:38
Original issue reported on code.google.com by
t0b14sk...@gmail.com
on 24 Jun 2014 at 4:38