Re: Trouble with jdbc drivers in TC 7

2011-04-08 Thread Rainer Frey
On Thursday 07 April 2011 22:17:22 Christopher Schultz wrote: Could you be missing a shared library from your java.library.path? Sometimes, missing shared libs can cause CNFEs. The folder where the .dlls are located is on the windows %path%. Is that part of the java.library.path?

Re: Tomcat-oracle secure connection

2011-04-08 Thread ramram8
Thank you Alex for the quick reply. can you provide me with some examples or documentation concerning the subject? Alex Kiernan wrote: Transport mode IPsec? Easy if you've done it before, a complete ballache the first time. On 4/7/11, ramram8 ramram...@gmail.com wrote: Hello, Does

Re: How to hide tomcat console when installed as service

2011-04-08 Thread Amit k
Hi, The tomcat is build from source and it is integrated in the installer. Not to use binaries was the decision taken long back and cant be revoked. The tomcat is started exactly in two ways 1. With sc.exe (That is with the SC tool) that is sc.exe start Tomcat6 2. With net start Tomcat6 command

Re: How to limit tomcats thread consumption?

2011-04-08 Thread Michael Jerger
Am Dienstag, 5. April 2011, 18:13:57 schrieb Michael Jerger: Andre wrote: That is one of those areas where giving a precise answer is not easy, because it depends on so many things.. You can run two separate Apache httpd instances of course, each with its individual MaxClients setting.

Re: [ win xp and win server 2003 ] tomcat utf8 encoding

2011-04-08 Thread Tomislav Brkljačić
awarnier wrote: Tomislav Brkljačić wrote: awarnier wrote: Tomislav Brkljačić wrote: Hi to all, this is my scenario and problem. Situation 1. - local machine, win xp I have a web app deployed to tomcat, and the app has a webform for uploading attachments. Attachments can have

Re: How to limit tomcats thread consumption?

2011-04-08 Thread André Warnier
Michael Jerger wrote: Am Dienstag, 5. April 2011, 18:13:57 schrieb Michael Jerger: Andre wrote: That is one of those areas where giving a precise answer is not easy, because it depends on so many things.. You can run two separate Apache httpd instances of course, each with its individual

Re: Maven 2 configuration for JSF2 compatible version of tomcat plugin

2011-04-08 Thread Yucca Nel
I was able to resolve this issue thanks to: http://stackoverflow.com/questions/3714080/tomcat-7-maven-plugin Very useful and once again indicating why maven sux... this type of docu,emtation should be expected to be found with the plugin grr -Original Message- From: Yucca Nel

Re: JDBC Pool Disconnections

2011-04-08 Thread הילה
Hey, I'm using JTDS 1.2.5 It has proven to be more stable than the JDBC driver of microsoft, so we're using it. Thanks Hila 2011/4/7 Pid p...@pidster.com On 4/6/11 8:36 PM, הילה wrote: I wanted to add it, bu the company that developed the application that runs on the tomcat, says that it

Re: JDBC Pool Disconnections

2011-04-08 Thread הילה
What is RDBMS? I tried to google it, but haven't quite figure it out. as mentioned, we're using SQL server 2008, latest SP. And I will add the strings of validationQuery and validationInterval. :] Thanks Hila 2011/4/7 Christopher Schultz ch...@christopherschultz.net -BEGIN PGP SIGNED

Re: How to hide tomcat console when installed as service

2011-04-08 Thread הילה
Hey, in the service properties, under Log on Tab, view the box of Allow service to interact with desktop. if it's checked- clear it. This what has worked for me :] Thanks Hila :] 2011/4/8 Amit k opteemuspr...@gmail.com Hi, The tomcat is build from source and it is integrated in the

Re: JDBC Pool Disconnections

2011-04-08 Thread André Warnier
הילה wrote: What is RDBMS? An easy one, just my level : Relational DataBase Management System. As a further exercise, here is a list of essential acronyms which one is supposed to know in order to be recognised as a Real Tomcat Programmer (RTP) : JVM, J2EE, BIO, NIO, APR, JDBC, JMX, JNDI,

RE: JDBC Pool Disconnections

2011-04-08 Thread Martin Gainty
Relational Database Management System If you desire to implement a tag library which maps data entities into jsp tag elements I would suggest Phillipe Poulards 'Active Tag' http://ns.inria.fr/active-tags/rdbms/rdbms.html#N4000C7 Bon Chance! Martin

