Hello Casper and others,

Please user [EMAIL PROTECTED] for this discussion:

mailto:wiab-r*e*q*u*e*s*[EMAIL PROTECTED]?body=s*u*b*s*c*r*i*b*e
(but then without the * inbetween, but this message was blocked due
to this word)

The list address:  mailto:[EMAIL PROTECTED]

best regards,
Hessel Rosbergen

-----Original Message-----
From: Casper Brands [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 25, 2002 15:29
To: [EMAIL PROTECTED]
Subject: Re: web in a box init error using mysql (runnint wiab with
mysql)


Hi all,

I tried installing wiab on postgres and it worked. So it looks like it
doesn't run on mysql (anyway, not my in my configuration)
I still get the RMI error though. Which jars should i put in the server lib
dir?
And my version of the editwizards doesn't work. I think i got a pre 1.5
release version and the 1.6 version, but i can't seem to find the 1.5.1
version. I't's not in the distro??

Thanks,

Casper




At 2134 24-11-02 +0100, you wrote
Hi Kees,

I followed your installation procedure but alas, that wasn't the magic fix.
I get exactly the same error when calling the addCat.jsp page. All the
tables are created, everything looks fine ,the only error i get is the
RMMCI one

FATAL RMI Registry not started because of exception {RemoteException
occurred in server thread; nested exception is
        java.rmi.UnmarshalException error unmarshalling arguments; nested
exception is
        java.lang.ClassNotFoundException
org.mmbase.bridge.remote.rmi.RemoteCloudContext_Rmi_Stub (no security
manager RMI class loader disabled)}

If it makes more sense to you than me, please enlighten me ;-)

Thanks in advance,

Casper


the error i get when calling the addCat.jsp page

2002-11-24 211158 StandardWrapperValve[jsp] Servlet.service() for servlet
jsp threw exception
org.apache.jasper.JasperException can not create 'wiab' Index 0, Size 0
        at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java24
8)
        at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java289)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java240)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java853)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java247)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java193)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va260)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java643)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java480)
        at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java995)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va191)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java643)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java480)
        at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java995)
        at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java2396)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java180)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java643)
        at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java170)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java641)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java172)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java641)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java480)
        at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java995)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
174)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java643)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java480)
        at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java995)
        at
org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java223)
        at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java405)
        at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction(Http11Protocol.java380)
        at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java508)
        at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a533)
        at java.lang.Thread.run(Thread.java479)
----- Root Cause -----
javax.servlet.ServletException can not create 'wiab' Index 0, Size 0
        at
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp
l.java497)
        at org.apache.jsp.addCat_jsp._jspService(addCat_jsp.java238)
        at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java136)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java853)
        at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java20
4)
        at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java289)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java240)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java853)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java247)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java193)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va260)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java643)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java480)
        at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java995)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va191)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java643)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java480)
        at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java995)
        at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java2396)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java180)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java643)
        at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java170)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java641)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java172)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java641)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java480)
        at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java995)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
174)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java643)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java480)
        at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java995)
        at
org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java223)
        at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java405)
        at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction(Http11Protocol.java380)
        at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java508)
        at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a533)
        at java.lang.Thread.run(Thread.java479)


>>
>> nl.framfab.mmbase.wiab.content.ContentException can not create 'wiab'
>> (.....) cause java.lang.IndexOutOfBoundsException Index 0, Size 0
>with exeptions it's not the first one you encounter that is the "bad guy"
but
>usualy the last one (in the stack trace) .
>




>anyway
>
>to get wiab running with mysql you need to do the following
>
>
>download the mysql driver from mysql.com (mysql-connector-java-2.0.14)
>unzip and copy it to wiab/lib/ext/
>(make shure servlets.jar is not in lib/ext but in lib)
>
>
>download tomcat if you want tomat jakarta-tomcat-4.1.12
>and "play around with xerces and xml-apis" .. very funny
>
>rm -rf jakarta-tomcat-4.1.12/common/endorsed/*.jar
>copy xerces.jar xalan.jar and xml-apis.jar from wiab/lib/ext to
>jakarta-tomcat-4.1.12/common/endorsed/
>
>download mmbase 1.5.1
>cp mmbase/config/default/databases/mysql.xml
wiab/config/common/databases/
>cp mmbase/config/default/dtd/database_1_0.dtd wiab/config/common/dtd/
>
>
>create a build.properties in wiab with content
>rmi.port=1111
>staging.database.type=mysql
>staging.database.url=jdbcmysql//$$HOST$$PORT/$$DBM
>staging.database.driver=com.mysql.jdbc.Driver
>staging.database.user=superuser
>staging.database.password=superpasswd
>staging.database.database=mmbase
>staging.database.port=3306
>staging.database.host=localhost
>
>live.database.type=mysql
>live.database.url=jdbcmysql//$$HOST$$PORT/$$DBM
>live.database.driver=com.mysql.jdbc.Driver
>live.database.user=superuser
>live.database.password=superpasswd
>live.database.database=mmbase
>live.database.port=3306
>live.database.host=localhost
>
>plug and pray


Reply via email to