Re: How to connect Tomcat 6 to a LDAP-service for user auth.

2010-02-04 Thread Mark Thomas
On 05/02/2010 06:36, Wolfgang Hummel wrote: > > > Hi, > > we have to connect tomcat 6 user auth. to an LDAP service. I need some > documentation or howtos. > > First I wanna test it with a local OpenLDAP server and a local tomcat6 - > afterwards I have to connect it to ActiveDirectory. > > B

Re: Tomcat dies suddenly

2010-02-04 Thread André Warnier
Caldarale, Charles R wrote: .. (Like the man said, "Who would ever need more than 64k?") He had an excuse though : Java wasn't invented yet. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands

How to connect Tomcat 6 to a LDAP-service for user auth.

2010-02-04 Thread Wolfgang Hummel
Hi, we have to connect tomcat 6 user auth. to an LDAP service. I need some documentation or howtos. First I wanna test it with a local OpenLDAP server and a local tomcat6 - afterwards I have to connect it to ActiveDirectory. But no documentation - no fun :-) Thanks and regards Wolfgang Humm

RE: Heap size rule for Tomcat 5.5

2010-02-04 Thread Caldarale, Charles R
> From: evebill8 [mailto:evebi...@hotmail.com] > Subject: Heap size rule for Tomcat 5.5 > > I heard the rule to set the Tomcat's heap size is 2/3 of the memory. That sounds like nonsense. The minimum size of your heap is whatever you need to handle the expected load on your applications. The m

RE: How can I tell if Tomcat is shutting down

2010-02-04 Thread Caldarale, Charles R
> From: evebill8 [mailto:evebi...@hotmail.com] > Subject: How can I tell if Tomcat is shutting down > > I want to run some clean up routines before the Tomcat is > shutting down. Read section SRV.10 of the servlet spec and the servlet API doc to learn how to use ServletContextListener classes.

Heap size rule for Tomcat 5.5

2010-02-04 Thread evebill8
I heard the rule to set the Tomcat's heap size is 2/3 of the memory. We are running Tomcat 5.5 on the 64-bit Linux. The box has 16GB of RAM, and we just allocate 8GB to heap. If the rule is true, this means I can allow at least 10GB to Tomcat, and leave 6GB to the OS. Please correct me if I am

How can I tell if Tomcat is shutting down

2010-02-04 Thread evebill8
Hi folks, I want to run some clean up routines before the Tomcat is shutting down. Not all the clean up routines are in the servlets so I cannot depend on the destroy method. In addition, I need the routines are being run before objects are destructed by the shut down. Thanks! -- View this

Re: Can't log in to Tomcat

2010-02-04 Thread Peter B. West
NetBeans keeps its own copy of the configuration in ~/.netbeans/6.8/apache-tomcat-6.0.20_base/conf/Catalina. If you check the tomcat-users.xml in there, you will find the user, role and password. DarkMatter2009 wrote: > > I forgot to mention that it was installed with netbeans 6.8. I've just n

RE: Tomcat dies suddenly

2010-02-04 Thread Caldarale, Charles R
> From: Caldarale, Charles R > Subject: RE: Tomcat dies suddenly > > > 6. Carl was using 32-bit Linux, which he isn't :( > > Correct, which made the whole point moot, so I'm not sure why Dan even > brought it up. Sorry, wrong attribution; it was Mark E, not Dan, who mentioned it. - Chuck THI

RE: Tomcat dies suddenly

2010-02-04 Thread Mark Eggers
--- On Thu, 2/4/10, Caldarale, Charles R wrote: > > 6. Carl was using 32-bit Linux, which he isn't :( > > Correct, which made the whole point moot, so I'm not sure > why Dan even brought it up. > I just mentioned the 32-bit Linux behavior for completeness. I did state that I realized 32-bit L

Re: JSF files with IIS

2010-02-04 Thread Jordan Michaels
Hi, This depends on how your set up, but if I had to guess, I'd say the following: Check your uriworkermap.properties file and make sure JSF pages are a mapped extension. Hope this helps! Warm regards, Jordan Michaels Vivio Technologies http://www.viviotech.net/ Open BlueDragon Steering Co

RE: JSF files with IIS

2010-02-04 Thread Caldarale, Charles R
> From: BradPitt [mailto:brad.pitt1...@gmail.com] > Subject: JSF files with IIS > > IIS is able to serve the JSP pages but not the JSF page. > What could be the problem? http://www.catb.org/~esr/faqs/smart-questions.html Go back to acting. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL

RE: Tomcat dies suddenly

2010-02-04 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: Tomcat dies suddenly > > 1. 32-bit Linux didn't support 64GiB of system memory, which it does I didn't make it clear: this is not a software issue, it's the way the x86 architecture works for addressing memory over

Re: Tomcat dies suddenly

2010-02-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 2/4/2010 5:36 PM, Caldarale, Charles R wrote: >> From: Christopher Schultz [mailto:ch...@christopherschultz.net] >> Subject: Re: Tomcat dies suddenly >> >> I'm not sure what "low memory" space you're talking about. I don't >> believe Linu

Updating CRL in Tomcat 6 without taking it down

2010-02-04 Thread Praveen Pat
Hello: I am running Tomcat 6 in SSL mode with ClientAuth=true. Here are my Connector Properties: The problem I have is how to update the CRL. If I do not update the CRL, Tomcat does not let any of my users in. It blocks all the users. To update the CRL, I have to stop the Tomcat, and I am tryin

JSF files with IIS

2010-02-04 Thread BradPitt
IIS is able to serve the JSP pages but not the JSF page. What could be the problem? thanks - Brangelina:-D -- View this message in context: http://old.nabble.com/JSF-files-with-IIS-tp27461187p27461187.html Sent from the Tomcat - User mailing list archive at Nabble.com. ---

Re: mod jk 1.2.2X logging

2010-02-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Singh, On 2/4/2010 2:22 PM, Rajwinder-office Singh wrote: > What is noticed is : If i compile mod jk source 1.2.28 with simply > --with-apxs option it start creating logs/mod_jk.log under apache home. Default JkLogFile is logs/mod_jk.log Default JkLo

Re: Parameters disappear from PUTs

2010-02-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chas, On 2/3/2010 11:40 PM, c...@munat.com wrote: > I am submitting forms to a restful interface using an HTTP PUT with the > params in the header of the PUT. I believe that's normal, and it works > just fine on Jetty. The params are definitely sent.

RE: Tomcat dies suddenly

2010-02-04 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: Tomcat dies suddenly > > I'm not sure what "low memory" space you're talking about. I don't > believe Linux segments memory in any particular way. As I understand it, the first 4 GB is "low memory"; it's much easier

Re: Tomcat dies suddenly

2010-02-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andy, On 2/3/2010 9:10 PM, andy susanto wrote: > Tomcat has a bug at Linux OS. you need to added LD_LIBRARY_KERNEL to > your profile. it mean that you should know what version that your OS > is using I don't believe the above tip is relevant nor vali

Re: Tomcat dies suddenly

2010-02-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 2/3/2010 11:46 PM, Mark Eggers wrote: > From the taroon-list: If you're running a 32 bit Linux and run out of > low memory, it doesn't matter how much high memory you have, the OOM > killer will start killing processes off. Since you're runni

Problem with JK connector on OpenSolaris and SunOne webserver 7

2010-02-04 Thread David Brown
I'm trying to build and get working the tomcat-connector on OpenSolaris using SunOne webserver 7. I've built it with GCC and/or CC but when I try to start and instance of the web server I get the line [Thu Feb 04 21:05:05.989 2010] [29901:1] [debug] jk_init::jk_nsapi_plugin.c (301): jk_init, a

Re: Using Context/Manager with custom nested element

2010-02-04 Thread Martin Grotzke
On Thu, 2010-02-04 at 12:27 +, Pid wrote: > On 03/02/2010 23:50, Martin Grotzke wrote: > > On Fri, 2010-01-29 at 14:58 +, Pid wrote: > >> On 29/01/2010 11:33, Martin Grotzke wrote: > >>> Hi Pid, > >>> > >>> what you describe is correct and works, I've implemented a Manager > >>> implementat

Re: Tomcat dies suddenly

2010-02-04 Thread Carl
Tsirkin, I doubt that will help as the server already has 19GB of swap and the swap is never touched. Thanks for the suggestion. Carl - Original Message - From: "Tsirkin Evgeny" To: "Tomcat Users List" Sent: Thursday, February 04, 2010 3:11 PM Subject: Re: Tomcat dies suddenly

Re: Tomcat dies suddenly

2010-02-04 Thread Tsirkin Evgeny
Just an advise . I don't know what the problem is,however suppose that this is OOM killer - why not just add some GB of swap disk spae is even chiper then RAM Evgeny On Thu, Feb 4, 2010 at 9:04 PM, Carl wrote: > Chuck and Dan, > > First, some housekeeping to respond to your points and questions:

