GeeCON Prague 2014*
The moose likes IDEs, Version Control and other tools and the fly likes Problem with Lomboz Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Problem with Lomboz" Watch "Problem with Lomboz" New topic
Author

Problem with Lomboz

Hui Ge
Greenhorn

Joined: Mar 11, 2005
Posts: 25
I am using Lomboz with tomcat5.5. But i cannot get the server to start. Does anybody know what's wrong or have the same experience?

Error:

java.lang.ExceptionInInitializerError
Caused by: org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: java.lang.NullPointerException (Caused by java.lang.NullPointerException) (Caused by org.apache.commons.logging.LogConfigurationException: java.lang.NullPointerException (Caused by java.lang.NullPointerException))
at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:543)
at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)
at org.apache.catalina.startup.Bootstrap.<clinit>(Bootstrap.java:53)
Caused by: org.apache.commons.logging.LogConfigurationException: java.lang.NullPointerException (Caused by java.lang.NullPointerException)
at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:397)
at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
... 4 more
Caused by: java.lang.NullPointerException
at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:374)
... 5 more
Exception in thread "main"

Server file:

<serverDefinition <br /> name="Apache Tomcat v5.5.x"<br /> ejbModules="true"<br /> webModules="true"<br /> earModules="false">
<property id="serverRootDirectory"<br /> label="Application Server Directory:"<br /> type="directory"<br /> default="C:/Program Files/Apache Software Foundation/Tomcat 5.5" />
<property id="serverAddress"<br /> label="Address:"<br /> type="string"<br /> default="127.0.0.1" />
<property id="serverPort"<br /> label="Port:"<br /> type="string"<br /> default="8080" />
<property id="classPathVariableName"<br /> label="Classpath Variable Name:"<br /> type="string"<br /> default="CATALINA_HOME" />
<property id="classPath"<br /> label="Classpath Variable:"<br /> type="directory"<br /> default="C:/Program Files/Apache Software Foundation/Tomcat 5.5" />
<serverHome>${serverRootDirectory}</serverHome>
<webModulesDeployDirectory>${serverRootDirectory}\webapps</webModulesDeployDirectory>
<ejbModulesDeployDirectory>NOTSUPPORTED</ejbModulesDeployDirectory>
<earModulesDeployDirectory>NOTSUPPORTED</earModulesDeployDirectory>
<jndiInitialContextFactory>NOTSUPPORTED</jndiInitialContextFactory>
<jndiProviderUrl>NOTSUPPORTED</jndiProviderUrl>
<startClass>org.apache.catalina.startup.Bootstrap</startClass>
<startWorkingDirectory>${serverRootDirectory}\bin</startWorkingDirectory>
<startVmParameters>-DJAVA_HOME="${jrePath}" -Dcatalina.base="${serverRootDirectory}" -Dcatalina.home="${serverRootDirectory}" -Djava.io.tmpdir="${serverRootDirectory}/temp" -Djava.endorsed.dirs="${serverRootDirectory}/bin;${serverRootDirectory}/common/endorsed"</startVmParameters>
<startProgramArguments>start</startProgramArguments>
<stopClass>org.apache.catalina.startup.Bootstrap</stopClass>
<stopWorkingDirectory>${serverRootDirectory}\bin</stopWorkingDirectory>
<stopVmParameters>-DJAVA_HOME="${jrePath}" -Dcatalina.base="${serverRootDirectory}" -Dcatalina.home="${serverRootDirectory}" -Djava.io.tmpdir="${serverRootDirectory}/temp" -Djava.endorsed.dirs="${serverRootDirectory}/bin;${serverRootDirectory}/common/endorsed"</stopVmParameters>
<stopProgramArguments>stop</stopProgramArguments>
<serverClassPath>
<jar type="absolute">C:/Program Files/Apache Software Foundation/Tomcat 5.5/bin/bootstrap.jar</jar>
<jar type="absolute">C:/Program Files/Java/jdk1.5.0_02/lib/tools.jar</jar>
</serverClassPath>
<clientClassPath>
</clientClassPath>
<projectClassPath>
<jar type="absolute">C:/Program Files/Apache Software Foundation/Tomcat 5.5/common/lib/servlet-api.jar</jar>
<jar type="absolute">C:/Program Files/Apache Software Foundation/Tomcat 5.5/common/lib/jsp-api.jar</jar>
<jar type="absolute">C:/Program Files/Apache Software Foundation/Tomcat 5.5/bin/bootstrap.jar</jar>
<jar type="absolute">C:/Program Files/Java/jdk1.5.0_02/lib/tools.jar</jar>
<jar type="variable">${classPathVariableName}/bin/commons-logging-api.jar</jar>
</projectClassPath>
</serverDefinition>
 
GeeCON Prague 2014
 
subject: Problem with Lomboz