I'll try to answer your questions to the best of my ability..
- how do I let tomcat know that the application is there
(/home/myusername/public_html)?
You don't. If your administration has set this up as a shared
environment, Tomcat should be configured to
use a specific directory for user web applications. For example
<Host name="xxx.xxx.net" appBase="webapps">
<Listener className="org.apache.catalina.startup.UserConfig"
directoryName="tomcat_apps"
userClass="org.apache.catalina.startup.PasswdUserDatabase"/>
</Host>
This instructs tomcat to look for web applications in
~username/tomcat_apps
- must I ask the admin to place the tapestry jars in shared/lib or can I
used the ones I bundle in WEB-INF/classes/lib?
No, you can bundle them in WEB-INF/lib
- if I bundle my app in a .war file, what's the minimum I must do in
order to deploy the app that way?
Assuming you packaged everything you need to, nothing at all. Plonking
the .war into your application
folder should be enough.
-At which URL will the app be available when it's online?
Depends. From what you are telling me, you do not have a dedicated
tomcat installation so I
assume (always depending on the least effort setup on the part of the
admin) it might be
http://www.app.server:8080/~username/app
- Is web.xml used to let tomcat know where the app is and if so, how?
Yes up to a point but RTFM since this is not the Tomcat List :)
-Do I need to set a class path or other env settings?
You should not need to.
Ask your admin. He/she should be able to provide you with the Tomcat
monitored application path.
If not, email me off list and I'll try to help.
Yiannis.
-----Original Message-----
From: t.n.a. [mailto:[EMAIL PROTECTED]
Sent: 12 April 2005 23:50
To: Tapestry users
Subject: hosting - web application deployment howto?
Hi,
it's time to deploy my first tapestry app and even though I've done some
googling, I ran into a problem I haven't seen on previous instalations
on intranets.
The problem seems to be the environment.
My target environment:
- a remote server
- vanilla tomcat 5.5.7 (no tapestry jars in either shared/lib or
common/lib)
- /home/myusername/public_html/ application folder
- no manager app
- no access to server.xml or the CATALINA_HOME/webapps folder
My development environment:
- my workstation
- tomcat 5.5.7 with tapestry, ognl and jars in CATALINA_HOME/shared/lib
- X:\whatever\appname\ application folder
- manager app
- r/w access to server.xml and CATALINA_HOME/webapps - I'm using
server.xml
My application doesn't have anything in it's context directory: just
WEB-INF and some css: all the .html, .page and the web.xml files are in
WEB-INF. I don't know why this works on my devel machine, but it works.
What I'd like to know is:
- how do I let tomcat know that the application is there
(/home/myusername/public_html)?
- must I ask the admin to place the tapestry jars in shared/lib or can I
used the ones I bundle in WEB-INF/classes/lib?
- if I bundle my app in a .war file, what's the minimum I must do in
order to deploy the app that way?
I don't know where to start with questions, actualy. :( At which URL
will the app be available when it's online? Is web.xml used to let
tomcat know where the app is and if so, how? Do I need to set a class
path or other env settings? Questions, questions, questions...
Thanks in advance,
Tomislav
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs.
Note:__________________________________________________________________
This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mistransmission.
If you receive this message in error, please immediately delete it and
all copies of it from your system, destroy any hard copies of it and
notify the sender. You must not, directly or indirectly, use, disclose,
distribute, print, or copy any part of this message if you are not the
intended recipient. Jaguar Freight Services and any of its subsidiaries
each reserve the right to monitor all e-mail communications through its
networks.
Any views expressed in this message are those of the individual sender,
except where the message states otherwise and the sender is authorized
to state them to be the views of any such entity.
________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]