request.getParameter() not working in Tomcat 7.0.8

2011-02-26 Thread Michael McCutcheon
I've got a simple problem where: request.getQueryString() returns this: "title%3Dtesttitle%26categoryAccessLabel%3Dtestcategoryaccesslabel%26valueAccessLabel%3DtestvalueAccessLabel" but request.getParameter("title") returns null. Am I missing something obvious? Shouldn't it be returning 't

Re: request.getParameter() not working in Tomcat 7.0.8

2011-02-26 Thread Michael McCutcheon
On 2/26/2011 10:43 PM, Michael McCutcheon wrote: I've got a simple problem where: request.getQueryString() returns this: "title%3Dtesttitle%26categoryAccessLabel%3Dtestcategoryaccesslabel%26valueAccessLabel%3DtestvalueAccessLabel" but request.getParameter("title") returns null. Am I missin

request.getParameter() not working in Tomcat 7.0.8

2011-02-26 Thread Michael McCutcheon
I've got a simple problem where: request.getQueryString() returns this: "title%3Dtesttitle%26categoryAccessLabel%3Dtestcategoryaccesslabel%26valueAccessLabel%3DtestvalueAccessLabel" but request.getParameter("title") returns null. Am I missing something obvious? Shouldn't it be returning 'test

Re: what to do in conf. files

2011-02-26 Thread Ognjen Blagojevic
On 26.2.2011 22:29, Ognjen Blagojevic wrote: 3. Remove the reloadable attribute. Docs: "This feature is very useful during application development, but it requires significant runtime overhead and is not recommended for use on deployed production applications. That's why the default setting for t

Re: what to do in conf. files

2011-02-26 Thread Ognjen Blagojevic
On 26.2.2011 18:50, ahmet temiz wrote: 1. Remove the path attribute. Docs: "The value of this field must not be set except when statically defining a Context in server.xml, as it will be inferred from the filenames used for either the .xml context file or the docBase." 2. Remov

Re: programming question

2011-02-26 Thread Jorge Medina
If you use Oracle, some DBCP settings may not work and you may need to use Oracle connection pool classes. In particular, I was not able to use DBCP and have a loginTimeout when using Oracle. Using Oracle connection pool classes, the validation query does not work in the same way as in Apache DBCP

RE: Trouble setting up ssl

2011-02-26 Thread Joseph L. Casale
>You must import signed certficate request under same alias you used to >generate request. So, instead of "-alias tomcat2" use "-alias tomcat". Ognjen, When I ran it that way, it gave an error (blew those notes away) and a search led me to see someone suggesting you couldn't reuse that alias, so

Re: Question on Realm Configuration

2011-02-26 Thread Josh Gooding
Ah, thank you Konstantin and Charles, you pointed out something that I didn't have to worry about on a Win based machine. The conf/Catalina/localhost/myappname.xml file was not in sync with the webapps/myapp/META-INF/context.xml file. As soon as I updated the file in the /conf/Catalina... directo

Re: Trouble setting up ssl

2011-02-26 Thread Ognjen Blagojevic
On 26.2.2011 6:42, Joseph L. Casale wrote: I have setup a keystore as follows: keytool -genkey -alias tomcat -keyalg RSA -dname CN=,OU="Company Name",O=" Company Name ",L=city,ST=province,C=CA \ -keystore /path/keystore -keypass phrase -storepass phrase ... I added the signed sert: keytool -im

Re: Trouble setting up ssl

2011-02-26 Thread Jorge Medina
Your Certificate Authority (The certificate used to sign your other certificates, in this case provided by your Windows CA Server) is not trusted by your clients. Are your clients internal or external to your company? If your clients are internal, you can add the certificate to the trusted roots o

RE: Question on Realm Configuration

2011-02-26 Thread Caldarale, Charles R
> From: Josh Gooding [mailto:josh.good...@gmail.com] > Subject: Question on Realm Configuration > I'm running 6.0.29 and I have setup a realm in my context.xml > file as follows: Exactly which context.xml file? Where is it located? If it's in the webapp's META-INF/context.xml file, and you'r

Re: Question on Realm Configuration

2011-02-26 Thread Konstantin Kolinko
2011/2/26 Josh Gooding : > I am running a tail -f on the localhost.log file so I can see what is > happening, and when I input my credentials and check the log, > it says it cannot find password for user JGooding. 1) What exactly does it say? Is it some exception, or just a plain log statement? 2

[OT] Cloud Compatible Apps

2011-02-26 Thread MT
Apologies for this off-topic posting, however I think it is relevant to application development in general. Wanted: Cloud Compatible Applications to be listed in a directory for Cloud Compatible applications. Criteria: Web applications that are compatible with 3-Tiered Load Balancing services - D

Question on Realm Configuration

2011-02-26 Thread Josh Gooding
Hey guys it's been a while here, but I have some questions on a realm configuration I'm working on. I'm running 6.0.29 and I have setup a realm in my context.xml file as follows: WEB-INF/web.xml so everything appears to be configured correctly in the context.xml file. I checked

Re: programming question

2011-02-26 Thread Charles Polisher
Mark Eggers wrote: > When the database is shut down, I get exception messages logged (you do log > exceptions, right?). Pages that depend on database content are missing that > content. > > When the database is started up again, a refresh of the pages displays the > content coming from the data

Re: what to do in conf. files

2011-02-26 Thread ahmet temiz
Thank you for your interest. when I went over my app., something looked suspicious. I had added an extra context file for pooled postgresql connection like this: Is it likely to be the reason of problem ? especially this expression url="jdbc:postgresql://127.0.0.1:5432/bzk2" in prod