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
> 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
>
$CATALINAHOME/work/Catalina/localhost/<~username>/<classname.class>,
> 
> 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>
> >which is home.Base.  Set this where you normally
> put
> >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 files
> on
> >your /home/user/public_html should get expanded. 
> >
> >
> >--- 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
> on
> >>>local machine ex:
> >>>           <Listener
> >>>      
> >>>
> >>className="org.apache.catalina.startup.UserConfig"
> >>    
> >>
> >>>           directoryName="public_html"
> >>>          
> >>>      
> >>>
>
>userClass="org.apache.catalina.startup.PasswdUserDatabase"/>
> >  
> >
> >>>Can I have  a setting for tomcat to unwar there
> >>>      
> >>>
> >>personal test 
> >>    
> >>
> >>>applications in
> >>>there public_html directories????
> >>>
> >>>I'm assuming it would look something like this
> >>>      
> >>>
> >>(listed below):
> >>    
> >>
> >>>     <Host name="localhost" debug="0"
> >>>      
> >>>
> >>appBase="/home/*/public_html"
> >>    
> >>
> >>>      unpackWARs="true" autoDeploy="true"
> >>>      xmlValidation="false"
> >>>      
> >>>
> >>xmlNamespaceAware="false">
> >>    
> >>
> >>>       </Host>
> >>>
> >>>I'm probably incorrect, but I do need to know, to
> >>>      
> >>>
> >>finish setting up 
> >>    
> >>
> >>>JSP enviornment for
> >>>java developers like myself.
> >>>.
> >>>Rhino wrote:
> >>>
> >>>      
> >>>
> >>>>It's actually very easy to do what you want to
> >>>>        
> >>>>
> >>do.
> >>    
> >>
> >>>>Assuming you have correctly installed and
> >>>>        
> >>>>
> >>configured Sysdeo, you will 
> >>    
> >>
> >>>>need
> >>>>to tell Eclipse where the War file for your
> >>>>        
> >>>>
> >>Tomcat project should be
> >>    
> >>
> >>>>generated. This is done on a *project* basis,
> >>>>        
> >>>>
> >>i.e. you have to repeat 
> >>    
> >>
> >>>>this
> >>>>step once for each Tomcat project you create but
> >>>>        
> >>>>
> >>you will never have 
> >>    
> >>
> >>>>to do
> >>>>this again for a given project unless you change
> >>>>        
> >>>>
> >>the location where 
> >>    
> >>
> >>>>you want
> >>>>the War file.
> >>>>
> >>>>1. Select the Tomcat project in the Package
> >>>>        
> >>>>
> >>Explorer perspective.
> >>    
> >>
> >>>>2. Right click for a context menu. Choose
> >>>>        
> >>>>
> >>'Properties'.
> >>    
> >>
> >>>>3. Within Properties, choose 'Tomcat' from the
> >>>>        
> >>>>
> >>tree on the left.
> >>    
> >>
> >>>>4. Click on the 'Export to WAR settings' tab
> >>>>        
> >>>>
> >>within the Tomcat 
> >>    
> >>
> >>>>properties.
> >>>>5. Enter the path that tells Tomcat where to
> >>>>        
> >>>>
> >>generate your War file. The
> >>    
> >>
> >>>>path name should include the file name of the
> War
> >>>>        
> >>>>
> >>file. I normally 
> >>    
> >>
> >>>>put my
> >>>>War files in a folder called 'war' directly
> >>>>        
> >>>>
> >>beneath the project so my 
> >>    
> >>
> >>>>"WAR
> >>>>file for export" looks like this:
>
>>>>D:\eclipse\workspace\MyProject\war\MyProject.war.
> >>>>        
> >>>>
> >>Naturally, you are 
> >>    
> >>
> >>>>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]

Reply via email to