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

2009-09-13 Thread André Warnier
Quick answer : Look at http://www.ioplex.com, Jespa. Derlei Luff wrote: Hi all, I’m new to Tomcat and normally work in a Microsoft Windows world. I’ve stumbled into a problem using Tomcat as a web server, that I’m sure there is a simple solution for though I can’t find it. I’m sure it works

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

2009-09-13 Thread André Warnier
To Martin, Steve and others : Samba's JCIFS works fine, but only for NTLMv1 authentication. (It is also no longer maintained, see http://jcifs.samba.org.) It does NOT work for NTLMv2 authentication, which is fast becoming the norm, and the default from Vista onwards. Jespa works with NTLMv2,

OT:: Unable to unsubscribe from this list

2009-09-13 Thread Mohamed Shah
Hi buddies, OFFTOPIC I thank everyone for your support. I have moved to JBOSS and also the tomcat mails flooded my junk folder as well as my main folder. so i have decided to un subcribe from list. When i send email to

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

2009-09-13 Thread Steve Ochani
To Martin, Steve and others : Samba's JCIFS works fine, but only for NTLMv1 authentication. (It is also no longer maintained, see http://jcifs.samba.org.) Yes I saw that on the jcifs website. However I left to up to the OP to see that as well, considering the blue important notice is

Re: Tomcat 6 Clustering with session replication problem

2009-09-13 Thread Filip Hanik - Dev Lists
did you try with path Context path= Filip On 09/10/2009 09:20 AM, Davy NESTOR wrote: Context path=/ - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail:

howto add a UDP Listener

2009-09-13 Thread Sebastian Wagner
hi, I would like to add an UDP Listener to send and receive UDP to my tomcat-webapp. Unfortunately the server does reject Packets when I do try a usual DatagramSocket socket = new DatagramSocket(4445); as soon as I try that I get errors in my application. Is there a way of telling tomcat to

RE: howto add a UDP Listener

2009-09-13 Thread Caldarale, Charles R
From: Sebastian Wagner [mailto:seba.wag...@gmail.com] Subject: howto add a UDP Listener Is there a way of telling tomcat to receive UDP Packets and forward them to my Handlers? No. Tomcat is a server for HTTP requests running over TCP protocol. You'll need to implement your own UDP

Re: howto add a UDP Listener

2009-09-13 Thread Andre-John Mas
On 13-Sep-2009, at 14:19, Caldarale, Charles R wrote: From: Sebastian Wagner [mailto:seba.wag...@gmail.com] Subject: howto add a UDP Listener Is there a way of telling tomcat to receive UDP Packets and forward them to my Handlers? No. Tomcat is a server for HTTP requests running over TCP

Re: howto add a UDP Listener

2009-09-13 Thread Sebastian Wagner
Thanks for your answers. I am working on a Desktop Sharing application that is sending the Desktop Images over UDP to Tomcat. As this is quite time-critical I need to integrate the UDP-handler into my webapp. It seems like using MINA does solve my Issues. thanks, sebastian 2009/9/13 Andre-John

RE: howto add a UDP Listener

2009-09-13 Thread Caldarale, Charles R
From: Sebastian Wagner [mailto:seba.wag...@gmail.com] Subject: Re: howto add a UDP Listener I am working on a Desktop Sharing application that is sending the Desktop Images over UDP to Tomcat. Why doesn't the Desktop Sharing application use a reliable protocol (e.g., HTTP over TCP) to talk

Comet high CPU usages on IoEndpoint$Poller.run()

2009-09-13 Thread Hacking Bear
Hi, I have been battling with the comet event handling for a few weeks. The main symptom is that the CPU usages may go high (60%), especially from a Firefox connection. My page flow looks like: - start firefox - go to a login page to start a http session - go to a page with comet subscription,

Tomcat Access Control Exception

2009-09-13 Thread abhilashk_cse
I am using org.apache.coyote.http11.Http11NioProtocol connector and deployed a comet application which uses Jini jars. While running the comet application it is throwing errors. There is a security access code in my application: if (System.getSecurityManager() == null)

