RE: EL in Tomcat 7

2011-09-12 Thread spring
> In 7.0.21 it works: OK, thank you. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: [OT] Do imports inherit?

2011-09-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Doug, On 9/11/2011 12:24 PM, Donald Jolley wrote: > Thanks for the clarification. > >> Also note that it's generally frowned upon to import with >> wildcards; be > specific with the classes you use. > > Your suggestion certainly seems reasonable to

Re: Apache+Tomcat+mod_jk

2011-09-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Konstantin, On 9/12/2011 9:06 AM, Konstantin Kolinko wrote: > 2011/9/12 trm asn : >>> >> Below is my httpd.conf >> >> Alias /images "/var/www/sc/images" JkWorkersFile >> conf/workers.properties JkLogFile /var/log/httpd/mod_jk.log >> JkLogLevel debu

Re: *.iface;jessionid=xxx gives 404 error

2011-09-12 Thread Konstantin Kolinko
2011/9/13 Konstantin Kolinko : > 2011/9/13 jprideaux : >> >> Is it intended that request.getRequestURI() should return a path parameter >> as part of the URI? > > Yes, That is required by the Servlet Specification. > > See servlet-2_5-mrel2-spec.pdf  ch. SRV.3.1 (page number 26), Quote: > [[[ > Pat

Re: Tomcat 7 adds jsessionid in request URI as opposed to Tomcat 5

2011-09-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Javed, On 9/12/2011 10:54 AM, Javed wrote: > At the end, I circumvented this issue with help of regular > expressions in urlrewrite filter. I wrote different regular > expressions to identify jsessionid and converted upper case request > URI to lower

Re: EL in Tomcat 7

2011-09-12 Thread Konstantin Kolinko
2011/9/12 : >> What exactly version on Tomcat 7.0.x? There is a new one every month. > > .get(..) works on 7.0.5 but not on 7.0.8 > There was a lot of important fixes since 7.0.8. In 7.0.21 it works: [[[ <%@page import="java.util.*" %> <% Map states = new HashMap(); states.put(1, "foo"); p

Re: *.iface;jessionid=xxx gives 404 error

2011-09-12 Thread Konstantin Kolinko
2011/9/13 jprideaux : > > One other tidbit.  When I call request.getRequestURI(), I get something like > PathDispatcher.service: /test3/a.iface from > org.apache.catalina.connector.RequestFacade@a245b0 > when I'm using Tomcat 6.0.32 > and > PathDispatcher.service: /test3/a.iface;jsessionid=blah fro

Re: *.iface;jessionid=xxx gives 404 error

2011-09-12 Thread jprideaux
One other tidbit. When I call request.getRequestURI(), I get something like PathDispatcher.service: /test3/a.iface from org.apache.catalina.connector.RequestFacade@a245b0 when I'm using Tomcat 6.0.32 and PathDispatcher.service: /test3/a.iface;jsessionid=blah from org.apache.catalina.connector.

Re: *.iface;jessionid=xxx gives 404 error

2011-09-12 Thread jprideaux
The examples as part of the 6.0.33 Tomcat deployment have both JSP and servlets. You are right that appending a path parameter of ";jsessionid=123" works for those. What is different and specific about my webapplication is that I am using icefaces pages which are different than either JSP or ser

RE: EL in Tomcat 7

2011-09-12 Thread spring
>> ${states.get(state)} > > Did it work before, and in what exact versions of Tomcat? Only on dev with 7.0.5 > I would write that as ${states[state]} This works. > What exactly version on Tomcat 7.0.x? There is a new one every month. .get(..) works on 7.0.5 but not on 7.0.8 -

Re: EL in Tomcat 7

2011-09-12 Thread Konstantin Kolinko
2011/9/12 : > Hi, > > in a jsp I have an expression like this: > > ${states.get(state)} Did it work before, and in what exact versions of Tomcat? I would write that as ${states[state]} > > On my dev machine everything works fine, on the staging it does not work, I > get: > > java.lang.NoSuchMeth

EL in Tomcat 7

2011-09-12 Thread spring
Hi, in a jsp I have an expression like this: ${states.get(state)} On my dev machine everything works fine, on the staging it does not work, I get: java.lang.NoSuchMethodException: java.util.HashMap.get(java.lang.Integer) states is: Map states = new HashMap(); states.put(1, "foo"); ... Both

Re: *.iface;jessionid=xxx gives 404 error

2011-09-12 Thread Konstantin Kolinko
2011/9/12 jprideaux : > > My webapps has some icefaces pages where I need to tag on the jsessionid. > This was working in Tomcat 6.0.32 and all earlier versions but not for > Tomcat 6.0.33.  It also does not work for the Tomcat 7.0.x minor editions I > have tested.  It is as if the most recent Tomc

*.iface;jessionid=xxx gives 404 error

2011-09-12 Thread jprideaux
My webapps has some icefaces pages where I need to tag on the jsessionid. This was working in Tomcat 6.0.32 and all earlier versions but not for Tomcat 6.0.33. It also does not work for the Tomcat 7.0.x minor editions I have tested. It is as if the most recent Tomcat minor versions cannot tell

Re: Tomcat 7 adds jsessionid in request URI as opposed to Tomcat 5

2011-09-12 Thread Javed
Thanks for all the replies. I can not go cookie way because application has to work without cookies. I did lot of investigation but couldn't find why it is working in Tomcat 5 not in Tomcat 7. At the end, I circumvented this issue with help of regular expressions in urlrewrite filter. I wrote di

Re: Apache+Tomcat+mod_jk

2011-09-12 Thread Konstantin Kolinko
2011/9/12 trm asn : >> > Below is my httpd.conf > > Alias /images "/var/www/sc/images" > JkWorkersFile conf/workers.properties > JkLogFile /var/log/httpd/mod_jk.log > JkLogLevel debug > JkLogStampFormat "[%a %b %d %H:%M:%S %Y] " > JkOptions     +ForwardKeySize +ForwardURICompat -ForwardDirectories

Re: Changes in Windows registry, 6.0.33

2011-09-12 Thread Konstantin Kolinko
2011/9/12 nori t : > Sorry. I understood the means of change now. > Registration of the program to Windows also changes. > The change itself is http://svn.apache.org/viewvc?view=revision&revision=1153828 and ported to 5.5 as well: http://svn.apache.org/viewvc?view=revision&revision=1160313 Best

Re: Changes in Windows registry, 6.0.33

2011-09-12 Thread nori t
Sorry. I understood the means of change now. Registration of the program to Windows also changes. Thanks, nori. 2011/9/12 nori t > Hi, Konstantin. > Thanks for the quick reply. > > If you would like to use another service, should not a parameter be > increased under "Procrun 2.0" ? > > > > 201

Re: Apache+Tomcat+mod_jk

2011-09-12 Thread André Warnier
trm asn wrote: On Mon, Sep 12, 2011 at 3:59 PM, Casper Wandahl Schmidt < kalle.pri...@gmail.com> wrote: Den 12-09-2011 11:24, trm asn skrev: On Sun, Sep 11, 2011 at 8:40 PM, Christopher Schultz< ch...@christopherschultz.net> wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 tRm, On

Re: Changes in Windows registry, 6.0.33

2011-09-12 Thread nori t
Hi, Konstantin. Thanks for the quick reply. If you would like to use another service, should not a parameter be increased under "Procrun 2.0" ? 2011/9/12 Konstantin Kolinko > 2011/9/12 nori t : > > In 6.0.33 Windows installer, > > Why is it that registry key path of "InstallPath" has changed

Re: Apache Tomcat unable to send the request. tomcat throwing 502 Gate Way error

2011-09-12 Thread Darius D.
rakesh k-3 wrote: > > Hi Christopher > > thanks for viewing m configuration ..as mentioned we are using http > connectors in my configuration not AJP. > > and here are my configuration details. > > Apache tomcat configuration (server.xml) > > maxThreads="150" minSpareThreads="4"/>

Re: Changes in Windows registry, 6.0.33

2011-09-12 Thread Konstantin Kolinko
2011/9/12 nori t : > In 6.0.33 Windows installer, > Why is it that registry key path of "InstallPath" has changed from > "HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Tomcat\6.0" to > "HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Tomcat\6.0\Tomcat6" > ? To support installing se

Changes in Windows registry, 6.0.33

2011-09-12 Thread nori t
In 6.0.33 Windows installer, Why is it that registry key path of "InstallPath" has changed from "HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Tomcat\6.0" to "HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Tomcat\6.0\Tomcat6" ? nori.

Re: Apache+Tomcat+mod_jk

2011-09-12 Thread trm asn
On Mon, Sep 12, 2011 at 3:59 PM, Casper Wandahl Schmidt < kalle.pri...@gmail.com> wrote: > > > Den 12-09-2011 11:24, trm asn skrev: > > On Sun, Sep 11, 2011 at 8:40 PM, Christopher Schultz< >> ch...@christopherschultz.net> wrote: >> >> -BEGIN PGP SIGNED MESSAGE- >>> Hash: SHA1 >>> >>> t

Re: Apache+Tomcat+mod_jk

2011-09-12 Thread Casper Wandahl Schmidt
Den 12-09-2011 11:24, trm asn skrev: On Sun, Sep 11, 2011 at 8:40 PM, Christopher Schultz< ch...@christopherschultz.net> wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 tRm, On 9/9/2011 5:52 PM, trm asn wrote: I have one war eample.war& which is also having a images folder ( /usr/lo

Re: Apache+Tomcat+mod_jk

2011-09-12 Thread trm asn
On Sun, Sep 11, 2011 at 8:40 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > tRm, > > On 9/9/2011 5:52 PM, trm asn wrote: > > I have one war eample.war & which is also having a images folder ( > > /usr/local/tomcat/webapps/exampl