You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Mark Galbreath <mg...@dirtroad.net> on 2003/10/06 14:34:36 UTC

Craig: Tomcat 5.0 WAR Deployment

Craig,

I'm writing a simple Struts standalone app to Tomcat 5.0 (trying to learn
Struts + JDO) and Tomcat is not auto-deploying the WAR after Ant compiles,
assembles, and puts it in the webapps root.  Auto-deploy is set to "true" in
server.xml...anything else I am missing?

Thx,
Mark



---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: Struts (with JavaMail)

Posted by James Mitchell <jm...@apache.org>.
For starters, don't hijack threads.


--
James Mitchell
Software Engineer / Struts Evangelist
http://www.struts-atlanta.org
678.910.8017
770.822.3359
AIM:jmitchtx



----- Original Message ----- 
From: "Martin Gainty" <mg...@hotmail.com>
To: "Struts Users Mailing List" <st...@jakarta.apache.org>
Sent: Monday, October 06, 2003 9:09 AM
Subject: Struts (with JavaMail)


> I am trying to implement a JavaMail form that uses Struts
> Any advice?
>
> Thanks,
> -Martin
>
> ----- Original Message ----- 
> From: "Mark Galbreath" <mg...@dirtroad.net>
> To: "Struts Users Mailing List" <st...@jakarta.apache.org>
> Sent: Monday, October 06, 2003 8:34 AM
> Subject: Craig: Tomcat 5.0 WAR Deployment
>
>
> > Craig,
> >
> > I'm writing a simple Struts standalone app to Tomcat 5.0 (trying to
learn
> > Struts + JDO) and Tomcat is not auto-deploying the WAR after Ant
compiles,
> > assembles, and puts it in the webapps root.  Auto-deploy is set to
"true"
> in
> > server.xml...anything else I am missing?
> >
> > Thx,
> > Mark
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: struts-user-help@jakarta.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: Struts (with JavaMail)

Posted by Martin Gainty <mg...@hotmail.com>.
That is the obvious direction..

Thanks!

-Martin
----- Original Message ----- 
From: "Jeff Kyser" <kt...@comcast.net>
To: "Struts Users Mailing List" <st...@jakarta.apache.org>
Sent: Monday, October 06, 2003 10:00 AM
Subject: Re: Struts (with JavaMail)


> ask tom ?
> 
> :-)
> 
> On Monday, October 6, 2003, at 08:09  AM, Martin Gainty wrote:
> 
> > I am trying to implement a JavaMail form that uses Struts
> > Any advice?
> >
> > Thanks,
> > -Martin
> >
> > ----- Original Message -----
> > From: "Mark Galbreath" <mg...@dirtroad.net>
> > To: "Struts Users Mailing List" <st...@jakarta.apache.org>
> > Sent: Monday, October 06, 2003 8:34 AM
> > Subject: Craig: Tomcat 5.0 WAR Deployment
> >
> >
> >> Craig,
> >>
> >> I'm writing a simple Struts standalone app to Tomcat 5.0 (trying to 
> >> learn
> >> Struts + JDO) and Tomcat is not auto-deploying the WAR after Ant 
> >> compiles,
> >> assembles, and puts it in the webapps root.  Auto-deploy is set to 
> >> "true"
> > in
> >> server.xml...anything else I am missing?
> >>
> >> Thx,
> >> Mark
> >>
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> >> For additional commands, e-mail: struts-user-help@jakarta.apache.org
> >>
> >>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: struts-user-help@jakarta.apache.org
> >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: Struts (with JavaMail)

Posted by Jeff Kyser <kt...@comcast.net>.
ask tom ?

:-)

On Monday, October 6, 2003, at 08:09  AM, Martin Gainty wrote:

> I am trying to implement a JavaMail form that uses Struts
> Any advice?
>
> Thanks,
> -Martin
>
> ----- Original Message -----
> From: "Mark Galbreath" <mg...@dirtroad.net>
> To: "Struts Users Mailing List" <st...@jakarta.apache.org>
> Sent: Monday, October 06, 2003 8:34 AM
> Subject: Craig: Tomcat 5.0 WAR Deployment
>
>
>> Craig,
>>
>> I'm writing a simple Struts standalone app to Tomcat 5.0 (trying to 
>> learn
>> Struts + JDO) and Tomcat is not auto-deploying the WAR after Ant 
>> compiles,
>> assembles, and puts it in the webapps root.  Auto-deploy is set to 
>> "true"
> in
>> server.xml...anything else I am missing?
>>
>> Thx,
>> Mark
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Struts (with JavaMail)

Posted by Martin Gainty <mg...@hotmail.com>.
I am trying to implement a JavaMail form that uses Struts
Any advice?

Thanks,
-Martin

----- Original Message ----- 
From: "Mark Galbreath" <mg...@dirtroad.net>
To: "Struts Users Mailing List" <st...@jakarta.apache.org>
Sent: Monday, October 06, 2003 8:34 AM
Subject: Craig: Tomcat 5.0 WAR Deployment


