[opencms-dev] (no subject)

fangzhu fangzhujilin78 at yahoo.co.jp
Fri Apr 25 05:36:01 CEST 2003


Hi. 
to start the installation i entered the usename and password of my mysql database,then the next page showed:

Trying to drop database...OK
Creating database...OK
Creating tables...OK

then the next page showed:
Your system uses components which have been tested to word properly with OpenCms.
i thought everything went well, but when it turned to the next two page which imports the workplace, it came out with a lot of error like this:


63:  at com.opencms.boot.CmsSetupThread.run(CmsSetupThread.java:83)62:  at com.opencms.boot.CmsMain.startSetup(CmsMain.java:120)61:  at com.opencms.boot.CmsMain.begin(CmsMain.java:160)60:  at java.lang.reflect.Method.invoke(Method.java:324)59:  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)58:  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)57:  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)56:  at com.opencms.core.CmsShell.commands(CmsShell.java:177)55:  at com.opencms.core.CmsShellCommands.(CmsShellCommands.java:75)54: java.lang.NullPointerException53: 52: >> at com.opencms.boot.CmsSetupThread.run(CmsSetupThread.java:83)51: >> at com.opencms.boot.CmsMain.startSetup(CmsMain.java:120)50: >> at com.opencms.boot.CmsMain.begin(CmsMain.java:151)49: >> at java.lang.Class.newInstance(Class.java:259)48: >> at java.lang.Class.newInstance0(Class.java:306)47: >> at java.lang.reflect.Constructor.newInstance(Constructor.java:274)46: >> at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)45: >> at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)44: >> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)43: >> at com.opencms.core.CmsShell.(CmsShell.java:114)42: >> at com.opencms.core.OpenCms.(OpenCms.java:251)41: >> at com.opencms.file.CmsRbManager.init(CmsRbManager.java:88)40: >> at com.opencms.file.genericSql.CmsResourceBroker.init(CmsResourceBroker.java:4174)39: >> at com.opencms.file.mySql.CmsResourceBroker.createDbAccess(CmsResourceBroker.java:62)38: >> at com.opencms.file.mySql.CmsDbAccess.(CmsDbAccess.java:125)37: >> at com.opencms.file.genericSql.CmsDbAccess.(CmsDbAccess.java:293)36: >> at com.opencms.file.mySql.CmsDbAccess.fillDefaults(CmsDbAccess.java:570)35: >> at com.opencms.file.genericSql.CmsDbAccess.createTask(CmsDbAccess.java:1834)34: >> at com.opencms.file.mySql.CmsDbAccess.readTask(CmsDbAccess.java:843)33: >>java.lang.NullPointerException32: >>Root cause:31: >>-----------30: > at com.opencms.boot.CmsSetupThread.run(CmsSetupThread.java:83)29: > at com.opencms.boot.CmsMain.startSetup(CmsMain.java:120)28: > at com.opencms.boot.CmsMain.begin(CmsMain.java:151)27: > at java.lang.Class.newInstance(Class.java:259)26: > at java.lang.Class.newInstance0(Class.java:306)25: > at java.lang.reflect.Constructor.newInstance(Constructor.java:274)24: > at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)23: > at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)22: > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)21: > at com.opencms.core.CmsShell.(CmsShell.java:114)20: > at com.opencms.core.OpenCms.(OpenCms.java:251)19: > at com.opencms.file.CmsRbManager.init(CmsRbManager.java:100)18: >root cause was java.lang.NullPointerException17: >com.opencms.core.CmsException: 33 Resourcebroker-init error. Detailed error: Critical error while loading resourcebroker. 16: >Root cause:15: >-----------14:  at com.opencms.boot.CmsSetupThread.run(CmsSetupThread.java:83)13:  at com.opencms.boot.CmsMain.startSetup(CmsMain.java:120)12:  at com.opencms.boot.CmsMain.begin(CmsMain.java:151)11:  at java.lang.Class.newInstance(Class.java:259)10:  at java.lang.Class.newInstance0(Class.java:306)9:  at java.lang.reflect.Constructor.newInstance(Constructor.java:274)8:  at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)7:  at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)6:  at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)5:  at com.opencms.core.CmsShell.(CmsShell.java:114)4:  at com.opencms.core.OpenCms.(OpenCms.java:255)3: root cause was java.lang.NullPointerException2: root cause was com.opencms.core.CmsException: 33 Resourcebroker-init error. Detailed error: Critical error while loading resourcebroker. 1: com.opencms.core.CmsException: 33 Resourcebroker-init error. Detailed error: Database init failed. 0: %%% props: C:\Program Files\Apache Group\Tomcat 4.1\webapps\opencms\WEB-INF\config/opencms.properties

i ignored errored and continued the installation untill it completed. then when i start the openCms, it came out with the exception like this:

javax.servlet.ServletException: OpenCms initialization error!
Could not connect to the database. Is the database up and running?

i've been working on the installation for the whole week and i'm so tired of the errors. who can tell me what's happening to my database? i'll be very grateful.

thank you.

With regards
fangzhu




---------------------------------
 fangzhu


---------------------------------
Do You Yahoo!?
Yahoo! BB is Broadband by Yahoo!
http://bb.yahoo.co.jp/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20030425/4388f3ca/attachment.htm>


More information about the opencms-dev mailing list