Re: Tomcat efficiency (was: RE: Optimal Settings to use Tomcat as a HTTP File Server)

2011-06-13 Thread Peter Crowther
On 13 June 2011 21:41, Jeff Sturm wrote: From: Bill Miller [] -Static image serving (much more economical because the HTTP server is much lighter weight than a JVM/App server) -etc... [...] I just tried a trivial benchmark of a

Re: pauses on simple .html pages

2011-06-11 Thread Peter Crowther
On 9 June 2011 21:25, wrote: I have a script setup does a wget hit to docs/config/valve.html every 1 second. If the wget call takes longer than 1 second it grabs a bunch of stats -- iostat, vmstat, top, jstack, last 30 lines of jvm.log. Nice setup - I wish more people did

Re: Expected behavior of Tomcat under load

2011-05-25 Thread Peter Crowther
Operating system and version? Java version? Tomcat version: 6.0.32 - thanks for this. Java or native connector? Pure Tomcat or something else in front? (I'm assuming pure Tomcat from what else you say) - Peter On 25 May 2011 12:51, Asankha C. Perera wrote: Hi All During

Re: Connection pool race condition

2011-04-28 Thread Peter Crowther
You could use Windows' service dependency management ( to start Tomcat only after Oracle reports that it's running. This might still cause problems if Oracle does the same as SQL Server and continues recovering after its official startup has finished. In

Re: Tomcat 5.5.23 installation issues

2011-04-18 Thread Peter Crowther
On 18 April 2011 11:48, Venkata Surapaneni wrote: I have installed Tomcat 5.5.23 on Windows 2008,32 bit and Java 1.6.0_23 . The installation completed fine. When I typed in localhost:8080 on the web page Tomcat home page is displayed indicating that

Re: How to limit tomcats thread consumption?

2011-04-05 Thread Peter Crowther
On 4 April 2011 18:29, André Warnier wrote: Michael Jerger wrote: last days I leased a virtual host at 1und1 (a german hoster). Unfortunately 1und1 found a new, creative way to limit the joy of using their VPH - they limit the number of operating-system processes to 256

Re: Can't move files using symbolic links (allowLinking=true)

2011-03-22 Thread Peter Crowther
On 22 March 2011 08:32, Goyo wrote: Inside origin there're about ten subdirs like target. Some of them are symlinked to the new filesystem. The rest, must remain in their path so: - AFAIK, we can't mount the new drive to origin/target because target is not the only

Re: Can't move files using symbolic links (allowLinking=true)

2011-03-21 Thread Peter Crowther
On 21 March 2011 16:35, Goyo wrote: We want to move a file from origin/ to origin/target/ Previously, this movement was made perfect Then, we change origin/target/ for a symlink called target which points to another path in another partition. Now, it doesn't move the

Re: Can't move files using symbolic links (allowLinking=true)

2011-03-21 Thread Peter Crowther
On 21 March 2011 17:36, Goyo wrote: The (another) problem is that we can't access the source code :S *chuckle* Gotta love configurable code. OK, so the issue is that you're short of space. How about mounting a partition at origin/target? Or even origin, depending how short

Re: Can't move files using symbolic links (allowLinking=true)

2011-03-21 Thread Peter Crowther
On 21 March 2011 20:39, André Warnier wrote: Maybe a guess : under Unix/Linux, move (mv) is a rename, and it is not the same as copy + delete original. And a move (rename) works as long as the source and target are inside the same filesystem, but not if they are on different

Re: [OT] Followup on 32-bit versus 64-bit performance discussion(s)

2011-03-15 Thread Peter Crowther
On 15 March 2011 07:36, Leon Rosenberg wrote: So a 64bit cpu has a 32bit mode, or how would a 32bit OS shrink the transmit size? I mean the registers stay the same? Frequently, the bottleneck with realistic loads is access to main memory (or, not quite equivalently,

Re: [OT] Followup on 32-bit versus 64-bit performance discussion(s)

2011-03-15 Thread Peter Crowther
On 15 March 2011 13:02, Caldarale, Charles R chuck.caldar...@unisys.comwrote: Also, a Java int, when allocated on the stack, must take up the same number of bits as a pointer. That's an interesting space/time trade-off (I presume it's to prevent excess arithmetic on stack value accesses). I

Re: Performance 5.5 vs 6 vs 7

2011-03-14 Thread Peter Crowther
On 13 March 2011 21:01, Tony Anecito wrote: As someone mentioned the network can imit you. If your bandwidth utilization is at 60% or over you are in trouble since collisions start to become a serious issue. Collisions may or may not be an issue, depending on the exact

Re: Performance 5.5 vs 6 vs 7

2011-03-14 Thread Peter Crowther
On 14 March 2011 12:08, David kerber wrote: Dave, could you give us any more information about your network? What is the piece that's at 80% utilisation when you see the trouble? Is it a point-to-point connection, or an Ethernet LAN, or what? If it's Ethernet, what

Re: Performance 5.5 vs 6 vs 7

2011-03-12 Thread Peter Crowther
On 11 March 2011 20:02, David kerber wrote: I've already checked my connection bandwidth, and that still has some headroom, though not a lot. What's not a lot? If latency across the connection is starting to increase due to congestion, that could increase the time to

Re: Tomcat and SSL

2011-03-02 Thread Peter Crowther
On 2 March 2011 15:56, jvr wrote: My question: If I'm not using JK Connector is mandatory configure tomcat as stand-alone server? or, although I'm not using JK Connector I could consider Apache like the primary web server? If you are not *somehow* forwarding requests

Re: [OT] Memory Leak in Tomcat

2011-02-24 Thread Peter Crowther
On 24 February 2011 09:42, André Warnier wrote: Jeffrey Janner wrote: .. Not sure exactly what Windows does once you've entered a verified user/pw combination for a service. I'm guessing that it stores the password somehow, because if you change the password, the service

Re: Is IBM Right About Java?

2011-02-09 Thread Peter Crowther
On 9 February 2011 01:36, Caldarale, Charles R chuck.caldar...@unisys.comwrote: The JVM always reserves the maximum heap size as virtual space, but does not allocate more of the heap than the current limit; the limit will be adjusted up or down within the -Xms : -Xmx range as load dictates.

Re: running multiple instances of Tomcat on same server

2011-02-04 Thread Peter Crowther
On 4 February 2011 14:27, James Godrej wrote: I have to run multiple instances of Tomcat. The reason I am doing so is I have a server where I hosted a learning management system known as Sakai which runs on Tomcat 5.5.30 and now on same server I have to host another


2011-02-03 Thread Peter Crowther
On 3 February 2011 11:35, Pid wrote: What factor caused so many people to hijack this thread? Using a mail client such as Gmail, which performs its own threading and doesn't respect or even show the thread ID. (And, Andre, you're right, I was confusing the two states - my


2011-02-02 Thread Peter Crowther
On 2 February 2011 10:24, Bw57899 wrote: Install an application in apache tomcat (6.0.29) in dev env on Solaris 10 with no issue. But after move to production, there are always about 50 ~ 100 CLOSE_WAIT on port 1521. The application need connect an Oracle database which is

Re: IPR issues

2011-01-21 Thread Peter Crowther
On 21 January 2011 11:54, apache tomcat wrote: I'd like to know if there is any patent infringement tied to the product. So would everybody! There's language in the license about patents, but there's nothing to stop a patent troll popping up and claiming that Tomcat

Re: [OT] Setting HTTP response headers caching for 1 year doesn't work

2011-01-20 Thread Peter Crowther
On 19 January 2011 16:30, Christopher Schultz wrote: [Peter] I'm actually interested to know your environment for your precision.c code, as a single-precision (32-bit) float is only good for 6-7 significant figures and your answers agree to 11sf. ... and I'm

Re: [OT] Setting HTTP response headers caching for 1 year doesn't work

2011-01-19 Thread Peter Crowther
On 19 January 2011 03:10, Christopher Schultz ch...@christopherschultz.netwrote: Yup: float is the default decimal type. Double-precision takes longer, so you have to ask for it. Chris, that's the only comment in your post I'd take issue with. To my knowledge, a constant with a fractional

Re: [OT] Setting HTTP response headers caching for 1 year doesn't work

2011-01-19 Thread Peter Crowther
On 19 January 2011 08:34, André Warnier wrote: Well, they haven't made a language yet which can divide acres by feet and coerce the result into furlongs. Google 20 acres / 22 feet in furlongs and prepare for a surprise ;-). - Peter

Re: [OT] Setting HTTP response headers caching for 1 year doesn't work

2011-01-19 Thread Peter Crowther
On 19 January 2011 15:53, Caldarale, Charles R wrote: No, most hardware (e.g., all flavors of x86) just sets a flag indicating that an overflow has occurred; it's up to the executing program to check the flag. And on some machines (again, x86 springs to mind) it's

Re: Apache Web Site Acting Wonky?

2010-12-14 Thread Peter Crowther
On 14 December 2010 16:28, Christopher Schultz wrote: The last thing the infra team needs is 20M emails saying teh server ist down HELPZORZ!!!1!!. You're giving the denizens of the Internet far too much credit. There'd be 20 like that, and the rest would

Re: how to enable Tomcat to handle proprietary TCP streams (non-http data)

2010-12-09 Thread Peter Crowther
On 8 December 2010 19:51, razor wrote: So i can just start my own thread (threads) for receiving non-http data (where to put initialization/starting stuff? as a new servlet ? ) If you implement your entire non-HTTP system as a servlet in its own context, you have the

[OT] Re: DBCP abandoned trace - unable to understand the leak

2010-11-04 Thread Peter Crowther
On 4 November 2010 10:54, Mark Thomas wrote: On 04/11/2010 05:01, sasidhar prabhakar wrote: I have one doubt. You have a question not a doubt I see this on many forums, and have come to realise it's associated with speakers of at least one of the widely-used languages in

Re: Printing using system commands from Tomcat as a service

2010-10-12 Thread Peter Crowther
On 12 October 2010 11:57, F2Andy wrote: To print, it creates a new file, which is then copied to lpt4: (which is actually a USB port on a networked computer, via net use) Exactly where and when is the net use running? There are two key points with Windows services:

Re: [OT] Tomcat on Linux

2010-09-20 Thread Peter Crowther
On 20 September 2010 09:51, Tommy Pham wrote: Thanks everyone for your input. I was hoping to get a better understanding of the differences between the flavors of Linux and how well and easy for me to run Tomcat. I guess I'll have to spend more time on various flavors.

Re: Address already in use

2010-08-25 Thread Peter Crowther
Well, the ports you're requesting are or have recently been in use. Try: netstat -an | grep 8209 ... just in case someone's given the service a name in /etc/services. Also just check that you've not got the same number in two places in conf/server.xml, for example as the shutdown port. Finally,

Re: Tomcat Version Numbers

2010-08-25 Thread Peter Crowther
On 25 August 2010 15:23, Christopher Schultz ch...@christopherschultz.netwrote: Again, this is partly because I feel a certain sense of order which requires releases to be X.0.0. Why? And by release do you mean stable, production-quality releases that we'll stake our reputations on (in which

Re: How to spwan child processes.

2010-08-24 Thread Peter Crowther
On 23 August 2010 21:56, André Warnier wrote: and can someone finally explain what spwaning child processes means ? It's a UNIXism - a fork() call spawns a child process from a parent process. Not sure how much further back it goes into the deep, dark and slightly dank dungeon

Re: EXTERNAL: Re: Random file generation

2010-08-17 Thread Peter Crowther
On 16 August 2010 23:44, Miller, Kevin R wrote: Any idea what this data is that is being sent to me? I'd expect it to be the start of the SSL negotiation. You're trying to do something unexpected, namely treating a SSL connection as if it wasn't one. Unsurprisingly,

[OT] Re: Tomcat hangs every few hours

2010-08-17 Thread Peter Crowther
On 17 August 2010 10:48, sasidhar prabhakar wrote: In thread dump I observed every thread doing the same thing. In my code I sends sms to users by using HttpURLConnection. I am using this code for months I didn't get the problem earlier. For few days I am getting this

Re: WARNING: Error registering request

2010-08-17 Thread Peter Crowther
On 17 August 2010 06:41, VenkateswaraRao Eswar venkat_kudip...@yahoo.comwrote: Could you please respond to this mail ASAP? That's a very good way of making sure the volunteers on this list *never* respond to your email. You are not paying for this support. There is no service level

Re: Random file generation

2010-08-16 Thread Peter Crowther
In other words: If I try to interpret the SSL handshake from Tomcat as if it were a byte stream to be interpreted by my browser, the byte stream the server happens to generate has the first two bytes 'MZ' and my browser can't interpret it as anything other than a Windows executable. That such an

Re: Can't configure webapps to disk partition

2010-08-12 Thread Peter Crowther
On 11 August 2010 21:36, André Warnier wrote: To point correctly to the location of this drive E:, you should probably use instead the UNC path, like //server/share. That is because, depending on the user-id under which tomcat runs, this shared directory may not necessarily

Re: Tomcat Thread utilization growing very large causing a hung tomcat instance

2010-08-03 Thread Peter Crowther
What happens if you *reduce* the allocated heap size - do you actually need that much Java heap? Native threads are created outside of the Java heap. You have 2G for (4 * 400) = 1600 threads plus the OS, or about 1 Mbyte per thread (this assumes no swap space). That may not be enough. - Peter

Re: Session error while loading an object

2010-07-14 Thread Peter Crowther
On 14 July 2010 08:02, abhishek jain wrote: I just realized that i am having in the Cart object which i save in session, references of datasource and message resources. This is creating the problem as they i believe are not serializable, Is there any way of

Re: Session error while loading an object

2010-07-13 Thread Peter Crowther
On 13 July 2010 09:34, abhishek jain wrote: I am using tomcat 5.5 , struts 1.x and i encounter the following error: I actually store the object in session and retrieve that(for a shopping cart application), pl. advice what i can do to remove this error:

Re: Session error while loading an object

2010-07-13 Thread Peter Crowther
On 13 July 2010 16:15, abhishek jain wrote: On Tue, Jul 13, 2010 at 2:11 PM, Peter Crowther wrote: On 13 July 2010 09:34, abhishek jain wrote: I am using tomcat 5.5 , struts 1.x and i encounter

Re: favicon when serving non-html

2010-07-06 Thread Peter Crowther
On 6 July 2010 15:10, Dola Woolfe wrote: When I serve up, say, a PDF file, how do I control the favicon? What is the behaviour you would like/expect from the user agent in this case? - Peter

Re: exception on hitting tomcat url

2010-06-28 Thread Peter Crowther
Do you have an AJP connector configured on port 8081, rather than a HTTP connector? That would explain the symptom you're seeing. - Peter On 28 June 2010 11:24, vinay basavanal wrote: HI all, my tomcat starts with no problem but when i hot

Re: Classloading

2010-06-28 Thread Peter Crowther
On 28 June 2010 14:07, Ockleford Paul (NHS Connecting for Health) wrote: Pretty much and I don't know the reason why that is, I am not in charge of the linux servers I only started looking into it because I couldn't get my method to work but it worked on my local

Re: Does GC Really Matter (Is This Situation)?

2010-06-22 Thread Peter Crowther
On 22 June 2010 17:55, Robinson, Eric wrote: Sorry, I wasn't referring specifically your comments. Over the years I've heard the same thing a few times from different sources. It seems to be the conventional wisdom on the subject. Fifteen years ago, it was right.

Re: placiing content and application on a microsoft DFS solution

2010-06-22 Thread Peter Crowther
On 22 June 2010 16:10, M.H.G. Emmerig wrote: Has anyone ever placed an application and its content on a redundant DFS solution? So as when one DFS server fails, another takes over. Does anyone see possible problems with this setup? ie. when dfs server fails does tomcat

Re: Setting the Right Amount of Memory

2010-06-20 Thread Peter Crowther
On 20 June 2010 16:01, Caldarale, Charles R chuck.caldar...@unisys.comwrote: All modern GC algorithms are variations of mark-sweep-compact. The basic operation consists of following the object reference graph from a set of known roots (eg, thread stack frames), marking each discovered object

Re: Thread Dump

2010-06-04 Thread Peter Crowther
On 4 June 2010 06:08, suchismitasuchi wrote: Thanks a lot. What will be the workaround for this? It looks like a bug in your application, so the solution is to fix the bug in your application. Asking the Tomcat list how to fix your web application just because

Re: Problems after upgrading to Tomcat6

2010-06-02 Thread Peter Crowther
On 2 June 2010 09:13, David Karlsen wrote: Caldarale, Charles R Wrote: parent=gnu.gcj.runtime.SystemClassLoader You need to use a real JVM (HotSpot, JRockit, IBM), not a toy one. Remove gcj from your system as quickly as possible. It seems like packages is

Re: Javamelody

2010-05-24 Thread Peter Crowther
On 24 May 2010 12:48, Ozgur Ozdemircili wrote: I have installed Javamelody version 1.15. In my catalina.out there appears error messages: [...] GRAVE: A web application appears to have started a TimerThread named [javamelody javamelody] via the

Re: jsessionid problem

2010-05-21 Thread Peter Crowther
Richard, there are two ways of maitaining sessions: 1) Using cookies (generally Tomcat's preferred way); 2) Using URL rewriting (generally Tomcat's less preferred way, used where a client has turned off cookies). There are no other ways of sending session IDs that are supported by all Web

