jar-file

2001-02-12 Thread affan
How i can make the jar file from a class file.  

adding jar file

2002-09-20 Thread Atif Shahab
Hi, I'm trying to add orielly's servelet jar to tomcat. On tomcat3.3 I have in in $TOMCAT/lib/common. Now that I want to migrate over to tomcat4 I'm having trouble getting the jar file to work. I've copied the file in $CATALINA/shared/lib $CATALINA/common/lib WEB-INF/li

Re: jar-file

2001-02-12 Thread John Ahrens
On Mon, 12 Feb 2001, you wrote: > > How i can make the jar file from a class file. jar cvf foo.jar foo.class where: foo.jar is the name of the jar file you wish to create. foo.class is the class file you want to incorporate. go to http://java.sun.com and search on jar for more d

placing jar file

2003-06-16 Thread Paridhi Bansal
Hi!! Mine is a normal servlet applet based web-based application where servlet is ionvoked from an html page link.The servlet throws a jar file containing the main applet class and the other files. As per the tomcat docs, i hve kept the servlet in WEB-INF/classes directory and the jar file

Listener Jar File

2004-03-03 Thread Hart, Justin
Under which directory should I place the jar file containing an HttpSessionListener referenced in my web.xml? I currently have this in a jar under web-inf/lib, but I am getting exceptions saying that this class is not in my path. Justin

mod_jk 2 jar file

2002-05-07 Thread Liam Morley
I'm looking for a jar file that has the mod_jk 2 connector. I know it's bundled in the Tomcat 3 release, but I don't want to download the whole thing just to get a few class files:( Can anybody point me to a quick location where I can grab the class files? I'd prefer not to bu

MySQL JAR File Location

2002-12-06 Thread Johnson, Garrett
Ladies and Gentlemen: Where should I drop a copy of the JDBC Driver .jar file that I need to connect to MySQL from Tomcat? I understand there are a variety of classloaders, invoked on a number of different directories. Obviously, I could just dump it into %JAVA_HOME%\jre\lib\ext, but what if I

Re: placing jar file

2003-06-16 Thread Jason Bainbridge
On Mon, 16 Jun 2003 18:03, Paridhi Bansal wrote: > Mine is a normal servlet applet based web-based application where servlet > is ionvoked from an html page link.The servlet throws a jar file containing > the main applet class and the other files. As per the tomcat docs, i hve > kept

Re: placing jar file

2003-06-16 Thread Paridhi Bansal
Hi Thanx for ur reply..i got ur point ..what u mean to say is that jar file has to be kept at two places- one for the interanl tomcat use and other for the client?? ...but isn't it that the servlet throws the jar to the client once for all. and once client browser has the jar file,

Re: placing jar file

2003-06-16 Thread Jason Bainbridge
On Mon, 16 Jun 2003 19:22, Paridhi Bansal wrote: > Hi > > Thanx for ur reply..i got ur point ..what u mean to say is that jar file > has to be kept at two places- one for the interanl tomcat use and other for > the client?? ...but isn't it that the servlet throws the jar

JAR file symlink weirdness

2003-08-26 Thread Simon Brooke
of the bug and file a bug report, but in the mean time if you're struggling with wierdness about jar file loading check your symlinks. Cheers Simon -- [EMAIL PROTECTED] (Simon Brooke) http://www.jasmine.org.uk/~simon/ For office use only. Please do not write or type below this line. --

Problem Loading Jar File

2003-09-09 Thread Rara
Hi I have placed my jar file in Myappl/WEB-INF/lib. It picks up class files that are in the root of the jar file but any class files accessed from within in directory structure are not picked up. Say, I have created a Helo.jar with command line:- jar -cvf Helo.jar HelloWorld.class ./tm/Helo2

Installing a jar-file

2003-10-19 Thread anja . mentges
Hi, I have packed an existing WebApplication in a *.jar file to deploy it to another Webserver. Where do I have to put the jar-file on the webserver ad what do I have to configure on Tomcat to let it use the jar-file? Mit freundlichen Grüßen/ Best Regards Anja Mentges

RE: Listener Jar File

2004-03-03 Thread Shapira, Yoav
Hi, >Under which directory should I place the jar file containing an >HttpSessionListener referenced in my web.xml? I currently have this in >a jar under web-inf/lib, but I am getting exceptions saying that this >class is not in my path. WEB-INF/lib is the right place for all

