AW: 5.5.9 - ant deploy

2005-05-23 Thread Pfingstl Gernot
Thanks, but it doesn't work:
Using a#b.war and path="/a/b" causes java.io.FileNotFoundException: 
webapps/a/b.war
Using a#b.war and path="/a#b" I get Deployed application at context path /a#b 
but app does not use context.xml (no jndi resources were found)
Using without "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 List
Betreff: Re: 5.5.9 - ant deploy


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
Subject: 5.5.9 - ant deploy


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 have a /MEATA-INF/context.xml (without a "path" attribute).

Gernot


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: 5.5.9 - ant deploy

2005-05-23 Thread Parsons Technical Services
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
Subject: 5.5.9 - ant deploy


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 have a /MEATA-INF/context.xml (without a "path" attribute).

Gernot


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



5.5.9 - ant deploy

2005-05-23 Thread Pfingstl Gernot
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 have a /MEATA-INF/context.xml (without a "path" attribute).

Gernot


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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 following error trying to run the ant.
I have searched everything I could find on google, and almost certain it’s a
classpath issue, however I have tried to alter the classpath in several ways
to make what I think are the appropriate jars visible and I am at a loss.

I have installed the following

On red hat enterprise 8 , Apache/2.0.46 – already in place

Jdk1.5.0-03 tar, Tomcat 5.5.9 tar, mod_jk 1.2.10 – built .so and placed
under apache shared objects

Also installed ant version 1.6.3

CATALINA_HOME=/usr/local/jakarta-tomcat
ANT_HOME=/usr/local/apache-ant-1.6.3
JAVA_HOME=/usr/java/jdk1.5.0_03"

I have already copied the catalina-ant jar from $CATALINA_HOME/server/lib to
$ANT_HOME/lib, I also tried copying the caalina-deployer.jar from the tomcat
deployer into the same location.

If I comment out the taskdefs in the build.xml I can get ant to build the
war for a simple servlet application

Here are the lines that are causing failure in to build.xml







If I comment them out then I can run ant. However in order to allow them to
be there so I can deploy via ant I have tried several things,

1. placing the catalina-ant.jar in the
classpath environment variable.

2.I added a classpath element to each of these
tasks, like


 
 
 
 


3. However the error persists, as I mentioned I googled this and found that
I
should just copy the Catalina-ant.jar and Catalina-deployer.jar to apache
ant
lib directory however this is not solving my problem.

Thanks in advance for any help, RS



RE: Tomcat 5.0.28 + Ant deploy/undeploy task

2004-10-18 Thread Shapira, Yoav

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 regarding Tomcat Manager application, I noticed that in
>Tomcat 4, war is deployed to work dir while in Tomcat 5 war is in
webapps,
>are you guys changing the deployment structure?

I'd say changed instead of changing, because we're talking about
something that's more than a year and/or 10 releases (at least) old now
;)  You will notice the bundled apps that come with the server (admin,
manager, balancer, depending on your Tomcat release) are in the same
server directory, not under the normal webapps one.  We'd like to
reserve that one for users, to alleviate confusion, present a cleaner
workspace for users.

Yoav



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat 5.0.28 + Ant deploy/undeploy task

2004-10-15 Thread Phillip Qin
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. One
quick question regarding Tomcat Manager application, I noticed that in
Tomcat 4, war is deployed to work dir while in Tomcat 5 war is in webapps,
are you 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 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 why you're getting the "path already used"
error.  Turn off autoDeploy.

Yoav



This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential, proprietary
and/or privileged.  This e-mail is intended only for the individual(s) to
whom it is addressed, and may not be saved, copied, printed, disclosed or
used by anyone else.  If you are not the(an) intended recipient, please
immediately delete this e-mail from your computer system and notify the
sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


!DSPAM:41702f5699081735215778!


RE: Tomcat 5.0.28 + Ant deploy/undeploy task

2004-10-15 Thread Shapira, Yoav

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 why you're getting the "path already
used" error.  Turn off autoDeploy.

Yoav



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat 5.0.28 + Ant deploy/undeploy task

2004-10-15 Thread Phillip Qin
Noop. Before I run deploy task through ant, I checked several directories.

conf/Catalina/investments.localhost: no ROOT.xml
webapps/www.investments.shareowner.com: no ROOT.war nor ROOT/
work/Catalina/www.investments.shareowner.com: no _/

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?