Re: jsessionid problem

2010-05-21 Thread Peter Crowther
On 21 May 2010 16:16, Caldarale, Charles R chuck.caldar...@unisys.comwrote: From: Richard Nduka [] Subject: jsessionid problem I have a few quesations i want to ask about jessionid in tomcat. Thanks for asking twice - two minutes apart. A tad impatient, are

Re: Tomcat 6.0.20 unable to create new native thread

2010-05-19 Thread Peter Crowther
On 19 May 2010 13:26, wrote: java.lang.OutOfMemoryError: unable to create new native thread OK, so one possibility is that the Windows thread table is full.   - maxThreads for HTTP: 450   - maxThreads for jk: 3000 That's a huge number of threads for one process.  

Re: MaxPermSize / Threads

2010-05-17 Thread Peter Crowther
On 17 May 2010 13:18, Mercy wrote: Hi, Please take a look at this: *maximum heap size:* Smaller of 1/4th of the physical memory or 1GB. Before J2SE 5.0, the default maximum heap size was

[OT] Re: 100% CPU when Tomcat 5.5.20 is run on Windows Server 2003 on VM machine

2010-05-09 Thread Peter Crowther
On 9 May 2010 20:51, André Warnier wrote: Alternatively, you could make a donation to the forum so that we could buy a crystal ball.  Pid is not lending his. ... but then we'd have to answer the questions... Besides, I *have* a crystal ball. But I think I need to re-tune its

