You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Jay G. Scott" <gl...@arlut.utexas.edu> on 2006/06/16 00:38:47 UTC

Re: can't save a context.--both work

> 
> ok...
> just for the sake of problem identifying: can you stop your tomcat
> go into webapps directory, create a new directory foo
> change into foo, create an empty WEB-INF directory.
> 
> copy a plain html and a plain jsp file into webapps/foo, like foo.jsp
> and foo.html
> 
> try http://host:port/foo/foo.html and  http://host:port/foo/foo.jsp
> and tell us what happens?

both of those work, no fuss, no muss, no making of contexts, just
doing them, both work.

it's remarkable to me that the jsp works, because in the "other" dirs,
the other contexts, that is, i get compile problems.  here, the .jsp
just works.

thanks.

j.


> 
> regards
> Leon
> 
> 
> On 6/16/06, Jay G. Scott <gl...@arlut.utexas.edu> wrote:
> >
> > okay.  i'm being seen.  thanks for that, at least.
> >
> > i can't save a context.  I go to catalina-> localhost->make a context
> > i put in the paths.
> > i click save, it says save successful.
> > i click commit changes.
> >
> > i then try to use the context, on a file some vendor supplied, called
> > about.jsp.  it does not compile--that's another problem, but maybe
> > that'll help diagnose.
> >
> > if i put a flat.html file of my own in that location, i can see that
> > file 100%.  so the context has "taken," if you will.
> >
> > i do a find /apache-tomcat-5.5.17 -name ibi_apps\*
> > and it does not show a ibi_apps.xml file.  it does show some others:
> > ./work/Catalina/localhost/ibi_apps
> >
> > if i start/stop tomcat, the context is gone.
> >
> > how'd i install?  like this:
> > as root
> > mkdir /apache-tomcat-5.5.17
> > chown jgs:omssys /apache-tomcat-5.5.17
> >
> > su - jgs
> > cd /
> >
> > umask 022
> >
> > gtar xf apache-tomcat-5.5.17.tar
> >
> > gtar xf apache-tomcat-5.5.17-admin.tar
> > -------------
> >
> > edited startup.sh, shutdown.sh, tomcat-users.xml.
> >
> > the startup, shutdown i presume cannot be the problem--otherwise,
> > things wouldn't start at all, right?  i can start/stop and see
> > the processes when they're running.
> >
> > solaris 9
> > java 1.5.0_07
> > tomcat 5.5.17
> > i had apache-1.3.29 but i can use another or leave it out....
> >
> >  ls -ld /apache-tomcat-5.5.17
> > drwxr-xr-x  11 jgs      omssys       512 Jun 15 16:26 /apache-tomcat-5.5.17
> >
> > i have this same problem on another machine.  i'm inclined to think
> > it's a bug in 5.5.17....  i'm grasping at straws.
> >
> > thanks for whatever.
> >
> > j.
> >
> > --
> > Jay Scott               512-835-3553            gl@arlut.utexas.edu
> > Head of Sun Support, Sr. Operating Systems Specialist
> > Applied Research Labs, Computer Science Div.                   S224
> > University of Texas at Austin
> >
> > ---------------------------------------------------------------------
> > To start a new topic, e-mail: users@tomcat.apache.org
> > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> > For additional commands, e-mail: users-help@tomcat.apache.org
> >
> >
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 


-- 
Jay Scott		512-835-3553		gl@arlut.utexas.edu
Head of Sun Support, Sr. Operating Systems Specialist
Applied Research Labs, Computer Science Div.                   S224
University of Texas at Austin

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org