Re: Xplanner-devel Digest, Vol 18, Issue 2

"Lucy Mendel" <lucy-u2YUQdb6EcYUNg8y/[email protected]> Tue, 18 Mar 2008 21:26:15 -0400
Newsgroups gmane.comp.java.xplanner.devel
Message-ID <[email protected]>
Am I supposed to make an xplanner system or tomcat user?

/var/lib/tomcat5.5/conf/tomcat-users.xml


<?xml version='1.0' encoding='utf-8'?>
<tomcat-users>
  <role rolename="tomcat"/>
  <role rolename="manager"/>
  <role rolename="admin"/>
  <user username="tomcat" password="***" roles="tomcat,admin,manager"/>
</tomcat-users>


On Tue, Mar 18, 2008 at 9:23 PM, Lucy Mendel <lucy-u2YUQdb6EcYUNg8y/[email protected]> wrote:
> Philippe and Raj,
>  Again, thank you for the help.
>
>  The INSTALL.txt notes that come with xplanner say
>   XPlanner has only been tested on mysql 4.x, myslq 5.0, Tomcat 5.x,
>  java 1.4, windows and linux.
>  Does 5.x  not include 5.5.x?
>  I'm using java 1.4.2_17 now via
>   #update-alternatives --config java
>
>
>  I first tried to set the xplanner.root in web.xml
>     <param-name>webAppRootKey</param-name>
>     <param-value>xplanner.root</param-value> <--- changed this to
>  /var/log/tomcat5.5/
>  That failed, so I hardcoded it in log4j.xml
>     <appender name="FILE" class="org.apache.log4j.RollingFileAppender">
>     <param name="MaxFileSize" value="1Mb"/>
>     <param name="MaxBackupIndex" value="3"/>
>     <param name="file" value="/var/log/tomcat5.5/xplanner.log"/>
>  This works, in that the catalina_2008foo log now gives the right path,
>  but the access is denied.
>
>   I touched an xplannerActivity.log both in /var/log/tomcat5.5 and /
>  I've chown'd both to tomcat55, and I've chmod'd 777.
>
>  I modified all java.policy files to
>
>  grant codeBase "http://whynoti.org" {
>     permission java.security.AllPermission;
>  }
>
>  I still get this error:
>
>
>  log4j:ERROR Could not create an Appender. Reported error follows.
>  java.security.AccessControlException: access denied
>  (java.io.FilePermission /var/log/tomcat5.5/xplannerActivity.log write)
>         at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
>
>         at java.security.AccessController.checkPermission(AccessController.java:427)
>         at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
>
>  -rw-r--r-- 1 tomcat55 nogroup      0 Mar 18 21:15 xplanner.log
>  -rw-r--r-- 1 tomcat55 nogroup      0 Mar 18 21:14 xplannerActivity.log
>
>
>
>
>
>
>  On Tue, Mar 18, 2008 at 5:28 PM, Philippe Paravicini
>  <[email protected]> wrote:
>  > Lucy:
>  >
>  >  With regards to using the proper version of java when starting tomcat, you
>  >  should
>  >  a) consult the Debian docs to setup the correct java alternative (which you
>  >  seem to have done)
>  >  and
>  >  b) perhaps read through the /etc/init.d/tomcat startup file, or whatever file
>  >  you are using to start tomcat, to determine why it is picking up the java-1.5
>  >  version (perhaps the JAVA_HOME environment variable is set improperly).
>  >
>  >  Also, as far as I know, xplanner 0.7x does not run on tomcat-5.5, but requires
>  >  tomcat-5.0.x, as well as jdk-1.4.x.
>  >
>  >  With regards to the log4j problem that you are encountering, you should look
>  >  at the contents of:
>  >
>  >  /var/lib/tomcat5.5/webapps/xplanner/WEB-INF/classes/log4j.xml
>  >
>  >  and make sure that the directories/files to which the Appenders write is
>  >  read/writeable by the tomcat user.
>  >
>  >  It appears that the log4j.xml file is pointing to /xplannerActivity.log which
>  >  would be wrong.  You would want it to point to a directory/file like
>  >
>  >  /var/log/tomcat/xplanner/xplannerActivity.log
>  >  or
>  >  /var/log/xplanner/xplannerActivity.log
>  >
>  >  or wherever you want to keep these logs.
>  >
>  >  Editing the tomcat log4j configuration file
>  >  (/var/lib/tomcat5.5/conf/log4j.properties) will not help you, because the
>  >  log4j file of the xplanner web app 'trumps' the tomcat log4j file in the
>  >  context of the web application (xplanner).
>  >
>  >
>  >  Nevertheless, the above tweaking of the log4j file will not help you solve the
>  >  root cause of the problem, which is that you are attempting to run xplanner
>  >  on unsupported jdk/tomcat versions.  You may want to read through the README
>  >  notes of the distribution and install the proper tomcat version first
>  >  (tomcat-5.0.x is easy to install from a tar file downloaded from the tomcat
>  >  apache site, if Debian Etch does not have a package for it).
>  >
>  >  Good luck.
>  >
>  >  Philippe Paravicini
>  >
>  >  > ---------- Forwarded message ----------
>  >  > From: Lucy Mendel <lucy-u2YUQdb6EcYUNg8y/[email protected]>
>  >  > Date: Mon, Mar 17, 2008 at 12:14 AM
>  >  > Subject: problem starting xplanner
>  >  > To: [email protected]
>  >  >
>  >  >
>  >  > Hi all,
>  >  >
>  >  >  At my work we use XPlanner and I love it. I'm trying to get it setup
>  >  >  for a non-profit side project I'm working on, but I'm having trouble.
>  >  >  I hope someone can help. I will post back to the sourceforge forum and
>  >  >  Installation FAQ wiki if successful.
>  >  >
>  >  >  OS: debian etch  (technically 2.6.18.8-domU-linode7)
>  >  >  JAVA: 1.5.0_14-b03   however, I installed 1.4,  #update-alternatives
>  >  >  --config java, apt-get remove sun-j2re1.5, and then /usr/lib# ln -s
>  >  >  j2sdk1.4-sun j2sdk1.5-sun
>  >  >  when I type java -version I get 1.4, but for some reason when tomcat
>  >  >  starts it cites 1.5.  I've even restarted the machine. eit. is this
>  >  >  the problem?
>  >  >  TOMCAT: 5.5
>  >  >  ARCH: i386
>  >  >
>  >  >  I downloaded the xplannar war zip and went through the steps of
>  >  >  setting up the mysql database.
>  >  >
>  >  >  The tomcat web manager starts without xplanner running, though the
>  >  >  tomcat example apps are running. Click "start" fails:
>  >  >    FAIL - Application at context path /xplanner could not be started
>  >  >
>  >  >  catalina_2008-03-17.log msg is at the end of this email.
>  >  >
>  >  >  Let me know if I need provide any more information. Any help you can
>  >  >  provide would be GREATLY appreciated. I know this is more of a
>  >  >  environment setup issue than xplanner bug but I've been trying to
>  >  >  circumvent this obstacle for the past week.
>  >  >
>  >  >  Thanks,
>  >  >  Lucy.
>  >  >
>  >  >  Mar 16, 2008 10:24:48 PM org.apache.coyote.http11.Http11BaseProtocol pause
>  >  >  INFO: Pausing Coyote HTTP/1.1 on http-8180
>  >  >  Mar 16, 2008 10:24:49 PM org.apache.catalina.startup.HostConfig
>  >  > checkResources INFO: Reloading context [/xplanner]
>  >  >  Mar 16, 2008 10:24:49 PM org.apache.catalina.core.StandardContext stop
>  >  >  INFO: Container
>  >  >  org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/xplanner]
>  >  >  has not been started
>  >  >  log4j:ERROR Could not create an Appender. Reported error follows.
>  >  >  java.security.AccessControlException: access denied
>  >  >  (java.io.FilePermission /xplannerActivity.log write)
>  >  >         at
>  >  > java.security.AccessControlContext.checkPermission(AccessControlContext.jav
>  >  >a:264) at
>  >  > java.security.AccessController.checkPermission(AccessController.java:427)
>  >  > at java.lang.SecurityManager.checkPermission(SecurityManager.java:532) at
>  >  > java.lang.SecurityManager.checkWrite(SecurityManager.java:962) at
>  >  > java.io.FileOutputStream.<init>(FileOutputStream.java:169) at
>  >  > java.io.FileOutputStream.<init>(FileOutputStream.java:102) at
>  >  > org.apache.log4j.FileAppender.setFile(FileAppender.java:289) at
>  >  > org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:165)
>  >  > at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:163) at
>  >  > org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:256) at
>  >  > org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:220
>  >  >) at
>  >  > org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.jav
>  >  >a:150) at
>  >  > org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurato
>  >  >r.java:163) at
>  >  > org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfig
>  >  >urator.java:425) at
>  >  > org.apache.log4j.xml.DOMConfigurator.parseCategory(DOMConfigurator.java:345
>  >  >) at org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:827) at
>  >  > org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:712)
>  >  > at
>  >  > org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:618)
>  >  > at
>  >  > org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter
>  >  >.java:468) at org.apache.log4j.LogManager.<clinit>(LogManager.java:122) at
>  >  > org.apache.log4j.Logger.getLogger(Logger.java:104)
>  >  >         at
>  >  > org.apache.commons.logging.impl.Log4JLogger.getLogger(Log4JLogger.java:229)
>  >  > at org.apache.commons.logging.impl.Log4JLogger.<init>(Log4JLogger.java:65)
>  >  > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at
>  >  > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAcce
>  >  >ssorImpl.java:39) at
>  >  > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstru
>  >  >ctorAccessorImpl.java:27) at
>  >  > java.lang.reflect.Constructor.newInstance(Constructor.java:494) at
>  >  > org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.j
>  >  >ava:529) at
>  >  > org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.j
>  >  >ava:235) at
>  >  > org.apache.commons.logging.LogFactory.getLog(LogFactory.java:370) at
>  >  > org.apache.catalina.core.ContainerBase.getLogger(ContainerBase.java:380) at
>  >  > org.apache.catalina.core.StandardContext.start(StandardContext.java:4114)
>  >  > at
>  >  > org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:1089)
>  >  > at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1187) at
>  >  > org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:292)
>  >  > at
>  >  > org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppo
>  >  >rt.java:119) at
>  >  > org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java
>  >  >:1305) at
>  >  > org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.process
>  >  >Children(ContainerBase.java:1569) at
>  >  > org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.process
>  >  >Children(ContainerBase.java:1578) at
>  >  > org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(Con
>  >  >tainerBase.java:1558) at java.lang.Thread.run(Thread.java:595)
>  >  >  log4j:ERROR Could not parse url
>  >  >  [file:/var/lib/tomcat5.5/webapps/xplanner/WEB-INF/classes/log4j.xml].
>  >  >  java.lang.NullPointerException
>  >  >         at java.util.Hashtable.put(Hashtable.java:396)
>  >  >         at
>  >  > org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.jav
>  >  >a:151) at
>  >  > org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurato
>  >  >r.java:163) at
>  >  > org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfig
>  >  >urator.java:425) at
>  >  > org.apache.log4j.xml.DOMConfigurator.parseCategory(DOMConfigurator.java:345
>  >  >) at org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:827) at
>  >  > org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:712)
>  >  > at
>  >  > org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:618)
>  >  > at
>  >  > org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter
>  >  >.java:468) at org.apache.log4j.LogManager.<clinit>(LogManager.java:122) at
>  >  > org.apache.log4j.Logger.getLogger(Logger.java:104)
>  >  >         at
>  >  > org.apache.commons.logging.impl.Log4JLogger.getLogger(Log4JLogger.java:229)
>  >  > at org.apache.commons.logging.impl.Log4JLogger.<init>(Log4JLogger.java:65)
>  >  > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at
>  >  > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAcce
>  >  >ssorImpl.java:39) at
>  >  > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstru
>  >  >ctorAccessorImpl.java:27) at
>  >  > java.lang.reflect.Constructor.newInstance(Constructor.java:494) at
>  >  > org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.j
>  >  >ava:529) at
>  >  > org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.j
>  >  >ava:235) at
>  >  > org.apache.commons.logging.LogFactory.getLog(LogFactory.java:370) at
>  >  > org.apache.catalina.core.ContainerBase.getLogger(ContainerBase.java:380) at
>  >  > org.apache.catalina.core.StandardContext.start(StandardContext.java:4114)
>  >  > at
>  >  > org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:1089)
>  >  > at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1187) at
>  >  > org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:292)
>  >  > at
>  >  > org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppo
>  >  >rt.java:119) at
>  >  > org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java
>  >  >:1305) at
>  >  > org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.process
>  >  >Children(ContainerBase.java:1569) at
>  >  > org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.process
>  >  >Children(ContainerBase.java:1578) at
>  >  > org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(Con
>  >  >tainerBase.java:1558) at java.lang.Thread.run(Thread.java:595)
>  >  >  log4j:WARN No appenders could be found for logger
>  >  >  (org.apache.commons.digester.Digester.sax).
>  >  >  log4j:WARN Please initialize the log4j system properly.
>  >  >  Mar 16, 2008 10:24:49 PM org.apache.catalina.core.StandardService stop
>  >  >  INFO: Stopping service Catalina
>  >  >  Mar 16, 2008 10:24:50 PM org.apache.catalina.core.StandardContext start
>  >  >  SEVERE: Error listenerStart
>  >  >  Mar 16, 2008 10:24:50 PM org.apache.catalina.core.StandardContext start
>  >  >  SEVERE: Context [/xplanner] startup failed due to previous errors
>  >  >  Mar 16, 2008 10:24:50 PM org.apache.coyote.http11.Http11BaseProtocol
>  >  > destroy INFO: Stopping Coyote HTTP/1.1 on http-8180
>  >  >  Mar 16, 2008 10:24:50 PM org.apache.catalina.core.AprLifecycleListener
>  >  >  lifecycleEvent
>  >  >  INFO: Failed shutdown of Apache Portable Runtime
>  >  >  Using CATALINA_BASE:   /var/lib/tomcat5.5
>  >  >  Using CATALINA_HOME:   /usr/share/tomcat5.5
>  >  >  Using CATALINA_TMPDIR: /var/lib/tomcat5.5/temp
>  >  >  Using JRE_HOME:       /usr/lib/jvm/java-1.5.0-sun
>  >  >  Using Security Manager
>  >  >  Mar 16, 2008 10:24:54 PM org.apache.catalina.core.AprLifecycleListener
>  >  >  lifecycleEvent
>  >  >  INFO: The Apache Tomcat Native library which allows optimal
>  >  >  performance in production environments was not found on the
>  >  >  java.library.path:
>  >  >
>  >  > /usr/lib/jvm/java-1.5.0-sun-1.5.0.14/jre/lib/i386/client:/usr/lib/jvm/java-
>  >  >1.5.0-sun-1.5.0.14/jre/lib/i386:/usr/lib/jvm/java-1.5.0-sun-1.5.0.14/jre/../
>  >  >lib/i386 Mar 16, 2008 10:24:54 PM
>  >  > org.apache.coyote.http11.Http11BaseProtocol init
>  >  >
>  >  >
>  >  >
>  >  > ------------------------------
>  >  >
>  >  > Message: 2
>  >  > Date: Mon, 17 Mar 2008 09:58:01 +0530
>  >  > From: Raj Saini <[email protected]>
>  >  > Subject: Re: [Xplanner-devel] Fwd: problem starting xplanner
>  >  > To: [email protected]
>  >  > Message-ID: <[email protected]>
>  >  > Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>  >  >
>  >  > Lucy,
>  >  >
>  >  > It seems during XPlanner initialization some error had occurred and when
>  >  > Log4J tries to write it log file, it get file permission error has log
>  >  > file location is set to root.
>  >  >
>  >  > I would suggest you to change the path of the Log4J first and rerun.
>  >  > Look into Log4j log file for the real reason. Post those logs may that
>  >  > can help to track the real reason of failure.
>  >  >
>  >  > Thanks,
>  >  >
>  >  > Raj
>  >  >
>  >  > Lucy Mendel wrote:
>  >  > > ---------- Forwarded message ----------
>  >  > > From: Lucy Mendel <lucy-u2YUQdb6EcYUNg8y/[email protected]>
>  >  > > Date: Mon, Mar 17, 2008 at 12:14 AM
>  >  > > Subject: problem starting xplanner
>  >  > > To: [email protected]
>  >  > >
>  >  > >
>  >  > > Hi all,
>  >  > >
>  >  > >  At my work we use XPlanner and I love it. I'm trying to get it setup
>  >  > >  for a non-profit side project I'm working on, but I'm having trouble.
>  >  > >  I hope someone can help. I will post back to the sourceforge forum and
>  >  > >  Installation FAQ wiki if successful.
>  >  > >
>  >  > >  OS: debian etch  (technically 2.6.18.8-domU-linode7)
>  >  > >  JAVA: 1.5.0_14-b03   however, I installed 1.4,  #update-alternatives
>  >  > >  --config java, apt-get remove sun-j2re1.5, and then /usr/lib# ln -s
>  >  > >  j2sdk1.4-sun j2sdk1.5-sun
>  >  > >  when I type java -version I get 1.4, but for some reason when tomcat
>  >  > >  starts it cites 1.5.  I've even restarted the machine. eit. is this
>  >  > >  the problem?
>  >  > >  TOMCAT: 5.5
>  >  > >  ARCH: i386
>  >  > >
>  >  > >  I downloaded the xplannar war zip and went through the steps of
>  >  > >  setting up the mysql database.
>  >  > >
>  >  > >  The tomcat web manager starts without xplanner running, though the
>  >  > >  tomcat example apps are running. Click "start" fails:
>  >  > >    FAIL - Application at context path /xplanner could not be started
>  >  > >
>  >  > >  catalina_2008-03-17.log msg is at the end of this email.
>  >  > >
>  >  > >  Let me know if I need provide any more information. Any help you can
>  >  > >  provide would be GREATLY appreciated. I know this is more of a
>  >  > >  environment setup issue than xplanner bug but I've been trying to
>  >  > >  circumvent this obstacle for the past week.
>  >  > >
>  >  > >  Thanks,
>  >  > >  Lucy.
>  >  > >
>  >  > >  Mar 16, 2008 10:24:48 PM org.apache.coyote.http11.Http11BaseProtocol
>  >  > > pause INFO: Pausing Coyote HTTP/1.1 on http-8180
>  >  > >  Mar 16, 2008 10:24:49 PM org.apache.catalina.startup.HostConfig
>  >  > > checkResources INFO: Reloading context [/xplanner]
>  >  > >  Mar 16, 2008 10:24:49 PM org.apache.catalina.core.StandardContext stop
>  >  > >  INFO: Container
>  >  > >
>  >  > > org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/xplanner]
>  >  > > has not been started
>  >  > >  log4j:ERROR Could not create an Appender. Reported error follows.
>  >  > >  java.security.AccessControlException: access denied
>  >  > >  (java.io.FilePermission /xplannerActivity.log write)
>  >  > >         at
>  >  > > java.security.AccessControlContext.checkPermission(AccessControlContext.j
>  >  > >ava:264) at
>  >  > > java.security.AccessController.checkPermission(AccessController.java:427)
>  >  > > at java.lang.SecurityManager.checkPermission(SecurityManager.java:532) at
>  >  > > java.lang.SecurityManager.checkWrite(SecurityManager.java:962) at
>  >  > > java.io.FileOutputStream.<init>(FileOutputStream.java:169) at
>  >  > > java.io.FileOutputStream.<init>(FileOutputStream.java:102) at
>  >  > > org.apache.log4j.FileAppender.setFile(FileAppender.java:289) at
>  >  > > org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:165
>  >  > >) at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:163)
>  >  > > at
>  >  > > org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:256)
>  >  > > at
>  >  > > org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:2
>  >  > >20) at
>  >  > > org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.j
>  >  > >ava:150) at
>  >  > > org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigura
>  >  > >tor.java:163) at
>  >  > > org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConf
>  >  > >igurator.java:425) at
>  >  > > org.apache.log4j.xml.DOMConfigurator.parseCategory(DOMConfigurator.java:3
>  >  > >45) at
>  >  > > org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:827) at
>  >  > > org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:712
>  >  > >) at
>  >  > > org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:618
>  >  > >) at
>  >  > > org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConvert
>  >  > >er.java:468) at org.apache.log4j.LogManager.<clinit>(LogManager.java:122)
>  >  > > at org.apache.log4j.Logger.getLogger(Logger.java:104)
>  >  > >         at
>  >  > > org.apache.commons.logging.impl.Log4JLogger.getLogger(Log4JLogger.java:22
>  >  > >9) at
>  >  > > org.apache.commons.logging.impl.Log4JLogger.<init>(Log4JLogger.java:65)
>  >  > > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>  >  > > at
>  >  > > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAc
>  >  > >cessorImpl.java:39) at
>  >  > > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConst
>  >  > >ructorAccessorImpl.java:27) at
>  >  > > java.lang.reflect.Constructor.newInstance(Constructor.java:494) at
>  >  > > org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl
>  >  > >.java:529) at
>  >  > > org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl
>  >  > >.java:235) at
>  >  > > org.apache.commons.logging.LogFactory.getLog(LogFactory.java:370) at
>  >  > > org.apache.catalina.core.ContainerBase.getLogger(ContainerBase.java:380)
>  >  > > at
>  >  > > org.apache.catalina.core.StandardContext.start(StandardContext.java:4114)
>  >  > > at
>  >  > > org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:108
>  >  > >9) at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1187)
>  >  > > at
>  >  > > org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:292
>  >  > >) at
>  >  > > org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSup
>  >  > >port.java:119) at
>  >  > > org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.ja
>  >  > >va:1305) at
>  >  > > org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.proce
>  >  > >ssChildren(ContainerBase.java:1569) at
>  >  > > org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.proce
>  >  > >ssChildren(ContainerBase.java:1578) at
>  >  > > org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(C
>  >  > >ontainerBase.java:1558) at java.lang.Thread.run(Thread.java:595)
>  >  > >  log4j:ERROR Could not parse url
>  >  > >  [file:/var/lib/tomcat5.5/webapps/xplanner/WEB-INF/classes/log4j.xml].
>  >  > >  java.lang.NullPointerException
>  >  > >         at java.util.Hashtable.put(Hashtable.java:396)
>  >  > >         at
>  >  > > org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.j
>  >  > >ava:151) at
>  >  > > org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigura
>  >  > >tor.java:163) at
>  >  > > org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConf
>  >  > >igurator.java:425) at
>  >  > > org.apache.log4j.xml.DOMConfigurator.parseCategory(DOMConfigurator.java:3
>  >  > >45) at
>  >  > > org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:827) at
>  >  > > org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:712
>  >  > >) at
>  >  > > org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:618
>  >  > >) at
>  >  > > org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConvert
>  >  > >er.java:468) at org.apache.log4j.LogManager.<clinit>(LogManager.java:122)
>  >  > > at org.apache.log4j.Logger.getLogger(Logger.java:104)
>  >  > >         at
>  >  > > org.apache.commons.logging.impl.Log4JLogger.getLogger(Log4JLogger.java:22
>  >  > >9) at
>  >  > > org.apache.commons.logging.impl.Log4JLogger.<init>(Log4JLogger.java:65)
>  >  > > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>  >  > > at
>  >  > > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAc
>  >  > >cessorImpl.java:39) at
>  >  > > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConst
>  >  > >ructorAccessorImpl.java:27) at
>  >  > > java.lang.reflect.Constructor.newInstance(Constructor.java:494) at
>  >  > > org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl
>  >  > >.java:529) at
>  >  > > org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl
>  >  > >.java:235) at
>  >  > > org.apache.commons.logging.LogFactory.getLog(LogFactory.java:370) at
>  >  > > org.apache.catalina.core.ContainerBase.getLogger(ContainerBase.java:380)
>  >  > > at
>  >  > > org.apache.catalina.core.StandardContext.start(StandardContext.java:4114)
>  >  > > at
>  >  > > org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:108
>  >  > >9) at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1187)
>  >  > > at
>  >  > > org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:292
>  >  > >) at
>  >  > > org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSup
>  >  > >port.java:119) at
>  >  > > org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.ja
>  >  > >va:1305) at
>  >  > > org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.proce
>  >  > >ssChildren(ContainerBase.java:1569) at
>  >  > > org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.proce
>  >  > >ssChildren(ContainerBase.java:1578) at
>  >  > > org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(C
>  >  > >ontainerBase.java:1558) at java.lang.Thread.run(Thread.java:595)
>  >  > >  log4j:WARN No appenders could be found for logger
>  >  > >  (org.apache.commons.digester.Digester.sax).
>  >  > >  log4j:WARN Please initialize the log4j system properly.
>  >  > >  Mar 16, 2008 10:24:49 PM org.apache.catalina.core.StandardService stop
>  >  > >  INFO: Stopping service Catalina
>  >  > >  Mar 16, 2008 10:24:50 PM org.apache.catalina.core.StandardContext start
>  >  > >  SEVERE: Error listenerStart
>  >  > >  Mar 16, 2008 10:24:50 PM org.apache.catalina.core.StandardContext start
>  >  > >  SEVERE: Context [/xplanner] startup failed due to previous errors
>  >  > >  Mar 16, 2008 10:24:50 PM org.apache.coyote.http11.Http11BaseProtocol
>  >  > > destroy INFO: Stopping Coyote HTTP/1.1 on http-8180
>  >  > >  Mar 16, 2008 10:24:50 PM org.apache.catalina.core.AprLifecycleListener
>  >  > >  lifecycleEvent
>  >  > >  INFO: Failed shutdown of Apache Portable Runtime
>  >  > >  Using CATALINA_BASE:   /var/lib/tomcat5.5
>  >  > >  Using CATALINA_HOME:   /usr/share/tomcat5.5
>  >  > >  Using CATALINA_TMPDIR: /var/lib/tomcat5.5/temp
>  >  > >  Using JRE_HOME:       /usr/lib/jvm/java-1.5.0-sun
>  >  > >  Using Security Manager
>  >  > >  Mar 16, 2008 10:24:54 PM org.apache.catalina.core.AprLifecycleListener
>  >  > >  lifecycleEvent
>  >  > >  INFO: The Apache Tomcat Native library which allows optimal
>  >  > >  performance in production environments was not found on the
>  >  > >  java.library.path:
>  >  > >
>  >  > > /usr/lib/jvm/java-1.5.0-sun-1.5.0.14/jre/lib/i386/client:/usr/lib/jvm/jav
>  >  > >a-1.5.0-sun-1.5.0.14/jre/lib/i386:/usr/lib/jvm/java-1.5.0-sun-1.5.0.14/jre
>  >  > >/../lib/i386 Mar 16, 2008 10:24:54 PM
>  >  > > org.apache.coyote.http11.Http11BaseProtocol init
>  >  > >
>  >  > > -------------------------------------------------------------------------
>  >  > > This SF.net email is sponsored by: Microsoft
>  >  > > Defy all challenges. Microsoft(R) Visual Studio 2008.
>  >  > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>  >  > > _______________________________________________
>  >  > > Xplanner-devel mailing list
>  >  > > [email protected]
>  >  > > https://lists.sourceforge.net/lists/listinfo/xplanner-devel
>  >  >
>  >  > ------------------------------
>  >  >
>  >  > -------------------------------------------------------------------------
>  >  > This SF.net email is sponsored by: Microsoft
>  >  > Defy all challenges. Microsoft(R) Visual Studio 2008.
>  >  > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>  >  >
>  >  > ------------------------------
>  >  >
>  >  > _______________________________________________
>  >  > Xplanner-devel mailing list
>  >  > [email protected]
>  >  > https://lists.sourceforge.net/lists/listinfo/xplanner-devel
>  >  >
>  >  >
>  >  > End of Xplanner-devel Digest, Vol 18, Issue 2
>  >  > *********************************************
>  >
>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/