jackrabbit-webapp-2.10.1.war on tomcat7 -
i having issue deploying jackrabbit-webapp-2.10.1.war
on tomcat7 (pls see trace below). didn't have problems deploying jackrabbit-webapp-2.10.1.war
on tomcat6 nor deploying jackrabbit-webapp-2.8.1.war
on tomcat7 (but because 2.8.1 not contain protectedhandlers.properties
in web.xml
).
the class protectedhandlers.properties
points can found in jackrabits' lib - ideas?
l
015-06-19 17:47:09.095 error [localhost-startstop-1] protectedremovemanager.java:97 /web-inf/protectedhandlers.properties java.lang.classnotfoundexception: /web-inf/protectedhandlers.properties @ java.lang.class.forname0(native method) ~[na:1.7.0_79] @ java.lang.class.forname(class.java:191) ~[na:1.7.0_79] @ org.apache.jackrabbit.server.remoting.davex.protectedremovemanager.createhandler(protectedremovemanager.java:91) [jackrabbit-jcr-server-2.10.1.jar:na] @ org.apache.jackrabbit.server.remoting.davex.protectedremovemanager.(protectedremovemanager.java:63) [jackrabbit-jcr-server-2.10.1.jar:na] @ org.apache.jackrabbit.server.remoting.davex.jcrremotingservlet.init(jcrremotingservlet.java:275) [jackrabbit-jcr-server-2.10.1.jar:na] @ javax.servlet.genericservlet.init(genericservlet.java:158) [servlet-api.jar:3.0.fr] @ org.apache.catalina.core.standardwrapper.initservlet(standardwrapper.java:1284) [catalina.jar:7.0.62] @ org.apache.catalina.core.standardwrapper.loadservlet(standardwrapper.java:1197) [catalina.jar:7.0.62] @ org.apache.catalina.core.standardwrapper.load(standardwrapper.java:1087) [catalina.jar:7.0.62] @ org.apache.catalina.core.standardcontext.loadonstartup(standardcontext.java:5266) [catalina.jar:7.0.62] @ org.apache.catalina.core.standardcontext.startinternal(standardcontext.java:5554) [catalina.jar:7.0.62] @ org.apache.catalina.util.lifecyclebase.start(lifecyclebase.java:150) [catalina.jar:7.0.62] @ org.apache.catalina.core.containerbase.addchildinternal(containerbase.java:901) [catalina.jar:7.0.62]
classloader mechanisms have changed in tomcat7.
go apache-tomcat-7/webapps/jackrabbit-local-entw/web-inf , copy or move batchread.properties protectedhandlers.properties classes/ subdirectory
than edit web.xml , change
<param-value>/web-inf/batchread.properties</param-value>
to
<param-value>/batchread.properties</param-value>
and
<param-value>/web-inf/protectedhandlers.properties</param-value>
to
<param-value>/protectedhandlers.properties</param-value>
after restarting tomcat error go away.
this how manually integrate deployment process example use maven maven-war-plugin , configure pom.xml create own war file war overlay jackrabbit-webapp-2.10.1.war , package web.xml changed accordingly , batchread.properties , protectedhandlers.properties @ new location there.
Comments
Post a Comment