You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jackrabbit.apache.org by Nedim <ne...@eu-softing.com> on 2009/09/15 11:47:18 UTC
Exception: Only one repository startup servlet allowed per web-app
Hello,
I have a problem with creating a new repository, I install tomcat 5.5 on
win XP my local copy and one on debian. On win xp all works fine I
install jackrabbit 1.5.6 deploy it , create a repository over the easy
wizard. But when I want to deploy this app on the webapp on linux I get
this exception, please help.
javax.servlet.ServletException: Only one repository startup servlet allowed per web-app.
org.apache.jackrabbit.j2ee.RepositoryStartupServlet.init(RepositoryStartupServlet.java:208)
javax.servlet.GenericServlet.init(GenericServlet.java:211)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244)
java.security.AccessController.doPrivileged(Native Method)
javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276)
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:115)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
java.lang.Thread.run(Thread.java:595)
Thx, Nedim Sehic
Re: Exception: Only one repository startup servlet allowed per
web-app
Posted by Alexander Klimetschek <ak...@day.com>.
On Tue, Sep 15, 2009 at 11:47, Nedim <ne...@eu-softing.com> wrote:
> javax.servlet.ServletException: Only one repository startup servlet allowed
> per web-app.
This looks like there are two RepositoryStartupServlets in your
(jackrabbit) web.xml. Or there are two jackrabbit webapps installed in
the same container.
Regards,
Alex
--
Alexander Klimetschek
alexander.klimetschek@day.com