Re: Re : Tomcat 5.5.29 does not accept connections from outside

2010-05-07 Thread Peter Crowther
Marc, if you start up a command prompt and run: netstat -an | find 8080 ... what do you get? In particular, I'm interested to know whether the port that's listening is bound to *:8080 or to something like - Peter On 7 May 2010 11:56, Eyrignoux Marc wrote:

Re: Tomcat 5.5 won't do TLS

2010-05-04 Thread Peter Crowther
On 4 May 2010 14:22, Looijmans, Mike wrote: I'm trying to enable TLS (or SSL) in a Tomcat 5.5.29 server, on a Windows XP machine. Whatever I do, I always end up with a server that just delivers plain HTML on port 443, and it doesn't even try to use TLS. [...]    !--

Re: Updating webapps classes

2010-04-30 Thread Peter Crowther
It's very hard to do this using one Tomcat instance. It's very easy to do this using two Tomcat instances (call them Tomcat1 and Tomcat2) and a load balancer (Apache httpd should be fine for this job). In normal use, Tomcat1 is running. The load balancer directs all users to Tomcat1. Tomcat2

Re: gc new capacity of JVM is gradually reducing when webapp(tomcat) started

2010-04-21 Thread Peter Crowther
This says that the JVM is tuning its memory boundaries to best suit your application. Do you have any evidence that this is bad for your application? Or are you simply trying to find out why it is happening? - Peter 2010/4/21 塗 hi,all there is a problem with my

