Re: Tomcat and webdav in general [Beginner]

2007-09-24 Thread Sven Braun
Hello again, The thing is that the company wants to implement webdav to it's own existing document and knowledge management system, allowing users to change content without downloading a document and having to upload it back again. I believe the documents are opened from within that management

Tomcat, IIS and Authentication

2007-09-24 Thread Preuss, Jacqueline - ENCOWAY
Hi all! We have an application (hosted with Tomcat) which has to communicate with the .NET world, i.e. our web application is integrated in an Asp.Net application hosted by an IIS. So, to connect both we have an Asp.Net Connector on the one side and a Java Connector on the other side. If the

Re: ??: could two tomcat servers have mutual authentication?

2007-09-24 Thread quanxin zhu
ok, I know. Thx a lot! 2007/9/24, Mark Thomas [EMAIL PROTECTED]: quanxin zhu wrote: Could you explain it in detail? You have written the code to call a web service. You need to write additional code to pass a certificate. where could I find the instruction to modify the code to

Re: Problems with JAAS-Realm

2007-09-24 Thread Franck Borel
Hi David, thanks again for your time! There is only one instance of your realm that is shared by all incoming requests. That mean only local values inside methods are individual. Every property that is stored at instance of class level is to be accessed and stored in a ThreadSafe manner. It's

RE: Basic question - Ingterating Tomcat with Apache

2007-09-24 Thread Peter Crowther
From: albrecht andrzejewski [mailto:[EMAIL PROTECTED] I think tomcat stand alone is - easier to deploy. And that's all. There are also fewer things to fail, and a smaller learning curve for your system administrators (if they don't already know Apache httpd and the JK connector). I think

Re: JSP - static mirroring

2007-09-24 Thread Sonal Goyal
What do you mean by parse, compile and highlight .htmls ? On 9/22/07, Dola Woolfe [EMAIL PROTECTED] wrote: Hassan, that's terrific, thank you! Would you happen to know how to get Eclipse to parse, compile, and highlight .html's the same way it does .jsp's? Thanks again! Dola --- Hassan

Re: Tomcat and webdav in general [Beginner]

2007-09-24 Thread Sven Braun
Alright I got some more information about the cms structure. One doesn't have access to the actual files but to a database (well, I don't). Which is even more confusing. So I was told to find a way to represent that data-tree creating a program that could look at the db-structure to be used with

Cactus Authentication problem with Tomcat 5.5.20

2007-09-24 Thread Nicolas Clemeur
Hello all, I am having some difficulties to setup cactus tests using tomcat 5.5.20 (Everything works fine with 5.5.20). I am using form authentication in cactus tests (as described on the cactus web site). When I look at the generated request, I get the authentication layer called with all

Re: How to control encoding of response.sendRedirect? (Tomcat 5.5.17)

2007-09-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, Mark Thomas wrote: Check the HTTP spec. I am pretty sure (but haven't checked) that the headers must always be in ISO-8859-1. The HTTP spec doesn't say: it points to RFC 822. - From RFC 822, section 3.1.2: Once a field has been unfolded,

RE: Re: Performing SSL on tomcat using the JAAS ream

2007-09-24 Thread Clinton J. Totten
Thanks Bill for the information but I'm a bit confused b/c the tomcat documentation talks about how to configure the JAAS realm: http://jakarta.apache.org/slide/howto-jaas.html. -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Bill Barker Sent: Friday, September 21,

issue when redirect/forward on not - parsed form/multipart request

2007-09-24 Thread tw796021
Hello, Hopefully this is the right place for my problem. I wrote a servlet (running on Apache Tomcat 5.5) using Commons FileUpload and it works good except for the following problem: If a user wants to upload a file larger then sizeMax, a SizeLimitExceededException is thrown while parsing the

mod_jk JkShmFile directive

2007-09-24 Thread Gerhardus . Geldenhuis
Hi I have asked about this directive(JkShmFile) before but on the apache-http list. I am still not 100% clear as to the exact usage of this directive. This page is very vague about usage: http://tomcat.apache.org/connectors-doc/reference/apache.html After a lot of googling and searching

Re: mod_jk JkShmFile directive

2007-09-24 Thread Rainer Jung
[EMAIL PROTECTED] wrote: My questions Is this shared memory used by different child apache processes on the same machine or is it a bit more involved than that. Yes, its simply that. The shared memory contains configuration and runtime information for load balancer workers and

Re: issue when redirect/forward on not - parsed form/multipart request

2007-09-24 Thread Rainer Jung
Hi Thomas, [EMAIL PROTECTED] wrote: I wrote a servlet (running on Apache Tomcat 5.5) using Commons FileUpload and it works good except for the following problem: If a user wants to upload a file larger then sizeMax, a SizeLimitExceededException is thrown while parsing the request and I want to

Re: Problem with nsapi_connector.so and HTTP 304 response from JBoss

2007-09-24 Thread Matt Cristantello
Rainer, Thanks very much for the help. I can't believe I didn't catch that! Works fine now. For what it's worth, the linux server obj.conf file did not have that goofy 3= stuff, it just had the Service command on the same line and that was enough to break it. Thanks again! ~Matt [EMAIL

Re: Tomcat, IIS and Authentication

2007-09-24 Thread Gabe Wong
Jacqueline, Just to follow your question, Are you asking if it is possible to create a custom Tomcat Realm, where the user/password provided from the java application login page is checked against the windows user authentication system? Preuss, Jacqueline - ENCOWAY wrote: Hi all! We

Tomcat maxThreads

2007-09-24 Thread Mike Crawford
Hi, I'd like to know if there are any gotchas from increasing maxThreads well beyond the standard 150. For instance, on a new Dell 1950 dual-core with 4GB RAM, why not try 300 or even thousands of threads? I will be putting Lighty or Apache in front of Tomcat, which is also a potential

Cygwin and mod_jk

2007-09-24 Thread Javier Badaracco
Hi: Someone has experience in putting to work mod_jk winthin an apache instance running in cygwin. Thanks

Re: Tomcat maxThreads

2007-09-24 Thread Filip Hanik - Dev Lists
Threads in hundreds, or lower one thousand is ok, if you need more, question yourself :) ie, if you need more concurrency, simply turn of keep alives. Having too many threads will do the following 1. Eat up a good chunk of memory 2. Your system will spend too much time context switching Filip

