RE: 64 bit questions

2008-03-13 Thread Peter Crowther
From: Stephen Nelson-Smith [mailto:[EMAIL PROTECTED] I have a machine with 2 x Intel(R) Xeon(R) CPU E5430 @ 2.66GHz and 8G of RAM. If I want to make best use of this RAM, should I run this in 64 bit (48 bit hack) mode? Operating system? If so are there any gotchas with JDKs, 64 bit Tomcat

RE: 64 bit questions

2008-03-13 Thread Peter Crowther
From: Stephen Nelson-Smith [mailto:[EMAIL PROTECTED] Operating system? RHEL 5. http://java.sun.com/javase/6/webnotes/install/system-configurations.html - looks supported to me. - Peter - To start a new

[OT] RE: Making the most of 8G of RAM

2008-03-18 Thread Peter Crowther
From: brien colwell [mailto:[EMAIL PROTECTED] Any program that needs 8gb of RAM to run seems suspect. Large amounts of data should be abstracted through the filesystem and dealt with as files. I have several programs that will cheerfully use 8G, or more, of RAM. In general, they are large

RE: Making the most of 8G of RAM

2008-03-18 Thread Peter Crowther
From: Stephen Nelson-Smith [mailto:[EMAIL PROTECTED] I have a new machine with 8G of RAM, running a 32 bit 2.6 kernel (CentOS 5). It is running an application inside 4.1.37 with Java 1.4.2. [...] What's the best way to make to most of the RAM? 1) 64-bit OS. 2) 64-bit JVM. 3) Newer Tomcat.

RE: Apache up grade question

2008-03-18 Thread Peter Crowther
From: Patrick Unthank [mailto:[EMAIL PROTECTED] [Assuming by Apache you mean Apache httpd throughout] We have a box with tomcat and apache installed with JRE 1.4.2. For reasons I cannot give here I cannot upgrade the JRE but a security scan has highlighted that I have to upgrade apache from

RE: Tomcat stops after client abort

2008-03-18 Thread Peter Crowther
From: ratul banerjee [mailto:[EMAIL PROTECTED] Tomcat stops after client browser in cancelled midway when it is loading. That sounds like the webapp you're running does something inappropriate when it gets an exception. Check it for nasties like System.Exit() calls. The localhost.log gives

RE: Tomcat stops after client abort

2008-03-18 Thread Peter Crowther
From: ratul banerjee [mailto:[EMAIL PROTECTED] Could not find anything close to that OK. To add something more,this is happening in case of client browser that is requesting a big download and midway during the search the client browser is closed. Is the download static content, or is

RE: Displaying jsp pages without specifying the port 8080

2008-03-18 Thread Peter Crowther
From: Murat Birben [mailto:[EMAIL PROTECTED] My server OS is centos and I've apache 2.2 and tomcat6 installed on my machine. Do you have any integration between the two, or are they completely separate? I can display my php pages as abc.xyz.com ... from Apache httpd... and display my jsp

RE: forwarding a post

2008-03-19 Thread Peter Crowther
From: John Pedersen [mailto:[EMAIL PROTECTED] Can anyone suggest how I can forward a post using servlets? [Shopping cart use case elided] You have to issue a page back to the client browser, and get the browser to auto-submit it to the payment provider. My approach with carts is to issue

RE: Tomcat multithread question on external application

2008-03-25 Thread Peter Crowther
From: Meir Yanovich [mailto:[EMAIL PROTECTED] say i have multiple request coming from internet site that going via apache server tunneling the throw mod_jk to tomcat tomcat is processing the requests and builds java corba objects that invoked external api's that comes from external

[OT] Smalltalk (was RE: Tomcat multithread question on external application)

2008-03-25 Thread Peter Crowther
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Ah yes, Smalltalk: I have an orientation, therefore everything is an object, or, If it's worth doing, it's worth doing to excess. It's a fascinating language to teach. I could teach the syntax in one 1-hour session. Teaching about the

[OT] RE: Job Opportunity

2008-03-25 Thread Peter Crowther
From: Scott Mueller [mailto:[EMAIL PROTECTED] I'm sorry Joly! I didn't realize that email went to the Tomcat users group, http://www.unicom.com/pw/reply-to-harmful.html - see Principle of Least Damage. I don't expect the Apache list admins to change their policy, but I'm still saddened

RE: tomcat and active x problem

2008-03-25 Thread Peter Crowther
From: loredana loredana [mailto:[EMAIL PROTECTED] function OpenOutlookDoc() {try{ var outlookApp = new ActiveXObject(Outlook.Application); var nameSpace = outlookApp.getNameSpace(MAPI); mailFolder = nameSpace.getDefaultFolder(6); [...] }catch(e){ alert(e); // act on any error that you get

RE: Cannot redeploy my .war anymore

2008-03-25 Thread Peter Crowther
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] There are other, OS-specific mechanisms, such as kill -9 on Linux or ctrl-break on Windows. I *think* that should be kill -3 (but check!) Kill -9 is definitely another and altogether more unpleasant signal, and your Tomcat process won't

RE: should I get rid of apache fronting tomcat?

2008-03-25 Thread Peter Crowther
From: ahnf [mailto:[EMAIL PROTECTED] We started using Tomcat and Apache back around Tomcat 3.x. Tomcat serves everything except small image requests, js and css files. (Such as buttons, small banners etc) Nowadays, in the newer Tomcat 6.x versions, is the extra hassle and configuration of

RE: httpd cant talk to tomcat workers

2008-03-26 Thread Peter Crowther
From: Andy Smith [mailto:[EMAIL PROTECTED] Heh. Hi from a fellow Mancunian. tomcat 5.5.23 from Alfresco 2.9B community. The general comment from the folks here will be throw that away and get the downloaded one from the Tomcat web site. No need to compile from source, Tomcat's pure Java.

RE: Vista SP1 -- file.io always writes files as BUILTIN\Administrators

2008-03-28 Thread Peter Crowther
From: Pete L [mailto:[EMAIL PROTECTED] Windows permissions are so lame! Personally, I prefer NTFS permissions to old-school UNIX ;-). More flexibility. And I'm no Windows fan! Any ideas? Thanks! Process Monitor (http://technet.microsoft.com/en-gb/sysinternals/bb896645.aspx) is your

RE: Checking tomcat metrics in a non-intrusive way

2008-03-28 Thread Peter Crowther
From: Christopher Schultz [mailto:[EMAIL PROTECTED] wicket0123 wrote: | JMeter reports that for 500 concurrent users making request to our | application, the average response time was 1 second. That already | broke our SLA which is 15 milliseconds. I presume you've already done such obvious

RE: Top mail servers

2008-03-28 Thread Peter Crowther
From: Alan Chaney [mailto:[EMAIL PROTECTED] Exim is supposed to be significantly easier to configure than sendmail. [Beware: opinion ahead!] This is not difficult. Untangling the Gordian knot, blindfold and with no sharp objects in reach, is easier than getting a correct sendmail.cf... most

[OT] RE: IE causes an ORA-00936 error, but not Firefox?

2008-03-28 Thread Peter Crowther
[Marked off-topic as this is almost certainly an application, not Tomcat, issue] From: Brian Munroe [mailto:[EMAIL PROTECTED] I don't have access to the JSPs at the moment (I believe it is a model I application - JSP only) so I can't look at the code - just functional testing for now. But

RE: Checking tomcat metrics in a non-intrusive way

2008-03-31 Thread Peter Crowther
From: wicket0123 [mailto:[EMAIL PROTECTED] [W]e want every request to be processed within 25 millisecods. [...] 2. Ad server process the request which include app. code and talking to DB Your database communication, queries and data will have to be very, very heavily optimised if you want

RE: where to put config file in a webapp

2008-04-02 Thread Peter Crowther
From: Kimberly Begley [mailto:[EMAIL PROTECTED] Great thanks - it's not actually in a servlet - just a java class of methods so I guess I could pull it out of the java class and put it into the servlet that is calling the method - if that makes sense - I was just hoping to avoid that. Can

RE: Threads

2008-04-03 Thread Peter Crowther
From: Stephen Caine [mailto:[EMAIL PROTECTED] I have a process that generates hundreds of threads. Running on Mac OS X 10.5.2 Server, the thread count tops out at approximately 2500. After which, the process is terminated. The heap size is set to 1 gigabyte. My question is how to increase

RE: Changing the Webapps directory

2008-04-10 Thread Peter Crowther
From: Tobias Meissner [mailto:[EMAIL PROTECTED] I just got a short question. In the context of an actual project it would be helpful to change the path of the webapps directory to some other location, e.g. network drive Z:\. We are currently using the Apache Tomcat version 6 on Windows XP.

RE: jsvc creates pid file owned by root

2008-04-10 Thread Peter Crowther
[Mid-post - sorry!] From: David Smith [mailto:[EMAIL PROTECTED] Well ... here's the problem. jsvc needs that pid file to shutdown tomcat. It would be a real PITA if some user or script were to muck around and damage or delete that file. Having said that, most *nix systems have a sticky

RE: Problems stopping and starting tomcat server

2008-04-14 Thread Peter Crowther
From: Toni Tortosa [mailto:[EMAIL PROTECTED] [...] When I start tomcat 5.5.: [...] java.net.BindException: Address already in use:8180 Something's hanging onto port 8180. It's probably an old Tomcat instance that hasn't properly closed down, but it may be something else. Find the process

RE: Is it possible to serve static pages from Tomcat?

2008-04-14 Thread Peter Crowther
From: Malcolm Gorman [mailto:[EMAIL PROTECTED] (1) Is it possible to serve static content with Tomcat? Yes. (2) Is the JBoss example above sufficient? Should I persevere with it? It's rather odd. Chuck's suggestion works far better. Do you *need* JBoss, or will Tomcat suffice? (3) Is

RE: System requirements for running Apache Tomcat on Windows Box

2008-04-14 Thread Peter Crowther
From: Susan G. Conger [mailto:[EMAIL PROTECTED] I am trying to put together some system requires for running Apache HTTP Server and Tomcat on windows machines. A minimal Tomcat installation takes under 10 meg of disk, starts up in under 30 meg of RAM and will cheerfully run on a low-end

RE: Can we slow down the speed of servlet response ?

2008-04-17 Thread Peter Crowther
From: Wang Han [mailto:[EMAIL PROTECTED] the app sends some request to servlet and will handle the response after 5 minutes. But in the servlet side, it handles the request too fast and always sends response back to app in 30 seconds. So I wonder is there a way to add some delay in tomcat

RE: Roles of an application

2008-04-17 Thread Peter Crowther
From: maux [mailto:[EMAIL PROTECTED] I would like to know how can i obtain the roles than an application uses. That is, the roles that the users of the application can have. You read the application's documentation or contact its producer. Tomcat has no knowledge of, or control over,

RE: redirect port 80 to application server

2008-04-17 Thread Peter Crowther
From: Susan G. Conger [mailto:[EMAIL PROTECTED] I have to have the Apache HTTP in front. Don't want it there but it is required by the customer. OK. If it's *in front*, then you'll need httpd (Apache HTTP) to proxy for you by some means. I say just use the port

RE: Are there issues with running multiple instances of tomcat?

2008-04-18 Thread Peter Crowther
From: David Brown [mailto:[EMAIL PROTECTED] Sent: 18 April 2008 12:00 To: users@tomcat.apache.org Subject: Are there issues with running multiple instances of tomcat? We are currently running two instances of tomcat on our systems. One is for a vendor specific application and the other is

RE: Problem to deploy my webbapps

2008-04-18 Thread Peter Crowther
From: Fabien D. [mailto:[EMAIL PROTECTED] [...] java.lang.UnsupportedClassVersionError: Bad version number in .class file [...] But my i'm trying to run with jdk 6 update 6 classes compiled with jdk 6 update 4. Are you *absolutely certain* you're not running Tomcat with an older JDK, such

RE: Java VM slowly eats all memory up - without JVM heap OutOfMemory failures!

2008-04-22 Thread Peter Crowther
From: Stephanie Wullbieter [mailto:[EMAIL PROTECTED] a tomcat machine has a problem because java eats the memory up. Here some data: 1.555.828 KiB host RAM java version 1.4.2_06 Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_06-b03) Java HotSpot(TM) Client VM (build

RE: RE: Java VM slowly eats all memory up - without JVM heap OutOfMemory failures!

2008-04-22 Thread Peter Crowther
From: Stephanie Wullbieter [mailto:[EMAIL PROTECTED] SUSE LINUX Enterprise Server 9 (i586) Linux-Kernel 2.6.5-7 man strace man ltrace Good luck! I'd use strace as it gives you more information, but ltrace may be a faster way of finding open/close mismatches. Annoyingly, you'll have to

RE: Why does Tomcat become slow during weekends?

2008-04-22 Thread Peter Crowther
From: murthy gandikota [mailto:[EMAIL PROTECTED] We have a website based on embedded Tomcat with Jboss 4.0.2. We noticed that every weekend the Tomcat becomes sluggish. Backups? Congestion on the network due to a site that's only accessed heavily at weekends? We theorized that JVM is busy

RE: Why does Tomcat become slow during weekends?

2008-04-22 Thread Peter Crowther
From: murthy gandikota [mailto:[EMAIL PROTECTED] Peter Crowther [EMAIL PROTECTED] wrote: From: murthy gandikota [mailto:[EMAIL PROTECTED] We have a website based on embedded Tomcat with Jboss 4.0.2. We noticed that every weekend the Tomcat becomes sluggish. [...] There is no other

RE: Partial context reload

2008-04-29 Thread Peter Crowther
From: Nilesh Bansal [mailto:[EMAIL PROTECTED] I have a question regarding context reloading in tomcat. Our app consists of two type of Java class files (1) core modules consisting of many singletons which are initialized once by reading large files from filesystem at the start of application

RE: Tomcat takes 2 hours to start

2008-04-29 Thread Peter Crowther
From: jitesh sharma [mailto:[EMAIL PROTECTED] I have successfully installed Tomcat 5.5.27 over my Solaris system with x86 architecture. but when i tried to start tomcat it takes almost 2 hours to start. when i start the server in normal mode with command /opt/tomcat/in/catalina.sh run

RE: Uploading Files Larger than 2GB

2008-05-02 Thread Peter Crowther
From: hoffmandirt [mailto:[EMAIL PROTECTED] I get an error anytime I try to upload a file that is greater than 2GB. There was a thread on this fairly recently, as I recall, in which it was found that Internet Explorer had a 2G upload limit. What browser or tool are you testing with?

[OT] RE: Seeking advice as to what platform/framework to use for developing a tourism/tourist attractions web site

2008-05-02 Thread Peter Crowther
From: Lyallex [mailto:[EMAIL PROTECTED] Subject: Re: Seeking advice as to what platform/framework to use for developing a tourism/tourist attractions web site Greetings I guess given the lack of replies that most think this is too OT for this list, well I suppose it is but I couldn't

RE: [OT] RE: Seeking advice as to what platform/framework to use for developing a tourism/tourist attractions web site

2008-05-02 Thread Peter Crowther
From: David kerber [mailto:[EMAIL PROTECTED] Not using a framework isn't quite the same thing as not using available packages and libraries. Entirely true. However, many (though not all) of the existing packages assume particular frameworks. If anyone wants a glimpse of a possible nightmare

RE: Tomcat Service Stops in XP

2008-05-06 Thread Peter Crowther
From: Marcos [mailto:[EMAIL PROTECTED] I have installed tomcat 5.5 in many pc with windows xp and never had a problem.. but now i have one that when i start tomcat the server stops but it self in few seconds... i tried to start with right click in icon on taskbar - start and going to xp

RE: Installing tomcat on multiple cpu X_86 64 bit machine

2008-05-06 Thread Peter Crowther
From: sur_1805 [mailto:[EMAIL PROTECTED] i m very new to tomcat. Now i have to install the tomcat 5.5 and jdk 1.5 on a multiple cpu( 4 dual core processors) 64 bit machine. i m confused with first step. how i tune the tomcat and do load balancing such that tomcat servlet make use of all the

RE: Installing tomcat on multiple cpu X_86 64 bit machine

2008-05-06 Thread Peter Crowther
From: sur_1805 [mailto:[EMAIL PROTECTED] i m using linux(RHEL 5) with 16 GB RAM. OK. Is it possible to split the JVM off into multiple processes for the hundreds of threads we end up running? Sort-of, but think: why would you want to? Modern Linuxes can handle hundreds of threads per

RE: Installing tomcat on multiple cpu X_86 64 bit machine

2008-05-07 Thread Peter Crowther
From: sur_1805 [mailto:[EMAIL PROTECTED] now. can i install the tomcat5.5 and jdk1.5 on machine(4 processor with 64 bit on RHEL 5) without need to worry about load balancing and tuning at the time of installation? Yes, in the same way that you can install (say) Apache httpd and PHP without

RE: Reg JSP changes

2008-05-07 Thread Peter Crowther
From: Avadhut [mailto:[EMAIL PROTECTED] Also what if I am developing on x machine and the time is lesser than that of deployment machine then what will happen if I put changed JSP with lesser timestamp that deployment machine The deployment machine may not notice the changed JSP. This is

RE: Tomcat installation on Windows - different install directory than default

2008-05-12 Thread Peter Crowther
From: Doom Dog [mailto:[EMAIL PROTECTED] I'd like to launch the Tomcat installation on Windows, silently, so that I can install it in a different directory than the usual \Program Files\Apache Software Foundation\Tomcat 5.5, is there a way of passing the alternate directory on the command

RE: Unable to display UK Pound Sign

2008-05-12 Thread Peter Crowther
From: Stephen Nelson-Smith [mailto:[EMAIL PROTECTED] I've just upgraded from 4.1.37 to 6.0.16. My app works, but where my code usually displays a British Pound sign, I get an odd char - a ? in a diamond on Linux, an empty box on Windows. Here's the html that the app produces, shown in

RE: Unable to display UK Pound Sign

2008-05-12 Thread Peter Crowther
From: Yuval Perlov [mailto:[EMAIL PROTECTED] Use the pound; to side step the issue. diff the old and the new page to see what changed (something must have, right?) Not necessarily - the obvious thing to have changed is the encoding passed in the Content-Type HTTP header. Diffing the bytes in

RE: Unable to display UK Pound Sign

2008-05-12 Thread Peter Crowther
From: Stephen Nelson-Smith [mailto:[EMAIL PROTECTED] What encoding are you using? The config files all used UTF-8. I've changed them to ISO8859-1 and restarted Tomcat, but I see the same behaviour. What do you mean by used UTF-8? Remember that there are: - The encoding in which the

RE: Unable to display UK Pound Sign

2008-05-12 Thread Peter Crowther
From: Stephen Nelson-Smith [mailto:[EMAIL PROTECTED] UPDATE currencies SET symbol = 'pound' WHERE ISO_CODE = 'GBP'; Ah! A good, soft solution! I hope there was a semicolon in there just before the closing single quote, though! UPDATE currencies SET symbol = 'pound;' WHERE ISO_CODE = 'GBP';

RE: Load Balnce and failover for Tomcat

2008-05-13 Thread Peter Crowther
From: Stront [mailto:[EMAIL PROTECTED] 2. That all of the webapps are running. That's webapp-dependent, surely? Tomcat can't determine all the ways in which your application can fail. - Peter - To start a

RE: Few public ports w/many Tomcat instances

2008-05-13 Thread Peter Crowther
From: Mike Volk [mailto:[EMAIL PROTECTED] Is there a better/faster/easier alternative to using Apache as a front-end port proxy server (via vhosts) for my multiple Tomcat instances? Can you get a second IP address assigned to the machine? If so, bind one Tomcat instance to each IP and

RE: Once again, clear text passwords in context.xml files

2008-05-14 Thread Peter Crowther
From: Milanez, Marcus [mailto:[EMAIL PROTECTED] On the other hand, is it right to stay behind a possible security fault (malicious super user performing login) in order to say I'll not correct known security issues in my application? There's a lovely discussion on exactly this topic in

RE: Optimal number of Tomcat instances versus Number of cores

2008-05-14 Thread Peter Crowther
From: HLL [mailto:[EMAIL PROTECTED] I have a doubt. How can I determine the optimal number of Tomcat servers in the same machine to achive the best throughput depending on the number of cores of the machine? That is, which is the optimal relation between number of tomcats and number of

RE: Help Requested: Sending file attachments greater than 4mb causes OOM errors

2008-05-14 Thread Peter Crowther
From: Lyman [mailto:[EMAIL PROTECTED] I increased the machine specs from 64mb ram 500 mhz pII to a P4 1.3ghz 1gb ram. Java will only use the amount of RAM you tell it to, not the entire machine RAM. It defaults to a low value - probably 64Mbytes in your environment. You'll need to add

RE: Taking Backup of tomcat server

2008-05-14 Thread Peter Crowther
From: Raghavan_sat [mailto:[EMAIL PROTECTED] Hi I want to take a backup of my tomcat server regularly so that if the server crashes i can use the backup in another system. How can i accomplish this.. 1) Back up the Tomcat files - you may want to use an open file copier on Windows in

RE: Help Requested: Sending file attachments greater than 4mb causes OOM errors

2008-05-14 Thread Peter Crowther
From: Lyman [mailto:[EMAIL PROTECTED] Thank you Peter, I forgot to add that I had set the parameters as follows: -Djava.awt.headless=true -Xmx1500m -Xms1500m On a machine with 1 Gbyte of physical memory, that is almost certainly a mistake - depending on how much swap you've allocated. Have

RE: Delima Load Balancing Question

2008-05-14 Thread Peter Crowther
From: karthikn [mailto:[EMAIL PROTECTED] Can some body suggest me any thin missing in here... [lots of text missing] Please describe the problem you have, that leads you to think something might be missing. Without that, we're guessing. - Peter

RE: Web Server Internal IP Address/Internal Network Name Disclosure Vulnerability

2008-05-15 Thread Peter Crowther
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

RE: Redirect request to another Tomcat server

2008-05-15 Thread Peter Crowther
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.

RE: Redirect request to another Tomcat server

2008-05-15 Thread Peter Crowther
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

RE: Tomcat suddenly dies without a whisper

2008-05-16 Thread Peter Crowther
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] When under load (heavy but not excessive) we suddenly find tomcat dies, without any error messages we can find. I assume you've done the really obvious thing of checking the code for constructs of the form: if (some involved condition the

RE: Programatically selecting SSL certificate

2008-05-21 Thread Peter Crowther
From: Yuval Perlov [mailto:[EMAIL PROTECTED] Is anyone aware of a way to programatically decide which SSL certificate to use? I am exploring the option of letting the user upload her own certificate. Of course I only want that user to use the newly uploaded certificate. Do you mean the

RE: Programatically selecting SSL certificate

2008-05-21 Thread Peter Crowther
From: Yuval Perlov [mailto:[EMAIL PROTECTED] Is there a least a way to programatically add connectors at run time? If there is (and I'm not sure), you'll find it via embedded Tomcat, which allows creation of connectors through code. I don't know whether connectors that are created after

RE: Redhat patch level cheatsheet?

2008-06-19 Thread Peter Crowther
From: [EMAIL PROTECTED] I was hoping someone around here was using RedHat-sourced Apache products, too. Several of us try quite hard not to, typically because of these repackaging problems and black holes. I've moved away from DeadRat packages over the last decade*, simply because I don't

RE: Tomcat 5.5 hanging locked thread

2008-06-20 Thread Peter Crowther
From: Olivier Fourel [mailto:[EMAIL PROTECTED] I have no other lock description in my thread dump. But you may still have stuck threads, for example waiting on database connections. Not all sources of waiting threads require a lock. - Peter

RE: Blocking Proxy Access

2008-06-25 Thread Peter Crowther
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Is there anyway to detect that a web user is trying to access my site via an open/anonymous proxy? Other than building a list of open proxy IP addresses and checking against it? This list would be huge and ever changing. There must be an

RE: Blocking Proxy Access

2008-06-26 Thread Peter Crowther
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] It's to keep undesirables, who have been banned, off from a social networking site. How on earth do you identify the undesirables in the first place? For most users, all they need to do is clear the cookie cache and drop their broadband

RE: Individual servlet statistics

2008-06-26 Thread Peter Crowther
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] I was curious if anybody knew of some software that tracked the memory and cpu usage of each servlet that was running on a Tomcat instance. Unfortunately, as all the servlets run on a common JVM and using a common heap, there is no way

RE: Tomcat 5.5.25 freezes

2008-06-30 Thread Peter Crowther
From: Anthony Chamas [mailto:[EMAIL PROTECTED] I am having quite a weird situation on a production server : tomcat seems to be stuck somewhere when handling http requests. The activity being slow (10 users), some requests take exactly 30 minutes to be processed. I have put aside the

RE: Blocking threads in Tomcat

2008-07-01 Thread Peter Crowther
Tomcat version? Java version? Anything in the servlet that synchronises on a common lock? In general, one worker thread handles one request, from start to finish; then it's returned to the pool to be reused. Is that what you would expect? - Peter From: Fredrik Tolf

RE: howto stop crawler and bots according to their user agent string

2008-07-15 Thread Peter Crowther
From: Mathias Walter [mailto:[EMAIL PROTECTED] How can I prevent crawler and bots according to their user agent? I've put a robots.txt in webapps/ROOT, but this file is not read again. So, to check, the crawlers are not reading your robots.txt and are crawling your site anyway? I'd like

RE: is there anyone use websphere. ibm http server? I have a question for it of cluster

2008-07-15 Thread Peter Crowther
Why are you asking this on a Tomcat list? - Peter -Original Message- From: Buddy wu [mailto:[EMAIL PROTECTED] Sent: 15 July 2008 11:43 To: Tomcat Users List Subject: is there anyone use websphere. ibm http server? I have a question for it of cluster I installed

RE: Tomcat charset problem

2008-07-16 Thread Peter Crowther
From: Toby White [mailto:[EMAIL PROTECTED] The application uses Cyrillic characters. If I use the windows-based tool everything is shown OK. Which Windows-based tool, doing what? An example answer would be Notepad, opening the source of a page in the expanded version of my WAR. If I use a

RE: Wholesale HTTP parameter redirection

2008-07-16 Thread Peter Crowther
From: Jonathan Mast [mailto:[EMAIL PROTECTED] I have a page which now receives quite a few parameters, eg. page.jsp?abc=fooxyz=bar ... This page redirects via response.sendRedirect(). I want to know how I can forward every parameter onto the redirect page, without having to extract each

RE: apache tomcat on xserve leopard

2008-07-21 Thread Peter Crowther
From: Dave [mailto:[EMAIL PROTECTED] I have a new xserve and it is running both apache and tomcat But it doesn't seem like they are hooked together. [...] If I edit the files manually it works fine but the issue is that the leopard server over writes all the files if you make changes. The

RE: Stop tomcat on Startup

2008-07-25 Thread Peter Crowther
How hard a stop do you want? The Very Big Crowbar would be a System.exit(1)! - Peter -Original Message- From: afolli [mailto:[EMAIL PROTECTED] Sent: 25 July 2008 09:20 To: users@tomcat.apache.org Subject: Stop tomcat on Startup Hi All. I want to perform some

RE: Stop tomcat on Startup

2008-07-25 Thread Peter Crowther
:) Peter Crowther wrote: How hard a stop do you want? The Very Big Crowbar would be a System.exit(1)! - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

RE: Stop tomcat on Startup

2008-07-25 Thread Peter Crowther
From: Johnny Kewl [mailto:[EMAIL PROTECTED] I think look at error handling in web services before whacking Tomcat ;) Johnny, why not read the OP's original request, *then* respond? :-) - Peter - To start a

RE: java_home in tomcat6

2008-07-30 Thread Peter Crowther
From: zorglub76 [mailto:[EMAIL PROTECTED] I have a problem with setting JAVA_HOME variable in Tomcat 6.0.16. When I set it in catalina.bat as: set JAVA_HOME=C:\Program Files\Java\jdk1.6.0_07 set JRE_HOME=C:\Program Files\Java\jdk1.6.0_07\jre I get an error: Files\Java\jdk1.6.0_07 was

RE: is it possible more than 1 tomcat in single system?

2008-07-31 Thread Peter Crowther
From: Edi [mailto:[EMAIL PROTECTED] consider, i had 4 java application running in one tomcat, if one application crashes, all the other 3 application gets crashes. right? Correct. But it's not always that simple :-). It's your choice how you want to split up your applications between

RE: is it possible more than 1 tomcat in single system?

2008-07-31 Thread Peter Crowther
From: Christian Andersson [mailto:[EMAIL PROTECTED] Peter Crowther skrev: If you are not careful when tuning the system, you might find that one application in one Tomcat/JVM runs out of memory although there is plenty of spare memory in the system. If you put them all into one Tomcat

RE: Status of threads in Tomcat( window service)

2008-08-01 Thread Peter Crowther
From: Johnny Kewl [mailto:[EMAIL PROTECTED] From: Thangavel Sankaranarayanan [EMAIL PROTECTED] i am using tomcat as a window service ..so i couldn't create a thread dump... http://localhost:8080/manager/status will give you some info on thread usage This assumes the OP has the manager

RE: Changing SSL Certificates

2008-08-01 Thread Peter Crowther
Tomcat version? Error message (anything more than blew up)? Vendor of new cert? Do you have to install a cert chain? - Peter -Original Message- From: Ben Densmore [mailto:[EMAIL PROTECTED] Sent: 01 August 2008 17:09 To: users@tomcat.apache.org Subject: Changing SSL

RE: Configuration information in tomcat as a window service...

2008-08-04 Thread Peter Crowther
From: Thangavel Sankaranarayanan [mailto:[EMAIL PROTECTED] I have a tomcat 4.1.27 running as a window service and operating system is Windows2000. I went to the service .Right click on my tomcat service--select properties--Then select Recovery tab...i can see the following items which are

RE: Tomcat does not shutdown properly and kill -3 does not work!

2008-08-05 Thread Peter Crowther
From: Maduranga Kannangara [mailto:[EMAIL PROTECTED] There is an issue with my Tomcat instance where I have to kill it using 9 all the time. This is my application environment: An active-mq queue is used inside my application war. Tomcat version: 5.x OS: Redhat Linux It would help if you

RE: Tomcat Service is stopped automatically???

2008-08-05 Thread Peter Crowther
From: Thangavel Sankaranarayanan [mailto:[EMAIL PROTECTED] I tried it and it is working... but how do i make the process to run in backround..what happens is when my session expires (as i am connected through RDC) or if i wanted to logoff from the remote system the process will stop i

RE: Tomcat does not shutdown properly and kill -3 does not work!

2008-08-06 Thread Peter Crowther
From: Maduranga Kannangara [mailto:[EMAIL PROTECTED] What I need simply is a clean shutdown on Tomcat :-) Yes. In order to *get* that clean shutdown, you need to find out what's preventing it :-). One common problem is that something in your webapp has created a thread and not marked it as

RE: Multiple Sessions per user

2006-02-16 Thread Peter Crowther
From: Daniel Guggi [mailto:[EMAIL PROTECTED] I ran into a session-issue with a webapp. There are situations when it would be nice for a user (same browser/same machine/same webapp) to have the possibility to login twice and thus have two different JSESSIONIDs. If you use cookies to store

RE: Java Question

2006-02-22 Thread Peter Crowther
From: Andrew English [mailto:[EMAIL PROTECTED] I have looked for the filenames.* on all the servers including the linux ones and not come up with anything except for what's on the two servers. I suspect an operations issue. Has someone configured a revision control system (such as CVS or

RE: Java Question

2006-02-23 Thread Peter Crowther
From: Andrew English [mailto:[EMAIL PROTECTED] Is there anyway to check this theory? -Original Message- From: Peter Crowther [mailto:[EMAIL PROTECTED] [...] I suspect an operations issue. Has someone configured a revision control system (such as CVS or Subversion

RE: Tomcat IP and Session ID's

2006-02-24 Thread Peter Crowther
From: Paul Roberts [mailto:[EMAIL PROTECTED] I have a question regarding IP address and session ID's. If a user on IP Address 1 connects to the Tomcat server and is given session ID A, what happens if that session ID is hijacked by someone on IP address 2 and then used for a further

RE: Tomcat IP and Session ID's

2006-02-24 Thread Peter Crowther
From: Paul Roberts [mailto:[EMAIL PROTECTED] I was wondering, over and above encrypting the communications channel how does HTTPS help to prevent session ID hijacking? To my knowledge, it doesn't (better heads than me may wish to contradict me here). But keeping a randomly-generated session

RE: How to separate tomcat instances?

2006-02-27 Thread Peter Crowther
From: lk [mailto:[EMAIL PROTECTED] I would like to know if it is possible to run multiple instances of tomcat. I've read the documentation and I found out that I can configure multiple workers to serve multiple instances of Tomcat. But I haven't understood if in this way the contexts

RE: How to separate tomcat instances?

2006-02-27 Thread Peter Crowther
From: lk [mailto:[EMAIL PROTECTED] I'm not sure my solutions is correct: I have 3 different directory, and each directory contains a complete binary distribution of tomcat. And I have to startup each tomcat instance. Is it the good way? It's not a *bad* way, as you can upgrade each one

RE: Sad: Tomcat 5.5.x crashes almost every single day.

2006-02-28 Thread Peter Crowther
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Tomasz Nowak Probably important: === [lots of technical details about kit and container config] Very important == Your application. Have you profiled it for memory leaks that would cause a OOME? Have you tested it

RE: javaservice.exe

2006-03-01 Thread Peter Crowther
From: Andrew English [mailto:[EMAIL PROTECTED] Is there anyway to force close the javaservice.exe on windows? When I tried to do it under Taskmanager (as Administrator) it tells me could not be completed.. access denied. If it's running as LocalSystem, not to my knowledge - you don't have

RE: Question

2006-03-01 Thread Peter Crowther
From: Andrew English [mailto:[EMAIL PROTECTED] Were do I need to look to figure out what SQL server tomcat/jboss 2.4 is pointing at? Could be anywhere. A generic approach that will probably get you quite a long way is to run: netstat -an | find 1433 And seeing what the far-end IP

<    1   2   3   4   5   6   7   8   9   10   >