Re: Security restrictions for Tomcat

2007-09-25 Thread Mikolaj Rydzewski
alla winter wrote: My application can crate report on a fly ( a file) for an authorized clients. The client authentication is conducted by the application and Tomcat is not involved in this process. Other clients may create a file in the same directory, but the application will show the links

Re: AJP Flush Packet causing text/plain output

2007-09-25 Thread Bill Barker
This has been given the bug # http://issues.apache.org/bugzilla/show_bug.cgi?id=43478 "Rainer Jung" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi Lary, > > Larry Reisler wrote: >> Thanks for your reply. There is a holiday here right now, so I'm not >> sure if I will be able t

Re: Tomcat hangs when shutting down

2007-09-25 Thread Gabe Wong
Yes, this topic has been discussed before. Check the solution in the following links: http://marc.info/?l=tomcat-user&m=119067369518153&w=2 http://www.ngasi.com/ngasihelp/ngasiuserguide/tomcat_fails_shutdown_complete.htm Andrew Friebel wrote: I have seen a few postings around about this, b

Tomcat hangs when shutting down

2007-09-25 Thread Andrew Friebel
I have seen a few postings around about this, but nothing that seems to solve my issue. When I shut down tomcat, it hangs and then throws a 'SEVERE: Protocol handler pause failed' error that I can't seem to resolve, but it does finally stop. I have seen suggestions such as: . Port is

Re: trés bonne occasion

2007-09-25 Thread Mark Thomas
David Delbecq wrote: > Someone wanna subscribe him to spam mailinglists? :D Done. Mark - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PR

java.net.MalformedURLException: no protocol: Files/thirdparty/TOMCAT/common/classes/

2007-09-25 Thread Jeffrey Nguyen \(jeffrngu\)
Hi, I have a Tomcat servlet which communicates with a stand-alone java application using RMI. I got the above exception whenever my servlet makes an RMI call. I have the following configuration in my "catalina.policy" file: common.loader=${catalina.home}/common/classes,${catalina.home}/common/i

Security restrictions for Tomcat

2007-09-25 Thread alla winter
Hello, My application can crate report on a fly ( a file) for an authorized clients. The client authentication is conducted by the application and Tomcat is not involved in this process. Other clients may create a file in the same directory, but the application will show the links only to the f

Re: AJP Flush Packet causing text/plain output

2007-09-25 Thread mgainty
FYI mod_jk that works (Apache -t says Syntax ok) http://archive.apache.org/dist/jakarta/tomcat-connectors/jk/binaries/win32/j k-1.2.6/ filename:mod_jk_1.2.6_2.0.50.dll filesize: 86016 (bookmark this site) Still looking for the mod_jk that works with Apache 2.2 Have a good holiday M-- - Origi

RE: AJP Flush Packet causing text/plain output

2007-09-25 Thread Larry Reisler
I understand your hesitation. I agree that my method was poor in terms of encapsulation, but was elegant in terms of its size, that it did not change any of the function signatures, and that it was easy to understand. The holiday has begun here, and I am off for this week -- I will try to test

Re: DeltaManager cannot receive message through TCP channel in Tomcat cluster

2007-09-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Daniel, Daniel M Garland wrote: > stream classdesc serialVersionUID = -139355480548586, > local class serialVersionUID = 8444624889687850885 Hmm... those numbers are /totally/ off. I was hoping for some kind of jumbling of hex values for the two

Re: AJP Flush Packet causing text/plain output

2007-09-25 Thread Rainer Jung
Hi Lary, Larry Reisler wrote: Thanks for your reply. There is a holiday here right now, so I'm not sure if I will be able to get to file the Bugzilla issue before the holiday break. Maybe this time we are faster than our request ticketing ... We tried a few different versions of mod_jk (the

Re: AJP Flush Packet causing text/plain output

2007-09-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martin, Martin Gainty wrote: > On a related note > Has there been any jk connector releases for Apache HTTP 2.2? Any reasonably recent version of mod_jk will work for Apache httpd 2.2. As always, building your own binary is the best strategy, but bin

Re: DeltaManager cannot receive message through TCP channel in Tomcat cluster

2007-09-25 Thread Filip Hanik - Dev Lists
you probably have some rogue java process still running somewhere with clustering enabled, Filip Daniel M Garland wrote: Hi all, I've been running two Tomcat 5.5.20 servers in a cluster for some time on Mac OSx but we've recently moved to 64-bit architecture (Debian etch) . I tried as far a

Re: Virtual Host and dynamic webapp reloading

2007-09-25 Thread Pid
Daniel M Garland wrote: > Hello, > > I have a virtual host configured on my Tomcat 5.5.20 cluster installation. > > In my server.xml, I have > > autoDeploy="true"> What config do you have in your Context(s)? p > And yet if I copy in a new war file (I'm using ant's deploy task) I > don't see

