Re: Hard limits in Tomcat?

2008-11-19 Thread Leon Rosenberg
I think the question you wanna ask yourself first is, do you want to monitor tomcat or do you want to monitor your application? regards Leon On Wed, Nov 19, 2008 at 3:18 PM, Kees Jan Koster <[EMAIL PROTECTED]> wrote: > Dear Chris, > >>> I am setting up a monitoring system for Tomcat servers and I

Re: Best Linux JVM to use for Tomcat?

2008-11-12 Thread Leon Rosenberg
On Wed, Nov 12, 2008 at 5:34 PM, Dan Armbrust <[EMAIL PROTECTED]> wrote: > Well, I don't know about always. I have yet to find a 1.6 JDK from > Sun that is even close to stable. With heavy use (especially heavy > multithreaded use), we have found that all of the available 1.6 JDK's > segfault. h

Re: Tomcat Performance

2008-11-12 Thread Leon Rosenberg
On Wed, Nov 12, 2008 at 2:26 PM, David kerber <[EMAIL PROTECTED]> wrote: > Peng Tuck Kwok wrote: >> >> Probably the reason why he's seeing one instance of tomcat moving quicker >> than 2 instances is the fact that there is some form of contention for >> resources on that single machine assuming tha

Re: Best Linux JVM to use for Tomcat?

2008-11-11 Thread Leon Rosenberg
suns current jdk is always the best choice. the current one is 6.10 https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/[EMAIL PROTECTED] regards Leon On Tue, Nov 11, 2008 at 7:49 PM, fred basset <[EMAIL PROTECTED]> wrote: > Hi All, > > I have a site running wit

Re: Setting Up Tomcat 6 on Ubuntu 8.10

2008-11-09 Thread Leon Rosenberg
On Sun, Nov 9, 2008 at 7:02 PM, Lex Man <[EMAIL PROTECTED]> wrote: > > I have installed tomcat 6 through the Ubuntu synaptic package manager but I > am having trouble setting it up. if you want help on this list (or the tomcat channel), you should obtain your tomcat from its official source http:/

Re: Deployment Web App on Debian

2008-11-06 Thread Leon Rosenberg
you should also check which java version is installed. If its not suns - remove it. Leon On Fri, Nov 7, 2008 at 8:22 AM, Youssef Mohammed <[EMAIL PROTECTED]> wrote: > There shouldn't be any difference if you have same same version of tomcat > (recall java in platform independent). > You should lo

Re: relation between Tomcat and Apache Commons

2008-10-31 Thread Leon Rosenberg
On Fri, Oct 31, 2008 at 1:09 PM, Andrew Ralph Feller, afelle1 <[EMAIL PROTECTED]> wrote: > That is a good point. > > What is your preferred method of running Tomcat? JSVC? Startup / shutdown > scripts? Front-end with Apache HTTP server? Standalone? standalone with start/shutdown scripts as non

Re: How to watch active sessions size

2008-10-28 Thread Leon Rosenberg
On Tue, Oct 28, 2008 at 1:29 PM, Hugo Palma <[EMAIL PROTECTED]> wrote: > Isn't Lambdaprobe dead ? > > Thanks for the tip on the memory leak, you're right. But how else can i find > out the size of each active session ? btw, how does lambdaprobe does it? I mean the size? Chuck will surely correct

Re: How to watch active sessions size

2008-10-28 Thread Leon Rosenberg
Lambdaprobe :-) Btw, your solution will create a memory leak, its better just to count creation and destruction events instead of holding references. regards Leon On Tue, Oct 28, 2008 at 11:08 AM, Hugo Palma <[EMAIL PROTECTED]> wrote: > I'd like to watch the active sessions count and size for a

Re: Tomcat 6 - Problems with encoding

2008-10-27 Thread Leon Rosenberg
€ sign is not part of ISO-8859-1 use ISO-8859-15 instead. regards Leon On Mon, Oct 27, 2008 at 7:19 PM, JSimas <[EMAIL PROTECTED]> wrote: > > Hi. > > I'm using Apache Tomcat 6.0.14, wich deploys a Struts 1.x web application. > > I was using encoding ISO-LATIN-1 but i was having problems with the

Re: Tomcat 5.5 and RMI

2008-10-27 Thread Leon Rosenberg
On Mon, Oct 27, 2008 at 12:08 PM, Gregor Schneider <[EMAIL PROTECTED]> wrote: > Hi Leon > > On Mon, Oct 27, 2008 at 12:03 PM, Leon Rosenberg > <[EMAIL PROTECTED]> wrote: >> Gregor, >> I think you misunderstood the OP (or maybe I did) >> but he wanted to

Re: Tomcat 5.5 and RMI