-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/undeploy task



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]'
>Subject: Tomcat 5.0.28 + Ant deploy/undeploy task
>
>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 application archive ROOT.war 
>15-Oct-2004 3:25:49 PM org.apache.catalina.core.StandardHostDeployer
>install
>INFO: Processing Context configuration file URL file:/C:/Program 
>Files/Apache Software Foundation/Tomcat 
>5.0/conf/Catalina/investments.localhost/ROOT.xml
>15-Oct-2004 3:25:49 PM org.apache.catalina.core.StandardHostDeployer
>install
>INFO: Installing web application from URL jar:file:/C:/Program
Files/Apache
>Software Foundation/Tomcat 
>5.0/webapps/www.investments.shareowner.com/ROOT.war!/
>initializing http://www.investments.shareowner.com...
>initialized http://www.investments.shareowner.com
>15-Oct-2004 3:26:14 PM org.apache.catalina.core.StandardHostDeployer
>install
>INFO: Processing Context configuration file URL file:C:\Program 
>Files\Apache Software Foundation\Tomcat
5.0\conf\Catalina\investments.localhost\ROOT.xml
>15-Oct-2004 3:26:14 PM org.apache.commons.digester.Digester endElement
>SEVERE: End event threw exception 
>java.lang.reflect.InvocationTargetException
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at 
>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja
va:3
>9
>)
>   at 
>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso
rImp
>l
>.java:25)
>   at java.lang.reflect.Method.invoke(Method.java:324)
>   at
>org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:
216)
>   at
org.apache.commons.digester.SetNextRule.end(SetNextRule.java:256)
>   at org.apache.commons.digester.Rule.end(Rule.java:276)
>   at
>org.apache.commons.digester.Digester.endElement(Digester.java:1058)
>   at 
>org.apache.catalina.util.CatalinaDigester.endElement(CatalinaDigester.j
ava:
>7
>6)
>   at
org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown
>Source)
>   at 
>org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Un
know
>n
>Source)
>   at 
>org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDi
spat
>c
>her.dispatch(Unknown Source)
>   at 
>org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unkn
own
>Source)
>   at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
>Source)
>   at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
>Source)
>   at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
>   at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
Source)
>   at
org.apache.commons.digester.Digester.parse(Digester.java:1567)
>   at 
>org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeplo
yer.
>j
>ava:488)
>   at
>org.apache.catalina.core.StandardHost.install(StandardHost.java:863)
>   at 
>org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.jav
a:48
>3
>)
>   at
>org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:427)
>   at
>org.apache.catalina.startup.HostConfig.check(HostConfig.java:1083)
>   at 
>org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:3
27)
>   at 
>org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleS
uppo
>r
>t.java:119)
>   at 
>org.apache.catalina.core.StandardHost.backgroundProcess(StandardHost.ja
va:8
>0
>0)
>   at 
>org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.pro
cess
>C
>hildren(ContainerBase.java:1619)
>   at 
>org.apache.catalina.core.Containe

RE: Tomcat 5.0.28 + Ant deploy/undeploy task

2004-10-15 Thread Shapira, Yoav

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]'
>Subject: Tomcat 5.0.28 + Ant deploy/undeploy task
>
>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 application archive ROOT.war
>15-Oct-2004 3:25:49 PM org.apache.catalina.core.StandardHostDeployer
>install
>INFO: Processing Context configuration file URL file:/C:/Program
>Files/Apache Software Foundation/Tomcat
>5.0/conf/Catalina/investments.localhost/ROOT.xml
>15-Oct-2004 3:25:49 PM org.apache.catalina.core.StandardHostDeployer
>install
>INFO: Installing web application from URL jar:file:/C:/Program
Files/Apache
>Software Foundation/Tomcat
>5.0/webapps/www.investments.shareowner.com/ROOT.war!/
>initializing http://www.investments.shareowner.com...
>initialized http://www.investments.shareowner.com
>15-Oct-2004 3:26:14 PM org.apache.catalina.core.StandardHostDeployer
>install
>INFO: Processing Context configuration file URL file:C:\Program
>Files\Apache
>Software Foundation\Tomcat
5.0\conf\Catalina\investments.localhost\ROOT.xml
>15-Oct-2004 3:26:14 PM org.apache.commons.digester.Digester endElement
>SEVERE: End event threw exception
>java.lang.reflect.InvocationTargetException
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at
>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja
va:3
>9
>)
>   at
>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso
rImp
>l
>.java:25)
>   at java.lang.reflect.Method.invoke(Method.java:324)
>   at
>org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:
216)
>   at
org.apache.commons.digester.SetNextRule.end(SetNextRule.java:256)
>   at org.apache.commons.digester.Rule.end(Rule.java:276)
>   at
>org.apache.commons.digester.Digester.endElement(Digester.java:1058)
>   at
>org.apache.catalina.util.CatalinaDigester.endElement(CatalinaDigester.j
ava:
>7
>6)
>   at
org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown
>Source)
>   at
>org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Un
know
>n
>Source)
>   at
>org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDi
spat
>c
>her.dispatch(Unknown Source)
>   at
>org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unkn
own
>Source)
>   at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
>Source)
>   at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
>Source)
>   at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
>   at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
Source)
>   at
org.apache.commons.digester.Digester.parse(Digester.java:1567)
>   at
>org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeplo
yer.
>j
>ava:488)
>   at
>org.apache.catalina.core.StandardHost.install(StandardHost.java:863)
>   at
>org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.jav
a:48
>3
>)
>   at
>org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:427)
>   at
>org.apache.catalina.startup.HostConfig.check(HostConfig.java:1083)
>   at
>org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:3
27)
>   at
>org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleS
uppo
>r
>t.java:119)
>   at
>org.apache.catalina.core.StandardHost.backgroundProcess(StandardHost.ja
va:8
>0
>0)
>   at
>org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.pro
cess
>C
>hildren(ContainerBase.java:1619)
>   at
>org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.pro
cess
>C
>hildren(ContainerBase.java:1628)
>   at
>org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run
(Con
>t
>ainerBase.java:1608)
>   at java.lang.Thread.run(Thread.java:534)
>Caused by: java.lang.IllegalStateException: Context path  is already in
use
>   at
>org.apache.catalina.core.StandardHostDeployer.addChild(StandardHostDepl
oyer
>.
>java:896)
>   ... 30 more
>15-Oct-2004 3:26:14 PM org.apache.catalina.startup.HostConfig
>deployDescriptors
>SEVERE: Error deploying configuration descriptor RO

Tomcat 5.0.28 + Ant deploy/undeploy task