RE: Listener Jar File

2004-03-03 Thread Hart, Justin
Ty. -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 03, 2004 11:53 AM To: Tomcat Users List Subject: RE: Listener Jar File Hi, >Under which directory should I place the jar file containing an >HttpSessionListener referenced in my web.x

finding context's jar file

2005-04-14 Thread "Altuğ B. Altıntaş"
I need to find which jar files are being used in one context, for example below code can give me some information about sun.boot.class.path <% String classpath = System.getProperty("sun.boot.class.path"); out.println(" " + classpath); %> Is there anything like that : <% String clas

Where to place JAR file???

2002-09-07 Thread Michael Petres
library.jar in the eBMF directory and use the following parameter on the tag ‘. I would for obvious reasons like to keep all my jars in eBMF/WEB-INF/lib, for one to avoid having multiple copies of the same jar file under the directory structure. The browser is unable to gain access to applet.jar if it

Trouble configuring a .jar file

2001-05-25 Thread eric willialms \(mmi\)
Hello, i have written a servlet and it has compiled correctly but when I try and execute the .jar file from Tomcat i get the following error. i believe i have placed the file in the lib directory. Any ideas? Error: 500 Location: /servlet/TestPackage.ServletWritesPDF Internal Servlet Error

Re: MySQL JAR File Location

2002-12-06 Thread David Brown
Johnson, Garrett writes: Ladies and Gentlemen: Where should I drop a copy of the JDBC Driver .jar file that I need to connect to MySQL from Tomcat? I understand there are a variety of classloaders, invoked on a number of different directories. Obviously, I could just dump it into %JAVA_HOME

RE: MySQL JAR File Location

2002-12-06 Thread Brandon Cruz
1)catalina_home/shared/lib for all web applications 2)catalina_home/webapps/yourwebapp/WEB-INF/lib -Original Message- From: Johnson, Garrett [mailto:[EMAIL PROTECTED]] Sent: Friday, December 06, 2002 12:21 PM To: 'Tomcat Users List' Subject: MySQL JAR File Location Ladies and

RE: MySQL JAR File Location

2002-12-06 Thread Johnson, Garrett
om: David Brown [mailto:[EMAIL PROTECTED]] Sent: Friday, December 06, 2002 12:21 PM To: 'Tomcat Users List' Subject: Re: MySQL JAR File Location Johnson, Garrett writes: > Ladies and Gentlemen: > > Where should I drop a copy of the JDBC Driver .jar file that I need to > connec

RE: MySQL JAR File Location

2002-12-06 Thread Noel J. Bergman
> Where should I drop a copy of the JDBC Driver .jar file See: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-how to.html#Database%20Connection%20Pool%20(DBCP)%20Configurations --- Noel -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For a

RE: JAR file symlink weirdness

2003-08-26 Thread Shapira, Yoav
Howdy, >So there's some weirdness in the load-and-deploy-jar-files-for-webapp >stuff, >and it's related to symlinks. I'll try to produce a more complete >characterisation of the bug and file a bug report, but in the mean time if >you're struggling with wierdnes

RE: Problem Loading Jar File

2003-09-09 Thread Shapira, Yoav
AM >To: [EMAIL PROTECTED] >Subject: Problem Loading Jar File > >Hi >I have placed my jar file in Myappl/WEB-INF/lib. > >It picks up class files that are in the root of the >jar file but any class files accessed from within in >directory structure are not picked up. > >S

Custom realm jar file location

2003-10-13 Thread Sasha Borodin
I've written a custom Realm implementation, JAR'ed it up, and have been trying to understand it's proper habitat: 1. If I put it $CATALINA_HOME/server/lib - everything works 2. If I put it $CATALINA_HOME/common/lib - I get an exception: java.lang.NoClassDefFoundError: org/apache/catalina

Re: Installing a jar-file

2003-10-20 Thread Bill Barker
ebApplication in a *.jar file to deploy it to another Webserver. Where do I have to put the jar-file on the webserver ad what do I have to configure on Tomcat to let it use the jar-file? Mit freundlichen Grüßen/ Best Regards Anja Mentges _ BBS LOG-Q

unknown jar file in Tomcat

