2009/6/9 Dick Eastlake :
> 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 exper
2009/6/9 Bill Barker :
>
>> Incidentally I discovered you can't by having an empty
>> element, you have to have at least one in there or the
>> default servlet will use the one in $CATALINA_BASE/conf/web.xml . Bug or
>> feature?
>
> I'd say an enhancement rather than a bug, since you can always
"Nolan Johnson" 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 between the im
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
log4j.appender.R.layout.ConversionPatt
"Joseph S" wrote in message
news:4a2da6d6.50...@selectacast.net...
>I have this in the web.xml of my application:
>
>
>
> MyServlet
>
>
>/
>
>
>
>
> Which works fine, except for requests without pathinfo (i.e.
> http://servername/ ). T
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 direc
--- On Mon, 6/8/09, Zaq Rizer 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 message:
Could the
Joseph S wrote:
After restarting tomcat it started working by itself, but only if I've
overriden the default 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 to take.
--
After restarting tomcat it started working by itself, but only if I've
overriden the default 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 static file does get ha
I have this in the web.xml of my application:
MyServlet
/
Which works fine, except for requests without pathinfo (i.e.
http://servername/ ). That still seems to be handled by the default
tomcat servlet, which is serving up the index.j
-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 an
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 17:03
> 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.ServletExc
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
On Mon, Jun 8, 2009 at 4:14 PM, Caldarale, Charles
R 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 might want to stop
> 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 r
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 th
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 l
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 Vertraulichkeitanme
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 cod
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 + h
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
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 th
> 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
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
nex
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 l
> "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
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 (bas
> 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?
>
-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 reg
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 port
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 addressi
> 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 real
-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 s
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 importanc
-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...
>
>
>deny from all
>
I highly recom
-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
>> 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
-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 c
> 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?
>
-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 an
> 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
--
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)
--
> 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 COMMUN
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 Installe
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 distri
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 our
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
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
worker.node1_partition
> 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
us
> From: hellian [mailto:rashedulhasan2...@yahoo.com]
> Subject: RE: Problem setting Host
>
> deployOnStartup="true" autoDeploy="false" unpackWARs="true"
> deployXML="false" xmlValidation="false" xmlNamespaceAware="false">
> workDir="C:\superior\nexus\work" reloadable="true">
>type="javax.s
I forgot to add we are using JDK1.4
From: Leon Rosenberg
To: Tomcat Users List
Sent: Saturday, June 6, 2009 7:52:16 AM
Subject: Re: Application monitoring
On Sat, Jun 6, 2009 at 4:19 AM, Chetan Chheda wrote:
> All,
>
> What are you using for production mon
> 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 vers
> 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 C
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 1
> 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 on
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 'ba
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 serve
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 serv
Sorry...I added the code, I don't know why it disappeared. Anyway the code ia
as follows:
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
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 vertraulich
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 $CATALINA_HOME/logs/$HOSTNA
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
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
w
> 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
> nexusr
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 resolv
On Mon, Jun 8, 2009 at 9:30 AM, Marco Guazzone wrote:
> On Mon, Jun 8, 2009 at 1:07 AM, Mark Thomas 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 #{.
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
Sigma-
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, e-mail
On Mon, Jun 8, 2009 at 1:07 AM, Mark Thomas 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 am mis-readin
70 matches
Mail list logo