Re: How to solve this bug

2010-08-20 Thread André Warnier
Ranjith wrote: Hi all, I created a war using ant and deployed and got this error how can i solve it. HTTP Status 500 - -- *type* Exception report *message*** *description* *The server encountered an internal error () that prevented it from fulfilling this request.*

RE: Sessions mix-up on Tomcat 6.0.26 on Linux

2010-08-20 Thread Yawar Khan
Chris, you identified a possible sql injection in my code and declaring it a very bad piece of code. Despite the fact that jdbc does not allow more than 1 query on this execute function and I am doing fields validation before submission of the form.   Is there another genuine threat or bug tha

RE: Sessions mix-up on Tomcat 6.0.26 on Linux

2010-08-20 Thread Yawar Khan
Hi, i have been trying to post emails on this list but getting mailerdeamon replies that only subscribers can post. i dont know what happened thereso i subscribed my other email address   ok now for the topic at hand,   Wesly, udac is a public class which exists in the same package and lo

RE: [OT] Sessions mix-up on Tomcat 6.0.26 on Linux

2010-08-20 Thread Yawar Khan
chris, i had a look at container managed authentication and its quite handy. but i couldnt see how i can add extra functionality like calling an encryption function on password text field before tomcat does its authentication on it.   for js, my client side authentication is done on form submit

Re: How to convert WAR application into console application (Making Unicorn has console application)

2010-08-20 Thread Sean McEligot
On Fri, Aug 20, 2010 at 7:49 AM, Ranjith wrote: > Hi all, >     Unicorn just provide a URI and push the button. It will call a series > of validation services and report the results.I have already downloaded and > installed Unicorn. To Download the source code it is only available for > download f

RE: trouble with url-pattern in a filter-mapping (tomcat 6)

2010-08-20 Thread Caldarale, Charles R
> From: David Goodenough [mailto:david.goodeno...@btconnect.com] > Subject: Re: trouble with url-pattern in a filter-mapping (tomcat 6) > > seems to me not to allow for anything without either a > leading / or a *. Exactly as required by the spec. Did you read it? > SRV.11.2 Specification of M

Re: trouble with url-pattern in a filter-mapping (tomcat 6)

2010-08-20 Thread David Goodenough
On Friday 20 August 2010, Christopher Schultz wrote: > David, > > On 8/20/2010 11:27 AM, David Goodenough wrote: > > On Friday 20 August 2010, Pid wrote: > >> The url-pattern must start with a '/' character. > >> > >> Please post the complete application web.xml. > > > > Actually from reading th

Re: Is there a better way to disable JSESSIONID in the URLs?

2010-08-20 Thread Wesley Acheson
I'm a bit lost with this thread. Are people suggesting I should submit a patch. I really wouldn't know where to begin looking. On Fri, Aug 20, 2010 at 7:47 PM, Pid wrote: > On 20/08/2010 17:35, Christopher Schultz wrote: > > Pid, > > > > On 8/20/2010 8:33 AM, Pid wrote: > >> On 19/08/2010 20:41

Re: How to convert WAR application into console application (Making Unicorn has console application)