mod jk 1.2.2X logging

2010-02-04 Thread Rajwinder-office Singh
What is noticed is : If i compile mod jk source 1.2.28 with simply --with-apxs option it start creating logs/mod_jk.log under apache home. How can we stop mod jk 1.2.2X to log any thing until we mention explicitly as jklogfile option ? Thanks Singh

Re: Tomcat dies suddenly

2010-02-04 Thread Mark Thomas
On 04/02/2010 19:04, Carl wrote: > I checked /usr/local/tomcat/logs but found only the usual files. The > information was in catalina.2010-02-04.log showed our nightly restart of > Tomcat but nothing more recent. There were, however, several entries > like the following that indicate some kind of

Re: Tomcat dies suddenly

2010-02-04 Thread Carl
Chuck and Dan, First, some housekeeping to respond to your points and questions: 1. The 3.6GB I stated in my prior email to Dan was the total memory used. The Tomcat process (from top) was 1.7-1.8GB. 2. I did not know that Linux cached disk accesses in RAM. I have worked with Linux (and U

Re: Configuring two connectors and COMET Read event

2010-02-04 Thread Stephen Byrne
Animesh Sonkar wrote: *snip* > 2. I am not able to invoke the READ event. How do i do that? You need to send the HTTP request as chunked data. If you happen to be using an HttpURLConnection, call setChunkedStreamingMode( 1 ). If you are taking a lower level approach, (i.e. using sockets), send a

Re: Slow requests when using "Executor" pool

2010-02-04 Thread Filip Hanik - Dev Lists
turn off keep alive for your profiler to not give you false positives maxKeepAliveRequests="1" On 02/03/2010 02:14 PM, youngm wrote: (This is a new thread spawned from my "Tomcat 6.0.24 Google Chrome" thread with better information) I'm running Tomcat 6.0.24, Sun JDKx86 6u18, Windows 7 6

RE: Tomcat dies suddenly

2010-02-04 Thread Caldarale, Charles R
> From: Carl [mailto:c...@etrak-plus.com] > Subject: Re: Tomcat dies suddenly > > if I understand it correctly, Tomcat is (mostly) running in > the heap and should, therefore, not be requiring more memory Not necessarily. The real memory used by a Java process can continue to climb until all t

Re: Timeout when sending message via HTTP out of a webapp. on tomcat 6.20

2010-02-04 Thread Peter Crowther
Timeouts from what to what? If from your webapp (acting as a client) to a SAP host, this is something Tomcat neither knows nor cares about; you will have to configure the code you have written to connect so that it uses a longer timeout. - Peter On 4 February 2010 17:01, Wolfgang Hummel wrote:

Re: Still unable to get a heap dump from Tomcat running on Windows as a service

2010-02-04 Thread Laird Nelson
And the whole thing was a red herring. Well, most of it anyway. The buggy download page wasn't, and, indeed, the GUI monitor cannot change Tomcat's "run as" user despite pretending that it can, but those are comparatively minor issues. I'm sure that had Tomcat actually run out of memory, it

AW: max heap size on Windows server 64 bit

2010-02-04 Thread Wolfgang Hummel
Hi Chuck, great - I work with tomcat 6.20 and there I need these patches. I think I change to the current version :-) Thanks a lot! Bye Wolfgang -Ursprüngliche Nachricht- Von: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Gesendet: Donnerstag, 4. Februar 2010 18:05 An: To

RE: max heap size on Windows server 64 bit

2010-02-04 Thread Caldarale, Charles R
> From: Wolfgang Hummel [mailto:wolfgang.hum...@energy4u.org] > Subject: AW: max heap size on Windows server 64 bit > > if you wanna install tomcat 1.6 on a 64bit windows server with a 64 bit > java you have to download an extra patch for tomcat6w.exe and > tomcat6.exe from svn. Not true - the ap

Timeout when sending message via HTTP out of a webapp. on tomcat 6.20

2010-02-04 Thread Wolfgang Hummel
Hi, we are sending large messages via http from a tomcat-webapps to a SAP host. Sometimes we are getting timeouts. Now my question: Is there a parameter in tomcat 6 to increase the timeout time? Thanks and best regards Wolfgang Hummel

AW: max heap size on Windows server 64 bit

