[opencms-dev] Installation Help (Yet another resourcebroker error)

Stephan Hartmann hartmann at waehrisch-feykes.de
Wed Jan 23 13:46:01 CET 2002


Hi Kelvin,

> > Stephan,
>
> Tomcat's logs are reticent about the error. But here's why I think it's an
> OpenCMS error...
>
> Looking at web.xml, we can see that all requests ending with ".ocjsp" is
> handled by OpenCmsServlet. 

No, we only see that *.ocjsp is mapped to a servlet called jsp which is 
defined in tomcats web.xml in conf directory.
in fact, it is org.apache.jasper.servlet.JspServlet

so "HTTP Status 503 - Servlet jsp is currently unavailable" sounds to me like 
a misconfiguration of your tomcat. check your tomcat's web.xml.

Maybe you should try a new clean tomcat installation.

bye,
Stephan


> What I tried doing was commenting out the
> declaration of OpenCmsServlet in web.xml and loading the URL. What happened
> was that the SetUp Welcome page loaded. However, the JSP parameters were
> not filled out, since it depends on OpenCmsServlet to do that.
>
> So, I concluded that the problem was OpenCmsServlet's init() method, which
> after tracing through the source code and going half-mad in the process,
> didn't really lead me to any real conclusions. That was when I posted for
> help. :)
>
> Regards,
> Kelvin
>   ----- Original Message -----
>   From: Stephan Hartmann
>   To: opencms-dev at www.opencms.com
>   Sent: Wednesday, January 23, 2002 7:41 PM
>   Subject: Re: [opencms-dev] Installation Help (Yet another resourcebroker
> error)
>
>
>   Hi Kelvin,
>
>   > Launching my browser to access http://localhost:8080/opencms/ocsetup
>   > redirects to http://localhost:8080/opencms/ocsetup/index.ocjsp, and
>   > Tomcat returns HTTP Status 503 - Servlet jsp is currently unavailable.
>
>   for me it really doesn't seem to be an opencms problem. Is there more
>   information about this 503 Status in tomcat's logs?  Can you examine the
>   ocsetup directory? can you view index.ocjsp with an editor?
>
>   > log/opencms.log is empty.
>   >
>   > Changing the url to http://localhost:8080/opencms/ocsetup/index.jsp,
>   > Tomcat complains:
>   >
>   > javax.servlet.ServletException: Critical error while loading
>   > resourcebroker. at
>   > com.opencms.core.OpenCmsHttpServlet.init(OpenCmsHttpServlet.java:687)
>   > at com.opencms.boot.OpenCmsServlet.init(OpenCmsServlet.java:89)
>   >  at
>   > org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:852)
>   > <snip>
>   >
>   > log/opencms.log now says:
>   > [22.01.2002 20:30:35] <opencms_init> [OpenCmsServlet] logging started
>   > [22.01.2002 20:30:35] <opencms_init> [OpenCmsServlet] Server Info:
>   > Apache Tomcat/4.0.1
>   > [22.01.2002 20:30:35] <opencms_init> [OpenCmsServlet] JDK Info: Java
>   > HotSpot(TM) Client VM 1.3.0-C mixed mode Sun Microsystems Inc.
>   > [22.01.2002 20:30:35] <opencms_init> [OpenCmsServlet] OS Info: Windows
>   > 98 4.10 x86
>   > [22.01.2002 20:30:35] <opencms_init> [OpenCmsServlet] redirect-rule:
>   > /pics/ -> /${WEB_APP_NAME}/pics/
>   > [22.01.2002 20:30:35] <opencms_init> [OpenCmsServlet] redirect-rule:
>   > /download/ -> /${WEB_APP_NAME}/download/
>   > [22.01.2002 20:30:35] <opencms_init> [OpenCmsServlet] Clusterurl:
>   > [22.01.2002 20:30:35] <opencms_init> [OpenCms] creating first
>   > cms-object [22.01.2002 20:30:35] <opencms_init> [OpenCms] initializing
>   > the main resource-broker
>   > [22.01.2002 20:30:35] <opencms_init> [CmsRbManager]
>   > ressourcebroker-name: mysql
>   > [22.01.2002 20:30:35] <opencms_init> [CmsRbManager]
>   > ressourcebroker-classname: com.opencms.file.mySql.CmsResourceBroker
>   > [22.01.2002 20:30:35] <opencms_init> [CmsRbManager] got rb-class
>   > [22.01.2002 20:30:35] <opencms_init> [CmsRbManager] created rb-instance
>   > [22.01.2002 20:30:35] <opencms_init> [CmsResourceBroker] init the
>   > dbaccess-module.
>   > [22.01.2002 20:30:35] <opencms_init> [CmsDbAccess] init the
>   > dbaccess-module. [22.01.2002 20:30:35] <opencms_init> [CmsDbAccess]
>   > read pool-name from configurations: jdbc:opencmspool:mysql
>   > [22.01.2002 20:30:35] <opencms_init> [CmsDbAccess] read
>   > online-pool-name from configurations: jdbc:opencmspool:mysqlonline
>   > [22.01.2002 20:30:35] <opencms_init> [CmsDbAccess] read
>   > backup-pool-name from configurations: jdbc:opencmspool:mysqlbackup
>   > [22.01.2002 20:30:35] <opencms_init> [CmsDbAccess] read digest from
>   > configurations: MD5
>   > [22.01.2002 20:30:35] <opencms_init> [CmsDbAccess] digest created,
>   > using: MD5 Message Digest from SUN, <initialized>
>   >
>   > [22.01.2002 20:30:36] <opencms_init> [CmsDbAccess] fill default
>   > resources [22.01.2002 20:30:36] <opencms_init> [CmsRbManager] Critical
>   > error while loading resourcebroker.
>   > [22.01.2002 20:30:36] <opencms_init> [OpenCms] Critical error while
>   > loading resourcebroker.
>   >
>   > No surprises here. It's pretty much everyone on the mailing list faced
>   > with installation issues has been getting...Tried searching the
>   > archives to no avail. Most of the relevant messages are pretty dated.
>   >
>   > Does anyone have any clue? Would appreciate the help.
>   >
>   > Regards,
>   > Kelvin

----------------------------------------
Content-Type: text/html; charset="iso-8859-1"; name="Anhang: 1"
Content-Transfer-Encoding: quoted-printable
Content-Description: 
----------------------------------------



More information about the opencms-dev mailing list