2004-02-26 Thread Mark J. Miller
to my current Tomcat webapps folder and modify it's install.bat file to point to the correct folders. But, in the jakarta/server/lib folder are two additional files called tools.1.3.1.jar and tools.1.4.1.jar. The install.bat file for this webapp creates a global variable pointing to the t

Re: finding context's jar file

2005-04-15 Thread "Altuğ B. Altıntaş"
I found the answer String classpath = (String) request.getSession() .getServletContext().getAttribute( "org.apache.catalina.jsp_classpath"); Regards. AltuÄ B. AltÄntaÅ wrote: I need to find which jar files are being used in one context, for example

javaURLContextFactory class or jar file

2005-02-08 Thread Dave Bender
Where can I find the org.apache.naming.java.javaURLContextFactory class file or jar file that contains it? I'm trying to set up a simple JUnit test case JDNI fixture to create the JDNI context for my test cases. But I can't find where the class file sits. Does anybody have any idea

Re: Where to place JAR file???

2002-09-07 Thread Ben Walding
;In order to run the applet I however must place the applet.jar and >library.jar in the eBMF directory and use the following parameter on the > tag . > >I would for obvious reasons like to keep all my jars in eBMF/WEB-INF/lib, >for one to avoid having multiple copies of the same jar file und

FW: Where to place JAR file???

2002-09-08 Thread Michael Petres
OK... That part I already got working... The applet/servlet will load fine if I have a set of JARs in WEB-INF/lib and eBMF (for the applet). This setup will result in VerifyErrors for classes in library.jar. Since both the applet and servlet use these classes I have this JAR file in the two

executing servlet in a jar file

2002-01-17 Thread Cressatti, Dominique
Hi, am trying to execute a servlet within a jar file. I gathered so far that I had to copy the jar file in ./WEB-INF/lib As an alternative I've extracted the content of that jar file an put the classes under ./WEB-INF/classes. The problem is that the servlet I want to execute is buried w

RE: Custom realm jar file location

2003-10-13 Thread Aleksandr Shneyderman
st > Subject: Custom realm jar file location > > > I've written a custom Realm implementation, JAR'ed it up, and have been > trying to understand it's proper habitat: > > 1. If I put it $CATALINA_HOME/server/lib - everything works > 2. If I pu

Re: Custom realm jar file location

2003-10-13 Thread Tim Funk
You need to put your custom realm in server/lib. That is because the common classloader cannot see the server classloader and your Realm extends a class in the server classloader. -Tim Sasha Borodin wrote: I've written a custom Realm implementation, JAR'ed it up, and have been trying to underst

RE: unknown jar file in Tomcat

2004-02-26 Thread Shapira, Yoav
DK version numbers. If you have a JDK (as opposed to a JRE), you don't need this file at all. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Mark J. Miller [mailto:[EMAIL PROTECTED] >Sent: Thursday, February 26, 2004 12:05 PM >To: [EMAIL PROTECTED] &g

RE: unknown jar file in Tomcat