2010-08-20 Thread Pid
On 20/08/2010 14:00, Ranjith wrote: > Can be little more specify about curl implementation because I`m beginner > level or any link so I can make use of it. Thank you http://lmgtfy.com/?q=curl p > On Fri, Aug 20, 2010 at 6:25 PM, Pid wrote: > >> On 20/08/2010 13:53, Ranjith wrote: >>> Hi all

When do close Comet Event?

2010-08-20 Thread Thiago Locatelli da Silva
Hello All, I have seen a lot of code related to Comet and I have noticed some difference among them. The first one is that some codes close the event on the BEGIN event and others dont. What is the best practice in this case? I know that closing the event in the END and ERROR events is a must

Help on Tomcat 6.0.29 and Comet

2010-08-20 Thread Thiago Locatelli da Silva
Hello everybody. We have an application which was developed using comet and gwt and it was build over the tomcat 6.0.16 code. It was working very well and as according to the documentation, we are closing all the come events when we reach the event type ERROR and END. The application has never

Re: Configure read/write-access in TomCat

2010-08-20 Thread André Warnier
Mark Thomas wrote: On 18/08/2010 13:32, André Warnier wrote: What do you mean by "write" ? There is nothing in tomcat itself which allows users to write anywhere on the server. I know I am coming late to this thread but to be pedantic that is not correct. The above was written with the inte

Re: Tomcat Version Numbers

2010-08-20 Thread André Warnier
Len Popp wrote: On Fri, Aug 20, 2010 at 12:26, Christopher Schultz wrote: It's not that I don't get it... it's that I have a deep-seated need for the release version to be called 7.0.0 for some reason. Call me cynical, but I naturally assume that a major new version will have more bugs (no ma

Re: Is there a better way to disable JSESSIONID in the URLs?

2010-08-20 Thread Pid
On 20/08/2010 17:35, Christopher Schultz wrote: > Pid, > > On 8/20/2010 8:33 AM, Pid wrote: >> On 19/08/2010 20:41, Wesley Acheson wrote: >>> On Thu, Aug 19, 2010 at 6:25 PM, Len Popp wrote: >>> On Thu, Aug 19, 2010 at 12:01, Christopher Schultz wrote: > The servlet specification m

Re: Tomcat Version Numbers

2010-08-20 Thread Len Popp
On Fri, Aug 20, 2010 at 12:26, Christopher Schultz wrote: > It's not that I > don't get it... it's that I have a deep-seated need for the release > version to be called 7.0.0 for some reason. Call me cynical, but I naturally assume that a major new version will have more bugs (no matter how much

Re: How to convert WAR application into console application (Making Unicorn has console application)

2010-08-20 Thread Ranjith
Thank all, whoever supported me I will try to solve this problem and I will let you know. On Fri, Aug 20, 2010 at 9:31 PM, David kerber wrote: > On 8/20/2010 9:23 AM, Caldarale, Charles R wrote: > >> From: Ranjith [mailto:ranjit...@sedin.co.in] >>> Subject: Re: How to convert WAR application int

RE: Deploying a war to the root URL path

2010-08-20 Thread David Smiley @MITRE.org
Ok, thanks Chuck. Perhaps I'll put my war elsewhere... I just don't know where it would be best placed. ~ David n828cl wrote: > >> From: David Smiley @MITRE.org [mailto:dsmi...@mitre.org] >> Subject: Deploying a war to the root URL path >> >> As a matter of taste, I'd prefer not to name my wa

Re: trouble with url-pattern in a filter-mapping (tomcat 6)

2010-08-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, On 8/20/2010 11:27 AM, David Goodenough wrote: > On Friday 20 August 2010, Pid wrote: >> >> The url-pattern must start with a '/' character. >> >> Please post the complete application web.xml. >> > Actually from reading the source the pattern M

RE: Tomcat Version Numbers

2010-08-20 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Tomcat Version Numbers > > Will the TC 7.x versions numbers increase like 7.0.3, 7.0.4, > and then at some point it will be considered "stable"? Yes. > That sounds like Tomcat 7.0.0 is not actually a release version, >

Re: Is there a better way to disable JSESSIONID in the URLs?

2010-08-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pid, On 8/20/2010 8:33 AM, Pid wrote: > On 19/08/2010 20:41, Wesley Acheson wrote: >> On Thu, Aug 19, 2010 at 6:25 PM, Len Popp wrote: >> >>> On Thu, Aug 19, 2010 at 12:01, Christopher Schultz >>> wrote: The servlet specification mandates this

Tomcat Version Numbers

2010-08-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, I have a question about Tomcat versions numbers, prompted by the recent announcement of TC 7.0.2 beta. Will the TC 7.x versions numbers increase like 7.0.3, 7.0.4, and then at some point it will be considered "stable"? That sounds like Tomcat 7.

RE: Deploying a war to the root URL path

2010-08-20 Thread Caldarale, Charles R
> From: David Smiley @MITRE.org [mailto:dsmi...@mitre.org] > Subject: Deploying a war to the root URL path > > As a matter of taste, I'd prefer not to name my war "ROOT.war" So you don't want to do things the easy way... > I'd like it to be named after what it is, which is JIRA > -- so jira.war.

Re: tomcat mutual authentication doesn't work

2010-08-20 Thread aravidu
I tried your steps and it worked!!! Thank you very very much!! You are awesome!! :-) Ognjen Blagojevic-5 wrote: > > On 20.8.2010 0:44, aravidu wrote: >> I don't have a client.keystore. >> >> Commands I used for creating a truststore& adding keys to it: >> keytool" -export -alias clientcert -fi

Re: How to convert WAR application into console application (Making Unicorn has console application)

2010-08-20 Thread David kerber
On 8/20/2010 9:23 AM, Caldarale, Charles R wrote: From: Ranjith [mailto:ranjit...@sedin.co.in] Subject: Re: How to convert WAR application into console application (Making Unicorn has console application) No not like that it runs very well in tomcat but i want to build a console version I`m not