2010-02-04 Thread Wolfgang Hummel
Hi Domenico, if you wanna install tomcat 1.6 on a 64bit windows server with a 64 bit java you have to download an extra patch for tomcat6w.exe and tomcat6.exe from svn. Afterwards you have to set JAVA_HOME to your JDK (JRE is not enough). Regards Wolfgang Hummel -Ursprüngliche Nachricht

Re: what's main difference between tomcat 5 and tomcat 6

2010-02-04 Thread André Warnier
1 ? - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

[Fwd: Re: Parameters disappear from PUTs]

2010-02-04 Thread André Warnier
Hi. I'll forward your reply to the list, since apparently you did not. Let me just point out that I was only trying to help, and I do not believe that there were any grounds in my reply for the sarcastic tone used in yours. In the meantime, I did re-read both sections of the RFC 2616 (9.5 POS

Re: Tomcat dies suddenly

2010-02-04 Thread Dan Armbrust
> 1.  I had always used top to see memory used until I saw the system monitor > tools in Slackware.  Had not compared the two.  At this moment, the system > monitor is reporting .96GB of memory used while top and vmstat are reporting > 3.6GB... quite a difference.  From now on, top/vmstat it is.  F

Re: Tomcat dies suddenly

2010-02-04 Thread Carl
Chuck, An interesting situation. Of the 4028MB of physical memory, top was showing usage 4001MB used... now, that would be really inviting. (Note that none of the 19GB swap was being used.) I had X windows, the system monitor, VisualJVM and a browser running. Further, the memory used by th

RE: Configuring two connectors and COMET Read event

2010-02-04 Thread Caldarale, Charles R
> From: Animesh Sonkar [mailto:akson...@gmail.com] > Subject: Configuring two connectors and COMET Read event > > Now i also need two connectors to be setup in server.xml. Why do you think that? > One is a normal HTTP/1.1 connector and another a NIO connector. Why not just the NIO connector? >

RE: Tomcat dies suddenly

2010-02-04 Thread Caldarale, Charles R
> From: Carl [mailto:c...@etrak-plus.com] > Subject: Re: Tomcat dies suddenly > > top and vmstat are reporting 3.6GB... That must look quite inviting to the OOM killer. > The only reference to 'RunTime' I could find It's "Runtime", not "RunTime", if you were doing case-sensitive searches. > I

Re: max heap size on Windows server 64 bit

2010-02-04 Thread Mark Thomas
On 04/02/2010 13:11, Mehrotra, Anurag wrote: > I just finished installing 64 bit tomcat (6.0.24) on 64 bit JVM > (1.6.0_18)on 64 bit OS (WIN 2008). I was able to install it as a service > without any problems. > > The trick is to start with the zip file distribution (64 bit). Do not > use the wind

RE: max heap size on Windows server 64 bit

2010-02-04 Thread Mehrotra, Anurag
I just finished installing 64 bit tomcat (6.0.24) on 64 bit JVM (1.6.0_18)on 64 bit OS (WIN 2008). I was able to install it as a service without any problems. The trick is to start with the zip file distribution (64 bit). Do not use the windows installer as it is for 32 bit. Here are the steps:

Re: Tomcat dies suddenly

