Re: How to deploy struts on tomcat

2010-03-13 Thread abhishek jain
Hi Girish and Pawal,

Thanks for the help, the copy and paste worked, the error i am getting is
that the code works on :8080 port and not via apache,

Some of the code gets delivered by 80 apache though, the one which is
supposed to be worked via web.xml like url rewrite.
I guess some error with configuration of apache will look at that,
Any pointers to learn Ant. any link?

Thanks for the help.
thanks
abhishek

On Thu, Mar 11, 2010 at 8:57 PM, Girish Naik girish.n...@gmail.com wrote:

 I think that for local dev -deployment we can configure tomcat in eclipse
 (the same should apply for MyEclipse), by telling the eclipse tomcat home
 location in the workspace preference. This would deploy ur app in the
 tomcat
 as context / xml files as u mention in preference.

 But for QA, prod or remote deploy, i would suggest you use ant or maven
 deploy script. Ant is simplest and could be learnt in few hours :)


 Regards,
 -
 Girish Naik
 Mobile:-+91-09740091638
 girish.n...@gmail.com


 2010/3/11 Paweł Wielgus poulw...@gmail.com

  Hi Abhishek,
  normaly just copying and pasting war should work on tomcat, i can't
  remeber if tomcat needs to be restarted or it will discover the war
  automaticaly - check the tomcat server.xml for that. War is a
  standard, it doesn't matter if it contains struts or spring
  application inside.
  As for myeclipse, i don't know if it will autodeploy your app,
  probably it can. As for ant, You can use it there is nothing wrong
  with it.
  Best greetings,
  Pawel Wielgus.
 
  2010/3/10, abhishek jain abhishek.netj...@gmail.com:
   Hi friends,
  
   I have developed a struts 1 application, i need to know what are the
 ways
   and means to deploy a struts application, if i just copy and paste the
  war
   application, will it be the correct way?
  
   Also if i have myeclipse can it directly deploy on the remote server
 via
   FTP(on linux), and is it ok to use ant,i am new to ant.
   Please advise,
   Thanks a lot.
   --
   Thanks and kind Regards,
   Abhishek jain
  
 
  -
  To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
  For additional commands, e-mail: user-h...@struts.apache.org
 
 




-- 
Thanks and kind Regards,
Abhishek jain
+91 9971376767


Re: How to deploy struts on tomcat

2010-03-13 Thread Girish Naik
Number of sites that give u ant tutorials, you can also have a look @
http://ant.apache.org/manual/

ps: r u using modjk to bridge apache and tomcat?


Regards,
-
Girish Naik
Mobile:-+91-09740091638
girish.n...@gmail.com


On Sat, Mar 13, 2010 at 4:59 PM, abhishek jain
abhishek.netj...@gmail.comwrote:

 Hi Girish and Pawal,

 Thanks for the help, the copy and paste worked, the error i am getting is
 that the code works on :8080 port and not via apache,

 Some of the code gets delivered by 80 apache though, the one which is
 supposed to be worked via web.xml like url rewrite.
 I guess some error with configuration of apache will look at that,
 Any pointers to learn Ant. any link?

 Thanks for the help.
 thanks
 abhishek

 On Thu, Mar 11, 2010 at 8:57 PM, Girish Naik girish.n...@gmail.com
 wrote:

  I think that for local dev -deployment we can configure tomcat in eclipse
  (the same should apply for MyEclipse), by telling the eclipse tomcat home
  location in the workspace preference. This would deploy ur app in the
  tomcat
  as context / xml files as u mention in preference.
 
  But for QA, prod or remote deploy, i would suggest you use ant or maven
  deploy script. Ant is simplest and could be learnt in few hours :)
 
 
  Regards,
  -
  Girish Naik
  Mobile:-+91-09740091638
  girish.n...@gmail.com
 
 
  2010/3/11 Paweł Wielgus poulw...@gmail.com
 
   Hi Abhishek,
   normaly just copying and pasting war should work on tomcat, i can't
   remeber if tomcat needs to be restarted or it will discover the war
   automaticaly - check the tomcat server.xml for that. War is a
   standard, it doesn't matter if it contains struts or spring
   application inside.
   As for myeclipse, i don't know if it will autodeploy your app,
   probably it can. As for ant, You can use it there is nothing wrong
   with it.
   Best greetings,
   Pawel Wielgus.
  
   2010/3/10, abhishek jain abhishek.netj...@gmail.com:
Hi friends,
   
I have developed a struts 1 application, i need to know what are the
  ways
and means to deploy a struts application, if i just copy and paste
 the
   war
application, will it be the correct way?
   
Also if i have myeclipse can it directly deploy on the remote server
  via
FTP(on linux), and is it ok to use ant,i am new to ant.
Please advise,
Thanks a lot.
--
Thanks and kind Regards,
Abhishek jain
   
  
   -
   To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
   For additional commands, e-mail: user-h...@struts.apache.org
  
  
 



 --
 Thanks and kind Regards,
 Abhishek jain
 +91 9971376767



Re: How to deploy struts on tomcat

2010-03-13 Thread abhishek jain
Hi Girish,
Yes i am using mod_jk ,
why! is that not efficient, please reply,
Also i am gettign the following error at times,


Cannot get a connection, pool error Timeout waiting for idle object