Re: Is there a better way to disable JSESSIONID in the URLs?

2010-08-20 Thread Mark Thomas
On 20/08/2010 14:33, Pid wrote: > On 19/08/2010 20:41, Wesley Acheson wrote: >> Is there anywhere we could vote for such a feature? I know Resin has it as >> I've stated before. > > You could file an enhancement request in Bugzilla, but it would be more > likely to get attention if it came with a

Deploying a war to the root URL path

2010-08-20 Thread David Smiley @MITRE.org
Greetings folks. I have a war file that I'd like to deploy to the root (i.e. blank or '/' )URL since my server is dedicated to this web application. I also have a Tomcat context xml snippet to accompany it in some way so that I can configure things like my database in JNDI. As a matter of taste

Re: How to convert WAR application into console application (Making Unicorn has console application)

2010-08-20 Thread André Warnier
David Smith wrote: I tend to agree. All this graphical stuff is making life miserable for most of us web developers. Back before Tim Berners-Lee came up with HTTP and HTML and made things horribly complicated, one could still concentrate on the quintessential meaning of things, rather than sp

Re: Configure read/write-access in TomCat

2010-08-20 Thread Mark Thomas
On 18/08/2010 13:32, André Warnier wrote: > What do you mean by "write" ? There is nothing in tomcat itself which > allows users to write anywhere on the server. I know I am coming late to this thread but to be pedantic that is not correct. Tomcat supports HTTP PUT (implemented in the default Se

Re: How to convert WAR application into console application (Making Unicorn has console application)

2010-08-20 Thread David Smith
> I tend to agree. All this graphical stuff is making life miserable for most > of us web > developers. Back before Tim Berners-Lee came up with HTTP and HTML and made > things > horribly complicated, one could still concentrate on the quintessential > meaning of things, > rather than spen

Re: How to convert WAR application into console application (Making Unicorn has console application)

2010-08-20 Thread André Warnier
Caldarale, Charles R wrote: From: Ranjith [mailto:ranjit...@sedin.co.in] Subject: Re: How to convert WAR application into console application (Making Unicorn has console application) No Its working fine but i want to execute it on console that is my project. Let me see if I understand this co

Re: trouble with url-pattern in a filter-mapping (tomcat 6)

2010-08-20 Thread David Goodenough
On Friday 20 August 2010, Pid wrote: > On 20/08/2010 10:40, David Goodenough wrote: > > I am trying to configure a filter to handle just requests to a single > > page which for the simplicity I will call page.htm (at the root of my > > application). > > > > So I created a url-pattern which read:-

RE: isapi_redirect.dll wont load on IIS7

2010-08-20 Thread Nick Beare
Chuck, That's fantastic. Downloaded the amd64 dll you suggested and it worked first time (and runs pretty quick too). My ignorance of processor architecture lead me to the following assumptions... Our server runs Intel xeon processor. My reasoning went Intel begins with I so must be ia64! I the

Re: tomcat mutual authentication doesn't work

2010-08-20 Thread aravidu
Ok. I will follow your steps and get back to you. I will write back in a couple hours.. Thanks very much! -A Ognjen Blagojevic-5 wrote: > > On 20.8.2010 0:44, aravidu wrote: >> I don't have a client.keystore. >> >> Commands I used for creating a truststore& adding keys to it: >> keytool" -e

Re: war not redeploying

2010-08-20 Thread Sean McEligot
On Thu, Aug 19, 2010 at 3:09 PM, Sean McEligot wrote: > I now have one war that redeploys correctly (Cavs.war) and one that > does not redeploy (blview.war) > > > $ ls -l work/Catalina/localhost/ > total 0 > drwxrwx---+ 1 Administrators SYSTEM 0 2010-08-19 14:35 Cavs > drwxrwx---+ 1 Administrators

RE: isapi_redirect.dll wont load on IIS7

2010-08-20 Thread Caldarale, Charles R
> From: Nick Beare [mailto:nick.be...@causeway.com] > Subject: isapi_redirect.dll wont load on IIS7 The key statement would seem to be: > The current configuration only supports loading images > built for a AMD64 processor architecture. Looks like you're trying to use a 32-bit DLL in a 64-bit

isapi_redirect.dll wont load on IIS7

2010-08-20 Thread Nick Beare
Hi, I have followed the document described at http://community.jboss.org/wiki/UsingModjk12WithJbossAndIIs7 and several other related documents, but when I try to browse to the jmx-console through IIS, I get:- HTTP Error 500.0 - Internal Server Error Calling LoadLibraryEx on ISAPI filter "C:\J

RE: Tomcat 7.0.2 fails to load keystore w/ same keystore and keypass config as 6.0.2X

2010-08-20 Thread Caldarale, Charles R
> From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] > Subject: RE: Tomcat 7.0.2 fails to load keystore w/ same keystore and > keypass config as 6.0.2X > > Read the doc; the attribute is keystorePass, not keypass. > > http://tomcat.apache.org/tomcat-7.0-doc/ssl-howto.html Tomcat 6.0.