> Craig,
>
> I'm writing a simple Struts standalone app to Tomcat 5.0 (trying to learn
> Struts + JDO) and Tomcat is not auto-deploying the WAR after Ant compiles,
> assembles, and puts it in the webapps root.  Auto-deploy is set to "true"
in
> server.xml...anything else I am missing?
>
> Thx,
> Mark
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: Craig: Tomcat 5.0 WAR Deployment

Posted by "Craig R. McClanahan" <cr...@apache.org>.
Sean Dockery wrote:

>I believe that you mean deploy and undeploy.  Haven't install and remove
>been deprecated under Tomcat 5?  I couldn't find an example that uses the
>install or remove tasks on the page you cited.  :-)
>  
>
Yah, it looks like they did change the terminology for 5.x (it's the 
right ones for 4.x).

Craig

>"Craig R. McClanahan" <cr...@apache.org> wrote in message
>news:3F81994D.8000709@apache.org...
>  
>
>>Mark Galbreath wrote:
>>
>>    
>>
>>>Craig,
>>>
>>>I'm writing a simple Struts standalone app to Tomcat 5.0 (trying to learn
>>>Struts + JDO) and Tomcat is not auto-deploying the WAR after Ant
>>>      
>>>
>compiles,
>  
>
>>>assembles, and puts it in the webapps root.  Auto-deploy is set to "true"
>>>      
>>>
>in
>  
>
>>>server.xml...anything else I am missing?
>>>
>>>
>>>      
>>>
>>I don't like the "autodeploy from the webapps" feature because you can't
>>undeploy.  I tend to use the "install" and "remove" and "reload" Ant
>>tasks instead:
>>
>>
>>    
>>
>http://jakarta.apache.org/tomcat/tomcat-5.0-doc/manager-howto.html#Executing%20Manager%20Commands%20With%20Ant
>  
>
>>Note that you don't have to copy anything -- just tell Tomcat to deploy
>>directly from your build directory (if you're on the same machine).  An
>>example build.xml that supports this feature can be found at:
>>
>>http://jakarta.apache.org/tomcat/tomcat-5.0-doc/appdev/index.html
>>
>>    
>>
>>>Thx,
>>>Mark
>>>
>>>
>>>      
>>>
>>Craig
>>    
>>
>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: struts-user-help@jakarta.apache.org
>  
>



---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: Craig: Tomcat 5.0 WAR Deployment

Posted by Sean Dockery <us...@sbdconsultants.com>.
I believe that you mean deploy and undeploy.  Haven't install and remove
been deprecated under Tomcat 5?  I couldn't find an example that uses the
install or remove tasks on the page you cited.  :-)

"Craig R. McClanahan" <cr...@apache.org> wrote in message
news:3F81994D.8000709@apache.org...
> Mark Galbreath wrote:
>
> >Craig,
> >
> >I'm writing a simple Struts standalone app to Tomcat 5.0 (trying to learn
> >Struts + JDO) and Tomcat is not auto-deploying the WAR after Ant
compiles,
> >assembles, and puts it in the webapps root.  Auto-deploy is set to "true"
in
> >server.xml...anything else I am missing?
> >
> >
> I don't like the "autodeploy from the webapps" feature because you can't
> undeploy.  I tend to use the "install" and "remove" and "reload" Ant
> tasks instead:
>
>
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/manager-howto.html#Executing%20Manager%20Commands%20With%20Ant
>
> Note that you don't have to copy anything -- just tell Tomcat to deploy
> directly from your build directory (if you're on the same machine).  An
> example build.xml that supports this feature can be found at:
>
> http://jakarta.apache.org/tomcat/tomcat-5.0-doc/appdev/index.html
>
> >Thx,
> >Mark
> >
> >
> Craig




---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


RE: Craig: Tomcat 5.0 WAR Deployment

Posted by Mark Galbreath <mg...@dirtroad.net>.
Cool...thx for the suggestions!

-----Original Message-----
From: Craig R. McClanahan [mailto:craigmcc@apache.org]
Sent: Monday, October 06, 2003 12:33 PM
To: Struts Users Mailing List
Subject: Re: Craig: Tomcat 5.0 WAR Deployment


Mark Galbreath wrote:

>Craig,
>
>I'm writing a simple Struts standalone app to Tomcat 5.0 (trying to learn
>Struts + JDO) and Tomcat is not auto-deploying the WAR after Ant compiles,
>assembles, and puts it in the webapps root.  Auto-deploy is set to "true"
in
>server.xml...anything else I am missing?
>
>
I don't like the "autodeploy from the webapps" feature because you can't
undeploy.  I tend to use the "install" and "remove" and "reload" Ant
tasks instead:

http://jakarta.apache.org/tomcat/tomcat-5.0-doc/manager-howto.html#Executing
%20Manager%20Commands%20With%20Ant

