uot;path", I get "Must specify 'path' attribute"
"#" works when dropping war manually (cp) into webapps.
Gernot
-Ursprüngliche Nachricht-
Von: Parsons Technical Services [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 23. Mai 2005 13:55
An: Tomcat Users L
Not having done this myself, try with no path attribute and a war file named
a#b.war I think that was the recommendation from prior posts that worked.
Doug
- Original Message -
From: "Pfingstl Gernot" <[EMAIL PROTECTED]>
To:
Sent: Monday, May 23, 2005 5:22 AM
Subj
How can I deploy a webapp with the tomcat deploy-ant-task to a context path
e.g. /a/b?
I do not have a problem to deploy a app to e.g. /a but a context path with
subpaths does make problems.
I tried various versions ('path="/a/b"' or 'path="/a#b"') in combination with
varoius war names.
I also
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 followi
Hi,
>You are right. I copied config from my Tomcat 4.1 server.xml. After I
>changed autoDeploy to false, my deployment no longer throws exception.
Good. Copying config files across major server versions is a risk, but
I assume you mitigated it and I'm glad it works now.
>quick question regardi
guys changing the deployment structure?
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: October 15, 2004 4:12 PM
To: Tomcat Users List
Subject: RE: Tomcat 5.0.28 + Ant deploy/undeploy task
Hi,
>I suspect that Tomcat Manager is deploying the same applicat
Hi,
>I suspect that Tomcat Manager is deploying the same application twice,
one
>for context.xml, one for war.
>
>In host, I set autoDeploy, deployXML and unpackWar to true.
>
>Any suggestion?
You covered it above. With autoDeploy and the rest set to true, it'll
try to deploy twice, and that's
application twice, one
for context.xml, one for war.
In host, I set autoDeploy, deployXML and unpackWar to true.
Any suggestion?
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: October 15, 2004 3:49 PM
To: Tomcat Users List
Subject: RE: Tomcat 5.0.28 + Ant deploy
Hi,
Looks like you already have an app deployed at the "" context path.
Yoav Shapira http://www.yoavshapira.com
>-Original Message-
>From: Phillip Qin [mailto:[EMAIL PROTECTED]
>Sent: Friday, October 15, 2004 3:46 PM
>To: '[EMAIL PROTECTED]'
>
I am testing Tomcat 5.0.28 on Windows 2000 Pro. I use catalina-ant deploy
task to deploy my webapp war. Where did this exception come from? My web
application runs fine.
<>
15-Oct-2004 3:25:48 PM org.apache.catalina.startup.HostConfig deployWARs
WARNING: Exception while expanding web appli
n I do a build, I see that the META-INF directory and the context.xml
file gets copied the build directory. But when I do an ant deploy, it does
create an xml file in the Catalina conf directory (name of the file when
copied is the name of the web app, not context.xml). However, the contents
of the th
oblem with 1 is that the change is written to
conf/Catalina/localhost/template.xml, and doesn't survive 'ant remove'/'ant
deploy'. I could leave it 'just so', but that adds a manual step to
deployment on different servers that defeats the purpose of ant autom
0 to 80. I copy
my extra jars (JsqlConnect, mail.jar, JSTL jars, and JCIFS) into common/lib.
Start it, runs fine, including management and admin apps.
I build my template app following the developers guide: ant, cvs, directory
structure. Put index.jsp and Hello.java in, 'ant deploy', b
Thank you! It works!
- Original Message -
From: "Phillip Qin" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Sent: Saturday, November 08, 2003 12:01 AM
Subject: RE: ant deploy
> Win32 requires an extra /, so your wa
ssage -
From: "Phillip Qin" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Sent: Friday, November 07, 2003 10:36 PM
Subject: RE: ant deploy
> Can you show us your build.xml? Mine is
>
> http://remotehost/manage
ssage -
From: "Phillip Qin" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Sent: Friday, November 07, 2003 10:36 PM
Subject: RE: ant deploy
> Can you show us your build.xml? Mine is
>
> http://remotehost/manager"; username=
ar.file}
win32 host: file:/${war.dir}/${war.file}
-Original Message-
From: Steven Woody [mailto:[EMAIL PROTECTED]
Sent: November 6, 2003 8:39 PM
To: Tomcat Users List
Subject: Re: ant deploy
I heard the 'install' task can only communicate to local server :-( but I
want to deploy to a rem
I heard the 'install' task can only communicate to local server :-( but I want to
deploy to a remove tomcat.
- Original Message -
From: "Shapira, Yoav" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Thursday, Novembe
vember 06, 2003 12:47 AM
>To: [EMAIL PROTECTED]
>Subject: ant deploy
>
>Hi,
>
>I wanna use ant deploy task to deploy a war onto Tomcat, but always got
a
>UnknownHostName exception. What's wrong here? Did anyone used the
> task with sucessful?
>
>
>Regards.
&g
Hi,
I wanna use ant deploy task to deploy a war onto Tomcat, but always got a
UnknownHostName exception. What's wrong here? Did anyone used the task with
sucessful?
Regards.
--
Steven Woody
Hi there,
1.) My server.xml looks a bit unstructured after doing an ant deploy with
the manager app.
==> Is it possible to tell the ant deploy task not to change server.xml
itself, but only the /webapps/myapp.xml file belonging to the context
(myapp)?
2.) Is it possible to turn the automa
>> http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/sample/build.xml
>No, that's a sample build file - I'm after something like Javadoc.
Me, too... or something like the ant user manual. The sample build.xml
above does not speak to the 'start' and 'stop' tasks, for instance. I don't
know
* Raible, Matt <[EMAIL PROTECTED]> [0248 17:48]:
>
> >
> > for the tasks defined in catalina-ant.jar. Does anyone know
> > where they are?
> >
>
> http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/sample/build.xml
No, that's a sample build file - I'm after something like Javadoc.
--
Ras
>
> for the tasks defined in catalina-ant.jar. Does anyone know
> where they are?
>
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/sample/build.xml
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
* Paul Yunusov <[EMAIL PROTECTED]> [0223 16:23]:
> On Thursday 20 February 2003 06:43 am, Rasputin wrote:
> > * John Ruffin <[EMAIL PROTECTED]> [0205 18:05]:
> > > I asked this same question last week - with no response.
> > > What I did was tell TC to not auto-expand and get everything from the w
On Thursday 20 February 2003 06:43 am, Rasputin wrote:
> * John Ruffin <[EMAIL PROTECTED]> [0205 18:05]:
> > I asked this same question last week - with no response.
> >
> > What I did was tell TC to not auto-expand and get everything from the war
> > file itself. Ant will copy the war file to cat
* John Ruffin <[EMAIL PROTECTED]> [0205 18:05]:
> I asked this same question last week - with no response.
>
> What I did was tell TC to not auto-expand and get everything from the war
> file itself. Ant will copy the war file to catalina_home/webapps. Then I
> use Manager to stop and start th
ntly
> requires another .jar file, and I'm having no luck finding that with
> Google. It isn't, as far as I can tell, a core ant task:
>
> W:\java\bendev>ant deploy
> Buildfile: build.xml
> deploy:
> BUILD FAILED
> file:W:/java/bendev/build.xml:136: Could not cr
My apologies, I do see responses to the thread (Best practices - dev &
deploy?). I now know to follow your thread for longer than a few hours :-).
-Original Message-
From: John Ruffin
Sent: Wednesday, February 19, 2003 12:05 PM
To: 'Tomcat Users List'
Subject: RE: ant de
"Best Practices" from the seasoned folks on the list is greatly
appreciated.
-Original Message-
From: Wendy Smoak [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 19, 2003 11:55 AM
To: 'Tomcat Users List'
Subject: ant deploy task?
What's the least amount of
PM
To: 'Tomcat Users List'
Subject: ant deploy task?
What's the least amount of work I can do to deploy a new version of my
webapp? I've been cheating and developing directly under the webapps
directory. Now I've moved to a separate directory structure and am building
a .
and restart the webapp
using the manager webapp or the ant task. You won't have to remove any
directories.
Yoav Shapira
Millennium ChemInformatics
>-Original Message-
>From: Wendy Smoak [mailto:[EMAIL PROTECTED]]
>Sent: Wednesday, February 19, 2003 12:55 PM
>To: 'To
t, as far as I can tell, a core ant task:
W:\java\bendev>ant deploy
Buildfile: build.xml
deploy:
BUILD FAILED
file:W:/java/bendev/build.xml:136: Could not create task or type of type:
deploy.
Ant could not find the task or a class this task relies upon.
http://my.development.box"; p
I figured out the problem and it is a bug in Tomcat-4.1.19. Actually, it
is more of an oversight. The servlet-mapping "/deploy" wasn't specified in
the manager's web.xml. See details about it here.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16243
Hopefully, this can be fixed by the n
I have always used the "install" task, so I haven't run into this issue
until now. I have a .war file which I want to deploy to Tomcat. The path
is correct because I've tried the same file:/// URL to do an "install" from
the manager web GUI and that was successful. I also use the same path,
;
I'm using Ant 1.5.1 and Tomcat 4.1.12
Clues ?
Cheers,
-- jon
Check out the Barracuda project to see this stuff integrated pretty
transparently into the build.
http://barracuda.enhydra.org/software/cvs/cvsweb.cgi/Projects/EnhydraOrg/toolsTech/Barracuda/src/
Jake
At 05:06 PM
/EnhydraOrg/toolsTech/Barracuda/src/
Jake
At 05:06 PM 10/29/2002 +1100, you wrote:
Hi all,
The Tomcat Ant deploy task can take a WAR file to be installed which
is just great, but I want to be able to configure the as
part of the deployment.
Does the deploy task have the capability of taking an optio
Hi all,
The Tomcat Ant deploy task can take a WAR file to be installed which
is just great, but I want to be able to configure the as
part of the deployment.
Does the deploy task have the capability of taking an optional
config="foo.xml" in the same way as the install task ?
Cheer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Greetings,
I would like to use a database connection in my web application. Since is
not possible to define in web.xml and I'm using the ant
deploy task on development, I'm forced to stop tomcat and add a
resourcelink in my web c
39 matches
Mail list logo