2004-02-27 Thread Mark J. Miller
At 6:49 PM + 2/26/04, [EMAIL PROTECTED] wrote: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Subject: RE: unknown jar file in Tomcat Date: Thu, 26 Feb 2004 12:12:49 -0500 Message-ID: <[EMAIL PROTECTED]> From: "Shapira, Yoav" <[EMAIL PROTE

unknown jar file in Tomcat, redux

2004-03-04 Thread Mark J. Miller
files to my current Tomcat webapps folder and modify it's install.bat file to point to the correct folders. But, in the jakarta/server/lib folder are two additional files called tools.1.3.1.jar and tools.1.4.1.jar. The install.bat file for this webapp creates a global variable pointing to

symbolic link with a jar file

2004-03-31 Thread Christophe LECONTE
I want to authorize Tomcat to use symbolic link with a jar file. I'm trying to use this following instruction in the server.xml file : But in fact it doesn't work. When I look the log files I don't see any error but. I use Tomcat4.1.30, JSDK1.4.2 and Solaris Have you al

license-key for one jar-file

2004-09-16 Thread Thomas Kübler
hallo, i have one jar file in the web-inf/lib which needs a license-file to work. the license-file must in the same directory, told me the developer. so i put the license-file in the same directory, but it seems, that the library can't find the key. where i have to put the license-file? a

RE: javaURLContextFactory class or jar file

2005-02-08 Thread Caldarale, Charles R
> From: Dave Bender [mailto:[EMAIL PROTECTED] > Subject: javaURLContextFactory class or jar file > > Where can I find the > org.apache.naming.java.javaURLContextFactory class file > or jar file that contains it? It's in common/lib/naming-java.jar, at least in

opening JAR file from within Tomcat App

2002-07-29 Thread Chris Ruegger
I need to open a JAR file from within my Tomcat app and read some of the files. Question: What's the best way to get the absolute path Name of the Jar file so that I can pass that name to a JarFile object? I tried placing the JAR file in the WEB-INF\lib directory thinking its full path

Jar file needed to compile Taglib Handler

2002-03-18 Thread Isak Rickyanto
Hello all please help me... OK... I try to compile Java program to make simple custom tag I found error when compile it... I think because it doesn't found the jar file needed to compile.. I found that the jar file needed to compile in Tomcat 3 is servlet.jar but I use Tomcat 4.0.

RE: executing servlet in a jar file

2002-01-17 Thread Walter De Wit
, Dominique [mailto:[EMAIL PROTECTED]] Sent: donderdag 17 januari 2002 11:06 To: Tomcat Users List Subject: executing servlet in a jar file Hi, am trying to execute a servlet within a jar file. I gathered so far that I had to copy the jar file in ./WEB-INF/lib As an alternative I've extracte

RE: executing servlet in a jar file

2002-01-17 Thread Cressatti, Dominique
ng servlet in a jar file I think you forgot the web.xml file which contains the mapping between the URL and the servlet class file. In web.xml which must be situated in WEB-INF directory, for each servlet there must be a servlet-mapping entry: MyServlet subdirectory1.subdirectory2.subdirectory

RE: executing servlet in a jar file

2002-01-17 Thread Walter De Wit
errors you got ? -Original Message- From: Cressatti, Dominique [mailto:[EMAIL PROTECTED]] Sent: donderdag 17 januari 2002 16:17 To: Tomcat Users List Subject: RE: executing servlet in a jar file Walter, I had look around and tried what you suggested, added all the classes under /director

RE: executing servlet in a jar file

2002-01-17 Thread Cressatti, Dominique
ng servlet in a jar file After I send you the mail I found something else: The directory CATALINA_HOME/conf contains also a web.xml file ! This file is loaded first for every web application before the web.xml file of the web application itself is loaded. This file contains some default settings

RE: executing servlet in a jar file

2002-01-17 Thread Walter De Wit
s the servlet package may contain only one level !?! btw, I can't help you with virtual hosts :-( -Original Message- From: Cressatti, Dominique [mailto:[EMAIL PROTECTED]] Sent: donderdag 17 januari 2002 16:43 To: Tomcat Users List Subject: RE: executing servlet in a jar file W

Throwing jar file through servlet..CODEBASE problem

2003-02-03 Thread paridhi bansal
Hi!! I have a servlet throwing a jar file with a main applet..I have my directory test within webapps directory..I have kept my servlet in /test/WEB-INF/ classes/ directory.. Where should i keep my applet and jar file so that they can be accessed ..I am using tag for throwing jar

WebappClassLoader won't load resource from jar file ?!?

2003-11-18 Thread Steph Richardson
) I always get null returned, even though that resource does exist inside a jar file in the web app's WEB-INF/lib directory. If I extract that resource to the classes directory, so I now have WEB-INF/classes/meta-inf/com/kvasar/data.xml, then I get it fine using the exact same path and ClassLo

RE: unknown jar file in Tomcat, redux

2004-03-04 Thread Shapira, Yoav
Hi, Sigh ;) >Yoav Shapira felt that the webapp distributor might be " trying to >get around tomcat's JDK requirement by including the JDK's tools.jar >file with his/her webapp distribution. If my guess is right, the >1.3.1 and 1.4.1 version numbers correspond to JDK version numbers." >(At the ti

problem : symbolic link with a jar file

2004-03-25 Thread Christophe LECONTE
Hi, I want to do a symbolic link with my file.jar, but I don't understand why I fail. I followed this instruction :http://jakarta.apache.org/tomcat/faq/misc.html#symlink , but I have this error : 2004-03-24 18:27:26 ContextConfig[/voicexmlpageserver] Exception processing JAR at resource path /WE

Re: license-key for one jar-file

2004-09-16 Thread John Villar
t least on the 5.0.x branch) that directory is used John Villar Gerente de Proyectos Computadores Flor Hard Soft 2058 C.A. www.florhard.com Thomas Kübler escribió: hallo, i have one jar file in the web-inf/lib which needs a license-file to work. the license-file must in the same directory, t

