<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2712.300" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Stephan,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Tomcat's logs are reticent about the error. But
here's why I think it's an OpenCMS error...</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Looking at web.xml, we can see that all requests
ending with ".ocjsp" is handled by OpenCmsServlet. 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.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>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. :)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Regards,</FONT></DIV>
<DIV><FONT face=Arial size=2>Kelvin</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=hartmann@waehrisch-feykes.de
href="mailto:hartmann@waehrisch-feykes.de">Stephan Hartmann</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=opencms-dev@www.opencms.com
href="mailto:opencms-dev@www.opencms.com">opencms-dev@www.opencms.com</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, January 23, 2002 7:41
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [opencms-dev] Installation
Help (Yet another resourcebroker error)</DIV>
<DIV><BR></DIV>Hi Kelvin,<BR><BR>> Launching my browser to access <A
href="http://localhost:8080/opencms/ocsetup">http://localhost:8080/opencms/ocsetup</A><BR>>
redirects to <A
href="http://localhost:8080/opencms/ocsetup/index.ocjsp">http://localhost:8080/opencms/ocsetup/index.ocjsp</A>,
and Tomcat<BR>> returns HTTP Status 503 - Servlet jsp is currently
unavailable.<BR>><BR><BR>for me it really doesn't seem to be an opencms
problem. Is there more <BR>information about this 503 Status in tomcat's
logs? Can you examine the <BR>ocsetup directory? can you view
index.ocjsp with an editor?<BR><BR><BR><BR>> log/opencms.log is
empty.<BR>><BR>> Changing the url to <A
href="http://localhost:8080/opencms/ocsetup/index.jsp">http://localhost:8080/opencms/ocsetup/index.jsp</A>,
Tomcat<BR>> complains:<BR>><BR>> javax.servlet.ServletException:
Critical error while loading<BR>> resourcebroker. at<BR>>
com.opencms.core.OpenCmsHttpServlet.init(OpenCmsHttpServlet.java:687)
at<BR>>
com.opencms.boot.OpenCmsServlet.init(OpenCmsServlet.java:89)<BR>> at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:852)<BR>>
<snip><BR>><BR>> log/opencms.log now says:<BR>> [22.01.2002
20:30:35] <opencms_init> [OpenCmsServlet] logging started<BR>>
[22.01.2002 20:30:35] <opencms_init> [OpenCmsServlet] Server Info:
Apache<BR>> Tomcat/4.0.1<BR>> [22.01.2002 20:30:35] <opencms_init>
[OpenCmsServlet] JDK Info: Java<BR>> HotSpot(TM) Client VM 1.3.0-C mixed
mode Sun Microsystems Inc.<BR>> [22.01.2002 20:30:35] <opencms_init>
[OpenCmsServlet] OS Info: Windows 98<BR>> 4.10 x86<BR>> [22.01.2002
20:30:35] <opencms_init> [OpenCmsServlet] redirect-rule:<BR>> /pics/
-> /${WEB_APP_NAME}/pics/<BR>> [22.01.2002 20:30:35]
<opencms_init> [OpenCmsServlet] redirect-rule:<BR>> /download/ ->
/${WEB_APP_NAME}/download/<BR>> [22.01.2002 20:30:35] <opencms_init>
[OpenCmsServlet] Clusterurl:<BR>> [22.01.2002 20:30:35]
<opencms_init> [OpenCms] creating first cms-object<BR>> [22.01.2002
20:30:35] <opencms_init> [OpenCms] initializing the main<BR>>
resource-broker<BR>> [22.01.2002 20:30:35] <opencms_init>
[CmsRbManager] ressourcebroker-name:<BR>> mysql<BR>> [22.01.2002
20:30:35] <opencms_init> [CmsRbManager]<BR>>
ressourcebroker-classname: com.opencms.file.mySql.CmsResourceBroker<BR>>
[22.01.2002 20:30:35] <opencms_init> [CmsRbManager] got rb-class<BR>>
[22.01.2002 20:30:35] <opencms_init> [CmsRbManager] created
rb-instance<BR>> [22.01.2002 20:30:35] <opencms_init>
[CmsResourceBroker] init the<BR>> dbaccess-module.<BR>> [22.01.2002
20:30:35] <opencms_init> [CmsDbAccess] init the<BR>> dbaccess-module.
[22.01.2002 20:30:35] <opencms_init> [CmsDbAccess] read<BR>>
pool-name from configurations: jdbc:opencmspool:mysql<BR>> [22.01.2002
20:30:35] <opencms_init> [CmsDbAccess] read online-pool-name<BR>>
from configurations: jdbc:opencmspool:mysqlonline<BR>> [22.01.2002
20:30:35] <opencms_init> [CmsDbAccess] read backup-pool-name<BR>>
from configurations: jdbc:opencmspool:mysqlbackup<BR>> [22.01.2002
20:30:35] <opencms_init> [CmsDbAccess] read digest from<BR>>
configurations: MD5<BR>> [22.01.2002 20:30:35] <opencms_init>
[CmsDbAccess] digest created, using:<BR>> MD5 Message Digest from SUN,
<initialized><BR>><BR>> [22.01.2002 20:30:36] <opencms_init>
[CmsDbAccess] fill default resources<BR>> [22.01.2002 20:30:36]
<opencms_init> [CmsRbManager] Critical error while<BR>> loading
resourcebroker.<BR>> [22.01.2002 20:30:36] <opencms_init> [OpenCms]
Critical error while loading<BR>> resourcebroker.<BR>><BR>> No
surprises here. It's pretty much everyone on the mailing list faced
with<BR>> installation issues has been getting...Tried searching the
archives to no<BR>> avail. Most of the relevant messages are pretty
dated.<BR>><BR>> Does anyone have any clue? Would appreciate the
help.<BR>><BR>> Regards,<BR>> Kelvin<BR><BR></BLOCKQUOTE></BODY></HTML>