Hello !
java.lang.NoClassDefFoundError: no/ntnu/nav/ConfigParser/ConfigParser navAdmin.service(navAdmin.java:38) javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
Looks like ConfigParser.jar is not in the java classpath. But where is in the Tomcat classpath modifications can be applied? The inclusion of ". /usr/local/nav/bin/navenv.sh" into Tomcat startup script is absolutely unuseful. What else can I do?
It is a good idea to use bash shell and this is my .bash_profile :
nav:~# more .bash_profile export PYTHONPATH=/usr/local/nav/lib/python export JAVA_HOME=/usr/local/linux-sun-jdk1.4.2 export PATH=$PATH:/usr/local/nav/bin:/usr/local/linux-sun-jdk1.4.2/bin export PERL5LIB=/usr/local/nav/lib/perl:/usr/local/cricket/cricket/lib export CLASSPATH="`echo /usr/local/nav/lib/java/*.jar | tr ' ' ':'`:/usr/local/share/java/classes/postgresql.jar:/usr/local/share/ja va/classes/snmp.jar"
-- Med vennlig hilsen / Regards;
Roar Pettersen Universitetet i Bergen - The University of Bergen Nygardsgt. 5 - N-5020 BERGEN - Norway Tlf: +47 55 58 40 55 VIP: 81503 fax: +47 55 58 40 70 roar.pettersen@it.uib.no - IT-Avd, UiB - http://www.uib.no
From kreide at online.no Wed Apr 20 16:39:38 2005
From: kreide at online.no (Kristian Eide) Date: Wed Apr 20 15:39:46 2005 Subject: [Nav-users] Cannot start Edit Database on NAV under FreeBSD 5 Message-ID: 426722C1@epostleser.online.no
Looks like ConfigParser.jar is not in the java classpath. But where is in the Tomcat classpath modifications can be applied?
Copy (or better, symlink) the files into <tomcat-dir>/shared/lib.
-- Kristian