Hi chris,,
Actually i have another server that is running with tomcat 4 and jdk1.4. it
hang always after some time i dont want that problem will be occur in this
new server that we talk about earlier message.
Christopher Schultz-2 wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
this will likely depend on how much resources you can throw at your performance
test tools.
JMeter for instance can work in master/slave mode. So the overall count of
simulated users will depend on how much threads your operating system will make
available to the jvm running jmeter (of
I am using JNDI look for connection pooling.
We have a ITSMain class which uses MBeanServer to load the classes.
This class has a ServiceManager class which load all start up services and
initializes it.
During this we have Connection pooling class which uses JNDI look up.
So I am getting below
Jeez, give the guy a break, if you don't want to read his posts then
don't read them. His name appears next to them, it's easy to ignore if
you want to.
I don't know 'Johnny' personally and I agree he can be a bit ebulliant
but do we really all want to descend into greyness.
Lyallex
On Thu, May
Hello,
I have successfully installed the JK Status Manager page.
When I there click on a worker and change the disabled status (mark or unmark
it) and then click update worker, after one minute or so the changes are gone
and the workers are disabled like defined in workers.properties again.
Stephanie Wullbieter wrote:
Hello,
I have successfully installed the JK Status Manager page.
When I there click on a worker and change the disabled status (mark
or unmark it) and then click update worker, after one minute or so
the changes are gone and the workers are disabled like defined in
Here is a development which might mean that cheap Tomcat hosting with full
control might become available.
https://www.gandi.net/hosting/
gandi.net is establishing virtual servers using xen. I know many other
companies are using virtual servers, but this looks like it could be a
winner in terms
Mark,
I did have this running, but switched back to using:
org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory
and got rid of commons-dbcp, in the interests of keeping things as simple as
possible.
Thanks for pointing this out.
John
2008/5/14 Mark Thomas [EMAIL PROTECTED]:
John Pedersen
Hi Chuck,
Thank you for the clarifications. I guess I'll experiment with perfmon
to see what I can dig up...
Regards,
Amit
Caldarale, Charles R wrote:
From: Amit Bhargava [mailto:[EMAIL PROTECTED]
Subject: Re: Current thread count monitoring
My understanding is that 'maxThreads'
Hi
I have implemented datasource using JNDI look up.
The code work fine If I call the code during any User action.
But If try to call the same code during the tomcat server start up I get an
exception
javax.naming.NameNotFoundException: Name comp is not bound in this Context
I am using Tomcat
Hi,
i have the following situation
Apache is balancing requests to backend JBoss Server . Everything (the
balancing of requests to the webcontainer (tomcat) of jboss)works fine - except
i cannot get the balancer-manager working.
Of course the GUI appears but after clicking on a worker link
Hallo Ahmed,
Ahmed Musa wrote:
Hi,
i have the following situation
Apache is balancing requests to backend JBoss Server . Everything (the
balancing of requests to the webcontainer (tomcat) of jboss)works fine - except
i cannot get the balancer-manager working.
Of course the GUI appears but
Hi
worker.tomcat._home=c:/tomcat5.5.23
Can some body tell me Why is this configuration required in
Worker.properties, If multiple Tomcats are clustered for Load balancing
Am i missing something
with regards
Karthik
-
---
HARBOR: http://coolharbor.100free.com/index.htm
The most powerful application server on earth.
The only real POJO Application Server.
---
-
Hi
I folowed the documentation and set up a log4j logger in my context, as well
as set swallowOutput=true on the context
so all System.out statements will find their way to the log file.
It works fine for servlets ( Any System.out inside a servlet will be written
to the log file instead the
Hallo Rainer,
Thanxs for your quick answer - i will talk to my responsible collegue about
upgrading Apache - could bee a Problem because its is in the Suse Bundle.
I have also added the question to the apache mailinglist - maybe i will get a
tip ...from there.
Thanxs for your answer und
Lyallex wrote:
Jeez, give the guy a break, if you don't want to read his posts then
don't read them. His name appears next to them, it's easy to ignore if
you want to.
I don't know 'Johnny' personally and I agree he can be a bit ebulliant
I don't mind ebullient as long as he knows what he's
Johnny Kewl escribió:
---
HARBOR: http://coolharbor.100free.com/index.htm
The most powerful application server on earth.
The only real POJO Application Server.
- Original Message -
From: David kerber [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Thursday, May 15, 2008 2:59 PM
Subject: Re: Save POJO Application Server Definition
Lyallex wrote:
Jeez, give the guy a break, if you don't want to read his posts then
Jeez, give the guy a break, if you don't want to read his posts then
don't read them. His name appears next to them, it's easy to ignore
if
you want to.
I don't know 'Johnny' personally and I agree he can be a bit
ebulliant
I don't mind ebullient as long as he knows what he's talking
karthikn wrote:
Hi
worker.tomcat._home=c:/tomcat5.5.23
Can some body tell me Why is this configuration required in
Worker.properties, If multiple Tomcats are clustered for Load balancing
Am i missing something
No, you are not. It is not required and it is useless.
It does exist in
Hello everyone,
Is there any idea of how to fix,
Web Server Internal IP Address/Internal Network Name Disclosure Vulnerability
in tomcat6.
Thanks,
Haluk.
Bu elektronik posta mesajı ve ekleri, isimleri yazılı alıcılar dışındaki
kişilere açıklanmaması, dağıtılmaması ve iletilmemesi gereken
it's not needed
Filip
karthikn wrote:
Hi
worker.tomcat._home=c:/tomcat5.5.23
Can some body tell me Why is this configuration required in
Worker.properties, If multiple Tomcats are clustered for Load balancing
Am i missing something
with regards
Karthik
the best thing to do is to look into DataSourceRealm.java as part of the
tomcat source code.
the method open(), shows how server code would look up both a local or a
global data source
Filip
Hanmay Udgiri wrote:
Hi
I have implemented datasource using JNDI look up.
The code work fine If I call
On Thu, May 15, 2008 at 2:10 PM, David Fisher [EMAIL PROTECTED] wrote:
Jeez, give the guy a break,
snip
I find Johnny's emails interesting and helpful as well.
All that I was asking for was for him to put his taglines (however many he
wants) at the end - like everyone else - sorry if I was
Hello everybody,
Is there a way to read the tomcat enviroment settings at Runtime in a
JAVA-application?
Regards,
Arash
iks Gesellschaft fur Informations- und Kommunikationssysteme mbH
Siemensstrasse 27, 40721
HALUK YUZUCU wrote:
Hello everyone,
Is there any idea of how to fix,
Web Server Internal IP Address/Internal Network Name Disclosure Vulnerability
in tomcat6.
Thanks,
Haluk.
When starting a new thread (ie sending a message to the list about a
new topic) please do not reply to an existing
From: Akhoundi, Arash [mailto:[EMAIL PROTECTED]
Subject: Reading the Tomcat enviroment settings at runtime
Is there a way to read the tomcat enviroment settings at Runtime in a
JAVA-application?
Care to define what you mean by tomcat environment settings?
If you want to read environment
Hello everyone,
Is there any idea of how to fix,
Web Server Internal IP Address/Internal Network Name Disclosure Vulnerability
in tomcat6.
Thanks,
Haluk.
Bu elektronik posta mesajı ve ekleri, isimleri yazılı alıcılar dışındaki
kişilere
Hi Filip,
I could not understand what u meant.
I am calling getConnection() method which has the below code server
startup,like after user logs into the application and does a operation,the
code works.
But If I call the getConnection method during the server start up I am
getting exception.
Didn't you say you could already do this?
Yes, but it is a little hacky. MBeans seem a more approiate way to go and
wanted to know if they could be used for this.
You need to write a service that knows that all webapps have started, or
have your load balancer test each one before reporting
HALUK YUZUCU wrote:
Hello everyone,
Is there any idea of how to fix,
Web Server Internal IP Address/Internal Network Name Disclosure Vulnerability
in tomcat6.
Could you provide a reference for this please. All a Google search turns up
is an issue with IIS, not Tomcat.
Mark
this line here
initContext.lookup(java:comp/env);
will only work if it is run inside an application, hence you get the exception
that's why I pointed you to an example, here is the link
you'd probably have to hard code an http path in there, but I don't think you
could salvage a session could you? Maybe you could.
-Original Message-
From: ubekhet [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 14, 2008 6:36 PM
To: users@tomcat.apache.org
Subject: Redirect request to
Description of this vulnerabilities and solutions for Apache and IIS as
follows. But I could not find any information about tomcat web server.
Thanks.
--
Vulnerability :
Web Server Internal IP Address/Internal Network Name Disclosure
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
All,
Lyallex wrote:
| Jeez, give the guy a break
Agreed. In spite of his silly name, long-winded posts and mildly
irritating self-promotion of his POJO app server, Johnny is an active
member of this list. He helps members of this community when he
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Stront,
Stront wrote:
| Didn't you say you could already do this?
|
| Yes, but it is a little hacky. MBeans seem a more approiate way to go and
| wanted to know if they could be used for this.
|
| You need to write a service that knows that all
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Stephen,
Stephen Souness wrote:
| The symbolic link solution should be fine as long as you configure
| Tomcat to follow symbolic links (see Steve O's response in this thread).
|
| Having a shared webapp as suggested by Johnny could lead to problems
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
sur,
sur_1805 wrote:
| Actually i have another server that is running with tomcat 4 and
jdk1.4. it
| hang always after some time i dont want that problem will be occur in this
| new server that we talk about earlier message.
If your server is
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hanmaya,
Hanmay Udgiri wrote:
| So I am getting below exception If I set my JNDI class to initialize at
| start up.
How do you set your class to initialize at startup? Be specific.
Care to post the code you use to fetch the JNDI DataSource?
-
Hi
Implemented the changes... Still getting the same problem
For Load balancing ,when 1st Tomcat is shutdown, The Session is not
transfered to the 2nd Tomcat.
Any more ideas ?
with regards
Karthik
Filip Hanik - Dev Lists wrote:
see corrections inline
karthikn wrote:
Hi
Can some
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Max,
max980 wrote:
| No, during the first 2-3 minutes everything works fine. Then request don't
| come back from remote computers.
|
| Here is the result of the full thread dump after these first 2-3
minutes
Weird. It looks like you have
On Wed, May 14, 2008 at 7:34 PM, Christopher Schultz
[EMAIL PROTECTED] wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
public class SessionKillingRequest
~ extends HttpServletRequestWrapper
{
~ public SessionKillingRequest(HttpServletRequest request)
~ {
~super(request);
~
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Leon,
Leon Rosenberg wrote:
| On Wed, May 14, 2008 at 7:34 PM, Christopher Schultz
| [EMAIL PROTECTED] wrote:
| -BEGIN PGP SIGNED MESSAGE-
| Hash: SHA1
|
|
| public class SessionKillingRequest
| ~ extends HttpServletRequestWrapper
| {
| ~
I am new to Tomcat. What I am trying to accomplish is keep all my jar files
separated so I know what jar provides what functionality. In the
WEB-INF/lib directory I've added sub directories for the different jar files
in the web application.
WEB-INF/Lib
|_antlr-2.7.6
well, in current tomcat impl ( trunk) it does, but since its an
implementation detail which isn't guaranteed by the api contract of
HttpServletRequest, you probably should capture it explicitely.
regards
Leon
On Thu, May 15, 2008 at 5:42 PM, Christopher Schultz
[EMAIL PROTECTED] wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Padawan,
padawan wrote:
| I am new to Tomcat. What I am trying to accomplish is keep all my jar
files
| separated so I know what jar provides what functionality. In the
| WEB-INF/lib directory I've added sub directories for the different jar
files
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Haluk,
HALUK YUZUCU wrote:
| Description of this vulnerabilities and solutions for Apache and IIS
as follows. But I could not find any information about tomcat web server.
Where did you get this report?
tents fingersThe internal IP address of the
From: Christopher Schultz [mailto:[EMAIL PROTECTED]
tents fingersThe internal IP address of the server is ...
192.168.1.100! Nobody would have ever guessed that!
Excellent! Now I can
take over the world! Muahahaha!/tents fingers
*Chuckle* Chris, all you need now is the white cat and the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
All,
I posted this on the commons-user mailing list, but I'm not getting any
love. I'm cross-posting to see if anyone on this list might have any
good ideas.
| Hi, I'm looking for an implementation of a String-Date converter for
| xs:dateTime,
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Leon,
Leon Rosenberg wrote:
| well, in current tomcat impl ( trunk) it does, but since its an
| implementation detail which isn't guaranteed by the API contract of
| HttpServletRequest, you probably should capture it explicitly.
Excellent point.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Peter,
Peter Crowther wrote:
| From: Christopher Schultz [mailto:[EMAIL PROTECTED]
| tents fingersThe internal IP address of the server is ...
| 192.168.1.100! Nobody would have ever guessed that!
| Excellent! Now I can
| take over the world!
Hi,
You don't need regexp. Do you mean something like:
private static final String ISO8601_DATEFORMAT =
-MM-dd'T'HH:mm:ss;
private static final java.text.SimpleDateFormat ISO8601 = new
java.text.SimpleDateFormat(
ISO8601_DATEFORMAT, java.util.Locale.US);
public static final
One cautionary observation about the use of shared SimpleDateFormat
instances: they are not threadsafe.
While it seems like a good idea to create these for various formats and
hold them as class static or instance members, you need to do something to
prevent threading issues.
I have run into
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Robert,
Robert Koberg wrote:
| You don't need regexp. Do you mean something like:
|
| private static final String ISO8601_DATEFORMAT =
| -MM-dd'T'HH:mm:ss;
This does not account for the milliseconds and timezone. The TX format
for xs:dateTime
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
DJohnson,
[EMAIL PROTECTED] wrote:
| I have run into problems using SimpleDateFormat in this way in a
| multiprocessor environment, which lead to using the following simple
| subclass instead:
IMO it's better just to create DateFormat objects on
whoops and thanks :)
On Thu, 2008-05-15 at 12:27 -0400, [EMAIL PROTECTED] wrote:
One cautionary observation about the use of shared SimpleDateFormat
instances: they are not threadsafe.
While it seems like a good idea to create these for various formats and
hold them as class static or
Yes, maybe you are right that I couldn't salvage a session. So, How can
manage that using as session, I mean can I redirect the Tomcat sessions?
For example, I detected a session that I dont want to response, and so I
want to redirect this session, How I have to do that?
Thanks in advance!!!
I'd write a Valve that pre-processes all of the incoming requests to the
server. It's capable of intercepting requests before the webapps see them, and
it's capable of refusing to process. I *think* you have, or can get, all the
information you need at the point the valve runs.
HALUK YUZUCU wrote:
Description of this vulnerabilities and solutions for Apache and IIS as follows.
This doesn't help very much. Could you provide the actual link or better
yet the CVE number for this issue.
But I could not find any information about tomcat web server.
Probably because it
But, what happen if I want using Session instead of Request? mean, I
want to refuse session according the number of session I have
currently!!! And them redirect the refused session to other tomcat
server
Thanks
Peter Crowther escribió:
I'd write a Valve that pre-processes all of the
From: Liang Xiao Zhu [mailto:[EMAIL PROTECTED]
But, what happen if I want using Session instead of Request? mean, I
want to refuse session according the number of session I have
currently!!! And them redirect the refused session to other tomcat
server
You are taking an action when a
Hi Johnny Kewl,
With response.sendRedirect(newUrl); I have to invoke this in some web
applications, but I want to modified Tomcat sources for to do that, and
the class Http11NioProtocol and Http11NioProcessor dont have
sendRedirect() methods!!!
Any idea for redirect the request from the
Liang,
I think whats bothering all of us, is that sometimes the concept itself is
going wrong, and that what I think the other guys are asking.
As you can see, you now getting into cookie management and all that heavy
stuff, and eventually maybe suicide ;)
If its load sharing, maybe think
I'm trying to define my own wrapper, but I'm running into some issues.
Basically it appears the wrapper never gets called.
What I've done so far is create a very simple servlet which prints hello
to the browser and I've written a wrapper class named MyWrapper which
extends StandardWrapper.
Liang
I don't understand what NIO has to do with it. The
response.sendRedirect() is part of the servlet spec and what type
connector you are using in Tomcat should have no effect on this. I'd
appreciate it if someone would correct me here if I am wrong. As a
matter of interest I use
Brian E. Nicely wrote:
What I've done so far is create a very simple servlet which prints hello
to the browser and I've written a wrapper class named MyWrapper which
extends StandardWrapper. The MyWrapper class just has a constructor
which is supposed to print out to the logs I'm in the
What I've done so far is create a very simple servlet which prints hello
to the browser and I've written a wrapper class named MyWrapper which
extends StandardWrapper. The MyWrapper class just has a constructor
which is supposed to print out to the logs I'm in the wrapper. Also,
in this
Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Stephen,
Stephen Souness wrote:
| The symbolic link solution should be fine as long as you configure
| Tomcat to follow symbolic links (see Steve O's response in this thread).
|
| Having a shared webapp as suggested by
Hi Tomcat Gurus,
Appreciated if you can help me with the following :
I'm trying to build tomcat server from the source code. After downloading
the source code, ant command was successful in executing the deploy
task. It created a folder build under output folder . The build folder
contains
To add..
I also tried ant dist but it fails
--
$ ant dist
Buildfile: build.xml
BUILD FAILED
Target dist does not exist in the project Tomcat 6.0.
Total time: 0 seconds
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Zach,
Zach Cox wrote:
| Hi Matthias - Unfortunately I think the Response class is just as
ill-suited
| for wrapping/extending as the Request class is.
Okay, I finally looked at this class, again. static final is just fine:
it doesn't mess with the
Original Message -
From: Vishwa Chary [EMAIL PROTECTED]
To: users@tomcat.apache.org
Sent: Thursday, May 15, 2008 11:50 PM
Subject: tomcat 6 build from source-code
Hi Tomcat Gurus,
Appreciated if you can help me with the following :
I'm trying to build tomcat server from the source
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Brian,
goober_nut wrote:
| Yes, I'm sorry, I did put my package name in there so it does look like
| wrapperClass=my.class.MyWrapper.
| It does read though my.class.MyWrapper.java, does that make a
difference?
Yes, the class name does not include
Thanks Johnny for the reply but I have completed all those steps
i)getting the source code
ii)updating build.properties
iii)downloading dependencies (ant download)
iv)executing ant command (ant deploy)
I guess there is one more step to execute dist task for distributed-copy
format which I'm
- Original Message -
From: Vishwa Chary [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Friday, May 16, 2008 12:12 AM
Subject: Re: tomcat 6 build from source-code
Thanks Johnny for the reply but I have completed all those steps
i)getting the source code
Heres the SVN address that I know works
http://svn.apache.org/repos/asf/tomcat/tc6.0.x/tags/TOMCAT_6_0_13
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Thanks John,
This one from SVN works correctly. The one I downloaded as src-zip file
from apache had problems in the final distribution.
Thanks again,
Chary
On Thu, May 15, 2008 at 4:11 PM, Johnny Kewl [EMAIL PROTECTED] wrote:
Heres the SVN address that I know works
ant download
ant
ant -f extras.xml
ant -f dist.xml release
Filip
Vishwa Chary wrote:
Thanks John,
This one from SVN works correctly. The one I downloaded as src-zip file
from apache had problems in the final distribution.
Thanks again,
Chary
On Thu, May 15, 2008 at 4:11 PM, Johnny Kewl
Well I guess that answers my question. Jetty it is.
On 5/9/08, Frank Neslon [EMAIL PROTECTED] wrote:
Hello,
So I had the idea that I would like to deploy my application with Tomcat
'built in'. The goal is to just consolodate everything into one spot
instead of scattering components all
Hi,
We are running Tomcat 5.5 on a powerful VM Server. MS Sql Server is also
on the VM. It is fronted by an apache web server on another box.
When under load (heavy but not excessive) we suddenly find tomcat dies,
without any error messages we can find. Memory looks good.
We are a little
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Subject: Tomcat suddenly dies without a whisper
When under load (heavy but not excessive) we suddenly find
tomcat dies, without any error messages we can find.
Sounds like the Linux OOM killer (if the guest OS that Tomcat's on is
Linux, of
Hi Chuck,
I did see reference to that OOM killer, but the VM we are running on is 64
bit Windows.
I was referring to the heap memory usage.
any suggestions on where else to look?
cheers,
David
x54680
Caldarale, Charles R [EMAIL PROTECTED]
05/15/2008 11:53 PM
Please respond to
Tomcat
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Subject: RE: Tomcat suddenly dies without a whisper
I did see reference to that OOM killer, but the VM we are
running on is 64 bit Windows.
I'm a bit confused by your terminology. I took your first message to
imply that you were running
Hi,
Sorry - didn't mean to be confusing. We are indeed running in a
virtualized environment, and the OS of the image we are running on is 64
bit Windows Server 2003. The JVM on that image is Java 6.
Have you checked *all* of the Tomcat logs? Are you perhaps getting a
normal shutdown?
Yes,
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Subject: RE: Tomcat suddenly dies without a whisper
Yes, we've checked all the Tomcat logs.
Do you have access to the Windows event logs? Might be something buried
in there, but they're frequently voluminous and not particularly easy to
Yep, we've trauled through them, and not found anything that corresponds
to when tomcat dies.
cheers,
David
Caldarale, Charles R [EMAIL PROTECTED]
05/16/2008 12:25 AM
Please respond to
Tomcat Users List users@tomcat.apache.org
To
Tomcat Users List users@tomcat.apache.org
cc
Subject
RE:
87 matches
Mail list logo