RE: Tomcat 7.0.2 fails to load keystore w/ same keystore and keypass config as 6.0.2X

2010-08-20 Thread Caldarale, Charles R
> From: Armando Singer [mailto:armando.sin...@gmail.com] > Subject: Tomcat 7.0.2 fails to load keystore w/ same keystore and > keypass config as 6.0.2X > > Any changes to keystore/password handling that would make 7.0.2 not > backward compatible? Read the doc; the attribute is keystorePass, not k

RE: How to convert WAR application into console application (Making Unicorn has console application)

2010-08-20 Thread Caldarale, Charles R
> From: Ranjith [mailto:ranjit...@sedin.co.in] > Subject: Re: How to convert WAR application into console application > (Making Unicorn has console application) > > No not like that it runs very well in tomcat but i want to build a > console version I`m not hater of tomcat I just want to build it.

Re: How to convert WAR application into console application (Making Unicorn has console application)

2010-08-20 Thread Ranjith
Hi, No not like that it runs very well in tomcat but i want to build a console version I`m not hater of tomcat I just want to build it. On Fri, Aug 20, 2010 at 6:36 PM, Caldarale, Charles R < chuck.caldar...@unisys.com> wrote: > > From: Ranjith [mailto:ranjit...@sedin.co.in] > > Subject: Re: H

RE: How to convert WAR application into console application (Making Unicorn has console application)

2010-08-20 Thread Caldarale, Charles R
> From: Ranjith [mailto:ranjit...@sedin.co.in] > Subject: Re: How to convert WAR application into console application > (Making Unicorn has console application) > > No Its working fine but i want to execute it on console that > is my project. Let me see if I understand this correctly: You're as

Re: How to convert WAR application into console application (Making Unicorn has console application)

2010-08-20 Thread Ranjith
Can be little more specify about curl implementation because I`m beginner level or any link so I can make use of it. Thank you On Fri, Aug 20, 2010 at 6:25 PM, Pid wrote: > On 20/08/2010 13:53, Ranjith wrote: > > Hi all, > > > > On Fri, Aug 20, 2010 at 5:59 PM, Pid wrote: > > > >> On 20/08/2010

Re: How to convert WAR application into console application (Making Unicorn has console application)

2010-08-20 Thread Pid
On 20/08/2010 13:53, Ranjith wrote: > Hi all, > > On Fri, Aug 20, 2010 at 5:59 PM, Pid wrote: > >> On 20/08/2010 12:49, Ranjith wrote: >>> Hi all, >>> Unicorn just provide a URI and push the button. It will call a >> series >>> of validation services and report the results.I have already do

Re: Sessions mix-up on Tomcat 6.0.26 on Linux

2010-08-20 Thread Pid
On 19/08/2010 23:42, Christopher Schultz wrote: > Wesley, > > On 8/19/2010 5:04 PM, Wesley Acheson wrote: >> Maybe its just be but I still don't see where uadc is declared or even >> imported. > > ...or even used. > > I'm guessing that the bad code exists outside of this login servlet. s/the b

Re: How to convert WAR application into console application (Making Unicorn has console application)

2010-08-20 Thread Ranjith
Hi all, On Fri, Aug 20, 2010 at 5:59 PM, Pid wrote: > On 20/08/2010 12:49, Ranjith wrote: > > Hi all, > > Unicorn just provide a URI and push the button. It will call a > series > > of validation services and report the results.I have already downloaded > and > > installed Unicorn. To Downl

Re: Is there a better way to disable JSESSIONID in the URLs?

2010-08-20 Thread Pid
On 19/08/2010 20:41, Wesley Acheson wrote: > On Thu, Aug 19, 2010 at 6:25 PM, Len Popp wrote: > >> On Thu, Aug 19, 2010 at 12:01, Christopher Schultz >> wrote: >>> The servlet specification mandates this behavior. Tomcat simply must >>> support it. The spec says nothing of configurability, so To

Re: Tomcat 64 bits

2010-08-20 Thread Tobias Crefeld
Am Fri, 20 Aug 2010 14:15:30 +0200 schrieb KiLiCoOl : > True but no one explain how to compile tomcat in 64 bits for > unix ... :( This is correct and there is an explanation in the thread. > > A short search in the archives of this mailing list would help: > > > > http://mail-archives.apache.or

Re: How to convert WAR application into console application (Making Unicorn has console application)

2010-08-20 Thread Pid
On 20/08/2010 12:49, Ranjith wrote: > Hi all, > Unicorn just provide a URI and push the button. It will call a series > of validation services and report the results.I have already downloaded and > installed Unicorn. To Download the source code it is only available for > download from the Merc

Re: trouble with url-pattern in a filter-mapping (tomcat 6)

2010-08-20 Thread Pid
On 20/08/2010 10:40, David Goodenough wrote: > I am trying to configure a filter to handle just requests to a single page > which for the simplicity I will call page.htm (at the root of my application). > > So I created a url-pattern which read:- > > page.htm > > and put it inside my tag. > >

Re: Tomcat 64 bits

2010-08-20 Thread KiLiCoOl
Ok, thanks a lot On Fri, Aug 20, 2010 at 2:25 PM, Mikolaj Rydzewski wrote: > On 08/20/2010 02:15 PM, KiLiCoOl wrote: > >> True but no one explain how to compile tomcat in 64 bits for unix ... :( >> >> > > There's no need to compile anything. > Just use 64-bit JVM. > > -- > Mikolaj Rydzewski > >

Re: Tomcat 64 bits

2010-08-20 Thread Mikolaj Rydzewski
On 08/20/2010 02:15 PM, KiLiCoOl wrote: True but no one explain how to compile tomcat in 64 bits for unix ... :( There's no need to compile anything. Just use 64-bit JVM. -- Mikolaj Rydzewski - To unsubscribe, e-mail: us

Re: Tomcat 64 bits

2010-08-20 Thread KiLiCoOl
True but no one explain how to compile tomcat in 64 bits for unix ... :( On Fri, Aug 20, 2010 at 1:58 PM, Tobias Crefeld wrote: > Am Fri, 20 Aug 2010 13:37:08 +0200 > schrieb KiLiCoOl : > > > Is there a version of Tomcat 6.* in 64 bits under linux ? > > A short search in the archives of this mai

Re: Tomcat 64 bits

2010-08-20 Thread Tobias Crefeld
Am Fri, 20 Aug 2010 13:37:08 +0200 schrieb KiLiCoOl : > Is there a version of Tomcat 6.* in 64 bits under linux ? A short search in the archives of this mailing list would help: http://mail-archives.apache.org/mod_mbox/tomcat-users/201008.mbox/thread?1 Regards, Tobias. --

How to convert WAR application into console application (Making Unicorn has console application)

2010-08-20 Thread Ranjith
Hi all, Unicorn just provide a URI and push the button. It will call a series of validation services and report the results.I have already downloaded and installed Unicorn. To Download the source code it is only available for download from the Mercurial repository. To download it, use the comm

Tomcat 64 bits

2010-08-20 Thread KiLiCoOl
Hi, Is there a version of Tomcat 6.* in 64 bits under linux ? Best regards, Julien

Re: logging from a filter

2010-08-20 Thread David Goodenough
On Friday 20 August 2010, Rainer Jung wrote: > On 20.08.2010 11:43, David Goodenough wrote: > > How do I write log entries from a Filter. In a servlet there is a log > > method but as a filter only implements Filter that is obviously not an > > option. > > The init() of the filter is called with

Re: logging from a filter

2010-08-20 Thread Rainer Jung
On 20.08.2010 11:43, David Goodenough wrote: How do I write log entries from a Filter. In a servlet there is a log method but as a filter only implements Filter that is obviously not an option. The init() of the filter is called with a FilterConfig argument, from which you get a ServletContex

logging from a filter

2010-08-20 Thread David Goodenough
How do I write log entries from a Filter. In a servlet there is a log method but as a filter only implements Filter that is obviously not an option. David - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additio

trouble with url-pattern in a filter-mapping (tomcat 6)

2010-08-20 Thread David Goodenough
I am trying to configure a filter to handle just requests to a single page which for the simplicity I will call page.htm (at the root of my application). So I created a url-pattern which read:- page.htm and put it inside my tag. But when I start tomcat6 it throws an exception complaining that

Re: Tomcat 5.5 Trust Stores and Client Authentication

2010-08-20 Thread Hans Wahn
>> I then installed the client certificate mycert.cer into >> the client browsers, but has no effect and I still recevie the same >> error messages. Is Firefox able to authenticate itself via a client certificate against a server? Maybe you just installed it in the truststore of trustfull servers?

Re: tomcat mutual authentication doesn't work

2010-08-20 Thread Ognjen Blagojevic
On 20.8.2010 0:44, aravidu wrote: I don't have a client.keystore. Commands I used for creating a truststore& adding keys to it: keytool" -export -alias clientcert -file client-cert.cer -keystore tomcat.truststore keytool" -import -file client-cert.cer -alias clientcert -keystore tomcat.truststo

Tomcat 7.0.2 fails to load keystore w/ same keystore and keypass config as 6.0.2X

2010-08-20 Thread Armando Singer
Hello, I tried 7.0.2 from 6.0.2X with an identical config (I looked at the migration guide--no changes needed for my config). With 7.0.2, my SSL connector failed to start because "password verification failed." The logged password and jks file on the in the WARNING an SEVERE log statements are