Re: Hide JSP name using web.xml

2010-04-01 Thread Konstantin Kolinko
2010/4/1 Karthik Nanjangude karthik.nanjang...@xius-bcgi.com: I also have roughly 300+ similar pages across folder1 /folder 2 You will either need something to generate that web.xml for you, or some person to type in those 300 mappings (if they are all different), or use some Filter/Servlet

Hide JSP name using web.xml

2010-03-31 Thread Karthik Nanjangude
Hi SPEC : O/s UNIX / WIN2000 / Linux JDK1.5 TOMCAT 5.0.20.0 Question: How to hide the name ( other then index.jsp ) of JSP in URL for a web application ? For a valid reason I have 5 jsp folders. All 5 jsp folders Do NOT have index.jsp as primary folder but other names. Any ideas plz ...

Re: Hide JSP name using web.xml

2010-03-31 Thread Andrew Bruno
do you want the other names to be default? e.g. http://domain.com/folder/soepage.jsp == http://domain.com/folder/ if so, you can add soepage.jsp to the list of default pages in web.xml On Wed, Mar 31, 2010 at 8:16 PM, Karthik Nanjangude karthik.nanjang...@xius-bcgi.com wrote: Hi SPEC : O

RE: Hide JSP name using web.xml

2010-03-31 Thread Karthik Nanjangude
://domain.com/folder4/ http://domain.com/folder5/axbyd.jsp == http://domain.com/folder5/ How To *list of default pages in web.xml* With regards Karthik -Original Message- From: Andrew Bruno [mailto:andrew.br...@gmail.com] Sent: Wednesday, March 31, 2010 3:19 PM To: Tomcat Users List Subject

Re: Hide JSP name using web.xml

2010-03-31 Thread 2smart4u
hm, might be a bit of typo-work, but why not specify them in your deployment-descriptor (aka web.xml)? example (snippet): servlet description/description display-nameSomeName/display-name servlet-nameMyServlet/servlet-name

Re: Hide JSP name using web.xml

2010-03-31 Thread Konstantin Kolinko
2010/3/31 Karthik Nanjangude karthik.nanjang...@xius-bcgi.com: Let us say I have http://domain.com/folder1/abcd.jsp  == http://domain.com/folder1/ http://domain.com/folder2/xyz.jsp   == http://domain.com/folder2/ (..) You want to have requests to http://domain.com/folder1/ to be processed by

RE: Hide JSP name using web.xml

2010-03-31 Thread Karthik Nanjangude
Hi I would want to request a jsp page from another page as following http://domain.com/folder1/abcd.jsp to http://domain.com/folder2/xyz.jsp Using Javascript / action But I need both the JSP pages hidden in the URL .. :( With web.xml configurations should each configurations need

security-constraint in web.xml - order/priority

2010-03-10 Thread Mats Eklund
Hi, If I have more than one security-constraint tags in my web.xml (some with, some without auth-constraints), which one takes precedence for a specific request? Thanks, Mats

RE: security-constraint in web.xml - order/priority

2010-03-10 Thread Caldarale, Charles R
From: Mats Eklund [mailto:mats.ekl...@yahoo.com] Subject: security-constraint in web.xml - order/priority If I have more than one security-constraint tags in my web.xml (some with, some without auth-constraints), which one takes precedence for a specific request? Generally, the longest

ROOT.war - how to access web.xml

2010-02-27 Thread Søren Blidorf
I have deployed my ROOT.war file. Is there any way to access the web.xml. I save db login info in it and I would like to be able to deploy the same ROOT.war file on different sites and only change the web.xml after. Soren

Re: ROOT.war - how to access web.xml

2010-02-27 Thread Hassan Schroeder
2010/2/27 Søren Blidorf so...@nolas.dk: I have deployed my ROOT.war file. Is there any way to access the web.xml. I save db login info in it and I would like to be able to deploy the same ROOT.war file on different sites and only change the web.xml after. ssh + vi should do it, eh

SV: ROOT.war - how to access web.xml

2010-02-27 Thread Søren Blidorf
Hi. Thanks, but I dont know what you mean. Kind of newbie in .war -Oprindelig meddelelse- Fra: Hassan Schroeder [mailto:hassan.schroe...@gmail.com] Sendt: 27. februar 2010 19:04 Til: Tomcat Users List Emne: Re: ROOT.war - how to access web.xml 2010/2/27 Søren Blidorf so...@nolas.dk

Re: ROOT.war - how to access web.xml

2010-02-27 Thread Hassan Schroeder
2010/2/27 Søren Blidorf so...@nolas.dk: Thanks, but I dont know what you mean. Assuming your war is being expanded, log in and edit the file. Or is that an incorrect assumption? -- Hassan Schroeder hassan.schroe...@gmail.com twitter: @hassan

SV: ROOT.war - how to access web.xml

