i got three suggestions.  (i was out friday.)  i've looked at them all.

| 
| Hi 
| The other thing is please remove your TOMCAT_HOME/webapps/yourApp.war file
| from webapps directory to some other place. Other wise you may loose your
| settings again if you restart tomcat. 
| Ask me for any help,
| Regards,
| Dilan Kelanibandara

i don't have any *.war files of my own.  there are some in this third
party thing, but i didn't put any of them in any part of the tomcat tree.

| 
| Hi,
| Hi,
| Rather saving your context.xml file in the place you specify, you can save
| it in TOMCAT_HOME/webapps/yourApp/META-INF/

i didn't specify where to save anything.  i'm taking all defaults.
where should i change that?

| 
| And you can specify 'Context' in TOMCAT_HOME/webapps/yourApp/WEB-INF/web.xml
| The context should be at the end of web.xml , any way it depends on your
| other resource definition.

here's all the web.xml files in the tomcat home tree.  none of these
get modified, so that should mean none of them are getting my context.
also, all of these are files which come with the distribution, right?

/apache-tomcat-5.5.17/conf/web.xml
/apache-tomcat-5.5.17/server/webapps/host-manager/WEB-INF/web.xml
/apache-tomcat-5.5.17/server/webapps/manager/WEB-INF/web.xml
/apache-tomcat-5.5.17/server/webapps/admin/WEB-INF/web.xml
/apache-tomcat-5.5.17/webapps/ROOT/WEB-INF/web.xml
/apache-tomcat-5.5.17/webapps/balancer/WEB-INF/web.xml
/apache-tomcat-5.5.17/webapps/jsp-examples/WEB-INF/web.xml
/apache-tomcat-5.5.17/webapps/servlets-examples/WEB-INF/web.xml
/apache-tomcat-5.5.17/webapps/tomcat-docs/WEB-INF/web.xml
/apache-tomcat-5.5.17/webapps/tomcat-docs/appdev/sample/web/WEB-INF/web.xml
/apache-tomcat-5.5.17/webapps/webdav/WEB-INF/web.xml

| Stick to tomcat documentation at
| 
| 
| http://tomcat.apache.org/tomcat-5.5-doc/jndi-resources-howto.html 

sorry.  i'm a newbie to all this java stuff.  i looked at it, i can't see
where to start.  there's some people here who may be able to help me w/
what the docs mean, but....  i can't tell.

| 
| Tomcat5.5 uses a different JNDI resource definition than Tomcat5. That is
| why you are not allowed to save that file in the location you specify.

does this mean the 5.0.28 might work?  i downloaded it, i haven't had a
chance to do anything w/ it yet.

| 
| Reply me for any clarifications.
| 
| Regards,
| Dilan Kelanibandara

| 
| Also you will need write/create permissions to the %TOMCAT_HOME%/work 
| folder..

the process was running as user jgs.  the whole directory tree is owned
by jgs.  the work dir was mode 755.  i changed it to 1777 for good measure.
didn't help.  (i changed all the directories in an earlier attempt to 1777,
didn't help.  i got to wondering whether there was something which looked
at permissions and decided 1777 was too loose, so i went back to 755.)

i guess i will try 5.0.28 as soon as i can.

thanks.  i'll let you know, of course.

j.
| Martin-
| 

> 
> Hi 
> The other thing is please remove your TOMCAT_HOME/webapps/yourApp.war file
> from webapps directory to some other place. Other wise you may loose your
> settings again if you restart tomcat. 
> Ask me for any help,
> Regards,
> Dilan Kelanibandara
> 
> -----Original Message-----
> From: Dilan Kelanibandara [mailto:[EMAIL PROTECTED] 
> Sent: Sunday, June 18, 2006 10:23 PM
> To: 'Tomcat Users List'; 'Martin Gainty'
> Subject: RE: can't save a context.
> 
> Hi,
> Hi,
> Rather saving your context.xml file in the place you specify, you can save
> it in TOMCAT_HOME/webapps/yourApp/META-INF/
> 
> And you can specify 'Context' in TOMCAT_HOME/webapps/yourApp/WEB-INF/web.xml
> The context should be at the end of web.xml , any way it depends on your
> other resource definition.
> Stick to tomcat documentation at
> 
> 
> http://tomcat.apache.org/tomcat-5.5-doc/jndi-resources-howto.html 
> 
> Tomcat5.5 uses a different JNDI resource definition than Tomcat5. That is
> why you are not allowed to save that file in the location you specify.
> 
> Reply me for any clarifications.
> 
> Regards,
> Dilan Kelanibandara
> 
> 
> -----Original Message-----
> From: Martin Gainty [mailto:[EMAIL PROTECTED] 
> Sent: Sunday, June 18, 2006 10:01 PM
> To: Tomcat Users List
> Subject: Re: can't save a context.
> 
> Also you will need write/create permissions to the %TOMCAT_HOME%/work 
> folder..
> Martin-
> 
> This email message and any files transmitted with it contain confidential
> information intended only for the person(s) to whom this email message is
> addressed.  If you have received this email message in error, please notify
> the sender immediately by telephone or email and destroy the original
> message without making a copy.  Thank you.
> 
> ----- Original Message ----- 
> From: "Leon Rosenberg" <[EMAIL PROTECTED]>
> To: "Tomcat Users List" <users@tomcat.apache.org>
> Sent: Thursday, June 15, 2006 6:11 PM
> Subject: Re: can't save a context.
> 
> 
> > 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 <[EMAIL PROTECTED]> 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            [EMAIL PROTECTED]
> >> 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: [EMAIL PROTECTED]
> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >
> > ---------------------------------------------------------------------
> > To start a new topic, e-mail: users@tomcat.apache.org
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> > 
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


-- 
Jay Scott               512-835-3553            [EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to