AW: [opencms-dev] openCMS cant start

Molnar Gabor Gabor.Molnar at start.de
Wed Nov 22 18:34:51 CET 2000


It looks like an error at reading from the db. e.g a field without value.
I would drop the database and init it again from cmssetup.txt.

I use the script :

java -mx64M -classpath opencms.jar:xerces.jar:ifxjdbc.jar
com.opencms.core.CmsSh
ell config/opencms.properties < config/cmssetup.txt

 (It's for informix)

If it does'nt help you should  look for the variable in
com.opencms.file.CmsRequestContext.init which won't be set.
I had a similar case at another place with "endtime".

Gabor

> ----------
> Von: 	T. Morgenroth[SMTP:morgenroth at 4com.de]
> Antwort an: 	opencms-dev at www.opencms.com
> Gesendet: 	Mittwoch, 22. November 2000 18:16
> An: 	Opencms-Dev
> Betreff: 	[opencms-dev] openCMS cant start
> 
> hey all,
> sorry, but i havn't got it yet. here is a summary of the error-messages by
> calling:
> http://192.165.0.15/servlets/opencms/system/workplace/action/login.html
> 
> -messages in mod_jserv.log:
> [22/11/2000 16:30:44:001] (ERROR) ajp12: Servlet Error:
> java.lang.NullPointerException: null
> [22/11/2000 16:30:44:001] (ERROR) an error returned handling request via
> protocol "ajpv12"
> 
> -the error-messages in .../apachejserv/logs/jserv.log is:
> [22/11/2000 16:30:43:717 CET] opencms/com.opencms.core.OpenCmsServlet:
> init
> [22/11/2000 16:30:44:002 CET] java.lang.NullPointerException
>         at
> com.opencms.file.CmsRequestContext.init(CmsRequestContext.java:96)
>         at com.opencms.file.CmsObject.init(CmsObject.java:90)
>         at com.opencms.core.OpenCmsServlet.init(OpenCmsServlet.java:203)
>         at
> org.apache.jserv.JServServletManager.load_init(JServServletManager.java:57
> 9)
>         at
> org.apache.jserv.JServServletManager.loadServlet(JServServletManager.java:
> 49
> 8)
>         at
> org.apache.jserv.JServConnection.processRequest(JServConnection.java:269)
>         at org.apache.jserv.JServConnection.run(JServConnection.java:188)
>         at java.lang.Thread.run(Thread.java:484)
> 
> -this log in the opencms.log:
> [22.11.2000 16:30:43] <opencms_init> [1984/1461/523][OpenCmsServlet]
> logging
> started
> [22.11.2000 16:30:43] <opencms_init> [1984/1458/526][OpenCmsServlet]
> property.driver = org.gjt.mm.mysql.Driver
> [22.11.2000 16:30:43] <opencms_init> [1984/1455/529][OpenCmsServlet]
> property.connectString =
> jdbc:mysql://localhost:3306/opencms?user=root;password=
> [22.11.2000 16:30:43] <opencms_init> [1984/1451/533][OpenCmsServlet]
> initializing opencms with initializer: com.opencms.file.CmsInitMySqlCache
> [22.11.2000 16:30:43] <opencms_init> [1984/1448/536][OpenCmsServlet]
> connectingto propertyDB via org.gjt.mm.mysql.Driver
> [22.11.2000 16:30:43] <opencms_init> [1984/1421/563][OpenCms] creating
> first
> cms-object
> [22.11.2000 16:30:43] <opencms_init> [1984/1401/583][OpenCms] initializing
> the cms-object and the main resource-broker
> [22.11.2000 16:30:43] <opencms_init> [1984/1599/385][OpenCms]
> org.gjt.mm.mysql.Driver
> [22.11.2000 16:30:43] <opencms_init> [1984/1597/387][OpenCms] initialize
> launchers...
> [22.11.2000 16:30:43] <opencms_init> [1984/1584/400][CmsLauncherManager]
> launcher package is:com.opencms.launcher
> [22.11.2000 16:30:43] <opencms_init> [1984/1488/496][CmsLauncherManager]
> OpenCms launcher "CmsXmlLauncher" with launcher ID 3 loaded successfully.
> [22.11.2000 16:30:43] <opencms_init> [1984/1476/508][CmsLauncherManager]
> OpenCms launcher "CmsDumpLauncher" with launcher ID 1 loaded successfully.
> 



More information about the opencms-dev mailing list