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]