Re: 64-bit connector issues on W2K8 IIS7

2009-09-14 Thread Rainer Jung
On 15.09.2009 05:34, George Sexton wrote: > Most likely, someone has configured IIS to run in 32-bit mode. I had this > happen with a customer. They were using another app that required 32-bit > mode for compatibility. > > If you do end up running the 32-bit Redirector, you need to put your > regi

RE: 64-bit connector issues on W2K8 IIS7

2009-09-14 Thread George Sexton
Most likely, someone has configured IIS to run in 32-bit mode. I had this happen with a customer. They were using another app that required 32-bit mode for compatibility. If you do end up running the 32-bit Redirector, you need to put your registry entry under HKEY_LOCAL_MACHINE\Software\WOW6432No

Re: tomcat & url rewrite

2009-09-14 Thread WILLIAMer
To Christopher Schultz-2, See my previous post, i have used urlrewrite( http://tuckey.org/urlrewrite/ http://tuckey.org/urlrewrite/ ) I already write the rule in rewrite.xml for /item_123.html to /getItemPage?itemname=123 I got the problem if the item name(from database) have "/" char, the full

RE: 64-bit connector issues on W2K8 IIS7

2009-09-14 Thread Caldarale, Charles R
> From: André_Warnier [mailto:a...@ice-sa.com] > Subject: Re: 64-bit connector issues on W2K8 IIS7 > > Also, there are I believe 2 versions of the 64-bit connector DLL : one > for AMD processors, the other for Intel. That's not quite correct; one 64-bit version is for the seemed-like-a-bad-ide

RE: 64-bit connector issues on W2K8 IIS7

2009-09-14 Thread Caldarale, Charles R
> From: Martin Gainty [mailto:mgai...@hotmail.com] > Subject: RE: 64-bit connector issues on W2K8 IIS7 > > once implement 64bit binaries (all of the binaries dlls and exes) have > to be that type (in this case 64 bit) once you cross into JVM space > with mod-jk or tomcat you'll need to make sure y

Re: 64-bit connector issues on W2K8 IIS7

2009-09-14 Thread Jordan Michaels
I downloaded the 64-bit JDK from Sun's site, and I had to get the "special" 64-bit versions of the Tomcat exe's before Tomcat would run (using it's internal web server), so I know I'm using a 64-bit version of the JDK along with the 64-bit version of Tomcat. Warm regards, Jordan Michaels Vivio

Re: 64-bit connector issues on W2K8 IIS7

2009-09-14 Thread Jordan Michaels
> But just by curiosity : is the IIS you are running, itself really a > 64-bit program ? Good question. I tried looking around at IIS7 and didn't see any glaring notices that it was a 64-bit program, but in my defense, I know for a fact that this is 64-bit Windows and this IIS is what was insta

RE: 64-bit connector issues on W2K8 IIS7

2009-09-14 Thread Martin Gainty
once implement 64bit binaries (all of the binaries dlls and exes) have to be that type (in this case 64 bit) once you cross into JVM space with mod-jk or tomcat you'll need to make sure you're invoking 64 bit binaries for JVM a quick check is to look at the 64b signature for the jvm.dll %JRE_

Re: 64-bit connector issues on W2K8 IIS7

2009-09-14 Thread André Warnier
Jordan Michaels wrote: .. Can't really help, never tried that combination. But just by curiosity : is the IIS you are running, itself really a 64-bit program ? Also, there are I believe 2 versions of the 64-bit connector DLL : one for AMD processors, the other for Intel. Did you pick the right

64-bit connector issues on W2K8 IIS7

2009-09-14 Thread Jordan Michaels
I'm trying to install the 64-bit mod_jk connector on a 64-bit Windows Server 2008 system. After literally hours of screwing around with the 64-bit version of the connector, I found a blog post where someone had mentioned that they were able to follow the blog's installation suggestions and got

Re: Need Help - Mod_jk/Apache - Mutiple Content issue

2009-09-14 Thread Rainer Jung
On 14.09.2009 14:40, balakarthik.baska...@wipro.com wrote: > Hi Rainer, > > I did change the process id configuration,and the following is observed: > > Access Log: > === > 3052 1536 127.0.0.1 - - [14/Sep/2009:17:57:04 +0530] "GET /test/test.jsp > HTTP/1.1" 200 61584 > 3052 1524 127.0.0.1

Re: Error 401 deploying war to Tomcat with Ant

2009-09-14 Thread André Warnier
Charl Gerber wrote: Nevermind Turns out oracle database had a web page running at same port (8080). Via web browser I correctly saw Tomcat, via ant task it went to oracle. Stopped Oracle and all was back to normal. Hi. I am not saying that my previous suggestion was any better, but (wi

Re: Error 401 deploying war to Tomcat with Ant

2009-09-14 Thread André Warnier
Charl Gerber wrote: .. Hi. I am not really competent, but following the steps and symptoms you describe, the following scenario would fit : - you initially installed Java - then you installed Ant. This Ant installation overwrote something the Java installation had done. - then you de-installe

Re: Error 401 deploying war to Tomcat with Ant

2009-09-14 Thread Charl Gerber
Nevermind Turns out oracle database had a web page running at same port (8080). Via web browser I correctly saw Tomcat, via ant task it went to oracle. Stopped Oracle and all was back to normal. doh. --- On Mon, 14/9/09, Charl Gerber wrote: > From: Charl Gerber > Subject: Error 401

Error 401 deploying war to Tomcat with Ant

2009-09-14 Thread Charl Gerber
Hi Everyone, Using Tomcat 6.0.20, Ant 1.7.1 and Java 1.6_14. Windows Vista Home premium. I had ant deploy tasks that worked fine. I removed my Java installation and upgraded to 1.6_16. All of a sudden all my apps (without having changed code, properties, config or anything) could not be deploye

Re: decouple authentication and authorization of TOMCAT

2009-09-14 Thread André Warnier
John Chen wrote: Apache front-end will do the authentication, does tomcat still use tomcat-users.xml for the authorization part? I am not quite sure. I believe Tomcat's integrated AAA is pretty much an all-or-nothing proposition. But maybe, if the request is authenticated by Apache beforeha

Are ClassLoader resources cached forever?

2009-09-14 Thread garyh6
We are using Tomcat 5.5. Does the class org.apache.catalina.loader.WebappClassLoader cache resources found from the findResource() method (which is called when Java code calls getResource())? I looked at source code and it seems to suggest it does, but I want to make sure I was understanding it

RE: decouple authentication and authorization of TOMCAT

2009-09-14 Thread John Chen
Apache front-end will do the authentication, does tomcat still use tomcat-users.xml for the authorization part? Thanks John -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: Monday, September 14, 2009 12:41 PM To: Tomcat Users List Subject: Re: decouple authenticati

RE: Windwos Integrated Authentication using AD and Tomcat (no prompt to the users)

2009-09-14 Thread George Sexton
If you're fronting Tomcat w/ IIS using the ISAPI redirector, then this can be done. Here's a link to the instructions for our product that describe how to do it. http://www.mhsoftware.com/caldemo/manual/en/pageFinder.html?page=895.htm Essentially, following steps 2-4 will cause the HttpServletReq

Re: decouple authentication and authorization of TOMCAT

2009-09-14 Thread Pid
On 14/09/2009 17:40, André Warnier wrote: John Chen wrote: ... I am also thinking using Apache Web Server to do the authentication and use tomcat for authorization, do you think it would work? With the Apache/mod_jk/Tomcat combination it can, certainly. There exists (I believe in the element

Re: Windwos Integrated Authentication using AD and Tomcat (no prompt to the users)

2009-09-14 Thread Nikola Milutinovic
There is also a module from Quest Software, using Kerberos authentication, but it costs mega $. Has anyone considered writing a TC realm for Kerberos? Before MS ADS came into popular use, Kerberos was a rare beast, but now it is more present. And it much better than NTLM, which is why MS starte

RE: 404 Error troubleshooting

2009-09-14 Thread Martin Gainty
couold you detail what the mistake is..also which page(s) contain the misconfig ? Martin Gainty __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger

RE: 404 Error troubleshooting

2009-09-14 Thread Mike Baranski
Thanks for the help, all, I got it going. There was also an error in the Apache xmlrpc documentation that was giving me fits, too. >-Original Message- >From: Kris Schneider [mailto:kschnei...@gmail.com] >Sent: Friday, September 11, 2009 1:09 PM >To: Tomcat Users List >Subject: Re: 404 Err

Re: decouple authentication and authorization of TOMCAT

2009-09-14 Thread Peter Crowther
2009/9/14 John Chen > I am also thinking using Apache Web Server to do the authentication and use > tomcat for authorization, do you think it would work? > Most things can be made to work - "with sufficient thrust, pigs fly just fine". This approach was used for early Shibboleth implementations

RE: decouple authentication and authorization of TOMCAT

2009-09-14 Thread John Chen
Thanks I am also thinking using Apache Web Server to do the authentication and use tomcat for authorization, do you think it would work? John -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: Monday, September 14, 2009 11:52 AM To: Tomcat Users List Subject: Re: dec

RE: decouple authentication and authorization of TOMCAT

2009-09-14 Thread John Chen
This would be new, I am just trying to find any solution and less pervasive. Thanks John -Original Message- From: peter.crowth...@googlemail.com [mailto:peter.crowth...@googlemail.com] On Behalf Of Peter Crowther Sent: Monday, September 14, 2009 12:09 PM To: Tomcat Users List Subject: Re

Re: decouple authentication and authorization of TOMCAT

2009-09-14 Thread André Warnier
John Chen wrote: Hi, We have installed a third-party software running on tomcat. Is there anyway to decouple tomcat authentication and authorization? We have to use AD for authentication and we are not encouraged to add groups to AD just for the new software. Any help would be appreciat

Re: decouple authentication and authorization of TOMCAT

2009-09-14 Thread André Warnier
John Chen wrote: ... I am also thinking using Apache Web Server to do the authentication and use tomcat for authorization, do you think it would work? With the Apache/mod_jk/Tomcat combination it can, certainly. There exists (I believe in the element of Tomcat), an attribute "tomcatAuthenti

Re: Shared jars

2009-09-14 Thread Tim Berglund
Then the Grails WAR shall be enormous now and always. So let it be written, so let it be done. :) Thanks for your help thinking through this. I don't mind quitting now that I understand what the problem is. Tim On Mon, Sep 14, 2009 at 8:48 AM, Peter Crowther wrote: > 2009/9/14 Tim Berglund >

Re: Inconsistent Horizontal Tomcat Cluster with Apache Load-Balancing (Windows)

2009-09-14 Thread Mark Thomas
Alexander Bacon wrote: > Environment: > Windows Server 2003 > Tomcat 6.0.20 > Apache HTTP Server 2.2.11 > JK 1.2.28 Connector > > The goal is to have horizontal clustering with load balancing and > failover (with session persistence). > > The load balancing aspect works as expected. The issue I'v

Re: tomcatThreadPool - when to make changes

2009-09-14 Thread Michael Ludwig
Caldarale, Charles R schrieb: From: Michael Ludwig [mailto:m...@as-guides.com] Subject: Re: tomcatThreadPool - when to make changes Is the possibility to enforce thread quotas for applications (via their s) the main reason for the existence of s? The or thread pool applies to everything unde

decouple authentication and authorization of TOMCAT

2009-09-14 Thread John Chen
Hi, We have installed a third-party software running on tomcat. Is there anyway to decouple tomcat authentication and authorization? We have to use AD for authentication and we are not encouraged to add groups to AD just for the new software. Any help would be appreciated. Thanks Jo

Re: Shared jars

2009-09-14 Thread Tim Berglund
Christopher, A class in the WEB-INF/classes directory (to wit, HibernateGrailsPlugin.class) is trying to create an object that implements an interface (org.hibernate.SessionFactory) found in a JAR in WEB-INF/lib (hibernate3-3.1.1.jar). However, it's doing this through no small amount of Grails-spon

Re: Shared jars

2009-09-14 Thread Peter Crowther
2009/9/14 Tim Berglund > My intention was to put framework JARs in shared/lib, and plugin and > application JARs in WEB-INF/lib. That's a good way to split them up for > deployment reasons, but it now seems like it just won't work > ClassLoader-wise. Looks that way. Modern frameworks make many

Horizontal Cluster Session Persistence during Failover

2009-09-14 Thread Alexander Bacon
Even though my servers are configured identically (except for jvmRoutes), they're behaving differently. If the session begins on ServerA and then ServerA crashes, it will switch to ServerB and the session will not be lost. If the session begins on ServerB and crashes, it will begin a new session o

RE: tomcatThreadPool - when to make changes

2009-09-14 Thread Caldarale, Charles R
> From: Michael Ludwig [mailto:m...@as-guides.com] > Subject: Re: tomcatThreadPool - when to make changes > > it seems to me that thread pools created implicitly by a > apply to that only, while thread > pools created explicitly by an apply to s > referencing it by Connector/@executor. Correc

Re: tomcatThreadPool - when to make changes

2009-09-14 Thread Michael Ludwig
Christopher Schultz schrieb: Is the possibility to enforce thread quotas for applications (via their s) the main reason for the existence of s? What other reasons are there? can shed threads when they are not being used (see maxIdleTime config param), while the stock thread pool never relea

Re: tomcat and cgi

2009-09-14 Thread Mark Thomas
Tsirkin Evgeny wrote: > Hi list! > Does anybody have an experience running cgi programs under tomcat? Yes. > We have a very high load ahead of us and one of my co workers suggestied to > run the > cgi program using a tomcat in place of apache . Really? That wouldn't be my first choice (or my secon

RE: tomcatThreadPool - when to make changes

2009-09-14 Thread Caldarale, Charles R
> From: Michael Ludwig [mailto:m...@as-guides.com] > Subject: Re: tomcatThreadPool - when to make changes > > Is the possibility to enforce thread quotas for applications (via their > s) the main reason for the existence of s? The or thread pool applies to everything under an , so threads cann

Re: tomcat and cgi

2009-09-14 Thread Peter Crowther
2009/9/14 Tsirkin Evgeny > We have a very high load ahead of us and one of my co workers suggestied to > run the cgi program using a tomcat in place of apache . > What we have one spare server that we can connect behind our main server > using one of the two options: > 1. setup mod_proxy to pass

Re: Shared jars

2009-09-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tim, On 9/12/2009 7:44 PM, Tim Berglund wrote: > Still stuck, and not sure where to look. Mad grateful for further ideas. Looks like grails/groovy is trying to create a new object. Is that being done from within a JAR in the shared ClassLoader or fro

Re: tomcat & url rewrite

2009-09-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 William, On 9/13/2009 10:05 PM, WILLIAMer wrote: > I think look up the url in database is not a Immediately way to me. > Because most of item not have the "/" char in name. > > My original url would like http://myDomain/getItemPage?itemName=xxx > Aft

tomcat and cgi

2009-09-14 Thread Tsirkin Evgeny
Hi list! Does anybody have an experience running cgi programs under tomcat? We have a very high load ahead of us and one of my co workers suggestied to run the cgi program using a tomcat in place of apache . What we have one spare server that we can connect behind our main server using one of the t

Re: tomcatThreadPool - when to make changes

2009-09-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Micheal, On 9/14/2009 6:28 AM, Michael Ludwig wrote: > Is the possibility to enforce thread quotas for applications (via their > s) the main reason for the existence of s? > > What other reasons are there? can shed threads when they are not being u

Inconsistent Horizontal Tomcat Cluster with Apache Load-Balancing (Windows)

2009-09-14 Thread Alexander Bacon
Environment: Windows Server 2003 Tomcat 6.0.20 Apache HTTP Server 2.2.11 JK 1.2.28 Connector The goal is to have horizontal clustering with load balancing and failover (with session persistence). The load balancing aspect works as expected. The issue I've been having is that when ServerA crashes,

RE: Need Help - Mod_jk/Apache - Mutiple Content issue

2009-09-14 Thread balakarthik.baskaran
Hi Rainer, I did change the process id configuration,and the following is observed: Access Log: === 3052 1536 127.0.0.1 - - [14/Sep/2009:17:57:04 +0530] "GET /test/test.jsp HTTP/1.1" 200 61584 3052 1524 127.0.0.1 - - [14/Sep/2009:17:57:05 +0530] "GET /test/images/logo.gif HTTP/1.1" 304 -

Re: NoRouteToHostException Servlet not run

2009-09-14 Thread Michael Ludwig
Sarah_Sh schrieb: I am new to tomcat and want to ask what I should do with this error message: Recovery thread failed to stop membership service. java.net.NoRouteToHostException: No route to host: Datagram send failed at java.net.PlainDatagramSocketImpl.send(Native Method) at jav

Re: howto add a UDP Listener

2009-09-14 Thread Andre-John Mas
They are both licensed under the GPL. You can web start enable any Java application. BTW Just in case I am detecting a misunderstanding, Java Web Start is not the same thing as a webapp. You don't need Tomcat to 'web start' a Java application. Apache HTTPD will do the job just fine. André

Re: Need Help - Mod_jk/Apache - Mutiple Content issue

2009-09-14 Thread Rainer Jung
On 14.09.2009 12:02, balakarthik.baska...@wipro.com wrote: > But I think you mentioned earlier that you were able to simulate the > problem. I didn't simulate, I understodd from reading the code. I also said, it should go away when using recovery_options. So please: - optimize your configuration

Re: tomcatThreadPool - when to make changes

2009-09-14 Thread Michael Ludwig
Caldarale, Charles R schrieb: From: tjones1105 [mailto:tjo...@acworld.com] Subject: RE: tomcatThreadPool - when to make changes I really meant the "Executor" should I create a defined "executor" for each service? An can only be nested inside a , and if referenced by a , inhibits creation of a

Re: tomcat & url rewrite

2009-09-14 Thread WILLIAMer
I use http://tuckey.org/urlrewrite/ url rewriter filter for doing url rewrite. And i write the rule in urlrewrite.xml. My rule like under /item_(.*).html /getItemPage?itemName=$1 If there is a url like /item_xxx.html, the url rewriter filter will redirect to /getItemPage.action?itemNa

RE: Need Help - Mod_jk/Apache - Mutiple Content issue

2009-09-14 Thread balakarthik.baskaran
But I think you mentioned earlier that you were able to simulate the problem. Regards, Bala -Original Message- From: Rainer Jung [mailto:rainer.j...@kippdata.de] Sent: Monday, September 14, 2009 3:11 PM To: Tomcat Users List Subject: Re: Need Help - Mod_jk/Apache - Mutiple Content issue

Re: Tomcat 6 Clustering with session replication problem

2009-09-14 Thread Davy NESTOR
It didn't work. I used the sessionExample.jsp page from the tomcat exemple directory. I go to http://serv-1/sessionExample.jsp and http://serv-2/sessionExample.jsp to check if my session if the same. Is it the good way ? On Sun, Sep 13, 2009 at 5:56 PM, Filip Hanik - Dev Lists wrote: > did you

Re: Need Help - Mod_jk/Apache - Mutiple Content issue

2009-09-14 Thread Rainer Jung
On 14.09.2009 11:33, balakarthik.baska...@wipro.com wrote: > Thanks Rainer. > Just Curious,did these settings helped to overcome the multiple content > problem in your local setup? I never had a multiple content problem - maybe due to good configuration. > Also,thanks for your pointer on the thr

RE: Need Help - Mod_jk/Apache - Mutiple Content issue

2009-09-14 Thread balakarthik.baskaran
Thanks Rainer. Just Curious,did these settings helped to overcome the multiple content problem in your local setup? Also,thanks for your pointer on the thread id's for getting the correlations. Regards, Bala -Original Message- From: Rainer Jung [mailto:rainer.j...@kippdata.de] Sent: Mon

Re: Need Help - Mod_jk/Apache - Mutiple Content issue

2009-09-14 Thread Rainer Jung
On 14.09.2009 09:22, balakarthik.baska...@wipro.com wrote: > - Will the access log contain an entry for each request that is seen in > the jk log?I can see a corresponding entry in the accesslog for an entry > in the jk log in my local setup.But I coulnt interpret the same from my > prod log.I hope

NoRouteToHostException Servlet not run

2009-09-14 Thread Sarah_Sh
Hello, I am new to tomcat and want to ask what I should do with this error message: Recovery thread failed to stop membership service. java.net.NoRouteToHostException: No route to host: Datagram send failed at java.net.PlainDatagramSocketImpl.send(Native Method) at java.net.Datagr

RE: Need Help - Mod_jk/Apache - Mutiple Content issue

2009-09-14 Thread balakarthik.baskaran
Yes Andre,you are right.We do have akamai in between the client and webserver.But we afraid that there could be a performance hit when we start patching in there.We are looking for a much intuitive solution of solving this at origin or how to handle the situation better.But,do you think all the

Re: tomcat & url rewrite

2009-09-14 Thread Pid
On 14/09/2009 03:05, WILLIAMer wrote: I think look up the url in database is not a Immediately way to me. Because most of item not have the "/" char in name. My original url would like http://myDomain/getItemPage?itemName=xxx After the url rewrite rule, url become http://myDomain/item_xxx.html

Re: Problem with Tomcat 6 cluster

2009-09-14 Thread Sumedh Sakdeo
Hi Filip, Please find the logs in attached file. Thanks in advance, Sumedh On Wed, Sep 9, 2009 at 9:22 AM, Filip Hanik - Dev Lists wrote: > what do your logs tell you? > > Filip > > On 09/08/2009 02:33 AM, Sumedh Sakdeo wrote: > >> Hello All, >> I have a setup with two tomcat inst

RE: Need Help - Mod_jk/Apache - Mutiple Content issue

2009-09-14 Thread balakarthik.baskaran
Hi Rainer, Also find attached the jk log file of the reply timeout occurrence of today in Prod envt.Please notice the thread "1258649952" which has failed and there are also some successful responses seen in the intermediate duration.I am not sure at this point if this belongs to the same request

RE: Need Help - Mod_jk/Apache - Mutiple Content issue

2009-09-14 Thread balakarthik.baskaran
Hi Rainer, Pfa the config files in txt format.I tried with the combinatrions available in the settings marked with comments. Also,could you pl let me know the following: - Will the access log contain an entry for each request that is seen in the jk log?I can see a corresponding entry in the acce