2010-02-27 Thread Søren Blidorf
When it is deployed the only thing I see when I FTP the site is the ROOT.war file. -Oprindelig meddelelse- Fra: Hassan Schroeder [mailto:hassan.schroe...@gmail.com] Sendt: 27. februar 2010 19:10 Til: Tomcat Users List Emne: Re: ROOT.war - how to access web.xml 2010/2/27 Søren Blidorf so

Re: ROOT.war - how to access web.xml

2010-02-27 Thread Hassan Schroeder
a bit. Though you could manually unpack it somewhere, edit. repack and redeploy. Otherwise, you really need to configure the web.xml as part of your build process for each location. -- Hassan Schroeder hassan.schroe...@gmail.com twitter: @hassan

RE: ROOT.war - how to access web.xml

2010-02-27 Thread Caldarale, Charles R
From: Søren Blidorf [mailto:so...@nolas.dk] Subject: ROOT.war - how to access web.xml I have deployed my ROOT.war file. Is there any way to access the web.xml. I save db login info in it and I would like to be able to deploy the same ROOT.war file on different sites and only change

SV: ROOT.war - how to access web.xml

2010-02-27 Thread Søren Blidorf
Great. I'll try that. Thanks alot -Oprindelig meddelelse- Fra: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sendt: 27. februar 2010 19:21 Til: Tomcat Users List Emne: RE: ROOT.war - how to access web.xml From: Søren Blidorf [mailto:so...@nolas.dk] Subject: ROOT.war - how

SV: ROOT.war - how to access web.xml

2010-02-27 Thread Søren Blidorf
By the way. I also have info as init-param in my struts servlet configured in the web.xml So I guess I should just loose the getServlet.getInitParameter and just use getServletContext().getInitParameter??? By the way I don’t have access to the conf. I guess I have access to ROOT or webapps. Can

Tomcat web.xml

2010-02-12 Thread Sharda, Ravi
I have set Session-Config/session-timeout eleemnt's value in application's web.xml as 100. However, the sessions seem to timeout in the default 30 minutes. However, setting this value lesser than 30, seems to work fine. Appreciate help on this. Thanks Best Regds.- Ravi Sharda

environment entries web.xml localhost/context.xml confusion

2010-02-01 Thread che10234
Hi, I'm trying to figure out how to use/modify environment entries. I have a Tomcat5.5 application and I don't understand why the env entries appear in two different xml files, and with different values. For example, I have this env-entry in my myapp/WEB-INF/web.xml file: env-entry env-entry

RE: environment entries web.xml localhost/context.xml confusion

2010-02-01 Thread Caldarale, Charles R
From: che10234 [mailto:cheni...@rogers.com] Subject: environment entries web.xml localhost/context.xml confusion I don't understand why the env entries appear in two different xml files, and with different values. Tomcat doesn't create these; the developer (or administrator) does. You have

RE: environment entries web.xml localhost/context.xml confusion

2010-02-01 Thread che10234
Tomcat doesn't create these; the developer (or administrator) does. You have the choice of placing environment entries in either location. IIRC, the ones in the Context element will supersede the ones in web.xml, allowing the administrator to replace any the developer set without

Re: Help with security-constraint in web.xml

2010-01-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Joe, On 1/4/2010 6:45 PM, Joe Hansen wrote: I just forgot to enable the HTTPS Connector! Login form is working now over https. Connector port=8080 protocol=HTTP/1.1 connectionTimeout=2 redirectPort=8443 / Connector port=8443

Help with security-constraint in web.xml

2010-01-04 Thread Joe Hansen
Hey all, We are using Tomcat 6.0 / Apache 2.2. We would like the user to login over HTTPS rather than plain HTTP. So, I have defined the following security-constraint in the web.xml file of our web application: security-constraint display-nameLogin/display-name

RE: Help with security-constraint in web.xml

2010-01-04 Thread Caldarale, Charles R
From: Joe Hansen [mailto:joe.hansen...@gmail.com] Subject: Help with security-constraint in web.xml What do I need to do so that the user is directed to https://ourwebsite.com/spring_security_login instead Fix the redirectPort attribute in your Connector elements in conf/server.xml. BTW

Re: Help with security-constraint in web.xml

2010-01-04 Thread Joe Hansen
please elaborate on how to do it or give me pointers on how it could be done? Thank you!! Joe On Mon, Jan 4, 2010 at 2:57 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Joe Hansen [mailto:joe.hansen...@gmail.com] Subject: Help with security-constraint in web.xml What do I

RE: Help with security-constraint in web.xml

2010-01-04 Thread Caldarale, Charles R
From: Joe Hansen [mailto:joe.hansen...@gmail.com] Subject: Re: Help with security-constraint in web.xml You were saying that I should handle the forced HTTPS redirection of certain pages on the httpd end, right? No, I said you could handle the SSL encryption/decryption in httpd

