Re: “Virtual hosting” with port removed?

2015-02-10 Thread Micky Hulse
I just wanted to say thanks to everyone for the help. I ended up downloading Tomcat directly from the Tomcat site and got that up-and-running super fast. In the end, I opted to not worry about spoofing/vhosting anything. Maybe down the road, but for right now I've been fine with symlinking my Git

Re: FileNotFoundException for existing JAR files

2015-02-10 Thread Alexander Johnson
Sorry, those aren't the actual project or directory names since I was asked to obscure the information when seeking help. I've double-checked and the actual directory names are consistent. Yes, the target directory is created by the same build. We're using Maven so this all happens sequentially.

Re: Given password did not match password used to create the PooledConnection when there is no change in password

2015-02-10 Thread Vinoth Raja
Hi Chris, Thanks for the quick response. Please find the stack trace. This happens when there is more requests. I could reproduce it by loading more concurrent request All datasources called with same username/password. 4 datasources are called at a time by 4 different application. INFO: Stoppin

Re: FileNotFoundException for existing JAR files

2015-02-10 Thread Konstantin Kolinko
2015-02-11 4:48 GMT+03:00 Alexander Johnson : > Thanks for the suggestions. I don't have access to the server where this > is happening, but I did get a script to run there: > > echo Displaying JAR files with current permissions... > ls -la ./target/MyProject/WEB-INF/lib/ > >

Re: FileNotFoundException for existing JAR files

2015-02-10 Thread Alexander Johnson
Thanks for the suggestions. I don't have access to the server where this is happening, but I did get a script to run there: echo Displaying JAR files with current permissions... ls -la ./target/MyProject/WEB-INF/lib/ echo Adding read, write, and execute permission

Re: Tomcat 8 SQL Connection Problems

2015-02-10 Thread Jerry Malcolm
On 2/10/2015 12:30 PM, Konstantin Kolinko wrote: re are configuration differences between DBCP 1.x pool (in Tomcat 7) and DBCP 2.x (in Tomcat 8). It is mentioned in the Tomcat Migration Guide. http://tomcat.apache.org/migration-8.html#Database_Connection_Pooling Best regards, Konstantin Kolink

RE: tomcat errors

2015-02-10 Thread Wirth, Kevin
Yes, that is the log I am looking at and it is blank. -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Tuesday, February 10, 2015 2:41 PM To: Tomcat Users List Subject: Re: tomcat errors -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Kevin, On 2

Re: tomcat errors

2015-02-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Kevin, On 2/10/15 2:33 PM, Wirth, Kevin wrote: > The localhost.date log is empty. Would it be in a different file? Look for anything in the logs/ directory. In a default configuration, the logs for your application would probably have gone to loca

Re: Given password did not match password used to create the PooledConnection when there is no change in password

2015-02-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Vinoth, On 2/10/15 11:57 AM, Vinoth Raja wrote: > Environment used: - Tomcat 7.0.57 - Windows - Java 1.7 - MS SQL > 2008. > > Issue:"Given password did not match password used to create the > PooledConnection" Stack trace? - -chris > There is n

RE: tomcat errors

2015-02-10 Thread Wirth, Kevin
The localhost.date log is empty. Would it be in a different file? -Original Message- From: Konstantin Kolinko [mailto:knst.koli...@gmail.com] Sent: Tuesday, February 10, 2015 2:29 PM To: Tomcat Users List Subject: Re: tomcat errors 2015-02-10 20:36 GMT+03:00 Wirth, Kevin : > Hello. I h

RE: tomcat errors

2015-02-10 Thread Wirth, Kevin
Ok, thank you for your help. I will take a look and post back -Original Message- From: Konstantin Kolinko [mailto:knst.koli...@gmail.com] Sent: Tuesday, February 10, 2015 2:29 PM To: Tomcat Users List Subject: Re: tomcat errors 2015-02-10 20:36 GMT+03:00 Wirth, Kevin : > Hello. I have

Re: tomcat errors