2004-10-15 Thread Phillip Qin
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 application archive ROOT.war
15-Oct-2004 3:25:49 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Processing Context configuration file URL file:/C:/Program
Files/Apache Software Foundation/Tomcat
5.0/conf/Catalina/investments.localhost/ROOT.xml
15-Oct-2004 3:25:49 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Installing web application from URL jar:file:/C:/Program Files/Apache
Software Foundation/Tomcat
5.0/webapps/www.investments.shareowner.com/ROOT.war!/
initializing http://www.investments.shareowner.com...
initialized http://www.investments.shareowner.com
15-Oct-2004 3:26:14 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Processing Context configuration file URL file:C:\Program Files\Apache
Software Foundation\Tomcat 5.0\conf\Catalina\investments.localhost\ROOT.xml
15-Oct-2004 3:26:14 PM org.apache.commons.digester.Digester endElement
SEVERE: End event threw exception
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:216)
at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:256)
at org.apache.commons.digester.Rule.end(Rule.java:276)
at
org.apache.commons.digester.Digester.endElement(Digester.java:1058)
at
org.apache.catalina.util.CatalinaDigester.endElement(CatalinaDigester.java:7
6)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatc
her.dispatch(Unknown Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.commons.digester.Digester.parse(Digester.java:1567)
at
org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.j
ava:488)
at
org.apache.catalina.core.StandardHost.install(StandardHost.java:863)
at
org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:483
)
at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:427)
at
org.apache.catalina.startup.HostConfig.check(HostConfig.java:1083)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:327)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
t.java:119)
at
org.apache.catalina.core.StandardHost.backgroundProcess(StandardHost.java:80
0)
at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processC
hildren(ContainerBase.java:1619)
at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processC
hildren(ContainerBase.java:1628)
at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(Cont
ainerBase.java:1608)
at java.lang.Thread.run(Thread.java:534)
Caused by: java.lang.IllegalStateException: Context path  is already in use
at
org.apache.catalina.core.StandardHostDeployer.addChild(StandardHostDeployer.
java:896)
... 30 more
15-Oct-2004 3:26:14 PM org.apache.catalina.startup.HostConfig
deployDescriptors
SEVERE: Error deploying configuration descriptor ROOT.xml
java.io.IOException: java.lang.IllegalStateException: Context path  is
already in use
at
org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.j
ava:494)
at
org.apache.catalina.core.StandardHost.install(StandardHost.java:863)
at
org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:483
)
at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:427)
at
org.apache.catalina.startup.HostConfig.check(HostConfig.java:1083)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:327)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
t.java:119)
at
org.apache.catalina.core.StandardHost.backgroundProcess(StandardHost.java:80
0)

Ant deploy and context.xml

2004-05-13 Thread Rich Garabedian
I'm trying to use the ant autodeploy feature with a context.xml fragment in
the MET-INF directory. Mailing lists and all the documentation I've read
show this to be a no-brainer. I'm sure I'm being ignorant of something
incredibly obvious, but I just can't see it.

 

I'm using the basic build.xml  file from the Tomcat site.

I'm using Tomcat version 5.0.16

 

In the source directory I have

 

Build

Dist

Docs

Src

Web

 

Under web I have

 

META-INF

Templates

WEB-INF

 

In META-INF I have a context.xml fragment (contents included below).

 

When 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 this file do not contain the specific configuration information I put
in context.xml.

 

 In summary, it does not appear as though the deploy task is using my
context.xml file when it does the install/deploy.

 

Ideas?

 

Many thanks in advance ..

 



RE: A tangled knot: db, resources, Context, ant deploy, and Tomca t 5. 0.16-19 (further info)

2004-02-25 Thread Justin Johnson
I've got database access working in two more ways, though the original
problem remains.

1) Adding a  to /template via the admin app.
2) Adding a  tag to conf/server.xml, with the
s inside.
(I tried 3) adding the  to the "/" context, but it wasn't
visible in /template).

The problem 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 automation.

The problem with 2 is that the  shows up in the admin app
under Service (Catalina), but clicking on it returns an error page.  The db
access continues to work, but server.xml can no longer be maintained through
the admin app.

So, the solution to this problem looks like one of two things:  either
knowing where to put the  fragment in my project so that it
survives deployment; or correctly adding a  to  or
 in server.xml that doesn't break the admin app.

An interesting point about the second option:  There's no way to add
 to server.xml through the admin app that I can find--the
actions available under Server (Catalina) don't include it.