RE: Help with security-constraint in web.xml

2010-01-04 Thread Caldarale, Charles R
From: Joe Hansen [mailto:joe.hansen...@gmail.com] Subject: Re: Help with security-constraint in web.xml Only a couple of pages need to be served on HTTPS on our website. All the remaining pages could be accessed using just HTTP. Then I'd use what you've got and not try to optimize what

Re: Help with security-constraint in web.xml

2010-01-04 Thread Joe Hansen
the login form. I'm sure there must be a simple explanation. Chuck, please help me out!! Thank you, Joe On Mon, Jan 4, 2010 at 3:25 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Joe Hansen [mailto:joe.hansen...@gmail.com] Subject: Re: Help with security-constraint in web.xml

RE: Help with security-constraint in web.xml

2010-01-04 Thread Caldarale, Charles R
From: Joe Hansen [mailto:joe.hansen...@gmail.com] Subject: Re: Help with security-constraint in web.xml However, when I enter the login credentials and submit the form, nothing happens. Somehow changing the redirectPort seems to have broken the login form. Turn on the AccessLogValve to see

Re: Help with security-constraint in web.xml

2010-01-04 Thread Joe Hansen
-constraint in web.xml However, when I enter the login credentials and submit the form, nothing happens. Somehow changing the redirectPort seems to have broken the login form. Turn on the AccessLogValve to see what's reaching Tomcat. Are you using httpd for anything useful?  If all it's doing

Re: exclusions from conf/web.xml are not being picked up

2009-12-15 Thread Pid
On 15/12/2009 06:45, Shaun Senecal wrote: I have a blanket security-constraint defined in my conf/web.xml, followed by a couple more specific security-constraints. However, it appears that the more specific ones are not being picked up. When I break in FormAuthenticator.invoke(), I can see

RE: exclusions from conf/web.xml are not being picked up

2009-12-15 Thread Caldarale, Charles R
From: Pid [mailto:p...@pidster.com] Subject: Re: exclusions from conf/web.xml are not being picked up The /agentapp/ could be deployed in it's own war, or exploded dir, with a separate web.xml. The favicon is a bit more tricky, not sure you can do what you want to as long as the first rule

Re: exclusions from conf/web.xml are not being picked up

2009-12-15 Thread Shaun Senecal
Thanks Chuck. That is in fact what I was doing, so I will move that into the webapps web.xml. Pid, I'm actually not as concerned about the favicon as I am with agentapp, but your suggestion of moving it into the webapp seems to be the key. Thanks. On Wed, Dec 16, 2009 at 12:32 AM, Caldarale

exclusions from conf/web.xml are not being picked up

