Re: 6.0.20 - New behavior on conf/Catalina/host/ctxpath.xml update. Why redeploy?

2009-10-01 Thread Peter Crowther
2009/10/1 Mark Thomas ma...@apache.org: Peter Crowther wrote: I wonder whether this is a race condition with some text editors.  For example, if vi operated in the following way: 1) Rename context.xml to context.xml~ 2) Create context.xml, write contents, close file ... then a poll

Re: Installing Tomcat: how much do versions matter?

2009-10-01 Thread Peter Crowther
2009/10/1 Kreshna Aryaguna Nurzaman kreshna_icehe...@yahoo.com: I need to install the following components on Windows XP (for ArcIMS): 1) Apache 2.0.43 (MSI installer for Windows, no crypto) 2) JSDK 1.4.1_01 3) Tomcat 4.1.12 4) mod_jk2-2.0.43.dll [...] What if I go with newest version of

Re: Default character encoding for ServletRequest

2009-10-01 Thread Peter Crowther
2009/10/1 Halm Reusser halm.reus...@switch.ch: Is there a possibility to force the client to use a specific encoding? No. Consider the first request a client makes: it has to create and send a HTTP request with no prior knowledge of, or communication with, the server. So it has no way of

Re: errors after install

2009-10-01 Thread Peter Crowther
2009/10/1 Daniel Wittenberg dwittenberg2...@gmail.com: I know spacewalk doesn't have it's own tomcat, the install pulls everything it needs Yes, but it probably doesn't *configure* it. The spacewalk RPM probably expresses a dependency on Apache httpd and a dependency on Tomcat. So you'll get

Re: errors after install

2009-10-01 Thread Peter Crowther
2009/10/1 Daniel Wittenberg dwittenberg2...@gmail.com: Actually it does configure it Good to read, though I'm surprised. Actually this time it worked.  Not sure what happened last time, but it's about 99% working right now. Great. I wonder what changed? Not sure I agree here.  You can

Re: tomcat webapps can't start

2009-10-02 Thread Peter Crowther
2009/10/2 jay uniojnqoif...@gmail.com: I am input my site in /var/lib/tomcat/webapps , I am using tomcat5.5 , os :ubuntu 8.10 But I can't see my page in browser  and I find some error msg in my tomcat log [...] SEVERE: Error deploying configuration descriptor balancer.xml

Re: resource not available : Apache Tomcat/6.0.20 with java jdk1.6.0_16 on linux 2.6.30.1

2009-10-04 Thread Peter Crowther
2009/10/4 Linux sysadmin sysad...@pattersunx.com: [When starting as the jsvcd user...]  1315 Oct 4, 2009 7:36:20 PM org.apache.catalina.startup.ContextConfig defaultWebConfig                                 =   It's seems tha's  this  way  apache wasn't able to load the  web.xml in my  

[OT] XML editors (was Re: Help management access)

2009-10-04 Thread Peter Crowther
2009/10/4 Hassan Schroeder hassan.schroe...@gmail.com: Aside from that, what god-awful anachronism of an editor could you possibly be using that doesn't understand XML syntax?  :-) In my case, vi. Much of my UNIX admin involves ssh into headless production machines in datacentres with stock OS

Re: resource not available : Apache Tomcat/6.0.20 with java jdk1.6.0_16 on linux 2.6.30.1

2009-10-05 Thread Peter Crowther
2009/10/5 Linux sysadmin sysad...@pattersunx.com:  The truth is that i make a link from the ${catalina.home}/conf in the ${catalina.base}/conf regarding the web.conf, thus it's the default from tomcat original distribution ... This should work for conf, but be very careful about symbolic links

Re: Max Thread/Memory problems with tomcat

2009-10-05 Thread Peter Crowther
2009/10/5 prashant sharma psharma_...@yahoo.com: Tomcat: 5.0. That's old, and no longer supported. Why are you using this version? (And exactly which version of 5.0 are you using, by the way?) OS: Windows Server HPC edition. 32- or 64-bit? I ask because the maximum contiguous memory you'll

Re: [OT] Re: Alias URL

2009-10-05 Thread Peter Crowther
2009/10/5 Pid Ster p...@pidster.com:  ... the real pros use text files, and a vi editor). The last time someone said that, the Argument ended with a discussion about electron microscopes... Well I edited the inodes by hand. With a magnet. (Bonus points if you know the origin of the quote)

Re: [OT] Re: Alias URL

