Re: AGAIN: How can you deploy an application onto a specific host?

2004-07-08 Thread Florian Ebeling
Hi Ivan,
you have to configure the manager app for each single host. So there is 
no ambiguity. host1.com/manager/ gets you the first, host2.com/manager/ 
the second, and so on. The host HTTP header is required in HTTP/1.1 
requests. In any other case you hit the default host.

Best
-Florian
Ivan Jouikov wrote:
Ive asked this question before but nobody seemed to know the answer. 
 So, Ill ask again

 

So, Tomcat has a maanger application, which allows you to dynamically 
deploy sutff. Nice.

But how can you deploy your stuff onto a SPECIFIC host?
Thx.
 

 


Best Regards,
Ivan V. Jouikov
(206) 228-6670
http://www.ablogic.net/
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.716 / Virus Database: 472 - Release Date: 05.07.2004
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


AGAIN: How can you deploy an application onto a specific host?

2004-07-07 Thread Ivan Jouikov








Ive asked this question
before but nobody seemed to know the answer. So, Ill ask again



So, Tomcat has a maanger
application, which allows you to dynamically deploy sutff. Nice.

But how can you deploy your stuff onto a SPECIFIC host?

Thx.














 
  
  Best Regards,
  
  Ivan V. Jouikov
  (206) 228-6670
  
  
 













---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.716 / Virus Database: 472 - Release Date: 05.07.2004
 

  


RE: AGAIN: How can you deploy an application onto a specific host?

2004-07-07 Thread Tonte Pouncil
I normally just use ant to deploy my stuff by dropping a .war file into the webapps 
dir.
-Original Message-
From: Ivan Jouikov [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 07, 2004 4:30 PM
To: 'Tomcat Users List'
Subject: AGAIN: How can you deploy an application onto a specific host?


Ive asked this question before but nobody seemed to know the answer.  So, Ill 
ask again
 
So, Tomcat has a maanger application, which allows you to dynamically deploy sutff. 
Nice.

But how can you deploy your stuff onto a SPECIFIC host?

Thx.
 
 

  _  


Best Regards,

Ivan V. Jouikov
(206) 228-6670
 http://www.ablogic.net/ 
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.716 / Virus Database: 472 - Release Date: 05.07.2004




RE: AGAIN: How can you deploy an application onto a specific host?

2004-07-07 Thread Laurence Arabia
I can only tell you how I do it Gents but I am not sure if its suitable. I 
have a NFS mount (Samba) which has my war but generall I dont jar it cause I 
can just use a file system with the same dir structure.

web/
web/WEB-INF
web/etc
then I go to the host I want to deploy it on
and type 
http://hosttodeployon/manager/deploy?path=somewebcontextwar=file://home/myhome/somewebcontext/build

somewebcontext being the  http://hosttodeployon/somewebcontext
also ant can do this for you automatically
Now the mount is over a number of machines so I can deploy and test over 
multiples. But if I want to upgrade a machine some where else I would use 
scp as the manager is not safe to have on a production enviroment (My 
paranoia not casting aspiritions (You say similar in your own docs Tomcat 
developers)) There is a attr in server.xml so that when somewebcontext.war 
is copied over it deploys over it again. Sorry cant find it now as I am at 
home.

I realise what you may have been looking for was someway to upload the war 
through the manager but to do that I would just copy over the existing war.


From: Ivan Jouikov [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Subject: AGAIN:  How can you deploy an application onto a specific host?
Date: Wed, 7 Jul 2004 14:30:29 -0700
I’ve asked this question before but nobody seemed to know the answer.  
So, I’ll ask again…

So, Tomcat has a maanger application, which allows you to dynamically 
deploy sutff. Nice.

But how can you deploy your stuff onto a SPECIFIC host?
Thx.
   _
Best Regards,
Ivan V. Jouikov
(206) 228-6670
HYPERLINK http://www.ablogic.net/;
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.716 / Virus Database: 472 - Release Date: 05.07.2004

_
It's fast, it's easy and it's free. Get MSN Messenger today! 
http://www.msn.co.uk/messenger

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


RE: AGAIN: How can you deploy an application onto a specific host?

2004-07-07 Thread Mike Curwen
I'm not sure what you see, but my tomcat manager only shows me the
applications that exist in the 'current' host. meaning:
foo.mysite.com:8080/manager/html/list will show me only those apps
deployed under 'foo'
bar.mysite.com:8080/manager/html/list will show me only those apps
deployed under 'bar'.
Are you saying that if you deploy something with the 'foo' manager, that
the application gets deployed on another host?  (on the default host?)
 
 
-Original Message-
From: Ivan Jouikov [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 07, 2004 4:30 PM
To: 'Tomcat Users List'
Subject: AGAIN: How can you deploy an application onto a specific host?


I've asked this question before but nobody seemed to know the answer.
So, I'll ask again.
 
So, Tomcat has a maanger application, which allows you to dynamically
deploy sutff. Nice.

But how can you deploy your stuff onto a SPECIFIC host?

Thx.
 
 

  _  


Best Regards,

Ivan V. Jouikov
(206) 228-6670
 http://www.ablogic.net/ 
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.716 / Virus Database: 472 - Release Date: 05.07.2004




Re: AGAIN: How can you deploy an application onto a specific host?

2004-07-07 Thread Mark Eggers
Ivan,

This depends a lot on your environment.

I am running 3 virtual hosts on this machine.  I have used the following
documentation in setting up a manager application for each virtual host.

http://localhost:8080/tomcat-docs/manager-howto.html

In particular, I use the following solution:

Install the manager.xml context configuration file in the
$CATALINA_HOME/conf/[enginename]/[hostname] folder.

For example, my CATALINA_HOME is /home/tomcat, and the [enginname] is
Catalina.  I have multiple hosts (localhost lvh1, lvh2), so I have three
subdirectories (/home/tomcat/conf/Catalina/localhost,
/home/tomcat/conf/Catalina/lvh1, /home/tomcat/conf/Catalina/lvh2).

In each of these subdirectories, I have a copy of balancer.xml,
manager.xml, and ROOT.xml.  In the localhost subdirectory I also have a
copy of admin.xml.

Right now I authenticate against a single user database, but I suppose
that I could change that on a per virtual host basis by editing the
manager.xml file.  That way each virtual host could have a different
manager . . . .

That should be enough to get you started.

/mde/
just my two cents . . . .


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