Re: How to run second instance of Tomcat 6.0.20 on separate port

2010-04-21 Thread Peter Crowther
On 21 April 2010 13:04, Kapil Godara wrote: (I installed tomcat 6.0.20 using apache-tomcat-6.0.20.exe, it does not create any startup.bat or shutdown.bat file in bin folder. this installation creates window service. tomcat6w.exe in turn calls tomcat6.exe) That's your

Re: tomcat 6.0.26 can't start server - - can't read server.xml

2010-04-21 Thread Peter Crowther
The + in that listing is saying that server.xml.orig has some extra permissions that server.xml hasn't. Windows permissions are not the same as Cygwin permissions. Use Windows tools to inspect the permissions on both files, and use Windows tools to fix the permissions on server.xml. Also, get

Re: Way to generate a localhost.log instead of localhost-4-20-2010.log?

2010-04-19 Thread Peter Crowther
Hmm. As the log files will alpha-sort by date, something like vim `ls ~/localhost.log* | tail -1` might do it. Beware - my shell script is rusty at best. - Peter On 19 April 2010 15:29, laredotornado wrote: Hi, I'm using Tomcat 6.0.26 on Mac 10.6.3. Currently, in

Re: Apache Tomcat 5 does not work on port 80

2010-04-08 Thread Peter Crowther
Check you don't already have IIS running on port 80. If you look in Tomcat's logs, there should be a bind exception if that's the case. Is there any reason you're using 5.0? It's very old, and is no longer supported. This means that, for example, it has known security holes and they will never

