Peter Crowther wrote:
I know it's bad form to reply to my original mail - sorry!
2009/9/30 Peter Crowther peter.crowt...@melandra.com:
I wonder whether this is a race condition with some text editors. For
example, if vi operated in the following way:
1) Rename context.xml to context.xml~
Thanks a lot Rainer.
If the error messages are in some way OK, then my question got answered.
Thanks again.
2009/9/30 Rainer Jung rainer.j...@kippdata.de
On 30.09.2009 17:19, Bocalinda wrote:
Hi André.
I actually stopped one server on purpose, to test the mod_jk's behavior.
So the
Yes, that helps considerably.
2009/10/1 Daniel Wittenberg dwittenberg2...@gmail.com:
Daniel Wittenberg wrote:
tomcat5-5.5.23-0jpp.7.el5_3.2
Great. Not the most up-to-date, but at least 5.5.23 isn't *too* ancient :-).
INFO: The Apache Tomcat Native library which allows optimal performance
Changing testOnBorrow = true has not changed the situation with the
connection pool failing -can anyone suggest anything?
Thanks.
Martin.
MartinOShea wrote:
Hello
I wonder if anyone can advise me on this issue. I have a Tomcat 6.X Java /
JSP application which uses connection pooling
To agree and augment on everything Peter wrote, the whole thing stinks
of a very broken installation and configuration package, or packages.
Not for lack of desire to help, but I believe you should really go back
to the spacewalker (or CentOS) help forum, and enquire there about
working
2009/10/1 Mark Thomas ma...@apache.org:
Peter Crowther wrote:
I wonder whether this is a race condition with some text editors. For
example, if vi operated in the following way:
1) Rename context.xml to context.xml~
2) Create context.xml, write contents, close file
... then a poll of the
Hi,
Calling %= request.getCharacterEncoding() % in a jsp deployed in a Tomcat
6.0.20 container returns null.
Is there any possibility to force a default CharacterEncoding for such requests?
Thanks in advance!
Regards,
--
SWITCH
Serving Swiss Universities
--
Halm
I need to install the following components on Windows XP (for ArcIMS):
1) Apache 2.0.43 (MSI installer for Windows, no crypto)
2) JSDK 1.4.1_01
3) Tomcat 4.1.12
4) mod_jk2-2.0.43.dll
Problem is, Apache 2.0.43 and Tomcat 4.1.12 are just _nowhere_ to be found.
These are what I got instead:
1)
Halm Reusser wrote:
Hi,
Calling %= request.getCharacterEncoding() % in a jsp deployed in a
Tomcat 6.0.20 container returns null.
Is there any possibility to force a default CharacterEncoding for such
requests?
Don't worry, there is already a default.
The only problem is to figure out
Kreshna Aryaguna Nurzaman wrote:
I need to install the following components on Windows XP (for ArcIMS):
1) Apache 2.0.43 (MSI installer for Windows, no crypto)
2) JSDK 1.4.1_01
3) Tomcat 4.1.12
4) mod_jk2-2.0.43.dll
Problem is, Apache 2.0.43 and Tomcat 4.1.12 are just _nowhere_ to be found.
2009/10/1 Kreshna Aryaguna Nurzaman kreshna_icehe...@yahoo.com:
I need to install the following components on Windows XP (for ArcIMS):
1) Apache 2.0.43 (MSI installer for Windows, no crypto)
2) JSDK 1.4.1_01
3) Tomcat 4.1.12
4) mod_jk2-2.0.43.dll
[...]
What if I go with newest version of
On 01/10/2009 10:44, Halm Reusser wrote:
Hi,
Calling %= request.getCharacterEncoding() % in a jsp deployed in a
Tomcat 6.0.20 container returns null.
Is there any possibility to force a default CharacterEncoding for such
requests?
How about?
request.setCharacterEncoding(ENCODING);
Bearing
Pid wrote:
How about?
request.setCharacterEncoding(ENCODING);
I wan't do it within the application. I prefer to configure the app container
or the app itself.
Bearing in mind that you're not really changing what the client
requests, or might expect you to be setting...
Is there a
2009/10/1 Halm Reusser halm.reus...@switch.ch:
Is there a possibility to force the client to use a specific encoding?
No. Consider the first request a client makes: it has to create and
send a HTTP request with no prior knowledge of, or communication with,
the server. So it has no way of
It all depends on the client. IIRC if you set the charset in the content
type header to utf-8, like this
contentType=text/html; charset=utf-8
most browsers will then use utf-8 for HTTP GET and POST requests when
responding to the given page.
See this thread for some more information:
On 1-Oct-2009, at 07:22, Halm Reusser wrote:
Pid wrote:
How about?
request.setCharacterEncoding(ENCODING);
I wan't do it within the application. I prefer to configure the app
container or the app itself.
I had asked for this too a while back, but I was told the RFC
indicates
Thanks!
-Original Message-
From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com]
Sent: Wednesday, September 30, 2009 3:47 PM
To: Tomcat Users List
Subject: RE: Getting arbitrary environment variables from webapp
From: Mike Baranski [mailto:list-subscripti...@secmgmt.com]
Peter Crowther wrote:
2009/10/1 Mark Thomas ma...@apache.org:
Peter Crowther wrote:
I wonder whether this is a race condition with some text editors. For
example, if vi operated in the following way:
1) Rename context.xml to context.xml~
2) Create context.xml, write contents, close file
Kreshna Aryaguna Nurzaman wrote:
I need to install the following components on Windows XP (for ArcIMS):
1) Apache 2.0.43 (MSI installer for Windows, no crypto)
2) JSDK 1.4.1_01
3) Tomcat 4.1.12
4) mod_jk2-2.0.43.dll
Problem is, Apache 2.0.43 and Tomcat 4.1.12 are just _nowhere_ to be
On 09/30/2009 11:36 PM, Dan D wrote:
I have the exact situation as described thoroughly here:
http://www.mail-archive.com/users@tomcat.apache.org/msg66793.html
wanna send us a test case?
otherwise, duplicate END events should not be a big deal, easy to handle
Any thoughts?
I know spacewalk doesn't have it's own tomcat, the install pulls
everything it needs it, so I started with a base stripped down CentOS,
followed their instructions and this is where I got from using the
standard installer. There is also a yum repo for the packages so it's
at the latest
2009/10/1 Daniel Wittenberg dwittenberg2...@gmail.com:
I know spacewalk doesn't have it's own tomcat, the install pulls everything
it needs
Yes, but it probably doesn't *configure* it. The spacewalk RPM
probably expresses a dependency on Apache httpd and a dependency on
Tomcat. So you'll get
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Elli,
On 9/27/2009 12:19 AM, Elli Albek wrote:
public void setRemoteAddr(String remoteAddr) {
// Not used
}
The variable is protected so I cannot access it directly from my code.
What variable? The remoteAddress member?
Is
Hello *,
I have a question regarding the Comet technology in combination with a
HTTP proxy.
First of all, my application is working fine so far, no problems.
I am using Tomcat 6.0.20 on Windows XP and 6.0.18 on Ubuntu Linux,
running a NioHttpConnector on port 8081.
On both plattforms I have a
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Igor,
On 9/30/2009 12:11 PM, Igor Mukhin wrote:
P.S. But just to be consistent, why not to create an empty context xml
file under /conf/Catalina for applications that have no
/META-INF/context.xml file?
You are essentially talking about
I'm looking for a graphing (not graphics) package suitable for use in my
Tomcat 5.5.x webapp, for generating on-the-fly data plots. Open-source
preferable but not mandatory, though it has to be low cost.
Any recommendations?
TIA!
D
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mark et al,
On 9/30/2009 8:33 AM, Mark Thomas wrote:
It just means that testOnBorrow does nothing if validationQuery is set to .
For mysql select 1 is sufficient and saves a call to now(). The Oracle
equivalent would be select 1 from dual
FYI,
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Martin,
On 10/1/2009 3:47 AM, MartinOShea wrote:
Changing testOnBorrow = true has not changed the situation with the
connection pool failing -can anyone suggest anything?
Are you sure you are configuring the right connection pool?
Can you
On Oct 1, 2009, at 10:21 AM, Peter Crowther wrote:
2009/10/1 Daniel Wittenberg dwittenberg2...@gmail.com:
I know spacewalk doesn't have it's own tomcat, the install pulls
everything
it needs
Yes, but it probably doesn't *configure* it. The spacewalk RPM
probably expresses a dependency on
On 10/01/2009 09:48 AM, Sven Eisenhauer wrote:
Hello *,
I have a question regarding the Comet technology in combination with a
HTTP proxy.
First of all, my application is working fine so far, no problems.
I am using Tomcat 6.0.20 on Windows XP and 6.0.18 on Ubuntu Linux,
running a
Chris
Their is only one connection pool used for the system and that's the one
defined in context.xml.
Out of interest, I include the code of the connection pool class being used:
package myDataSharer.database_access;
import java.sql.*;
import javax.sql.DataSource;
import
2009/10/1 Daniel Wittenberg dwittenberg2...@gmail.com:
Actually it does configure it
Good to read, though I'm surprised.
Actually this time it worked. Not sure what happened last time, but it's
about 99% working right now.
Great. I wonder what changed?
Not sure I agree here. You can
http://www.jfree.org/jfreechart/
is pretty good.
David kerber wrote:
I'm looking for a graphing (not graphics) package suitable for use in my
Tomcat 5.5.x webapp, for generating on-the-fly data plots. Open-source
preferable but not mandatory, though it has to be low cost.
Any
Sometimes, maybe infrequently, there's a decent reason to implement a small
amount of code outside of the webapp, in the container space. There are
cases where either modifying the webapp is off limits, or where it would
simplify things to implement it in container space so that it's just always
Igor Mukhin wrote:
I just tried to reproduce the issue on the server from yesterday. The
application is reloaded just fine. No deletions/undeployments.
I love Tomcat again.
Thanks, Mark.
Igor, I had a look in the code as well in the past week because of some
issues in the manager webapp. A
Hello there! I've followed the instructions on RUNNING.TXT and a great
presentation by Mark Thomas and Filip Hanik I've found on the net. But
after creating a directory structure:
/tomcat-6.0.20 {catalina_home}
- bin
- conf
- webapps
-work
- temp
- lib
- logs
- instance-01 {catalina_base}
Hey everyone -
I'm stuck on Tomcat 5.5.26 to support a specific application. This is a
Solaris 9 server with no Apache - tomcat is handling its own webserving.
We're hoping to upgrade the JDK. I can use JDK-1.5.0_21 successfully.
When I start tomcat with JDK-1.6.0_16, I get one specific
Does your CATALINA_BASE's catalina.properties file have completely stock
settings? What is common.loader set to in there? It appears that you
have it set up right, and your startup output shows good environment
variable and Java values. You should not need to copy the CATALINA_HOME/lib
dir into
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mark and David,
On 10/1/2009 12:55 PM, Mark Shifman wrote:
http://www.jfree.org/jfreechart/
is pretty good.
FWIW, I believe JasperReports uses jFreeChart to do its graphics, and
I've been very happy with the results (of JasperReports).
- -chris
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Martin,
On 10/1/2009 12:53 PM, MartinOShea wrote:
private static DataSource dataSource = null;
I wouldn't recommend caching the DataSource object. This limits your
ability to reconfigure the DataSource on the fly if you want to. Local
JNDI
Chris
Many thanks. I'll be trying these out over the next few days.
Martin O'Shea.
Christopher Schultz-2 wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Martin,
On 10/1/2009 12:53 PM, MartinOShea wrote:
private static DataSource dataSource = null;
I wouldn't recommend
Hello all.
First off, here are my specs:
Windows XP Professional Edition
Tomcat 6.x
Java EE Project
Eclipse
So, as stated in the title, I am having some issues regarding the use of SSI
and my JSP pages. Currently, I am taking my website that was done for me
many years ago, and turning it from
Hi all
I have install and start tomcat5.5, and in my tomcat5.5/webapps have a
symlink to my page as follows :
j...@ibm:~$ ls -l /var/lib/tomcat5.5/webapps/
lrwxrwxrwx 1 root root 42 2009-10-01 22:57 mysite -
/usr/lib/school/services/ mysite
But when I input http://localhost:8180 /
Hi,
I'm running Tomcat 6.0.18 and seeing something very bizarre. If I use
HttpSession.setMaxInactiveInterval() in one session, and then in a different
session, use HttpSession.getMaxInactiveInterval(), I get the value that I
just set in the first session.
Almost as if
Hi :
How to set tomcat policy setting ?
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=8.10
DISTRIB_CODENAME=intrepid
DISTRIB_DESCRIPTION=Ubuntu 8.10
jay
Hi all :
When I restart tomcat , I find the error msg as follows in my tomcat log :
Oct 2, 2009 11:45:51 AM org.apache.catalina.startup.ContextConfig
processDefaultWebConfig
SEVERE: Occurred at line 87 column 14
Oct 2, 2009 11:45:51 AM org.apache.catalina.startup.ContextConfig start
On Thu, Oct 1, 2009 at 6:38 PM, Eric B. ebe...@hotmail.com wrote:
I'm running Tomcat 6.0.18 and seeing something very bizarre. If I use
HttpSession.setMaxInactiveInterval() in one session, and then in a different
session, use HttpSession.getMaxInactiveInterval(), I get the value that I
just
Hello :
When I start tomcat ,I find the error msg in my tomcat log . what's wrong
with my tomcat ?
Oct 2, 2009 12:41:28 PM org.apache.catalina.core.AprLifecycleListener
lifecycleEvent
INFO: The Apache Tomcat Native library which allows optimal performance in
production environments was
48 matches
Mail list logo