JSP compile error using bean jar file

2000-11-02 Thread Dan Lovell
Handler.java, Compiled Code) at org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java, Compiled Code) at java.lang.Thread.run(Thread.java, Compiled Code) I have a JAR file in the WEB-INF\lib directory that contains my beans. Is there anything else I am missing. I tried to put the JAR file

Where is Jakarta's common email jar file

2005-04-22 Thread Lorenzo Jiménez
Hi, Do anyone knows where to download latest Jakarta's commons email jar. I tried in Jakarta commons website, but I cannot find it. Thanks, Lorenzo - Si usted no es el destinatario indicado en este mensaje o responsable como

Where to place a common jar file?

2005-09-19 Thread David Thielen
Hi; If I have a jar file used by multiple servlets, should I put it in ${catalina}/common/lib or in ${catalina}/webapps/${each_app}/WEB-INF/lib? I ask because I have seen various warnings that most jar files need to be placed in each webapp and not in common (like struts). ??? - thanks

RE: opening JAR file from within Tomcat App

2002-07-29 Thread Shapira, Yoav
Hi, It's somewhat unusual to read a JAR file (containing only compiled .class files?) at runtime. Are you doing some sort of fancy reflection work? Anyways, to your question. Do you need the file to be on the classpath, i.e. its classes visible to the classloader? Or do you only ne

Re: opening JAR file from within Tomcat App

2002-07-29 Thread Chris Ruegger
Thanks for the info. Actually I'm putting some XML configuration files into a JAR file. They don't need to be in the classpath per se. I just need a portable way to get to them. -Chris - Original Message - From: "Shapira, Yoav" <[EMAIL PROTECTED]> To: &

Re: opening JAR file from within Tomcat App

2002-07-29 Thread Craig R. McClanahan
On Mon, 29 Jul 2002, Chris Ruegger wrote: > Date: Mon, 29 Jul 2002 13:30:09 -0400 > From: Chris Ruegger <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: Re: opening JAR file from wit

Deploying a soap server in a jar file

2002-08-11 Thread Anibal Jodorcovsky
Hi all, I'm very new to this tomcat/soap stuff so be gentle :-) We've been using Apache/Jserv for a long while and have a lot of servlets working in that environment. We are now migrating to Apache 2 and Tomcat 4. We got everything installed and we even got our old servlets working in the new en

Loading Properties from class within a jar file

2001-04-17 Thread Mark
I am trying to load a properties file from a class that is in a jar file that is in the $TOMCAT_HOME/lib directory. The properties file itself is not in the jar. It is in $TOMCAT_HOME/properties, which is in tomcat's classpath because I added it in the startup script (I verified that

What jar file needed to compile Taglib Handler?

2002-03-19 Thread Isak Rickyanto
Hello all please help me... OK... I try to compile Java program to make simple custom tag I found error when compile it... I think because it doesn't found the jar file needed to compile.. I found that the jar file needed to compile in Tomcat 3 is servlet.jar but I use Tomcat 4.0.

trying to use jar file in jsp page.

2002-12-09 Thread Brian O. Bozarth
Still stuck on this.I also re-jar-ed the file so that com was the first directory in the jar file.The java files are in the tools folder. Any insights? I put the jar file in the /tomcat/webapps/ROOT/WEB-INF/lib folder, which is where I am doing my app. I am trying to use this in my

RE: Throwing jar file through servlet..CODEBASE problem

2003-02-04 Thread Tim Moore
> -Original Message- > From: paridhi bansal [mailto:[EMAIL PROTECTED]] > Sent: Monday, February 03, 2003 10:56 PM > To: [EMAIL PROTECTED] > Subject: Throwing jar file through servlet..CODEBASE problem > > > Hi!! > I have a servlet throwing a jar file w

Evaluation of the Manifest of a jar file

