And it works pretty seamlessly. My attemps to get the the useraccounts working resulted in
me doing this:
<Listener className="org.apache.catalina.startup.UserConfig"
directoryName="public_html"
homeBase="/home/"
userClass="org.apache.catalina.startup.PasswdUserDatabase"/>
Which did work!!!The only objective I was trying to achive after that was working; was too make sure tomcat
would unzip all .jar file in "/home/<useraccounts>/public_html/" .
I thought this would be preatty simple.
If I am correct I do believe that the unziping funtionality is bound to the "<Host>" tag. Allowing
only the appBase attribute to be used once per "<Host>" tag.
ex:
<Host name="localhost" debug="0" appBase="/var/www/html/"
unpackWARs="true" autoDeploy="true"
xmlValidation="false" xmlNamespaceAware="false">
So with that said I belive that I would have to set up another host. Everyone out there: If I stand corrected please tell me ???????
I LOVE IT WHEN I'M CORRECTED; it simply means I'm learning something new.
sven morales wrote:
Wait a minute, you didnt say you were using Apache to front the Tomcat did you? At least thats the impression I gathered since you were hitting it as http://localhost/~userjoe/index.jsp. I am not overly familiar with having Apache fronting Tomcat. With that kind of URI, I think its going to the apache side and not to Tomcat. You must set your mapping in http.conf or worker.properties(?) to make this work. Or your set-up has Tomcat serving off port 80 and you are running this as root right?
--- Dwayne Ghant <[EMAIL PROTECTED]> wrote:
I did as suggested but it didn't work . The ironic$CATALINAHOME/work/Catalina/localhost/<~username>/<classname.class>,
thing now is that scence
I tried that the user accounts
"/home/<username>/public_html" no longer works to
compile jsp pages. I figure this is weird becasue I
see the compilation .class files in
the
but
when I try to go to
http://localhost/~<username>/index.jsp I just see a pure white page. No
matter how many time I reboot the server I get the
same result????
Does anyone else want to take a shoot at this or am I to give up.
sven morales wrote:
I think there is another attribute to <Listener>put
which is home.Base. Set this where you normally
user/public_html directory. For example on mine,its
set as homeBase="/home" and user home is /home/sergio. Once this is working, any war fileson
your /home/user/public_html should get expanded.on
--- Dwayne Ghant <[EMAIL PROTECTED]> wrote:
Anybody won't to take a shoot at this? Dwayne Ghant wrote:
Intresting question associated with this subject.
If I have "public_html " enabled for developers
userClass="org.apache.catalina.startup.PasswdUserDatabase"/>local machine ex:className="org.apache.catalina.startup.UserConfig"
<Listener
directoryName="public_html"
War
Can I have a setting for tomcat to unwar therepersonal test
(listed below):applications in there public_html directories????
I'm assuming it would look something like this
<Host name="localhost" debug="0"appBase="/home/*/public_html"
unpackWARs="true" autoDeploy="true"xmlNamespaceAware="false">
xmlValidation="false"
finish setting up</Host>
I'm probably incorrect, but I do need to know, to
do.JSP enviornment for java developers like myself. . Rhino wrote:
It's actually very easy to do what you want to
configured Sysdeo, you willAssuming you have correctly installed and
Tomcat project should beneed
to tell Eclipse where the War file for your
i.e. you have to repeatgenerated. This is done on a *project* basis,
you will never havethis
step once for each Tomcat project you create but
the location whereto do
this again for a given project unless you change
Explorer perspective.you want the War file.
1. Select the Tomcat project in the Package
'Properties'.2. Right click for a context menu. Choose
tree on the left.3. Within Properties, choose 'Tomcat' from the
within the Tomcat4. Click on the 'Export to WAR settings' tab
generate your War file. Theproperties.
5. Enter the path that tells Tomcat where to
path name should include the file name of the
file. I normally
beneath the project so myput my
War files in a folder called 'war' directly
Naturally, you are"WARD:\eclipse\workspace\MyProject\war\MyProject.war.
file for export" looks like this:
free to
=== message truncated ===
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--
Dwayne A. Ghant Application Developer Temple University 215.204.5555 [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