Re: Apache Tomcat 5 does not work on port 80

2010-04-08 Thread Peter Crowther
On 8 April 2010 16:52, Caldarale, Charles R chuck.caldar...@unisys.comwrote: Use netstat -ano, note the pid, and look it up in Task Manager. tcpview ( should give you the process directly, but Chuck's suggestion is less invasive

Re: Tomcat 7 and securityfilter [or A Love Letter to markt]

2010-03-31 Thread Peter Crowther
On 30 March 2010 23:50, Mark Thomas wrote: I feel a Baldrick[1] moment coming on. Baldrick, what starts with 'Come here!' and ends with 'Ouch'? Dunno Baldrick, come here! slap Ouch! ... or was there a different moment you had in mind, Mark? :-) - Peter

Re: Virtualization (Xen, vmware) + Tomcat

2010-03-30 Thread Peter Crowther
There are two uses of virtual machine here. I'll distinguish the Java virtual machine and the Xen virtual machine. On 30 March 2010 16:29, Eric Laflamme wrote: We have a lot of server using virtualization (xen source) and we have a lot of problem with tomcat. Tomcat process

Re: Virtualization (Xen, vmware) + Tomcat

2010-03-30 Thread Peter Crowther
On 30 March 2010 16:45, Caldarale, Charles R chuck.caldar...@unisys.comwrote: From: [] On Behalf Of Peter Crowther Subject: Re: Virtualization (Xen, vmware) + Tomcat Error occurred during initialization of VM Could

