You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Riaan Oberholzer <ri...@yahoo.com> on 2004/02/29 18:39:20 UTC

Deployment: admin vs manager

Should I deploy apps with the manager or admin
interface?

With the manager interface, it is easier, because I
can also specify my application.xml and therefor do
not have to configure my datasources manually. But,
using the manager interface, everytime I restart
Tomcat, I have to re-install the apps also - the
context is lost (the applications are not stored under
the webapps dir - the sysop wants everyone's apps in
his own homedir).

So which interface must I use for deployment and how
can I overcome the problem mentioned above?

Thanks


__________________________________
Do you Yahoo!?
Get better spam protection with Yahoo! Mail.
http://antispam.yahoo.com/tools

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


Re: Deployment: admin vs manager

Posted by Riaan Oberholzer <ri...@yahoo.com>.
> I am relatively new to Tomcat myself but I have
> found that it is easier to use the "ant" command 
> from your command line prompt to install (ie. 
> deploy) a Tomcat application.

My problem with the manager app is that the
application doesn't appear to be persistant if the
application.xml is not in the webapps dir. When Tomcat
restarts, my app disappears and I have to re-install.
The same also happens if I deploy with ant and don't
have the .xml in the webapps dir. In development I use
ant as well, production deployment they are a bit more
tight on.

My question then should be: how do I make a context
persistant if it is not the the webapps dir?

 
> In either case I use the command "ant dist" command
> to compile my
> application and prepare a .WAR distribution file.
> Next I simply use the ant
> command line "ant install" to deploy my application,
> 
> If you want to access the Manager application via
> your browser you could
> always enter a URL like the following :
> 
>
Http://localhost:8080/manager/deploy?path=/<appname>&war=file:/home/bkimelman
>
<application-directory>/dist/<appname><appversion>.war
>  
> It seems to me that the easier wau to go is to use
> Ant from your command
> line.
> 
> *************************
>  
> Barry Kimelman
> Winnipeg, Manitoba, Canada
> 
> -------Original Message-------
>  
> From: Tomcat Users List
> Date: Sunday, February 29, 2004 11:39:31 AM
> To: tomcat-user@jakarta.apache.org
> Subject: Deployment: admin vs manager
>  
> Should I deploy apps with the manager or admin
> interface?
>  
> With the manager interface, it is easier, because I
> can also specify my application.xml and therefor do
> not have to configure my datasources manually. But,
> using the manager interface, everytime I restart
> Tomcat, I have to re-install the apps also - the
> context is lost (the applications are not stored
> under
> the webapps dir - the sysop wants everyone's apps in
> his own homedir).
>  
> So which interface must I use for deployment and how
> can I overcome the problem mentioned above?
>  
> Thanks
>  
>  
> __________________________________
> Do you Yahoo!?
> Get better spam protection with Yahoo! Mail.
> http://antispam.yahoo.com/tools
>  
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> tomcat-user-help@jakarta.apache.org
>  
> .


__________________________________
Do you Yahoo!?
Get better spam protection with Yahoo! Mail.
http://antispam.yahoo.com/tools

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


Re: Deployment: admin vs manager

Posted by Barry Kimelman <be...@mts.net>.
I am using Tomcat 5.0.16 under Linux Redhat9.

I am relatively new to Tomcat myself but I have found that it is easier to
use the "ant" command from your command line prompt to install (ie. deploy)
a Tomcat application.

In either case I use the command "ant dist" command to compile my
application and prepare a .WAR distribution file. Next I simply use the ant
command line "ant install" to deploy my application,

If you want to access the Manager application via your browser you could
always enter a URL like the following :

Http://localhost:8080/manager/deploy?path=/<appname>&war=file:/home/bkimelman
<application-directory>/dist/<appname><appversion>.war
 
It seems to me that the easier wau to go is to use Ant from your command
line.

*************************
 
Barry Kimelman
Winnipeg, Manitoba, Canada

-------Original Message-------
 
From: Tomcat Users List
Date: Sunday, February 29, 2004 11:39:31 AM
To: tomcat-user@jakarta.apache.org
Subject: Deployment: admin vs manager
 