2009-10-06 Thread Peter Crowther
[Very off-topic] 2009/10/5 Caldarale, Charles R chuck.caldar...@unisys.com: From: André Warnier [mailto:a...@ice-sa.com] I was going to say Evil Geniuses (O'Reilly). But I don't know who was first. The book is just a collection of the User Friendly strips; excellent reference manual. It's

Re: java.lang.OutOfMemoryError: Java heap space

2009-10-06 Thread Peter Crowther
2009/10/6 Joe Hansen joe.hansen...@gmail.com: Andre, you are right. Memory is cheap. However, the machine has 8GB of memory already. I am thinking that it should be sufficient. You might wish to dedicate more of that 8 Gbyte to Java, though. It depends on the performance characteristics of

Re: Does Tomcat http work on port 80?

2009-10-09 Thread Peter Crowther
2009/10/9 Serge Fonville serge.fonvi...@gmail.com: Hi, Yesterday on the JBoss users forum I posted the question how to setup http for Tomcat on port 80 internal to JBoss 5.1.0GA under Windows 2000 Prof. [...] Well known ports require root [...] http://en.lmgtfy.com/?q=tomcat+port+80+linux

GC (was Re: tomcat 5.5.25 shared lib and sharing webapp jars)

2009-10-10 Thread Peter Crowther
[If you're not interested in VM theory, it's safe to ignore this post] 2009/10/10 Christopher Schultz ch...@christopherschultz.net: What about classes with mutable static members? These members should be preserved for a while, right? Does this mean that classic Java singletons are never able

Upgrading (was Re: Re Directing tomcat console out put to log files)

2009-10-10 Thread Peter Crowther
2009/10/10 Ziggy zigg...@gmail.com: Just because something has been updated it does not mean that you have to use the latest version.. There could be a million reasons why someone decides to stick with an older version of an application. Upgrading just for the sake of it does not make sense

Re: poor-man's plugins: loading a subclass of a Web application class from common/lib

2009-10-10 Thread Peter Crowther
2009/10/11 Adam Monsen hair...@gmail.com: I have a Web application which includes an abstract class: TransactionImport. I compiled a subclass of TransactionImport (AudiBankImporter), placed the class in a jar, then placed the jar in $CATALINA_HOME/lib. What I'd like to do is load the

Re: Tomcat 6.0.20 always works in GMT timezone even after forcing it to use Asia/Calcutta by multiple methods.

2009-10-11 Thread Peter Crowther
2009/10/12 raghu gs iamra...@gmail.com: But our engineers where is that this a Kernal and Tomcat issue. Is there possibilty for that? There are a large number of people using Tomcat who don't see this issue and are in non-GMT timezones - including a fairly large number in India, if the email

Re: java.net.SocketException: Permission denied: listen failed

2009-10-11 Thread Peter Crowther
2009/10/12 msg2ajay msg2a...@gmail.com: hi,      I am using WIN Vista. I just downloaded TOMCAT6.0 and when i tried to run it is showing following exception. Do any one know what is the problem. Oct 12, 2009 8:44:30 PM org.apache.coyote.http11.Http11BaseProtocol init SEVERE: Error

Re: tomcat5.5 can't start

2009-10-12 Thread Peter Crowther
What operating system? What Java version? This looks like a packaging problem from a third-party repackaged version of Tomcat, so it may be that nobody on this list can help you as nobody here built the package! If you download the zip file of the same Tomcat version (or preferably the most

Re: Questions on Single Sign On?

2009-10-12 Thread Peter Crowther
2009/10/12 Josh Gooding josh.good...@gmail.com: To my knowledge the Single Sign on in Tomcat is a way for all of your back end applications in your VH to recognize that you have logged in to one place, and all of the apps belonging to that VH will be logged into. Correct. What I am trying to

Re: Questions on Single Sign On?

2009-10-12 Thread Peter Crowther
2009/10/12 Josh Gooding josh.good...@gmail.com:  As for handling browser crashes, I'll have to set the timeout to an appropriate time,  (1/2 hour or so) but if you are watching videos and testing, or reading docs, you can chew up 1/2 hour easily so I haven't really thought it through fully yet.

Re: Questions on Single Sign On?

2009-10-12 Thread Peter Crowther
2009/10/12 Josh Gooding josh.good...@gmail.com: If I close the browser window, and reopen it without clicking the logout button, I can still get back into my active session.  How would I invalidate the session upon closing the browser window? I'm surprised that happens if you shut down the

Re: SSL/HTTPS forwarding under Apache + mod_jk + tomcat

2009-10-13 Thread Peter Crowther
[This should really be a new thread, but...] 2009/10/13 Tezza auspa...@hotmail.com: I got 1 apache and 2 tomcat servers (all on different machines). I already got SSL set up on individual Tomcat machines to work on port 8443. There is no SSL installed on Apache. I got mod_jk installed on

Re: trouble with connector configured to receive from SSL accelerator

2009-10-13 Thread Peter Crowther
2009/10/13 Sam Gendler sgend...@vid.me:  That method uses request.getScheme(), to retrieve https (correct) and request.getServerName() to get the correct host name.  It then calls request.getServerPort(), which incorrectly returns the value of 80. [...] What do I need to do to get the request

Re: SSL/HTTPS forwarding under Apache + mod_jk + tomcat

2009-10-13 Thread Peter Crowther
2009/10/13 Tezza auspa...@hotmail.com: So in server.xml, I can leave the Connector SSLEnabled=true port=8443...other other SSL related attributes.../ ??? If you want to, you can leave it. It's an extra way into your server, and might be considered an extra attack vector for a cracker, so you

Re: Tomcat with Netscape Portable Runtime (NSPR)

2009-10-13 Thread Peter Crowther
2009/10/13 G S skis...@gmail.com: Is it possible to configure Tomcat to use NSPR similar to the way you can configure Tomcat to use the Apache Portable Runtime (APR)? No. In the same way, it's not possible to configure Mozilla to use the Apache Portable Runtime. - Peter

Re: IIS ISAPI_redirector

2009-10-14 Thread Peter Crowther
2009/10/14 Rainer Jung rainer.j...@kippdata.de On 14.10.2009 13:47, Bret Unbehagen wrote: I have a Windows 2003 Server with the ISAPI_Redirector installed. I want to stop it from passing the client IP to Tomcat. I have found

Re: Tomcat + APR non-root on linux: Socket bind failed: [98] Address already in use

2009-10-15 Thread Peter Crowther
2009/10/15 Ken Johanson tomcat-u...@kensystem.com SEVERE: Error starting endpoint java.lang.Exception: Socket bind failed: [98] Address already in use at org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:612) .. (no listener is actually running on 98; this is just generic

Re: Tomcat works fine on deployed machine, but not on others machines in network

2009-10-16 Thread Peter Crowther
2009/10/16 Avijit Dutta avijit.du...@honeywell.com We have installed tomcat Which version, please? in a linux machine, and when we invoke http://linux machine ip:8080/ from that linux machine, it is showing properly. But, when we try to access the same URL from another machine in the same

Re: 6.0.20 - New behavior on conf/Catalina/host/ctxpath.xml update. Why redeploy?

2009-10-16 Thread Peter Crowther
2009/10/1 Mark Thomas ma...@apache.org 2009/9/30 Peter Crowther peter.crowt...@melandra.com: I wonder whether this is a race condition with some text editors. For example, if vi operated in the following way: 1) Rename context.xml to context.xml~ 2) Create context.xml, write contents

Re: Opening up multiple ports on Single Tomcat Instance

2009-10-17 Thread Peter Crowther
2009/10/17 M.N.V Kishore mnv.kish...@gmail.com We have a requirement for the client to migrate the tomcat server running on port 8080 on Solaris machine onto Windows machine. This windows machine has already a tomcat instance running on port 80. I would now need to migrate all the

Re: What is the difference between running Tomcat 6 as a Windows Service vs. running from the command line?

2009-10-19 Thread Peter Crowther
2009/10/19 Markus Schönhaber tomcat-us...@list-post.mks-mail.de Alan Kennedy: Unfortunately, it did not solve the problem: the behaviour is exactly the same when running under my own account: the bug still occurs. Well, that seems to rule out any permission problems - and leaves me

Re: Tomcat wait to start

2009-10-20 Thread Peter Crowther
2009/10/20 NabiL elaomari.na...@gmail.com: I use Tomcat 6.x running on server A (Linux redhat 5). i deployed a AMQ war file. This application is waiting to acquire a lock because i run successfully the same application on another server B (Linux + Tomcat 6). We will need more information in

Re: Tomcat wait to start

2009-10-20 Thread Peter Crowther
2009/10/20 NabiL elaomari.na...@gmail.com: I use ActiveMQ5.3 with shared database Mysql. 2 instances shared the same DB. OK. Do you have a stack trace, or otherwise know which part of whose code is waiting to acquire the lock? There could be at least four places: 1) Tomcat; 2) MySQL; 3)

Re: Best Tomcat O.S. and Server Configuration

2009-10-20 Thread Peter Crowther
2009/10/20 beppe_c giuseppe.ca...@calbisolutions.com: I've just bought a dedicated server, and I'm looking 4 the best configuration. I need to run Java (Struts2-hibernate+mysql) applications through Tomcat. Motherboard supports till 8GB RAM CPU Intel 2,6GHz Pentium Dual Core 4GB RAM DDR2

Re: Tomcat wait to start

2009-10-20 Thread Peter Crowther
2009/10/20 NabiL elaomari.na...@gmail.com: There is no bug tomcat side. ActiveMQ is configured with Master/Slave. Tomca's logs indicates that ActiveMQ attempts to acquire the lock, this is why tomcat can't start after ActiveMQ start. Then I would ask on an ActiveMQ list - I doubt anyone here