Virtual Host and dynamic webapp reloading

2007-09-25 Thread Daniel M Garland
Hello, I have a virtual host configured on my Tomcat 5.5.20 cluster installation. In my server.xml, I have autoDeploy="true"> And yet if I copy in a new war file (I'm using ant's deploy task) I don't see any changes to my webapp. If I look at the individual server's webapp via the manager a

DeltaManager cannot receive message through TCP channel in Tomcat cluster

2007-09-25 Thread Daniel M Garland
Hi all, I've been running two Tomcat 5.5.20 servers in a cluster for some time on Mac OSx but we've recently moved to 64-bit architecture (Debian etch) . I tried as far as possible to keep the config the same, so only the OS has changed (and I also got the Apache Portable Runtime going). Howev

Re: AJP Flush Packet causing text/plain output

2007-09-25 Thread Martin Gainty
On a related note Has there been any jk connector releases for Apache HTTP 2.2? Thanks M-- - Original Message - From: "Mladen Turk" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Tuesday, September 25, 2007 11:04 AM Subject: Re: AJP Flush Packet causing text/plain output > Jim Jagie

答复: ??: could two tomcat servers have mutual authentication?

2007-09-25 Thread 罗时飞
Yes, you are right, this is what my book used. :-) -邮件原件- 发件人: quanxin zhu [mailto:[EMAIL PROTECTED] 发送时间: 2007年9月25日 22:58 收件人: Tomcat Users List 主题: Re: ??: could two tomcat servers have mutual authentication? Let me post the solution: It is very easy to transfer client certificate to

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

2007-09-25 Thread Jiansen Niu
I have been using Tomcat 6.0 since it was released and I would say that it is much better that Tomcat 5.x. As addressed in its release document, besides support Servlet 2.5 and JSP2.1, Tomcat 6.0 made following improvements upon Tomcat 5.5: - Memory usage optimizations - Advanced IO capabil

Re: AJP Flush Packet causing text/plain output

2007-09-25 Thread Mladen Turk
Jim Jagielski wrote: Thanks for the patch. I'll check and likely commit. The core problem maybe is inside the Tomcat AJP connector (shouldn't send flush packets before sending headers) or in the webapp (which might trigger flushes to early), but it will be definitely good to be tolerant on t

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