Re: howto add a UDP Listener

2009-09-13 Thread Sebastian Wagner
I think you mean why it does NOT use a reliable protocol ... ? Iit is not that important if some packages are lost in this case and I hope to gain some performance by using UDP. sebastian 2009/9/13 Caldarale, Charles R chuck.caldar...@unisys.com From: Sebastian Wagner

RE: howto add a UDP Listener

2009-09-13 Thread Caldarale, Charles R
From: Sebastian Wagner [mailto:seba.wag...@gmail.com] Subject: Re: howto add a UDP Listener I think you mean why it does NOT use a reliable protocol ... ? Which is what I said: Why *doesn't* the Desktop Sharing application use a reliable protocol I hope to gain some performance by using

Re: howto add a UDP Listener

2009-09-13 Thread Sebastian Wagner
You might be right, I will have to try different approaches till the final release. thanks, sebastian 2009/9/13 Caldarale, Charles R chuck.caldar...@unisys.com From: Sebastian Wagner [mailto:seba.wag...@gmail.com] Subject: Re: howto add a UDP Listener I think you mean why it does NOT

Re: Tomcat Access Control Exception

2009-09-13 Thread abhilashk_cse
I have placed the Jini jars under CATALINE_HOME/lib I am getting the following errors now: java.security.AccessControlException: access denied (java.io.FilePermission \C:\ softwares\tomcat\apache-tomcat-6.0.20\apache-tomcat-6.0.20\lib\jsk-platform.jar read) at

Re: howto add a UDP Listener

2009-09-13 Thread Andre-John Mas
On 13-Sep-2009, at 15:04, Sebastian Wagner wrote: Thanks for your answers. I am working on a Desktop Sharing application that is sending the Desktop Images over UDP to Tomcat. As this is quite time-critical I need to integrate the UDP-handler into my webapp. It seems like using MINA does

Re: howto add a UDP Listener

2009-09-13 Thread Sebastian Wagner
yes it is a solution send only ... or receive only. sebastian 2009/9/13 Andre-John Mas aj...@sympatico.ca On 13-Sep-2009, at 15:04, Sebastian Wagner wrote: Thanks for your answers. I am working on a Desktop Sharing application that is sending the Desktop Images over UDP to Tomcat. As

Re: Comet high CPU usages on IoEndpoint$Poller.run()