-Original Message-
From: Justin Johnson [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, February 25, 2004 3:18 PM
To: 'Tomcat Users List'
Subject: A tangled knot: db, resources, Context, ant deploy, and Tomcat 5.
0.16-19


It starts with this error message:  "Cannot create JDBC driver of class ''
for connect URL 'null', cause: No suitable driver".

I have Tomcat 5.0.19 installed on Windows XP Professional--a default install
from the binary, changing only one thing, the port from 8080 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', both work
correctly at "/template".

Need database access.  Go to admin app, add global datasources that put the
following into conf/server.xml (stuff in [] is hidden stuff):



  
maxWait
5000
  
  
maxActive
4
  
  
password
[password]
  
  
url
jdbc:JSQLConnect://[server].[domain].com/
  
  
driverClassName
com.jnetdirect.jsql.JSQLDriver
  
  
maxIdle
2
  
  
username
[username]
  


In my web.xml I have, first thing under :


jdbc/[server]
javax.sql.DataSource
Container


I add the following to index.jsp:

<%
Context ctx = new InitialContext( ) ;
DataSource ds = (DataSource) ctx.lookup(
"java:comp/env/jdbc/[server]" ) ;
Connection con = ds.getConnection( ) ;
Statement st = con.createStatement( ) ;
ResultSet rs = st.executeQuery( "SELECT 1 + 1 [Sum]" ) ;

if( rs.next( ) )
out.println( rs.getString( "Sum" ) + "" ) ;

rs.close( ) ;
st.close( ) ;
con.close( ) ;
%>

And get the error mentioned above: "Cannot create JDBC driver of class ''
for connect URL 'null', cause: No suitable driver".

I change index.jsp to:

<%
Class.forName( "com.jnetdirect.jsql.JSQLDriver" ).newInstance(); 
Connection con = 
DriverManager.getConnection(
"jdbc:JSQLConnect://[server].[domain].com/", 
"[username]", 
  "[password]" ) ;
Statement st = con.createStatement( ) ;
ResultSet rs = st.executeQuery( "SELECT 1 + 1 [Sum]" ) ;

if( rs.next( ) )
out.println( rs.getString( "Sum" ) + "" ) ;

rs.close( ) ;
st.close( ) ;
con.close( ) ;
%>

And it works fine, including retrieving a recordset by query.

So I find template.xml in conf/Catalina/localhost and paste the 
and  tags into it inside the  tag, and go back to
the first version of my database access code in index.jsp, 'ant reload'.
Works fine.  I'd like to use ResourceLink instead, but it's working.

The problem is that when I undeploy and redeploy /template,
/conf/Catalina/localhost/template.xml is overwritten with a fresh copy that
contains an empty  tag except for path and docBase attributes (the
ant deploy task specifies a localwar, which simply adds the path to my
working copy/build to docBase).  Reading the configuration guidelines for
contexts at
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/context.html, I think
I should put the context xml fragment

A tangled knot: db, resources, Context, ant deploy, and Tomcat 5. 0.16-19

2004-02-25 Thread Justin Johnson
It starts with this error message:  "Cannot create JDBC driver of class ''
for connect URL 'null', cause: No suitable driver".

I have Tomcat 5.0.19 installed on Windows XP Professional--a default install
from the binary, changing only one thing, the port from 8080 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', both work
correctly at "/template".

Need database access.  Go to admin app, add global datasources that put the
following into conf/server.xml (stuff in [] is hidden stuff):



  
maxWait
5000
  
  
maxActive
4
  
  
password
[password]
  
  
url
jdbc:JSQLConnect://[server].[domain].com/
  
  
driverClassName
com.jnetdirect.jsql.JSQLDriver
  
  
maxIdle
2
  
  
username
[username]
  


In my web.xml I have, first thing under :


jdbc/[server]
javax.sql.DataSource
Container


I add the following to index.jsp:

<%
Context ctx = new InitialContext( ) ;
DataSource ds = (DataSource) ctx.lookup(
"java:comp/env/jdbc/[server]" ) ;
Connection con = ds.getConnection( ) ;
Statement st = con.createStatement( ) ;
ResultSet rs = st.executeQuery( "SELECT 1 + 1 [Sum]" ) ;

if( rs.next( ) )
out.println( rs.getString( "Sum" ) + "" ) ;

rs.close( ) ;
st.close( ) ;
con.close( ) ;
%>

And get the error mentioned above: "Cannot create JDBC driver of class ''
for connect URL 'null', cause: No suitable driver".

I change index.jsp to:

<%
Class.forName( "com.jnetdirect.jsql.JSQLDriver" ).newInstance(); 
Connection con = 
DriverManager.getConnection(
"jdbc:JSQLConnect://[server].[domain].com/", 
"[username]", 
  "[password]" ) ;
Statement st = con.createStatement( ) ;
ResultSet rs = st.executeQuery( "SELECT 1 + 1 [Sum]" ) ;

if( rs.next( ) )
out.println( rs.getString( "Sum" ) + "" ) ;

rs.close( ) ;
st.close( ) ;
con.close( ) ;
%>

And it works fine, including retrieving a recordset by query.

So I find template.xml in conf/Catalina/localhost and paste the 
and  tags into it inside the  tag, and go back to
the first version of my database access code in index.jsp, 'ant reload'.
Works fine.  I'd like to use ResourceLink instead, but it's working.

The problem is that when I undeploy and redeploy /template,
/conf/Catalina/localhost/template.xml is overwritten with a fresh copy that
contains an empty  tag except for path and docBase attributes (the
ant deploy task specifies a localwar, which simply adds the path to my
working copy/build to docBase).  Reading the configuration guidelines for
contexts at
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/context.html, I think
I should put the context xml fragment into a file context.xml in META-INF.
But when I do so, I still get the empty, auto-generated  in
template.xml in conf/Catalina/localhost.  When I change the deploy task in
build.xml to copy a war to [tomcat]/webapps, I get no template.xml file, and
no database access, as if my context.xml file is not being picked up.  All
this time, normal jsp stuff like 
continues to function correctly, and I'm having no problems deploying,
undeploying, or reloading.

So, the problem as it seems to me is one or both of the following: 1) I
don't know where to put my  fragment for it be picked up by ant
deploy/Tomcat, which seems to be ignoring it and using a default generated
; 2) I'm missing something in web.xml or my deploy configuration in
build.xml that will prefer my  fragment.

Ideally, the datasources should be available server wide.  Where then would
I put the  tags so that all applications can get at them?

Anyone who can help me out here will be greatly appreciated.

Justin

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: ant deploy