Re: jvm exits without trace

2010-03-27 Thread Peter Crowther
On 27 March 2010 00:22, David Kerber wrote: BTW, after looking back at my development notes, the jdbc-odbc bridges, while a pain to set up, have better performance than the type 4 drivers that Sybase also offers. That's frightening, given the extra layers of code for the

Re: Problem with different protocols and ports

2010-03-25 Thread Peter Crowther
This is a feature of the protocol; there's nothing you can do about idiot users who type strange things into their browsers' address bars. What you *can* do is run your services on the standard ports - 80 and 443 - so that your users don't have to type in port numbers. Is there any reason you're

Re: can't seem to migrate this app over to a new server

2010-03-24 Thread Peter Crowther
The SSL configuration for a Tomcat 5.5 server is described at To quote from the top of that file, this assumes you're not using APR (Apache Portable Runtime). APR is not the default configuration as I recall - if you don't know that you are

Re: need help

2010-03-24 Thread Peter Crowther
It depends entirely on your application. 500 users each asking for one static HTML page every 10 minutes? Sure, no problem. 500 concurrent users requesting 1 page every 10 seconds that takes 8 seconds to generate? Ah, now you're going to have to do some tuning. Have you profiled your

Re: Tomcat not able to access folder which is in virtual drive

2010-03-18 Thread Peter Crowther
On 18 March 2010 08:58, Ganesh Sabbani wrote: I have created the project in eclipse and it is working perfectly fine using tomcat and reads the log files, but the issue which i am facing is when i create a WAR file and deploy it on tomcat it is unable to access the

Re: Portable

2010-03-18 Thread Peter Crowther
On 18 March 2010 16:59, Christopher Schultz ch...@christopherschultz.netwrote: If, as Todd reports, the JVM can be installed to a USB stick, Id just go with that: pick a port that's unlikely to be used by the host machine (like 80801) and use that for your setup. Avoid using anything other

