NPE installing a Clojure WAR in Tomcat, restart fixes?

This may or may not have anything to do with your problem, but I've noticed that sometimes Tomcat prematurely deploys a WAR file (especially a large one) that has not been written completely to the webapps directory. This is not Tomcat's fault; it can't know when the file is complete I now always copy a WAR file into a running Tomcat by copying it to, say webapp.war. Disabled and then renaming it: mv webapp.war.

Disabled webapp.war.

This may or may not have anything to do with your problem, but I've noticed that sometimes Tomcat prematurely deploys a WAR file (especially a large one) that has not been written completely to the webapps directory. This is not Tomcat's fault; it can't know when the file is complete. I now always copy a WAR file into a running Tomcat by copying it to, say, webapp.war.

Disabled and then renaming it: mv webapp.war. Disabled webapp.war.

Thanks for the tip, but no luck :( – Justin Kramer Feb 7 at 5:41.

I did almost the same thing but used tomcat 5.5.34 and it worked. I added this dependency to project. Clj: ring "1.0.0-RC1" I added this dev-dependency to project.

Clj: :dev-dependencies lein-ring "0.4.6" I added the ring configuration to project. Clj and made sure my handler function was named 'handler': :ring {:handler simple.webapp. Core/handler} I ran lein ring uberwar then I renamed the resulting war file so that it didn't contain the "-1.0.0-SNAPSHOT.

Standalone" in the name before copying the war file to tomcat's webapps/ directory. Forgot to mention that I was using clojure 1.3.0.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions