Re: 64-bit connector issues on W2K8 IIS7

2009-09-15 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 registry

error listenerstart Tomcat 6.0.20

2009-09-15 Thread Sarah_Sh
Hi all, I have an error listenerstart at my tomcat 6.0.20 which said that the context [/xx] startup failed to previous errors: catalina log: 14.09.2009 18:21:17 org.apache.tomcat.util.digester.SetPropertiesRule begin WARNUNG: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting

Exception for WSServletContextListener Registration.

2009-09-15 Thread hesher
Hi, I've been trying to run the sample servlet for the ws-jmx-connector. Whenever I try to start the server with the deployed war file I get this exception: 15/09/2009 12:30:15 com.sun.xml.ws.transport.http.servlet.WSServletContextListener contextInitialized SEVERE: WSSERVLET11: failed to parse

Re: error listenerstart Tomcat 6.0.20

2009-09-15 Thread André Warnier
Sarah_Sh wrote: Hi all, Hi. I have no idea about all the other stuff, but at least here there seems to be a small typo : WARNUNG: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'relaodable' to 'false' did not find a matching property. 'relaodable' probably needs

Re: error listenerstart Tomcat 6.0.20

2009-09-15 Thread Sarah_Sh
Thank you for giving me a hint of the typo. error listenerstart is still there. Thanks. Sarah awarnier wrote: Sarah_Sh wrote: Hi all, Hi. I have no idea about all the other stuff, but at least here there seems to be a small typo : WARNUNG:

Re: error listenerstart Tomcat 6.0.20

2009-09-15 Thread Mark Thomas
Sarah_Sh wrote: Thank you for giving me a hint of the typo. error listenerstart is still there. This is the relevant part of the logs: 14.09.2009 18:21:21 org.apache.catalina.core.StandardContext listenerStart SCHWERWIEGEND: Exception sending context initialized event to listener instance of

Re: Loss of body POST request...

2009-09-15 Thread Tommy Pham
Original Message From: Eugene johnba...@gmail.com To: users@tomcat.apache.org Sent: Tuesday, September 15, 2009 3:30:02 AM Subject: Loss of body POST request... Hello. My next trouble. Periodically, the body disappears POST-request with the same query! I wrote a test client.

Re: Loss of body POST request...

2009-09-15 Thread Eugene
What has FileUpload, if the request body is lost! I want to know why, in principle it may be lost? -- Best Regards, Eugene Batogov ___

Re: Loss of body POST request...

2009-09-15 Thread Tommy Pham
- Original Message From: Eugene johnba...@gmail.com To: Tomcat Users List users@tomcat.apache.org Sent: Tuesday, September 15, 2009 4:16:43 AM Subject: Re: Loss of body POST request... What has FileUpload, if the request body is lost! I want to know why, in principle it may

Re: error listenerstart Tomcat 6.0.20

2009-09-15 Thread Sarah_Sh
Thank you for showing me the relevant part. Am I right that it is a problem with GeoserverInitStartupListener class? There aren´t such KEY_REPLACE_INDEX_COLOR_MODEL. Have I insert this or what could I do? Thanks! Sarah markt-2 wrote: Sarah_Sh wrote: Thank you for giving me a hint of the

Re: Loss of body POST request...

2009-09-15 Thread David Smith
Servlets handle uri encoded POSTs just fine. It's when the POST body is encoded differently like with mulipart -- that's where tools like fileupload come into the picture. Either way, the POST body should be completely available to the servlet, even if it's just as an input stream. Were there

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

2009-09-15 Thread balakarthik.baskaran
Hi Rainer, I tried with all the configuration that you defined and am still able to simulate the partial content when I make the code to sleep for a time greater than the time defined in the reply timeout. I understand that once the partail content is written into the client pipe,it would not be

Re: error listenerstart Tomcat 6.0.20

2009-09-15 Thread Mark Thomas
Sarah_Sh wrote: Thank you for showing me the relevant part. Am I right that it is a problem with GeoserverInitStartupListener class? There aren´t such KEY_REPLACE_INDEX_COLOR_MODEL. Have I insert this or what could I do? Sorry. No idea. That code is from your app, not from Tomcat. Mark

Re: Loss of body POST request...

2009-09-15 Thread Tommy Pham
- Original Message From: David Smith d...@cornell.edu To: Tomcat Users List users@tomcat.apache.org Sent: Tuesday, September 15, 2009 5:35:07 AM Subject: Re: Loss of body POST request... Servlets handle uri encoded POSTs just fine. It's when the POST body is encoded differently

Re: Loss of body POST request...

2009-09-15 Thread Pid
On 15/09/2009 11:30, Eugene wrote: Hello. My next trouble. Periodically, the body disappears POST-request with the same query! I wrote a test client. It httpClient sends a test request, and on the server side, the servlet it takes. And trying to read. Sometimes there is a situation that the

Re: error listenerstart Tomcat 6.0.20

2009-09-15 Thread Sarah_Sh
Ok thank you. I searched for this error at google and found 1-2 posts about this error. So I look at my classes, application. In the end I will ask at another forum relating to the appl. Best regards Sarah markt-2 wrote: Sarah_Sh wrote: Thank you for showing me the relevant part. Am I

Re: Loss of body POST request...

2009-09-15 Thread Eugene
I use POST URI. Headers remain constant. And header receive normal, but body loss?!?!? error trace: at javax.servlet.http.HttpServlet.service(HttpServlet.java:710) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at

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

2009-09-15 Thread balakarthik.baskaran
Hi Rainer, The other possible configuration that I think probably we might be lacking/quite different is that we are loadbalancing the requests among 240 worker nodes each pointing to one app instance (all app instances available in the default cluster) and we use Busyness algorithm(for load

Re: Loss of body POST request...

2009-09-15 Thread Eugene
I use Oracle JRockit JVM -- Best Regards, Eugene Batogov ___ - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Loss of body POST request...

2009-09-15 Thread Pid
On 15/09/2009 14:25, Eugene wrote: I use POST URI. With what, some code you wrote? Headers remain constant. And header receive normal, but body loss?!?!? error trace: This isn't the whole of the stacktrace, so I can't tell what it means. What about the lines immediately before this?

Can't access Tomcat from outside the LAN

2009-09-15 Thread Tom Eklöf
I managed to set up Tomcat 6.0.20 on my Ubuntu Jaunty box, but I can't seem to access the server from outside my LAN. Port forwarding is working OK (tested with port scanner and by starting SSH on the port), and I can also access Tomcat from all computers on my LAN. I've tried poking around the

Re: Loss of body POST request...

2009-09-15 Thread Eugene
I have stacketrace for xmlrpc versions: org.xml.sax.SAXParseException: Premature end of file. at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at

Re: Can't access Tomcat from outside the LAN

2009-09-15 Thread Mark Shifman
You may have to fool with your firewall (or talk to you lan administrator). I have a line for starting iptables that looks like this: -A INPUT -p tcp -m state --state NEW -m tcp --dport 8080 -j ACCEPT I suspect Ubuntu has some classy utility for modifying the firewal to allow 8080 or what ever

RE: Can't access Tomcat from outside the LAN

2009-09-15 Thread Jonathan Soons
Tom, Do you have a default gateway? If you can access anything outside your LAN then you must have one. It seems your tomcat box does not know about it. Jonathan Soons - To unsubscribe, e-mail:

Re: Tomcat fail to start : Socket bind failed: [22] Invalid argument

2009-09-15 Thread Thomas Manson
Hi Mark, thanks for the answer. Just for clarification, the ipv6 bug is still in the 6.0.20 version? How do I disable APR ? I thought that APR == tc native... Am I wrong ? Regards, Thomas. On Fri, Sep 11, 2009 at 11:08, Mark Thomas ma...@apache.org wrote: ith tc native 1.1.1

Re: Tomcat fail to start : Socket bind failed: [22] Invalid argument

2009-09-15 Thread Mark Thomas
Thomas Manson wrote: Hi Mark, thanks for the answer. Just for clarification, the ipv6 bug is still in the 6.0.20 version? No. It was fixed for Tomcat 6.0.20 and tc native 1.1.16 onwards How do I disable APR ? Comment out / delete the listener in server.xml I thought that APR ==

Re: tomcat url rewrite

2009-09-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 William, On 9/14/2009 9:43 PM, WILLIAMer wrote: I got the problem if the item name(from database) have / char, the full url path http://myDomain//item_1/23.html would be error. Where does the error occur? Does the URL re-writer fail to re-write

Re: Tomcat fail to start : Socket bind failed: [22] Invalid argument

2009-09-15 Thread Thomas Manson
Still not clear for me. If I comment the listener, compile tomcat-native-1.1.16-src, it will still use APR but this time it will work with ipv6 ? or it is still not working with ipv6, that's why I need to disable ipv6 ? Because, I've checked in my server.xml I already tried to disable apr :

RE: Tomcat fail to start : Socket bind failed: [22] Invalid argument

2009-09-15 Thread Caldarale, Charles R
From: Thomas Manson [mailto:dev.mansontho...@gmail.com] Subject: Re: Tomcat fail to start : Socket bind failed: [22] Invalid argument If I comment the listener, compile tomcat-native-1.1.16-src, it will still use APR but this time it will work with ipv6 ? No; if you comment out the

Container based authentication using LDAP and Active Directory

2009-09-15 Thread sharda k
Hi, I want to implement Container based Authentication for a new web site I am working on. The scenario that I have is: - User ids are being stored in LDAP - User credentials(password) are being stored in Active Directory (AD). - User roles are gain being stored in LDAP In all

Re: Container based authentication using LDAP and Active Directory

2009-09-15 Thread sharda k
How can I implement LDAP to authenticate against AD? Can you please elaborate? I need AD for authentication and LDAP fro authorization. Thank you, Sharda On Tue, Sep 15, 2009 at 3:08 PM, George Sexton geor...@mhsoftware.comwrote: You can use LDAP to authenticate against AD. George Sexton MH

RE: Container based authentication using LDAP and Active Directory

2009-09-15 Thread George Sexton
You can use LDAP to authenticate against AD. George Sexton MH Software, Inc. http://www.mhsoftware.com/ Voice: 303 438 9585 -Original Message- From: sharda k [mailto:sktom...@gmail.com] Sent: Tuesday, September 15, 2009 2:01 PM To: users@tomcat.apache.org Cc: sktom...@gmail.com

Re: Container based authentication using LDAP and Active Directory

2009-09-15 Thread Pid
On 15/09/2009 21:08, George Sexton wrote: You can use LDAP to authenticate against AD. I can feel a lmgtfy coming on... ;) p George Sexton MH Software, Inc. http://www.mhsoftware.com/ Voice: 303 438 9585 -Original Message- From: sharda k [mailto:sktom...@gmail.com] Sent: Tuesday,

RE: Container based authentication using LDAP and Active Directory

2009-09-15 Thread George Sexton
AD servers run an LDAP connector. You use and LDAP API library and try to bind to the tree using the user's name and password for credentials. George Sexton MH Software, Inc. http://www.mhsoftware.com/ Voice: 303 438 9585 -Original Message- From: sharda k [mailto:sktom...@gmail.com]

Re: Container based authentication using LDAP and Active Directory

2009-09-15 Thread sharda k
Thank you so much for yr reply... but i have done good lmfty... On Tue, Sep 15, 2009 at 3:18 PM, Pid p...@pidster.com wrote On 15/09/2009 21:08, George Sexton wrote: You can use LDAP to authenticate against AD. I can feel a lmgtfy coming on... ;) p George Sexton MH Software, Inc.

Re: Container based authentication using LDAP and Active Directory

2009-09-15 Thread sharda k
Thank you George. I think I need to elaborate my question further. I could bind user and fetch user roles using simple java class. But what I want to implement is JAAS. The problem is based on the information provided in different web sites I can use either LDAP or AD for both authentication and

RE: Container based authentication using LDAP and Active Directory

2009-09-15 Thread George Sexton
I don't know. You're going to have to figure that out yourself. George Sexton MH Software, Inc. http://www.mhsoftware.com/ Voice: 303 438 9585 -Original Message- From: sharda k [mailto:sktom...@gmail.com] Sent: Tuesday, September 15, 2009 2:45 PM To: Tomcat Users List Subject: Re:

Re: Container based authentication using LDAP and Active Directory

2009-09-15 Thread sharda k
Hi George, If I use LDAP API for user authetication, how can I get LoginContext and implement authorization? If you can please share some insight on this. Thanks, SK On Tue, Sep 15, 2009 at 3:46 PM, George Sexton geor...@mhsoftware.comwrote: I don't know. You're going to have to figure that

RE: Container based authentication using LDAP and Active Directory

2009-09-15 Thread George Sexton
Asking the same question a different way will not yield a different result. You're going to have to figure that out yourself. George Sexton MH Software, Inc. http://www.mhsoftware.com/ Voice: 303 438 9585 -Original Message- From: sharda k [mailto:sktom...@gmail.com] Sent: Tuesday,

Re: Container based authentication using LDAP and Active Directory

2009-09-15 Thread sharda k
OK ... :) On Tue, Sep 15, 2009 at 4:42 PM, George Sexton geor...@mhsoftware.comwrote: Asking the same question a different way will not yield a different result. You're going to have to figure that out yourself. George Sexton MH Software, Inc. http://www.mhsoftware.com/ Voice: 303 438

Re: Can't access Tomcat from outside the LAN

2009-09-15 Thread Ziggy
If you have more than one pc on ur network then you have to configure your gateway(I.e router) so that all requests that use port 8080 should be forwarded to the pc that has tomcat installed. On 9/15/09, Jonathan Soons jso...@juilliard.edu wrote: Tom, Do you have a default gateway? If you can

Re: 64-bit connector issues on W2K8 IIS7

2009-09-15 Thread Jordan Michaels
Ah-ha. This sounds like a plausible cause. I did install the ASP.NET stuff along with IIS7 so this sounds hopeful. I will investigate and report back if I find anything useful. Thank you for the pointer here! Warm regards, Jordan Michaels Vivio Technologies http://www.viviotech.net/ Open

Re: tomcat mysql dbcp Communications link failure

2009-09-15 Thread Chetouani
Hi David, Thanks for your answer. At the moment I don't have the stack trace but it something like # com.mysql.jdbc.CommunicationsException: Communications link failure due to underlying exception: # # ** BEGIN NESTED EXCEPTION ** # # java.net.SocketException # MESSAGE: Software caused

RE: Can't access Tomcat from outside the LAN

2009-09-15 Thread Jonathan Soons
Number of PCs is not a factor. If you have 1 PC and you want to connect beyond your network you need a default gateway. If you have 1 PC and tomcat is installed you should first try accessing tomcat through http://localhost:8080/ If you have another PC on the same network It should be able to

Re: tomcat url rewrite

2009-09-15 Thread WILLIAMer
Hi, Christopher Schultz-2 There is no error with url rewrite. For item pd1234, The url would be http://myDomain/item_pd1234.html and its fine. For item pd12/34 The url would be http://myDomain/item_pd12/34.html and got error. Because tomcat seems there is a directory named item_pd12under my

Attach listener to tomcat startup

2009-09-15 Thread joea88
I need to run some processes which access own server, so I need to know when the tomcat has fully started and ready to serve. I tried Servlet and doesnt work. There must be some interface or class notify when the server has started. Anyone come across this situation? -- View this message in

RE: Container based authentication using LDAP and Active Directory

2009-09-15 Thread Ashwin K
Hi Sharda, AD is superset of LDAP. Thought this might help you in case you didn't know. -Original Message- From: sharda k [mailto:sktom...@gmail.com] Sent: Wednesday, September 16, 2009 3:15 AM To: Tomcat Users List Subject: Re: Container based authentication using LDAP and Active

Re: Container based authentication using LDAP and Active Directory

2009-09-15 Thread Sumedh Sakdeo
http://java.sun.com/j2se/1.5.0/docs/guide/security/jgss/single-signon.html might help you with secure authentication against AD. I use this for authentication purpose. Simple google landed me on these two wonderful pages maybe helpful... JAAS authentication