2009-12-14 Thread Shaun Senecal
I have a blanket security-constraint defined in my conf/web.xml, followed by a couple more specific security-constraints. However, it appears that the more specific ones are not being picked up. When I break in FormAuthenticator.invoke(), I can see in the constraints variable (SecurityConstraint

Cannot reload a virtual host webapp with web.xml

2009-10-18 Thread jasonsa
When modifying the web.xml (c:/mywebapps/app/WEB-INF/web.xml) the webapp does not reload with this configuration... Host name=mysite.com appBase=webapps Context path= docBase=c:/mywebapps/app reloadable=false WatchedResourceWEB-INF/web.xml/WatchedResource /Context /Host However

Re: SEVERE: Parse error in default web.xml

2009-10-04 Thread André Warnier
Eric B. wrote: andre andrewarn...@gmail.com wrote in message news:003c01ca43b9$0ef57ae0$2ce070...@com... ... Are your all your files readable by the process that is running tomcat? For instance, if tomcat is running under user tomcat, and your files are only readable by andre, you will

Re: SEVERE: Parse error in default web.xml

2009-10-04 Thread Pid
On 04/10/2009 09:33, André Warnier wrote: Eric B. wrote: andre andrewarn...@gmail.com wrote in message news:003c01ca43b9$0ef57ae0$2ce070...@com... ... Are your all your files readable by the process that is running tomcat? For instance, if tomcat is running under user tomcat, and your files

Re: SEVERE: Parse error in default web.xml

2009-10-03 Thread Eric B.
in default web.xml java.security.AccessControlException: access denied (java.lang.RuntimePermission accessClassInPackage.org.apache.catalina.core) Are your all your files readable by the process that is running tomcat? For instance, if tomcat is running under user tomcat, and your files

SEVERE: Parse error in default web.xml

2009-10-02 Thread andre
resource () is not available. Apache Tomcat/5.5 I find some error in my tomcat log Oct 3, 2009 12:44:10 AM org.apache.catalina.startup.ContextConfig processDefaultWebConfig SEVERE: Parse error in default web.xml java.security.AccessControlException: access denied

FW: SEVERE: Parse error in default web.xml

2009-10-02 Thread andre
resource () is not available. Apache Tomcat/5.5 I find some error in my tomcat log Oct 3, 2009 12:44:10 AM org.apache.catalina.startup.ContextConfig processDefaultWebConfig SEVERE: Parse error in default web.xml java.security.AccessControlException: access denied

Version in web.xml

2009-09-07 Thread David Balažic
Hi! Is the version mismatch in the web-app tag, like this: web-app version=2.4 xmlns=http://java.sun.com/xml/ns/javaee; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd; an

Re: Version in web.xml

2009-09-07 Thread Mark Thomas
David Balažic wrote: Hi! Is the version mismatch in the web-app tag, like this: web-app version=2.4 xmlns=http://java.sun.com/xml/ns/javaee; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://java.sun.com/xml/ns/javaee

Where can i get the specification of web.xml?

2009-07-03 Thread chenjh
Hi all, Where can i find reference, or something like that, for tomcat's web.xml. Regards chenjh 2009-07-03 - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h

Re: Where can i get the specification of web.xml?

2009-07-03 Thread Achal Patel
Chenjh, You can find the same at below location: http://sunsite.berkeley.edu:8080/docs/config/index.html Thanks, Achal. On Fri, Jul 3, 2009 at 12:19 PM, chenjh che...@thinker.com.cn wrote: Hi all, Where can i find reference, or something like that, for tomcat's web.xml. Regards chenjh

Re: Where can i get the specification of web.xml?

2009-07-03 Thread chenjh
Thanks Patel, but I need reference for web.xml. Regards chenjh 2009-07-03 -Original Message-- Chenjh, You can find the same at below location: http://sunsite.berkeley.edu:8080/docs/config/index.html Thanks, Achal. On Fri, Jul 3, 2009 at 12:19 PM, chenjh che

Re: Where can i get the specification of web.xml?

2009-07-03 Thread Achal Patel
http://tomcat-configure.blogspot.com/2009/01/tomcat-web-xml.html On Fri, Jul 3, 2009 at 1:02 PM, chenjh che...@thinker.com.cn wrote: Thanks Patel, but I need reference for web.xml. Regards chenjh 2009-07-03 -Original Message-- Chenjh, You can find the same at below

Re: Where can i get the specification of web.xml?

2009-07-03 Thread chenjh
The page is not available. Regards chenjh 2009-07-03 -Original Message-- http://tomcat-configure.blogspot.com/2009/01/tomcat-web-xml.html On Fri, Jul 3, 2009 at 1:02 PM, chenjh che...@thinker.com.cn wrote: Thanks Patel, but I need reference for web.xml. Regards chenjh

Re: Where can i get the specification of web.xml?

2009-07-03 Thread Konstantin Kolinko
2009/7/3 chenjh che...@thinker.com.cn: Hi all, Where can i find reference, or something like that, for tomcat's web.xml. Regards chenjh 2009-07-03 web.xml is defined by the Java Servlet Specification. There is nothing Tomcat-specific in it. It is Servlet 2.5 for Tomcat 6, Servlet 2.4

Re: Where can i get the specification of web.xml?

2009-07-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 chenjh, On 7/3/2009 2:49 AM, chenjh wrote: Where can i find reference, or something like that, for tomcat's web.xml. Don't listen to these folks who are just googling web.xml reference and posting the link. Instead, use your head and look

Tomcat 5.5.23 disappearing web.xml on unstable NFS mount

2009-06-06 Thread Marco van Hattem
Hi, I've got a redhat system where seemingly at random, some applications are losing the WEB-INF/web.xml file. It looks like there is a problem with the NFS mount where the application lives, but I don't understand why the web.xml would disappear when there are timeouts on the nfs mount

Re: Tomcat migration 4.1.3 to 5.5.23: Tomcat5.5 searching servlet file in file system and reporting 404 error rather mapping in web.xml

2009-04-24 Thread André Warnier
Sriganesh Ananth wrote: Hi Andre, I got Forbidden - You don't have permission to access /test/WEB-INF/web.xml on this server. Under httpd.conf, just before VirtualHost I have following to deny all from accessing WEB-INF folder. Httpd.conf configuration: # Globally deny access to the WEB-INF

Re: Tomcat migration 4.1.3 to 5.5.23: Tomcat5.5 searching servlet file in file system and reporting 404 error rather mapping in web.xml

2009-04-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 4/24/2009 3:27 AM, André Warnier wrote: Sriganesh Ananth wrote: What also still smells fishy is the line Alias /test /var/www/testapp/ Why is it there ? What does it achieve, that the following 2 lines do not ? JkMount /*.do ajp13

Tomcat migration 4.1.3 to 5.5.23: Tomcat5.5 searching servlet file in file system and reporting 404 error rather mapping in web.xml

2009-04-23 Thread Sriganesh Ananth
mapping in web.xml. Tomcat 4.1.x doesn’t have this problem. I am searching all support group from past many weeks and still not able to resolve this issue. Application Structure: ROOT --testapp ---test index.html WEB-INF

RE: Tomcat migration 4.1.3 to 5.5.23: Tomcat5.5 searching servlet file in file system and reporting 404 error rather mapping in web.xml

2009-04-23 Thread Caldarale, Charles R
From: Sriganesh Ananth [mailto:sriganesh.anant...@gmail.com] Subject: Tomcat migration 4.1.3 to 5.5.23: Tomcat5.5 searching servlet file in file system and reporting 404 error rather mapping in web.xml The issue is Tomcat 5.5.x looks for a servlet file under server's physical file system

Re: Tomcat migration 4.1.3 to 5.5.23: Tomcat5.5 searching servlet file in file system and reporting 404 error rather mapping in web.xml

2009-04-23 Thread Sriganesh Ananth
: --- Context !-- Default set of monitored resources -- WatchedResourceWEB-INF/web.xml/WatchedResource !-- Uncomment this to disable session persistence across Tomcat restarts -- !-- Manager pathname= / -- /Context Thank you again for your help. Regards Sriganesh On Thu

RE: Tomcat migration 4.1.3 to 5.5.23: Tomcat5.5 searching servlet file in file system and reporting 404 error rather mapping in web.xml

2009-04-23 Thread Caldarale, Charles R
From: Sriganesh Ananth [mailto:sriganesh.anant...@gmail.com] Subject: Re: Tomcat migration 4.1.3 to 5.5.23: Tomcat5.5 searching servlet file in file system and reporting 404 error rather mapping in web.xml Host name=192.168.1.23 debug=1 appBase=/var/www/testapp unpackWARs=true

Re: Tomcat migration 4.1.3 to 5.5.23: Tomcat5.5 searching servlet file in file system and reporting 404 error rather mapping in web.xml

2009-04-23 Thread Sriganesh Ananth
and reporting 404 error rather mapping in web.xml       Host name=192.168.1.23 debug=1 appBase=/var/www/testapp unpackWARs=true The above is wrong; the appBase should be /var/www.         Logger className=org.apache.catalina.logger.FileLogger                  directory=logs  prefix=oss.com_log. suffix

Re: Tomcat migration 4.1.3 to 5.5.23: Tomcat5.5 searching servlet file in file system and reporting 404 error rather mapping in web.xml

2009-04-23 Thread André Warnier
/www/testapp Alias /test /var/www/testapp/ JkMount /*.do ajp13 JkMount /*.jsp ajp13 /VirtualHost I definitely find bizarre. Can you try the following URL in your browser : http://192.168.1.23/test/WEB-INF/web.xml and let us know what you get

Re: Tomcat migration 4.1.3 to 5.5.23: Tomcat5.5 searching servlet file in file system and reporting 404 error rather mapping in web.xml

2009-04-23 Thread Sriganesh Ananth
Hi Andre, I got Forbidden - You don't have permission to access /test/WEB-INF/web.xml on this server. Under httpd.conf, just before VirtualHost I have following to deny all from accessing WEB-INF folder. Httpd.conf configuration: # Globally deny access to the WEB-INF directory LocationMatch

case insensitive web.xml

2009-03-24 Thread JR Conlin
Hi, My apologies if this is a known topic, but a scan of MARC didn't produce any results and my search fu apparently took the day off. I'm looking for a way for the url-patterns in web.xml to be matched case insensitive. As an added bonus, I've got a fairly full web.xml maintained by several

RE: case insensitive web.xml

2009-03-24 Thread Caldarale, Charles R
From: JR Conlin [mailto:jcon...@netflix.com] Subject: case insensitive web.xml I'm looking for a way for the url-patterns in web.xml to be matched case insensitive. I'm not aware of any spec-compliant means of doing so, since the servlet spec and the relevant RFCs all require case

RE: case insensitive web.xml

2009-03-24 Thread JR Conlin
From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Tuesday, March 24, 2009 1:29 PM Subject: RE: case insensitive web.xml From: JR Conlin [mailto:jcon...@netflix.com] Subject: case insensitive web.xml I'm looking for a way for the url-patterns in web.xml

Re: org.apache.jasper.JasperException: The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed with this application

2009-03-15 Thread Gmail User
Thanks, Martin, That was NOT an issue. I have been using updated taglib URI's for the last few years (including under Tomcat 5.5.15). I resolved the issue and it had to do with a servlet from another framework handling all requests and not re-writing /*/*.jsp correctly under Tomcat 6 (whatever

Re: org.apache.jasper.JasperException: The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed with this application

2009-03-14 Thread Gmail User
to the request (I don't seem to get much out of the logging, even though $CATALINA_HOME/conf/logging.properties is set to FINE). Not sure what to make of WARNING: Internal Error: File /WEB-INF/web.xml not found. == /usr/local/tomcat6/logs/catalina.2009-03-14.log == Mar 14, 2009 4:38:57 AM

Re: org.apache.jasper.JasperException: The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed with this application

2009-03-14 Thread Mark Thomas
). Not sure what to make of WARNING: Internal Error: File /WEB-INF/web.xml not found. == /usr/local/tomcat6/logs/catalina.2009-03-14.log == Mar 14, 2009 4:38:57 AM org.apache.jasper.compiler.TldLocationsCache processWebDotXml WARNING: Internal Error: File /WEB-INF/web.xml not found Mar 14

Re: org.apache.jasper.JasperException: The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed with this application

2009-03-14 Thread Gmail User
Mark, The server.xml is 6.0.18 distribution version. I added host to it (host name changed for privacy): Host name=example.com appBase=/var/webapps/example.com unpackWARs=false path= autoDeploy=false xmlValidation=false xmlNamespaceAware=false Aliaswww.example.com/Alias /Host The

Re: org.apache.jasper.JasperException: The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed with this application

2009-03-14 Thread Mark Thomas
Gmail User wrote: Mark, The server.xml is 6.0.18 distribution version. I added host to it (host name changed for privacy): Host name=example.com appBase=/var/webapps/example.com unpackWARs=false path= autoDeploy=false xmlValidation=false xmlNamespaceAware=false Path is not a valid

Re: org.apache.jasper.JasperException: The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed with this application

2009-03-14 Thread Gmail User
Mark, I think I understand what you are saying about path and docBase being invalid in my setup (per docs, they should not be set in context.xml, which is not the same as setting them to empty), however even with these changes, the outcome is exactly the same. I even added override=false

Re: org.apache.jasper.JasperException: The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed with this application

2009-03-14 Thread Gmail User
Sorry for wasting everyone's time. I found the problem and it was in my application, which for whatever reason still works under Tomcat 5.5.15. I was playing with Cocoon framework in the past and the paths were being routed through Cocoon servlet, which resulted in correct remapping for

RE: org.apache.jasper.JasperException: The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed with this application

2009-03-14 Thread Martin Gainty
. Sender does not necessarily endorse content contained within this transmission. Date: Sat, 14 Mar 2009 16:37:52 -0400 Subject: Re: org.apache.jasper.JasperException: The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed

org.apache.jasper.JasperException: The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed with this application

2009-03-13 Thread Gmail User
referenced them from web.xml to WEB-INF/tld (if I renamed c.tld, Tomcat barfed, so I know it finds the 'tld' file). I am running Tomcat 6.0.18 binary distribution from apache.org, running it i as a root so permissions should no be a problem, I would think. Am I not allowed to have directory structure

Re: org.apache.jasper.JasperException: The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed with this application

2009-03-13 Thread David Smith
I'm guessing there's another error regarding a problem with header.jsp. You didn't include the exception in your subject in the details below so it's anyone's guess. I can say that from at least tomcat 5.5 onwards, you don't need to add anything to web.xml to use the tag libs in standard.jar

Re: org.apache.jasper.JasperException: The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed with this application

2009-03-13 Thread David Smith
A couple more suggestions ... 1. Make sure your web.xml file uses the servlet version 2.4 or later schema (supported in tomcat 5.0 and later) 2. Make sure your jstl.jar and standard.jar are from version 1.1 of the standard and jstl taglibs Post the real, earliest log files related to your

Re: org.apache.jasper.JasperException: The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed with this application

2009-03-13 Thread Gmail User
, since I found my earlier inquiry about the same from lonftime ago). Thanks for your reply, though. On Sat, Mar 14, 2009 at 12:37 AM, David Smith d...@cornell.edu wrote: A couple more suggestions ... 1. Make sure your web.xml file uses the servlet version 2.4 or later schema (supported

Re: Is there a configurable parameter in web.xml for....

2009-03-10 Thread Kees Jan Koster
Dear Paul, ... the time period that tomcat spends honouring current requests when the server is shutdown? We have a web app used for secure file transfers and occasionally we need to take it down, however some requests for downloads can take more than an hour as the system allows very

security-constraint in conf/web.xml

2009-03-04 Thread Jurn Ho
Hello, I've successfully added a security-constraint into the web.xml of a webapp so the user has to use a login to use the webapp. Is it possible to move this config into the conf/web.xml instead? I have tried this but the security-constraint affects other webapps. I've tried changing the url

Re: TC6 ${CATALINA_HOME}/conf/web.xml Is this the place to constrain the mime type?

2009-02-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Robert, Robert Koberg wrote: On Feb 6, 2009, at 4:45 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dave, Dave Pawson wrote: Only one aspect of security Rob. As needed I'll look at others later. Can you

Re: TC6 ${CATALINA_HOME}/conf/web.xml Is this the place to constrain the mime type?

2009-02-07 Thread André Warnier
Dave Pawson wrote: Rob, Christopher, Andre. Thanks for the input. As I said to Rob, security is not an issue at the present time. There is no value in the content returned by the 'server' / end point; I'm not trying to make it secure. Just respond less than I otherwise might. Ok, then let me

Re: TC6 ${CATALINA_HOME}/conf/web.xml Is this the place to constrain the mime type?

2009-02-07 Thread Dave Pawson
2009/2/7 André Warnier a...@ice-sa.com: You may even find a ready-made servlet filter that could do that (and many other things besides) here : http://www.tuckey.org/urlrewrite/ Looks useful. Tks A servlet filter does not modify (or require you to modify) the application in any way; it

Re: TC6 ${CATALINA_HOME}/conf/web.xml Is this the place to constrain the mime type?

2009-02-06 Thread Dave Pawson
Thanks Andre. That paints a good picture! Only generality I'd like to add. The general purpose of my-app web.xml and 'all apps' web.xml. Is it TC 'configuration' (Chaz isn't going to like that, but I do like an overview, even if it's only 80%). I'm saying config, since it provides response mime

RE: TC6 ${CATALINA_HOME}/conf/web.xml Is this the place to constrain the mime type?

2009-02-06 Thread Caldarale, Charles R
From: Dave Pawson [mailto:dave.paw...@gmail.com] Subject: Re: TC6 ${CATALINA_HOME}/conf/web.xml Is this the place to constrain the mime type? Unless the client specifies that one single mime type (and no other), I want to reject it Unless you have an extremely specialized client in mind

Re: TC6 ${CATALINA_HOME}/conf/web.xml Is this the place to constrain the mime type?

2009-02-06 Thread Dave Pawson
2009/2/6 Caldarale, Charles R chuck.caldar...@unisys.com: From: Dave Pawson [mailto:dave.paw...@gmail.com] Subject: Re: TC6 ${CATALINA_HOME}/conf/web.xml Is this the place to constrain the mime type? I'm coming down in favour of a valve, rather than a filter, to make it container specific

Re: TC6 ${CATALINA_HOME}/conf/web.xml Is this the place to constrain the mime type?

2009-02-06 Thread Gregor Schneider
Well, I'n not Chuck, but to answer your question: On Fri, Feb 6, 2009 at 11:39 AM, Dave Pawson dave.paw...@gmail.com wrote: Is a filter the right TC tool for that Charles? Yes Rgds Gregor -- just because your paranoid, doesn't mean they're not after you... gpgp-fp:

RE: TC6 ${CATALINA_HOME}/conf/web.xml Is this the place to constrain the mime type?

2009-02-06 Thread Peter Crowther
From: Dave Pawson [mailto:dave.paw...@gmail.com] I'm coming down in favour of a valve, rather than a filter, to make it container specific, Which is a good reason not to use a valve. Unless you need access to Tomcat internals, use a filter. ? Unclear why Charles? To make it 'filter'

Re: TC6 ${CATALINA_HOME}/conf/web.xml Is this the place to constrain the mime type?

2009-02-06 Thread Robert Koberg
On Feb 6, 2009, at 10:20 AM, Dave Pawson wrote: 2009/2/6 Caldarale, Charles R chuck.caldar...@unisys.com: From: Dave Pawson [mailto:dave.paw...@gmail.com] Subject: Re: TC6 ${CATALINA_HOME}/conf/web.xml Is this the place to constrain the mime type? I'm coming down in favour of a valve, rather

RE: TC6 ${CATALINA_HOME}/conf/web.xml Is this the place to constrain the mime type?

2009-02-06 Thread Caldarale, Charles R
From: Dave Pawson [mailto:dave.paw...@gmail.com] Subject: Re: TC6 ${CATALINA_HOME}/conf/web.xml Is this the place to constrain the mime type? ? Unclear why Charles? 1) Filter specifications are documened. 2) Filters are not subject to change with every Tomcat release. To make it 'filter