Re: Tomcat 6 on RHEL3

2010-03-17 Thread Peter Crowther
On 17 March 2010 07:23, Ningappa Koneri wrote: It took abt 1328 seconds to startup the applications. Please help. Did you see my response yesterday? -- snip -- What's the spec of the machine on which you're running Tomcat? How much heap and permspace have you

Re: [OT] Re: jvm exits without trace

2010-03-17 Thread Peter Crowther
On 17 March 2010 10:16, Taylan Develioglu wrote: Here's a hs_err file after a crash I had yesterday. The list usually strips attachments; could you paste it? It's a sigsegv in GCTaskThread. From the occupation in eden it looks like it happened during a scavenge

Re: [OT] Re: jvm exits without trace

2010-03-17 Thread Peter Crowther
On 17 March 2010 10:22, Taylan Develioglu wrote: Ofcourse this works better if I really attach the file. [...] Java Threads: ( = current thread ) 0x7f3d3c174000 JavaThread MSN-6488 daemon [_thread_in_native, id=28966,

Re: Tomcat-Spring-Eclipse/Flex Classpath Issue

2010-03-17 Thread Peter Crowther
On 17 March 2010 14:50, Goldberg, Michael1 michael1.goldb...@citi.comwrote: Hello I am using Tomcat version 6.0.x, Spring 2.5 in eclipse 3.4.2. Trying to configure a tomcat webserver which hosts the backend for a flex web app. Now on startup tomcat is having an issue resolving some spring

Re: Tomcat 6 on RHEL3

2010-03-16 Thread Peter Crowther
On 16 March 2010 10:02, Ningappa Koneri wrote: Dear All, I have an issue with tomcat 6 Version? which is deployed under RHEL3 with JDK5 Version? , the problem is tomcat is taking hell lot of time in deploying the war files when started. It's so busy that

Re: Sporadic errors during high load

2010-03-16 Thread Peter Crowther
Thanks for a comprehensive statement of the problem - so many people don't include the basics, let alone the details! A few thoughts inline. On 16 March 2010 13:58, Patrik Kudo wrote: We run a load test scenario using the Proxysniffer load testing tool on a machine connected

Re: apache responds with 413 for duplicate http header

2010-03-16 Thread Peter Crowther
There are lots of Apache projects. You want the mailing list for Apache httpd; this is the mailing list for Apache Tomcat. Try re-posting on a more appropriate list :-) - Peter On 16 March 2010 18:30, Prabhat Karki wrote: Hello, I have apache installed on redhat linux.

Re: Tomcat doent run on Vista

2010-03-14 Thread Peter Crowther
On 14 March 2010 06:29, Cummins College wrote: Does tomcat have a problem running on Windows Vista? No. I cannot run my web application with vista as OS and jdk1.5 What changes do I need to make? You have given us no details of cannot run, no log messages and

Re: Disabling http connector

2010-03-11 Thread Peter Crowther
On 11 March 2010 12:24, Cummins College wrote: We know most of you dont exactly agree or approve of our idea about fiddling with the http connector, but please do help! I don't have enough information to agree, disagree or help. I've never seen a sufficiently clear

Re: Apps deployed with tomcat manager: No +w to group.Why?

2010-03-10 Thread Peter Crowther
On 10 March 2010 10:51, André Warnier wrote: Jimmy Spam wrote: Please, excuse my poor english. It sounds fine. When I deploy an java app (.war file) with tomcat manager, it create the folder of this app inside of webapps with user: tomcat, group: tomcat and permissions

Re: Secured photo rendering

2010-03-10 Thread Peter Crowther
On 10 March 2010 15:30, János Löbb wrote: When I use the DVD Player from Apple, I cannot take a screenshot even if I click myself to the Finder first. So there is something already in practice that prevents from taking a screenshot :-) Yes - for an application that runs

Re: Best practise very secure system without any password in cleartext