2008-10-27 Thread Leon Rosenberg
Gregor, I think you misunderstood the OP (or maybe I did) but he wanted to receive incoming calls via RMI or HTTP, at least that was what he posted, and not using tomcat as client... regards Leon On Mon, Oct 27, 2008 at 11:58 AM, Gregor Schneider <[EMAIL PROTECTED]> wrote: > Maybe one more statem

Re: Tomcat 5.5 and RMI

2008-10-26 Thread Leon Rosenberg
Hello Sven, as mentioned before this has nothing to do with tomcat, your rmi servant inside tomcat will manage its threads by himself without tomcat manager having a chance to notice. For the second question, I highly doubt there is a servlet container there which cares for RMI, but why should the

Re: Committing sendRedirect()

2008-10-22 Thread Leon Rosenberg
On Thu, Oct 23, 2008 at 2:12 AM, Tore Eriksson <[EMAIL PROTECTED]> wrote: >> Tore Eriksson wrote: >> > Hello everybody, >> > >> > As I found a solution to my problem, I thought I would share it in case >> > someone else comes up against the same issue. The reason for the client >> > not acting on t

Re: Tomcat not using multiple cores

2008-10-16 Thread Leon Rosenberg
On Fri, Oct 17, 2008 at 3:05 AM, Matthew Laird <[EMAIL PROTECTED]> wrote: > > Caldarale, Charles R wrote: > >> "The only time I began to see the other cores actually start being used is >> when I enabled multi-threaded GC. But that doesn't give much improvement >> since the threads responding the

Re: Tomcat not using multiple cores

2008-10-16 Thread Leon Rosenberg
Hello Matthew, Without wanting to advertise own product, I think moskito can help you a lot here. It was specially designed to detect cpu eaters among call trees. Feel free to contact me of list if you want to give it a try ;-) http://moskito.anotheria.net/moskitodemo/mui/mskShowAllProducers reg

Re: Appeal to Tomcat developers

2008-10-16 Thread Leon Rosenberg
On Thu, Oct 16, 2008 at 3:42 PM, André Warnier <[EMAIL PROTECTED]> wrote: > Leon Rosenberg wrote: > [...] >> >> I am sorry, but do you always log to system.out in your applications? >> Maybe you should take a look at some of numerous logging projects, >>

Re: Appeal to Tomcat developers

2008-10-16 Thread Leon Rosenberg
On Thu, Oct 16, 2008 at 3:06 PM, David kerber <[EMAIL PROTECTED]> wrote: > Leon Rosenberg wrote: >> >> On Thu, Oct 16, 2008 at 2:48 PM, David kerber <[EMAIL PROTECTED]> >> wrote: >> >>> >>> For my part, I generally agree with the OP.

Re: Appeal to Tomcat developers

2008-10-16 Thread Leon Rosenberg
On Thu, Oct 16, 2008 at 2:48 PM, David kerber <[EMAIL PROTECTED]> wrote: > > For my part, I generally agree with the OP. Specifically, the show stopper > for me is that the documentation isn't detailed enough at the level of the > application and administrator level, and especially doesn't give en

Re: Programmatic instruct Tomcat to shutdown

2008-10-16 Thread Leon Rosenberg
On Thu, Oct 16, 2008 at 1:31 PM, Maxim Veksler <[EMAIL PROTECTED]> wrote: > On Wed, Oct 15, 2008 at 21:07, Filip Hanik - Dev Lists > <[EMAIL PROTECTED]>wrote: > >> you mean like >> >> java.lang.System.exit(1); >> >> > Not quite. > > I've commented that I've tried System.exit(1); and it's fails beca

Re: Memory leak from threadlocal for hot deployment

2008-10-16 Thread Leon Rosenberg
Err, why can't you reset the object after usage or at next redeploy? Leon On Thu, Oct 16, 2008 at 7:26 AM, Noble Paul നോബിള്‍ नोब्ळ् <[EMAIL PROTECTED]> wrote: > If I store an application object in ThreadLocal and do hot deployment > it prevents the old classloader from getting GCed . Why can't To

Re: Why can NOT run TomCat on my LapTop

2008-10-11 Thread Leon Rosenberg
Download the zip version, unpack it somewhere, open cmd.exe, goto this somewhere, run bin\catalina.bat run and watch the output. regards leon On Sat, Oct 11, 2008 at 12:05 PM, IceManPat <[EMAIL PROTECTED]> wrote: > > Hi > > Guys, I am new to TomCat . I have downloaded the installer for windows >

Re: Communicating between webapps

2008-10-09 Thread Leon Rosenberg
On Thu, Oct 9, 2008 at 7:16 PM, Johnny Kewl <[EMAIL PROTECTED]> wrote: > > I'm very much for the KISS principle... if you dont need it, dont use it... > nothing is more powerful that POJO (plain old Java). > Thing is KISS does not mean novice... you'll find only the guys that have > been around for

Re: Communicating between webapps

2008-10-09 Thread Leon Rosenberg
On Thu, Oct 9, 2008 at 1:01 PM, André Warnier <[EMAIL PROTECTED]> wrote: > Leon Rosenberg wrote: > [...] >> >> It could look like following: > > [...] (200 lines of code snipped) > > Just a question : what do you answer when people ask for *really* detailed &g

Re: Communicating between webapps

2008-10-09 Thread Leon Rosenberg
On Thu, Oct 9, 2008 at 10:36 AM, André Warnier <[EMAIL PROTECTED]> wrote: > Leon Rosenberg wrote: >> >> On Thu, Oct 9, 2008 at 9:59 AM, André Warnier <[EMAIL PROTECTED]> wrote: >>> >>> I realise that this can be done via e.g. an external DB. >>

Re: Communicating between webapps

2008-10-09 Thread Leon Rosenberg
On Thu, Oct 9, 2008 at 9:59 AM, André Warnier <[EMAIL PROTECTED]> wrote: > I realise that this can be done via e.g. an external DB. > It could also probably be done, most portably, by creating an entirely > separate application accessed via HTTP calls e.g. (à la "Amazon DB" ?). > But it looks as if

Re: Communicating between webapps

2008-10-08 Thread Leon Rosenberg
On Wed, Oct 8, 2008 at 12:00 PM, Mikolaj Rydzewski <[EMAIL PROTECTED]> wrote: > Darryl Pentz wrote: >> >> I have not found a no-brainer solution to this as yet. The one I have >> tried is making a localhost HTTP call which I find to be rather expensive, >> given that it requires creating a socket c

Re: Communicating between webapps

2008-10-08 Thread Leon Rosenberg
RMI, CORBA or (worst choice) SOAP. Everything else, like using libs in shared/server folders etc are hacks :-) Leon On Wed, Oct 8, 2008 at 10:53 AM, Darryl Pentz <[EMAIL PROTECTED]> wrote: > I have an issue where webapp A needs to let webapp B know about an event, and > then return a response t

Re: Heap dump of servlet

2008-10-04 Thread Leon Rosenberg
kill -QUIT produces the thread dump, not the heap dump. That's being said it works exactly the same way with tomcat as with any other application, the whole thread dump is dumped out to the standard out which in this case is catalina.out. Leon On Sat, Oct 4, 2008 at 8:57 AM, Mohit Anchlia <[EMAIL

Re: CPU utilization and Tomcat 5.5.20

2008-10-03 Thread Leon Rosenberg
look at your applications inside of tomcat. make thread dumps. Leon On Fri, Oct 3, 2008 at 9:29 PM, Reis, Tom <[EMAIL PROTECTED]> wrote: > We are running Tomcat 5.5.20 with jvm 1.5.0_14. Tomcat utilization goes > to 100 percent being used by Tomcat. Any ideas why the utilization would > go so high

Re: Newbies, becareful of pure cookie based magic... theres a few gotcha's

2008-09-08 Thread Leon Rosenberg
g caught... thats all I'm trying to say to developers, because once > there, how do you help them? Create another navigation path using filters and rewrite (internal forwards +url rewriting) rules and let google walk that path. On Mon, Sep 8, 2008 at 1:41 AM, Johnny Kewl <[EMAIL

Re: Newbies, becareful of pure cookie based magic... theres a few gotcha's

2008-09-07 Thread Leon Rosenberg
I think you are speaking about JSF and I think you are completely misunderstanding the concept. The diversification is done via parameters just as same as it's done via content path or 'visible' parameters in old school frameworks. The actual problem is that everything is sent via POST and that is

Re: Why GlassFish

2008-09-04 Thread Leon Rosenberg
On Thu, Sep 4, 2008 at 11:48 AM, Peng Tuck Kwok <[EMAIL PROTECTED]> wrote: > Johnny, you're having way too much fun :D . > Sam to answer your question, tomcat simply is the reference implementation > of servlet and jsp specification from Sun (and a damn fine one at that > too). No its not. Glassfi

Re: Monitor and report number of concurrent user

2008-09-03 Thread Leon Rosenberg
I think it depends on what you call "user". Leon On Thu, Sep 4, 2008 at 6:18 AM, Nix Hanwei <[EMAIL PROTECTED]> wrote: > Hi Gurus, > > May I know if there's scripts or suggestions for reporting concurrent user in > tomcat? > > Thanks in advance, > wannabe > > > > New Email names for you! > G

Re: Ignorance about some things.

2008-09-01 Thread Leon Rosenberg
Hello Manuell, having OutOfMemoryError in your logs doesnt necessary mean that you are out of memory. OutOfMemory error can be caused by many things, for example the impossiblity to create a new thread. What's happening with your tomcat after 50 minutes, do you have any logs? Also, detailed info

Re: version 5.5 vs 6.0