2007-09-25 Thread quanxin zhu
Let me post the solution: It is very easy to transfer client certificate to servers that required client authentication using certificate, just add the following two statements in my webservice client: System.setProperty("javax.net.ssl.keyStore",keystore); System.setProperty("javax.net.ssl.keySt

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

2007-09-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, Mark Thomas wrote: > 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

RE: Tomcat 5.0 strange crashes

2007-09-25 Thread Peter Crowther
> From: keglius [mailto:[EMAIL PROTECTED] > Actually, the server almost doesn't have free memory. > 1007.9 MB of 1011.2 MB used; 3.2 MB available RAM OK, that's physical memory. What about swap? > I think Tomcat is configured to always use 1GB of memory. Then you have a problem anyway. You ha

Re: Uninstall options for tomcat 4.1.31

2007-09-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Eric, [EMAIL PROTECTED] wrote: > Where can I find a list of command line flags for the > uninstaller (uninst-tomcat4.exe)? Silly question: have you tried running it like this: C:\Wherever> uninst-tomcat4.exe /? I've found that many uninstallers o

RE: Tomcat 5.0 strange crashes

2007-09-25 Thread keglius
Thank you Peter and Caldarale for your answers. I will definately check for those settings. Actually, the server almost doesn't have free memory. 1007.9 MB of 1011.2 MB used; 3.2 MB available RAM I think Tomcat is configured to always use 1GB of memory. The server was working just fine earlier, b

RE: Tomcat 5.0 strange crashes

2007-09-25 Thread Caldarale, Charles R
> From: keglius [mailto:[EMAIL PROTECTED] > Subject: Tomcat 5.0 strange crashes > > The Java application works fine, however sometimes Apache > Tomcat 5.0 just crashes without any reasons. If you find nothing in the logs, Tomcat isn't "crashing". Since there also don't appear to be any of the

RE: Tomcat 5.0 strange crashes

2007-09-25 Thread Peter Crowther
> From: keglius [mailto:[EMAIL PROTECTED] > OS: RedHat el4 (Linux 2.6.9-42.0.8.EL) > The Java application works fine, however sometimes Apache > Tomcat 5.0 just crashes without any reasons. A wild stab in the dark... How much free memory do you have? I seem to recall DeadRat has an oom-killer i

Tomcat 5.0 strange crashes

2007-09-25 Thread keglius
Hello guys, I have a dedicated server (AMD 3200+) with 1GB of ram running an Apache Tomcat 5.0 version (it is integrated with Plesk). OS: RedHat el4 (Linux 2.6.9-42.0.8.EL) Java Servlets v2.4 MySQL: 4.1.20 Server software: Plesk version psa v8.1.0_build81070224.19 os_RedHat el4 I have my own J

Re: Load balancer (apache or hardware)

2007-09-25 Thread Andrew Miehs
On 25/09/2007, at 3:05 PM, Dave wrote: I am in the process of setting up a cluster of a number of JBoss. Should I use Apache or hardware load balancer in the front? Please advise. I am concerned about about Security and Performance. How much money do you want to spend? I personally prefe

Load balancer (apache or hardware)

2007-09-25 Thread Dave
I am in the process of setting up a cluster of a number of JBoss. Should I use Apache or hardware load balancer in the front? Please advise. I am concerned about about Security and Performance. Thanks Dave - Don't let your dream ride pass you by.

Re: AJP Flush Packet causing text/plain output

2007-09-25 Thread Jim Jagielski
On Sep 25, 2007, at 6:39 AM, Rainer Jung wrote: Larry Reisler wrote: Thanks for your reply. There is a holiday here right now, so I'm not sure if I will be able to get to file the Bugzilla issue before the holiday break. We tried a few different versions of mod_jk (the early ones had oth

Re: trés bonne occasion

2007-09-25 Thread David Delbecq
Someone wanna subscribe him to spam mailinglists? :D En l'instant précis du 25/09/07 12:30, [EMAIL PROTECTED] s'exprimait en ces termes: > tres bonne occasion > > a vendre pc portabe hp-compac tres bonne etat > processur AMD Turion 1,6GHz Bright view disque 80G > memoire 512 carte graphique ATI

trés bonne occasion

2007-09-25 Thread [EMAIL PROTECTED]
tres bonne occasion a vendre pc portabe hp-compac tres bonne etat processur AMD Turion 1,6GHz Bright view disque 80G memoire 512 carte graphique ATI RADEON XPRESS, craveur DVD double couche lecteur carte 9en 1 prix sacrifie contactez mohamed 20 312 657 [EMAIL PROTECTED]

Re: AJP Flush Packet causing text/plain output

2007-09-25 Thread Rainer Jung
Larry Reisler wrote: Thanks for your reply. There is a holiday here right now, so I'm not sure if I will be able to get to file the Bugzilla issue before the holiday break. We tried a few different versions of mod_jk (the early ones had other issues), but all the latest ones showed the proble

Re: AJP connector getPort

2007-09-25 Thread Rainer Jung
Andrew Hole wrote: HI! I have a solution with an apache with mod_jk and 2 tomcat instances. How can I know with a JSP which tomcat instance process the request? Basically I want that my JSP show AJP connector port. Thanks And now a third answer: if you really need the information in the http

Re: AJP connector getPort

2007-09-25 Thread Mikolaj Rydzewski
Andrew Hole wrote: I have a solution with an apache with mod_jk and 2 tomcat instances. How can I know with a JSP which tomcat instance process the request? Basically I want that my JSP show AJP connector port. Use JMX to get such information. Start JVM with following arguments http://tomc

RE: AJP Flush Packet causing text/plain output

2007-09-25 Thread Larry Reisler
Thanks for your reply. There is a holiday here right now, so I'm not sure if I will be able to get to file the Bugzilla issue before the holiday break. We tried a few different versions of mod_jk (the early ones had other issues), but all the latest ones showed the problem. We are currently us

RE: AJP connector getPort

2007-09-25 Thread Gerhardus . Geldenhuis
Hi Andrew, I am not sure whether you can do that in you ASP page but I am sure if you play around with the logging capabilities of mod_jk you should be able to log it in the mod_jk.log file Regards > -Original Message- > From: Andrew Hole [mailto:[EMAIL PROTECTED] > Sent: 25 September 2

AJP connector getPort

2007-09-25 Thread Andrew Hole
HI! I have a solution with an apache with mod_jk and 2 tomcat instances. How can I know with a JSP which tomcat instance process the request? Basically I want that my JSP show AJP connector port. Thanks - To start a new topic,

small-icon and large-icon issue

2007-09-25 Thread alee amin
Hi, I have following entry in my web.xml /images/bee_ico.jpg /images/bee_ico.jpg It displays the icon in address bar if i browse the web on MozillaFireFox. But if i browse the same web using IE it does not display any icon. Moreover, if i deploy it to to internet server, it shows "tomc

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

2007-09-25 Thread JacquiYan
Dear Rainer The memory properties are below. xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx Physical Memory: 4097.7 MBxx x xx xxReal Memory: xx x xx xx Active:

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

2007-09-25 Thread tw796021
Thank you for your fast response! OK, I switched the log level to trace and provoked the problem. The resulting Log file is attached. Regarding my worker and ...properties, they are quite minimalistic but they did their job, at least until now :) uriworkermap.properties: /Kolloquium/*=ajp13 wo