Re: Tomcat 5.5.25 takes 5 minutes to shut down.

2007-09-24 Thread Gabe Wong
Hi Hermansen, Check the solution in the following link: http://www.ngasi.com/ngasihelp/ngasiuserguide/tomcat_fails_shutdown_complete.htm Hermansen, Erik wrote: Hello! I'm running Tomcat 5.5.25 on SLED 10. I performed the installation of Tomcat manually, using the apache-tomcat-5.5.25

Uninstall options for tomcat 4.1.31

2007-09-24 Thread ehawkes
Hi, I haven't been able to find the answer to this in the MARC archives or elsewhere. Where can I find a list of command line flags for the uninstaller (uninst-tomcat4.exe)? Our product includes tomcat 4.1.31. I would like to silently uninstall tomcat 4.1 before upgrading our users to

Tomcat 5.5.25 takes 5 minutes to shut down.

2007-09-24 Thread Hermansen, Erik
Hello! I'm running Tomcat 5.5.25 on SLED 10. I performed the installation of Tomcat manually, using the apache-tomcat-5.5.25 archive from Apache's website. Tomcat will start fine and operate as expected, but shutting down is unreliable and often takes about 5 minutes to complete. If I run

Re: Tomcat maxThreads

2007-09-24 Thread Mike Crawford
Hi Filip, The reason I want to use more threads is because of the nature of our AJAX client. 'Sleeping' threads on the server seems like a viable option compared to polling, and therefore I'm wondering how many threads to use. Other options include Jetty 6 'Continuation' or equivalents -

AJP Flush Packet causing text/plain output

2007-09-24 Thread Larry Reisler
We recently switched our development JBOSS instance from 4.05GA to 4.21GA, where we are have been using mod_jk for connecting an Apache front end server (2.2) to the Tomcat AppServer. We have noticed periodic times when the apache web server will return data with a content-type of plain/text

Re: Tomcat maxThreads

2007-09-24 Thread Filip Hanik - Dev Lists
In Tomcat 6 we have the Comet servlet, you would have to use 6.0.x trunk, since there is a connection reuse bug in 6.0.14 Filip Mike Crawford wrote: Hi Filip, The reason I want to use more threads is because of the nature of our AJAX client. 'Sleeping' threads on the server seems like a

Re: Tomcat maxThreads

2007-09-24 Thread Mike Crawford
Thanks Filip, The link that I pasted below led me to think Comet servlet wouldn't work when applying the Yale CAS SSO filter that I use. I'll see how it goes. Regards, Mike On 9/24/07, Filip Hanik - Dev Lists [EMAIL PROTECTED] wrote: In Tomcat 6 we have the Comet servlet, you would have to

Vmware and Tomcat 5.x 6.x

2007-09-24 Thread Mitesh Shah
Hi, I am fairly new to this user group. I have deployed Tomcat 5.0 and Tomcat6.0 on our Virtualized environment; consist of ESX 3.0 servers with Clarion storage. This is first ever deployment of our product on virtual environment and we are facing lots of issues of slowness. There are too many

Re: Tomcat 5.5.25 takes 5 minutes to shut down.

2007-09-24 Thread Martin Gainty
Ive seen this too where the main process is stopped but the connections to the Listener stay alive for a while netstat -a | grep Port shows activity until all the connections are quiesced.. Ive see where commenting out the APR listener allows a quicker stop for tomcat e.g. !-- Listener

