Your docBase setting

docBase="${catalina.home}/webapps/jsp-examples/omat/roller"

may be confusing Tomcat's deployment mechanism. For a context named /roller, you should put the webapp at "${catalina.home}/webapps/roller"
and set the docBase="roller".

Alternatively, you can move the docbase entirely outside the "${catalina.home}/webapps" dir and use an absolute path name to get there.

There are FAQs on the wiki explaining more about this.

--a


----- Original Message ----- From: "slitzu" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Thursday, July 20, 2006 4:03 AM
Subject: Re: Roller installation failed - main.do is not available



..I tried also to check my database connectivity by executing dstest.jsp
found in roller's root, and Tomcat gave me the following error:

javax.naming.NameNotFoundException: Name jdbc is not bound in this Context
at org.apache.naming.NamingContext.lookup(NamingContext.java:769) at
org.apache.naming.NamingContext.lookup(NamingContext.java:139) at
org.apache.naming.NamingContext.lookup(NamingContext.java:780) at
org.apache.naming.NamingContext.lookup(NamingContext.java:139) at
org.apache.naming.NamingContext.lookup(NamingContext.java:780) at
org.apache.naming.NamingContext.lookup(NamingContext.java:152) at
org.apache.naming.SelectorContext.lookup(SelectorContext.java:136) at
javax.naming.InitialContext.lookup(InitialContext.java:351) at
org.apache.jsp.omat.roller.dstest_jsp._jspService(dstest_jsp.java:81) at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199) at
org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282) at
org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:754) at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:684)
at
org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:876)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595) FAILURE: exception thrown
javax.naming.NameNotFoundException

My roller.xml file is as follows:

<Context path="/roller"
docBase="${catalina.home}/webapps/jsp-examples/omat/roller" debug="0">
 <Resource name="jdbc/rollerdb" auth="Container"
type="javax.sql.DataSource"
   driverClassName="com.mysql.jdbc.Driver"

url="jdbc:mysql://localhost:3306/roller?autoReconnect=true&amp;useUnicode=true&amp;characterEncoding=utf-8&amp;mysqlEncoding=utf8"
   username="tra"
   password="testi"
   maxActive="20"
   maxIdle="3"
   removeAbandoned="true"
   maxWait="3000" />
 <!-- If you want e-mail features, un-comment the section below -->
 <!--
 <Resource name="mail/Session" auth="Container" type="javax.mail.Session"
    mail.smtp.host="mailhost.example.com" />
 -->
</Context>

I'm using Tomcat 5.5.17. For some reason Roller doesn't create its own
logfile into my TOMCAT_HOME/logs directory..
--
View this message in context: http://www.nabble.com/Roller-installation-failed---main.do-is-not-available-tf1970601s12275.html#a5412607
Sent from the Roller - User forum at Nabble.com.


Reply via email to