RE: TC6 ${CATALINA_HOME}/conf/web.xml Is this the place to constrain the mime type?

2009-02-06 Thread Caldarale, Charles R
From: Dave Pawson [mailto:dave.paw...@gmail.com] Subject: Re: TC6 ${CATALINA_HOME}/conf/web.xml Is this the place to constrain the mime type? I'm coming down in favour of a valve, rather than a filter, to make it container specific, Which is a good reason not to use a valve. Unless you

Re: TC6 ${CATALINA_HOME}/conf/web.xml Is this the place to constrain the mime type?

2009-02-06 Thread Dave Pawson
2009/2/6 Caldarale, Charles R chuck.caldar...@unisys.com: From: Dave Pawson [mailto:dave.paw...@gmail.com] Subject: Re: TC6 ${CATALINA_HOME}/conf/web.xml Is this the place to constrain the mime type? Unless the client specifies that one single mime type (and no other), I want to reject

Re: TC6 ${CATALINA_HOME}/conf/web.xml Is this the place to constrain the mime type?

2009-02-06 Thread Dave Pawson
2009/2/6 Robert Koberg r...@koberg.com: Which is a good reason not to use a valve. Unless you need access to Tomcat internals, use a filter. ? Unclear why Charles? To make it 'filter' all server traffic? AFAIK I don't need access to any internals. You seem to be making this much more