2015-02-10 Thread Konstantin Kolinko
2015-02-10 20:36 GMT+03:00 Wirth, Kevin : > Hello. I have been chasing this error for the last day and I am at a loss of > what the problem is. The application was working fine until Friday night > when san maintenance was done and the sql database was shut down. The > application server was

Re: Tomcat 8 SQL Connection Problems

2015-02-10 Thread Konstantin Kolinko
2015-02-10 20:22 GMT+03:00 Jerry Malcolm : > Has something changed on TC 8 requiring some different configuration for SQL > connections? I just installed 8.0.15 on three servers (see last week's post > regarding errors on 8.0.17). All three servers work for a while. Then > after about an hour I

Re: Apparent Bug Introduced between 8.0.15 & 8.0.17

2015-02-10 Thread Jerry Malcolm
Can you try again with 8.0.18? I think you may have hit a regression that has since been fixed. If you still see the error, open a BZ issue and provide the simplest steps to reproduce you can (e.g. a JSP to add to Tomcat's examples app). Cheers, Mark Thanks for the info, Mark. I will try again

Re: Tomcat 8 SQL Connection Problems

2015-02-10 Thread Jerry Malcolm
Filip, Thanks for the response. But what am I looking for in that document? I understand how jdbc connection pooling works. I need to know why code that has worked for years is now failing only after moving to Tomcat 8. Jerry On 2/10/2015 11:55 AM, Filip Hanik wrote: Try http://tomcat.ap

Re: Tomcat 8 SQL Connection Problems

2015-02-10 Thread Filip Hanik
Try http://tomcat.apache.org/tomcat-8.0-doc/jdbc-pool.html On Tue, Feb 10, 2015 at 10:22 AM, Jerry Malcolm wrote: > Has something changed on TC 8 requiring some different configuration for > SQL connections? I just installed 8.0.15 on three servers (see last week's > post regarding errors on 8.

tomcat errors

2015-02-10 Thread Wirth, Kevin
Hello. I have been chasing this error for the last day and I am at a loss of what the problem is. The application was working fine until Friday night when san maintenance was done and the sql database was shut down. The application server was still up though. Now the application will not sta

Tomcat 8 SQL Connection Problems

2015-02-10 Thread Jerry Malcolm
Has something changed on TC 8 requiring some different configuration for SQL connections? I just installed 8.0.15 on three servers (see last week's post regarding errors on 8.0.17). All three servers work for a while. Then after about an hour I start getting the following errors: java.sql.S

Given password did not match password used to create the PooledConnection when there is no change in password

2015-02-10 Thread Vinoth Raja
Hi, Environment used: - Tomcat 7.0.57 - Windows - Java 1.7 - MS SQL 2008. Issue:"Given password did not match password used to create the PooledConnection" There is no change in the password from the day application went live.But it happens when there is more request. Backgroun

Re: ant task throws NoClassDefFoundError - Tomcat 8.0.18

2015-02-10 Thread Gernot
2015-02-10 16:41 GMT+01:00 Konstantin Kolinko : > 2015-02-10 18:23 GMT+03:00 Gernot : > > Hi! > > > > I'm using Tomcat 8.0.18. > > I've following ant build.xml: > > > > > > > > > > > > > validateXml="false" > > uriroot="${webapp.path}" > > webXmlFra

RE: Reg. getRealPath("/") _ How does the result of this method differ in Tomcat 7 and Tomcat 8

2015-02-10 Thread Caldarale, Charles R
> From: Sasikumar Muralikrishnan [mailto:sasiku...@pointelsolutions.com] > Subject: RE: Reg. getRealPath("/") _ How does the result of this method > differ in Tomcat 7 and Tomcat 8 > But here, I am not writing anything inside the web application. > 1. I have a flat file in the web application a

Re: ant task throws NoClassDefFoundError - Tomcat 8.0.18

2015-02-10 Thread Konstantin Kolinko
2015-02-10 18:23 GMT+03:00 Gernot : > Hi! > > I'm using Tomcat 8.0.18. > I've following ant build.xml: > > > > > > validateXml="false" > uriroot="${webapp.path}" > webXmlFragment="${webapp.path}/WEB-INF/generated_web.xml" > outputDir="${

Re: Reg. getRealPath("/") _ How does the result of this method differ in Tomcat 7 and Tomcat 8

2015-02-10 Thread Konstantin Kolinko
2015-02-10 17:14 GMT+03:00 Sasikumar Muralikrishnan : > Hi André Warnie, > > Great thanks for your response. > > But here, I am not writing anything inside the web application. > > 1. I have a flat file in the web application and it has some configurations > details, which I use for the project. >

ant task throws NoClassDefFoundError - Tomcat 8.0.18

2015-02-10 Thread Gernot
Hi! I'm using Tomcat 8.0.18. I've following ant build.xml: ... task works great, but task throws java.lang.NoClassDefFoundError: org/apache/catalina/Globals I have not found any documentation for task for Tomcat 8. Is there any additional configuration necessary (in contras

RE: Reg. getRealPath("/") _ How does the result of this method differ in Tomcat 7 and Tomcat 8

2015-02-10 Thread Sasikumar Muralikrishnan
Thanks for your thoughts David -Original Message- From: David kerber [mailto:dcker...@verizon.net] Sent: Tuesday, February 10, 2015 3:30 PM To: Tomcat Users List Subject: Re: Reg. getRealPath("/") _ How does the result of this method differ in Tomcat 7 and Tomcat 8 On 2/10/2015 9:14 AM,

Re: Reg. getRealPath("/") _ How does the result of this method differ in Tomcat 7 and Tomcat 8

2015-02-10 Thread David kerber
On 2/10/2015 9:14 AM, Sasikumar Muralikrishnan wrote: Hi André Warnie, Great thanks for your response. But here, I am not writing anything inside the web application. 1. I have a flat file in the web application and it has some configurations details, which I use for the project. 2. Therefore,

Re: IIS 6.0 isapi_redirect 1.2.40 Tomcat 7.0 403 Forbidden

2015-02-10 Thread RICHARD DOUST
After getting the debugging worked out I found that, even though I thought I'd removed the Cors Filter, it was still being invoked. Not sure why, but that's different issue that I'll look into later. The Cors Filter was denying access to the resource. I had thought that the Cors Filter was there

RE: Reg. getRealPath("/") _ How does the result of this method differ in Tomcat 7 and Tomcat 8

2015-02-10 Thread Sasikumar Muralikrishnan
Hi André Warnie, Great thanks for your response. But here, I am not writing anything inside the web application. 1. I have a flat file in the web application and it has some configurations details, which I use for the project. 2. Therefore, we are trying to read the configuration detail from tha

Re: Reg. getRealPath("/") _ How does the result of this method differ in Tomcat 7 and Tomcat 8

2015-02-10 Thread André Warnier
Sasikumar Muralikrishnan wrote: Hi Team, Using this method getServletContext().getRealPath("/") returns '\' at the end when I run my project in Tomcat 7 whereas it is not working as such in Tomcat 8. For example, In Tomcat 7 it returns as "D:\Tomcat\webapps\project\" In Tomcat 8 it returns as

Reg. getRealPath("/") _ How does the result of this method differ in Tomcat 7 and Tomcat 8

2015-02-10 Thread Sasikumar Muralikrishnan
Hi Team, Using this method getServletContext().getRealPath("/") returns '\' at the end when I run my project in Tomcat 7 whereas it is not working as such in Tomcat 8. For example, In Tomcat 7 it returns as "D:\Tomcat\webapps\project\" In Tomcat 8 it returns as "D:\Tomcat\webapps\project" At p

unpackWARs="false" securitymanager problem tomcat 8.0.18

2015-02-10 Thread Gernot
Hi! I'm using Tomcat 8.0.18. I've a webapp myapp.war which is deployed at context path "some/path/myapp" and unpackWARs is set to "false". That means, I have a conf/Catalina/localhost/some#path#myapp.xml with "..." Running this app with Tomcat 8.0.18 without security manager causes no problem. Ru