Re: Tomcat Real Security on Port 80 - Connection Interrupted

2009-10-22 Thread Peter Crowther
Exact Tomcat version? Exact httpd version? How are you connecting the two? Port forwarding seems odd unless you have two IP addresses so that httpd is on addr1:80 and Tomcat is on addr2:80. Once we know more, we can start to help you debug the issue! - Peter 2009/10/22 Kris Reid

Re: SocketException: No buffer space available (in Windows)

2009-10-23 Thread Peter Crowther
2009/10/23 Miriam Pena miriamp...@gmail.com After about 30 hours of runtime, I see the following problem when the application tries to open a TCP socket: java.net.SocketException: No buffer space available (maximum connections reached?): connect at

Re: SQL driver bug ????

2009-10-23 Thread Peter Crowther
2009/10/23 kumaresh P N pnkumar...@gmail.com Is there a known bug / problems /issues with the SQL driver used in Tomcat Apache 6.0.16 ?? To my knowledge, no database driver for any database is distributed with any version of Tomcat. The driver was presumably distributed with the webapp

Re: Set System variables.

2009-10-26 Thread Peter Crowther
2009/10/26 Miguel Torres Fernández miguel.torres@juntadeandalucia.es: At firts say hello, this is my first message to the list. Welcome! I'm a system admin and i have a problem with applications thats set system variables like proxy of the system (system.setProperties). It's a big

Re: Tomcat 6.0 x64

2009-10-26 Thread Peter Crowther
2009/10/26 Wagenaar, R.J.T. (Ronald) ronald.wagen...@reaal.nl: Is Tomcat 6.0 supported on a x64 bit system, by example Windows Server 2003 Enterprise x64? As it is open source, it is not supported in the sense that you can file a bug report and expect a fix - but neither is the 32-bit version

[OT] Re: So many timeout values

2009-10-29 Thread Peter Crowther
2009/10/28 Christopher Schultz ch...@christopherschultz.net: Everybody ought to learn a little C at some point. It will make you really appreciate a relatively clean language like Java. ICL PLAN3 asembler, anyone? :-) More seriously, I agree with you and would add a second reason: doing a

Re: Authencation in apache tomcat

2009-10-29 Thread Peter Crowther
httpd version? jk version? Tomcat version? Stack trace of NPE? - Peter 2009/10/29 daulat khan daulat@gmail.com: Hi,                I have an java servlet application which is running fine in Apache-Jrun setup. recently, i have migrated it from jrun to tomcat. i have launced the

Re: [OT] Re: So many timeout values

2009-10-29 Thread Peter Crowther
2009/10/29 Caldarale, Charles R chuck.caldar...@unisys.com: Univac 1004: 961 *6-bit* bytes of core memory, programmed via squids on a plugboard.  Handled punch cards, paper tape, and printing; tape drive optional (we didn't have one).  Had a tendency to throw cards all over the room if not

Re: [OT] Re: So many timeout values

2009-10-29 Thread Peter Crowther
2009/10/29 Caldarale, Charles R chuck.caldar...@unisys.com: From: peter.crowth...@googlemail.com That's not even a modern stored-program computer! Just because it used relays as the logic elements? Hmm. I started writing a response here along the lines of because it didn't keep the code in

Re: Authencation in apache tomcat

2009-10-29 Thread Peter Crowther
2009/10/29 daulat khan daulat@gmail.com: httpd version : httpd-2.2.11 Reasonably recent. Tomcat Version : jakarta-tomcat-4.1.18 Ancient. I'd strongly recommend upgrading. Mod_JK version : jakarta-tomcat-connectors-1.2.15-src Ancient. I'd strongly recommend upgrading. Stack trace :

Re: A question about log-rotation on catalina.out

2009-10-29 Thread Peter Crowther
2009/10/29 André Warnier a...@ice-sa.com: (*) Actually, it's not the Java language itself, which is quite simple and elegant.  But it's that in order to do anything at all in that language, you first need to become familiar with dozens of class hierarchies. ... you've not played with

[OT] Hammers and nails (was Re: A question about log-rotation on catalina.out)

2009-10-30 Thread Peter Crowther
2009/10/30 Caldarale, Charles R chuck.caldar...@unisys.com: Smalltalk is a classic example of the philosophy: I have a hammer, therefore everything is a nail. I used to teach Smalltalk*. Of a 3-day course, 1/4 day was on the language, 1/2 day was on the environment and the rest was on the

Re: tomcat utilization is 100 %

2009-10-30 Thread Peter Crowther
2009/10/30 Vikram S Chauhan vikram.chau...@in.ibm.com: I am Vikram Chauhan from New Delhi India and working for one telecom client. i have installed tomcat 6.6 on my one Application server having windows 2003 server environment. from last some days its utilization is going 90% or 95%  . due to

Re: not able to connect to localhost

2009-10-30 Thread Peter Crowther
2009/10/30 Brian Wolf brw...@gmail.com: I've installed and   un-installed  Tomcat 5.x and 6.x several times using the windows  installer  on the Tomcat Apache site  on Windows XP. I've started  it as service, and  not, manually, on port 80 and 8080. Stopped all other  server related software.

Re: tomact, apache adobe coldfusion 9

2009-10-30 Thread Peter Crowther
2009/10/30 Chris Blackwell ch...@team193.com: VirtualHost *:80 DocumentRoot C:\Users\Chris\Documents\Eclipse Workspace\mysite If I recall correctly, you don't want this. Serve a blank directory out of httpd, and proxy everything to Tomcat. Or take httpd out of the equation completely if you

Re: tomact, apache adobe coldfusion 9

2009-10-30 Thread Peter Crowther
2009/10/30 Chris Blackwell ch...@team193.com: I'm trying to get this setup with httpd, because eventually i'd like to deploy it to my webserver that will host sites with a mixture of coldfusion and php apps across multiple virtual hosts. Yep, that's a great reason to go with the architecture

Re: tomact, apache adobe coldfusion 9

2009-10-30 Thread Peter Crowther
2009/10/30 Chris Blackwell ch...@team193.com: I'm setting httpd tomcat's doc roots to the same location because in my hosting setup users will be presented with /public_html directory in their home directory.  They should be able to place cfml, php and static resources in the same location

Re: tomact, apache adobe coldfusion 9

2009-10-31 Thread Peter Crowther
2009/10/30 Chris Blackwell ch...@team193.com: Ok, that was it.  chrome was hanging on to the source in its cache and really didn't want to give it up. Glad you found it. I do take on board your points about the single docroot approach.  testing here on windows requesting indeX.cfM will serve

Re: servlet mappings

2009-10-31 Thread Peter Crowther
2009/10/30 Caldarale, Charles R chuck.caldar...@unisys.com: Note that several servlet containers silently implement enhancements to the spec that simply cause confusion and limit portability. ... and are handy for some real-world use cases, such as creating a RESTful web service without the

Re: The server encountered an internal error () that prevented it from fulfilling this request.

2009-10-31 Thread Peter Crowther
2009/10/31 Brian Wolf brw...@gmail.com *I don't know if this is the correct list to ask this, but this is an error from a servlet loaded under tomcat (if thats the right phrase)* The error is due to the servlet, not due to Tomcat: org.apache.jasper.JasperException: /search.jsp(151,22)

Re: Tomcat 6 And SSL Configuration

2009-11-02 Thread Peter Crowther
2009/11/2 Nilesh Patil nileshpatil2...@gmail.com The apache tomcat service on local computer started and then stopped . Some services stopped automaticaly if they are not in use by other services or programs There should be more details of what went wrong in one of Tomcat's log files (it

Re: Tomcat service stops frequently after MS09-061 patch

2009-11-02 Thread Peter Crowther
2009/11/2 chetan khadye chetan.kha...@gmail.com We are facing an issue with the microsoft patch. We applied the patch MS09-061 on our production and development environment which is running on Windows server 2003. After the patch applied the tomcat server stops responding the http requests

Re: Compression and SSL

2009-11-02 Thread Peter Crowther
2009/11/2 George Sexton geor...@mhsoftware.com In general, Compressing HTML can help a great deal for any case besides a local network. ... or a CPU-limited server. To the OP: What's the bottleneck in your environment? CPU? Disk I/O? Network bandwidth? Measure the problem, *then* look for

Re: Compression and SSL

2009-11-03 Thread Peter Crowther
2009/11/2 George Sexton geor...@mhsoftware.com You didn't read the original post very closely. to serve applications from the US to Asia-based clients. It's bandwidth and latency. Actually, yes, I did. And I saw that, and I suspected latency would be the answer. Suspicion is not

Re: Reading and writing files outside tomcat directory

2009-11-03 Thread Peter Crowther
Tomcat version? Installed from tomcat.apache.org or a third-party repackaged version? If repackaged, look at the docs - are you running under a security manager? - Peter 2009/11/3 noobie45 philip.geo...@gmail.com I have an application whose class files are in

Re: Secure login only, not rest of app

2009-11-10 Thread Peter Crowther
2009/11/10 Robert Denison r...@blim.org: I assume that the standard way of dealing with static caching is to have e.g. an images (css etc) directory and have that not secure? No, as on most browsers that will pop up a dialog box with something like this page contains both secure and insecure

Re: Problem encounter during setup Virtual Hosting and Tomcat 6.0

2009-11-15 Thread Peter Crowther
2009/11/15 Henry Loke fsl...@yahoo.com: Browser: http://ren:8080/ [IMG]http://i861.photobucket.com/albums/ab175/fsloke/pagenoFound.jpg[/IMG] Server not found Tomcat cannot and does not change your computer's or network's idea of what names map to what IP addresses. Have you changed your

Re: The server encountered an internal error () that prevented it from fulfilling this request

2009-11-16 Thread Peter Crowther
2009/11/16 Bala_ji talk2b...@gmail.com: The server encountered an internal error () that prevented it from fulfilling this request message in IWSS server.  Please help http://old.nabble.com/file/p26370991/iwss%2Bapache%2Berror.jpg You have a null pointer exception, caused by either your

Re: Tomcat DBCP Connection Pooling to MySQL limited number of connection issue in Spring2.5 + Hibernate3 + commons-DBCP1.2

2009-11-16 Thread Peter Crowther
2009/11/16 Pid p...@pidster.com: You managed to subscribe to the list, can't you follow the instructions on how to unsubscribe?  Clues at the bottom of every email. We keep saying that, and it keeps being a problem for users. The email-based unsubscribe appears to be unreliable, I suspect due

Re: How2 Disable Browser Access to specific port

2009-11-16 Thread Peter Crowther
2009/11/16 joeweder joewe...@gmail.com: Question: How can I disable browser access through a specific port but continue to allow headless https through? You *could* write a Filter that sniffed at the User-Agent header in the https: request, but most browsers have ways of faking that - you can't

Re: Tomcat 6.0 requires JRE 5.0 issue

2009-11-16 Thread Peter Crowther
2009/11/16 Elizabeth Gorkic egor...@hotmail.com: My company has a policy to deploy only officially supported platforms ... then why are they running open source software such as Tomcat, which has no official support? - Peter -

Re: FW: Tomcat 6.0.20 Causes Kernel Crash on Linux

2009-11-18 Thread Peter Crowther
2009/11/18 Amol Wate (awate) aw...@cisco.com Are there any known memory issues with tomcat 6.0.20 ? This build causes a kernel panic on my linux box with Java 5. I'd been using 6.0.18 without any issues on the same configuration. http://markmail.org/message/mrpgvn4mqvyrq64a reports a memory

Re: FW: Tomcat 6.0.20 Causes Kernel Crash on Linux

2009-11-18 Thread Peter Crowther
2009/11/18 Timir Hazarika (thazarik) thaza...@cisco.com Peter, we're talking a custom built linux server that has been in production for years. I'm wondering what's magical with 6.0.20 that causes my kernel such trouble, and why the problem doesn't surface with any of the earlier builds.

Re: Sending messages via Tomcat to ActiveMQ

2009-11-19 Thread Peter Crowther
2009/11/19 Kumako22 kumak...@gmail.com My question is: how can I send messages to ActiveMQ via Tomcat. Is it possible? How can I write it? Any clues? 1) Write a standalone Java program to send a message to ActiveMQ. Test it. Prove it works. 2) Paste that code into your web application

Re: Newbie, tomcat performance tuning

2009-11-19 Thread Peter Crowther
2009/11/19 Bruce Foster gis.fos...@gmail.com do I need to look at the server threads? if yes then where to I set that option? read somewhere tomcat with 8 thread (8 core processor), how do I configure that option? If you can find me that somewhere, I'll go and grumble at the author :-).

Re: Performance Problem

2009-11-20 Thread Peter Crowther
2009/11/20 div.gcet divya.garg...@gmail.com Hi all, I am developing a web application using Tomcat 6.0 and MyEclipse IDE. For my requirements i have to store a lot of (100-200) Lists objects in my sessions. And any list may be associated with a lot other objects, because of this

Re: Howto Socket (TCP / IP ) reading from a war application on Tomcat

2009-11-20 Thread Peter Crowther
2009/11/20 Karthik Nanjangude karthik.nanjang...@xius-bcgi.com A 3rd party Client S/w of C++ sends an XML string over socket This socket is be defined and read by *Process* of web application OK, so you're trying to get Tomcat to do something it's not designed to do: handle incoming TCP

Re: Redirecting a port to a webapp

2009-11-23 Thread Peter Crowther
2009/11/23 Looijmans, Mike mike.looijm...@oce.com Hello, After hours of googling and browsing documentation, i came to the conclusion that what i want is either so trivial that everybody knows how to do it, or so complicated that no one ever tried it... I want to accomplish the following

Re: Redirecting a port to a webapp

2009-11-23 Thread Peter Crowther
2009/11/23 Looijmans, Mike mike.looijm...@oce.com No. You want webapps/myapp to be treated as the ROOT context for a host. appBase=webapps/myapp means look in the webapps/myapp directory to find contexts for this host. The ROOT context in that case would be webapps/myapp/ROOT As a

Re: Redirecting a port to a webapp

2009-11-24 Thread Peter Crowther
2009/11/24 Looijmans, Mike mike.looijm...@oce.com Because the is a random word, not a constant, nor the name of a servlet. Think wikipedia, the request might be for /foo or /bar or whatever, and the servlet uses that word for its own purposes (it will look it up in the database and return

Re: Tomcat 6 and Apache2 VS Tomcat 6 alone

2009-11-24 Thread Peter Crowther
2009/11/24 TheGrailer ken...@gmail.com Im pretty new to this but have 2 friends that help me out. Though one of my friends tells me to use Apache2 infront of Tomcat and the other one tells me it's unnecessary. Finding out their reasoning - and the evidence each one has supporting their

Re: Tomcat 6 and Apache2 VS Tomcat 6 alone

2009-11-24 Thread Peter Crowther
2009/11/24 TheGrailer ken...@gmail.com: The most compellig argument from the Apache2 and Tomcat 6-friend was indeed the static content part. http://tomcat.markmail.org/message/il33wqqjb2dok6xz might be illuminating - along with the discussion around it on that thread. I suspect Chris will be

Re: Ethernet or configuration?

2009-11-24 Thread Peter Crowther
2009/11/24 Guifre Bosch Fabregas guifre.bo...@gmail.com: Hi people! I have an unusual problem. I recently installed apache and if I go to server browser and put: http://localhost/APP or http://127.0.0.1/app  works fine but if I put into a remote server http://192.168.1.6/app i don0t aee

Re: Tomcat Https loadbalancing??

2009-11-25 Thread Peter Crowther
2009/11/25 jkv j.kumara...@gmail.com: We are using Tomcat 6.0 and running HTTPS (enabled SSL). The number of requests has grown up and we have decided to do go for clustering and loadbalancing. We have decided to go for Apache and mod_proxy/mod_jk loadbalacing. My certificate resides in

Re: Tomcat Https loadbalancing??

2009-11-25 Thread Peter Crowther
2009/11/25 jkv j.kumara...@gmail.com: I got one small doubt in the last point that you said. In this environment, you only want your public certificate on httpd. Tomcat will not be doing anything that uses it, so don't put a copy on those machines. this means that I will not enable SSL in

Re: How to deploy my first War in Tomcat 6?

2009-11-26 Thread Peter Crowther
2009/11/26 jackm jack.mort...@gmail.com: Hi all, I'm newbie, I installed Tomcat 6 on Ubuntu Karmic, how should I proceed to Deploy my first war ? Jack, did you install it via download from the Tomcat site (http://tomcat.apache.org) or via Ubuntu's installation process? If you installed it

Re: Char Encoding text streams on Tomcat 5.5 and Linux

2009-11-27 Thread Peter Crowther
2009/11/27 Dan Bagley dan.bag...@metadatatechnology.com: now when processing the plain text stream the accented characters are being corrupted even though the stream is being set to UTF-8.   This is only happening on Linux and Tomcat 5.5 with plain text,  on windows it works and Linux using

Re: Char Encoding text streams on Tomcat 5.5 and Linux

2009-11-27 Thread Peter Crowther
2009/11/27 Dan Bagley dan.bag...@metadatatechnology.com: Server version: Apache Tomcat/5.5.20 That's 2.5 years old and has a number of known security vulnerabilities. Given that the issue is the client's security review process, have they reviewed later 5.5.x releases and verified that the

Re: Tomcat 5.17 crashes too often

2009-11-27 Thread Peter Crowther
2009/11/27 Rocco Scappatura rocco.scappat...@infracom.it: I think that I have forgotten to attach the core file above mentioned.. :-( This mailing list removes attachments. Core files are often very large, and they also don't provide very much information to anyone on the list as we'd have to

Re: Tomcat 5.17 crashes too often

2009-11-27 Thread Peter Crowther
2009/11/27 Rocco Scappatura rocco.scappat...@infracom.it: The strange think is that in log file there is no sign of any problem. But In $CATALINA_HOME I get the file hs_err_pidpid.log. OK. The Java virtual machine itself is crashing, and you've attached the log file it writes from the crash.

Re: Tomcat 5.17 crashes too often

2009-11-27 Thread Peter Crowther
2009/11/27 Rocco Scappatura rocco.scappat...@infracom.it: So I think that I will update the jave VM soon.. Maybe an opinion of Chuck would be useful? I would try updating the VM anyway. You have one of three possible outcomes: 1) It fixes the bug, and we can all go home happy on a Friday;

Re: How to solve the problem java.lang.OutOfMemoryError: unable to create new native thread in Tomcat5.5.26

2009-11-30 Thread Peter Crowther
2009/11/30 Peter Chen peter.c...@aicent.com: I meet one problem of OutOfMemoryError when I am running the Tomcat5.5.26. The OS is Solaris 10 sparc, and the JVM version is 1.5.0.12, and following is the detail of stack information. SEVERE: Caught exception (java.lang.OutOfMemoryError: unable

Re: Basic and Form Authentication

2009-12-01 Thread Peter Crowther
2009/12/1 Anthony Jay anthony...@fastmail.fm: As for cross application communication I will have to revisit our own code to see if there are static/singleton services that can be re-engineered and decoupled. This may be one of the few appropriate times where you may want to put code for the

Re: Safe to move tomcat directory while tomcat running?

2009-12-01 Thread Peter Crowther
2009/12/1 Dean Chester dean.g.ches...@googlemail.com: Ok thanks what i meant is that the tomcat directory is in ~/tomcat6/apache-tomcat-6.0.20/ and i need to move it to my home directory ~/. Basically was it safe to do it while tomcat is still running. No, that is not safe. Tomcat may access

Re: Tomcat performance benchmark

2009-12-07 Thread Peter Crowther
2009/12/7 Neil Aggarwal n...@jammconsulting.com Here is one that is somewhat dated: http://www.webperformanceinc.com/library/reports/ServletReport/ Good grief, that's not so much dated as coming back from beyond the grave! It's two major versions and a lot of performance optimisations out of

[OT] Application speed (was Re: Tomcat performance benchmark)

2009-12-07 Thread Peter Crowther
2009/12/7 André Warnier a...@ice-sa.com On the other hand, it would be really interesting to compare the performance of a set of webservers 5 years ago, with the current ones, if the comparison is in terms of real-world application requests served. Granted, servers have become faster, memory

Re: Setting up x planner plus using Tomcat

2009-12-07 Thread Peter Crowther
Given that the samples run fine, this doesn't look like a Tomcat issue. I suspect you'd have better luck on a MySQL, Hibernate or x-planner list. I'm slightly bemused that the username in the error message is in UPPERCASE when you've specified it in lower case - is something assuming particular

Re: deployed same TOMCAT 6.0.20 on Windows / Linux

2009-12-09 Thread Peter Crowther
2009/12/9 Karthik Nanjangude karthik.nanjang...@xius-bcgi.com We have deployed same TOMCAT 6.0.20on Windows / Linux Just to check: in both cases, you downloaded the same installation files from http://tomcat.apache.org and installed them? Exactly the same JVM revision on both

Re: db jars in common/lib and shared/lib

2009-12-09 Thread Peter Crowther
2009/12/9 Mohammad, Hammad Kasim Bekur hammadkasimbekur.moham...@misys.com I have placed my db jars(ie db2jcc.jar, db2jcc_javax.jar and db2jcc_license_cu.jar ) in tomcat/common/lib, and started ant target to run the tomcat, server started up properly. Now I have removed these jar from

Re: deployed same TOMCAT 6.0.20 on Windows / Linux

2009-12-09 Thread Peter Crowther
2009/12/9 Karthik Nanjangude karthik.nanjang...@xius-bcgi.com Same Tomcat 6.0.20 from http://opensource.become.com/apache/tomcat/tomcat-6/v6.0.20/bin/apache-tomcat-6.0.20.zip OK. RAM is 2 GB on Linux on Windows is 1.5 GB No extra applications are running when the same was executed

Re: Tomcat Config Question

2009-12-09 Thread Peter Crowther
2009/12/9 steflik stef...@binghamton.edu I'm teaching a Web Programming course and am using Tomcat 6 for the servlet/jsp portion of the course. I have created a context for each student in the server.xml file and it seems to work pretty good but if a student modifies the web.xml file in

Re: Tomcat 6 and IIS 7

2009-12-10 Thread Peter Crowther
Stop both, netstat -an - is there anything active on port 80? If so, find it and terminate with extreme prejudice ;-). Start Tomcat. netstat -an - what address(es) does it report Tomcat as being bound to? Are they what you expect? Stop Tomcat, start IIS7, netstat -an again - what address(es)

Re: Trying to access a directory outside docBase... is it possible ?

2009-12-15 Thread Peter Crowther
2009/12/15 André Warnier a...@ice-sa.com But maybe you could just create a link, inside your deployment directory, to the mount ? /opt/Tomcat/webapps/myApp/docs -- /opt/document-repository If you're going to do this, be Very Very Careful. Tomcat doesn't follow symbolic links by default,

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