2008-08-29 Thread Leon Rosenberg
Keep in mind tomcat 6 has passed the magic version number of 16, so from now on, no need to use 5.x branch :-) Leon On Fri, Aug 29, 2008 at 11:43 PM, Alex Howansky <[EMAIL PROTECTED]> wrote: > > Hello group, > > I'm wondering if you might be able to share a bit of your expertise with me. > Is the

Re: Using tabbed browsers causes session sharing

2008-08-15 Thread Leon Rosenberg
Thats probably because it has nothing to do with tomcat or sessionmanagement, but has something to do with cookies and browser processes. AFAIK the only browser which allow theirself to be started in multiple processes are internet explorer and lynx. And internet explorer only if you activated a sp

Re: Amazing stuff with Tomcat

2008-08-10 Thread Leon Rosenberg
Johny, mabye I'm missing the point, but it looks like you are reinventing SOAP. You do know that CORBA can do this since 20 years, don't you? regards Leon On Sun, Aug 10, 2008 at 3:11 AM, Johnny Kewl <[EMAIL PROTECTED]> wrote: > We now doing absolutely incredible stuff with Tomcat... and I just

Re: Tomcat Hosting

2008-07-29 Thread Leon Rosenberg
RimuHosting is expensive. Just clicked a server together and ended up with twice of what I'm paying now with less included traffic. Leon On Tue, Jul 29, 2008 at 10:32 AM, Nikunj <[EMAIL PROTECTED]> wrote: > Hii, > > RimuHosting is best and hostjava.net is also best > > > > On Mon, Jul 28, 2008 at

Re: [OT] Performance Requirements

2008-07-20 Thread Leon Rosenberg
lways use, and that is "user response time" >> this can work for almost any webapp that has some sort of "real" user in >> front of it. >> 50 to 100ms would be excellent and very aggressive, but it depends on the >> app itself of course. >>

Re: preventing manifest write

2008-07-03 Thread Leon Rosenberg
a bit off off-topic, but what do you consider cheap? there are providers our there that will grant you root level access to a dedicated server for less than 40 euros per month, where you can do whatever you want with the machine. Perhaps you should go for one of those. regards Leon On Thu, Jul 3,

[OT] Performance Requirements

2008-07-02 Thread Leon Rosenberg
Hi all, recently I was asked by someone to define performance requirements for a site without even knowing it (the site). The task was to deliver standard requirements valid for most sites (or portal-like sites). I answered that it's probably impossible without knowing the type of media delivered,

Re: Blocking threads in Tomcat

2008-07-01 Thread Leon Rosenberg
interesting, can you provide your webapp + configs for download and test? Leon On Tue, Jul 1, 2008 at 3:16 PM, Fredrik Tolf <[EMAIL PROTECTED]> wrote: > On Tue, 2008-07-01 at 08:46 +0200, Leon Rosenberg wrote: >> Hello Frederic, >> >> unless you are using the Si

Re: Blocking threads in Tomcat

