[opencms-dev] Install step 2 errors
Riddle
opencms at RiddleSolutions.com
Mon Jun 13 18:42:27 CEST 2005
Thanks for the reply, but clearing the cache didn't help me. Step 2 always fails with "[org.opencms.main.OpenCmsCore: 290] Critical error during
OpenCms initialization: The OpenCms setup wizard is still enabled"
I've cleared caches, histories, cookies, files and objects on IE6, FireFox, Mozilla, Netscape7+8.
I deleted the Tomcat work directory and deleted/deployed OpenCms b3 and r1.
All popups, firewalls, proxy or routers are allow localhost.
Something else is the problem and I find it very unusual that I am the only person in the universe that has this problem.
1. If wizard.enabled=true in opencms.propteries when tomcat is started: Tomcat runs opencms to the "setup wizard is still enabled" loader error. Note - I did not go to setup yet, tomcat runs the webapp itself at startup. PLUS, I set <load-on-startup>0 in tomcat/conf/web.xml AND /opencms/web-inf/web-inf
2. if wizard.enabled=false in opencms.propteries when tomcat is started: Tomcat runs opencms as if it is already setup (until nullpointer at database)
13 Jun 2005 07:37:44,550 INFO [ org.opencms.main.OpenCmsCore:1049] . Startup time : Jun 13, 2005 7:37:44 AM
13 Jun 2005 07:37:44,550 INFO [ org.opencms.main.OpenCmsCore:1050] . OpenCms version : 6.0 RC 1 Corrin
13 Jun 2005 07:37:44,550 INFO [ org.opencms.main.OpenCmsCore:1051] . Servlet container : Apache Tomcat/5.0.28
13 Jun 2005 07:37:44,550 INFO [ org.opencms.main.OpenCmsCore:1052] . OpenCms webapp name : opencms
13 Jun 2005 07:37:44,550 INFO [ org.opencms.main.OpenCmsCore:1053] . OpenCms servlet path : /opencms
13 Jun 2005 07:37:44,550 INFO [ org.opencms.main.OpenCmsCore:1054] . OpenCms context : /opencms/opencms
13 Jun 2005 07:37:44,550 INFO [ org.opencms.main.OpenCmsCore:1055] . OpenCms WEB-INF path : C:\Program_Files\ApacheSoftwareFoundation\Tomcat5.0\webapps\opencms\WEB-INF\
13 Jun 2005 07:37:44,550 INFO [ org.opencms.main.OpenCmsCore:1056] . OpenCms property file: C:\Program_Files\ApacheSoftwareFoundation\Tomcat5.0\webapps\opencms\WEB-INF\config\opencms.properties
13 Jun 2005 07:37:44,550 INFO [ org.opencms.main.OpenCmsCore:1057] . OpenCms log file : C:\Program_Files\ApacheSoftwareFoundation\Tomcat5.0\webapps\opencms\WEB-INF\logs\opencms.log
13 Jun 2005 07:37:44,550 INFO [ org.opencms.main.OpenCmsCore: 748] . System file.encoding : Cp1252
13 Jun 2005 07:37:45,071 INFO [ org.opencms.main.OpenCmsCore: 754] . Ethernet address used: 63:56:24:f7:70:1c
13 Jun 2005 07:37:45,071 INFO [org.opencms.main.CmsSystemInfo: 607] . Server name is : OpenCmsServer
13 Jun 2005 07:37:45,081 INFO [ org.opencms.main.OpenCmsCore: 772] . Java VM in use : Java HotSpot(TM) Server VM 1.4.2_04-b05 mixed mode Sun Microsystems Inc.
13 Jun 2005 07:37:45,091 INFO [ org.opencms.main.OpenCmsCore: 776] . Operating sytem : Windows XP 5.1 x86
13 Jun 2005 07:37:45,651 INFO [uration.CmsSystemConfiguration: 388] . System configuration : initialized
... (many really good init steps) then...
13 Jun 2005 07:37:49,086 INFO [rg.opencms.loader.CmsJspLoader: 434] . Loader init : Flex cache added to JSP loader
13 Jun 2005 07:37:49,147 INFO [rg.opencms.db.CmsDriverManager: 389] . Driver manager init : phase 1 - initializing database
13 Jun 2005 07:37:49,147 INFO [rg.opencms.db.CmsDriverManager: 409] . Driver manager init : phase 2 - initializing pools
13 Jun 2005 07:37:49,147 INFO [rg.opencms.db.CmsDriverManager: 419] . Resource pools : default
13 Jun 2005 07:37:49,157 ERROR [rg.opencms.db.CmsDriverManager:4159] Critical error during OpenCms initialization: Unable to initialize connection pool "default", is the database up and running?
java.lang.NullPointerException
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:141)
at org.opencms.db.CmsDbPool.createDriverManagerConnectionPool(CmsDbPool.java:313)
at org.opencms.db.CmsDriverManager.newPoolInstance(CmsDriverManager.java:4154)
at org.opencms.db.CmsDriverManager.newInstance(CmsDriverManager.java:424)
at org.opencms.db.CmsSecurityManager.init(CmsSecurityManager.java:2564)
at org.opencms.db.CmsSecurityManager.newInstance(CmsSecurityManager.java:162)
at org.opencms.main.OpenCmsCore.initConfiguration(OpenCmsCore.java:918)
at org.opencms.main.OpenCmsCore.initContext(OpenCmsCore.java:1061)
at org.opencms.main.OpenCmsCore.upgradeRunlevel(OpenCmsCore.java:1463)
at org.opencms.main.OpenCmsListener.contextInitialized(OpenCmsListener.java:86)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3827)
3. Attempting to set wizard.enabled=true after the tomcat startup with wizard.enabled=false and then run /opencms/setup still gives the "setup wizard is still enabled" error.
>> I've had OpenCms running (v6 beta 1 on WinXP, Tomcat 5.0.28, Java 1.4_02
>> through 1.4_06, MySQL v12.18/4.0.12) until I updated to 6 beta 3 and/or 6 rc1.
>> Now, I can't get setup running.
>>
>> Mysql is running, I checked. Tomcat is running ok (on :9090 that should not be the problem)
>> I've had tomcat deploy the war, used tomcat's manager to deploy the
>> war and
>> manually unzipped the war into webapps/opencms and under other temp names.
>>
>> Successful to step 1. I agree to terms and step 2 states error that
>> wizard was not started correctly.
>>
>> Log file states "[org.opencms.main.OpenCmsCore: 290] Critical error during
>> OpenCms initialization: The OpenCms setup wizard is still enabled"
>>
>> Can somebody tell me what's going wrong and how to fix it, please.
>>
>> opencms at RiddleSolutions.com <mailto:opencms at RiddleSolutions.com>
> I have had the same problem; clearing the cache fixed it for me.
> -Patrick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20050613/b6354ab1/attachment.htm>
More information about the opencms-dev
mailing list