Re: context path version number with parallel deployment

2025-03-18 Thread Mark Thomas
Kind regards, Mark От: Mark Thomas Отправлено: 18 марта 2025 г. 9:35 Кому: users@tomcat.apache.org Тема: Re: context path version number with parallel deployment On 17/03/2025 18:43, Усманов Азат Анварович wrote: thanks a lot! I got it working. A quick follow

RE: context path version number with parallel deployment

2025-03-18 Thread Усманов Азат Анварович
like this: String webappVersion = (String)request.gteServletContext().getAttribute("org.apache.catalina.webappVersion"); " От: Mark Thomas Отправлено: 18 марта 2025 г. 9:35 Кому: users@tomcat.apache.org Тема: Re: context path version number with par

Re: context path version number with parallel deployment

2025-03-17 Thread Mark Thomas
i/org/apache/catalina/Globals.html Where else would you like to see it? The where may change which steps are required to update the docs. Mark От: Christopher Schultz Отправлено: 17 марта 2025 г. 17:40 Кому: users@tomcat.apache.org Тема: Re: context path version n

Re: context path version number with parallel deployment

2025-03-17 Thread Michael Osipov
StandardWrapperValve.invoke Servlet.service() for > servlet [IndexServlet] with context path [/Education##23459] threw exception > [org.opensaml.common.SAMLException: Assertion is not conformed with > notOnOrAfter condition] with root cause > > I know if such property exists

RE: context path version number with parallel deployment

2025-03-17 Thread Усманов Азат Анварович
а: Re: context path version number with parallel deployment Азат, On 3/17/25 8:53 AM, Усманов Азат Анварович wrote: > Hi everyone! is it possible to display current version number in a jsp page > or servlet when using parallel deployment . using some property. >Currently when building an

Re: context path version number with parallel deployment

2025-03-17 Thread Christopher Schultz
] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [IndexServlet] with context path [/Education##23459] threw exception [org.opensaml.common.SAMLException: Assertion is not conformed with notOnOrAfter condition] with root cause I know if such property exists its probably a

context path version number with parallel deployment

2025-03-17 Thread Усманов Азат Анварович
() for servlet [IndexServlet] with context path [/Education##23459] threw exception [org.opensaml.common.SAMLException: Assertion is not conformed with notOnOrAfter condition] with root cause I know if such property exists its probably a tomcat one, not java, since parallel deployment is not a

Re: java.lang.IllegalStateException: Unable to find match between the canonical context path

2023-04-10 Thread Mark Thomas
error . java.lang.IllegalStateException: Unable to find match between the canonical context path [/servicename] and the URI presented by the user agent [_visitor=...] at org.apache.catalina.connector.Request.getContextPath(Request.java:2152) at org.apache.catalina.connector.RequestFacade.getContextPath(RequestFacad

java.lang.IllegalStateException: Unable to find match between the canonical context path

2023-04-09 Thread Chandru Mariraj
en the canonical context path [/servicename] and the URI presented by the user agent [_visitor=...] at org.apache.catalina.connector.Request.getContextPath(Request.java:2152) at org.apache.catalina.connector.RequestFacade.getContextPath(RequestFacade.java:7

Re: override context path for manager application

2019-12-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Konstantin, On 12/4/19 17:32, Konstantin Kolinko wrote: > чт, 5 дек. 2019 г. в 01:20, Guild, Jason A (DOT) > : >> >> Hi all: >> >> The context path of the Tomcat manager application is "/manager" >&

Re: override context path for manager application

2019-12-04 Thread Guild, Jason A (DOT)
e Tomcat distribution and ran it with $CATALINA_BASE == $CATALINA_HOME and I was just adding a file to $CATALINA_HOME/conf/[engine]/[host]/dev9#manager.xml in an attempt to override the context path. Thanks again for your help, Jason On 12/4/2019 1:32 PM, Konstantin Kolinko wrote: > If y

Re: override context path for manager application

2019-12-04 Thread Konstantin Kolinko
чт, 5 дек. 2019 г. в 01:20, Guild, Jason A (DOT) : > > Hi all: > > The context path of the Tomcat manager application is "/manager" by default > [0]. > I am trying to change this context path from the default using an override > configuration. > > I am doin

override context path for manager application

2019-12-04 Thread Guild, Jason A (DOT)
Hi all: The context path of the Tomcat manager application is "/manager" by default [0]. I am trying to change this context path from the default using an override configuration. I am doing the typical creation of a container using makebase.sh and setting CATALINA_BASE before starti

Re: Need Important Help in Context path

2017-11-27 Thread Sascha Monteiro
t:8080/MyTest-1.00-SNAPSHOT1.0 > > but I need to set the context path MyTest eventhough deployed WAR name as > MyTest-1.00-SNAPSHOT1.0. I need the URL will be > //localhost:8080/MyTest > > This link should always same if I changed the war name from > MyTest-*1*.00-SNAPSHOT1.0**to MyTest-*

Re: Need Important Help in Context path

2017-11-27 Thread cyron
.If I deploy the same in > Tomcat I have use the URL as > //localhost:8080/MyTest-1.00-SNAPSHOT1.0 > > but I need to set the context path MyTest eventhough deployed WAR name as > MyTest-1.00-SNAPSHOT1.0. I need the URL will be > //localhost:8080/MyTest > > This link should a

Need Important Help in Context path

2017-11-27 Thread Vivek Patil
Hello All, I am using Maven to build our application. So the war name will be MyTest-1.00-SNAPSHOT1.0 .If I deploy the same in Tomcat I have use the URL as //localhost:8080/MyTest-1.00-SNAPSHOT1.0 but I need to set the context path MyTest eventhough deployed WAR name as MyTest-1.00

Re[2]: Tomcat 7/8/9 context path restrictions/validation

2017-09-26 Thread Konstantin Ryadov
>Четверг, 21 сентября 2017, 11:27 +03:00 от Mark Thomas : > >On 20/09/17 10:47, Konstantin Ryadov wrote: >> >> Hello! >> Could you explain context path (e.g. described on >> https://tomcat.apache.org/tomcat-7.0-doc/config/context.html ) value set in >> s

Re: Tomcat 7/8/9 context path restrictions/validation

2017-09-21 Thread Mark Thomas
On 20/09/17 10:47, Konstantin Ryadov wrote: > > Hello! > Could you explain context path (e.g. described on > https://tomcat.apache.org/tomcat-7.0-doc/config/context.html ) value set in > server.xml limitations? > Does it exist any context path validation (unescaped symbol

Re: Tomcat 7/8/9 context path restrictions/validation

2017-09-20 Thread Guang Chao
On Wed, Sep 20, 2017 at 5:47 PM, Konstantin Ryadov wrote: > > Hello! > Could you explain context path (e.g. described on > https://tomcat.apache.org/tomcat-7.0-doc/config/context.html ) value set > in server.xml limitations? > Does it exist any context path validation

Tomcat 7/8/9 context path restrictions/validation

2017-09-20 Thread Konstantin Ryadov
Hello! Could you explain context path (e.g. described on https://tomcat.apache.org/tomcat-7.0-doc/config/context.html ) value set in server.xml limitations? Does it exist any context path validation (unescaped symbols, whitespaces and so on)? Is first “/” always required in context path value

Re: Multi-level context path

2016-11-23 Thread Growingob2
The is default from installation, nothing changed for my application. I deploy directly from a war file in the webapps folder. The conf/[engine]/[host]/ is empty, so no conflicts there. - To unsubscribe,

Re: Multi-level context path

2016-11-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 To whom it may concern, On 11/17/16 12:39 PM, Growingob2 wrote: > > I can't get my multi-level context path to deploy correctly. In > Tomcat 5.5.26 foo#bar.war placed in my webapps directory deploys to > /foo/bar. This is how

Multi-level context path

2016-11-17 Thread Growingob2
I can't get my multi-level context path to deploy correctly. In Tomcat 5.5.26 foo#bar.war placed in my webapps directory deploys to /foo/bar. This is how I think is should work. In Tomcat 8.0.39 foo#bar.war placed in my webapps directory deploys to /foo#bar. It is like Tomcat doesn't

RE: apache-tomcat-9.0.0.M10: Change Context-Path in META-INF/context.xml not working

2016-09-20 Thread Caldarale, Charles R
> From: Maik Brauer [mailto:m...@brauer.nrw] > Subject: apache-tomcat-9.0.0.M10: Change Context-Path in META-INF/context.xml > not working > I have a standard Tomcat9 installation. I just put a helloworld.war in the > webapps folder > and inside the META-INF I put the

apache-tomcat-9.0.0.M10: Change Context-Path in META-INF/context.xml not working

2016-09-20 Thread Maik Brauer
I have a standard Tomcat9 installation. I just put a helloworld.war in the webapps folder and inside the META-INF I put the context.xml with a different path like: But the context is still http://localhost/helloworld instead http://localhost/newcontext. I tried so many things, but it is not p

Re: Tomcat returning context path with extra leading slash

2015-10-23 Thread Christopher Schultz
gt;>> >>>> Since it's intermittent, it's hard to catch. But I just found a >>>> case. >>> >>>> I have an HttpServletResponseWrapper that logs calls to >>>> sendRedirect() by dumping-out the URL that was passed-into the >>>> sendRed

Re: Tomcat returning context path with extra leading slash (was: Re: Tomcat not properly fully-qualifying redirect URLs)

2015-10-23 Thread Konstantin Kolinko
; >>> I have an HttpServletResponseWrapper that logs calls to >>> sendRedirect() by dumping-out the URL that was passed-into the >>> sendRedirect method. >> >>> [snip] >> >>> [HttpServletResponse.sendRedirect or similar is ruining my redirect

Tomcat returning context path with extra leading slash (was: Re: Tomcat not properly fully-qualifying redirect URLs)

2015-10-22 Thread Christopher Schultz
mping-out the URL that was passed-into the >> sendRedirect method. > >> [snip] > >> [HttpServletResponse.sendRedirect or similar is ruining my redirect >> URL, so the hostname is being obliterated and I get >> http://context/path/to/page instead of >> http://l

Re: tomcat6 context path attribute

2014-05-21 Thread Konstantin Kolinko
2014-05-21 15:05 GMT+04:00 philippe rouxel : > Hello, > > I have a war app-0.0.1 with a context.xml in META-INF : > > > > > > > When I deploy it, in CATALINA_BASE\conf\Catalina\localhost a file > app-0.0.1.xml is created. > > When I call > localhost:8080/app I got 404 > localhost:8080/app-0.0

tomcat6 context path attribute

2014-05-21 Thread philippe rouxel
Hello, I have a war app-0.0.1 with a context.xml in META-INF : When I deploy it, in CATALINA_BASE\conf\Catalina\localhost a file app-0.0.1.xml is created. When I call localhost:8080/app I got 404 localhost:8080/app-0.0.1 I got 200 I have try with the same result Did i miss nothing?

Re: context path ignored in conf/Catalina/localhost/*

2013-09-03 Thread Christopher Schultz
on the disk. In this case, the name of the XML file identifies the context path and you can call the WAR file anything you want. - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.14 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird -

Re: context path ignored in conf/Catalina/localhost/*

2013-08-29 Thread D C
On Thu, Aug 29, 2013 at 2:10 PM, Daniel Mikusa wrote: > On Aug 29, 2013, at 2:02 PM, D C wrote: > > > Tomcat 7.0.40 > > RHEL 6 > > > > I am trying to define all of my contexts in > conf/Catalina/localhost/*.xml. > > > > This seems to work fine, however I'm having an issue setting the path. > > >

Re: context path ignored in conf/Catalina/localhost/*

2013-08-29 Thread Daniel Mikusa
On Aug 29, 2013, at 2:02 PM, D C wrote: > Tomcat 7.0.40 > RHEL 6 > > I am trying to define all of my contexts in conf/Catalina/localhost/*.xml. > > This seems to work fine, however I'm having an issue setting the path. > > myApp.xml > > > This simply does not work. You generally don't wa

RE: context path ignored in conf/Catalina/localhost/*

2013-08-29 Thread Caldarale, Charles R
> From: D C [mailto:dc12...@gmail.com] > Subject: context path ignored in conf/Catalina/localhost/* > Tomcat 7.0.40 > I am trying to define all of my contexts in conf/Catalina/localhost/*.xml. > This seems to work fine, however I'm having an issue setting the path. >

context path ignored in conf/Catalina/localhost/*

2013-08-29 Thread D C
Tomcat 7.0.40 RHEL 6 I am trying to define all of my contexts in conf/Catalina/localhost/*.xml. This seems to work fine, however I'm having an issue setting the path. myApp.xml This simply does not work. It worked fine if I put it into conf/context.xml. The only way this works is if i rena

Re: How do I deploy a war file to a context path not matching the war file name

2013-02-01 Thread Edd Grant
Thanks Chris - that works perfectly! On 1 February 2013 11:06, chris derham wrote: >> The documentation for the docBase (a.k.a context root) attribute >> states that the docBase attribute should be used to point to the war >> or exploded war file. My server's appBase is the default of 'webapps' >

Re: How do I deploy a war file to a context path not matching the war file name

2013-02-01 Thread chris derham
> The documentation for the docBase (a.k.a context root) attribute > states that the docBase attribute should be used to point to the war > or exploded war file. My server's appBase is the default of 'webapps' > and my WAR and exploded WAR are under webapps so I have specified a > relative path of

Fwd: How do I deploy a war file to a context path not matching the war file name

2013-02-01 Thread Edd Grant
In individual files (with a ".xml" extension) in the $CATALINA_BASE/conf/[enginename]/[hostname]/ directory. The name of the file (less the .xml extension) will be used as the context path. Multi-level context paths may be defined using #, e.g. foo#bar.xml for a context path of /foo/bar. The

Re: Context Path for a subdirectory

2012-12-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 12/3/12 6:50 PM, André Warnier wrote: > P.S. If you decide to use UrlRewriteFilter, you should be looking > at the documentation > (http://urlrewritefilter.googlecode.com/svn/trunk/src/doc/manual/4.0/index.html), Cool, > there's a 4.0 ver

Re: Context Path for a subdirectory

2012-12-03 Thread André Warnier
Leo Donahue - RDSA IT wrote: ___ From: Christopher Schultz [ch...@christopherschultz.net] Sent: Friday, November 30, 2012 8:13 PM To: Tomcat Users List Subject: Re: Context Path for a subdirectory -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Leo, On 11/30

RE: Context Path for a subdirectory

2012-12-03 Thread Leo Donahue - RDSA IT
___ From: Christopher Schultz [ch...@christopherschultz.net] Sent: Friday, November 30, 2012 8:13 PM To: Tomcat Users List Subject: Re: Context Path for a subdirectory -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Leo, On 11/30/12 5:52 PM, Leo Donahue - RDSA

Re: Context Path for a subdirectory

2012-12-03 Thread Terence M. Bandoian
On 12/2/2012 4:54 AM, Konstantin Kolinko wrote: > 2012/11/30 Terence M. Bandoian : >> Hi, Chuck- >> >> I don't mean to be argumentative but, with Tomcat 6.0.29, I found that >> static files from an images subdirectory of a web application were not >> cached by Internet Explorer 7. As a workaround,

Re: Context Path for a subdirectory

2012-12-02 Thread Konstantin Kolinko
2012/11/30 Terence M. Bandoian : > Hi, Chuck- > > I don't mean to be argumentative but, with Tomcat 6.0.29, I found that > static files from an images subdirectory of a web application were not > cached by Internet Explorer 7. As a workaround, I created a context for the > images subdirectory and

Context Path for a subdirectory

2012-11-30 Thread Terence M. Bandoian
On 11/30/2012 2:00 PM, Caldarale, Charles R wrote: From: Terence M. Bandoian [mailto:tere...@tmbsw.com] Subject: Context Path for a subdirectory A webapp can never be nested inside another, so what you're trying to do is nonsensical. I don't mean to be argumentative but, with Tomcat

Re: Context Path for a subdirectory

2012-11-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Leo, On 11/30/12 7:07 PM, Leo Donahue - RDSA IT wrote: >> -Original Message- From: Leo Donahue - RDSA IT >> [mailto:leodona...@mail.maricopa.gov] Sent: Friday, November 30, >> 2012 5:02 PM To: Tomcat Users List Subject: RE

Re: Context Path for a subdirectory

2012-11-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Leo, On 11/30/12 7:02 PM, Leo Donahue - RDSA IT wrote: > Any changes that I make to the rest web app are done on Server 1, > in which I then need to generate a new rest.war file to be deployed > on Server 4. Anything custom that I configure for the r

Re: [OT] Context Path for a subdirectory

2012-11-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 11/30/12 6:04 PM, Caldarale, Charles R wrote: > The SecurityFilter from sourceforge might be able to do it, but I'm > not sure (Chris should know). Nope, sf doesn't have IP filtering built into it. In my private copy, it's got the ability

Re: Context Path for a subdirectory

2012-11-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Leo, On 11/30/12 5:52 PM, Leo Donahue - RDSA IT wrote: > Ok, so before I upgraded to Tomcat 7.0.33 to use the container > supplied remote address filter, what were my options to restrict > access to just a subdirectory of a web app in Tomcat 6.0.35?

RE: Context Path for a subdirectory

2012-11-30 Thread Caldarale, Charles R
> From: Leo Donahue - RDSA IT [mailto:leodona...@mail.maricopa.gov] > Subject: RE: Context Path for a subdirectory > I considered the security constraint, but wouldn't that have required me > to set up SSL (for a secure user/password submittal) and get someone to > pay for

RE: Context Path for a subdirectory

2012-11-30 Thread Leo Donahue - RDSA IT
>-Original Message- >From: Leo Donahue - RDSA IT [mailto:leodona...@mail.maricopa.gov] >Sent: Friday, November 30, 2012 5:02 PM >To: Tomcat Users List >Subject: RE: Context Path for a subdirectory > > >The way the Server 1 is configured, there are accounts that the

RE: Context Path for a subdirectory

2012-11-30 Thread Leo Donahue - RDSA IT
>-Original Message- >From: André Warnier [mailto:a...@ice-sa.com] >Sent: Friday, November 30, 2012 4:45 PM >To: Tomcat Users List >Subject: Re: Context Path for a subdirectory > >Maybe a bit of lateral thinking here. >What does the admin webapp really do ? For w

Re: Context Path for a subdirectory

2012-11-30 Thread André Warnier
Leo Donahue - RDSA IT wrote: -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Friday, November 30, 2012 4:04 PM To: Tomcat Users List Subject: RE: Context Path for a subdirectory From: Leo Donahue - RDSA IT [mailto:leodona...@mail.maricopa.gov

RE: Context Path for a subdirectory

2012-11-30 Thread Leo Donahue - RDSA IT
>-Original Message- >From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] >Sent: Friday, November 30, 2012 4:04 PM >To: Tomcat Users List >Subject: RE: Context Path for a subdirectory > >> From: Leo Donahue - RDSA IT [mailto:leodona...@mail.maricopa.gov]

RE: Context Path for a subdirectory

2012-11-30 Thread Caldarale, Charles R
> From: Leo Donahue - RDSA IT [mailto:leodona...@mail.maricopa.gov] > Subject: RE: Context Path for a subdirectory > what were my options to restrict access to just a subdirectory of a > web app in Tomcat 6.0.35? Using just spec-provided mechanisms, such access can be limited

RE: Context Path for a subdirectory

2012-11-30 Thread Leo Donahue - RDSA IT
>-Original Message- >From: Christopher Schultz [mailto:ch...@christopherschultz.net] >Sent: Friday, November 30, 2012 3:39 PM >To: Tomcat Users List >Subject: Re: Context Path for a subdirectory > >-BEGIN PGP SIGNED MESSAGE- >Hash: SHA1 > >Chuck, >

Re: Context Path for a subdirectory

2012-11-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 11/30/12 5:25 PM, Caldarale, Charles R wrote: >> From: Christopher Schultz [mailto:ch...@christopherschultz.net] >> Subject: Re: Context Path for a subdirectory > >> I don't think it's specifically /u

RE: Context Path for a subdirectory

2012-11-30 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: Context Path for a subdirectory > I don't think it's specifically /un/supported. > For instance, Tomcat should happily deploy both of these files: > myapp.war > myapp#static.war That&

Re: Context Path for a subdirectory

2012-11-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 11/30/12 3:00 PM, Caldarale, Charles R wrote: >> From: Terence M. Bandoian [mailto:tere...@tmbsw.com] Subject: >> Context Path for a subdirectory > >>> A webapp can never be nested inside another, so what yo

Re: Context Path for a subdirectory

2012-11-30 Thread André Warnier
Leo Donahue - RDSA IT wrote: -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: Friday, November 30, 2012 8:20 AM To: Tomcat Users List Subject: Re: Context Path for a subdirectory Leo Donahue - RDSA IT wrote: If I can tag another question on the end of this thread

RE: Context Path for a subdirectory

2012-11-30 Thread Caldarale, Charles R
> From: Terence M. Bandoian [mailto:tere...@tmbsw.com] > Subject: Context Path for a subdirectory > > A webapp can never be nested inside another, so what you're trying > > to do is nonsensical. > I don't mean to be argumentative but, with Tomcat 6.0.29, I fou

Context Path for a subdirectory

2012-11-30 Thread Terence M. Bandoian
On 11/29/2012 2:14 PM, Caldarale, Charles R wrote: From: Leo Donahue - RDSA IT [mailto:leodona...@mail.maricopa.gov] Subject: Context Path for a subdirectory If I have a webapp, with a www directory, and in that www directory are other directories, how would I restrict access to one of those

RE: Context Path for a subdirectory

2012-11-30 Thread Leo Donahue - RDSA IT
>-Original Message- >From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] >Sent: Friday, November 30, 2012 8:32 AM >To: Tomcat Users List >Subject: RE: Context Path for a subdirectory > >> From: Leo Donahue - RDSA IT [mailto:leodona...@mail.maricopa.gov]

RE: Context Path for a subdirectory

2012-11-30 Thread Caldarale, Charles R
> From: Leo Donahue - RDSA IT [mailto:leodona...@mail.maricopa.gov] > Subject: RE: Context Path for a subdirectory > Why is denyStatus an option? Why would someone use it? Because some people still believe in security through obscurity. - Chuck THIS COMMUNICATION MAY CONTAIN CON

RE: Context Path for a subdirectory

2012-11-30 Thread Leo Donahue - RDSA IT
>-Original Message- >From: André Warnier [mailto:a...@ice-sa.com] >Sent: Friday, November 30, 2012 8:20 AM >To: Tomcat Users List >Subject: Re: Context Path for a subdirectory >> >>Leo Donahue - RDSA IT wrote: >> >> If I can tag another question on t

Re: Context Path for a subdirectory

2012-11-30 Thread André Warnier
Leo Donahue - RDSA IT wrote: -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: Friday, November 30, 2012 12:23 AM To: Tomcat Users List Subject: Re: Context Path for a subdirectory On 11/29/2012 11:41 AM, Leo Donahue - RDSA IT wrote: Reading the docs: http

RE: Context Path for a subdirectory

2012-11-30 Thread Leo Donahue - RDSA IT
>-Original Message- >From: André Warnier [mailto:a...@ice-sa.com] >Sent: Friday, November 30, 2012 12:23 AM >To: Tomcat Users List >Subject: Re: Context Path for a subdirectory >>>>> >>>>> On 11/29/2012 11:41 AM, Leo Donahue - RDSA I

Re: Context Path for a subdirectory

2012-11-29 Thread André Warnier
Leo Donahue - RDSA IT wrote: -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: Thursday, November 29, 2012 3:40 PM To: Tomcat Users List Subject: Re: Context Path for a subdirectory Leo Donahue - RDSA IT wrote: -Original Message- From: Mark Eggers

RE: Context Path for a subdirectory

2012-11-29 Thread Leo Donahue - RDSA IT
>-Original Message- >From: André Warnier [mailto:a...@ice-sa.com] >Sent: Thursday, November 29, 2012 3:40 PM >To: Tomcat Users List >Subject: Re: Context Path for a subdirectory > >Leo Donahue - RDSA IT wrote: >>> -Original Message- >>

Re: Context Path for a subdirectory

2012-11-29 Thread André Warnier
Leo Donahue - RDSA IT wrote: -Original Message- From: Mark Eggers [mailto:its_toas...@yahoo.com] Sent: Thursday, November 29, 2012 1:12 PM To: Tomcat Users List Subject: Re: Context Path for a subdirectory On 11/29/2012 11:41 AM, Leo Donahue - RDSA IT wrote: Reading the docs: http

Re: Context Path for a subdirectory

2012-11-29 Thread Konstantin Kolinko
2012/11/29 Leo Donahue - RDSA IT : > Reading the docs: http://tomcat.apache.org/tomcat-7.0-doc/config/context.html > > "..The web application used to process each HTTP request is selected by > Catalina based on matching the longest possible prefix of the Request URI > agai

Re: Context Path for a subdirectory

2012-11-29 Thread Mark Eggers
On 11/29/2012 12:32 PM, Leo Donahue - RDSA IT wrote: -Original Message- From: Mark Eggers [mailto:its_toas...@yahoo.com] Sent: Thursday, November 29, 2012 1:12 PM To: Tomcat Users List Subject: Re: Context Path for a subdirectory On 11/29/2012 11:41 AM, Leo Donahue - RDSA IT wrote

RE: Context Path for a subdirectory

2012-11-29 Thread Leo Donahue - RDSA IT
>-Original Message- >From: Mark Eggers [mailto:its_toas...@yahoo.com] >Sent: Thursday, November 29, 2012 1:12 PM >To: Tomcat Users List >Subject: Re: Context Path for a subdirectory > >On 11/29/2012 11:41 AM, Leo Donahue - RDSA IT wrote: >> Reading the docs:

RE: Context Path for a subdirectory

2012-11-29 Thread Caldarale, Charles R
> From: Leo Donahue - RDSA IT [mailto:leodona...@mail.maricopa.gov] > Subject: Context Path for a subdirectory > If I have a webapp, with a www directory, and in that www directory > are other directories, how would I restrict access to one of those > subdirectories to the local

Re: Context Path for a subdirectory

2012-11-29 Thread Mark Eggers
t the context path of each defined Context." If I have a webapp, with a www directory, and in that www directory are other directories, how would I restrict access to one of those subdirectories to the localhost? webapps webapp1 -WEB-INF -classes -lib -www -

Context Path for a subdirectory

2012-11-29 Thread Leo Donahue - RDSA IT
Reading the docs: http://tomcat.apache.org/tomcat-7.0-doc/config/context.html "..The web application used to process each HTTP request is selected by Catalina based on matching the longest possible prefix of the Request URI against the context path of each defined Context." I

Re: FAIL - Application at context path /test could not be started

2012-10-17 Thread Rainer Frey
On 16.10.2012, at 15:26, majin_clo...@t-online.de wrote: > Thanks for your reply. :) > > my web.xml looks like this: > > > 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

Re: Re: FAIL - Application at context path /test could not be started

2012-10-16 Thread cantalou89
You can try remove the test/WEB-INF/lib/servlet-api-2.5-6.1.14.jar , cantalou89 From: majin_clo...@t-online.de Date: 2012-10-16 21:26 To: Tomcat Users List Subject: Re: FAIL - Application at context path /test could not be started Thanks for your reply. :) my web.xml looks like this

Re: FAIL - Application at context path /test could not be started

2012-10-16 Thread Konstantin Kolinko
2012/10/16 majin_clo...@t-online.de : > Hello guys, > > well I could successfull deploy my web-application "test" on tomcat. > My problem is now: If I want to run my web-application I get the > following error: > > FAIL - Application at context

Re: FAIL - Application at context path /test could not be started

2012-10-16 Thread majin_clo...@t-online.de
ates /batchAddCandidates DeleteCandidate /deleteCandidate BatchDeleteCandidates /batchDeleteCandidates Von: Daniel Barcellos An: Tomcat Users List , "majin_clo...@t-online.de" Betreff: Re: FAIL - Application at context path /test could not be

Re: FAIL - Application at context path /test could not be started

2012-10-16 Thread Daniel Barcellos
t; > FAIL - Application at context path /test could not be started > > Does anyone know why this happen? Here ist the content of my > catalina.out: > > Oct 16, 2012 12:46:46 PM > org.apache.catalina.startup.ClassLoaderFactory validateFile > WARNING: Pr

FAIL - Application at context path /test could not be started

2012-10-16 Thread majin_clo...@t-online.de
Hello guys, well I could successfull deploy my web-application "test" on tomcat. My problem is now: If I want to run my web-application I get the following error: FAIL - Application at context path /test could not be started Does anyone know why this happen

Re: Error Starting webapp. FAIL - Application at context path /cyclos could not be started.

2012-07-05 Thread Tim Watts
Hi Rick, On Thu, 2012-07-05 at 13:15 -0400, Rick Bragg wrote: > Hi, > > After upgrading one of my web applications (cyclos) I can no longer start up > the > web application. I get the following error: > > FAIL - Application at context path /cyclos could not be started. &g

Error Starting webapp. FAIL - Application at context path /cyclos could not be started.

2012-07-05 Thread Rick Bragg
Hi, After upgrading one of my web applications (cyclos) I can no longer start up the web application. I get the following error: FAIL - Application at context path /cyclos could not be started. I tried undoing my upgrade, but I still get errors. Has anybody run into this? What would be the

Re: Retrieve context path in lifecycle listener

2012-03-08 Thread Michael
Konstantin Kolinko schrieb: 2012/3/6 : Hi folks, I'd like to retrieve the context path from the a startup event in a context lifecycle listener. My usecase is register that contextpath in the initial context and access its value through Logback. Unfortunately, LifecycleEvent does not

Re: Retrieve context path in lifecycle listener

2012-03-06 Thread sgfan
Hi Konstantin, > 2012/3/6 : > > Hi folks, > > > > I'd like to retrieve the context path from the a startup event in a > context lifecycle listener. My usecase is register that contextpath in the > initial context and access its value through Logback. > >

Re: Retrieve context path in lifecycle listener

2012-03-06 Thread Konstantin Kolinko
2012/3/6 : > Hi folks, > > I'd like to retrieve the context path from the a startup event in a context > lifecycle listener. My usecase is register that contextpath in the initial > context and access its value through Logback. > Unfortunately, LifecycleEvent does not se

Retrieve context path in lifecycle listener

2012-03-06 Thread sgfan
Hi folks, I'd like to retrieve the context path from the a startup event in a context lifecycle listener. My usecase is register that contextpath in the initial context and access its value through Logback. Unfortunately, LifecycleEvent does not seem to contain this data. Is there

Re: redirection error due to context path after JAAS authentication with mod_proxy

2011-10-14 Thread Woonsan Ko
> >From: André Warnier >To: Tomcat Users List >Sent: Wednesday, October 12, 2011 11:52 AM >Subject: Re: redirection error due to context path after JAAS authentication >with mod_proxy > >Woonsan Ko wrote: >> Hi, >> >

Re: redirection error due to context path after JAAS authentication with mod_proxy

2011-10-12 Thread Brian Burch
On 12/10/11 17:51, Woonsan Ko wrote: One simple strong reason is that I don't want to run tomcat by root. The debian/ubuntu deb package installs tomcat6 so that it uses authbind to listen on ports < 1024, and it runs under its own non-root uid/gid. I was very impressed when I converted from t

Re: redirection error due to context path after JAAS authentication with mod_proxy

2011-10-12 Thread Pid
On 12/10/2011 17:51, Woonsan Ko wrote: > > - Original Message - >> From: André Warnier >> To: Tomcat Users List >> Cc: >> Sent: Wednesday, October 12, 2011 11:52 AM >> Subject: Re: redirection error due to context path after JAAS authentication >

Re: redirection error due to context path after JAAS authentication with mod_proxy

2011-10-12 Thread Woonsan Ko
- Original Message - > From: André Warnier > To: Tomcat Users List > Cc: > Sent: Wednesday, October 12, 2011 11:52 AM > Subject: Re: redirection error due to context path after JAAS authentication > with mod_proxy > > Woonsan Ko wrote: >> Hi,

Re: redirection error due to context path after JAAS authentication with mod_proxy

2011-10-12 Thread André Warnier
Woonsan Ko wrote: Hi, I have a reverse proxy configuration like this: ServerName localhost ProxyPreserveHost On ProxyPass / http://localhost:8080/app1/ ProxyPassReverse / http://localhost:8080/app1/ ProxyPassReverseCookiePath /app1 / If it is really like above, then why are

redirection error due to context path after JAAS authentication with mod_proxy

2011-10-12 Thread Woonsan Ko
authentication. When I try log on, the redirect location (the secured resource path) after /j_security_check seems to be prepended by the context path, '/app1'. (e.g. Location: http://localhost/app1/login/resource, instead of http://localhost/login/resource) I guess there will be other solu

Re: Tomcat war context path

2011-08-15 Thread Mohit Anchlia
Got it thanks! Will try that On Mon, Aug 15, 2011 at 12:54 PM, Mark Thomas wrote: > On 15/08/2011 20:39, Mohit Anchlia wrote: >> >> On Mon, Aug 15, 2011 at 12:17 PM, Pid  wrote: >>> >>> On 15/08/2011 18:05, Mohit Anchlia wrote: Is this even possible with tomcat? >>> >>> In Tomcat 7.0: >

RE: Tomcat war context path

2011-08-15 Thread Caldarale, Charles R
> From: Jesse Farinacci [mailto:jie...@gmail.com] > Subject: Re: Tomcat war context path > You could also bundle a META-INF/context.xml file which looks something akin > to: > > Pretty much wrong on all counts: 1) The path attribute is not allowed when the eleme

Re: Tomcat war context path

2011-08-15 Thread Mark Thomas
On 15/08/2011 20:45, Jesse Farinacci wrote: Greetings, On Mon, Aug 15, 2011 at 3:39 PM, Mohit Anchlia wrote: Currently when I deploy abc-SNAPSHOT-01.war I access is something like http://localhost:8080/abc-SNAPSHOT-01.war How can I change the context root such that I can access it as http://l

Re: Tomcat war context path

2011-08-15 Thread Mark Thomas
On 15/08/2011 20:39, Mohit Anchlia wrote: On Mon, Aug 15, 2011 at 12:17 PM, Pid wrote: On 15/08/2011 18:05, Mohit Anchlia wrote: Is this even possible with tomcat? In Tomcat 7.0: abc##SNAPSHOT-01.war abc##SNAPSHOT-02.war abc##SNAPSHOT-03.war abc##SNAPSHOT-04.war etc Sorry I don't

Re: Tomcat war context path

2011-08-15 Thread Jesse Farinacci
Greetings, On Mon, Aug 15, 2011 at 3:39 PM, Mohit Anchlia wrote: Currently when I deploy abc-SNAPSHOT-01.war I access is something like http://localhost:8080/abc-SNAPSHOT-01.war How can I change the context root such that I can access it as http://localhost:8080/abc?

Re: Tomcat war context path

2011-08-15 Thread Mohit Anchlia
On Mon, Aug 15, 2011 at 12:17 PM, Pid wrote: > On 15/08/2011 18:05, Mohit Anchlia wrote: >> Is this even possible with tomcat? > > In Tomcat 7.0: > >  abc##SNAPSHOT-01.war >  abc##SNAPSHOT-02.war >  abc##SNAPSHOT-03.war >  abc##SNAPSHOT-04.war > > etc Sorry I don't follow. What do I need to do ch

Re: Tomcat war context path

2011-08-15 Thread Pid
On 15/08/2011 18:05, Mohit Anchlia wrote: > Is this even possible with tomcat? In Tomcat 7.0: abc##SNAPSHOT-01.war abc##SNAPSHOT-02.war abc##SNAPSHOT-03.war abc##SNAPSHOT-04.war etc > On Thu, Aug 11, 2011 at 12:32 PM, Mohit Anchlia > wrote: >> Currently when I deploy abc-SNAPSHOT-01.war

  1   2   3   4   >