2010-03-08 Thread Peter Crowther
On 8 March 2010 09:55, Alexander Diedler wrote: We have to create an Application with an Offline Client based on Tomcat and SQL Server on Laptops. That means, that the Laptops has an local installed Webserver with Tomcat and a local installed SQL Server (Full oder Express

Re: SSL with IBM JVM

2010-03-08 Thread Peter Crowther
On 8 March 2010 12:53, Carl wrote: Switched to the latest IBM JVM last Friday. We run https for all applications as we deal mostly with children's data. About 10% of the users experienced problems with accessing the site. Both IE and Firefox caused problems. Switching

Re: 2 windows services on the same tomcat 5.5 instance

2010-03-05 Thread Peter Crowther
One Tomcat instance = one process = one service. But you can create two or more copies of Tomcat. They can be the same or different versions. If you want, they can share binaries and just have different working, config and webapps directories. You can register each of them as a service, and

Re: Creating a directory from a webapp

2010-03-04 Thread Peter Crowther
On 4 March 2010 10:40, Florent Georges wrote: Hi, Within my webapp, I try to create a new directory on the file system by using File.mkdir(). This webapp has the permissions read write on the parent directory: grant codeBase file:${catalina.base}/webapps/myapp/- {

Re: Creating a directory from a webapp

2010-03-04 Thread Peter Crowther
On 4 March 2010 15:43, Florent Georges wrote: In the meantime, using strace, I figured out what the problem was: as simple as a wrong owner of one of the parent directories. I must admit I am not really proud of this, but well, there is no diagnostic at all with mkdir() :-(

Re: getServerName returns 'localhost'

2010-03-03 Thread Peter Crowther
On 3 March 2010 13:47, André Warnier wrote: André Warnier wrote: vgud wrote: My server responds to different domain names, and I want to know which one users use. [...] More precisely : getRemoteAddr public java.lang.String getRemoteAddr()    Returns the Internet

Re: Tomcat threads

2010-03-03 Thread Peter Crowther
On 3 March 2010 18:24, Bharath Vasudevan wrote: Hmmm... No, the server will allocate maxThreads request handlers; the other requests would sit in the TCP stack's queue (not in the JVM), up to the configured acceptCount value - which you can set as high as your OS

Re: Apache Tomcat v5.5.20 - Revision 902650 Question

2010-03-02 Thread Peter Crowther
On 2 March 2010 14:08, Hoang, Phong T CTR Navy ERP wrote: Environment:  Apache Tomcat version 5.5.20, Windows Server 2003 R2 Enterprise Edition x64 Apache Tomcat is embedded with the Business Objects software install and not a standalone install. Attempted to

Re: possible memory leak tomcat 6?

2010-03-01 Thread Peter Crowther
On 27 February 2010 20:26, Sander de Boer wrote: Hi, My tomcat server gives often a out of mem. When dumping the heap I found much instances of these objects: Class InstanceCount TotalSize class org.apache.tomcat.util.buf.ByteChunk 439493 20656171 class

Re: GC(JVM Heap usage) tool

2010-03-01 Thread Peter Crowther
On 1 March 2010 08:30, Paulwintech wrote:  I need to check how many threads are running and its memory utilization in tomcat6, I used jstack command to get thread details - but not able to get memory usage details.  Recently i get free memory critical for the particular

Re: [OT] Batch-processing of emailed log4j log messages

2010-02-24 Thread Peter Crowther
On 24 February 2010 18:38, André Warnier wrote: Come to think of it, the whole thing in perl is probably a 10-liner, using a hundreth of the memory you'd need with Java. Yep, absolutely - the kind of processing that perl was designed for, and is very good at. I'd make other

Re: Webapp slow down after idle - 5.5.x

2010-02-22 Thread Peter Crowther
On 22 February 2010 19:07, Caldarale, Charles R wrote: Sounds like the OS might be paging out Tomcat, and taking a long time to get all the necessary pages back in when a request is made.  I'm not familiar with operational details of AIX, but I would suspect there

Re: Why does Tomcat try to use the cache when compilation failed?

2010-02-18 Thread Peter Crowther
On 18 February 2010 14:14, Eric Bauman wrote: For some reason, it appears Tomcat is trying to hit its compilation cache when compilation failed. [Details elided] Which version of Tomcat's this on, Eric? - Peter

Re: [OT] Tomcat dies suddenly

2010-02-17 Thread Peter Crowther
On 17 February 2010 13:55, André Warnier wrote:  We also have a couple of official buffoons. And a plethora of unofficial ones - Peter - To unsubscribe, e-mail: For

  1   2   3   4   5   6   7   8   9   10   >