2003-09-12 Thread Krause Karin
Hello, I read this article about the evaluation of the CLASSPATH attribute set in the manifest in a jar file. This CLASSPATH attribute refers to other jar files. see: http://marc.theaimsgroup.com/?l=tomcat-user&m=105360018918350&w=2 I don't understand if the Tomcat class loaders (e.

RE: WebappClassLoader won't load resource from jar file ?!?

2003-11-18 Thread Jay Garala
Put the JARs in the WEB-INF/lib dir! -Original Message- From: Steph Richardson [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 18, 2003 11:34 AM To: Tomcat Users List Subject: WebappClassLoader won't load resource from jar file ?!? I have a web app containing resource fil

RE: WebappClassLoader won't load resource from jar file ?!?

2003-11-18 Thread Shapira, Yoav
pira Millennium ChemInformatics >-Original Message- >From: Jay Garala [mailto:[EMAIL PROTECTED] >Sent: Tuesday, November 18, 2003 11:40 AM >To: 'Tomcat Users List' >Subject: RE: WebappClassLoader won't load resource from jar file ?!? > >Put the JA

RE: JSP compile error using bean jar file

2000-11-02 Thread Ranko Bijelonic
its jsp:useBean with a capital B -Original Message- From: Dan Lovell [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 02, 2000 11:37 AM To: [EMAIL PROTECTED] Subject: JSP compile error using bean jar file I am using Tomcat 3.1 on Win NT. When I try and bring up my JSP page I

Re: Where is Jakarta's common email jar file

2005-04-22 Thread David Smith
Cool. I didn't even know Commons had an email project. --David Patrick Thomas wrote: Lorenzo, I don't know about a jar file, but you can look at the CVS repository for the java files. (Look in src/java/ for the package root) They're packaged, so you could make the jar yourself easi

Re: Where is Jakarta's common email jar file

2005-04-22 Thread David Smith
You sure you don't really want JavaMail from Sun? http://java.sun.com/products/javamail/index.jsp You'll also need Java Activation Framework. --David Lorenzo Jiménez wrote: Hi, Do anyone knows where to download latest Jakarta's commons email jar. I tried in Jakarta commons website, but I cannot fi

RE: Where is Jakarta's common email jar file

2005-04-22 Thread Lorenzo Jiménez
Thanks for the replys. Commons email is an api that extends javamail. Lorenzo -Original Message- From: David Smith [mailto:[EMAIL PROTECTED] Sent: Viernes, 22 de Abril de 2005 12:40 p.m. To: Tomcat Users List Subject: Re: Where is Jakarta's common email jar file You sure you

Re: Where is Jakarta's common email jar file

2005-04-22 Thread Patrick Thomas
Lorenzo, I don't know about a jar file, but you can look at the CVS repository for the java files. (Look in src/java/ for the package root) They're packaged, so you could make the jar yourself easily enough. (jar -cvf ) http://cvs.apache.org/viewcvs/jakarta-commons/email/ (linked

Re: Funny JAR file, WAS: Class.forName() gives NoClassDefFoundError

2005-06-08 Thread Torsten Römer
Just want to follow up on this. Originally, the classes under /WEB-INF/classes were in a JAR file, which I put in /WEB-INF/lib, but like this I always got NoClassDefFoundError. So I thought there may be something wrong with the JAR file. I then zipped the classes manually and replaced the

Re: Funny JAR file, WAS: Class.forName() gives NoClassDefFoundError

2005-06-08 Thread Jason Bainbridge
On 6/8/05, Torsten Römer <[EMAIL PROTECTED]> wrote: > Just want to follow up on this. > > Originally, the classes under /WEB-INF/classes were in a JAR file, which > I put in /WEB-INF/lib, but like this I always got NoClassDefFoundError. > > So I thought there may be some

Re: Funny JAR file, WAS: Class.forName() gives NoClassDefFoundError

2005-06-08 Thread Torsten Römer
Jason Bainbridge schrieb: On 6/8/05, Torsten Römer <[EMAIL PROTECTED]> wrote: Just want to follow up on this. Originally, the classes under /WEB-INF/classes were in a JAR file, which I put in /WEB-INF/lib, but like this I always got NoClassDefFoundError. So I thought there may be som

Re: Where to place a common jar file?

2005-09-19 Thread David Smith
gt; > >If I have a jar file used by multiple servlets, should I put it in >${catalina}/common/lib or in ${catalina}/webapps/${each_app}/WEB-INF/lib? > > > >I ask because I have seen various warnings that most jar files need to be >placed in each webapp and not in common

Re: Where to place a common jar file?

2005-09-19 Thread Mark Eggers
--David > > > David Thielen wrote: > > >Hi; > > > > > > > >If I have a jar file used by multiple servlets, > should I put it in > >${catalina}/common/lib or in > ${catalina}/webapps/${each_app}/WEB-INF/lib? _

RE: Where to place a common jar file?

2005-09-19 Thread David Thielen
2005 4:19 PM To: Tomcat Users List Subject: Re: Where to place a common jar file? >From the Tomcat documetation: http://localhost:8080/tomcat-docs/class-loader-howto.html * For classes and resources specific to a particular web application, place unpacked classes and resources under /WEB-IN

RE: Where to place a common jar file?

2005-09-19 Thread Mark Eggers
I think so. If you use global naming resources and a resource link (accessing your jdbc database via jndi), then you might only need to place the jdbc drivers in server/lib. Reading some other online documentation, this appears to be the preferred method. /mde/ --- David Thielen <[EMAIL PROTECT

my own servlet in jar File and in startup

2002-10-07 Thread CouasPhilippe
Hi, I search how configure web.xml for Loading Servlet at startup And my classes are in one Jar File. Thanks Philippe -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Re[2]: opening JAR file from within Tomcat App

2002-07-29 Thread Jacob Kjome
or on its own in a normal app. Either way, there is no need to have direct access to a specific .jar file unless you want to modify the files at runtime and store them back into the .jar file. However, I would not recommend this anyway since the changes can get thrown away just by deleting the w

Re: Loading Properties from class within a jar file

2001-04-17 Thread Pascal Avrilla
ties file from a > class that is in a jar file that is in the $TOMCAT_HOME/lib directory. > > The properties file itself is not in the jar. It is > in $TOMCAT_HOME/properties, which is > in tomcat's classpath because I added it in > the startup script (I verified that it is list

Re: trying to use jar file in jsp page.

2002-12-09 Thread David Brown
Brian O. Bozarth writes: Still stuck on this.I also re-jar-ed the file so that com was the first directory in the jar file.The java files are in the tools folder. Any insights? I put the jar file in the /tomcat/webapps/ROOT/WEB-INF/lib folder, which is where I am doing my app. I

RE: trying to use jar file in jsp page.

2002-12-09 Thread Turner, John
John > -Original Message- > From: Brian O. Bozarth [mailto:[EMAIL PROTECTED]] > Sent: Monday, December 09, 2002 1:38 PM > To: [EMAIL PROTECTED] > Subject: trying to use jar file in jsp page. > > > > Still stuck on this.I also re-jar-ed the file so that com &g

RE: trying to use jar file in jsp page.

2002-12-09 Thread Brian O. Bozarth
ilto:[EMAIL PROTECTED]] Sent: Monday, December 09, 2002 1:46 PM To: 'Tomcat Users List' Subject: RE: trying to use jar file in jsp page. Do you have the source code to this library? It may be that the classes are not in a package. If a package hasn't been defined like this: pack

RE: trying to use jar file in jsp page.

2002-12-09 Thread Hamilton, Andrew
: trying to use jar file in jsp page. I looked at all of the java files in the jar, it has the package declaration at the top: package com.equifax.rcas.tools; I put the java files into the WEB-INF/classes directory. Then referenced them this way. <% com.equifax.rcas.tools.B2BHtmlUI myObj

RE: trying to use jar file in jsp page.

2002-12-09 Thread Turner, John
ss. - if you have a JAR file, and the contents of the JAR file are .class files, then you can put the JAR file under WEB-INF/lib. Is this equifax library publicly available? On a website somewhere? Or is it a special library only for certain people? If it's only available to certain people

RE: trying to use jar file in jsp page.

2002-12-09 Thread Johnson, Garrett
JAR files do not go in the /WEB-INF/classes directory. They go in the /WEB-INF/lib directory. -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Monday, December 09, 2002 2:45 PM To: 'Tomcat Users List' Subject: RE: trying to use jar file in jsp page. Sor

RE: trying to use jar file in jsp page.

2002-12-09 Thread Turner, John
I know. John > -Original Message- > From: Johnson, Garrett [mailto:[EMAIL PROTECTED]] > Sent: Monday, December 09, 2002 2:51 PM > To: 'Tomcat Users List' > Subject: RE: trying to use jar file in jsp page. > > > JAR files do not go in the /WEB-INF/

Classes in JAR File found, but unpacked Classes not found

2002-06-03 Thread Funk, Martin
.jdbc.driver.OracleDriver at org.apache.catalina.realm.JDBCRealm.start(JDBCRealm.java:615) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1108) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:343) . If I wrap the packages up in

Classes in JAR File found, but unpacked Classes not found

2002-06-05 Thread Funk, Martin
he.catalina.core.StandardEngine.start(StandardEngine.java:343) > . > > If I wrap the packages up in a jar file and place ist like: > $CATALINA_HOME$\common\lib\classes12.jar > then Tomcat finds it. > > I always thought that the "classes" dirs were for the

Dynamically add jar file to classpath while tomcat is running

2002-07-11 Thread KAKARONTZAS GEORGE
get a HTTP 500 error on the pcs that want to execute the code. I'm not getting this if I copy the app files (contained in a jar) in the WEB-INF/lib before starting tomcat. So I concluded that the reason for the error is that this jar file is not in the classpath of the web application class loade

Problem with third party JAR file in WEB-INF/lib

2002-04-18 Thread Tony McGee
t 4.0.3 is running standalone on our system. The jar file has classes to do xml messaging across a network and therefore has XML parsing classes in it. Whenever I put the jar file in the WEB-INF/lib directory I get a NoClassDefFoundError on one of the custom classes (not an xml parsing class), ye

trying to use jar file in jsp page (part 2)

2002-12-09 Thread Brian O. Bozarth
okay compiled the java files on my PC to make class files... rejarred them up into a new jar file, then uploaded to this directory (/tomcat/webapps/root/web-inf/lib) then using this reference in my jsp file. <%@ page import= "java.util.*, javax.naming.*, com.equifax.rcas.tools.*

Re: Dynamically add jar file to classpath while tomcat is running

2002-07-11 Thread Will Hartung
NF/lib before starting tomcat. > So I concluded that the reason for the error is that this jar file is > not in the classpath of the web application class loader. > First I want to ask if you agree with that. > Second, if you do is there a way to add a jar file in the web > applicatio

Re: Dynamically add jar file to classpath while tomcat is running

2002-07-11 Thread Craig R. McClanahan
See intermixed. On Thu, 11 Jul 2002, Will Hartung wrote: > Date: Thu, 11 Jul 2002 13:52:50 -0700 > From: Will Hartung <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: Re: Dynamicall

loading a resourcebundle from a jar file in /web-inf/lib

2001-04-10 Thread Carbone
Hi, I'm running tomcat standalone. I have made an application who call a method in a jar file located in the /WEB-INF/lib directory. This jar make a call to java.util.ResourceBundle.getBundle("resources.errors", java.util.Locale.getDefault()) , but i have a MissingResourceExcepti

Please help me found Jar file needed to compile Tag Handler

2002-03-21 Thread Isak Rickyanto
Hello all please help me... OK... I try to compile Java program to make simple custom tag I found error when compile it... I think because it doesn't found the jar file needed to compile.. I found that the jar file needed to compile in Tomcat 3 is servlet.jar but I use Tomcat 4.0.

Re: Problem with third party JAR file in WEB-INF/lib

2002-04-18 Thread Jacob Kjome
ad of Tomcat's common/lib >directory? I can't find anything in the documentation about Tomcat 4.0.3 is >running standalone on our system. > >The jar file has classes to do xml messaging across a network and therefore >has XML parsing classes in it. Whenever I put the jar fil

Re: Problem with third party JAR file in WEB-INF/lib

2002-04-18 Thread Tony McGee
Thanks, as long as it works in TOMCAT_HOME/common/lib then I'm happy to leave it there. - Original Message - From: "Jacob Kjome" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Friday, April 19, 2002 1:06 PM Subject: Re: Problem

RE: trying to use jar file in jsp page (part 2)

2002-12-09 Thread Turner, John
t: trying to use jar file in jsp page (part 2) > > > > okay compiled the java files on my PC to make class files... > rejarred them up into a new jar file, then uploaded to this > directory (/tomcat/webapps/root/web-inf/lib) > > then using this reference in m

  1   2   >