[opencms-dev] Newbee setup question
Fabian Huschka
fabian.huschka at componio.net
Wed Jan 30 15:20:52 CET 2008
Hello Steven,
just for clarification. Do you want to:
a) reinstall OpenCms completely?
b) redeploy OpenCms while using an existing database?
The error thrown by OpenCms in case a) is a bit misleading. Simply run
http://<yourserver>:<yourport>/<web-app-context>/setup and follow the
installation steps.
Case b) requires the same steps as case a) however you need to use a
temporary database for installation.
After you have finished the installation edit
<webapp-context>/WEB-INF/config/opencms.properties and point the
database configuration to the database you want to reuse and restart
your application server.
Regards,
Fabian
smcardle at smcardle.com schrieb:
> Hi,
>
> Thanks, I had already checked that this property was correctly set.
>
> Basically I stopped Tomcat, removed the opencms directory and war file
> from the Tomcat webapps directory, copied the original opencms.war
> back to the Tomcat webapps directory and restarted tomcat. (Tomcat is
> set to expand war files)
>
> I have also removed the opencms database from the MySQL server.
>
> Now when tomcat start and expands the opencms.war into a new opencms
> directory and tries to start the application this exception is thrown
> and I do not know why.
>
> Regards
>
> Steven McArdle
>
>
> ------------------------------------------------------------------------
>
> Betreff:
> Re: [opencms-dev] Newbee setup question
> Von:
> arash.kaffamanesh at pomegranate.de
> Datum:
> Wed, 30 Jan 2008 13:06:00 +0000
> An:
> "The OpenCms mailing list" <opencms-dev at opencms.org>
>
> An:
> "The OpenCms mailing list" <opencms-dev at opencms.org>
>
> Nachricht-ID:
> <32126195.1201698368000.JavaMail.SYSTEM at webbox319>
> Received:
> (qmail 28772 invoked by uid 78); 30 Jan 2008 13:09:33 -0000
> Received:
> from unknown (HELO ns-mr30.netsolmail.com) (10.49.16.42) by 0 with
> SMTP; 30 Jan 2008 13:09:33 -0000
> Received:
> from ordmantell.alkacon.com (ordmantell.alkacon.com [85.214.120.101])
> by ns-mr30.netsolmail.com (8.13.6/8.13.6) with ESMTP id m0UD9Vvu002499
> for <smcardle at smcardle.com>; Wed, 30 Jan 2008 08:09:32 -0500
> Received:
> (qmail 19290 invoked from network); 30 Jan 2008 13:59:56 +0100
> Received:
> from localhost (HELO ordmantell.alkacon.com) (127.0.0.1) by localhost
> with SMTP; 30 Jan 2008 13:59:56 +0100
> Delivered-To:
> 3-opencms-dev at opencms.org
> Received:
> (qmail 18789 invoked from network); 30 Jan 2008 13:59:50 +0100
> Received:
> from webbox319.server-home.net (HELO mail.pomegranate.de)
> (195.137.213.68) by ordmantell.alkacon.com with SMTP; 30 Jan 2008
> 13:59:50 +0100
> Received:
> from pomegranate.de ([195.137.213.68]) by mail.pomegranate.de (JAMES
> SMTP Server 2.1.3) with SMTP ID 287 for <opencms-dev at opencms.org>;
> Wed, 30 Jan 2008 14:06:08 +0100 (CET)
> X-Mailer:
> Claros In Touch(http://www.claros.org)
> X-BeenThere:
> opencms-dev at opencms.org
> X-Mailman-Version:
> 2.1.7
> Precedence:
> list
> List-Id:
> The OpenCms mailing list <opencms-dev.opencms.org>
> List-Unsubscribe:
> <http://lists.opencms.org/mailman/listinfo/opencms-dev>,
> <mailto:opencms-dev-request at opencms.org?subject=unsubscribe>
> List-Archive:
> <http://lists.opencms.org/pipermail/opencms-dev>
> List-Post:
> <mailto:opencms-dev at opencms.org>
> List-Help:
> <mailto:opencms-dev-request at opencms.org?subject=help>
> List-Subscribe:
> <http://lists.opencms.org/mailman/listinfo/opencms-dev>,
> <mailto:opencms-dev-request at opencms.org?subject=subscribe>
> Absender:
> opencms-dev-bounces at opencms.org
> Errors-To:
> opencms-dev-bounces at opencms.org
> Antwort an:
> "The OpenCms mailing list" <opencms-dev at opencms.org>
> MIME-Version:
> 1.0
> Content-Type:
> multipart/mixed; boundary="--=_vm_0022_H924908734670_11266_1201701776"
>
>
> Hi Steven,
>
> you have to set wizard.enabled=true in opencms.properties, restart
> your app server and start the setup.
>
> Kind Regards,
> Arash
>
> On Wed Jan 30 12:42:42 CET 2008, smcardle at smcardle.com wrote
>
> Hi all,
>
> I have a little problem installing the opencms.war
>
> I previously installed opencms and the installation was successful
> on my Tomcat 6 instance. However during some cleaning up I removed
> the opencms directory and the war file from my Tomcat webapps
> directory and also dropped the opencms database from my MySQL server.
>
> I now want to re-install opencms but am unable to do so as I get
> the following error
>
> SEVERE: Servlet /opencms 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:262)
> at
> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1161)
> at
> org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:981)
> at
> org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4042)
> at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4348)
> at
> org.apache.catalina.core.StandardContext.reload(StandardContext.java:3083)
> at
> org.apache.catalina.manager.ManagerServlet.reload(ManagerServlet.java:912)
> at
> org.apache.catalina.manager.HTMLManagerServlet.reload(HTMLManagerServlet.java:520)
> at
> org.apache.catalina.manager.HTMLManagerServlet.doGet(HTMLManagerServlet.java:113)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
> at
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:261)
> at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
> at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:581)
> at
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
> at java.lang.Thread.run(Thread.java:595)
>
> What exactly is going on here? and how do I get past this problem.
>
> Regards
>
> Steven McArdle
>
> ------------------------------------------------------------------------
>
>
> Hi Steven,
>
> you have to set wizard.enabled=true in opencms.properties, restart your app server and start the setup.
>
> Kind Regards,
> Arash
>
> On Wed Jan 30 12:42:42 CET 2008, smcardle at smcardle.com wrote
> Hi all,
>
> I have a little problem installing the opencms.war
>
> I previously installed opencms and the installation was successful on my Tomcat 6 instance. However during some cleaning up I removed the opencms directory and the war file from my Tomcat webapps directory and also dropped the opencms database from my MySQL server.
>
> I now want to re-install opencms but am unable to do so as I get the following error
>
> SEVERE: Servlet /opencms 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:262)
> at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1161)
> at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:981)
> at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4042)
> at org.apache.catalina.core.StandardContext.start(StandardContext.java:4348)
> at org.apache.catalina.core.StandardContext.reload(StandardContext.java:3083)
> at org.apache.catalina.manager.ManagerServlet.reload(ManagerServlet.java:912)
> at org.apache.catalina.manager.HTMLManagerServlet.reload(HTMLManagerServlet.java:520)
> at org.apache.catalina.manager.HTMLManagerServlet.doGet(HTMLManagerServlet.java:113)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
> at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:261)
> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:581)
> at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
> at java.lang.Thread.run(Thread.java:595)
>
> What exactly is going on here? and how do I get past this problem.
>
> Regards
>
> Steven McArdle
>
>
>
> ------------------------------------------------------------------------
>
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
>
> ------------------------------------------------------------------------
>
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
More information about the opencms-dev
mailing list