Intermittent handshake_failure message Tomcat

2015-02-18 Thread Rajesh Biswas
Dear Experts, We are facing intermittent ssl handshake failure exception in the client code while connecting the server which runs on Tomcat 7.0.54 version. Below is the ssl configuration in server.xml file OS: Solaris Tomcat Version: apache-tomcat-7.0.54 Would you please suggest if I miss a

Re: Why is Class.forName required to load drivers in Tomcat 8 ?

2015-02-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Sreyan, (Sorry, I sent way before I was done writing. Full intentional message follows.) On 2/18/15 10:15 AM, sreya...@gmail.com wrote: > What is the SYSTEM PATH that you are referring to ? Is it the > JAVA_HOME or the PATH system variable ? Neit

Re: Why is Class.forName required to load drivers in Tomcat 8 ?

2015-02-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Sreyan, On 2/18/15 10:15 AM, sreya...@gmail.com wrote: > What is the SYSTEM PATH that you are referring to ? Is it the > JAVA_HOME or the PATH system variable ? Neither of those. It's commonly referred to as the CLASSPATH environment variable, whi

Re: login issue

2015-02-18 Thread James McEvoy
TY! On Wednesday, February 18, 2015, John D. Ament wrote: > Of course I copied the wrong one... > > http://tomcat.apache.org/xml"; > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; > xsi:schemaLocation="http://tomcat.apache.org/xml > tomcat-users.xsd" >

Re: login issue

2015-02-18 Thread John D. Ament
Of course I copied the wrong one... http://tomcat.apache.org/xml"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://tomcat.apache.org/xml tomcat-users.xsd" version="1.0"> On Wed Feb 18 2015 at 12:48:3

Re: login issue

2015-02-18 Thread John D. Ament
Thanks for providing! The attribute name on the user is "roles" not "role" You should only define a user once and give them multiple roles. Your file should then look like this: http://tomcat.apache.org/xml"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";

Re: Apparent Bug Introduced between 8.0.15 & 8.0.17

2015-02-18 Thread Konstantin Kolinko
2015-02-18 18:22 GMT+03:00 배효진(Ken) : > Hello! > > Im not sure, whether this error is related or not. > I test 8.0.18, and similar exception occured. > > In my case, there was no problem in JSP, with <%@ page import="static > test.Test.*" %> > but, exception was occured in tag file, with <%@ tag im

Re: login issue

2015-02-18 Thread James McEvoy
l version='1.0' encoding='utf-8'?> On Wed, Feb 18, 2015 at 7:17 AM, James McEvoy wrote: > Will do. > > > On Wednesday, February 18, 2015, Terence M. Bandoian > wrote: > >> On 2/17/2015 9:51 AM, James McEvoy wrote: >> >>> Checked logs, added admin and manager to all n

Re: [totally OT] Apparent Bug Introduced between 8.0.15 & 8.0.17

2015-02-18 Thread André Warnier
I love these chinese (?) characters shown below in the logs. I have no idea what they really mean, but I suggest that they should be added in all Tomcat error log messages, no matter what the locale is. To a westerner not knowing chinese (?), they look just like what a character in a cartoon wo

Re: Why is Class.forName required to load drivers in Tomcat 8 ?

2015-02-18 Thread sreyan32
What is the SYSTEM PATH that you are referring to ? Is it the JAVA_HOME or the PATH system variable ? What is the CLASSPATH just before Tomcat properly starts up ? What is it after it starts up ? Is the same jar files below -: bin/bootstrap.jar bin/tomcat-juli.jar Correct me if I am wrong t

Re: Why is Class.forName required to load drivers in Tomcat 8 ?

2015-02-18 Thread sreyan32
What is the SYSTEM PATH that you are referring to ? Is it the JAVA_HOME or the PATH system variable ? What is the CLASSPATH just before Tomcat properly starts up ? What is it after it starts up ? Is the same jar files below -: bin/bootstrap.jar bin/tomcat-juli.jar Correct me if I am wrong t

Re: Apparent Bug Introduced between 8.0.15 & 8.0.17

