On Fri, 2010-08-27 at 17:53 -0400, Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Vijay,
On 8/27/2010 5:41 AM, Vijay wrote:
I am looking for a way to use only encrypted passwords.
Cool. How are you going to do that?
I am looking to write a wrapper class
On Fri, 2010-08-27 at 09:17 -0300, Thiago Locatelli da Silva wrote:
Hello list! :)
Here at work I was asked to give a try on load balancing two tomcat
servers running tomcat 6.0.29. The problem is that I was given only two
servers to do this, what gave me only one option: run the apache in
On Saturday 28 August 2010 00:11:11 Rainer Jung wrote:
On 27.08.2010 21:58, Wesley Acheson wrote:
On Fri, Aug 27, 2010 at 9:41 PM, Pidp...@pidster.com wrote:
On 27/08/2010 18:51, Wesley Acheson wrote:
I think the reason for doing this in ruby is that ruby is single
threaded, I've been
Hi Chris,
On Sat, Aug 28, 2010 at 1:12 AM, Christopher Schultz
ch...@christopherschultz.net wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Stefan,
On 8/27/2010 7:34 AM, Chefo wrote:
thanks for the interest - of course I'll give you an example.
Surprisingly
it is not
Hello,
I have tomcat 5.5.9 running on CentOS 4.8, I have to restart my tomcat instance
every alternate day and after every 2 or 3 restarts I can see a high cpu
utilization (i.e. almost double of the normal) whereas there is no change in
application code and connectivity. The utilization remain
On 30.08.2010 11:47, Honey Bajaj wrote:
Hello,
I have tomcat 5.5.9 running on CentOS 4.8, I have to restart my tomcat instance
every alternate day and after every 2 or 3 restarts I can see a high cpu
utilization (i.e. almost double of the normal) whereas there is no change in
application
Hi,
what is the best practice to replace a webapp with a newer version in
production?
I'm using Tomcat 6.0.29, with unpackWARs=true autoDeploy=false. All
Webapps reside in appBase, some have a machine-specific context descriptor,
that I manually copy to conf/Catalina/localhost.
I use the
Hi,
After trying all sorts of deploy types I have found the best, simplest and
pain-free deploy in :
- Stop tomcat
- Go to webapps folder
- Remove the webapplication folder and the .war file
- Copy the new war file
- Start tomcat.
In order to have a backup copy I also leave a .war file of the
Thats the way my mod_proxy conf is right now
Proxy balancer://cluster
BalancerMember http://servera:8080/agent/ route=worker0 keepalive=On
loadfactor=1
BalancerMember http://serverb:8080/agent/ route=worker1 keepalive=On
loadfactor=1
ProxySet lbmethod=byrequests maxattempts=3
hi,
This seems the correct way to do. The best way to do it is to use a balanced
ip.
In my setup I use the same http.conf and workers file on both of the server.
When one tomcat goes down the apache sends all the rest of the queries to
second node. When the apache goes down the load balancer, in
Thanks for your two cents Luca, they are a pretty smart idea on how to
load balance thing in a expert way, however this is not a reality when
you work for a company that a thinking line as do more with less, they
wont give me an extra nic for load balancing neither a third server...
my
On Monday 30 August 2010 13:13:03 Ozgur Ozdemircili wrote:
On Mon, Aug 30, 2010 at 12:55 PM, Rainer Frey rainer.f...@inxmail.dewrote:
Hi,
what is the best practice to replace a webapp with a newer version in
production?
I'm using Tomcat 6.0.29, with unpackWARs=true autoDeploy=false.
Hi Mark
Thanks, I waas checking if the response was comitteds, but I had to
check if the print writer was closed (which is not, although the
headers were sent, of course)
Paulo
--
Paulo Silveira
Caelum | Ensino e Inovação
www.caelum.com.br
www.arquiteturajava.com.br
On Sun, Aug 29, 2010 at
Hi There
Our deployment of Tomcat has several web applications, each with their
own cert store. Each web app has a GUI for creating cert requests and
importing certs. we need to configure Tomcat's TLS capability such that
it will authenticate with each web application's certificate store. I
On 30/08/2010 16:58, Jamie wrote:
Hi There
Our deployment of Tomcat has several web applications, each with their
own cert store. Each web app has a GUI for creating cert requests and
importing certs. we need to configure Tomcat's TLS capability such that
it will authenticate with each web
On 30/08/2010 10:13, Chefo wrote:
Hi Chris,
On Sat, Aug 28, 2010 at 1:12 AM, Christopher Schultz
ch...@christopherschultz.net wrote:
Stefan,
On 8/27/2010 7:34 AM, Chefo wrote:
thanks for the interest - of course I'll give you an example.
Surprisingly
it is not java.lang.Object that
From: Mark Thomas [mailto:ma...@apache.org]
Subject: Re: TLS configuration with multiple web apps
To do what you want to do sounds like you'll need one
connector per webapp which equates to one service +
connector + engine + host per web app.
Or perhaps one Tomcat per webapp, which might
Hi Mark
Thanks for the clarification. Makes sense. Since ISP's are typically
cost sensitive, each instance should consume a minimal amount of
resources.. i.e. memory footprint, etc. Is there alot extra overhead in
the architecture you describe?
Jamie
On 2010/08/30 6:02 PM, Mark Thomas
Maybe also to point out a side-effect of multiple connectors (and/or multiple tomcats) :
it also means that each site/application would need a different port number also.
Jamie wrote:
Hi Mark
Thanks for the clarification. Makes sense. Since ISP's are typically
cost sensitive, each instance
From: André Warnier [mailto:a...@ice-sa.com]
Subject: Re: TLS configuration with multiple web apps
Maybe also to point out a side-effect of multiple connectors
(and/or multiple tomcats) :
it also means that each site/application would need a different
port number also.
Or unique IP
I have an axis2 aar webservice deployed in Tomcat. The serviceClass's
init(ServiceContext) method doesn't at all get called. There is no error
message seen in the tomcat logs what is going on. I only see a sentence in the
Catalina logs that the application has been deployed. How am I to
From: Kannan Jayaprakasam [mailto:kan...@arcot.com]
Subject: Service doesn't get inited.
How am I to proceed?
By telling us the exact level of Tomcat you're using, the JVM version it's
running in, the platform you're running on, how you start Tomcat, and the
contents of your webapp's
Hello
While embedding tomcat 7, maven/ivy cant find this dependency:
org.eclipse.jdt#ecj;3.6.
It seems the correct artifact would be
org.eclipse.jdt.core.compiler:ecj:3.6 (an extra core.compiler).
I ve seen that I am not the only one:
Does your service implement ServiceLifecycle?
I believe the init method is part of that interface.
On Mon, 2010-08-30 at 10:33 -0700, Kannan Jayaprakasam wrote:
I have an axis2 aar webservice deployed in Tomcat. The serviceClass's
init(ServiceContext) method doesn't at all get called.
Sigh. Using Tomcat 6.0.26 and trying to use iCal4j to generate calendar
files so that date/time events in my app can be exported to the user's
calendar.
iCal4j uses static ThreadLocal's to protect SimpleDateFormat and some
other things. When I shut down Tomcat I get these disturbing messages:
From: Bill Davidson [mailto:bill...@gmail.com]
Subject: iCal4j and ThreadLocal
The iCal4j author assures me that this isn't really a memory leak.
I suppose it depends on your definition of memory leak, but I'd certainly
consider it one. It adds to the heap, and doesn't go away
On 30/08/2010 19:41, Paulo Silveira wrote:
Hello
While embedding tomcat 7, maven/ivy cant find this dependency:
org.eclipse.jdt#ecj;3.6.
It seems the correct artifact would be
org.eclipse.jdt.core.compiler:ecj:3.6 (an extra core.compiler).
I ve seen that I am not the only one:
On Tue, Aug 31, 2010 at 12:05 AM, Wesley Acheson
wesley.ache...@gmail.com wrote:
Hi,
I assumed that this would be fixed by now still having a problem with
the same application. Setup the same. Except trying with tomcat 6.0.29
which I downloaded today.
I was unable to get to the bottom of
On 30/08/2010 22:08, Caldarale, Charles R wrote:
From: Bill Davidson [mailto:bill...@gmail.com]
The iCal4j author assures me that this isn't really a memory leak.
I suppose it depends on your definition of memory leak, but I'd certainly
consider it one. It adds to the heap, and doesn't go
Sorry I don't understand what's happening. It is working now but It
didn't work the first time I deployed to the new Tomcat instance.
I got a bunch of warnings saying not able to remove from filesystem
and checked the offending jar was in the filesystem too. However
after shutting down tomcat
On 30/08/2010 23:21, Wesley Acheson wrote:
More Info it seems to work correctly if the war file is deployed after
tomcat has started. However if the war file is there when I start
tomcat it is undeployable.
SEVERE: [C:\icarus\tomcat\webapps\ROOT\WEB-INF\lib] could not be completely
dele
Hi
I am sorry, I am asking something not really related to tomcat here.
While this may sound like a beginners question, I think I really what I am
doing in java, but this time I suspect I have found a scenario where the
sun/oracle VM exposes a bug with pure String handling.
So anyone who can
What version tomcat?
On Mon, Aug 30, 2010 at 3:38 PM, Steffen Heil li...@steffen-heil.de wrote:
Hi
I am sorry, I am asking something not really related to tomcat here.
While this may sound like a beginners question, I think I really what I am
doing in java, but this time I suspect I have
Sorry for the double/treble post earlier I started one reply saved as
a draft. Then found out more details posted them and accidently sent
the draft also. details below.
Looks like you have a locked JAR file. That is indicative of a memory leak.
You need to figure out a) which JAR can't be
Hi
What version tomcat?
I see this under 6.0.29 [and I think under 6.0.18 before, but I am not
sure], but as this is pure java code, not calling any tomcat code and not
probably affected by tomcat code, I don't think that matters. (That's why I
labeled that off-topic.)
However, if it even
Hello
I would like to know the best way to broadcast a message for many
clients. Should I use a executor from a thread pool and dispatch the
message to each context.getResponse in a different thread like this:
for (final AsyncContext ctx : clients) {
executors.execute(new Runnable() {
From your original post
The exception is only thrown under 64bit Linux Server-VM, within tomcat. It
is neither thrown under 64bit Windows, nor on the very same Linux VM as
standalone testcase, nor when a debugger is remotely attached.
Sounds like you're saying it only happens within Tomcat,
From: Steffen Heil [mailto:li...@steffen-heil.de]
Subject: OFFTOPIC: Java String problem - possible VM bug
The JREs testest are 1.6u20 and 1.6u21.
Which 6u21? Just to be confusing, Sun/Oracle has released two 6u21 levels: b06
and b07.
There were several fixes for spurious out-of-range
Hi
Which 6u21? Just to be confusing, Sun/Oracle has released two 6u21
levels:
b06 and b07.
java version 1.6.0_21
Java(TM) SE Runtime Environment (build 1.6.0_21-b06)
Java HotSpot(TM) 64-Bit Server VM (build 17.0-b16, mixed mode)
So I should update, right?
Hi
From your original post
The exception is only thrown under 64bit Linux Server-VM, within tomcat.
It
is neither thrown under 64bit Windows, nor on the very same Linux VM as
standalone testcase, nor when a debugger is remotely attached.
Sounds like you're saying it only happens within
Strange. I just looked at the sun/oracle download page and the most recent
jdk there (jdk-6u21-linux-x64.bin) is still the very same I downloaded, that
is b06.
I downloaded it again and checked the md5sum, it is identical.
Where can I get that b07 ?
-Ursprüngliche Nachricht-
Von:
From: Steffen Heil [mailto:li...@steffen-heil.de]
Subject: AW: OFFTOPIC: Java String problem - possible VM bug
java version 1.6.0_21
Java(TM) SE Runtime Environment (build 1.6.0_21-b06)
Java HotSpot(TM) 64-Bit Server VM (build 17.0-b16, mixed mode)
So I should update, right?
It's worth
From: Steffen Heil [mailto:li...@steffen-heil.de]
Subject: AW: OFFTOPIC: Java String problem - possible VM bug
I just looked at the sun/oracle download page and the most
recent jdk there (jdk-6u21-linux-x64.bin) is still the very
same I downloaded, that is b06.
That's a bit weird - I'm
On 8/30/2010 2:08 PM, Caldarale, Charles R wrote:
I'm not really clear on how ThreadLocal works.
http://download.oracle.com/javase/6/docs/api/java/lang/ThreadLocal.html
And, as usual, GIYF.
I actually had already read that, and a few other things I found in Google.
It still felt a
Hi
You're right, it doesn't, at least on Windows.
Just verified that:
r...@www:/opt/java/jdk1.6.0_21# ./bin/java -server -version
java version 1.6.0_21
Java(TM) SE Runtime Environment (build 1.6.0_21-b06)
Java HotSpot(TM) 64-Bit Server VM (build 17.0-b16, mixed mode)
Overall I think this is a rock-and-a-hard-place issue.
ThreadLocals work wonderfully behind opaque library walls in most cases.
The exception is when there are threads used with your library whose
lifecycle is beyond that of the classloader which loads your library --
as in Tomcat web apps,
On 8/30/2010 5:25 PM, Mark Thomas wrote:
'Fraid not.
The right solution here is for the iCal4j library to fix the leak or
provide a mechanism to enable clients to trigger clean-up on shutdown
(which can then be called from a Servlet context listener). Generally,
library authors have moved
Consering the fair analisys of Charles, we decided to move applications
to Poolable connection factory
To do so I created a factory iun server.xml as follow:
Resource name=jdbc/crm auth=Container type=javax.sql.DataSource/
ResourceParams name=jdbc/crm
parameter
From: Jess Holle [mailto:je...@ptc.com]
Subject: Re: iCal4j and ThreadLocal
Rather replacing all the threads ASAP upon any reload
seems like a much more forgiving implementation.
There was an effort underway to do just that a few months ago for Tomcat 7; not
sure if it ever got fully
From: Bill Davidson [mailto:bill...@gmail.com]
Subject: Re: iCal4j and ThreadLocal
It still felt a bit fuzzy to me. It's getting a little more
in focus but it's kind of a weird thing.
There's a lot of baggage implemented to support ThreadLocal. It's one of those
deceptively easy-to-use
From: Steffen Heil [mailto:li...@steffen-heil.de]
Subject: AW: OFFTOPIC: Java String problem - possible VM bug
There is a -XX option to limit or disable SSE usage:
-XX:UseSSE=n
Hard to find more infomation on the web though. Even sun
does not list that option.
There are many, many
My service implements org.apache.axis2.service.Lifecycle.
This is an axis2 aar file, so it won't directly have an entry in web.xml, but
only have a services.xml inside the aar archive, and this archive sits in
webapps\axis2\WEB-INF\services. Other services (aar) in the services folder get
52 matches
Mail list logo