Tomcat -Ant Deploy task not found problem

2005-05-17 Thread Robert Sinner
I am trying to install tomcat on red hat enterprise server 8 with ant and apache. However when trying to run ant (to compile a simple servlet I get the following error). …/build.xml:146: taskdef class org.apache.catalina.ant.DeployTask cannot be found Using the simple build file I get the

Tomcat Ant Tasks

2004-10-18 Thread Gregg Bolinger
I am trying to use Tomcat Ant tasks to deploy my application while testing. The only part I am having a problem with is trying to deploy the context config file. Below is my task target name=deploy-local depends=war deploy url=${tomcat.local.url} username

RE: Tomcat Ant Tasks

2004-10-18 Thread Phillip Qin
:/your/path/to/war. Context will always be dropped off conf/${engine}/${host} as ${your.context}.xml -Original Message- From: Gregg Bolinger [mailto:[EMAIL PROTECTED] Sent: October 18, 2004 11:26 AM To: [EMAIL PROTECTED] Subject: Tomcat Ant Tasks I am trying to use Tomcat Ant tasks

RE: Tomcat Ant Tasks

2004-10-18 Thread Gregg Bolinger
the WAR file. I am only having a problem getting my custom context config to get deployed as well. -Original Message- From: Phillip Qin [mailto:[EMAIL PROTECTED] Sent: Monday, October 18, 2004 11:08 AM To: 'Tomcat Users List' Subject: RE: Tomcat Ant Tasks This is my ant task deploy

RE: Tomcat Ant Tasks

2004-10-18 Thread Phillip Qin
Pack your context into war, as META-INF/context.xml using ant jar command. -Original Message- From: Gregg Bolinger [mailto:[EMAIL PROTECTED] Sent: October 18, 2004 12:14 PM To: 'Tomcat Users List' Subject: RE: Tomcat Ant Tasks Then I am confused. I have a config that contains my

RE: Tomcat Ant Tasks

2004-10-18 Thread Gregg Bolinger
PERFET! Thanks. Now, is that in the docs anywhere? If it's not, it should be. -Original Message- From: Phillip Qin [mailto:[EMAIL PROTECTED] Sent: Monday, October 18, 2004 11:16 AM To: 'Tomcat Users List' Subject: RE: Tomcat Ant Tasks Pack your context into war, as META-INF

RE: Tomcat Ant Tasks

2004-10-18 Thread Phillip Qin
I think it is part of sub's jar spec. -Original Message- From: Gregg Bolinger [mailto:[EMAIL PROTECTED] Sent: October 18, 2004 12:29 PM To: 'Tomcat Users List' Subject: RE: Tomcat Ant Tasks PERFET! Thanks. Now, is that in the docs anywhere? If it's not, it should be. -Original

RE: Tomcat Ant Tasks

2004-10-18 Thread Phillip Qin
Or documented in tomcat doc? Sorry, I forgot. -Original Message- From: Phillip Qin [mailto:[EMAIL PROTECTED] Sent: October 18, 2004 12:31 PM To: 'Tomcat Users List' Subject: RE: Tomcat Ant Tasks I think it is part of sub's jar spec. -Original Message- From: Gregg Bolinger

RE: Tomcat Ant Tasks

2004-10-18 Thread Shapira, Yoav
Ant Tasks Or documented in tomcat doc? Sorry, I forgot. -Original Message- From: Phillip Qin [mailto:[EMAIL PROTECTED] Sent: October 18, 2004 12:31 PM To: 'Tomcat Users List' Subject: RE: Tomcat Ant Tasks I think it is part of sub's jar spec. -Original Message- From: Gregg

RE: Tomcat Ant Tasks

2004-10-18 Thread Gregg Bolinger
Do you have a specific link? What is our docs? -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Monday, October 18, 2004 11:33 AM To: Tomcat Users List Subject: RE: Tomcat Ant Tasks Hi, It's not part of the JAR or WAR specs, it's a tomcat-specific feature

RE: Tomcat Ant Tasks

2004-10-18 Thread Shapira, Yoav
ownership by the Tomcat team. As opposed to the many external docs that exist for Tomcat, some of which also covering this topic. Yoav -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Monday, October 18, 2004 11:33 AM To: Tomcat Users List Subject: RE: Tomcat Ant Tasks

RE: Tomcat Ant Tasks

2004-10-18 Thread Phillip Qin
Don't know if context.xml page is broken, however, there are 2 attributes that do not have name (between swallowOutput and useNaming). -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: October 18, 2004 12:58 PM To: Tomcat Users List Subject: RE: Tomcat Ant Tasks

RE: Tomcat Ant Tasks

2004-10-18 Thread Shapira, Yoav
Hi, Don't know if context.xml page is broken, however, there are 2 attributes that do not have name (between swallowOutput and useNaming). Oops ;) I've just fixed it in CVS, it'll show up in the next release. They're the two tldValidation options, not frequently used, and for those who care

Re: Tomcat/Ant/JNDI question

2003-06-17 Thread Tim Shaw
This works for me ... web.xml : resource-ref description Resource reference to a factory for java.sql.Connection instances that may be used for talking to a particular database that is configured in the server.xml file. /description

Re: Tomcat/Ant/JNDI question

2003-06-17 Thread Garrett Dangerfield
I tried this and it's not giving me the not found in Context message, but it's now trying to pass me a null connection. I think the problem is that it doesn't know where to get the connection from. With the ResourceLink in the server.xml Context, one specifies the name one wants to use

Re: Tomcat/Ant/JNDI question

2003-06-17 Thread Tim Shaw
The Resource is specified, in the server.xml, with a name. This is the JNDI name and is used to refer to the resource from wherever you like. The setup of the resource is done by the ResourceParams (I hope you didn't copy my example verbatim ;-) The web.xml is just abstracting that reference

Tomcat/Ant/JNDI question

2003-06-17 Thread Garrett Dangerfield
I have defined a GlobalNamingResource for a database connection and that works great if I put a ResourceEnvRef in the Context in the server.xml. However, I have a problem. If I deploy my app using ant and it's deply task, it removes the ResourceEnvRef portion of my Context. I see two possible

RE: Tomcat/Ant/JNDI question

2003-06-17 Thread Shapira, Yoav
Howdy, - put the equivalent of ResourceEnvRef into the web.xml inside the web app See the env-entry element in the Servlet Specification, v2.3, SRC.13.1. Yoav Shapira This e-mail, including any attachments, is a confidential business communication, and may contain information that is

Re: Tomcat/Ant/JNDI question

2003-06-17 Thread Garrett Dangerfield
I tried this and it's not working. It's saying: Name jdbc not found in this context In my web.xml, I put in: env-entry env-entry-namejdbc/DataWarehouse/env-entry-name env-entry-valuejdbc/DataWarehouse/env-entry-value env-entry-typejavax.sql.DataSource/env-entry-type /env-entry In my

tomcat ant tasks (docs?)

2003-02-20 Thread Wendy Smoak
On advice given here, I've got tomcat configured to _not_ unpack my .war file. Then my ant 'deploy' target [not task] simply copies the .war file over to /path/to/tomcat/webapps. Now I'm trying to use the tomcat ant tasks to automate things, and I'm running into problems. First, I can't reload

RE: tomcat ant tasks (docs?)

2003-02-20 Thread Wendy Smoak
I wrote: Then, the install task doesn't seem to work with a .war file. It installed my .war file under the /webapps/bendev directory instead of under /webapps where it belongs. I guess it's supposed to work with a set of loose files? Oops... I'm sure you know this, but it didn't move the

Re: tomcat ant tasks (docs?)

2003-02-20 Thread Erik Price
Wendy Smoak wrote: Now I'm trying to use the tomcat ant tasks to automate things, and I'm running into problems. First, I can't reload this app with the ant task. It says: w:\java\bendevant reload Buildfile: build.xml reload: BUILD FAILED file:w:/java/bendev/build.xml:159

Re: tomcat ant tasks (docs?)

2003-02-20 Thread Paul Yunusov
On Thursday 20 February 2003 12:51 pm, Wendy Smoak wrote: On advice given here, I've got tomcat configured to _not_ unpack my .war file. Then my ant 'deploy' target [not task] simply copies the .war file over to /path/to/tomcat/webapps. Wendy, why are you dealing with war files during

RE: tomcat ant tasks (docs?)

2003-02-20 Thread Wendy Smoak
Wendy, why are you dealing with war files during development at all? Ant does a great job installing and reloading from docBases at arbitrariry locations on the filesystem. At the moment, I don't have my development files arranged in a webapp structure (with WEB-INF, etc.). I was developing

RE: tomcat ant tasks (docs?)

2003-02-20 Thread Wendy Smoak
Erik wrote: Does your ant task provide the HTTP authentication credentials? According to the example build.xml comments, you need to set a manager.username and manager.password property for the ant script to access the /manager app with. It's taken almost straight from the example: target

Re: tomcat ant tasks (docs?)

2003-02-20 Thread Erik Price
Wendy Smoak wrote: It's taken almost straight from the example: target name=reload description=Reload Web application depends= reload url=${manager.url} username=${manager.username} password=${manager.password} path=/${context}/ /target (With the appropriate properties set, of

Re: tomcat ant tasks (docs?)

2003-02-20 Thread Rasputin
* Paul Yunusov [EMAIL PROTECTED] [0245 19:45]: On Thursday 20 February 2003 12:51 pm, Wendy Smoak wrote: On advice given here, I've got tomcat configured to _not_ unpack my .war file. Then my ant 'deploy' target [not task] simply copies the .war file over to /path/to/tomcat/webapps.

RE: tomcat ant tasks (docs?)

2003-02-20 Thread Wendy Smoak
Erik wrote: Hmm... not to be contradictory but those two URLs are not the same, if you look closely. (One is manager/html/reload, the other is manager/reload.) But I do not know much about the /manager app, so this might not be the source of your problems. One is what you use when

Re: Tomcat Ant custom taks

2002-12-31 Thread Gerard Janssen
Thanks, the tomcat docs are a good reference. That was what I was looking for, don't understand why I didn't find them. Anyway, the references to the books will probably also help. I was actually reading the Tools for XP book and that's wat actually set in me in this direction in the first

Re: Tomcat Ant custom taks

2002-12-30 Thread Jerry Ford
I believe there is an O'Reilly book on using Ant. Gee Jee wrote: Hi, I've been sort of using the Tomcat library for Ant custom tasks. I got some of it to work by using the information on the Tomcat website. However, I did not find a consise overview of this library. Is this available

Re: Tomcat Ant custom taks

2002-12-30 Thread Mark
Not sure if this is what you're looking for, but you can go here: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/catalina/docs/api/index.html and click on the org.apache.catalina.ant package link. BTW, a good Ant book is Java Development withAnt. Mark At 12/30/2002 01:59 PM, you wrote: I

Re: Tomcat Ant custom taks

2002-12-30 Thread Paul Campbell
Some other books Java Tools for ExtermeProgramming also handles EE and Junit etc I think the Java Development with Ant is way far better than O'reilly book. The project documentation is actually pretty good too. At 05:18 PM 12/30/2002 -0500, you wrote: Not sure if this is what you're looking

Tomcat Ant custom taks

2002-12-29 Thread Gee Jee
Hi, I've been sort of using the Tomcat library for Ant custom tasks. I got some of it to work by using the information on the Tomcat website. However, I did not find a consise overview of this library. Is this available somewhere? It seems very useful as a part of my build scripts. Gerard

Built Tomcat, Ant doen't see existing files

2002-10-26 Thread Marcel Bariou
Platform : linux 2.4.7.10 RH 7.2 Tomcat 4.1.12 J2SDK 1.4.1 Ant 1.5.1 Some lights please, I'm trying to built a TOMCAT source, I've downloaded all the needed and some extra files I think . I make a check with ANT detect, it seems correct except for this path : build.sysclasspath

TOMCAT +ANT

2002-08-21 Thread Alvaro Mota
Hi I need this file: catalina-ant.jar. Where find it? In documentation tomcat, * Download the binary distribution of Ant from http://jakarta.apache.org/ant http://jakarta.apache.org/ant/. You must use version *1.4* or later. * Install the Ant distribution in a convenient

RE: TOMCAT +ANT

2002-08-21 Thread Shapira, Yoav
: Wednesday, August 21, 2002 3:56 PM To: Tomcat Users List Subject: TOMCAT +ANT Hi I need this file: catalina-ant.jar. Where find it? In documentation tomcat, * Download the binary distribution of Ant from http://jakarta.apache.org/ant http://jakarta.apache.org/ant/. You must use

Re: TOMCAT +ANT

2002-08-21 Thread Rick Fincher
The file is in CATALINA_HOME/server/lib/catalina-ant.jar, but only on Tomcat 4.1.X. Rick - Original Message - Hi I need this file: catalina-ant.jar. Where find it? In documentation tomcat, * Download the binary distribution of Ant from http://jakarta.apache.org/ant

Re: TOMCAT +ANT

2002-08-21 Thread Craig R. McClanahan
On Wed, 21 Aug 2002, Alvaro Mota wrote: Date: Wed, 21 Aug 2002 16:55:51 -0300 From: Alvaro Mota [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: TOMCAT +ANT Hi I need this file: catalina-ant.jar. Where find it? It's

Tomcat + Ant: precompiling servlets making a WAR file

2001-06-19 Thread Michael 'Mickey' Sattler
Attached is the Ant build.xml file (very lightly edited from the default version). I have been reading posts in both the Tomcat-user and Ant-user lists, but I still don't feel that I understand what I need to do in order to test the most simple case of (1) using jspc to precompile servlets

RE: Tomcat Ant and JDK

2001-03-20 Thread Varela Santoalla, Daniel
Alberto Cirez [SMTP:[EMAIL PROTECTED]] Enviado el: martes 20 de marzo de 2001 16:56 Para: [EMAIL PROTECTED] Asunto: Tomcat Ant and JDK Importancia: Alta Hello there to all. I have recently complied Tomcat, Ant, and JDK and all went well. I did this on a P200 running slackware 7.0

Tomcat Ant and JDK

2001-03-20 Thread Juan Alberto Cirez
Hello there to all. I have recently complied Tomcat, Ant, and JDK and all went well. I did this on a P200 running slackware 7.0 Kernel 2.2.13. While building ant I rant into a little problem concerning libX11.so.6. Instead of installing all the X11 libs I just copied this file from another system

Tomcat Ant and JDK

2001-03-18 Thread Juan Alberto Cirez
Hello there to all. I have recently complied Tomcat, Ant, and JDK and all went well. I did this on a P200 running slackware 7.0 Kernel 2.2.13. While building ant I rant into a little problem concerning libX11.so.6. Instead of installing all the X11 libs I just copied this file from another system