RE: Help with CsrfPreventionFilter

2011-04-08 Thread Mathew Samuel
Hi Chris, Thanks for your suggestion. Yes the webapp works perfectly fine if I comment out the CSRFPreventionFilter. Also tried with url-pattern/*/url-pattern but it produced the same result in that what loads is basically a text-based page with no images, no functionality behind buttons.

Re: [ win xp and win server 2003 ] tomcat utf8 encoding

2011-04-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 4/7/2011 5:15 PM, André Warnier wrote: Christopher Schultz wrote: ... (RFC references) .. Thanks for that post (with the chain of applicable RFCs). I will keep that email preciously as a resource for future file upload debugging

Re: [ win xp and win server 2003 ] tomcat utf8 encoding

2011-04-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tom, On 4/8/2011 4:19 AM, Tomislav Brkljačić wrote: Ok, this is what i did. 1. updated the java runtime so they match on both machines Not a bad idea, but probably didn't affect anything. Tried to run the examples, but still the same result.

Re: Help with CsrfPreventionFilter

2011-04-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mathew, On 4/8/2011 9:26 AM, Mathew Samuel wrote: Yes the webapp works perfectly fine if I comment out the CSRFPreventionFilter. Good. Also tried with url-pattern/*/url-pattern but it produced the same result in that what loads is basically a

Re: JDBC Pool Disconnections

2011-04-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 4/8/2011 7:33 AM, André Warnier wrote: הילה wrote: What is RDBMS? An easy one, just my level : Relational DataBase Management System. As a further exercise, here is a list of essential acronyms which one is supposed to know in

Re: JDBC Pool Disconnections

2011-04-08 Thread הילה
go back for a sec.. last thing we talked about is adding the strings of validation query, validation interval and test on borrow, so the pool will know if the connections had been closed by DB or not, and respond accordingly. this one I understood :] so.. RDBMS? how is it connected to my case?

RE: JDBC Pool Disconnections

2011-04-08 Thread Caldarale, Charles R
From: הילה [mailto:hilavalen...@gmail.com] Subject: Re: JDBC Pool Disconnections go back for a sec.. last thing we talked about is adding the strings of validation query, validation interval and test on borrow, so the pool will know if the connections had been closed by DB or not, and

Re: JDBC Pool Disconnections

2011-04-08 Thread הילה
Thanks so.. SQL server 2008 is the one I'm using. :] 2011/4/8 Caldarale, Charles R chuck.caldar...@unisys.com From: הילה [mailto:hilavalen...@gmail.com] Subject: Re: JDBC Pool Disconnections go back for a sec.. last thing we talked about is adding the strings of validation query,

Re: JDBC Pool Disconnections

2011-04-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 הילה, On 4/8/2011 11:04 AM, הילה wrote: so.. SQL server 2008 is the one I'm using. :] Some quick Googling didn't lead me to any resources on a fast ping that you could use as a validation query. You could always read the documentation for your JDBC

Re: JDBC Pool Disconnections

2011-04-08 Thread הילה
I think that if the disconnections will continue, I'll read just about anything to make it stop :] Thanks ;) 2011/4/8 Christopher Schultz ch...@christopherschultz.net -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 הילה, On 4/8/2011 11:04 AM, הילה wrote: so.. SQL server 2008 is the one

Re: [ win xp and win server 2003 ] tomcat utf8 encoding

2011-04-08 Thread Tomislav Brkljačić
The remote machine gives the wrong result. I wrote on the mailing list of the BPM software, the discussion is still alive. Maybe i could try to force a CharacterEncodingFilter filter on tomcat. Something like http://www.onthoo.com/blog/programming/2005/07/characterencodingfilter.html this . I

Re: [ win xp and win server 2003 ] tomcat utf8 encoding

2011-04-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tom, On 4/8/2011 11:42 AM, Tomislav Brkljačić wrote: The remote machine gives the wrong result. Okay. Could you post a LiveHttpHeaders dump of /that/ interaction, too? I wrote on the mailing list of the BPM software, the discussion is still

Re: [ win xp and win server 2003 ] tomcat utf8 encoding

2011-04-08 Thread André Warnier
Tomislav Brkljačić wrote: The remote machine gives the wrong result. I wrote on the mailing list of the BPM software, the discussion is still alive. Maybe i could try to force a CharacterEncodingFilter filter on tomcat. Something like

