Re: opennms 1.1.1-5 on debian sid
2003-11-02 09:39:40 GMT
On Sat, 2003-11-01 at 02:24, Edwin Buck wrote:
> Caused by: java.lang.NoClassDefFoundError: org/apache/log4j/LogManager
...
> If log4j is installed on your system, check the CLASSPATH for your
> tomcat4 startup environment to ensure it is including log4j. Or
> alternatively, drop a copy of apache's log4j.jar into the
> ${CATALINA_HOME}/server/lib directory (or link, to taste, etc.)
Bingo, the setclasspath script in tomcat didn't have log4j.jar - I've
symlinked it in.
> Then keep a close eye on the catalina.out log file and the not finding
> log4j complaints should disappear. Unfortunately, I don't have a list
> of the "external" jars that opennms references, so there's a possibility
> that you will run into another missing jar. If so, wash, rinse, repeat.
>
> These problems stem from packagers (or build systems) having different
> ideas about what is part of a tomcat4 install. Modular minded packagers
> tend to include tomcat, and only tomcat, because those that want log4j
> will also install log4j. Less modular packagers assume that those who
> want tomcat will also want log4j, so those packagers bundle the two.
>
> Hope this helps,
> Edwin
It does, but now I get what appears to be a version mismatch of some
sort...
Using CLASSPATH:
/usr/lib/j2sdk1.4/lib/tools.jar:/usr/lib/j2sdk1.4/jre//lib/jcert.jar:/usr/lib/j2sdk1.4/jre//lib/jnet.jar:/usr/lib/j2sdk1.4/jre//lib/jsse.jar:/usr/share/tomcat4/bin/bootstrap.jar
(Continue reading)
RSS Feed