2003-11-08 Thread Steven Woody
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 war should be
> file:///${dist.home}/${app.name}-${app.version}.war or
> file:/${dist.home}/${app.name}-${app.version}.war
> 
> -Original Message-
> From: Steven Woody [mailto:[EMAIL PROTECTED] 
> Sent: November 7, 2003 10:51 AM
> To: Tomcat Users List
> Subject: Re: ant deploy
> 
>  username="${manager.username}"
> password="${manager.password}"
> path="${app.path}"
> war="file://${dist.home}/${app.name}-${app.version}.war"/>
> 
> When the configuration run on a Linux host, it can deploy onto the local
> Linux server and remove W2K server.
> 
> When the same configuration run on a W2K host, it can *NOT* deploy onto
> either local Tomcat server nor the remove Linux server!
> 
> What's the problem?
> 
> - Original Message ----- 
> 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="${username}"
> > password="${password}" path="/${your.app.name}" war="${war.url}"/>
> > 
> > username: manager
> > your.app.name: context name
> > linux host: file:${war.dir}/${war.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 remove tomcat.
> > 
> > 
> > - Original Message - 
> > From: "Shapira, Yoav" <[EMAIL PROTECTED]>
> > To: "Tomcat Users List" <[EMAIL PROTECTED]>
> > Sent: Thursday, November 06, 2003 9:52 PM
> > Subject: RE: ant deploy
> > 
> > 
> > 
> > Howdy,
> > You want to use the install task instead of deploy most likely.
> > Needless to say, the host name should be a valid one that you can
> > ping/lookup ;)
> > 
> > Yoav Shapira
> > Millennium ChemInformatics
> > 
> > 
> > >-Original Message-
> > >From: Steven Woody [mailto:[EMAIL PROTECTED]
> > >Sent: Thursday, November 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.
> > >
> > >--
> > >Steven Woody
> > 
> > 
> > 
> > This e-mail, including any attachments, is a confidential business
> > communication, and may contain information that is confidential,
> proprietary
> > and/or privileged.  This e-mail is intended only for the individual(s) to
> > whom it is addressed, and may not be saved, copied, printed, disclosed or
> > used by anyone else.  If you are not the(an) intended recipient, please
> > immediately delete this e-mail from your computer system and notify the
> > sender.  Thank you.
> > 
> > 
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> > 
> 

RE: ant deploy

2003-11-07 Thread Phillip Qin
Win32 requires an extra /, so your war should be
file:///${dist.home}/${app.name}-${app.version}.war or
file:/${dist.home}/${app.name}-${app.version}.war

-Original Message-
From: Steven Woody [mailto:[EMAIL PROTECTED] 
Sent: November 7, 2003 10:51 AM
To: Tomcat Users List
Subject: Re: ant deploy



When the configuration run on a Linux host, it can deploy onto the local
Linux server and remove W2K server.

When the same configuration run on a W2K host, it can *NOT* deploy onto
either local Tomcat server nor the remove Linux server!

What's the problem?

- Original Message - 
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="${username}"
> password="${password}" path="/${your.app.name}" war="${war.url}"/>
> 
> username: manager
> your.app.name: context name
> linux host: file:${war.dir}/${war.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 remove tomcat.
> 
> 
> - Original Message - 
> From: "Shapira, Yoav" <[EMAIL PROTECTED]>
> To: "Tomcat Users List" <[EMAIL PROTECTED]>
> Sent: Thursday, November 06, 2003 9:52 PM
> Subject: RE: ant deploy
> 
> 
> 
> Howdy,
> You want to use the install task instead of deploy most likely.
> Needless to say, the host name should be a valid one that you can
> ping/lookup ;)
> 
> Yoav Shapira
> Millennium ChemInformatics
> 
> 
> >-Original Message-
> >From: Steven Woody [mailto:[EMAIL PROTECTED]
> >Sent: Thursday, November 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.
> >
> >--
> >Steven Woody
> 
> 
> 
> This e-mail, including any attachments, is a confidential business
> communication, and may contain information that is confidential,
proprietary
> and/or privileged.  This e-mail is intended only for the individual(s) to
> whom it is addressed, and may not be saved, copied, printed, disclosed or
> used by anyone else.  If you are not the(an) intended recipient, please
> immediately delete this e-mail from your computer system and notify the
> sender.  Thank you.
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


Re: ant deploy

2003-11-07 Thread Steven Woody


When the configuration run on a Linux host, it can deploy onto the local Linux server 
and remove W2K server.

When the same configuration run on a W2K host, it can *NOT* deploy onto either local 
Tomcat server nor the remove Linux server!

What's the problem?

- Original Message - 
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="${username}"
> password="${password}" path="/${your.app.name}" war="${war.url}"/>
> 
> username: manager
> your.app.name: context name
> linux host: file:${war.dir}/${war.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 remove tomcat.
> 
> 
> - Original Message - 
> From: "Shapira, Yoav" <[EMAIL PROTECTED]>
> To: "Tomcat Users List" <[EMAIL PROTECTED]>
> Sent: Thursday, November 06, 2003 9:52 PM
> Subject: RE: ant deploy
> 
> 
> 
> Howdy,
> You want to use the install task instead of deploy most likely.
> Needless to say, the host name should be a valid one that you can
> ping/lookup ;)
> 
> Yoav Shapira
> Millennium ChemInformatics
> 
> 
> >-Original Message-
> >From: Steven Woody [mailto:[EMAIL PROTECTED]
> >Sent: Thursday, November 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.
> >
> >--
> >Steven Woody
> 
> 
> 
> This e-mail, including any attachments, is a confidential business
> communication, and may contain information that is confidential, proprietary
> and/or privileged.  This e-mail is intended only for the individual(s) to
> whom it is addressed, and may not be saved, copied, printed, disclosed or
> used by anyone else.  If you are not the(an) intended recipient, please
> immediately delete this e-mail from your computer system and notify the
> sender.  Thank you.
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

RE: ant deploy

2003-11-07 Thread Phillip Qin
Can you show us your build.xml? Mine is

http://remotehost/manager"; username="${username}"
password="${password}" path="/${your.app.name}" war="${war.url}"/>

username: manager
your.app.name: context name
linux host: file:${war.dir}/${war.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 remove tomcat.


- Original Message - 
From: "Shapira, Yoav" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Thursday, November 06, 2003 9:52 PM
Subject: RE: ant deploy



Howdy,
You want to use the install task instead of deploy most likely.
Needless to say, the host name should be a valid one that you can
ping/lookup ;)

Yoav Shapira
Millennium ChemInformatics


>-Original Message-
>From: Steven Woody [mailto:[EMAIL PROTECTED]
>Sent: Thursday, November 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.
>
>--
>Steven Woody



This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential, proprietary
and/or privileged.  This e-mail is intended only for the individual(s) to
whom it is addressed, and may not be saved, copied, printed, disclosed or
used by anyone else.  If you are not the(an) intended recipient, please
immediately delete this e-mail from your computer system and notify the
sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: ant deploy

2003-11-06 Thread Steven Woody
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, November 06, 2003 9:52 PM
Subject: RE: ant deploy



Howdy,
You want to use the install task instead of deploy most likely.
Needless to say, the host name should be a valid one that you can
ping/lookup ;)

Yoav Shapira
Millennium ChemInformatics


>-Original Message-
>From: Steven Woody [mailto:[EMAIL PROTECTED]
>Sent: Thursday, November 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.
>
>--
>Steven Woody



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: ant deploy

2003-11-06 Thread Shapira, Yoav

Howdy,
You want to use the install task instead of deploy most likely.
Needless to say, the host name should be a valid one that you can
ping/lookup ;)

Yoav Shapira
Millennium ChemInformatics


>-Original Message-
>From: Steven Woody [mailto:[EMAIL PROTECTED]
>Sent: Thursday, November 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.
>
>--
>Steven Woody



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



ant deploy

2003-11-05 Thread Steven Woody
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

ant deploy - server.xml changes

2003-03-29 Thread johannes . fiala
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 automatic renaming of old versions of 
server.xml off?
Every time I redeploy, an additional file shows up:
/conf/server.xml.2003-03-28.19-41-35

thx
Johannes

RE: ant deploy task?

2003-02-20 Thread Wendy Smoak
>> 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 if I'm not looking in the right place, or if the full documentation for
the catalina-ant tasks just doesn't exist [yet].

-- 
Wendy Smoak
Applications Systems Analyst, Sr.
Arizona State University PA Information Resources Management



Re: ant deploy task?

2003-02-20 Thread Rasputin
* 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.

-- 
Rasputin :: Jack of All Trades - Master of Nuns

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: ant deploy task?

2003-02-20 Thread Raible, Matt

> 
> 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, e-mail: [EMAIL PROTECTED]




Re: ant deploy task?

2003-02-20 Thread Rasputin
* 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 war
> > > file itself.  Ant will copy the war file to catalina_home/webapps.  Then
> > > I use Manager to stop and start the app - restart doesn't work for me.

> > That works a treat - thanks John, Obviously the file being physically
> > in webapps means it survives a reboot without requiring edits to server.xml
> > too.

> > a  task takes care of the WARfile, then a  ant task
> > will drop the context, but I get problems if the remove fails while the
> > file is still there.

> > Does anyone jnow where the documentation for the catalina ant tasks is?
 
> Ant install task doesn't create any war files. It creates a context with the 
> docBase at the same location as your build files. There is no need at all for 
> any war files to use Ant's Catalina tasks. Please read the App Dev Guide at 
> the Tomcat doc site. It is extremely useful.

I think you've misunderstood. Changes by the install task don't survive a
server restart, because they don't seem to edit server.xml.
As I said earlier, I'd prefer this because tomcat is choking
on its own server.xml after editing it. 

In any case, I've got a solution which works - I'm installing by copying
the files to appBase.

I've read the appdev guide - it's useful, but doesn't describe the
attributes of the ant tasks, which is what I need.

To clarify, all I'm looking for is the equivalent of these pages:

http://ant.apache.org/manual/anttaskslist.html

for the tasks defined in catalina-ant.jar. Does anyone know
where they are?


-- 
"I thought you were trying to get into shape."
"I am. The shape I've selected is a triangle."
Rasputin :: Jack of All Trades - Master of Nuns

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: ant deploy task?

2003-02-20 Thread Paul Yunusov
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 catalina_home/webapps.  Then
> > I use Manager to stop and start the app - restart doesn't work for me.
> >
> > Testing "Best Practices" from the seasoned folks on the list is greatly
> > appreciated.
>
> That works a treat - thanks John, Obviously the file being physically
> in webapps means it survives a reboot without requiring edits to server.xml
> too.
>
> I just need to figure out how to remove them now:
>
> a  task takes care of the WARfile, then a  ant task
> will drop the context, but I get problems if the remove fails while the
> file is still there.
>
> Does anyone jnow where the documentation for the catalina ant tasks is?

Ant install task doesn't create any war files. It creates a context with the 
docBase at the same location as your build files. There is no need at all for 
any war files to use Ant's Catalina tasks. Please read the App Dev Guide at 
the Tomcat doc site. It is extremely useful.
Paul

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: ant deploy task?

2003-02-20 Thread Rasputin
* 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 the app - restart doesn't work for me.  
> 
> Testing "Best Practices" from the seasoned folks on the list is greatly
> appreciated.

That works a treat - thanks John, Obviously the file being physically
in webapps means it survives a reboot without requiring edits to server.xml
too. 

I just need to figure out how to remove them now:

a  task takes care of the WARfile, then a  ant task
will drop the context, but I get problems if the remove fails while the
file is still there.

Does anyone jnow where the documentation for the catalina ant tasks is?

-- 
There's no future in time travel.
Rasputin :: Jack of All Trades - Master of Nuns

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: ant deploy task?

2003-02-19 Thread Paul Yunusov
On Wednesday 19 February 2003 12:55 pm, Wendy Smoak wrote:
> 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 .war file which gets copied over to webapps.
>
> Since Tomcat auto-expands the war file, I find I have to delete the
> directory and restart in order to get the new version in place.
>
> I found an ant task named 'deploy' but it doesn't seem to be apparently
> 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 create task or type of type:
> deploy.
> Ant could not find the task or a class this task relies upon.
>
> 
>   http://my.development.box"; path="${context}"
> war="${dist}/${context}.war"
> username="wendy" password="password" />
> 
>
> I'm also not sure how this is going to work... Tomcat is on the same
> machine so right now I'm just copying the war file over.  Would it be
> better to use the 'install' or 'restart' tasks instead?
>
> Thanks,

Wendy,

There is a wonderful document on the Tomcat's website called App Developer 
Guide that shows some best practices for project and build management. Its 
sample application relies on Ant tasks you're interested in and a full 
build.xml is provided. Ant makes building and deploying webapps a breeze, and 
I wish all Tomcat users read that little guide to make their lives easier.

Thanks again to Craig for authoring it.

Paul

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: ant deploy task?

2003-02-19 Thread John Ruffin
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 deploy task?


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 the app - restart doesn't work for me.  

Testing "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 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 .war file which gets copied over to webapps.

Since Tomcat auto-expands the war file, I find I have to delete the
directory and restart in order to get the new version in place.

I found an ant task named 'deploy' but it doesn't seem to be apparently
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 create task or type of type:
deploy.
Ant could not find the task or a class this task relies upon.


  http://my.development.box"; path="${context}"
war="${dist}/${context}.war"
username="wendy" password="password" />


I'm also not sure how this is going to work... Tomcat is on the same machine
so right now I'm just copying the war file over.  Would it be better to use
the 'install' or 'restart' tasks instead?  

Thanks,

-- 
Wendy Smoak
Applications Systems Analyst, Sr.
Arizona State University PA Information Resources Management








The information in this email is confidential and may be 
legally privileged. It is intended solely for the addressee,
and access by anyone else is unauthorized.

If you are not the intended recipient, any disclosure, 
copying, distribution or any action taken or omitted to be
taken in reliance on it, is prohibited and may be unlawful. 

If you believe that you have received this email in error, 
please advise us by calling (901) 385 3688, or emailing
[EMAIL PROTECTED], and then delete this message
and all copies and backups thereof. Thank you.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: ant deploy task?

2003-02-19 Thread John Ruffin
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 the app - restart doesn't work for me.  

Testing "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 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 .war file which gets copied over to webapps.

Since Tomcat auto-expands the war file, I find I have to delete the
directory and restart in order to get the new version in place.

I found an ant task named 'deploy' but it doesn't seem to be apparently
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 create task or type of type:
deploy.
Ant could not find the task or a class this task relies upon.


  http://my.development.box"; path="${context}"
war="${dist}/${context}.war"
username="wendy" password="password" />


I'm also not sure how this is going to work... Tomcat is on the same machine
so right now I'm just copying the war file over.  Would it be better to use
the 'install' or 'restart' tasks instead?  

Thanks,

-- 
Wendy Smoak
Applications Systems Analyst, Sr.
Arizona State University PA Information Resources Management








The information in this email is confidential and may be 
legally privileged. It is intended solely for the addressee,
and access by anyone else is unauthorized.

If you are not the intended recipient, any disclosure, 
copying, distribution or any action taken or omitted to be
taken in reliance on it, is prohibited and may be unlawful. 

If you believe that you have received this email in error, 
please advise us by calling (901) 385 3688, or emailing
[EMAIL PROTECTED], and then delete this message
and all copies and backups thereof. Thank you.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: ant deploy task?

2003-02-19 Thread pqin
url is your manager app's url, e.g. http://localhost:8080/manager

Regards,
 
 
PQ
 
"This Guy Thinks He Knows Everything"
"This Guy Thinks He Knows What He Is Doing"

-Original Message-
From: Wendy Smoak [mailto:[EMAIL PROTECTED]] 
Sent: February 19, 2003 12:55 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 .war file which gets copied over to webapps.

Since Tomcat auto-expands the war file, I find I have to delete the
directory and restart in order to get the new version in place.

I found an ant task named 'deploy' but it doesn't seem to be apparently
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 create task or type of type:
deploy.
Ant could not find the task or a class this task relies upon.


  http://my.development.box"; path="${context}"
war="${dist}/${context}.war"
username="wendy" password="password" />


I'm also not sure how this is going to work... Tomcat is on the same machine
so right now I'm just copying the war file over.  Would it be better to use
the 'install' or 'restart' tasks instead?  

Thanks,

-- 
Wendy Smoak
Applications Systems Analyst, Sr.
Arizona State University PA Information Resources Management








RE: ant deploy task?

2003-02-19 Thread Shapira, Yoav

Hi,
The file you're looking for is
$CATALINA_HOME/server/lib/catalina-ant.jar.  Make sure your ant script
sees this file for the deploy (and other) taskdefs.

Set unpackWARs="false" in server.xml to prevent tomcat from packing the
wars.  Then, to deploy you just copy the war over 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: '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 .war file which gets copied over to webapps.
>
>Since Tomcat auto-expands the war file, I find I have to delete the
>directory and restart in order to get the new version in place.
>
>I found an ant task named 'deploy' but it doesn't seem to be apparently
>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 create task or type of
type:
>deploy.
>Ant could not find the task or a class this task relies upon.
>
>
>  http://my.development.box"; path="${context}"
>war="${dist}/${context}.war"
>username="wendy" password="password" />
>
>
>I'm also not sure how this is going to work... Tomcat is on the same
>machine
>so right now I'm just copying the war file over.  Would it be better to
use
>the 'install' or 'restart' tasks instead?
>
>Thanks,
>
>--
>Wendy Smoak
>Applications Systems Analyst, Sr.
>Arizona State University PA Information Resources Management
>
>
>
>




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




ant deploy task?

2003-02-19 Thread Wendy Smoak

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 .war file which gets copied over to webapps.

Since Tomcat auto-expands the war file, I find I have to delete the
directory and restart in order to get the new version in place.

I found an ant task named 'deploy' but it doesn't seem to be apparently
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 create task or type of type:
deploy.
Ant could not find the task or a class this task relies upon.


  http://my.development.box"; path="${context}"
war="${dist}/${context}.war"
username="wendy" password="password" />


I'm also not sure how this is going to work... Tomcat is on the same machine
so right now I'm just copying the war file over.  Would it be better to use
the 'install' or 'restart' tasks instead?  

Thanks,

-- 
Wendy Smoak
Applications Systems Analyst, Sr.
Arizona State University PA Information Resources Management








Re: catalina ant deploy task problem... (solved - Tomcat-4.1.19 bug)

2003-01-19 Thread Jacob Kjome

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 next release (4.1.20?).

Jake

At 03:27 AM 1/18/2003 -0600, you wrote:

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, username, and password as the install task.  However, I am getting 
the following error:

catalina-deploy:
 [echo] 
file:///D:/myclasses/Repository/Enhydra/BarracudaMVC_2003-01-15/Barracuda/Barracuda.war

BUILD FAILED
file:./catalina-tasks.incl:50: java.io.IOException: Server returned HTTP 
respons
e code: 403 for URL: http://localhost:8080/manager/deploy?path=%2FBarracuda

Anyone know why this might be?  I am logged in as administrator so it 
shouldn't be a file/directory permissions problem.  What the heck?

Jake


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 


catalina ant deploy task problem...

2003-01-18 Thread Jacob Kjome

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, 
username, and password as the install task.  However, I am getting the 
following error:

catalina-deploy:
 [echo] 
file:///D:/myclasses/Repository/Enhydra/BarracudaMVC_2003-01-15/Barracuda/Barracuda.war

BUILD FAILED
file:./catalina-tasks.incl:50: java.io.IOException: Server returned HTTP 
respons
e code: 403 for URL: http://localhost:8080/manager/deploy?path=%2FBarracuda

Anyone know why this might be?  I am logged in as administrator so it 
shouldn't be a file/directory permissions problem.  What the heck?

Jake


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 



Re: Ant Deploy Task

2002-10-29 Thread Jon Eaves
Jacob Kjome wrote:


Yep,


description="Deploy web-app war" >

url="${manager.url}"
username="${manager.username}"
password="${manager.password}"
config="${app.ccf}"
path="${app.path}" />


the path attribute is moderately redundant since you specify it in the 
Context Configuration File, but, oh well.

I just tried it.

Buildfile: c:\usr\devel\jon\tomcat-book\book\hello\build.xml

cdeploy:
 [copy] Copying 1 file to C:\usr\devel\jon\tomcat-book\book\hello\dist

BUILD FAILED
file:c:/usr/devel/jon/tomcat-book/book/hello/build.xml:549: The  
task doesn't support the "config" attribute.

My task looks like this:













  
  url="${manager.url}"
  username="${manager.username}"
  password="${manager.password}"
  path="${app.path}"
  config="file:///${dist.home}/context.xml"/>


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 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 optional
config="foo.xml" in the same way as the install task ?

Cheers,
-- jon

--
Jon Eaves <[EMAIL PROTECTED]>
http://www.eaves.org/jon/


--
To unsubscribe, e-mail:   
<mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: 
<mailto:tomcat-user-help@;jakarta.apache.org>




--
Jon Eaves <[EMAIL PROTECTED]>
http://www.eaves.org/jon/


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>




Re: Ant Deploy Task

2002-10-29 Thread Jacob Kjome

Yep,


description="Deploy web-app war" >

url="${manager.url}"
username="${manager.username}"
password="${manager.password}"
config="${app.ccf}"
path="${app.path}" />


the path attribute is moderately redundant since you specify it in the 
Context Configuration File, but, oh well.

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 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 optional
config="foo.xml" in the same way as the install task ?

Cheers,
-- jon

--
Jon Eaves <[EMAIL PROTECTED]>
http://www.eaves.org/jon/


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>



Ant Deploy Task

2002-10-28 Thread Jon Eaves
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 ?

Cheers,
	-- jon

--
Jon Eaves <[EMAIL PROTECTED]>
http://www.eaves.org/jon/


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>




ant deploy task -> auomatic creation of

2002-10-18 Thread psalazar
-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 context and restart again tomcat pointing to a 
global resource.

Is there any way or exists any property to personalize my context at the
time I deploy my web application archive when using ant?

thanks,
Pedro Salazar.

- -- 
pedro salazar (pt-inovacao) <[EMAIL PROTECTED]>

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9sCpFDhKeMdgDvGERAjkKAJ9yIfNQjWcyVEKyjxTlvuND+gN9CACfV8kE
Y+yN0+tLujxj1boxgmXbiqY=
=ra2B
-END PGP SIGNATURE-


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>