2010-02-04 Thread Carl
Kees Jan, Actually, since the first machine I brought it up was brand new, my first thought was a bad memory stick that only had a problem in a certain temperature range. However, running memtest86 for 30 hours showed nothing and the problem happened on a second machine (also brand new but a

Re: Tomcat dies suddenly

2010-02-04 Thread Carl
Mark, This was both helpful and intriguing. 1. I had always used top to see memory used until I saw the system monitor tools in Slackware. Had not compared the two. At this moment, the system monitor is reporting .96GB of memory used while top and vmstat are reporting 3.6GB... quite a diff

Re: Parameters disappear from PUTs

2010-02-04 Thread André Warnier
c...@munat.com wrote: I am submitting forms to a restful interface using an HTTP PUT with the params in the header of the PUT. I believe that's normal, and it works just fine on Jetty. The params are definitely sent. When I load my app into Tomcat 6 (Ubuntu), the form submission works perfectly

Re: Using Context/Manager with custom nested element

2010-02-04 Thread Pid
On 03/02/2010 23:50, Martin Grotzke wrote: On Fri, 2010-01-29 at 14:58 +, Pid wrote: On 29/01/2010 11:33, Martin Grotzke wrote: Hi Pid, what you describe is correct and works, I've implemented a Manager implementation that uses simple attributes until now (for memcached based session failo

Configuring two connectors and COMET Read event

2010-02-04 Thread Animesh Sonkar
Hi, I am developing an alication where i need two servlets. One is a normal Http Servlet and another is a comet servlet. Now i also need two connectors to be setup in server.xml. One is a normal HTTP/1.1 connector and another a NIO connector. I made changes to the server.xml as follows. serve

Re: what's main difference between tomcat 5 and tomcat 6

2010-02-04 Thread Pid
On 04/02/2010 08:05, Shixiang Wen wrote: May I draw your attention to the Tomcat website? http://tomcat.apache.org/whichversion.html p ___ 好玩贺卡等你发,邮箱贺卡全新上线! http://card.mail.cn.yahoo.com/

Re: Still unable to get a heap dump from Tomcat running on Windows as a service

2010-02-04 Thread Mark Thomas
On 04/02/2010 10:27, Domenico Marzilli wrote: > Mark, > please could you provide the .exe self-extracting-installer package for > x64 (apache-tomcat-6.0.24-windows-x64.exe), too? The .exe installer works for both 32 and 64 bit windows. Mark > Tnx > > > > - Original Message - From: "Ma

Re: Still unable to get a heap dump from Tomcat running on Windows as a service

2010-02-04 Thread Domenico Marzilli
Mark, please could you provide the .exe self-extracting-installer package for x64 (apache-tomcat-6.0.24-windows-x64.exe), too? Tnx - Original Message - From: "Mark Thomas" To: "Tomcat Users List" Sent: Thursday, February 04, 2010 10:57 AM Subject: Re: Still unable to get a heap du

Tomcat hangs up - Timeout

2010-02-04 Thread Alexander Diedler
Hello, Our cluster (Apache 2.2.14 + mod_jk 1.2.27 + Tomcat 6.0.20) with two nodes sometimes hung up and doesn´t deliver anything. Just a rotating earth in IE =;o) So I think the connector lost communication to the node or other reasons. Worker.properties: # List the workers name worker.list= w

Re: Still unable to get a heap dump from Tomcat running on Windows as a service

2010-02-04 Thread Mark Thomas
On 04/02/2010 08:43, André Warnier wrote: > Laird Nelson wrote: >> Another data point: people have told me to download the Windows .zip >> distribution of Tomcat 6.0.24. I want to point out that this is not >> linked >> anywhere on the Tomcat download page. The *base* distribution is of >> course

Re: Parameters disappear from PUTs

2010-02-04 Thread Mark Thomas
On 04/02/2010 07:35, c...@munat.com wrote: > Sorry, I checked and it is already "no". I have full control of the > server, albeit it's 2000 miles away... Looks like a bug at this point. Please create a bugzilla entry. Mark > > Chas. > >> As a quick check, can you go into /etc/init.d/tomcat6 an

Re: Still unable to get a heap dump from Tomcat running on Windows as a service

2010-02-04 Thread André Warnier
Laird Nelson wrote: Another data point: people have told me to download the Windows .zip distribution of Tomcat 6.0.24. I want to point out that this is not linked anywhere on the Tomcat download page. The *base* distribution is of course linked, and the .exe self-extracting-installer package,

Re: max heap size on Windows server 64 bit

2010-02-04 Thread Domenico Marzilli
It's normal to be forced to double the heap on migrating from x32 to x64 hw. Just think to the pointer addressing , that is based on a 64bit representation of the memory address, rrather than a 32bit. By the way, how did you install it as a service? Did you find a Windows installer? I tryed to

Re: Embedding tomcat and bug in org.apache.catalina.startup.Catalina

2010-02-04 Thread Henning Blohm
ok, done. Thanks, henning Am Mittwoch, den 03.02.2010, 13:08 +0300 schrieb Konstantin Kolinko: > public class MyCatalina extends Catalina { > >public Server getServer() { > >return this.server; > >} > > } > > ---

what's main difference between tomcat 5 and tomcat 6

2010-02-04 Thread Shixiang Wen
___ 好玩贺卡等你发,邮箱贺卡全新上线! http://card.mail.cn.yahoo.com/

Re: max heap size on Windows server 64 bit

2010-02-04 Thread Peter Crowther
On any 64-bit OS, more than 2G is fine. I know several places running dedicated application servers with 16G RAM and 12G Java heaps. Where have you read about the 2G recommendation? I want to send them an email... :-). - Peter On 4 February 2010 07:53, Wolfgang Hummel wrote: > Hi, > > we are