Re: TC6 ${CATALINA_HOME}/conf/web.xml Is this the place to constrain the mime type?

2009-02-06 Thread Dave Pawson
2009/2/5 Caldarale, Charles R chuck.caldar...@unisys.com: From: Dave Pawson [mailto:dave.paw...@gmail.com] Subject: Re: TC6 ${CATALINA_HOME}/conf/web.xml Is this the place to constrain the mime type? Unless the client requests application/xml I want to refuse the request. I don't think you

Re: TC6 ${CATALINA_HOME}/conf/web.xml Is this the place to constrain the mime type?

2009-02-06 Thread Dave Pawson
2009/2/6 Caldarale, Charles R chuck.caldar...@unisys.com: From: Dave Pawson [mailto:dave.paw...@gmail.com] Subject: Re: TC6 ${CATALINA_HOME}/conf/web.xml Is this the place to constrain the mime type? ? Unclear why Charles? 1) Filter specifications are documented. 2) Filters

RE: TC6 ${CATALINA_HOME}/conf/web.xml Is this the place to constrain the mime type?

2009-02-06 Thread Caldarale, Charles R
From: Dave Pawson [mailto:dave.paw...@gmail.com] Subject: Re: TC6 ${CATALINA_HOME}/conf/web.xml Is this the place to constrain the mime type? 2.4 final or 2.5 maint release. which is TC 6 compliant to please? RTFM: http://tomcat.apache.org/ It's on the *first* page... - Chuck