Re: [ win xp and win server 2003 ] tomcat utf8 encoding

2011-04-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 4/8/2011 11:50 AM, André Warnier wrote: Tomislav Brkljačić wrote: The remote machine gives the wrong result. I wrote on the mailing list of the BPM software, the discussion is still alive. Maybe i could try to force a

RE: Help with CsrfPreventionFilter

2011-04-08 Thread Mathew Samuel
Hi Chris, That was a good test suggestion, to compare the page source between when CSRF is on and off. What surprised me is that the page source between the two is identical. But still with the CSRF filter on I see this: And with that filter off I see this: If I was fronting with Apache

RE: Help with CsrfPreventionFilter

2011-04-08 Thread Mathew Samuel
Well so much for my last post with images. Essentially it was showing a screenshot when the filter was on and there were no images, no theme, nothing. And then the following one with it off which had everything in place. But HTML source is identical. From:

HttpSessionActivationListener sessionDidActivate not getting called

2011-04-08 Thread Aggarwal, Ajay
This is strange. I did some work few months ago for my application to manage my sessions using a combination of HttpSessionActivationListener and HttpSessionListener (not going into the details here as to why I needed this). When I did that work HttpSessionActivationListener was working fine and

RE: HttpSessionActivationListener sessionDidActivate not getting called

2011-04-08 Thread Caldarale, Charles R
From: Aggarwal, Ajay [mailto:ajay.aggar...@stratus.com] Subject: HttpSessionActivationListener sessionDidActivate not getting called Lately I am seeing that sessionDidActivate() does not get called upon tomcat restart, even though sessionWillPassivate() is called. Also even though

jkmanager + password

2011-04-08 Thread Harlei Liguori Marcelino
Hi friends, i

jkmanager + password

2011-04-08 Thread Harlei Liguori Marcelino
Hi friends, i'm new on the companhy and here we have an load balancer using apache + tomcat, thats ok! But, the jkmanager site on the loadbalancer has no security. I must insert a password on this jkmanager, but, i search everywere and did not find nothing about it. Can someone help me to make

RE: HttpSessionActivationListener sessionDidActivate not getting called

2011-04-08 Thread Aggarwal, Ajay
That's the first thing I thought too. However I don't see anything in the logs to indicate this. Also when sessionWillPassivate() is called I am logging all session attributes to make sure there is nothing non serializable there. -Original Message- From: Caldarale, Charles R

Log File Problems in tomcat

2011-04-08 Thread Harsimranjit singh Kler
hi Using tomcat 5.5.27 on Linux machine . Whenever i am deleting log files(catalina,localhost etc log files) from tomcat_home\logs path.These are not auto genrating .Everytime i need to restart tomcat to get thise files i dont want this.Any solution to this? Same problem with my application

Re: Tomcat-oracle secure connection

2011-04-08 Thread Alex Kiernan
What OS each end? On 4/8/11, ramram8 ramram...@gmail.com wrote: Thank you Alex for the quick reply. can you provide me with some examples or documentation concerning the subject? Alex Kiernan wrote: Transport mode IPsec? Easy if you've done it before, a complete ballache the first time.

RE: HttpSessionActivationListener sessionDidActivate not getting called

2011-04-08 Thread Aggarwal, Ajay
I enabled logging, created 1 session and restarted tomcat. This is what I see in the logs. Is there anything suspicious here? Why are there multiple attempts to persist sessions? Is it one per application? One thing that has changed is now I have multiple applications. And the path

Re: Help with CsrfPreventionFilter

2011-04-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mathew, On 4/8/2011 12:19 PM, Mathew Samuel wrote: That was a good test suggestion, to compare the page source between when CSRF is on and off. What surprised me is that the page source between the two is identical. But still with the CSRF

Re: HttpSessionActivationListener sessionDidActivate not getting called

2011-04-08 Thread Filip Hanik - Dev Lists
did any data actually get written to /shared/httpd/tomcat_sessions It could be that there is a permission problem best Filip On 4/8/2011 1:20 PM, Aggarwal, Ajay wrote: I enabled logging, created 1 session and restarted tomcat. This is what I see in the logs. Is there anything suspicious

Re: jkmanager + password

2011-04-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Harlei, On 4/8/2011 2:15 PM, Harlei Liguori Marcelino wrote: i'm new on the companhy and here we have an load balancer using apache + tomcat, thats ok! But, the jkmanager site on the loadbalancer has no security. I must insert a password on

