Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 56509 invoked by uid 500); 16 Sep 2001 18:08:12 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk Reply-To: tomcat-user@jakarta.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 56498 invoked from network); 16 Sep 2001 18:08:12 -0000 Message-ID: <3BA4EB23.24436068@uclink4.berkeley.edu> Date: Sun, 16 Sep 2001 11:10:43 -0700 From: Calvin Lau Organization: http://www.alienatedx.com X-Mailer: Mozilla 4.7 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: tomcat-user@jakarta.apache.org Subject: Re: moving webapps from tc 3.2.1 to 4.0-b7 References: <20010915180221.U55919-100000@localhost> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Thanks, I added it to CATALINA_HOME/lib and it works now. I had it in my Classpath before and I think that was working fine on tomcat3.2.1. Calvin "Craig R. McClanahan" wrote: > On Sat, 15 Sep 2001, Calvin Lau wrote: > > > Date: Sat, 15 Sep 2001 14:17:21 -0700 > > From: Calvin Lau > > Reply-To: tomcat-user@jakarta.apache.org > > To: tomcat-user@jakarta.apache.org > > Subject: Re: moving webapps from tc 3.2.1 to 4.0-b7 > > > > I'm having a similar problem. I installed Tomcat4 and > > have the examples and struts-example webapps working. > > However I can't seem to get my webapp which was > > working fine under Tomcat3.2.1 to work. I get the error > > listed below when I try go to any *.do. I > > > > My $JAVA_HOME/jre/lib/ext directory is empty. > > Anyone have any idea what the problem is? > > > > Here's an abridged version of the error: > > ====================================================== > > Root Cause: > > java.lang.NoClassDefFoundError: javax/sql/DataSource > > at java.lang.ClassLoader.defineClass0(Native Method) > > at java.lang.ClassLoader.defineClass(Unknown Source) > > at > > java.security.SecureClassLoader.defineClass(Unknown > > Source) > > at > > org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1488)... > > > > ====================================================== > > > > The only way I have been able to reproduce this particular message is to > *not* have the JDBC 2.0 optional package JAR file (jdbc2_0-stdext.jar) > available to my webapp (it's not currently made visible by Tomcat 4). It > needs to be put either in $CATALINA_HOME/lib or in /WEB-INF/lib of your > web app. > > This is likely to change in the final release -- and the release notes > will definitely include a section describing the various JAR files that > are made visible to web applications by default. > > Craig