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/19 18:30:17 UTC

Re: can't save a context. 5.0.28 will save.

okay.  some definite results.

5.5.17
solaris 9
29 > java -version
java version "1.5.0_07"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-b03)
Java HotSpot(TM) Client VM (build 1.5.0_07-b03, mixed mode, sharing)

this does not make a yourapp.xml file.  it further forgets all contexts
added via the web interface  when tomcat is restarted.


5.0.28
same for all the rest.

does ***NOT*** forget contexts.  the .xml file persists and the context
appears when expanded under catalina-localhost on the web page.


based on the above, i would say it's a bug at the 5.5.17 release, but
remember i'm completely unschooled in java (almost).

j.


[snip]

> > > 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?
> > >
> > > 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
[snipt]

-- 
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