AW: [opencms-dev] Error installing opencms 6b3 as root

Michael Moossen m.moossen at alkacon.com
Mon May 9 09:31:02 CEST 2005


Hi, 
   there was a little bug while installing opencms as the ROOT
application, checkout the changes...
   (the affected resources are all step_4_database_setup.jsp files under
the /setup/database/xxx/ folders.)
Regards, 

Michael Moossen 
Alkacon Software - The OpenCms Experts 
http://www.alkacon.com 

 
 

-----Ursprüngliche Nachricht-----
Von: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] Im Auftrag von Corbey, Clayton
Gesendet: Donnerstag, 5. Mai 2005 18:37
An: opencms-dev at opencms.org
Betreff: [opencms-dev] Error installing opencms 6b3 as root



I've tried to install OpenCMS as ROOT as well and get the same error
after page 2. I believe it's caused on page 4 after the check (?) on
page 3


Any ideas? 

Here's my setup
 

RedHat EL 3.0 2.4.20-21 
OpenCMS 6B3 
Tomcat 5.5.9 
MySQL 4.1.11 
JDK 1.5.0.0.3 

Here's the exception on setup in the web page
 

org.apache.jasper.JasperException: String index out of range: -1 
 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja
va:370) 
 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)

 
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) 
        javax.servlet.http.HttpServlet.service(HttpServlet.java:802) 
root cause 
java.lang.StringIndexOutOfBoundsException: String index out of range: -1

        java.lang.String.substring(String.java:1768) 
        java.lang.String.substring(String.java:1735) 
 
org.apache.jsp.setup.database.mysql.step_005f4_005fdatabase_005fsetup_js
p._jspService(org.apache.jsp.setup.database.mysql.step_005f4_005fdatabas
e_005fsetup_jsp:99)

 
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) 
        javax.servlet.http.HttpServlet.service(HttpServlet.java:802) 
 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja
va:322) 
 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)

 
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) 
        javax.servlet.http.HttpServlet.service(HttpServlet.java:802) 


And here's the opencms.log under
{Catalina_Home}/webapps/ROOT/WEB-INF/logs/ right after starting
tomcat... 


05 May 2005 11:33:47,581  INFO [       org.opencms.main.CmsLog: 114] .
Log4j config file    :
/usr/tomcat/webapps/ROOT/WEB-INF/classes/log4j.properties

05 May 2005 11:33:48,192  INFO [  org.opencms.main.OpenCmsCore:2088] .
Runlevel change      : Switching from 1 to 2 
05 May 2005 11:33:48,413 ERROR [  org.opencms.main.OpenCmsCore: 274]
Critical error during OpenCms initialization: The OpenCms setup wizard
is still enabled

05 May 2005 11:33:48,434 ERROR [g.opencms.main.OpenCmsListener:  90]
org.opencms.main.CmsInitException: Critical error during OpenCms
initialization: The Ope

nCms setup wizard is still enabled 
05 May 2005 11:33:48,729  INFO [  org.opencms.main.OpenCmsCore:2088] .
Runlevel change      : Switching from 1 to 2 
05 May 2005 11:33:48,738 ERROR [  org.opencms.main.OpenCmsCore: 274]
Critical error during OpenCms initialization: The OpenCms setup wizard
is still enabled

05 May 2005 11:33:48,749 ERROR [.catalina.core.StandardContext:3859]
Servlet  threw load() exception 
javax.servlet.ServletException: Critical error during OpenCms
initialization: The OpenCms setup wizard is still enabled 
        at org.opencms.main.OpenCmsServlet.init(OpenCmsServlet.java:204)

        at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.jav
a:1091) 
        at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:925) 
        at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.j
ava:3857) 
        at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4118
) 
        at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.ja
va:759) 
        at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739) 
        at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524) 
        at
org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:788) 
        at
org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:677) 
        at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:473) 
        at
org.apache.catalina.startup.HostConfig.start(HostConfig.java:1102) 
        at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:31
1) 
        at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSu
pport.java:119) 
        at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020) 
        at
org.apache.catalina.core.StandardHost.start(StandardHost.java:718) 
        at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012) 
        at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442) 
        at
org.apache.catalina.core.StandardService.start(StandardService.java:450)

        at
org.apache.catalina.core.StandardServer.start(StandardServer.java:683) 
        at org.apache.catalina.startup.Catalina.start(Catalina.java:537)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39) 
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25) 
        at java.lang.reflect.Method.invoke(Method.java:585) 
        at
org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271) 
        at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409) 

And this gets added to the opencms log after I hit next on page 2
 

05 May 2005 11:34:55,548 ERROR [lina.core.StandardWrapperValve: 253]
Servlet.service() for servlet jsp threw exception 
java.lang.StringIndexOutOfBoundsException: String index out of range: -1

        at java.lang.String.substring(String.java:1768) 
        at java.lang.String.substring(String.java:1735) 
        at
org.apache.jsp.setup.database.mysql.step_005f4_005fdatabase_005fsetup_js
p._jspService(org.apache.jsp.setup.database.mysql.step_005f4_005fdatabas
e_005fsetup_jsp:99)

        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.ja
va:322) 
        at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)

        at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) 
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) 
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:252) 
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:173) 
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:213) 
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:178) 
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:126) 
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:105) 
        at
org.apache.catalina.valves.FastCommonAccessLogValve.invoke(FastCommonAcc
essLogValve.java:481) 
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:107) 
        at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:1
48) 
        at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:85
6) 
        at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC
onnection(Http11Protocol.java:744) 
        at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint
.java:527) 
        at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollow
erWorkerThread.java:80) 
        at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:684) 
        at java.lang.Thread.run(Thread.java:595) 

Help! 

-Clayton 

CONFIDENTIALITY NOTICE:  This message is intended only for the use of
the individual or entity to which it is addressed and may contain
information that is privileged, confidential and exempt from disclosure
under applicable law.  If the reader of this message is not the intended
recipient you are hereby notified that any distribution, copying,
disclosure and use of, or reliance on the contents of this transmission
is strictly prohibited.  If you have received this transmission in
error, please notify us immediately by return e-mail and destroy the
transmission by deleting the original message, attachments and all
copies.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20050509/c6d24ba1/attachment.htm>


More information about the opencms-dev mailing list