Should I deploy apps with the manager or admin
interface?
 
With the manager interface, it is easier, because I
can also specify my application.xml and therefor do
not have to configure my datasources manually. But,
using the manager interface, everytime I restart
Tomcat, I have to re-install the apps also - the
context is lost (the applications are not stored under
the webapps dir - the sysop wants everyone's apps in
his own homedir).
 
So which interface must I use for deployment and how
can I overcome the problem mentioned above?
 
Thanks
 
 
__________________________________
Do you Yahoo!?
Get better spam protection with Yahoo! Mail.
http://antispam.yahoo.com/tools
 
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
 
.

Re: Deployment: admin vs manager

Posted by Riaan Oberholzer <ri...@yahoo.com>.
The system is setup so that each user gets a home
directory, eg

/home/riaan/

In that, I have:

/home/riaan/application.war
/home/riaan/application.xml

I then use the manager app to install the app with the
above file urls. Looking at the server.xml after
installation actually shows the application with
settings as above.

If Tomcat restarts, however, the app needs to be
re-installed.


--- Tom.Williams@diversifiedsoftware.com wrote:
> 
> 
> 
> 
> 
> Where do you specify the application.xml file so the
> datasources are
> configured automatically?
> 
> Peace...
> 
> Tom
> 
> 
> 
>                                                     
>                       
>              Riaan Oberholzer                       
>                       
>              <riaanoberholzer@                      
>                       
>              yahoo.com>                             
>                    To 
>                                       
> tomcat-user@jakarta.apache.org      
>              02/29/2004 09:39                       
>                    cc 
>              AM                                     
>                       
>                                                     
>               Subject 
>                                        Deployment:
> admin vs manager        
>              Please respond to                      
>                       
>                "Tomcat Users                        
>                       
>                    List"                            
>                       
>              <tomcat-user@jaka                      
>                       
>               rta.apache.org>                       
>                       
>                                                     
>                       
>                                                     
>                       
> 
> 
> 
> 
> Should I deploy apps with the manager or admin
> interface?
> 
> With the manager interface, it is easier, because I
> can also specify my application.xml and therefor do
> not have to configure my datasources manually. But,
> using the manager interface, everytime I restart
> Tomcat, I have to re-install the apps also - the
> context is lost (the applications are not stored
> under
> the webapps dir - the sysop wants everyone's apps in
> his own homedir).
> 
> So which interface must I use for deployment and how
> can I overcome the problem mentioned above?
> 
> Thanks
> 
> 
> __________________________________
> Do you Yahoo!?
> Get better spam protection with Yahoo! Mail.
> http://antispam.yahoo.com/tools
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> tomcat-user-help@jakarta.apache.org
> 
> 
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> tomcat-user-help@jakarta.apache.org
> 


__________________________________
Do you Yahoo!?
Yahoo! Search - Find what you�re looking for faster
http://search.yahoo.com

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


Re: Deployment: admin vs manager

Posted by To...@diversifiedsoftware.com.




Where do you specify the application.xml file so the datasources are
configured automatically?

Peace...

Tom



                                                                           
             Riaan Oberholzer                                              
             <riaanoberholzer@                                             
             yahoo.com>                                                 To 
                                       tomcat-user@jakarta.apache.org      
             02/29/2004 09:39                                           cc 
             AM                                                            
                                                                   Subject 
                                       Deployment: admin vs manager        
             Please respond to                                             
               "Tomcat Users                                               
                   List"                                                   
             <tomcat-user@jaka                                             
              rta.apache.org>                                              
                                                                           
                                                                           




Should I deploy apps with the manager or admin
interface?

With the manager interface, it is easier, because I
can also specify my application.xml and therefor do
not have to configure my datasources manually. But,
using the manager interface, everytime I restart
Tomcat, I have to re-install the apps also - the
context is lost (the applications are not stored under
the webapps dir - the sysop wants everyone's apps in
his own homedir).

So which interface must I use for deployment and how
can I overcome the problem mentioned above?

Thanks


__________________________________
Do you Yahoo!?
Get better spam protection with Yahoo! Mail.
http://antispam.yahoo.com/tools

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




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