Note that you don't have to copy anything -- just tell Tomcat to deploy
directly from your build directory (if you're on the same machine).  An
example build.xml that supports this feature can be found at:

http://jakarta.apache.org/tomcat/tomcat-5.0-doc/appdev/index.html

>Thx,
>Mark
>
>
Craig



---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: Craig: Tomcat 5.0 WAR Deployment

Posted by "Craig R. McClanahan" <cr...@apache.org>.
Mark Galbreath wrote:

>Craig,
>
>I'm writing a simple Struts standalone app to Tomcat 5.0 (trying to learn
>Struts + JDO) and Tomcat is not auto-deploying the WAR after Ant compiles,
>assembles, and puts it in the webapps root.  Auto-deploy is set to "true" in
>server.xml...anything else I am missing?
>  
>
I don't like the "autodeploy from the webapps" feature because you can't 
undeploy.  I tend to use the "install" and "remove" and "reload" Ant 
tasks instead:

http://jakarta.apache.org/tomcat/tomcat-5.0-doc/manager-howto.html#Executing%20Manager%20Commands%20With%20Ant

Note that you don't have to copy anything -- just tell Tomcat to deploy 
directly from your build directory (if you're on the same machine).  An 
example build.xml that supports this feature can be found at:

http://jakarta.apache.org/tomcat/tomcat-5.0-doc/appdev/index.html

>Thx,
>Mark
>  
>
Craig



---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


RE: Craig: Tomcat 5.0 WAR Deployment [solution found]

Posted by Andrew Hill <an...@gridnode.com>.
<snip>
So, byte me, you bloody limey-wannabe!
</snip>

Ha! Your just jealous cos your not part of the empire any more! nyah nyah!
:-P

rule britania, britania rules the waves, etc...

-----Original Message-----
From: Mark Galbreath [mailto:mgalbreath@dirtroad.net]
Sent: Monday, 6 October 2003 22:10
To: Struts Users Mailing List
Subject: RE: Craig: Tomcat 5.0 WAR Deployment [solution found]


1.  If I need a subscription to tomcat-luser just to figure out why 5.0 is
not auto-deploying a WAR, then there is something fundamentally flawed in
5.0;

2.  I already have a subscription to yo' momma - and I'd rather RTFM;

3.  I found the problem - error in path in deploy target in my Ant
build.xml...it works per the documentation now.

So, byte me, you bloody limey-wannabe!

-----Original Message-----
From: Andrew Hill [mailto:andrew.david.hill@gridnode.com]
Sent: Monday, October 06, 2003 8:41 AM
To: Struts Users Mailing List
Subject: RE: Craig: Tomcat 5.0 WAR Deployment


A subscription to the tomcat_user list perhaps?

;->

-----Original Message-----
From: Mark Galbreath [mailto:mgalbreath@dirtroad.net]
Sent: Monday, 6 October 2003 20:35
To: Struts Users Mailing List
Subject: Craig: Tomcat 5.0 WAR Deployment


Craig,

I'm writing a simple Struts standalone app to Tomcat 5.0 (trying to learn
Struts + JDO) and Tomcat is not auto-deploying the WAR after Ant compiles,
assembles, and puts it in the webapps root.  Auto-deploy is set to "true" in
server.xml...anything else I am missing?

Thx,
Mark



---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


RE: Craig: Tomcat 5.0 WAR Deployment [solution found]

Posted by Mark Galbreath <mg...@dirtroad.net>.
1.  If I need a subscription to tomcat-luser just to figure out why 5.0 is
not auto-deploying a WAR, then there is something fundamentally flawed in
5.0;

2.  I already have a subscription to yo' momma - and I'd rather RTFM;

3.  I found the problem - error in path in deploy target in my Ant
build.xml...it works per the documentation now.

So, byte me, you bloody limey-wannabe!

-----Original Message-----
From: Andrew Hill [mailto:andrew.david.hill@gridnode.com]
Sent: Monday, October 06, 2003 8:41 AM
To: Struts Users Mailing List
Subject: RE: Craig: Tomcat 5.0 WAR Deployment


A subscription to the tomcat_user list perhaps?

;->

-----Original Message-----
From: Mark Galbreath [mailto:mgalbreath@dirtroad.net]
Sent: Monday, 6 October 2003 20:35
To: Struts Users Mailing List
Subject: Craig: Tomcat 5.0 WAR Deployment


Craig,

I'm writing a simple Struts standalone app to Tomcat 5.0 (trying to learn
Struts + JDO) and Tomcat is not auto-deploying the WAR after Ant compiles,
assembles, and puts it in the webapps root.  Auto-deploy is set to "true" in
server.xml...anything else I am missing?

Thx,
Mark



---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


RE: Craig: Tomcat 5.0 WAR Deployment

Posted by Andrew Hill <an...@gridnode.com>.
A subscription to the tomcat_user list perhaps?

;->

-----Original Message-----
From: Mark Galbreath [mailto:mgalbreath@dirtroad.net]
Sent: Monday, 6 October 2003 20:35
To: Struts Users Mailing List
Subject: Craig: Tomcat 5.0 WAR Deployment


Craig,

I'm writing a simple Struts standalone app to Tomcat 5.0 (trying to learn
Struts + JDO) and Tomcat is not auto-deploying the WAR after Ant compiles,
assembles, and puts it in the webapps root.  Auto-deploy is set to "true" in
server.xml...anything else I am missing?

Thx,
Mark



---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org