RE: TC6 ${CATALINA_HOME}/conf/web.xml Is this the place to constrain the mime type?

2009-02-06 Thread Caldarale, Charles R
From: Dave Pawson [mailto:dave.paw...@gmail.com] Subject: Re: TC6 ${CATALINA_HOME}/conf/web.xml Is this the place to constrain the mime type? Is it TC 'configuration' I'm saying config, since it provides response mime types, params etc. Strictly speaking, it's not Tomcat configuration

Re: TC6 ${CATALINA_HOME}/conf/web.xml Is this the place to constrain the mime type?

2009-02-06 Thread André Warnier
Dave Pawson wrote: Thanks Andre. That paints a good picture! Only generality I'd like to add. The general purpose of my-app web.xml and 'all apps' web.xml. Is it TC 'configuration' (Chaz isn't going to like that, but I do like an overview, even if it's only 80%). I'm saying config, since

Re: TC6 ${CATALINA_HOME}/conf/web.xml Is this the place to constrain the mime type?

2009-02-06 Thread André Warnier
Dave Pawson wrote: 2009/2/6 Caldarale, Charles R chuck.caldar...@unisys.com: From: Dave Pawson [mailto:dave.paw...@gmail.com] Subject: Re: TC6 ${CATALINA_HOME}/conf/web.xml Is this the place to constrain the mime type? Unless the client specifies that one single mime type (and no other), I

