RE: missing resource bundle shouldn't be

2004-09-07 Thread Shapira, Yoav
Hi, There's no need to do this, really. Webapps are supposed to be self-contained. My inner C++ developer says I should share common code, similar to shared libraries; but C and C++ != Java. =) I tend to leave common/lib/ alone, so only the Tomcat-provided JARs exist there. IMHO, the best

Re: missing resource bundle shouldn't be

2004-09-07 Thread QM
On Tue, Sep 07, 2004 at 09:19:07AM -0400, Shapira, Yoav wrote: : IMHO, the best way to share common code is to put it in a source-code : control system (CVS, Subversion, ClearCase, whatever you want) and have : a consistent deployment process where the deployment script (Ant, Maven, : whatever you

missing resource bundle shouldn't be

2004-09-06 Thread Garret Wilson
I just installed Tomcat 5.5.0 on Windows XP Professional SP2. I have an existing application that worked under Tomcat 4.x. It consists of a servlet in a jar file located here: \tomcat\common\lib\myservlet.jar That jar contains a servlet mapped to, for example: servlet-mapping

Re: missing resource bundle shouldn't be

2004-09-06 Thread Garret Wilson
Oh, and I'm using JDK 1.5 RC. Garret Garret Wilson wrote: I just installed Tomcat 5.5.0 on Windows XP Professional SP2. I have an existing application that worked under Tomcat 4.x. It consists of a servlet in a jar file located here: \tomcat\common\lib\myservlet.jar That jar contains a servlet

RE: missing resource bundle shouldn't be

2004-09-06 Thread George Sexton
-Original Message- From: Garret Wilson [mailto:[EMAIL PROTECTED] Sent: Monday, September 06, 2004 11:40 AM To: [EMAIL PROTECTED] Subject: Re: missing resource bundle shouldn't be Oh, and I'm using JDK 1.5 RC. Garret Garret Wilson wrote: I just installed Tomcat 5.5.0 on Windows XP

Re: missing resource bundle shouldn't be

2004-09-06 Thread Garret Wilson
] Subject: Re: missing resource bundle shouldn't be Oh, and I'm using JDK 1.5 RC. Garret Garret Wilson wrote: I just installed Tomcat 5.5.0 on Windows XP Professional SP2. I have an existing application that worked under Tomcat 4.x. It consists of a servlet in a jar file located here: \tomcat

Re: missing resource bundle shouldn't be

2004-09-06 Thread QM
On Mon, Sep 06, 2004 at 01:45:27PM -0700, Garret Wilson wrote: : Different class loader. The JSP's are running in a class-loader with the : application, while the common/lib jars are in a different class-loader : where : the WEB-INF/classes are not part of the search path. : : Then what's the

Re: missing resource bundle shouldn't be

2004-09-06 Thread Garret Wilson
QM wrote: : Then what's the solution? I've tried moving the jar from common/lib to : WEB-INF/lib, but that didn't help. Unjarring the files into : WEB-INF/classes didn't work, either. When you say the jar, you mean the jar containing my servlet classes, correct? Right. That should work. You

Re: missing resource bundle shouldn't be

2004-09-06 Thread QM
On Mon, Sep 06, 2004 at 02:55:13PM -0700, Garret Wilson wrote: : I'll try that---it wouldn't cache a jar, would it? Maybe, maybe not. I see from your first message that you're running Tomcat 5.5, which is technically in alpha state. If you're trying it out to report issues to the developers,

Re: missing resource bundle shouldn't be---solved

2004-09-06 Thread Garret Wilson
QM wrote: On Mon, Sep 06, 2004 at 02:55:13PM -0700, Garret Wilson wrote: : I was planning on using the same set of libraries for multiple web : apps---the jar in question had more than just servlets for a single web app. There's no need to do this, really. Webapps are supposed to be