2009-09-13 Thread Filip Hanik - Dev Lists
Whis is the event.close conditional when there is an error, what if you get a Comet report that says Type=CometEvent.EventType.ERROR Subtype=null ? Filip On 09/13/2009 01:25 PM, Hacking Bear wrote: } else if (event.getEventType() == CometEvent.EventType.ERROR) { final

Re: howto add a UDP Listener

2009-09-13 Thread Andre-John Mas
You may want to look at the Java VNC Viewer: http://www.realvnc.com/support/javavncviewer.html or TightVNC: http://www.tightvnc.com/download.html it may save you repeating work which has already been done elsewhere. André-John On 13-Sep-2009, at 16:10, Sebastian Wagner wrote: yes it is a

tomcat mysql dbcp Communications link failure

2009-09-13 Thread Chetouani
Hello guys, If you can help with this problem. I have an application deployed on tomcat V6.18. It uses a mysql database. The problem is that after some hours the applicatiion throws an exception when trying to connect to the data base. com.mysql.jdbc.CommunicationsException: Communications

RE: directory structure

2009-09-13 Thread Daniel Blumenthal
If you're referring to during the development phase Yes, during the development phase. the IDEs I've worked with such as NetBeans and Eclipse does it for you automatically. I don't remember if NetBeans actually make a war or not but it does autodeploy. Eclipse will auto synchronize

Re: Comet high CPU usages on IoEndpoint$Poller.run()

2009-09-13 Thread Hacking Bear
On ERROR with subtype other than DISCONNECT, I just ignore it, i.e. no call to event.close() nor trying to close the streams. I also tried to do both on any error but it seems not doing better. Besides, I didn't see any ERROR other than TIMEOUT which repeats every few seconds. Another note is

Re: directory structure

2009-09-13 Thread David Kerber
Daniel Blumenthal wrote: If you're referring to during the development phase Yes, during the development phase. the IDEs I've worked with such as NetBeans and Eclipse does it for you automatically. I don't remember if NetBeans actually make a war or not but it does autodeploy.

Re: tomcat url rewrite

2009-09-13 Thread WILLIAMer
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 If the item name like abc/def,

Re: tomcat mysql dbcp Communications link failure

2009-09-13 Thread David Smith
Could you provide the full stack trace? And if possible, can you describe time it takes as it relates to the timeout of your MySQL server? The default timeout in MySQL is 8 hours, but is configurable. Also I'm assuming all the ${...} stuff is just you sanitizing the Resource ... / block. One

help with tomcat manager

2009-09-13 Thread Eric
Downloaded and uncompressed apache-tomcat-6.0.20.tar.gz Started Tomcat using bin/catalina.sh start Connected to http://servername:8080 and see the getting started page Click on Tomcat Manager Get prompted for a username/password with the following message: A username and password are being

RE: help with tomcat manager

2009-09-13 Thread Caldarale, Charles R
From: Eric [mailto:cam...@gmail.com] Subject: help with tomcat manager tomcat-users !-- role rolename=tomcat/ role rolename=role1/ role rolename=manager/ user username=tomcat password=tomcat roles=tomcat/ user username=both password=tomcat roles=tomcat,role1/ user

RE: help with tomcat manager

2009-09-13 Thread Martin Gainty
UserDatabase Realm acquires authentication credentials from a jdbc Database source use org.apache.catalina.realm.MemoryRealm details at http://tomcat.apache.org/tomcat-6.0-doc/realm-howto.html#MemoryRealm greets Martin __ Verzicht und

RE: help with tomcat manager

2009-09-13 Thread Caldarale, Charles R
From: Martin Gainty [mailto:mgai...@hotmail.com] Subject: RE: help with tomcat manager UserDatabase Realm acquires authentication credentials from a jdbc Database source That's completely wrong. The UserDatabaseRealm works perfectly well with tomcat-users.xml - it's the Tomcat default.

Re: help with tomcat manager

2009-09-13 Thread Eric
Comments.. I guess I'm just used to Apache's # symbols for comments. What part do I need to remove to remove the comments? I tried changing it to the following and restarting Tomcat but I got the same result: tomcat-users role rolename=tomcat/ role rolename=role1/ role rolename=manager/

RE: help with tomcat manager

2009-09-13 Thread Caldarale, Charles R
From: Eric [mailto:cam...@gmail.com] Subject: Re: help with tomcat manager I tried changing it to the following and restarting Tomcat but I got the same result: tomcat-users role rolename=tomcat/ role rolename=role1/ role rolename=manager/ user username=tomcat password=tomcat

Re: help with tomcat manager

2009-09-13 Thread Eric
Your example inspired me to create a role named admin and add that role to the username campee. I can login just fine now. The documentation makes no mention of needing to add an admin role and associating a user with it. It just mentions the manager role: To enable access to the Manager web

RE: help with tomcat manager

2009-09-13 Thread Caldarale, Charles R
From: Eric [mailto:cam...@gmail.com] Subject: Re: help with tomcat manager Your example inspired me to create a role named admin and add that role to the username campee. I can login just fine now. That shouldn't have made a difference. My admin role is just left over from older versions

RE: Does CVE-2007-0450 (Directory Traversal) affect standalone Tomcat

2009-09-13 Thread Tadelkar, Gauravsagar (Gaurav)
Right! :-) Thanks. Gaurav -Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Friday, September 11, 2009 2:02 PM To: Tomcat Users List Subject: Re: Does CVE-2007-0450 (Directory Traversal) affect standalone Tomcat Tadelkar, Gauravsagar (Gaurav) wrote: Thanks for the