Re: TC6 ${CATALINA_HOME}/conf/web.xml Is this the place to constrain the mime type?

2009-02-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dave, Dave Pawson wrote: Only one aspect of security Rob. As needed I'll look at others later. Can you suggest alternatives to achieve what I want, rather than something else? Instead of using Accept header with a magic content-type, how about

Re: TC6 ${CATALINA_HOME}/conf/web.xml Is this the place to constrain the mime type?

2009-02-06 Thread Robert Koberg
On Feb 6, 2009, at 4:45 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dave, Dave Pawson wrote: Only one aspect of security Rob. As needed I'll look at others later. Can you suggest alternatives to achieve what I want, rather than something else? Instead of

Re: TC6 ${CATALINA_HOME}/conf/web.xml Is this the place to constrain the mime type?

2009-02-06 Thread Dave Pawson
Rob, Christopher, Andre. Thanks for the input. As I said to Rob, security is not an issue at the present time. There is no value in the content returned by the 'server' / end point; I'm not trying to make it secure. Just respond less than I otherwise might. Thanks for the 'lecture' Andre. I now

TC6 ${CATALINA_HOME}/conf/web.xml Is this the place to constrain the mime type?

2009-02-05 Thread Dave Pawson
I want to 'reject' (if that's the right word) any http get with mime type != application/xml I see in web.xml in the conf directory mime-mapping extensionxml/extension mime-typeapplication/xml/mime-type /mime-mapping Is this the right place to do it please? regards

<    1   2   3   4   5   6   7   >