Re: Vmware and Tomcat 5.x 6.x

2007-09-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mitesh, Mitesh Shah wrote: This is first ever deployment of our product on virtual environment and we are facing lots of issues of slowness. There are too many variables to monitor and looking for some path to follow. Is the whole server slow,

RE: Tomcat 5.5.25 takes 5 minutes to shut down.

2007-09-24 Thread Hermansen, Erik
The solution Gabe pointed to fixed the problem. I found that my hostname was set to an old IP address no longer in use. When I added an entry to the hosts file, the shutdown script finished quickly as expected. Martin, I decided not to try commenting out the listener, since at that point,

RE: Tomcat 5.5.25 takes 5 minutes to shut down.

2007-09-24 Thread Caldarale, Charles R
From: Hermansen, Erik [mailto:[EMAIL PROTECTED] Subject: RE: Tomcat 5.5.25 takes 5 minutes to shut down. I decided not to try commenting out the listener, since at that point, nothing was broke. You must not comment out the APR listenter if you're actually using APR. If you're not using

RE: Vmware and Tomcat 5.x 6.x

2007-09-24 Thread Mitesh Shah
Thanks Chris for reply. Clarion is SAN, so all are data and OS partitions are on SAN. Whole server works fine but our application works using tomcat and I have installed around 20 instances of tomcats on one virtual machine (2.66GHz and 4GB RAM). On similar line, does JDK takes advantage of two

Re: Vmware and Tomcat 5.x 6.x

2007-09-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mitesh, Mitesh Shah wrote: Thanks Chris for reply. Clarion is SAN, so all are data and OS partitions are on SAN. Okay. That shouldn't be a problem. Whole server works fine but our application works using tomcat and I have installed around 20

Re: Tomcat and webdav in general [Beginner]

2007-09-24 Thread Mark Thomas
Sven Braun wrote: Alright I got some more information about the cms structure. One doesn't have access to the actual files but to a database (well, I don't). Which is even more confusing. So I was told to find a way to represent that data-tree creating a program that could look at the

Re: Vmware and Tomcat 5.x 6.x

2007-09-24 Thread Gabe Wong
Mitesh, The most important thing with regards to the JVM, is available memory. Of extra importance in this case is the amount of memory (REAL/PHYSICAL) allocated to the Virtual Environment (VMWare). That said, you also need to determine the Memory Heap usage of each of the JVM instances.

Re: How to control encoding of response.sendRedirect? (Tomcat 5.5.17)

2007-09-24 Thread Mark Thomas
Christopher Schultz wrote: Unfortunately, I can't find anywhere in the spec that says which encoding to use in URLs for % HEX HEX encoding. AFAIR there is a W3C recommendation that it should be UTF-8 but it isn't mandated by any spec. Mark

Tomcat 6 JBoss 4.2.1

2007-09-24 Thread Tony Anecito
Hi All, Is there any recent (in the last year) Tomcat to JBoss EJB examples anywhere? I see old examples that mention using a jndi.properties file and others that indicate a config.xml and others a server.xml. Very confusing but there must be more recent examples. I am trying to use Tomcat 6.0.14

Re: Uninstall options for tomcat 4.1.31

2007-09-24 Thread Mark Thomas
[EMAIL PROTECTED] wrote: Where can I find a list of command line flags for the uninstaller (uninst-tomcat4.exe)? Our product includes tomcat 4.1.31. I would like to silently uninstall tomcat 4.1 before upgrading our users to tomcat 5.5. When running the tomcat 4.1 uninstaller

tomcat5.1 out of memory for swap space not released!

2007-09-24 Thread 颜燕
I am a Chinese and English is not well,but I will try my best to express myself.I have HP-UX operation system with JDK1.5 and sybase.But after tomcat5.0 running for some times ,it would out of memory.The tomcat5.0 process continuously allocated swap space but not released it.So when swap

Re: tomcat5.1 out of memory for swap space not released!

2007-09-24 Thread Mark Thomas
Tomcat 5.0.x has some memory leaks but as far as I recall they were mostly related to context reload. If you are reloading your app, I'd suggst an upgrade to the latest 5.5.x. If you are not reloading, then your app probably has a memory leak. I'd suggest using a profiler such as YourKit to try

Re: tomcat5.1 out of memory for swap space not released!

2007-09-24 Thread Mark Thomas
Tomcat 5.0.x has some memory leaks but as far as I recall they were mostly related to context reload. If you are reloading your app, I'd suggst an upgrade to the latest 5.5.x. If you are not reloading, then your app probably has a memory leak. I'd suggest using a profiler such as YourKit to try

AW: Tomcat, IIS and Authentication

2007-09-24 Thread Preuss, Jacqueline - ENCOWAY
Hi! Actually, I want it to work the other way round, i.e. we don't have a java application login page because the user is authenticated via the .Net application (- via IIS and integrated windows authentication). We integrated our java application to that windows (Asp.Net) application. If the