Re: jkmanager + password

2011-04-08 Thread Harlei Liguori Marcelino
Understood!!! But i tried some httpd options to secure this, and nothing work... :( can you gimme some example? Look bellow my conf files: ### modjk.conf ### LoadModule jk_module modules/mod_jk.so JkWorkersFile /etc/httpd/conf.d/workers.properties JkLogFile /var/log/httpd/mod_jk.log

RE: HttpSessionActivationListener sessionDidActivate not getting called

2011-04-08 Thread Aggarwal, Ajay
Interestingly, after I moved the contextManager configuration to the context.xml of the application where I wanted this functionality, its working again, however I still see multiple attempts to persist sessions. -Original Message- From: Filip Hanik - Dev Lists [mailto:devli...@hanik.com]

RE: Help with CsrfPreventionFilter

2011-04-08 Thread Mathew Samuel
Hi Chris, Thanks for your patience. So I've got CSRF to work at least to a certain degree that it actually displays the page in it's entirety. But I literally had to explicitly state each css, js, gif that was going to be referenced as part of that page. So here is what that portion of the

Re: Log File Problems in tomcat

2011-04-08 Thread Pid
On 4/8/11 8:18 PM, Harsimranjit singh Kler wrote: hi Using tomcat 5.5.27 on Linux machine . Whenever i am deleting log files(catalina,localhost etc log files) from tomcat_home\logs path.These are not auto genrating .Everytime i need to restart tomcat to get thise files i dont want

Fwd: Log File Problems in tomcat

2011-04-08 Thread Harsimranjit singh Kler
hi Using tomcat 5.5.27 on Linux machine . Whenever i am deleting log files(catalina,localhost etc log files) from tomcat_home\logs path.These are not auto genrating .Everytime i need to restart tomcat to get thise files i dont want this.Any solution to this? Same problem with my application

Re: Log File Problems in tomcat

2011-04-08 Thread Harsimranjit singh Kler
Thanks for reply. I was also thinking in that way but after all i need same user to delete(for eg old log deletion or manual deletion) also.So want to avoid restarting tomcat just to create new logs. Looking for some solution at tomcat level so my tomcat always run even if current log files are

Re: Help with CsrfPreventionFilter

2011-04-08 Thread André Warnier
Mathew Samuel wrote: Well so much for my last post with images. Essentially it was showing a screenshot when the filter was on and there were no images, no theme, nothing. And then the following one with it off which had everything in place. But HTML source is identical. Thanks for posting

Re: jkmanager + password

2011-04-08 Thread André Warnier
Have a look here : http://httpd.apache.org/docs/2.2/howto/auth.html Harlei Liguori Marcelino wrote: Understood!!! But i tried some httpd options to secure this, and nothing work... :( can you gimme some example? Look bellow my conf files: ### modjk.conf ### LoadModule jk_module

Re: Help with CsrfPreventionFilter

2011-04-08 Thread Konstantin Kolinko
2011/4/8 Mathew Samuel mathew.sam...@entrust.com: Hi Chris, Thanks for your patience. So I've got CSRF to work at least to a certain degree that it actually displays the page in it's entirety. But I literally had to explicitly state each css, js, gif that was going to be referenced as

Re: Log File Problems in tomcat

2011-04-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Harsimranjit, On 4/8/2011 3:18 PM, Harsimranjit singh Kler wrote: Whenever i am deleting log files(catalina,localhost etc log files) from tomcat_home\logs path.These are not auto genrating .Everytime i need to restart tomcat to get thise files i

Re: Log File Problems in tomcat

2011-04-08 Thread Konstantin Kolinko
2011/4/8 Harsimranjit singh Kler simran...@gmail.com: Whenever i am deleting log files(catalina,localhost etc log files) from tomcat_home\logs path.These are not auto genrating .Everytime i need to restart tomcat to get thise files i dont want this.Any solution to this? That is how unixes

Re: jkmanager + password

2011-04-08 Thread Harlei Liguori Marcelino
Oh, thanks!!! i solve it uhauahaua i was using a wrong / :) you was correct, a simple httpd (apache) command to solve it!!! thanks a lot Harlei 2011/4/8 Harlei Liguori Marcelino hligu...@gmail.com Understood!!! But i tried some httpd options to secure this, and nothing work... :( can