2009/12/17 Ingo Gambin igam...@brilliant.de
Basically with already existing pdf-files that works fine, but checking
the whole procedures inserting timing-outputs I realized that, although
the extraction method is done and the next methods are called, itext (or
the system) is still writing the
Martin B. Smith wrote:
On 12/16/2009 11:01 PM, Bill Barker wrote:
André Warnier a...@ice-sa.com wrote in message
news:4b294eb6.4090...@ice-sa.com...
Martin B. Smith wrote:
Howdy!
I'm trying to ensure that only specific instances of Apache are allowed
to proxy requests into my Tomcat 5.5.28
Peter Crowther wrote:
2009/12/17 Ingo Gambin igam...@brilliant.de
Basically with already existing pdf-files that works fine, but checking
the whole procedures inserting timing-outputs I realized that, although
the extraction method is done and the next methods are called, itext (or
the system)
Hi,
I made architecture of High Availability with Tomcat and Apache, here I
will describe it simply.
USERS
|
INTERNET
|
Firewall
|
CSS
/ \
/ \
Apache Apache
HTTP Server HTTP Server
\
When using the same executer for two connectors which one is standard and the
other is NIO, can we benefit from the the NIO connector at all? As for my
understanding the NIO conector has a single worker thread.
Thanks in advance
Moti
Caldarale, Charles R wrote:
From: Michal Singer
Peter Chen wrote:
Hi,
I made architecture of High Availability with Tomcat and Apache, here I
will describe it simply.
Peter,
while there are plenty of people here who try to help Tomcat users by
answering precise technical questions about Tomcat on their own donated
time, I think that
I have developed a web application in advance java. I am using java as front
end, MySQL as Back-end and TOMCAT 5.5 SERVER to run the application.
I have made a .war file of my application and pasted it in webapps folder of
TOMCAT.
The problem is when I start TOMCAT manually I cannot access my
Why are you using httpd - what purpose is it serving other than to act as a
load-balancer to Tomcat, which you should be able to do directly from the
Cisco load balancer?
2009/12/17 Peter Chen peter.c...@aicent.com
Hi,
I made architecture of High Availability with Tomcat and Apache, here I
On 17/12/2009 10:27, Jason Bourne wrote:
I have developed a web application in advance java. I am using java as front
end, MySQL as Back-end and TOMCAT 5.5 SERVER to run the application.
I have made a .war file of my application and pasted it in webapps folder of
TOMCAT.
The problem is when I
On 17.12.2009 10:02, André Warnier wrote:
Martin B. Smith wrote:
On 12/16/2009 11:01 PM, Bill Barker wrote:
André Warnier a...@ice-sa.com wrote in message
news:4b294eb6.4090...@ice-sa.com...
Martin B. Smith wrote:
Howdy!
I'm trying to ensure that only specific instances of Apache are
Rainer Jung wrote:
On 17.12.2009 10:02, André Warnier wrote:
Martin B. Smith wrote:
On 12/16/2009 11:01 PM, Bill Barker wrote:
André Warnier a...@ice-sa.com wrote in message
news:4b294eb6.4090...@ice-sa.com...
Martin B. Smith wrote:
Howdy!
I'm trying to ensure that only specific instances
Hello,
I have some trouble with a Tomcat running on a vServer Ubuntu 8.04:
I used an old vServer with 768MB RAM. On this machine I had a Tomcat
running using -XX:MaxPermSize=128m -Xmx256m settings. Tomcat consumed
the given memory and was working fine.
Now I switched to a new vServer machine
Hallo,
unfortunately it is a 404. And the 404 is only delivered when the
request header contains if-modified-since. If not the request is
respondec correctly. This behaviour is reproducable.
Below you find an example of failed and successful request.
The GET URL is in both cases
For all Java Processes
[unix]export JVM_OPTS =-Xmx512M
[windows] SET JVM_OPTS=-Xmx256m
For Tomcat only
[unix] export TOMCAT_OPTS=3D-DXmx=3D512m
[Windows] set TOMCAT_OPTS=3D-DXmx=3D512m
Martin Gainty
__
Jogi és Bizalmassági
2009/12/17 Lars Fischer lfisc...@fast-mail.org
I have some trouble with a Tomcat running on a vServer Ubuntu 8.04:
I used an old vServer with 768MB RAM. On this machine I had a Tomcat
running using -XX:MaxPermSize=128m -Xmx256m settings. Tomcat consumed
the given memory and was working fine.
Thanks Charles for the reply..,
I got the answer myself after a long time... Actually its like this
IF you have a default log file for log4j configuration that is
log4j.configuration under WEB-INF/classes folder and did not use this
statement
PropertyConfigurator.configure(log4j.properties);
Thanks Charles. Enabling 2 AJP Connector works fine.
Elli,
I have already tested with mod_proxy and works fine as well.
But what is the best configuration? mod_proxy (HTTP protocol) or mod_jk (AJP
protocol) anyone knows this?
Thanks,
Fernando
On Wed, Dec 16, 2009 at 7:15 PM, Elli Albek
request.getSession() returns an incorrect null on Linux, but on Windows it's
OK.
I have an ordinary Struts2 web app deployed on Tomcat 6.0.20, together with
a JAAS-solution where I have my own Valve class.
The Valve repeatedly executes invoke() with the following code-snippet (here
very much
Hi
Sorry for the Long Over haul
I am using ServletContextListener
For the listener-class of Container
With regards
KArthik
-Original Message-
From: Pid [mailto:p...@pidster.com]
Sent: Wednesday, December 16, 2009 6:28 PM
To: Karthik Nanjangude
Subject: Re: Need Some info
On
On 17/12/2009 11:26, Abid Hussain wrote:
Hallo,
unfortunately it is a 404. And the 404 is only delivered when the
request header contains if-modified-since. If not the request is
respondec correctly. This behaviour is reproducable.
Below you find an example of failed and successful request.
sounds like a permissions error on the work folders
/tomcat/apache-tomcat-6.0.18/work
fu...@127.0.0.1 /tomcat/apache-tomcat-6.0.18/work
$ ls -al
total 0
drwx--+ 3 0
at a min i would turn on read/execute for tomcat work folder
chmod +x .
chmod +r .
$ ls -al
total 0
Hi,
the file is contained in a jar (which is naturally in classpath) and
inside this jar contained in the following path:
jar-file/META-INF/progressbar/script.js
Best regards,
Abid
-Ursprüngliche Nachricht-
Von: Pid [mailto:p...@pidster.com]
Gesendet: Donnerstag, 17. Dezember 2009
On 17/12/2009 12:52, Johan Thorselius wrote:
request.getSession() returns an incorrect null on Linux, but on Windows it's
OK.
I have an ordinary Struts2 web app deployed on Tomcat 6.0.20, together with
a JAAS-solution where I have my own Valve class.
The Valve repeatedly executes invoke() with
This header is invalid:
Last-Modified: Do, 17 Dez 2009 11:11:29 GMT
This is not according to spec, Dez should be Dec. Maybe tomcat chokes on it.
-Original Message-
From: Abid Hussain [mailto:abid.huss...@dilax.com]
Sent: donderdag 17 december 2009 12:26
To: users
Subject: AW:
I have attached the interceptor to the bugzilla ticket. Actually, it extends
the AbstractStatementInterceptor.
Guillermo.
On Wed, Dec 16, 2009 at 4:47 PM, Filip Hanik - Dev Lists devli...@hanik.com
wrote:
correct, there is an AbstractStatementInterceptor that you would extend in
order to
Hi,
this is interesting. As you see in my example (i put it again below),
tomcat itself delivers the Last-Modified (Do, 17 Dez 2009 11:11:29 GMT)
in a different locale (german) as the Date Header (Thu, 17 Dec 2009
11:24:53 GMT).
So maybe the simplest way is to prevent tomcat from putting the
From: jkv [mailto:j.kumara...@gmail.com]
Subject: RE: FileNotFoundException in Tomcat6.0
But the problem starts only if you try to configure using a
PropertyConfigurator having the same file there and use the
above statement then you get FNFExe because the classpath is
acutally bin folder
Thank you very much!
On 12/17/2009 07:11 AM, Guillermo Fernandes wrote:
I have attached the interceptor to the bugzilla ticket. Actually, it extends
the AbstractStatementInterceptor.
Guillermo.
On Wed, Dec 16, 2009 at 4:47 PM, Filip Hanik - Dev Listsdevli...@hanik.com
wrote:
Abid Hussain wrote:
Hi,
this is interesting. As you see in my example (i put it again below),
tomcat itself delivers the Last-Modified (Do, 17 Dez 2009 11:11:29 GMT)
in a different locale (german) as the Date Header (Thu, 17 Dec 2009
11:24:53 GMT).
That sounds to me like a bug.
Maybe the
From: Martin Gainty [mailto:mgai...@hotmail.com]
Subject: RE: Tomcat gets not enough memory on vServer
For all Java Processes
[unix]export JVM_OPTS =-Xmx512M
[windows] SET JVM_OPTS=-Xmx256m
That's wrong - only launchers or scripts that look for JVM_OPTS will recognize
those settings, and
From: motit [mailto:moti@expand.com]
Subject: RE: Accumulation of Request Processors objects causes tomcat
stuck?
As for my understanding the NIO conector has a single worker thread.
Not true. The NIO connector has one thread that monitors connection states,
but when a request
From: André Warnier [mailto:a...@ice-sa.com]
Subject: Re: Can I make my servlet wait/delay for... maybe 500 - 1000
ms
1) I have no idea how one can call an external OS-level command from Java
Runtime.exec() is the traditional way; the ProcessBuilder class available in
1.5+ provides more
From: André Warnier [mailto:a...@ice-sa.com]
Subject: Re: Using RemoteAddressValve with an Apache mod_proxy_balancer
If anyone points me to where the code of the RemoteAddrValve can be
found, I'd like to have a look.
Download the source package, and look in:
On 17/12/2009 13:13, Karthik Nanjangude wrote:
Hi
Sorry for the Long Over haul
I am using ServletContextListener
For the listener-class of Container
The ServletContextListener contextInitialized() event fires before all
of the Servlet init() methods.
If your Servlet configures your
Hello, all
I'm building native library for:
Tomcat 6.0.20
JNI 1.1.18
APR 1.4.1
OS: Solaris 5.10 sparcv9
compiler: gcc -m64
Library was built ok. When I begin starting tomcat I have such logs:
INFO: Loaded APR based Apache Tomcat Native library 1.1.18.
Dec 17, 2009 7:08:19 PM
I'm building native library for:
Tomcat 6.0.20
JNI 1.1.18
APR 1.4.1
OS: Solaris 5.10 sparcv9
compiler: gcc -m64
Library was built ok. When I begin starting tomcat I have such logs:
INFO: Loaded APR based Apache Tomcat Native library 1.1.18.
Dec 17, 2009 7:08:19 PM
I don't know a lot about Tomcat native, but have you got openssl
installed? If not that's probably the issue.
PS. Don't forget to recompile Tomcat native after you've installed it.
-
To unsubscribe, e-mail:
Bill Barker wrote:
Mario Splivalo mario.spliv...@megafon.hr wrote in message
news:4b27994e.5080...@megafon.hr...
Bill Barker wrote:
Mario Splivalo mario.spliv...@megafon.hr wrote in message
news:4b266622.5060...@megafon.hr...
Tomcat also supports ant-style variable replacement, so using
Yes, I've installed OpenSSL 0.9.8l (the latest stable) and built native
library with it.
Philip Wigg wrote:
I'm building native library for:
Tomcat 6.0.20
JNI 1.1.18
APR 1.4.1
OS: Solaris 5.10 sparcv9
compiler: gcc -m64
Library was built ok. When I begin starting tomcat I have such
I used the startup parameters
-Duser.language=en
-Duser.region=US
This caused Tomcat to deliver the Last-Modified in the correct format.
That solved the problem, no 404 anymore, thanks.
So it seems to be a bug in tomcat...?
Again my other question: How can I instruct tomcat not to put the
Hello,
I am finding a way to keep a variable in a request scope. I feel it is
cumbersome to put that into request variable and pass it through multiple
objects. So, I think I will make it accessible through a static class
variable. I wonder if I can put it into a static ThreadLocal variable in a
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ake,
On 12/17/2009 2:17 PM, Ake Tangkananond wrote:
I am finding a way to keep a variable in a request scope. I feel it is
cumbersome to put that into request variable and pass it through multiple
objects. So, I think I will make it accessible
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
On 12/15/2009 3:04 PM, André Warnier wrote:
- so now the user-agent gets a response html page, in which the embedded
img links have not been rewritten, and thus do not contain the
;jesssionid.. attribute.
When it requests these images, the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Sasidhar,
On 12/15/2009 11:17 PM, sasidhar prabhakar wrote:
DDOS is definitely not the cause we are accurately monitoring the incoming
traffic and all the mails we are sending from the application are user
generated like friend requests.
Ok.
we
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
On 12/15/2009 5:01 PM, Caldarale, Charles R wrote:
From: André Warnier [mailto:a...@ice-sa.com]
Subject: Re: [OT - question] Limit user sessions in tomcat
It would seem that there ought to be some low-level response-direction
socket flag
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Michal,
On 12/16/2009 1:23 AM, Michal Singer wrote:
I am using Executor in the configuration of the
connectors, and so if i understand you correctly, it means that the
requestors are supposed to reduce?
That depends on your configuration. Why not
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Lars,
On 12/17/2009 6:06 AM, Lars Fischer wrote:
I have some trouble with a Tomcat running on a vServer Ubuntu 8.04:
What is the virtualization technology being used? We recently moved our
development environment to an OpenVZ instance and, before
Thanks Konstantin for your response. I tried to use AccessLogValve, but noticed
I can only capture successful logins. I would like to be able to capture all
unsuccessful attempts as well for security-audit reasons, is this possible
through Tomcat?
Thanks,
Fidelis
-Original Message-
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Abid,
On 12/17/2009 12:08 PM, Abid Hussain wrote:
I used the startup parameters
-Duser.language=en
-Duser.region=US
This caused Tomcat to deliver the Last-Modified in the correct format.
That solved the problem, no 404 anymore, thanks.
So
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Johan,
On 12/17/2009 7:52 AM, Johan Thorselius wrote:
request.getSession() returns an incorrect null on Linux, but on Windows it's
OK.
That's odd... request.getSession() should never return null. This method:
Returns the current session
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Kumaravel,
On 12/16/2009 4:39 AM, jkv wrote:
I am using tomcat 6.0 and created a log4j configuration folder under
WEB-INF/classes/log4j.properties. I have my log4j.jar file in WEB-INF/lib
folder. I created a simple servlet where in the init method
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Edmund,
On 12/16/2009 10:44 AM, Edmund Urbani wrote:
I have Tomcat 6.0.16 running with TLS enabled (at least I thought so)
and would have expected it to support both SSL and TLS connections. The
curious thing is, that only SSL3 works - with SSL3
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Fernando,
On 12/17/2009 7:42 AM, Fernando Monteiro Duarte wrote:
Thanks Charles. Enabling 2 AJP Connector works fine.
I wonder if the problem was that 2 httpd instances were simply trying to
open too many connections to Tomcat. A single connector
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Fidelis,
On 12/17/2009 3:42 PM, Fidelis Mnyanyi wrote:
Thanks Konstantin for your response. I tried to use AccessLogValve,
but noticed I can only capture successful logins. I would like to be
able to capture all unsuccessful attempts as well for
A note on reverse proxy:
request.getRemoteIP() will normally return the IP of the proxy and not
the IP of the client.
In Tomcat you will probably need to add a valve such as RemoteIPValve
(search this list) to fix the IP of the incoming request. Otherwise
your log files will show the IP of the
I changed connectionTimeOut value 0 to 2 then It is working presently.
What is problem in connectionTimeOut value 0.
Could you explain me.
On Fri, Dec 18, 2009 at 1:56 AM, Christopher Schultz
ch...@christopherschultz.net wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Sasidhar,
From: Christopher Schultz [mailto:ch...@christopherschultz.net]
Subject: Re: Accumulation of Request Processors objects causes tomcat
stuck?
That depends on your configuration. Why not post the Connector and
Executor elements and we can take a look?
He already did:
From: sasidhar prabhakar [mailto:sasidhar1...@gmail.com]
Subject: Re: tomcat 6 not responding to any kind of request i.e. static
and dynamic resources after some hours
What is problem in connectionTimeOut value 0.
Setting connectionTimeout to zero results in using the platform default value
The Last-Modified header is helping your server a lot, so don't just remove it.
It allows the client to cache the contents reliably, and only update the cache
when the server reports that the contents have changed.
For dynamically generated content, such as servlet data, Tomcat will not
In the days that I was forced to write my own HTTP server
implementation, I totally avoided Locale functions, to avoid this
particular type of problems. It's safer to create a few string arrays
with the proper (english) values and use those for day/month names.
Actually, I think the HTTP spec is
60 matches
Mail list logo