[opencms-dev] Installation error

Uwe König uwederkoenig at web.de
Thu Feb 12 23:08:01 CET 2004


Hi, 

Opencms ships with a different version of the MySQL-JDBC-driver. Maybe 
the one of your RPM is used and causes the error? I'd remove the RPM one 
and try again. Best regards, 

Uwe König




On 12 Feb 2004 at 10:40, Balazs Wellisch wrote:

> Petr,
> 
> Thank you for your help. Yes, I verified that MySQL is running and I
> specified a valid username and password. I know this because I can
> connect to the machine using that login both through mysqladmin and
> mysql.
> 
> Any other ideas? I'm guessing the problem is the MySQL JDBC driver. Is
> there any way to verify my assumption?
> 
> Thanks,
> 
> Balazs
> 
> 
> -----Original Message-----
> From: opencms-dev-admin at opencms.org
> [mailto:opencms-dev-admin at opencms.org] On Behalf Of Petr Hollay 
Sent:
> Thursday, February 12, 2004 1:37 AM To: opencms-dev at opencms.org
> Subject: AW: [opencms-dev] Installation error
> 
> Hi,
> 
> com.mysql.jdbc.MysqlIO exception is related to MySQL.
> 
> Check that:
> 1) MySQL server is running on your PC,
> 2) you've specified valid username and password in OpenCms wizard 
when
> creating databases.
> 
> 
> Regards
> Petr
> 
> 
> -----Ursprüngliche Nachricht-----
> Von: opencms-dev-admin at opencms.org
> [mailto:opencms-dev-admin at opencms.org] Im Auftrag von Balazs 
Wellisch
> Gesendet: Donnerstag, 12. Februar 2004 00:25 An:
> opencms-dev at opencms.org Betreff: [opencms-dev] Installation error
> 
> Hello,
> 
> I tried to install OpenCms without success. I get what looks like a
> JDBC error during the install procedure. I get the error after I click
> continue on the database setup screen. (See below for exact error.) My
> database is up and running and I can connect to it fine. I would
> appreciate any assistance in solving this problem. Please see details
> below.
> 
> Please keep in mind that I can't change the configuration and I have
> limited experience with Tomcat.
> 
> Software:
> 
> RedHat Enterprise Linux ES
> Apache            2.0.46-26 
> Tomcat            4.1.27-8 
> mod_jk2           4.1.27-8 
> MySQL             3.23.58-1
> MySQL jdbc driver 3.0.8-1
> 
> Packages used from standard CDROM and from RedHat Netword:
> 
>   httpd-2.0.46-26.ent.rpm 
>   IBMJava2-JRE-1.4.1-8.i386.rpm     (RHES Application Server Beta)
>   IBMJava2-SDK-1.4.1-9.i386.rpm     (RHES Application Server Beta)
>   tomcat-4.1.27-8.i386.rpm          (RHES Application Server Beta)
>   tomcat-libs-4.1.27-8.i386.rpm     (RHES Application Server Beta)
>   mod_jk2-4.1.27-8.i386.rpm         (RHES Application Server Beta)
>   mysql-server-3.23.58-1.i386.rpm   (RHES Application Server Beta)
>   mysql-jdbc-3.0.8-1.noarch.rpm     (RHES Application Server Beta)
> 
> Hardware:
> 
>   Dell PowerEdge 1650
>   1 Processor, 80530, 1.4GHZ, 512K, Tualatin, B1
>   2 Dual In-Line Memory Module, 512, 133M, 64X72, 8K, 168, Registered
>   DIMM S 1 Hard Drive, 36GB, SCSI, U320, 10K, 80P, FJT
> 
> Error (in ocsetup/create_database.jsp):
> 
> org.apache.jasper.JasperException: com.mysql.jdbc.MysqlIO
>    at
> org.apache.jasper.servlet.JspServletWrapper.service(javax.servlet.http
> .HttpS ervletRequest, javax.servlet.http.HttpServletResponse, boolean)
> (/usr/lib/lib-org-apache-jasper-4.1.27.so)
>    at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(javax.servlet.http
> .HttpS ervletRequest, javax.servlet.http.HttpServletResponse,
> java.lang.String, java.lang.Throwable, boolean)
> (/usr/lib/lib-org-apache-jasper-4.1.27.so)
>    at
> org.apache.jasper.servlet.JspServlet.service(javax.servlet.http.HttpSe
> rvletR equest, javax.servlet.http.HttpServletResponse)
> (/usr/lib/lib-org-apache-jasper-4.1.27.so)
>    at
>    javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest
>    ,
> javax.servlet.ServletResponse) (/usr/lib/lib-javax-servlet-4.1.7.so)
>    at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(javax
> .servl et.ServletRequest, javax.servlet.ServletResponse)
> (/usr/lib/lib-org-apache-catalina-4.1.27.so)
>    at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(javax.servlet
> .Servl etRequest, javax.servlet.ServletResponse)
> (/usr/lib/lib-org-apache-catalina-4.1.27.so)
>    at
> org.apache.catalina.core.StandardWrapperValve.invoke(org.apache.catali
> na.Req uest, org.apache.catalina.Response,
> org.apache.catalina.ValveContext)
> (/usr/lib/lib-org-apache-catalina-4.1.27.so)
>    at
> 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext
> .invok eNext(org.apache.catalina.Request,
> org.apache.catalina.Response)
> (/usr/lib/lib-org-apache-catalina-4.1.27.so)
>    at
> org.apache.catalina.core.StandardPipeline.invoke(org.apache.catalina.R
> equest , org.apache.catalina.Response)
> (/usr/lib/lib-org-apache-catalina-4.1.27.so)
>    at
> org.apache.catalina.core.ContainerBase.invoke(org.apache.catalina.Requ
> est, org.apache.catalina.Response)
> (/usr/lib/lib-org-apache-catalina-4.1.27.so)
>    at
> org.apache.catalina.core.StandardContextValve.invoke(org.apache.catali
> na.Req uest, org.apache.catalina.Response,
> org.apache.catalina.ValveContext)
> (/usr/lib/lib-org-apache-catalina-4.1.27.so)
>    at
> 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext
> .invok eNext(org.apache.catalina.Request,
> org.apache.catalina.Response)
> (/usr/lib/lib-org-apache-catalina-4.1.27.so)
>    at
> org.apache.catalina.core.StandardPipeline.invoke(org.apache.catalina.R
> equest , org.apache.catalina.Response)
> (/usr/lib/lib-org-apache-catalina-4.1.27.so)
>    at
> org.apache.catalina.core.ContainerBase.invoke(org.apache.catalina.Requ
> est, org.apache.catalina.Response)
> (/usr/lib/lib-org-apache-catalina-4.1.27.so)
>    at
> org.apache.catalina.core.StandardContext.invoke(org.apache.catalina.Re
> quest, org.apache.catalina.Response)
> (/usr/lib/lib-org-apache-catalina-4.1.27.so)
>    at
> org.apache.catalina.core.StandardHostValve.invoke(org.apache.catalina.
> Reques t, org.apache.catalina.Response,
> org.apache.catalina.ValveContext)
> (/usr/lib/lib-org-apache-catalina-4.1.27.so)
>    at
> 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext
> .invok eNext(org.apache.catalina.Request,
> org.apache.catalina.Response)
> (/usr/lib/lib-org-apache-catalina-4.1.27.so)
>    at
> org.apache.catalina.valves.ErrorDispatcherValve.invoke(org.apache.cata
> lina.R equest, org.apache.catalina.Response,
> org.apache.catalina.ValveContext)
> (/usr/lib/lib-org-apache-catalina-4.1.27.so)
>    at
> 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext
> .invok eNext(org.apache.catalina.Request,
> org.apache.catalina.Response)
> (/usr/lib/lib-org-apache-catalina-4.1.27.so)
>    at
> org.apache.catalina.valves.ErrorReportValve.invoke(org.apache.catalina
> .Reque st, org.apache.catalina.Response,
> org.apache.catalina.ValveContext)
> (/usr/lib/lib-org-apache-catalina-4.1.27.so)
>    at
> 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext
> .invok eNext(org.apache.catalina.Request,
> org.apache.catalina.Response)
> (/usr/lib/lib-org-apache-catalina-4.1.27.so)
>    at
> org.apache.catalina.core.StandardPipeline.invoke(org.apache.catalina.R
> equest , org.apache.catalina.Response)
> (/usr/lib/lib-org-apache-catalina-4.1.27.so)
>    at
> org.apache.catalina.core.ContainerBase.invoke(org.apache.catalina.Requ
> est, org.apache.catalina.Response)
> (/usr/lib/lib-org-apache-catalina-4.1.27.so)
>    at
> org.apache.catalina.core.StandardEngineValve.invoke(org.apache.catalin
> a.Requ est, org.apache.catalina.Response,
> org.apache.catalina.ValveContext)
> (/usr/lib/lib-org-apache-catalina-4.1.27.so)
>    at
> 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext
> .invok eNext(org.apache.catalina.Request,
> org.apache.catalina.Response)
> (/usr/lib/lib-org-apache-catalina-4.1.27.so)
>    at
> org.apache.catalina.core.StandardPipeline.invoke(org.apache.catalina.R
> equest , org.apache.catalina.Response)
> (/usr/lib/lib-org-apache-catalina-4.1.27.so)
>    at
> org.apache.catalina.core.ContainerBase.invoke(org.apache.catalina.Requ
> est, org.apache.catalina.Response)
> (/usr/lib/lib-org-apache-catalina-4.1.27.so)
>    at
> 
org.apache.coyote.tomcat4.CoyoteAdapter.service(org.apache.coyote.Requ
> est, org.apache.coyote.Response)
> (/usr/lib/lib-org-apache-coyote-4.1.27.so)
>    at
>    org.apache.jk.server.JkCoyoteHandler.invoke(org.apache.jk.core.Msg,
> org.apache.jk.core.MsgContext) (/usr/lib/lib-org-apache-jk-4.1.27.so)
>    at
>    org.apache.jk.common.HandlerRequest.invoke(org.apache.jk.core.Msg,
> org.apache.jk.core.MsgContext) (/usr/lib/lib-org-apache-jk-4.1.27.so)
>    at
>    org.apache.jk.common.ChannelSocket.invoke(org.apache.jk.core.Msg,
> org.apache.jk.core.MsgContext) (/usr/lib/lib-org-apache-jk-4.1.27.so)
>    at
> 
org.apache.jk.common.ChannelSocket.processConnection(org.apache.jk.c
or
> e.MsgC ontext) (/usr/lib/lib-org-apache-jk-4.1.27.so)
>    at org.apache.jk.common.SocketConnection.runIt(java.lang.Object[])
> (/usr/lib/lib-org-apache-jk-4.1.27.so)
>    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run()
> (/usr/lib/lib-org-apache-tomcat-util-4.1.27.so)
>    at java.lang.Thread.run() (/lib/ssa/libgcj.so.4.0.0)
>    at _Jv_ThreadRun(java.lang.Thread) (/lib/ssa/libgcj.so.4.0.0)
>    at GC_start_routine (/lib/ssa/libgcj.so.4.0.0)
>    at __clone (/lib/tls/libc-2.3.2.so)
> 
> 
> root cause 
> 
> javax.servlet.ServletException: com.mysql.jdbc.MysqlIO
>    at
> 
org.apache.jasper.runtime.PageContextImpl.handlePageException(java.lan
> g.Thro wable) (/usr/lib/lib-org-apache-jasper-4.1.27.so)
>    at
> org.apache.jsp.create_database_jsp._jspService(javax.servlet.http.Http
> Servle tRequest, javax.servlet.http.HttpServletResponse) (Unknown
> Source)
>    at
> org.apache.jasper.runtime.HttpJspBase.service(javax.servlet.http.HttpS
> ervlet Request, javax.servlet.http.HttpServletResponse)
> (/usr/lib/lib-org-apache-jasper-4.1.27.so)
>    at
>    javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest
>    ,
> javax.servlet.ServletResponse) (/usr/lib/lib-javax-servlet-4.1.7.so)
>    at
> org.apache.jasper.servlet.JspServletWrapper.service(javax.servlet.http
> .HttpS ervletRequest, javax.servlet.http.HttpServletResponse, boolean)
> (/usr/lib/lib-org-apache-jasper-4.1.27.so)
>    at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(javax.servlet.http
> .HttpS ervletRequest, javax.servlet.http.HttpServletResponse,
> java.lang.String, java.lang.Throwable, boolean)
> (/usr/lib/lib-org-apache-jasper-4.1.27.so)
>    at
> org.apache.jasper.servlet.JspServlet.service(javax.servlet.http.HttpSe
> rvletR equest, javax.servlet.http.HttpServletResponse)
> (/usr/lib/lib-org-apache-jasper-4.1.27.so)
>    at
>    javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest
>    ,
> javax.servlet.ServletResponse) (/usr/lib/lib-javax-servlet-4.1.7.so)
>    at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(javax
> .servl et.ServletRequest, javax.servlet.ServletResponse)
> (/usr/lib/lib-org-apache-catalina-4.1.27.so)
>    at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(javax.servlet
> .Servl etRequest, javax.servlet.ServletResponse)
> (/usr/lib/lib-org-apache-catalina-4.1.27.so)
>    at
> org.apache.catalina.core.StandardWrapperValve.invoke(org.apache.catali
> na.Req uest, org.apache.catalina.Response,
> org.apache.catalina.ValveContext)
> (/usr/lib/lib-org-apache-catalina-4.1.27.so)
>    at
> 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext
> .invok eNext(org.apache.catalina.Request,
> org.apache.catalina.Response)
> (/usr/lib/lib-org-apache-catalina-4.1.27.so)
>    at
> org.apache.catalina.core.StandardPipeline.invoke(org.apache.catalina.R
> equest , org.apache.catalina.Response)
> (/usr/lib/lib-org-apache-catalina-4.1.27.so)
>    at
> org.apache.catalina.core.ContainerBase.invoke(org.apache.catalina.Requ
> est, org.apache.catalina.Response)
> (/usr/lib/lib-org-apache-catalina-4.1.27.so)
>    at
> org.apache.catalina.core.StandardContextValve.invoke(org.apache.catali
> na.Req uest, org.apache.catalina.Response,
> org.apache.catalina.ValveContext)
> (/usr/lib/lib-org-apache-catalina-4.1.27.so)
>    at
> 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext
> .invok eNext(org.apache.catalina.Request,
> org.apache.catalina.Response)
> (/usr/lib/lib-org-apache-catalina-4.1.27.so)
>    at
> org.apache.catalina.core.StandardPipeline.invoke(org.apache.catalina.R
> equest , org.apache.catalina.Response)
> (/usr/lib/lib-org-apache-catalina-4.1.27.so)
>    at
> org.apache.catalina.core.ContainerBase.invoke(org.apache.catalina.Requ
> est, org.apache.catalina.Response)
> (/usr/lib/lib-org-apache-catalina-4.1.27.so)
>    at
> org.apache.catalina.core.StandardContext.invoke(org.apache.catalina.Re
> quest, org.apache.catalina.Response)
> (/usr/lib/lib-org-apache-catalina-4.1.27.so)
>    at
> org.apache.catalina.core.StandardHostValve.invoke(org.apache.catalina.
> Reques t, org.apache.catalina.Response,
> org.apache.catalina.ValveContext)
> (/usr/lib/lib-org-apache-catalina-4.1.27.so)
>    at
> 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext
> .invok eNext(org.apache.catalina.Request,
> org.apache.catalina.Response)
> (/usr/lib/lib-org-apache-catalina-4.1.27.so)
>    at
> org.apache.catalina.valves.ErrorDispatcherValve.invoke(org.apache.cata
> lina.R equest, org.apache.catalina.Response,
> org.apache.catalina.ValveContext)
> (/usr/lib/lib-org-apache-catalina-4.1.27.so)
>    at
> 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext
> .invok eNext(org.apache.catalina.Request,
> org.apache.catalina.Response)
> (/usr/lib/lib-org-apache-catalina-4.1.27.so)
>    at
> org.apache.catalina.valves.ErrorReportValve.invoke(org.apache.catalina
> .Reque st, org.apache.catalina.Response,
> org.apache.catalina.ValveContext)
> (/usr/lib/lib-org-apache-catalina-4.1.27.so)
>    at
> 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext
> .invok eNext(org.apache.catalina.Request,
> org.apache.catalina.Response)
> (/usr/lib/lib-org-apache-catalina-4.1.27.so)
>    at
> org.apache.catalina.core.StandardPipeline.invoke(org.apache.catalina.R
> equest , org.apache.catalina.Response)
> (/usr/lib/lib-org-apache-catalina-4.1.27.so)
>    at
> org.apache.catalina.core.ContainerBase.invoke(org.apache.catalina.Requ
> est, org.apache.catalina.Response)
> (/usr/lib/lib-org-apache-catalina-4.1.27.so)
>    at
> org.apache.catalina.core.StandardEngineValve.invoke(org.apache.catalin
> a.Requ est, org.apache.catalina.Response,
> org.apache.catalina.ValveContext)
> (/usr/lib/lib-org-apache-catalina-4.1.27.so)
>    at
> 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext
> .invok eNext(org.apache.catalina.Request,
> org.apache.catalina.Response)
> (/usr/lib/lib-org-apache-catalina-4.1.27.so)
>    at
> org.apache.catalina.core.StandardPipeline.invoke(org.apache.catalina.R
> equest , org.apache.catalina.Response)
> (/usr/lib/lib-org-apache-catalina-4.1.27.so)
>    at
> org.apache.catalina.core.ContainerBase.invoke(org.apache.catalina.Requ
> est, org.apache.catalina.Response)
> (/usr/lib/lib-org-apache-catalina-4.1.27.so)
>    at
> 
org.apache.coyote.tomcat4.CoyoteAdapter.service(org.apache.coyote.Requ
> est, org.apache.coyote.Response)
> (/usr/lib/lib-org-apache-coyote-4.1.27.so)
>    at
>    org.apache.jk.server.JkCoyoteHandler.invoke(org.apache.jk.core.Msg,
> org.apache.jk.core.MsgContext) (/usr/lib/lib-org-apache-jk-4.1.27.so)
>    at
>    org.apache.jk.common.HandlerRequest.invoke(org.apache.jk.core.Msg,
> org.apache.jk.core.MsgContext) (/usr/lib/lib-org-apache-jk-4.1.27.so)
>    at
>    org.apache.jk.common.ChannelSocket.invoke(org.apache.jk.core.Msg,
> org.apache.jk.core.MsgContext) (/usr/lib/lib-org-apache-jk-4.1.27.so)
>    at
> 
org.apache.jk.common.ChannelSocket.processConnection(org.apache.jk.c
or
> e.MsgC ontext) (/usr/lib/lib-org-apache-jk-4.1.27.so)
>    at org.apache.jk.common.SocketConnection.runIt(java.lang.Object[])
> (/usr/lib/lib-org-apache-jk-4.1.27.so)
>    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run()
> (/usr/lib/lib-org-apache-tomcat-util-4.1.27.so)
>    at java.lang.Thread.run() (/lib/ssa/libgcj.so.4.0.0)
>    at _Jv_ThreadRun(java.lang.Thread) (/lib/ssa/libgcj.so.4.0.0)
>    at GC_start_routine (/lib/ssa/libgcj.so.4.0.0)
>    at __clone (/lib/tls/libc-2.3.2.so)
> 
> 
> Any help would be greatly appreciated.
> 
> Thanks in advance,
> 
> Balazs Wellisch
> 
> 
> 
> 
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please
> visit http://mail.opencms.org/mailman/listinfo/opencms-dev
> 
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please
> visit http://mail.opencms.org/mailman/listinfo/opencms-dev
> 
> 
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please
> visit http://mail.opencms.org/mailman/listinfo/opencms-dev
> 





More information about the opencms-dev mailing list