I don't use the Tomcat manager.
I'll email you the ANT script I use

On 5/30/07, robinbajaj <[EMAIL PROTECTED]> wrote:

ooops I looked at the error message again
--------------
18K downloaded
[INFO] [tomcat:deploy]
[INFO] Deploying war to http://localhost:8080/tutorial64
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Cannot invoke Tomcat manager

Embedded error: Connection refused: connect
--------------
and figured it needs a running tomcat instance.

So i did mvn tomcat:run
and it worked fine.
I can now access my tomcat instance hosting my bootstrap struts2 project at
 http://localhost:8080/tutorial65
which is cool.
thanks everyone,
robin


robinbajaj wrote:
>
> Thanks for your response Dave.
> I tried the tomcat-maven-plugin
>
> basically removed the jetty plugin and introduced tomcat-maven-plugin into
> my pom.xml
> as follows
>                         <plugin>
>                       <groupId>org.codehaus.mojo</groupId>
>                       <artifactId>tomcat-maven-plugin</artifactId>
>                       <configuration>
>                               <url>http://localhost:8080/manager66</url>
>                       </configuration>
>                       </plugin>
>
> And then ran the mvn tomcat:deploy on command line.
> Here's the error I am getting
> URL: http://rafb.net/p/6avAol60.html67
> I don't think I have to have a tomcat pre-installed for this, since I
> noticed maven downloads
> the required components on its own. Don't know what I am doing wrong here.
> can someone please help...
> thanks,
> robin
>
>
>
>
> Dave Newton-4 wrote:
>>
>> --- yitzle <[EMAIL PROTECTED]> wrote:
>>> The way I deploy is by shutting down Tomcat, using
>>> an ANT script to copy to files into the
>>> Tomcat/webapps and starting Tomcat.
>>
>> The OP, however, wanted to use Maven.
>>
>> http://mojo.codehaus.org/tomcat-maven-plugin/69
>>
>> d.
>>
>>
>>
>>
>> 
____________________________________________________________________________________Shape
>> Yahoo! in your own image.  Join our Network Research Panel today!
>> http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=770
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>>
>
>

--
View this message in context: 
http://www.nabble.com/struts-2-setup-for-tomcat-5.5-6-tf3841534.html#a1088057573
Sent from the Struts - User mailing list archive at Nabble.com74.



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

Reply via email to