I need to restart tomcat to remove the error, pl. advice,

thanks
abhishek

On Sat, Mar 13, 2010 at 9:09 PM, Girish Naik girish.n...@gmail.com wrote:

 Number of sites that give u ant tutorials, you can also have a look @
 http://ant.apache.org/manual/

 ps: r u using modjk to bridge apache and tomcat?


 Regards,
 -
 Girish Naik
 Mobile:-+91-09740091638
 girish.n...@gmail.com


 On Sat, Mar 13, 2010 at 4:59 PM, abhishek jain
 abhishek.netj...@gmail.comwrote:

  Hi Girish and Pawal,
 
  Thanks for the help, the copy and paste worked, the error i am getting is
  that the code works on :8080 port and not via apache,
 
  Some of the code gets delivered by 80 apache though, the one which is
  supposed to be worked via web.xml like url rewrite.
  I guess some error with configuration of apache will look at that,
  Any pointers to learn Ant. any link?
 
  Thanks for the help.
  thanks
  abhishek
 
  On Thu, Mar 11, 2010 at 8:57 PM, Girish Naik girish.n...@gmail.com
  wrote:
 
   I think that for local dev -deployment we can configure tomcat in
 eclipse
   (the same should apply for MyEclipse), by telling the eclipse tomcat
 home
   location in the workspace preference. This would deploy ur app in the
   tomcat
   as context / xml files as u mention in preference.
  
   But for QA, prod or remote deploy, i would suggest you use ant or maven
   deploy script. Ant is simplest and could be learnt in few hours :)
  
  
   Regards,
   -
   Girish Naik
   Mobile:-+91-09740091638
   girish.n...@gmail.com
  
  
   2010/3/11 Paweł Wielgus poulw...@gmail.com
  
Hi Abhishek,
normaly just copying and pasting war should work on tomcat, i can't
remeber if tomcat needs to be restarted or it will discover the war
automaticaly - check the tomcat server.xml for that. War is a
standard, it doesn't matter if it contains struts or spring
application inside.
As for myeclipse, i don't know if it will autodeploy your app,
probably it can. As for ant, You can use it there is nothing wrong
with it.
Best greetings,
Pawel Wielgus.
   
2010/3/10, abhishek jain abhishek.netj...@gmail.com:
 Hi friends,

 I have developed a struts 1 application, i need to know what are
 the
   ways
 and means to deploy a struts application, if i just copy and paste
  the
war
 application, will it be the correct way?

 Also if i have myeclipse can it directly deploy on the remote
 server
   via
 FTP(on linux), and is it ok to use ant,i am new to ant.
 Please advise,
 Thanks a lot.
 --
 Thanks and kind Regards,
 Abhishek jain

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



Re: How to deploy struts on tomcat

2010-03-11 Thread Paweł Wielgus
Hi Abhishek,
normaly just copying and pasting war should work on tomcat, i can't
remeber if tomcat needs to be restarted or it will discover the war
automaticaly - check the tomcat server.xml for that. War is a
standard, it doesn't matter if it contains struts or spring
application inside.
As for myeclipse, i don't know if it will autodeploy your app,
probably it can. As for ant, You can use it there is nothing wrong
with it.
Best greetings,
Pawel Wielgus.

2010/3/10, abhishek jain abhishek.netj...@gmail.com:
 Hi friends,

 I have developed a struts 1 application, i need to know what are the ways
 and means to deploy a struts application, if i just copy and paste the war
 application, will it be the correct way?

 Also if i have myeclipse can it directly deploy on the remote server via
 FTP(on linux), and is it ok to use ant,i am new to ant.
 Please advise,
 Thanks a lot.
 --
 Thanks and kind Regards,
 Abhishek jain


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



Re: How to deploy struts on tomcat

2010-03-11 Thread Girish Naik
I think that for local dev -deployment we can configure tomcat in eclipse
(the same should apply for MyEclipse), by telling the eclipse tomcat home
location in the workspace preference. This would deploy ur app in the tomcat
as context / xml files as u mention in preference.

But for QA, prod or remote deploy, i would suggest you use ant or maven
deploy script. Ant is simplest and could be learnt in few hours :)


Regards,
-
Girish Naik
Mobile:-+91-09740091638
girish.n...@gmail.com


2010/3/11 Paweł Wielgus poulw...@gmail.com

 Hi Abhishek,
 normaly just copying and pasting war should work on tomcat, i can't
 remeber if tomcat needs to be restarted or it will discover the war
 automaticaly - check the tomcat server.xml for that. War is a
 standard, it doesn't matter if it contains struts or spring
 application inside.
 As for myeclipse, i don't know if it will autodeploy your app,
 probably it can. As for ant, You can use it there is nothing wrong
 with it.
 Best greetings,
 Pawel Wielgus.

 2010/3/10, abhishek jain abhishek.netj...@gmail.com:
  Hi friends,
 
  I have developed a struts 1 application, i need to know what are the ways
  and means to deploy a struts application, if i just copy and paste the
 war
  application, will it be the correct way?
 
  Also if i have myeclipse can it directly deploy on the remote server via
  FTP(on linux), and is it ok to use ant,i am new to ant.
  Please advise,
  Thanks a lot.
  --
  Thanks and kind Regards,
  Abhishek jain
 

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