i will try this
thanks
On 6/20/07, 吴熊敏 [EMAIL PROTECTED] wrote:
param name=Append value=false/
change Append's value 'true' and try again
On Wed, 20 Jun 2007 13:18:01 +0800
Peter [EMAIL PROTECTED] wrote:
thanks
but it also generate log file as well. log file can be write.
i donot
Hi I follwoed ur given URLs...
But no luck..
This is my configuraion
Apache Version : 2.2.4
Tomcat Version : 5.5.17
JDK : 1.6.0_01
Win 2000
workers.properties
worker.list=tomcat1,tomcat2,loadbalancer
# First tomcat server
worker.tomcat1.type=ajp13
worker.tomcat1.host=192.168.10.30
Hi I follwoed the below URLs...
http://tomcat.apache.org/tomcat-5.5-doc/cluster-howto.html
http://tomcat.apache.org/connectors-doc/reference/workers.html
http://tomcat.apache.org/connectors-doc/generic_howto/workers.html
But no luck.. Session is not get replicated..
This is my configuraion
Try to remove tomcat1,tomcat2, from the workers.properties
It should be something like
worker.list=loadbalancer
Thanks
Guru
-Original Message-
From: shiva sha [mailto:[EMAIL PROTECTED]
Sent: 20 June 2007 09:30
To: Tomcat Users List
Subject: Re: Session Replication in Tomcat5.5.17
Thanks for all your replies!
@Johnny Kewl and David kerber
We'll look into the memory leak, into the code. I don't know when
we're going to find it, but it's good to know that it's not related to
the Windows version of Tomcat.
@Andrew Miehs and Tim Funk
The server is hosted by a provider and
I wrote a servlet converting some xml to a pdf. The code (appended) is
basically a slightly modified version of the example code in the fop faq
about servlets.
When I start Tomcat 5.5 with a security manager I get this weird exception
(appended) when I try to access the servlet.
When I don’t
Hi,
I'm currently need to do the encryption towards the log files that has been
created by the webserver and the webapplication, so that only those who has the
password to decrypt the log files can read them.
Is there a way to solve this issue?
Thanks in advance
Yulius
Roger, I think get your SP to set up a test linux box for you, for the
office.
You will need it for developers to test...
Yes tomcat is perfectly compatible, but unfortunately developers are not and
it very easy to slip in the code ie programmer has d:\property\ hard
coded somewhere.
Or
Hi
At present I m trying Session replication only..
I think i need tomcat1 and tomcat2..
Am i correct?
Thanks
On 6/20/07, Raghupathy, Gurumoorthy [EMAIL PROTECTED]
wrote:
Try to remove tomcat1,tomcat2, from the workers.properties
It should be something like
worker.list=loadbalancer
md5 is a one way hash - so encrypting your log files with md5 will
yield unreadable files
Tomcat out of the box doesn't have anything like this. You would need to
do the following write your own log4j appenders (or whatever they are
called) which encrypt the data. Since log4j can (IIRC) can
Should that not be :
jvmRoute=balancer
C.
-Original Message-
From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED]
Sent: 14 June 2007 20:45
To: Tomcat Users List
Subject: Re: sticky sessions not sticking
change your JVM route to
jvmRoute=worker1, as I believe the jvmRoute value has
Yulius wrote:
Hi,
I'm currently need to do the encryption towards the log files that has been created by the webserver and the webapplication, so that only those who has the password to decrypt the log files can read them.
Huh, why would you need to encrypt those files? Isn't OS access
Hi,
I'm requesting a .pdf file through IE6 Apache 2.0 mod_jk / ajp13 Tomcat
5.0 my servlet who checks user's read rights (declared as a filter in the
web.xml of my webapp)
the problem is :
- IE6 loads a white page (nothing). When I retry, it loads correctly the
document in the plugin for
did you try to add the address attribute within connector tag ?
something looks strange in your worker.properties i.e.
worker.tomcat1.lbfactor=1
worker.tomcat2.lbfactor=100
this two directive mean something like you will use 100 times tomcat2
for 1 time tomcat1... if you want to use the two
See Fiddler
http://www.fiddlertool.com/fiddler/
-Tim
Philippe Boismoreau wrote:
Hi,
I'm requesting a .pdf file through IE6 Apache 2.0 mod_jk / ajp13 Tomcat 5.0 my
servlet who checks user's read rights (declared as a filter in the web.xml of my webapp)
the problem is :
- IE6 loads a
--
Konrad
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I had paste the mod_jk.dll in conf/modules..
What i m trying is
First i started the Apache and then Tomcat1,Tomcat2..
I run the html file in Tomcat1 and the given value is stored in session and
displays the same.
Then stop the Tomcat1..
If i run the same HTML i want to show the session value
Why? No, do it some other way, I think this will get horribly complex.
On windows I think near impossible, short of placing a symmetrical alg in
the source.
What about normal protection, in essence the server starts up as a user, and
only that user has access to the log folder, naturally
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 20/06/2007, at 12:53 PM, Johnny Kewl wrote:
Why? No, do it some other way, I think this will get horribly complex.
On windows I think near impossible, short of placing a symmetrical
alg in the source.
What about normal protection, in essence
Ah, just clicked what you doing, sorry I'm slow today I think you using
logging as a reporting system in your apps. Interesting, question becomes
when does logging become private... personally I think the philosphy is
wrong, but ok, thats what you doing.
I would think about serving
shiva sha wrote:
Hi
At present I m trying Session replication only..
I think i need tomcat1 and tomcat2..
Am i correct?
No - you need to remove these.
Mark
-
To start a new topic, e-mail: users@tomcat.apache.org
To
No, Filip is right:
1) Each Tomcat needs to have a unique jvmRoute
2) the name of the member workers of the lb need to be identical to the
jvmRoute of the Tomcat instances they point to.
Regards,
Rainer
McCormack, Chris wrote:
Should that not be :
jvmRoute=balancer
C.
-Original
Hi,
if you are only interested in communication between mod_jk and Tomcat,
set JkLogLevel to debug. It will dump alle headers and data packets. The
data packets are truncated at 1024 bytes in the debug log. In case you
need more, set JkLogLevel to trace.
Try to do this without much load on
Rainer Jung wrote:
No, Filip is right:
1) Each Tomcat needs to have a unique jvmRoute
One side note:
jvmRoute does not need to reflect the worker name
in domain clustering model.
jvmRoute can be group1 on multiple nodes.
and workers can be:
worker.node1.xxx
worker.node1.route=group1
...
Thanks Guru..
Below is the log entry from mod_jk.log
[Mon Jun 18 21:27:32 2007] [2292:2296] [debug] jk_ajp_common.c (1806):
worker tomcat1 contact is '192.168.10.30:8009'
[Mon Jun 18 21:27:32 2007] [2292:2296] [debug] jk_ajp_common.c (1895):
setting socket keepalive to 1
[Mon Jun 18 21:27:32
Hi Shiva,
Your config looks ok to me ... please can you confirm that all your
session attributes are Serializable ? Even if one is not then session
replication will have issues ... look at your application logs and confirm back
Thanks
Guru
-Original Message-
From: shiva sha
Yes Guru..
I had set all session attributes are Serializable
Thanks
Shiva
On 6/20/07, Raghupathy, Gurumoorthy [EMAIL PROTECTED]
wrote:
Hi Shiva,
Your config looks ok to me ... please can you confirm that all
your session attributes are Serializable ? Even if one is not then session
Hai
If i remove tomcats names (jvm route) in workers.properties means how Apache
route the request?
Pls clarify
On 6/20/07, Mark Thomas [EMAIL PROTECTED] wrote:
shiva sha wrote:
Hi
At present I m trying Session replication only..
I think i need tomcat1 and tomcat2..
Am i correct?
No -
shiva sha wrote:
Hai
If i remove tomcats names (jvm route) in workers.properties means how
Apache
route the request?
Pls clarify
Remove the line:
worker.list=tomcat1,tomcat2,loadbalancer
Replace it with
worker.list=loadbalancer
Everythign else remains the same.
mark
what this done with my problem
-Oorspronkelijk bericht-
Van: Mark Thomas [mailto:[EMAIL PROTECTED]
Verzonden: woensdag 20 juni 2007 14:12
Aan: Tomcat Users List
Onderwerp: Re: Session Replication in Tomcat5.5.17
shiva sha wrote:
Hai
If i remove tomcats names (jvm route) in
Hi,
Sorry for being little over descriptive here. I have an issue deserializing
a file that contains a Maplt;String, Listlt;POJOsgt;gt;. These POJO bean
classes are stored in a
jar file uder web-app/lib. I use classes from this jar in the rest of the
application. I can deserialize the file from
Is there anyway to allow both client-cert authentication and form-based
authentication to work together in Tomcat? or J2EE web servers in
general?
I'd like to have users to log in to an web app using either user cert or
username/password. If a user doesn't have a cert, the login page will
show
copy the balancer application from Tomcat 5 into your Tomcat 6 install
Asensio, Rodrigo wrote:
I'm trying to implement a load balancing solution with tomcat55 with an
ubuntu704 as load balancer with 3 legacy win2003 tomcat55 behind.
I found a great article published in onjava.com
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I'm pretty new to Java and tomcat and can't seem to figure this out.
I have an application that works fine under:
/usr/local/tomcat/weapps/app_name
However, when I put it into a user's home directory e.g.
/home/user_name/public_html/app_name
I get
Yes, but if you use it on multiple Tomcats (as a group), it will break
stickyness.
Of course, users can use the route attribute completely instead of the
names, but most users seem to be confused by this. I tried to clarify
the docs a couple of days ago, so with 1.2.24 the frequency of this
Hello,
I have been using Tomcat 5.5.7 for a long time without any issues on Solaris
10 and Oracle 9. Recently I added a couple of apps (total is under a dozen
and load is quite low) and something very strange is observed. Around once a
day a user will report that one or the other app
Hi all,
I have an Embedded Tomcat, and my question is:
- How should I do to retrieving the information about the number of
currently working threads using the Tomcat API?
Thanks in advance,
Best regards
Raffaele
--
View this message in context:
Thanks I will try that.
I read that load balancer webapp is just for small not so scalable load
balancing solutions.
I serve apps for a call center with 300 users hitting like crazy our
tomcats (I have the webapp and the bizlogic in the same server) and the
most elegant solution for my situation
Does anyone know if its possible to make the security-constraint in a
web.xml aware of what virtual-host it should apply to? The kind of thing
I am after is - I have a security constraint on /admin which i want to
be available on admin.company.com but not on any other virtual host I
set up for
Hi Nathan.
If setup properly, the location of your webapp shouldn't cause issues
with finding various classes. Just don't mention that dirty, dirty word
CLASSPATH :-). Seriously messing with the CLASSPATH environment
variable will cause loads of headaches. Best to just not mess with it
From: news [mailto:[EMAIL PROTECTED] On Behalf Of teknokrat
Subject: define security constraint by virtual host
Does anyone know if its possible to make the security-constraint
in a web.xml aware of what virtual-host it should apply to?
No, since web.xml is defined by the servlet spec and
No... think its something else.
As I understand it, you just trying to serve up a PDF file to a browser,
whether by filter or servlet, from tc, or thru jk, dont think it makes any
difference.
I think what MS is waffling on about there, is that if the OBJECT tag is
used by a plugin, and not a
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
David Smith wrote:
Hi Nathan.
If setup properly, the location of your webapp shouldn't cause issues
with finding various classes. Just don't mention that dirty, dirty word
CLASSPATH :-). Seriously messing with the CLASSPATH environment
From: David Kider [mailto:[EMAIL PROTECTED]
Subject: Tomcat 5.5.23 on Microsoft Vista
I wasn't sure how to respond to your msg through the list
Hitting the reply button on you mailer is all it takes. Please send all
messages to the list, not to individuals.
I have jdk 1.4 and jdk 1.5
I am a newbie to Tomcat. I have 5.0.28. I would like to set up a web
application so that one can ONLY connect to it via https. Anyone know
how I can do this?
I was able to set up Tomcat (via server.xml and certificates) so that
one can connect to the app via either http or https and can even
yes, the balancer app is not production material,
you may wanna look into other solutions
Filip
Asensio, Rodrigo wrote:
Thanks I will try that.
I read that load balancer webapp is just for small not so scalable load
balancing solutions.
I serve apps for a call center with 300 users hitting
From: Nathan S. Haigh [mailto:[EMAIL PROTECTED]
Subject: Re: classpath and public_html directories
Seriously messing with the CLASSPATH environment
variable will cause loads of headaches. Best to
just not mess with it and let tomcat ignore it.
That's fine - I haven't touched it! :)
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Caldarale, Charles R wrote:
From: Nathan S. Haigh [mailto:[EMAIL PROTECTED]
Subject: Re: classpath and public_html directories
Seriously messing with the CLASSPATH environment
variable will cause loads of headaches. Best to
just not mess with
I downloaded tomcat source and was able to build it successfully. But I
could find a way build the distribution package (either package-tgz or
package-zip). Any suggestions?
Thanks!
ND
-
To start a new topic, e-mail:
Nick, never done it, but I think, yes you can.
You cant directly integrate them, if the SSL client auth fails in the
handshake, thats it, tomcat wont smell that request.
But you will get an error, and that means you should be able to make a
custom error page. on that you say, You who doesnt
In the server.xml that comes with tomcat there are 2 HTTP/1.1
connectors defined. One is on port 8080 the other is on port 8443.
Comment out the 8080 one and uncomemnt the 8443 one and change the port to 443.
Install your cert and you should be good to go.
Regards
Ben Short
On 6/20/07,
From: Nathan S. Haigh [mailto:[EMAIL PROTECTED]
Subject: Re: classpath and public_html directories
Doesn't tomcat set the classpath itself using the bin/setclasspath.sh
script?
Yes, but depending on the version of Tomcat it will either ignore or
extend CLASSPATH, so you want to make sure
Doing that will make it so that ALL apps on the server can only be
connected to via HTTPS, correct?
Any way to do it just for one app?
Nick
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
rg] On Behalf Of ben short
Sent: Wednesday, June 20, 2007 11:04 AM
To: Tomcat
Reply inline -
Nathan S. Haigh wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
David Smith wrote:
Hi Nathan.
If setup properly, the location of your webapp shouldn't cause issues
with finding various classes. Just don't mention that dirty, dirty word
CLASSPATH :-). Seriously
From: Vigorito, Nicholas E. [mailto:[EMAIL PROTECTED]
Subject: RE: Tomcat application connect via https only?
Doing that will make it so that ALL apps on the server can only be
connected to via HTTPS, correct?
Any way to do it just for one app?
It depends on where you put the
I dont know about doing it via the config files, but i guess you could
write a filter that will check the requests url is https and if not
redirect them to the correct the https url.
On 6/20/07, Vigorito, Nicholas E. [EMAIL PROTECTED] wrote:
Doing that will make it so that ALL apps on the
Thanks!
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
rg] On Behalf Of Caldarale, Charles R
Sent: Wednesday, June 20, 2007 11:16 AM
To: Tomcat Users List
Subject: RE: Tomcat application connect via https only?
From: Vigorito, Nicholas E. [mailto:[EMAIL PROTECTED]
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Caldarale, Charles R wrote:
From: Nathan S. Haigh [mailto:[EMAIL PROTECTED]
Subject: Re: classpath and public_html directories
Doesn't tomcat set the classpath itself using the bin/setclasspath.sh
script?
Yes, but depending on the version of
Caldarale, Charles R wrote:
From: news [mailto:[EMAIL PROTECTED] On Behalf Of teknokrat
Subject: define security constraint by virtual host
Does anyone know if its possible to make the security-constraint
in a web.xml aware of what virtual-host it should apply to?
No, since web.xml is defined
Nick shouldnt be hard make sure ant set up right, then
ant download
ant
ant -f dist.xml
Done!
Also saw a project with NB6 TC6 where the guys shows you how to do it in
NetBeans.
On the NB site... google
And then I got a NB port at http://coolese.100free.com/
but its not
| From: Yulius [mailto:[EMAIL PROTECTED]
| Sent: Wednesday, 20 June, 2007 05:07
|
| I'm currently need to do the encryption towards the log files that
has
| been created by the webserver and the webapplication, so that only
those
| who has the password to decrypt the log files can read them.
From: Nelson, Tracy M. [mailto:[EMAIL PROTECTED]
An easier approach might be to write your encrypting logger
as a filter
and have it take its input from a named pipe.
I thought about suggesting that, but there's a weak point - there's
nothing to stop an admin killing the encrypting logger
If you have an evil admin, there is nothing stopping the him from
sniffing the network, or starting tomcat with a debugger which can look
at the memory or {insert evil action here} ;)
-Tim
Peter Crowther wrote:
From: Nelson, Tracy M. [mailto:[EMAIL PROTECTED]
An easier approach might be to
From: Tim Funk [mailto:[EMAIL PROTECTED]
If you have an evil admin, there is nothing stopping the him from
sniffing the network, or starting tomcat with a debugger
which can look
at the memory or {insert evil action here} ;)
Sure. Or do the old trick we used to do with Suns - L1-A out
Thanks for all the reply. I found this page while searching for a
solution
http://mail-archives.apache.org/mod_mbox/geronimo-user/200703.mbox/[EMAIL PROTECTED]
Although it does not address my problem since I don't use Geronimo, I
put the link here in hope helping someone else hits this thread.
OK Chris,
Thanks
Tom
Original message
Date: Tue, 19 Jun 2007 18:23:08 -0400
From: Christopher Schultz [EMAIL PROTECTED]
Subject: Re: JNDI Tomcat
To: Tomcat Users List users@tomcat.apache.org
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Tom,
1. DO NOT hijack threads.
2. DO
I have just installed tomcat5.5 on my fedora 7 box together with the example
apps. They all run just fine, but when i create a blank jsp with only text in
it, tomcat won't run the jsp. I'm not if it's fedora, java or tomcat to blame,
but I have the default GNU java installed, and I have
From: Michael Schantz Klausen [mailto:[EMAIL PROTECTED]
Subject: Tomcat won't compile my jsp
I'm not if it's fedora, java or tomcat to blame, but I
have the default GNU java installed, and I have installed the
jdk-6u1-linux-amd64.bin from sun.
Make sure Tomcat is using the real JVM.
Dear All:
I don't know the pronounciation of this word newbie.
[nju:bai] or [nju:bie] or ..?
who can tell me!
Thanks in advance!!
吴熊敏 [EMAIL PROTECTED]
-
To start a new topic, e-mail:
Hi,
The closest manderin sound would be nv2 bi4 , ie sounds a bit like
characters 女毕.
Best Regards,
Jacob
吴熊敏 wrote:
I don't know the pronounciation of this word newbie.
[nju:bai] or [nju:bie] or ..?
who can tell me!
Thanks in advance!!
--
Hi,
The closest manderin sound would be nv2 bi4 , ie sounds a bit like
characters 女毕.
Thanks very much.
I have another question,what does ie here means? Is it the same as it?
I have seen this word ie in many mails,but i don't understand its
meaning.
Best Regards,
Jacob
吴熊敏 wrote:
I
吴熊敏 wrote:
Thanks very much.
I have another question,what does ie here means? Is it the same as it?
I have seen this word ie in many mails,but i don't understand its
meaning.
ie means For example. It is similar in usage to 比喻说. (I think they are
the characters, not sure).
Best Regards,
i need to generate java heap dump to trace memory leak in our web application.
We are using tomcat 5.0.27.
I added -agentlib:hprof=heap=dump,format=b,file=D:/java.hprof to Java Options
using Configure Tomcat. Is this the correct method? How do I continue from
here?
Sorry, I need to correct myself. I just checked with my Chinese
colleague to make sure I was getting my Chinese right, and he says 比如
is a better translation than 比喻。
Best Regards,
Jacob
-
To start a new topic, e-mail:
I have Sun's JDK installed. I am using 1.5. Javac will successfully compile a
java src file into a class and I'm able to then run it from the cmd prompt.
When I try running service.bat from the cmd line I get:
Installing the service 'tomcatman' ...
Using CATALINA_HOME:
eg stands for example given
but what does ie stands for?
On Thu, 21 Jun 2007 13:44:06 +1000
Jacob Rhoden [EMAIL PROTECTED] wrote:
吴熊敏 wrote:
Thanks very much.
I have another question,what does ie here means? Is it the same as it?
I have seen this word ie in many mails,but i don't
I have find the answer by goole
i.e. (from Latin id est) means: that is (to say).
e.g. (again from Latin exempli gratia) means: for example; for the sake of
example.
Thank you very much!
On Thu, 21 Jun 2007 13:44:06 +1000
Jacob Rhoden [EMAIL PROTECTED] wrote:
吴熊敏 wrote:
Thanks very much.
hi
i.e.
The term i.e. means id est in Latin or that is in English. A trick that
I use: If you can replace i.e. with in other words then you are using it
correctly. I.e. is used to specify what your are trying to convey.
see the following actical about the i.e vs e.g
On Thu, Jun 21, 2007 at 11:58:41AM +0800, 吴熊敏 wrote:
eg stands for example given
e.g. abbreviates the Latin: exempli gratia
... which in English is: for example
i.e. abbreviates the Latin: id est
... which in English is: that is
Contexts of usage for both is similar ... here's an
From: David Kider [mailto:[EMAIL PROTECTED]
Subject: RE: Tomcat 5.5.23 on Microsoft Vista
Failed installing 'tomcatman' service
I suspect you may already have a Tomcat service installed, since each
service must have both a unique service name and a unique display name;
what you're trying
thank you
On Thu, 21 Jun 2007 12:05:17 +0800
Peter [EMAIL PROTECTED] wrote:
hi
i.e.
The term i.e. means id est in Latin or that is in English. A trick that
I use: If you can replace i.e. with in other words then you are using it
correctly. I.e. is used to specify what your are trying to
thanks very much
On Thu, 21 Jun 2007 12:19:36 +0800
Greg Gamble [EMAIL PROTECTED] wrote:
On Thu, Jun 21, 2007 at 11:58:41AM +0800, 吴熊敏 wrote:
eg stands for example given
e.g. abbreviates the Latin: exempli gratia
... which in English is: for example
i.e. abbreviates the Latin:
Dear All,
I'm learning English,is there anyone want to lean Chinese.
I wish to find one who can exchange language with me.
吴熊敏 [EMAIL PROTECTED]
-
To start a new topic, e-mail:
我也学习中问。但是我的中问不好!I like learning chinese, however I am
not very advanced. I am interested in learning, however I dont know how
this would work over email?
Best Regards,
Jacob
吴熊敏 wrote:
Dear All,
I'm learning English,is there anyone want to lean Chinese.
I wish to find one who
Oops, I did not mean to send this to the mailing list. Sorry. We should
take the conversation off the tomcat mailing list.
_
Jacobs Blog -- http://www.jacobrhoden.com/
-
To start a
Can this witty exchange continue in private email?
- Original Message -
From: Jacob Rhoden [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Thursday, June 21, 2007 12:27 AM
Subject: Re: Exchange Language
Oops, I did not mean to send this to the mailing list.
What a great idea, why didn't I think of that?
Sam Klin wrote:
Can this witty exchange continue in private email?
- Original Message -
From: Jacob Rhoden [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Thursday, June 21, 2007 12:27 AM
Subject: Re: Exchange
I use the same method as you except the fact that all java options are
within a file and I set the JAVA_OPTS to -Xoptionsfile=
Le 21/06/2007 05:48, Guan Yu a écrit :
i need to generate java heap dump to trace memory leak in our web
application. We are using tomcat 5.0.27.
I added
88 matches
Mail list logo