On Mon, Jun 8, 2009 at 1:07 AM, Mark Thomasma...@apache.org wrote:
...
Just followed through the source code and found a handy comment (yes they
really
do exist) pointing me towards section JSP.2.2 of the JSP spec. This makes it
clear that #{...} is not allowed in template text so unless I
Hi,
I noticed the Tomcat implementation of HttpServletRequest.getHeaderNames()
returns all header names in lower case. Is there any possibility to get them
with their original case?
Thanks,
Alexander
-
To unsubscribe,
I will be out of the office starting 06/08/2009 and will not return until
06/15/2009.
I will be out of the office in Training until Monday, June 15th. For
WebSphere issues please email WebSphere-Admin. Thanks- Tyson Beffa
This message and any files transmitted with it are the property of
On Mon, Jun 8, 2009 at 9:30 AM, Marco Guazzonemarco.guazz...@gmail.com wrote:
On Mon, Jun 8, 2009 at 1:07 AM, Mark Thomasma...@apache.org wrote:
...
Just followed through the source code and found a handy comment (yes they
really
do exist) pointing me towards section JSP.2.2 of the JSP spec.
Hello
I've been facing problem setting my Host property with Tomcat 5.5. Please
have a look on the code below and let me know what's wrong with my code.
Now if I use the url nexusroi.com, it doesn't work whereas the url
nexusroi.com/nexus does work well. Can anyone help me
From: hellian [mailto:rashedulhasan2...@yahoo.com]
I've been facing problem setting my Host property with Tomcat
5.5. Please
have a look on the code below and let me know what's wrong
with my code.
Now if I use the url nexusroi.com, it doesn't work whereas the url
nexusroi.com/nexus
Hi Everyone,
I've got a general query around application clustering in Tomcat.
We've got several clusters of Tomcat 6.0.18, each consisting of 2-3
nodes per cluster. The setup is fairly straightforward and we're using
the 'based on load' balance method at the web server layer for the ajp
Hi all,
I am new to Tomcat/Apache, and have just about started to learn JSP/Servlets
as well. I just wrote my first Hello world servlet (code below) and tried
to run it, but got several errors. Here's exactly what I did:
1. I wrote Hello.java (code below) and put it in /webapps/ROOT directory
2.
nexus is a commercial software vendor and is responsible for their errors so i
would contact them first
in the meanwhile you can help yourself find the root of this problem
by enabling logging so you can see the exception displayed in the logs
(my logs are located at
is servlet-api.jar on classpath
usually located at $CATALINA_HOME\lib\servlet-api.jar
what does your web-inf/web.xml look like?
Martin Gainty
__
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
Diese Nachricht ist
Sorry...I added the code, I don't know why it disappeared. Anyway the code ia
as follows:
Host name=nexusroi.com appBase=C:\superior\nexus\war
deployOnStartup=true autoDeploy=false unpackWARs=true
deployXML=false xmlValidation=false xmlNamespaceAware=false
Context path=/nexus
Hi Martin,
Thanks for your reply.
My Apache Tomcat version is 5.5.27. The servlet-api.jar is in
$CATALINA_HOME/common/lib. I included it in the classpath and now the code
compiles without any errors.
I am including my web.xml file below.
Please let me know what else I need to do to get the
Hello all
i need to deal with legacy web app code , that needs to add basic
authentication to it with sessions
now i need to be able to extract the session id from the header (
can't add sessions into the code )
the scenario is that only once and only once per page i pass the
session into the
On 08.06.2009 13:22, Darren Kukulka wrote:
Hi Everyone,
I've got a general query around application clustering in Tomcat.
We've got several clusters of Tomcat 6.0.18, each consisting of 2-3
nodes per cluster. The setup is fairly straightforward and we're using
the 'based on
From: Meir Yanovich [mailto:meiry...@gmail.com]
i need to deal with legacy web app code , that needs to add basic
authentication to it with sessions
now i need to be able to extract the session id from the header (
can't add sessions into the code )
the scenario is that only once and only
I get the following errors trying to build Tomcat v6.0.18 from source on
linux? It appears to be a javac error in the dbcp module, can anyone
help please?
I also modidifed the build.properties for to compile against = 1.6
Evironment: Linux
Ant 1.7.0
jdk
From: jhoare [mailto:james.ho...@net-a-porter.com]
I get the following errors trying to build Tomcat v6.0.18
from source on linux?
... why?
Tomcat's pure Java, so runs the same on any platform. Download Sun JDK,
download zip of Tomcat, unzip, go.
- Peter
P.S. Say hi to
From: listan...@gmail.com [mailto:listan...@gmail.com]
Subject: Re: Servlet Error
My Apache Tomcat version is 5.5.27. The servlet-api.jar is in
$CATALINA_HOME/common/lib.
Good; that's where it should be. However, since you're just starting with
Tomcat, why not use the newer 6.0.x version,
I forgot to add we are using JDK1.4
From: Leon Rosenberg rosenberg.l...@googlemail.com
To: Tomcat Users List users@tomcat.apache.org
Sent: Saturday, June 6, 2009 7:52:16 AM
Subject: Re: Application monitoring
On Sat, Jun 6, 2009 at 4:19 AM, Chetan
From: hellian [mailto:rashedulhasan2...@yahoo.com]
Subject: RE: Problem setting Host
Host name=nexusroi.com appBase=C:\superior\nexus\war
deployOnStartup=true autoDeploy=false unpackWARs=true
deployXML=false xmlValidation=false xmlNamespaceAware=false
Context path=/nexus
From: jhoare [mailto:james.ho...@net-a-porter.com]
Subject: Error building Tomcat 6.0.18
I get the following errors trying to build Tomcat v6.0.18 from source
on linux?
jdk 1.6.0_12
Due to an incompatibility introduced by Sun in the 1.6 JDBC interface, you just
use a
mod_jk/1.2.23
Hello,
I'm trying to configure a cluster using stiky_session. This is the
relevant part of configuration:
###
worker.node1_partition1.port=8009
worker.node1_partition1.host=172.16.130.110
worker.node1_partition1.type=ajp13
worker.node1_partition1.lbfactor=1
On 08.06.2009 15:54, Marco Sarti wrote:
mod_jk/1.2.23
Hello,
I'm trying to configure a cluster using stiky_session. This is the
relevant part of configuration:
###
worker.node1_partition1.port=8009
worker.node1_partition1.host=172.16.130.110
worker.node1_partition1.type=ajp13
Chuck -
Thanks for the info and lead to check something else.
I am all IPv4 here, though the IPv6 services may still be enabled on
that system. I will need to check.
I got the box in and setup with minimal customizations and was trying to
get this rolled out quickly (I do this because a lot of
I'm implementing a Manager (session management) that stores sessions on shared
servers (that is, a distributed manager, but not the default one that comes
with tomcat). A key difference between the implementation that I'm working on
and the ClusteredManager is that the entire session is
Did the double-check.
IPv6 protocol is disabled on the active network connection.
So it shouldn't be an IPv6 issue.
Jeff
-Original Message-
From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com]
Sent: Monday, June 08, 2009 9:02 AM
To: Tomcat Users List
Subject: RE: Windows x64
From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com]
Subject: RE: Windows x64 Installer
IPv6 protocol is disabled on the active network connection.
So it shouldn't be an IPv6 issue.
But it clearly is, since your netstat output shows IPv6 addresses, not IPv4.
- Chuck
THIS
Jeffrey Janner wrote:
Did the double-check.
IPv6 protocol is disabled on the active network connection.
So it shouldn't be an IPv6 issue.
It should be disabled on all connections including localhost.
NULL address means 'all interfaces'.
Regards
--
^(TM)
Hi,
I noticed the Tomcat implementation of HttpServletRequest.getHeaderNames()
returns all header names in lower case. Is there any possibility to get them
with their original case?
Nobody having any idea about this behaviour?
Thanks again,
Alexander
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
To whom it may concern,
On 5/25/2009 3:44 AM, List Member wrote:
Pls do send some of your scripts/configurations, it will be of great
help for us!
See attached (hopefully!).
Here's what's going on:
1. ant.properties goes in ~/.ant.properties and
From: Alexander Müller [mailto:alexander.muel...@brz.gv.at]
Subject: Re: Header names lower case
I noticed the Tomcat implementation of HttpServletRequest.getHeaderNames()
returns all header names in lower case. Is there any possibility to
get them with their original case?
Nobody
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jason,
On 6/5/2009 5:34 PM, Jason Joseph wrote:
I think I have figured it out though, I just realized
I have mod_deflate enabled for Apache.
That was my suspicion, but I wanted to see how the other issues played-out.
Would that apply to data
I noticed the Tomcat implementation of HttpServletRequest.getHeaderNames()
returns all header names in lower case. Is there any possibility to
get them with their original case?
Want to give us a hint about the Tomcat version you're looking at?
- Chuck
I noticed it on Tomcat 5.0.30 and
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
On 6/7/2009 3:41 AM, André Warnier wrote:
Jason Joseph wrote:
...
Yes all static files are being served by Apache. No they aren't being
loaded from the document root they are actually being loaded from
within our application war.
That
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jason,
On 6/7/2009 7:17 PM, Jason Joseph wrote:
Rainer Jung wrote:
Be careful to secure access to WEB-INF and META-INF.
Yup, Ive got this in there, one for META-INF too...
Location /WebApp_ID/WEB-INF/
deny from all
Alexander Müller:
I noticed the Tomcat implementation of
HttpServletRequest.getHeaderNames() returns all header names in lower
case. Is there any possibility to get them with their original case?
I can't answer your question but I'm curious: why is a HTTP header
name's case of any importance
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Alexander,
On 6/8/2009 4:39 AM, Alexander Müller wrote:
I noticed the Tomcat implementation of
HttpServletRequest.getHeaderNames() returns all header names in lower
case. Is there any possibility to get them with their original case?
The HTTP
I can't answer your question but I'm curious: why is a HTTP header
name's case of any importance to you?
RFC 2616 defines field names as case-insensitive. Relying on a header
field's case therefore seems at least non-portable to me.
Maybe you should elaborate what problem you are really
OK, after boning up on IPv6 addresses, I see what's happening.
With no address specified in the connector, and with both the IPv4 and
IPv6 protocols installed, APR is setting up a listener only on the IPv6
protocol any address port. Windows displays this as [::] in
accordance with IPv6
Will try that and see.
The machine has 4 network ports, 3 of which are disabled completely
(oops, actually unplugged).
The main port is configured with the IPv6 protocol installed, but it is
unchecked.
Actually, all ports have it installed, and I haven't found a way to
uninstall it. But all 4
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Syed,
On 6/7/2009 12:53 PM, syed shah wrote:
I want to enforce single instance creation for the servlet because I have
some code that serves the user requests and i want to implement caching and
handle synchronization myself, thanks and best
The HTTP spec (HTTP/1.1, section 4.2:
http://www.w3.org/Protocols/rfc2616/rfc2616-sec4.html) states that HTTP
header field names are case-insensitive.
You should not be relying on a particular caseification (?) of header
fields.
Are you just interested in what the client sent?
I
Alexander Müller:
RFC 2616 defines field names as case-insensitive. Relying on a
header field's case therefore seems at least non-portable to me.
Maybe you should elaborate what problem you are really trying to
solve.
For me the case wouldnt be important, but I am forwarding (basically
a
apparently? Hm, in this case I'd double-check whether whatever problem
you're having is indeed caused by the case of the header names. Just to
make sure you're not barking at the wrong tree.
If the receiving party is really relying on the case of header names,
I'd ask them to fix their
Mladen Turk wrote:
All higher MSVCRT versions has dependency on MSVCRT.dll so if you
build against that you have assurance that CRT functions will come
from the same CRT library regardless of the version used.
I know that stdio functions have problems, so if like mod_jk the
module uses them for
Peter Crowther wrote:
From: hellian [mailto:rashedulhasan2...@yahoo.com]
I've been facing problem setting my Host property with Tomcat
5.5. Please
have a look on the code below and let me know what's wrong
with my code.
Now if I use the url nexusroi.com, it doesn't work whereas the url
From: Christopher Schultz [mailto:ch...@christopherschultz.net]
Subject: Re: how to force tomcat to make a single istance of a servlet
Usually, only one instance of your servlet will be created.
Unless using the SingleThreadModel (a really bad idea), the spec allows only
one instance of a
Alexander Müller wrote:
apparently? Hm, in this case I'd double-check whether whatever problem
you're having is indeed caused by the case of the header names. Just to
make sure you're not barking at the wrong tree.
If the receiving party is really relying on the case of header names,
I'd ask
Hi Christopher,
I want to do this cause i am handling the synchronization myself and infact
i am using innodb so
i dont want multiple instance of the servlet, although i can handle multiple
threads in there.
I just wrote some code thats pretty similar to yours except that i use a int
and check if
javax.servlet.http.HttpServlet
//to receive
service() method
{
Enumeration reqHeaderEnum = req.getHeaderNames();
while( reqHeaderEnum.hasMoreElements() ) {
String headerName = (String)reqHeaderEnum.nextElement();
//THIS IS THE HEADER NAME
responseString += CRLF +
Hi,
Since we modify our server to use mod_jk to serve sites there is an error
with a Tomcat Action, that requires a HTML Auth.
If we open the URL http://www.bla.de/?action=Import in a Browser, there is a
Auth-Dialog to fill in Username and Passwort. This Username and Password
seems to be hard
did you ensure TC has execute access to that code?
// These permissions apply to javac
grant codeBase file:D:\wwwroot\Java_shop\WEB-INF\classes\- {
permission java.security.AllPermission;
};
Martin Gainty
__
Verzicht und
We have tomcat 6 (Tomcat/6.0.16) installed on a Redhat ES4 server in a
production environment (although it's not being depended-upon at this
moment; we're in the installation phase).
I installed it via the tarball binary, not from an RPM.
When I deployed a WAR that was running bug-free on my own
Folks,
Going to try this again since I got no reply to my first inquiry. I'd
like to log a bug report along the lines of request getAttributeNames
method does not return all request attributes (e.g.,
org.apache.tomcat.sendfile.support). Either that or this is a doc
issues somewhere. I know in the
From: Zaq Rizer [mailto:idhindsi...@gmail.com]
Subject: Frustrating refusal to serve *some* pages, scripts, images.
The full text of the stack trace follows ...
Since this appears to be reproducible, you might want to stop Tomcat, clear out
the logs, restart Tomcat, and try the failing
On Mon, Jun 8, 2009 at 4:14 PM, Caldarale, Charles
Rchuck.caldar...@unisys.com wrote:
From: Zaq Rizer [mailto:idhindsi...@gmail.com]
Subject: Frustrating refusal to serve *some* pages, scripts, images.
The full text of the stack trace follows ...
Since this appears to be reproducible, you
Zaq Rizer wrote:
We have tomcat 6 (Tomcat/6.0.16) installed on a Redhat ES4 server in a
production environment (although it's not being depended-upon at this
moment; we're in the installation phase).
I installed it via the tarball binary, not from an RPM.
When I deployed a WAR that was
From: Zaq Rizer [mailto:idhindsi...@gmail.com]
Subject: Re: Frustrating refusal to serve *some* pages, scripts,
images.
Jun 8, 2009 3:35:15 PM org.apache.catalina.core.StandardWrapperValve
invoke
SEVERE: Servlet.service() for servlet default threw exception
javax.servlet.ServletException:
I retained my entire conf and logs directory, and installed .0.20, and
it works perfectly fine.
I'm not confident enough to say it's a bug in .0.16, but it certainly
could be Bad Unix Admin syndrome (not me).
Btw, apologies for top-posting; I'm on my iPhone now...
On Jun 8, 2009, at
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
CVE-2008-5515: Apache Tomcat information disclosure vulnerability
Severity: Important
Vendor:
The Apache Software Foundation
Versions Affected:
Tomcat 4.1.0 to 4.1.39
Tomcat 5.5.0 to 5.5.27
Tomcat 6.0.0 to 6.0.18
The unsupported Tomcat 3.x, 4.0.x
I have this in the web.xml of my application:
servlet-mapping
servlet-name
MyServlet
/servlet-name
url-pattern
/
/url-pattern
/servlet-mapping
Which works fine, except for requests without pathinfo (i.e.
http://servername/ ). That still
After restarting tomcat it started working by itself, but only if I've
overriden the default welcome-file-list in my web.xml or move
index.jsp out of the way, implying that the default tomcat servlet is
running *before* mine and then handing off to mine. I checked and
requesting a plain
Joseph S wrote:
After restarting tomcat it started working by itself, but only if I've
overriden the default welcome-file-list in my web.xml
More on this: I discovered that reloading the webapp itself doesn't
work, I have to restart Tomcat itself in order to get the welcome file
list override
--- On Mon, 6/8/09, Zaq Rizer idhindsi...@gmail.com wrote:
WARNING: Unable to find configured definition
'/WEB-INF/tiles.xml'
Jun 8, 2009 3:35:00 PM
org.apache.tiles.factory.TilesContainerFactory
initializeContainer
Just a random thought, which you've alluded to from your iPhone-posted
I currently start Tomcat with the Procrun Service Manager.
It's an app called Apache Tomcat Properties with six tabbed forms: general,
log on, logging, java, startup and shutdown.
To start Tomcat I press the start button in the general tab.
I want to experiment with security, lock down a
Joseph S j...@selectacast.net wrote in message
news:4a2da6d6.50...@selectacast.net...
I have this in the web.xml of my application:
servlet-mapping
servlet-name
MyServlet
/servlet-name
url-pattern
/
/url-pattern
/servlet-mapping
Hi,
I just switched from Tomcat 5.5 to Tomcat 6 on an Ubuntu server. I'm
trying to use log4j with this configuration:
log4j.appender.R=org.apache.log4j.ConsoleAppender
log4j.appender.R.target=System.out
log4j.appender.R.layout=org.apache.log4j.PatternLayout
Nolan Johnson n0...@yahoo.com wrote in message
news:291765.23953...@web38808.mail.mud.yahoo.com...
I'm implementing a Manager (session management) that stores sessions on
shared servers (that is, a distributed manager, but not the default one
that comes with tomcat). A key difference
68 matches
Mail list logo