2015-02-18 Thread Ken
Hello! Im not sure, whether this error is related or not. I test 8.0.18, and similar exception occured. In my case, there was no problem in JSP, with <%@ page import="static test.Test.*" %> but, exception was occured in tag file, with <%@ tag import="static test.Test.*" %> *メッセージ* *An exception

Re: Why is Class.forName required to load drivers in Tomcat 8 ?

2015-02-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Sreyan, On 2/18/15 9:25 AM, sreya...@gmail.com wrote: > I am writing a simple Servlet that uses JDBC to talk to MySQL and > deploying it in Tomcat. Why do I need to add the line -: > > Class.forName("com.mysql.jdbc.Driver"); > > to load the JDBC

Re: Re-enabling SSLv3

2015-02-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 André, On 2/18/15 6:06 AM, André Warnier wrote: > Mark Thomas wrote: >> On 18/02/2015 09:11, Mark Thomas wrote: >>> On 18/02/2015 09:04, André Warnier wrote: >>> >>> >>> Also, while we are at it : this whole SSL area is - I believe - ho

Why is Class.forName required to load drivers in Tomcat 8 ?

2015-02-18 Thread sreyan32
I am writing a simple Servlet that uses JDBC to talk to MySQL and deploying it in Tomcat. Why do I need to add the line -: Class.forName("com.mysql.jdbc.Driver"); to load the JDBC driver ? If I don’t do this I get an exception of -: java.sql.SQLException: No suitable driver was found. Why i

Re: How a script can determine latest version of Tomcat

2015-02-18 Thread David P. Caldwell
Konstantin, Thanks so much for explaining the strengths and weaknesses of each approach. I've implemented the parsing which is working fine at the moment, but I share your concerns about it. What wasn't clear to me was -- is there any downside to the RDF-based approach? Would that be better in

Re: login issue

2015-02-18 Thread James McEvoy
Will do. On Wednesday, February 18, 2015, Terence M. Bandoian wrote: > On 2/17/2015 9:51 AM, James McEvoy wrote: > >> Checked logs, added admin and manager to all needed files and added url so >> it's ok for tomcat to use and still rejected when Logging in. >> Stumped. I started and stopped it e

Re: Re-enabling SSLv3

2015-02-18 Thread André Warnier
Mark Thomas wrote: On 18/02/2015 09:11, Mark Thomas wrote: On 18/02/2015 09:04, André Warnier wrote: Also, while we are at it : this whole SSL area is - I believe - hopelessly confusing for anyone (aka me) who does not spend a considerable amount of time dealing with that kind of setup. Do y

Re: Re-enabling SSLv3

2015-02-18 Thread Rainer Jung
Am 18.02.2015 um 10:11 schrieb Mark Thomas: On 18/02/2015 09:04, André Warnier wrote: Also, while we are at it : this whole SSL area is - I believe - hopelessly confusing for anyone (aka me) who does not spend a considerable amount of time dealing with that kind of setup. Do you know of any r

Re: Re-enabling SSLv3

2015-02-18 Thread Mark Thomas
On 18/02/2015 09:11, Mark Thomas wrote: > On 18/02/2015 09:04, André Warnier wrote: > > > >> Also, while we are at it : this whole SSL area is - I believe - >> hopelessly confusing for anyone (aka me) who does not spend a >> considerable amount of time dealing with that kind of setup. >> Do you

Re: Re-enabling SSLv3

2015-02-18 Thread Mark Thomas
On 18/02/2015 09:04, André Warnier wrote: > Also, while we are at it : this whole SSL area is - I believe - > hopelessly confusing for anyone (aka me) who does not spend a > considerable amount of time dealing with that kind of setup. > Do you know of any reasonably short and concise introductor

Re: Application getting stopped with error code 610 038

2015-02-18 Thread André Warnier
Hi. This list strips most attachments (and yours was, stripped). If you want to include a logfile snippet, you have 2 choices : 1) paste it right into the message, as text or 2) upload it somewhere available to the public, and provide a pointer to it The same for configuration file snippets.

Re: Re-enabling SSLv3

2015-02-18 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 All, There have been some questions lately about how to re-enable SSLv3 on Tomcat and I just went through the trouble of trying to get it to work in my own environment for some protocol testing. While there were a few b