[opencms-dev] Configuration problems after changing logging configuration
Alexander Kandzior
alex at opencms.org
Sat Mar 5 07:54:25 CET 2005
Could bad conversion of line-delimiters in the configuration files may be
the cause of this error?
>From what I gather you say that your system won't run if you made any change
to the logging configuration, even if you later fully undo this change. It
that correct?
That's an issue I havent encountered in the last 1.5 years since we
integrated log4j, and we did many setups nad also changes in the log
configuration. Configurations included yours (XP sp 2 plus Tomcat 5.0). Very
strange...
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: Friday, March 04, 2005 9:01 PM
> To: The OpenCms mailing list
> Subject: Re: [opencms-dev] Configurationproblems
> afterchanging loggingconfiguration
>
> Hi Alex,
>
> I've checked everything else, but I could not find any
> misconfiguration.
> I decided to rerun setup, and then everything was fine again.
> Then I thought I'd try a little test: after changing the
> beforementioned property again (this time from my
> log4.properties file to the 'this'
> identifier), and without changing anything else after the
> fresh installation, the system showed the "OpenCms not
> properly configured!"
> message again.
> So one way or another changing the log.log4j.configuration
> entry leads to this error, at least on my development system
> (Windows XP sp2, Tomcat 5.0.24, OpenCms 6 beta 1).
> If you like a can report this as a bug in the OpenCms
> bugtracking system, along with the path to reproduce it.
>
> Best regards,
> EJ
>
> Alexander Kandzior wrote:
>
> >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
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >
> >
> >
> >_______________________________________________
> >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