tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <madhom...@yahoo.com>
Subject Re: ok, am I offically lost here
Date Mon, 23 Jun 2003 01:59:40 GMT
ok, now I got it working on the tomcat server I want
to allow access through my apache.

so I figured all I needed to do was add the /testing/*
to my workers2,properties files like this

here is the example for examples
[uri:/examples/*]
info=Map the whole webapp

here is mine
[uri:/testing/*]
info=My stuff

what am I doing wrong?


--- madhombre@yahoo.com wrote:
> thanks for the advice, however I did that
> 
> created a testing folder under the webapps folder.
> put in a basic index.jsp page, copied the WEB_INF
> folder from root, added a classes and lib sub
> folders
> 
> and same thing
> 
> even made sure the grp was set to tomcat4
> 
> what am I doing wrong, when I started the index page
> came up just fine and I could also see the examples
> 
> I am going to restart the server to see if that
> helps.
> 
> this is very odd indeed.
> 
> BTW any idea how to turn on the symbolic links
> support?
> 
> 
> --- Jason Bainbridge <jason@jblinux.org> wrote:
> > G'day,
> > 
> > You're first stop should be here:
> > 
> >
>
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/index.html
> > 
> > and for something more indepth you can check out
> the
> > online version of Core 
> > Servlets and JSP at:
> > 
> > http://www.coreservlets.com/
> > 
> > I think by default support for symbolic links are
> > switched off so that is why 
> > it wouldn't be working for you, the ROOT webapp is
> a
> > special one and servers 
> > from the root context as the name would suggest.
> > What you want to do is 
> > create something like:
> > 
> > webapps/
> > 	/mywebapp
> > 		yourjsp.jsp
> > 		/asubdir/asub.jsp
> > 		/WEB-INF
> > 			/classes
> > 			/lib
> > 			web.xml (copy the one from the ROOT web app to
> > start
> > 
> > You JSP would then be accessible at
> > http://localhost:8080/mywebapp/yourjsp.jsp 
> > and http://www.coreservlets.com/asubdir/asub.jsp
> > 
> > That would give you a good start and the
> > documentation should help with the 
> > rest. :)
> > 
> > Cheers,
> > -- 
> > Jason Bainbridge
> > http://jblinux.org
> > 
> > On Mon, 23 Jun 2003 05:28, madhombre@yahoo.com
> > wrote:
> > > I am totally new to JSP/serlets, my background
> is
> > C++
> > > then PHP and recently Java again. I am fine with
> > > these, but this has me baffled.
> > >
> > > I am almost home when it comes to the install,
> had
> > > some issues but almost all is working.
> > >
> > > My last hurdle is one which is very confusing.
> > >
> > > ok, there is a webapps directory, inside is a
> very
> > > dirs, examples, ROOT etc.
> > >
> > > the normal root page loads up and I can get to
> the
> > > examples, the confusion starts here, the ROOT
> > houses
> > > the index.jsp, but the examples are not UNDER
> ROOT
> > > they are a different dir back one in webapps.
> > >
> > > WHEN I add a jsp page into the root it works
> fine
> > >
> > > SO all I want to do is start messing with JSP
> for
> > now.
> > > I have a folder which houses my work seperate
> from
> > the
> > > app structure. so I created a jsp folder and
> then
> > > threw in s ln -s to it in the ROOT (also tried
> the
> > > webapps) then I renamed the main index file
> under
> > > ROOT, so there is not one, then when I goto root
> > in
> > > the browser I get a dir tree. there is my jsp
> > folder
> > > BUT when I click on it it says resource is not
> > > available!!
> > >
> > > what I did was I changed the grp on the folder
> to
> > be
> > > tomcat4, just as the other items are.
> > >
> > > why can't I see this folder and get to a jsp in
> > there?
> > >
> > > the docs are confusing and all they talk about
> is
> > > setting up web apps and stuff, I am far from
> this,
> > I
> > > just want to do a very tests to get going.
> > >
> > > Do I need to create web app for each of them?
> > >
> > > I have looked online and have not found the
> > answer,
> > > please help!
> > >
> > > Thanks
> > >
> > > tomcat 4.1.24
> > > redhat 7.3
> > >
> > > __________________________________
> > > Do you Yahoo!?
> > > SBC Yahoo! DSL - Now only $29.95 per month!
> > > http://sbc.yahoo.com
> > >
> > >
> >
>
---------------------------------------------------------------------
> > > 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!?
> SBC Yahoo! DSL - Now only $29.95 per month!
> http://sbc.yahoo.com
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> tomcat-user-help@jakarta.apache.org
> 


__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

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


Mime
View raw message