Hi Carl
I've seen problems like this when deploying across time zones (in my case
NZ - San Francisco), especially if there is a Windows box in the equation.
The 1 hour off sounds odd - daylight saving problem?
Regards
Ron
- Original Message -
From: Carl c...@etrak-plus.com
To:
Hi All,
We are using EL expression in one of our tag libraries (.tag files), like {
input type=text id=${id}
}
1. Made sure that servlets 2.4 is enabled in webapp web.xml like
{
?xml version=1.0 encoding=UTF-8?
web-app xmlns=http://java.sun.com/xml/ns/j2ee;
Hi Guyz.
I got two linux servers machine running,in both of them,I have tomcat 5 running
i.e
server1:/opt/tomcat1
server2:/opt/tomcat1
I want to have the load balancing using mod_jk and apache2 to delegates the
request for both servers.
I want the server1 to be the controller node or
On Wed, Sep 2, 2009 at 1:22 AM, Martin Gaintymgai...@hotmail.com wrote:
the fellow who wrote it was writing code for at least 2 other projects
it may have been a case of where he accomplished 75% of what was needed then
some other task got moved to his front burner
I hear you, we've all been
jvmRoute needs to be unique across all the tomcat instances.
server1:
Engine name=Catalina defaultHost=localhost jvmRoute=worker1
server2:
Engine name=Catalina defaultHost=localhost jvmRoute=worker2
To test - tail the access logs on each tomcat and see what appears.
-Tim
Thanks man,I worked up.
Given
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
Ron,
Thanks for your reply.
The 'one hour off' problem was an install issue by the guy who brought up
that server... wait a minute, that was me.
The mystery is that Tomcat will compile some JSP's just fine but will always
stop on the same ones. On the theory it was memory, I changed the
So, you are saying the EL expressions are evaluated, but the standard
taglibs aren't? Can you post a minimum jsp with the problem? Also
get rid of javaee.jar. I believe it duplicates servlet-api classes.
-- David
On Sep 2, 2009, at 5:03 AM, veerabahu
moonpearl_vegtime_2...@yahoo.com
Interesting reading:
http://blog.backblaze.com/2009/09/01/petabytes-on-a-budget-how-to-build-cheap-cloud-storage/
I wonder what performance gain they'd get from a newer version of Tomcat
and if they're using APR.
p
-
To
asingla4 schrieb:
I'm done with saving the file to C:\files but I don't know how to make
it downloadable when the download button is clicked because the files
folder is outside the webapp directory.
Please read this thread:
providing downloading functionality for a file which is on disk
difficult without seeing code for problem jsp,accompanying tlds and
/WEB-INF/web.xml
Martin Gainty
__
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene
difficult without seeing code for problem jsp,accompanying tlds and
/WEB-INF/web.xml
Martin Gainty
__
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene
From: jamez smith [mailto:jamez...@gmail.com]
Subject: Re: tomcat 4.1.31 problem
This project was developed since 2002 and has a lot obsolete methods
even under JDK 1.4. It won't be able to compile under higer version
of JDK.
Have you actually tried compiling under 1.5 or 1.6? You might
From: Shantanu Upadhyaya [mailto:shantan...@gmail.com]
Subject: How do I remove 'S' from HTTPS - JAAS configured on tomcat,
JSF webapp
How do I remove HTTPS after login in ?
To quote Mark T:
That is a really bad idea. If the threats to your system are such that
you need to protect the
Pid wrote:
Interesting reading:
http://blog.backblaze.com/2009/09/01/petabytes-on-a-budget-how-to-build-cheap-cloud-storage/
I wonder what performance gain they'd get from a newer version of Tomcat
and if they're using APR.
:)
I love the fact that the on/off switch ($30) is almost as
This is interesting topic.
IANA-failover-expert, but one question comes to my mind. What happens
when the first server is recovered? Some cached connections will still
point to second server, while newly created connections will go to the
first one?
Is that acceptable?
Regards,
Ognjen
-Original Message-
From: Bill Davidson [mailto:bill...@gmail.com]
Sent: Tuesday, September 01, 2009 20:18
To: 'Tomcat Users List'
Subject: Using multiple DataSource's for fail-over.
Tomcat 6.0.20 using DBCP DataSource
Java 1.6.0_16
Oracle 10g with RAC.
I've got two Oracle
I thought the Oracle JDBC driver allowed for all the nodes to be placed
into the connect string and the driver was smart enough to detect
failover. [So its a configuration exercise on the connection string.]
-Tim
Ognjen Blagojevic wrote:
This is interesting topic.
IANA-failover-expert, but
Bill,
If you are using Oracle RAC, then why dont you use a RAC JDBC URL that
contains both nodes?
A DBCP testOnBorrow will ensure only current transactions on a node
will fail if one of the nodes goes down, and all new requests for
connections from the pool will recover.
Bap.
Quoting
Good day Chunk,
Have you actually tried compiling under 1.5 or 1.6? You might be
surprised at how few problems there are.
I could try to compile under 1.5. But I dare not to use it in production
box, as this project is well controlled by the company. Every step I do
need to be
jamez smith wrote:
Good day Chunk,
Have you actually tried compiling under 1.5 or 1.6? You might be
surprised at how few problems there are.
I could try to compile under 1.5. But I dare not to use it in production
box, as this project is well controlled by the company. Every step I do
Eduard Pal wrote:
It seems that in tomcat 5.0 when i run startup.bat it exists with code
1. Does anyone know why?
It's because of a combination of Windows quirks (or some might say flaws).
Whenever one unsets an environment variable (e.g. set FOO=), the set
command sets the errorlevel
Ognjen Blagojevic wrote:
IANA-failover-expert, but one question comes to my mind. What happens
when the first server is recovered? Some cached connections will still
point to second server, while newly created connections will go to the
first one?
Actually, it doesn't switch which is the
2009/9/2 ks...@yahoo.com:
REMOVE ME FROM THIS LIST
Follow the arrow
|
|
|
\/
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
It iss broke
-Original Message-
From: Antonio Petrelli [mailto:antonio.petre...@gmail.com]
Sent: Wednesday, September 02, 2009 10:59 AM
To: Tomcat Users List
Subject: Re: REMOVE ME FROM THIS LIST
2009/9/2 ks...@yahoo.com:
REMOVE ME FROM THIS LIST
Follow the arrow
|
|
|
\/
Hi All,
I need to share a file between two applications, A and B.
A: I put my web site under Root folder and it is using test.xml file.
B: The second application which generate the xml file is host under webapps
application.
My question is how to allow to application B to update test.xml ?
There are too many unknown constraints to answer - but I'll try.
In app B - use an init parameter which is a filename where test.xml is
located.
context-param
param-namemyfile/param-name
param-value/usr/local/more/cowbell/test.xml/param-value
/context-param
Then when
Hi,
Thank you for your response. It's working for me.
I have a problem with caching. The server doesn't update the file in temp
directory. I set cachingAllowed to false, but it doesn't work for me.
Do you have any idea ?
Regards
On Wed, Sep 2, 2009 at 1:01 PM, Tim Funk funk...@apache.org
Hi All,
Could anyone tell me which is a good thread analyzer tool for Sun JVMs? We
have Apache and Tomcat in our infrastructure. I could see that for IBM JVMs,
there are tools provided by IBM for thread and heap dump analysis.
--
View this message in context:
On 02/09/2009 17:09, Chris Lenart wrote:
It iss broke
That's a splendidly informative statement.
Sometimes unsubscribe messages get lost in spam folders, or don't get
sent because the request is sent from a different address to the one
that was subscribed.
p
-Original
Hello All,
I have a setup with two tomcat instances(AB). I have configured
an apache web server 2.2 for load balancing and fail over. Setup looks fine
as per the configurations suggested. Let tomcat A be handling some request
at sometime. When tomcat instance(A) goes down, the session
Your mailer uses a very unfriendly way of formatting your messages. So I
do top posting.
Yes, as you can read on
http://tomcat.apache.org/connectors-doc/reference/workers.html
the atribute redirect is supported since version 1.2.9. For a two node
load balancer, you don't need it though. If you
From: keeplearning [mailto:p_sodh...@yahoo.com]
Subject: Thread Analyzer
Could anyone tell me which is a good thread analyzer tool for
Sun JVMs?
http://java.sun.com/javase/6/docs/technotes/tools/index.html#monitor
http://java.sun.com/javase/6/docs/technotes/tools/index.html#troubleshoot
On 28.08.2009 05:39, James Chang wrote:
Hi there,
I try to buind mod_jk with apache 2.2 (also build from port
tree but with worker mode)
from porttree of FreeBSD but I it show me the following error messages:
If the file is loaded via a ClassLoader - then the JVM will cache it and
you'll need to reload the webppa or restart tomcat.
-Tim
ramzi khlil wrote:
Hi,
Thank you for your response. It's working for me.
I have a problem with caching. The server doesn't update the file in temp
directory. I
Hi,
There is no way to reload it outside the ClassLoader.
Ramzi
On Wed, Sep 2, 2009 at 2:02 PM, Tim Funk funk...@apache.org wrote:
If the file is loaded via a ClassLoader - then the JVM will cache it and
you'll need to reload the webppa or restart tomcat.
-Tim
ramzi khlil wrote:
Hi,
On 27.08.2009 15:45, Dennis Christopher wrote:
environment: Tomcat 6.0.18 under apache2 on Mac OS X Server 10.5 (Leopard).
I am using a mod_jk connector with JBoss.
I am having trouble getting context urls of the form
website.my.com/myapplication honoured (or even localhost/myapplication).
Tim Funk wrote:
I thought the Oracle JDBC driver allowed for all the nodes to be placed
into the connect string and the driver was smart enough to detect
failover.
[So its a configuration exercise on the connection string.]
I'm having trouble finding documentation for this capability. Can you
On 26.08.2009 15:57, Christopher Schultz wrote:
Is this due to the new version of mod_jk and that's
just how it behaves, or because I have a very open mapping for the
mount directives, or something else I'm just not seeing.
I don't believe there have been significant changes to the way
On 26.08.2009 11:29, lmk wrote:
It works using JkStripSession directive.
Then either something is wrong with your JkMount (Apache not using it as
you intended), or the URLs of the images are broken in the sense, that
they are not beginning with /context/.
To sum up the previous discussion:
-
On 26.08.2009 00:20, Troy Bull wrote:
Greetings
I have been trying to get this to work for hours and I am stuck. I
am trying to configure mod_jk and it works to a point, that is up
until the back end app does a redirect, the redirected url is passed
all the way back to the browser, then
On 19.08.2009 15:12, Markus Pohle wrote:
Hi list members,
I am Markus Pohle, new subscriber to this list and long time user of
apache tomcat and tomcat connector (with apache httpd).
I do have a question according to mod_jk and jkstatus for which I did
not find any answer or solution,
... or try JkMountCopy All
On 13.08.2009 09:28, bazzaP wrote:
I came across the same error in my mod_jk.log file. It turned out not to be a
problem with my mod_jk configuration though...I had set the
transport-guarantee in web.xml to CONFIDENTIAL, but forgotten to configure
the server
Very cool!
On 07.08.2009 20:53, Samuel Mendenhall wrote:
Here is a webapp I wrote recently: http://lbconfig.appspot.com/ to solve
the annoying problem of hand writing an optimized configuration for mod_jk
setup, which for me, I do a lot. This is by no means feature complete, and
I welcome
On 11.08.2009 15:37, Rainer Frey wrote:
On Tuesday 11 August 2009 10:40:48 Mark Thomas wrote:
Rainer Frey wrote:
With AJP,
isn't that information also available in the protocol request and set
automatically by the AJP connector?
I believe so.
I tried, and it works. Does it make sense to
Hello,
i wanted to create a https connector element at code level(not from
server.xml).
using
http://tomcat.apache.org/tomcat-6.0-doc/api/org/apache/catalina/connector/Connector.html
with protocol as Http11NioProtocol.
I was not getting how to relate connector object and keystore file and
On 14.08.2009 06:53, matt617 wrote:
I am using Apaches MOD SSL to do the certificate enforcement. It then uses
the mod proxy to push the certificate info over AJP to my tomcat instance.
tomcat does not have SSL enables at the container level but my application
seems to pick up the
On 02.09.2009 19:57, Sumedh Sakdeo wrote:
Hello All,
I have a setup with two tomcat instances(AB). I have configured
an apache web server 2.2 for load balancing and fail over. Setup looks fine
as per the configurations suggested. Let tomcat A be handling some request
at sometime.
On 19.07.2009 20:46, James Abley wrote:
James Abley wrote:
This assumes that mod_jk is thread-safe and doesn't suffer from the known
problems with non-thread-safe modules in worker MPM. Can anyone confirm
that's true?
Answering my own question; from the docs, it looks like mod_jk is built by
Hi Rainer,
I am using Tomcat session clustering and Apache Http Server for LB(using
mod_jk module). Also, using Tomcat 6. I have made appropriate changes to
worker.properties and httpd.conf. Also I have made appropriate changes to
server.xml on each tomcat.
Thanks,
Sumedh
On Thu, Sep 3, 2009
Did you look at Oracle RAC docs?
On Wed, Sep 2, 2009 at 11:10 AM, Bill Davidsonbill...@gmail.com wrote:
Tim Funk wrote:
I thought the Oracle JDBC driver allowed for all the nodes to be placed
into the connect string and the driver was smart enough to detect failover.
[So its a configuration
On 21.08.2009 20:51, Andy Wang wrote:
What are the general thoughts on the stability of the
enable_chunked_encoding option for the IIS isapi redirector for tomcat
and IIS?
We're running into a scenario where something is causing IIS to not send
down the complete response. Haven't figured
Hi All,
I have a quick question about getting thread dumps. I have been told that if
I do kill -3 process id, it will send the thread dumps to catalina.out.
Let say if I run test 1 and take 3 dumps. Then if I run test 2 and 3 more.
Do these get appended to first thread dumps I took?
If yes,
Something like this:
(DESCRIPTION=(FAILOVER=ON)(ADDRESS_LIST=(LOAD_BALANCE=ON)(ADDRESS=(PROTOCOL=TCP)(HOST=x)(PORT=1526))(ADDRESS=(PROTOCOL=TCP)(HOST=)(PORT=1526)))(CONNECT_DATA=(SERVICE_NAME=somesid)))
On Wed, Sep 2, 2009 at 11:53 AM, Mohit Anchliamohitanch...@gmail.com wrote:
Did
What's your configuration? Anything in the log file of the redirector?
You might also double check
http://tomcat.apache.org/connectors-doc/webserver_howto/iis.html
Regards,
Rainer
On 25.08.2009 13:46, Michael Wall wrote:
From: Michael Wall mw...@nordicedge.se
Date: Tue, Aug 25, 2009 at 1:05
On 31.08.2009 18:38, iam wrote:
Bill, Thanks for your prompt response.
I see that it will be available in Tomcat 6.0.21 onwards. Do you know when
will it be available for download ?
Also, does it resolve the 8k size limit on AJP connector or if there is a way
around it ?
We are using
FWIW, I usually do a tail/tee on catalina.out in a term, then do the
kill -QUIT tomcat PID from another term, then kill the tail/tee
combo which leaves me with a reasonably clean thread dump.
For example:
Terminal A:
prompt$ tail -f /usr/local/tomcat/logs/catalina.out | tee
From: keeplearning [mailto:p_sodh...@yahoo.com]
Subject: thread dumps catalina.out
I have been told that if I do kill -3 process id, it will
send the thread dumps to catalina.out.
I prefer to use jstack, since I can control where the output goes for each dump.
- Chuck
THIS
Thanks for the clarification on the initial heap size. I've set both Xms and
Xmx to 512m for the following test.
I was able to reproduce the problem immediately with:
- Xms and Xmx both set to 512m
- Java 1.6 with no JPDA running
- XX:+PrintGCDetails enabled
I've attached the thread dump which I
Sorry. But I didn't understand how using 2 terminals would help me with the
questions I posted.
Jim Cox-2 wrote:
FWIW, I usually do a tail/tee on catalina.out in a term, then do the
kill -QUIT tomcat PID from another term, then kill the tail/tee
combo which leaves me with a reasonably
On 02.09.2009 21:05, Jim Cox wrote:
FWIW, I usually do a tail/tee on catalina.out in a term, then do the
kill -QUIT tomcat PID from another term, then kill the tail/tee
combo which leaves me with a reasonably clean thread dump.
For example:
Terminal A:
prompt$ tail -f
On 01.09.2009 20:16, Florian Kirchhoff wrote:
I would like to know if it possible to use the legacy clustering module from
Tomcat 5.5 in Tomcat 6.
I remember seeing a separate project for this exact purpose but cannot find
it anymore, does anyone know about this?
To preempt any question
Rainer,
Thanks for the reply. I was confused in my orginal post: I am not
using JBoss at all, only mod_jk.
The file contents are as follows below.
Apache has a hosts directory, but I'm not sure if the files matter.
They are either the apache .default files or slight modifications of
Rainer Jung wrote:
Difficult to answer. My feeling is, that the code is fine and the
original contributor Tim Whittington seemed to have used basically the
same code for quite some time.
On the other hand only having it in a separate binary will still prevent
most people to use it, so it might
From: Bradley Wagner [mailto:bradley.wag...@hannonhill.com]
Subject: Re: 100% usage and hanging on startup of Spring/Hibernate app
in Tomcat 5.5 on Ubuntu 7
I've also attached the catalina.out log which shows the GC
basically freezing.
Unfortunately, that log was stripped; can you post it
Please indicate if there is a document that references Apache Tomcat icd-10
support as my searches of the Tomcat FAQ and Tomcat related websites have not
produced any hits. My US based employer is a health care based organization
that requires that we research every application to determine if
Mokri, Rhonda R wrote:
Please indicate if there is a document that references Apache Tomcat icd-10
support as my searches of the Tomcat FAQ and Tomcat related websites have not
produced any hits. My US based employer is a health care based organization
that requires that we research every
Here's the last 100 lines of it. That line with only 3 letters is actually
what is in the file. It's hanging mid-GC call.
2009-09-02 13:58:05,306 INFO [TableMetadata] : table found:
hhtest.cxml_recyclerecord
2009-09-02 13:58:05,306 INFO [TableMetadata] : columns: [id,
parentfolderid,
Hello,
I've an interesting situation with our application clusters. I am running
multiple applications for one of our websites. We don't share sessions
between the different servers; we use sticky sessions instead. Session
replication is difficult because of the large size of our users' sessions.
Whenever tomat compiles a JSP page and there is an error in it (for
instance trying to reference a property on a bean that doesn't exist),
it is throwing (and obscuring) an exception and logging it to
catalina.out and then returning whatever html it has built to the
browser, as in :
Sep 2, 2009
Bradley Wagner wrote:
Any thoughts on which GC parameters I should change.
See what the default collector is for your platform and switch to s
different one.
Mark
-
To unsubscribe, e-mail:
Nothing magical to the two terms, just makes it easier to have a
tail/tee combo running while issuing the kill -QUIT cmd (v. via job
control, e.g).
For example, in terminal A:
prompt#tail -f /usr/local/tomcat/logs/catalina.out | tee /tmp/tomcat.dump.A
Now in terminal B:
prompt#ps -aef | egrep
We had a similar problem with Tomcat 6 using clustering. It turns out that
the SSO information is only propagated while all instances are running. If
Instance-A fails, several users then log in to Instance-B, then Instance-A
comes back up, all of the SSO information for the users that logged in
After re-reading your initial post, the problems might not be as related as
I thought since at no point did replication stop for me.
On Thu, Sep 3, 2009 at 9:56 AM, Shaun Senecal ssenecal.w...@gmail.comwrote:
We had a similar problem with Tomcat 6 using clustering. It turns out that
the SSO
Bhuvanesh Pattanashetti bhuva...@gmail.com wrote in message
news:bce69da80909021136n22683ee8jeb4cf1ca927e2...@mail.gmail.com...
Hello,
i wanted to create a https connector element at code level(not from
server.xml).
using
Hi Mark,
Tomcat is only used for local development environment. In our production,
we use Websphere application server on AIX. I am also new to this project
and was told I can only use Tomcat 4.1 to setup my local development.
I like to clarify that the JVM 1.4 is no longer supported by Sun?
Shaun,
Yes we have a user session object created when user logs on with proper
credentails.
For ex: At startup of two servers lets say user A has logged in.
As you are saying the SSO information is propagated while all instances are
running. So when for first time when tomcat which was handling
http://tomcat.apache.org/tomcat-6.0-doc/cluster-howto.html
*How it Works
*
1. TomcatA starts up
2. TomcatB starts up (Wait that TomcatA start is complete)
3. TomcatA receives a request, a session S1 is created.
4. TomcatA crashes
5. TomcatB receives a request for session S1
6.
David, Thanks for your kind help
Problem gets resolved once I copied el-api.jar
Thanks,
Veerabahu
David Smith-2 wrote:
So, you are saying the EL expressions are evaluated, but the standard
taglibs aren't? Can you post a minimum jsp with the problem? Also
get rid of javaee.jar. I
Hi,
I'm quite surprise to see this issue in the tomcat server.While running the
application ,I've changed my system date ahead a day.I observed that tomcat
server started creating new session for the same client.
Any pointers on this to resolve ?Please help me.
Thanks in advance.
Regards,
Hi Rainer,
Yes , it support to the 1.29 mod jk.
But here issue is different, I am using the JDBC store for the clustering.
Suppose my application is running fine and that instant if node1 is goes
offline
It need near about 10 - 20 sec to push the session in to DB and in between
these 10 sec I
81 matches
Mail list logo