2008-06-30 Thread Leon Rosenberg
Hello Frederic, unless you are using the SingleThreaded Model (and you shouldn't) tomcat does no such thing. I assume the best way is to show us your servlet code, or to check for synchronized blocks in it. regards Leon On Tue, Jul 1, 2008 at 6:11 AM, Fredrik Tolf <[EMAIL PROTECTED]> wrote: > Hi

Re: problem with sessions

2008-06-26 Thread Leon Rosenberg
Hello Abhishek, if you open a new window in a browser (except internet explorer with setting start new window in new process = on) your new window belongs to the same process as the old window, sharing all the states, including session cookies. So both windows are tied to the same session. If you

Re: JSESSIONID doesn't contain the port

2008-06-20 Thread Leon Rosenberg
On Fri, Jun 20, 2008 at 4:16 PM, Christopher Schultz <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Zsolt, > > Zsolt Koppany wrote: > | Our customer has two tomcats because one instance is the production > version > | of our application and the second one is a test

Re: JSESSIONID doesn't contain the port

2008-06-20 Thread Leon Rosenberg
ok, it that case all you need are just two virtual hosts. Leon On Fri, Jun 20, 2008 at 8:56 AM, Zsolt Koppany <[EMAIL PROTECTED]> wrote: > Thank you everybody making comments to my original post. > > Our customer has two tomcats because one instance is the production version > of our application

Re: JSESSIONID doesn't contain the port

2008-06-19 Thread Leon Rosenberg
On Thu, Jun 19, 2008 at 6:09 PM, André Warnier <[EMAIL PROTECTED]> wrote: > > > So now that it is settled that different names for the cookies /would/ solve > the problem, is that a possibility in Tomcat ? > Is it possible for one application to "influence" the name of it's session > cookie, so tha

Re: JSESSIONID doesn't contain the port

2008-06-19 Thread Leon Rosenberg
On Thu, Jun 19, 2008 at 5:42 PM, Pid <[EMAIL PROTECTED]> wrote: > André Warnier wrote: >> >> >> Leon Rosenberg wrote: >>> >>> On Thu, Jun 19, 2008 at 4:51 PM, André Warnier <[EMAIL PROTECTED]> wrote: >>> >>>> Now, maybe the is

Re: JSESSIONID doesn't contain the port

2008-06-19 Thread Leon Rosenberg
but the path of the cookie. IMHO the path of the cookie is the webapp context -> /webappname Leon. On Thu, Jun 19, 2008 at 5:12 PM, André Warnier <[EMAIL PROTECTED]> wrote: > > > Leon Rosenberg wrote: >> >> On Thu, Jun 19, 2008 at 4:51 PM, André Warnier <[EM

Re: JSESSIONID doesn't contain the port

2008-06-19 Thread Leon Rosenberg
On Thu, Jun 19, 2008 at 4:51 PM, André Warnier <[EMAIL PROTECTED]> wrote: > Now, maybe the issue is whether the session of one application can or cannot > be valid for the other. If they just shared a session (and a cookie), then > there would be harmony again. Or the OP just renames one of his

Re: Jrockit Vs Sun

2008-06-17 Thread Leon Rosenberg
Hello, i have tested synchronized vs. atomic performance two years ago with both jrockit and sun 1.5, both 32 bit, and jrockit was clearly faster in synchronization and slower in atomics. But its of cause its far outdated. http://moskito.anotheria.net/AtomicVsSynchronized.html regards Leon On

Re: getAttribute(null)?

2008-06-16 Thread Leon Rosenberg
<[EMAIL PROTECTED]> wrote: > > Leon Rosenberg wrote: >> >> P.S. probably it would be good if StandartSession would check for it >> return name==null ? null : (attributes.get(name)); >> instead of >> return (attributes.get(name)); >> >&

Re: getAttribute(null)?

2008-06-16 Thread Leon Rosenberg
On Thu, Jun 12, 2008 at 5:36 PM, Leffingwell, Jonathan R CTR FRCSE, JAX 7.2.2 <[EMAIL PROTECTED]> wrote: > It's not the "why is formName null?" that I'm worried about. In this > case, it's supposed to be null. > > What I want to know is this: Is a NullPointerException supposed to be > thrown if th

Re: Debugging a Web application

2008-05-23 Thread Leon Rosenberg
are you asking us on which port you can connect to the jvm or to tomcat via http? If its the later try 8080. leon On Fri, May 23, 2008 at 1:29 AM, R. Sriram <[EMAIL PROTECTED]> wrote: > Hello, > I am using Tomcat 6.0.16 and JDK 1.6. I am using IntelliJ IDEA as my IDE to > develop a Web applicatio

Re: Moving a site

2008-05-22 Thread Leon Rosenberg
maybe you should pick a dir without spaces. regards Leon On Thu, May 22, 2008 at 9:01 PM, David Smith <[EMAIL PROTECTED]> wrote: >> >> >> SEVERE: Error starting static Resources >> java.lang.IllegalArgumentException: Document base C:\Program >> Files\Apache Software Foundation\Tomcat 5.5\webapps\

understanding some tomcat code

2008-05-16 Thread Leon Rosenberg
Hi, was just browsing through tomcat code, and the following is just a mystery to me ->StandardSession.fireSessionsEvent(type,data): public void fireSessionEvent(String type, Object data) { if (listeners.size() < 1) return; SessionEvent event = new SessionEvent(thi

Re: Preventing tomcat from creating sessions

2008-05-15 Thread Leon Rosenberg
]> wrote: > -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 > |> &g

Re: Preventing tomcat from creating sessions

2008-05-15 Thread Leon Rosenberg
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(re

Re: Save POJO Application Server Definition

2008-05-13 Thread Leon Rosenberg
Could it be just because you are reinventing the wheel? Leon On Tue, May 13, 2008 at 11:58 AM, Johnny Kewl <[EMAIL PROTECTED]> wrote: > --- > HARBOR: http://coolharbor.100free.com/index.htm > The most powerful application s

Re: CPU usage quirk with multiple tomcat instances

2008-05-08 Thread Leon Rosenberg
but sar only shows you 10 minute averages ,right? It would never show you any peaks. leon On Thu, May 8, 2008 at 12:09 PM, Lists <[EMAIL PROTECTED]> wrote: > we use sar and look at cpu utilisation.. > > - Original Message > From: Tomcat Users List > To: Tomcat Users List > Subj

Re: CPU usage quirk with multiple tomcat instances

2008-05-07 Thread Leon Rosenberg
btw, how do you measure it? vmstats? top? On Wed, May 7, 2008 at 9:40 AM, Dan Keeley <[EMAIL PROTECTED]> wrote: > We dont have synchronisation issues - I've already profiled extensively with > jprofiler.. Well we did, but after using jprofiler we dont :) > > Err, I think our app is the same as y

Re: CPU usage quirk with multiple tomcat instances

2008-05-06 Thread Leon Rosenberg
Hello Dan, what also may happening is that you have unneeded or errorneous synchronisation somewhere in your code. Two instances : less code in same block and vm, effectively less synchronization. try to profile whether some use cases take longer on the single tomcat per machine. We once tried t

Re: Tomcat problem on a multiple CPU system

2008-05-06 Thread Leon Rosenberg
just 2 cents, if your 8 IEs are running in one process, which is default to my knowledge, they are sharing the same urlhelper/toolkit which default to 4 max parallel connections. I suggest you write a small java programm that tests it for you (with commons-httpclient) or use jmeter or at least wget

Re: get Tomcat perfomance using JMX

2008-04-20 Thread Leon Rosenberg
n I will mesure 10 trace and get the > average time response of Tomcat. > > I dont if I explain correctly. > > The information that show the link it a little bit confusion for me. > > Regards > > > > Leon Rosenberg wrote: > > > http://moskito.anotheria.

Re: get Tomcat perfomance using JMX

2008-04-19 Thread Leon Rosenberg
http://moskito.anotheria.net/moskitodemo/mui/mskShowAllProducers this kind of time response? Leon On Sat, Apr 19, 2008 at 7:17 PM, Liang Xiao Zhu <[EMAIL PROTECTED]> wrote: > Thanks for you answer, but also I want to know if for getting time response > of Tomcat there is another alternative that

Re: Sorry Offtopic

2008-04-08 Thread Leon Rosenberg
SAW IT. On Tue, Apr 8, 2008 at 10:48 PM, Max Sevenfold <[EMAIL PROTECTED]> wrote: > Hello, > > I am subscribed to list and I receive emails. > > When I posted emails to list in past I was getting a copy of my email. > > I right now I do not get copy and nobody respond to my emails also. > > D

Re: Why Tomcat take about 15 minutes to start?

2008-02-19 Thread Leon Rosenberg
for me it looks like a dtd problem. I would check whether you got a remote dtd in your xml files and replace it with lokal. For example the web.xml contains one. regards Leon On Feb 19, 2008 3:26 PM, Mohamed Mohamedin <[EMAIL PROTECTED]> wrote: > The log is like this in the lines that cause the p

Re: Why Tomcat take about 15 minutes to start?

2008-02-17 Thread Leon Rosenberg
And without the enhydra app? Leon On Feb 17, 2008 9:36 PM, Mohamed Mohamedin <[EMAIL PROTECTED]> wrote: > It has internet connection and can connect to apache.org. Also It has app > (Enhydra Application) > > > -Original Message- > From: Leon Rosenberg [mailto:

Re: Why Tomcat take about 15 minutes to start?

2008-02-17 Thread Leon Rosenberg
is your server connected to the internet (e.g. can make requests, specially to apache.org) ? Is it a vanilla tomcat or have you put some app into it? Especially a struts app? regards Leon On Feb 17, 2008 2:43 PM, Mohamed Mohamedin <[EMAIL PROTECTED]> wrote: > This message "http://readlist.com/li

Re: QUESTION: How to use *only* cookies for session tracking?

2008-02-09 Thread Leon Rosenberg
Lets face it, there is virtually no site of interest that doesn't require cookies (or javascript). A possibility to turn url rewriting off would be really great even it isn't covered by the servlet spec. And we all know how disturbing url rewriting is for crawlers. But since tomcat isn't a ref imp

Re: Performace problem when invoking RMI call from Tomcat Servlet

2008-02-07 Thread Leon Rosenberg
nt request, > the times of invocation getting worse, while the duration of the method its > keeps being ~5 ms... > > -Original Message- > From: Leon Rosenberg [mailto:[EMAIL PROTECTED] > Sent: Wednesday, February 06, 2008 9:25 PM > To: Tomcat Users List > Subje

Re: Performace problem when invoking RMI call from Tomcat Servlet

2008-02-06 Thread Leon Rosenberg
is it only the first request that lasts longer, or each request? regards leon On Feb 6, 2008 7:01 PM, Barak Yaish <[EMAIL PROTECTED]> wrote: > Hello all, > > > > I'm running a Servlet under Tomcat 5.5.23 (CentOS 5), reside on host H1. > This servlet invokes a RMI method ( f() ) on an object found

Re: TPTP and Tomcat

2008-02-05 Thread Leon Rosenberg
that depends on what you want to profile and how muc hmoney you want to spend. some sites to look into moskito.anotheria.net www.lambdaprobe.com www.yourkit.com http://www.quest.com/jprobe/ regards Leon On Feb 5, 2008 7:25 AM, Arun <[EMAIL PROTECTED]> wrote: > Hi, > > I am new to profiling. Can a

Re: Tomcat Performance

2008-01-31 Thread Leon Rosenberg
I would be interested how much performance you were able to tickle compared to default jvm settings? Leon And how many of the settings had to be reverted with switch to a newer jdk, if any. On Jan 31, 2008 3:49 AM, Peter Lin <[EMAIL PROTECTED]> wrote: > from past experience, it's much better to u

Re: Tomcat Performance

2008-01-29 Thread Leon Rosenberg
Without wanting to oppose the whole document, the parts you quoted are pretty incomplete. first, calculating AART from clients perespective (as implicitely done in the article) is not a good idea, since you are mixing up tomcat response time, network transport, internet latency, all in one bunch.

Re: Tomcat memory leak?

2008-01-24 Thread Leon Rosenberg
he tomcat version and the JRE version I stated (6.0.14, > jre1.6.0_03). > One more thing: as I said, I'm trying it with 64M of max heap space, but I > figured, if it goes to 99.9% mem use, there's no use raising it (even though > I tried and it reached 99.9% after a short while)

Re: Tomcat memory leak?

2008-01-24 Thread Leon Rosenberg
I downloaded your example. So you are telling us, that simply calling a JSP file with html markup only and without any code kills your tomcat? Regards Leon On Jan 24, 2008 4:19 PM, Ofer Kalisky <[EMAIL PROTECTED]> wrote: > Ok, since sending an attachment doesn't work, > > simply create a webapp b

[OT] Jobs in Kiev, Ukraine available

2007-12-13 Thread Leon Rosenberg
Hi, sorry for off topic. I work as consulter for a company which has some positions to fill in Kiev, Ukraine. Basically they are searching for Java Developers WEB/Backend, and good HTML-ers/ JSScripters. Everyone interested please email me your CV and loan expectations I will forward it to the H

Re: Monitoring Tomcat

2007-12-03 Thread Leon Rosenberg
http://moskito.anotheria.net/moskitodemo/mui/mskShowAllProducers http://www.lambdaprobe.org/d/index.htm On Dec 3, 2007 12:09 PM, Pedro <[EMAIL PROTECTED]> wrote: > Hi All > > I am just curious to know what people are using to monitor Tomcat, for > my purposes I just require something very simple,

Re: Thread-safety servlet testing

2007-11-30 Thread Leon Rosenberg
start with firing mit many threads (clients) on it. On Nov 30, 2007 5:30 AM, Самойлов Андрей Иванович <[EMAIL PROTECTED]> wrote: > > How to test servlet on thread-safety? > > > - > To start a new topic, e-mail: users@tomcat.apache

Re: Logging Framework

2007-11-27 Thread Leon Rosenberg
gee! moskito.anotheria.net exact this ready to use. On Nov 26, 2007 1:27 PM, Andrew Hole <[EMAIL PROTECTED]> wrote: > Hello! > > My java application writes relevant log of database procedures > executions. My goal is to develop a report at intervals of 30 minutes > with a summary, including reques

Re: Cross-domain calls when third-party cookies are not allowed

2007-11-25 Thread Leon Rosenberg
I believe if you set the p3p policy correctly (in your tomcat) ie7 will accept the third party cookies. regards Leon On Nov 22, 2007 11:05 PM, J.Gustafsson <[EMAIL PROTECTED]> wrote: > > Hi, > I have an interesting problem (I think) that I wonder if someone could > assist me with. > > I want to d

Re: Apache Http Server and Tomcat

2007-11-07 Thread Leon Rosenberg
if you are using a hardware loadbalancer - a clear no. For static content and other stuff lighttpd is a far better choice than apache httpd. regards Leon On Nov 7, 2007 10:39 PM, bajistaman <[EMAIL PROTECTED]> wrote: > > Are there good reasons to use an Apache Http Server in front of a Tomcat eve

Re: Tomcat causing high CPU load

2007-11-06 Thread Leon Rosenberg
On 11/6/07, Peng Tuck Kwok <[EMAIL PROTECTED]> wrote: > Is there a link for Moskito? http://moskito.anotheria.net http://moskito.dev.java.net the site is on the move (moving to something better desgined) so just ask :-) Leon > > On Nov 6, 2007 6:21 AM, Leon Rosenberg <[EMAIL

Re: Tomcat causing high CPU load

2007-11-05 Thread Leon Rosenberg
Moskito can display monitoring traces instantly (path through monitoring points) and measure time in each call and sub-calls, but it requires some source code adoption. regards Leon On 11/5/07, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: > > From: Caldarale, Charles R > > Subject: RE: Tomcat

Re: tomcat and java cache

2007-10-15 Thread Leon Rosenberg
Thats what listener are for, in your case ContextListener. regards Leon On 10/15/07, loredana loredana <[EMAIL PROTECTED]> wrote: > I have a pretty big website that uses java cache from which it retrieves the > html. So I have a scheduled job(servlet) that get's some data from a server > and sto

Re: How to increase Tomcat webserver speed?

2007-10-05 Thread Leon Rosenberg
many interesting mails, but lacking advices :-) i would hardly recommend you to actually measure your webapps performance. You can use a filter to measure the request duration, and measure the db call duration from your persistence service and by that determine where the time is lost, db or tomcat

OOME crushing tomcat

2007-09-30 Thread Leon Rosenberg
Hi, one of my customers recently increased amount of memory they use, so OOME are happening more often. Most of them however do no harm, since just the request is aborted, but the container remains functional and next request wents well (they have a throughput of >100MB per second in young generat

Re: Tomcat and SessionHandling

2007-09-12 Thread Leon Rosenberg
first, if you are new to servlets and webapps, you should probably hire a consultant in your area to help you out a little, and there are many in germany. second, you don't need own session handling, what you do need is a context for each window in your session, so the data for the window is set i

Re: Concurrency with HttpSession

2007-09-07 Thread Leon Rosenberg
On 9/7/07, lightbulb432 <[EMAIL PROTECTED]> wrote: > > I'm reading some book concurrency books that talk about potential thread > safety issues with HttpSession. Specific cases follow: > > - When the web container passivates an HttpSession while a user's request > modifies it strange use case. why

Re: Tomcat Feature List

2007-08-28 Thread Leon Rosenberg
I dropped a mail on this group. > > Thanks, > Sachin > > -----Original Message- > From: Leon Rosenberg [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 28, 2007 2:54 PM > To: Tomcat Users List > Subject: Re: Tomcat Feature List > > Since you are working for an int

Re: Tomcat Feature List

2007-08-28 Thread Leon Rosenberg
Since you are working for an internation software company and are probably supposed to perform some research in your paid time, i think its fair to point you to the fact that our time is unpaid, so ... use google. Leon On 8/28/07, Sachin Mehrotra <[EMAIL PROTECTED]> wrote: > Hi, > > > > I want to

Re: 20 Tips for Using Tomcat in Production

2007-08-22 Thread Leon Rosenberg
[mailto:[EMAIL PROTECTED] > Enviada em: quarta-feira, 22 de agosto de 2007 10:56 > Para: Tomcat Users List > Assunto: RE: 20 Tips for Using Tomcat in Production > > > From: Leon Rosenberg [mailto:[EMAIL PROTECTED] > > Subject: Re: 20 Tips for Using Tomcat in Production > &g

Re: 20 Tips for Using Tomcat in Production

2007-08-22 Thread Leon Rosenberg
as far as i know this option is outdated, hence the vm automatically goes into server mode if it detects a server class machine (>=2GB RAM, 2 processors (which also includes ht or dualcore) leon maybe wrong though On 8/22/07, Ben Souther <[EMAIL PROTECTED]> wrote: > It depends on which operating

Re: Tomcat benchmark

2007-08-16 Thread Leon Rosenberg
both links are from 2004... Leon On 8/16/07, bajistaman <[EMAIL PROTECTED]> wrote: > > Probably the best place to start is > http://tomcat.apache.org/faq/performance.html and > http://www.webperformanceinc.com/library/reports/ServletReport/index.html > -- > View this message in context: > http://

Re: tomcat performance on static content over SSL/non-SSL

2007-08-15 Thread Leon Rosenberg
security by obscurity, that is. since the httpd just sends all requests further to the tomcat, if there is a security relevant bug in tomcat code, it would be accessed by the remote side either way. Further, are your machines, on which httpd is running, running under different OS than your tomcat

Re: Tomcat Issue with HPUX

2007-08-09 Thread Leon Rosenberg
you not counting the threads which are used by jvm and tomcat itself, and those are more than 5. Try with max threads = 25 and check whether this works at all on your machine. regards Leon On 8/10/07, pkt <[EMAIL PROTECTED]> wrote: > > HI All > I and running tomcat on HPUX machine. The problem

Re: Tomcat native.

2007-08-09 Thread Leon Rosenberg
On 8/8/07, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote: > Alec Bickerton wrote: > > Hi, > > > > I've only recently returned to using tomcat since tomcat 4.0.1 and I > > note that things have moved on somewhat. I'm currently working with > > the Tomcat 5.5.xx line. I would like to know is : >

Re: Tomcat Status

2007-08-09 Thread Leon Rosenberg
www.nagios.org On 8/8/07, Andrew Hole <[EMAIL PROTECTED]> wrote: > Hi! > > Exists some tool to monitor more than one instance of Tomcat in the same > server? > Lambda Probe is an excellent tool, but only monitoring instance where is > installled. > > In a simple way I want to have a web page showi

<    1   2   3   4   5   6   7   8   9   >