[opencms-dev] Configuration problems afterchanging loggingconfiguration

Alexander Kandzior alex at opencms.org
Fri Mar 4 05:00:39 CET 2005


Then you must have configured something else wrong in one of your
configuration files.

Try checking the openmcs.log (in WEB-INF/logs), maybe this gives you more
information on what is wrong. You should also check the config files against
the default values that come with the distribution. 

Best Regards,
Alex.

Alexander Kandzior
Alkacon Software - The OpenCms Experts
http://www.alkacon.com

 

> -----Original Message-----
> From: opencms-dev-bounces at opencms.org 
> [mailto:opencms-dev-bounces at opencms.org] On Behalf Of Erik-Jan Spaans
> Sent: Thursday, March 03, 2005 7:37 PM
> To: The OpenCms mailing list
> Subject: Re: [opencms-dev] Configuration problems 
> afterchanging loggingconfiguration
> 
> Hmmm, the problem is still there when pointing to the log4j 
> config file.
> Also replacing the old 'this' value does not solve it.
> The opencms.properties file is attached.
> 
> EJ
> 
> 
> Alexander Kandzior wrote:
> 
> >You need to point to the log4j config file opencms should use, e.g.:
> >
> >log.log4j.configuration=\opt\tomcat\conf\log4j.conf
> >
> >Best Regards,
> >Alex.
> >
> >Alexander Kandzior
> >Alkacon Software - The OpenCms Experts
> >http://www.alkacon.com
> >
> > 
> >
> >  
> >
> >>-----Original Message-----
> >>From: opencms-dev-bounces at opencms.org 
> >>[mailto:opencms-dev-bounces at opencms.org] On Behalf Of 
> Erik-Jan Spaans
> >>Sent: Wednesday, March 02, 2005 9:59 PM
> >>To: opencms-dev at opencms.org
> >>Subject: [opencms-dev] Configuration problems after changing 
> >>loggingconfiguration
> >>
> >>Hi All,
> >>
> >>After installation of OpenCMS 6 beta 1 (what a smooth installation
> >>procedure!) on Tomcat 5.0.24. my OpenCMS instance worked just fine.
> >>Now I changed the opencms.properties file as follows ...
> >>old:
> >>log.log4j.configuration=this
> >>new:
> >>log.log4j.configuration=
> >>...
> >>So I left it blank, as the documentation suggests, to be able to 
> >>configure log4j elsewhere (in common/classes to be precise).
> >>As a result (apparently), the OpenCMSServlet fails to startup. When 
> >>accessing a resource, e.g.
> >>http://localhost:8080/opencms/opencms, an HTTP Status 500 error 
> >>message is shown, reading: "OpenCms not properly configured".
> >>When accessing another resource in the opencms webapp, e.g. 
> >>http://localhost:8080/opencms/setup, the setup wizard shows up as 
> >>expected. So the webapplication is more or less deployed 
> OK, only the 
> >>OpenCmsServlet is not.
> >>
> >>Anybody any idea wether my change could cause the 
> OpenCmsServlet not 
> >>to start up as it should? I looked into the source and saw that 
> >>parsing the properties file (and of course the logging 
> properties in 
> >>there) plays an important role in initing the 
> OpenCmsServlet, so sth. 
> >>might go wrong there....
> >>
> >>Best regards,
> >>EJ
> >>
> >>
> >>
> >>_______________________________________________
> >>This mail is send to you from the opencms-dev mailing list 
> To change 
> >>your list options, or to unsubscribe from the list, please visit 
> >>http://mail.opencms.org/mailman/listinfo/opencms-dev
> >>
> >>
> >>    
> >>
> >
> >
> >
> >_______________________________________________
> >This mail is send to you from the opencms-dev mailing list To change 
> >your list options, or to unsubscribe from the list, please visit 
> >http://mail.opencms.org/mailman/listinfo/opencms-dev
> >
> >
> >  
> >
> 




More information about the opencms-dev mailing list