This is my ant task
deploy
url=${dev.manager}
username=${username}
password=${password}
path=${context.path}
war=${war.url}
update=true/
No need to define config. On *nix box, war.url is file:/your/path/to/war, on
win32 box, war.url is
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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:
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
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
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
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
* 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.
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
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
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
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
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
Hi,
Download any of the tomcat 4.1.x distributions and catalina-jar is in
there. You should be using tomcat 4.x with these ant tasks, as they're
not designed for tomcat 3.x.
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Alvaro Mota [mailto:[EMAIL PROTECTED]]
Sent:
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
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 in
You should use the a libX11 from the same distribution in which you
are installing JDK. There can be glibc version differences between versions
of the same distribution. Just copy from Slackware 7.1 XFree-libs package,
instead of 7.0.
HTH
-Mensaje original-
De: Juan
32 matches
Mail list logo