tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcus Crafter <craft...@dresdnerbank.de>
Subject Re: [Tomcat4] Migrating from M1 -> M2 - Issues & solutions
Date Tue, 10 Oct 2000 14:46:41 GMT
On Tue, 10 Oct 2000, James Cook wrote:

> ----- Original Message -----
> From: "Vincent Deconinck" <vincent.deconinck@cplus.be>
> > Second, as TC4 looks for jars in the lib directory instead of using the
> > classpath, I had moved the necessary files there and simply renamed .zip
> > files to .jar for M1, and it worked. For M2, though, all I got was an
> > "IllegalArgumentException: addRepositoryInternal:
> > java.lang.NullPointerException
> > at org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(
> > StandardClassLoader.java, Compiled Code)"... So before migrating to M2,
> > unzip all your zips and jar them up.
> 
> I get the same exception, however I have standard JAR files in my lib directory.

	Which lib directory ? Tomcat 4.0M2 loads the jar files from the web
	application's lib directory (ie /context/WEB-INF/lib), and not the
	jakarta-tomcat/lib directory as it previously did.

	What is does now is correct behaviour, as described in the servlet
	spec.

	Cheers,
	
	Marcus
-- 
        .....
     ,,$$$$$$$$$,      Marcus Crafter
    ;$'      '$$$$:    Computer Systems Engineer
    $:         $$$$:   Open Software Associates GmbH
     $       o_)$$$:   82-84 Mainzer Landstrasse
     ;$,    _/\ &&:'   60327 Frankfurt Germany
       '     /( &&&
           \_&&&&'     Email : Marcus.Crafter@osa.de
          &&&&.        Business Hours : +49 69 9757 200
    &&&&&&&:           After Hours    : +49 69 49086750


Mime
View raw message