Re: Multiple SSL config with single IP on Tomcat 8.5.4

2016-08-03 Thread Joshua McDowell
Don’t shoot at me.. But why aren’t you fronting Tomcat with Apache? I am asking because i am curious of others views. J > On Aug 3, 2016, at 5:05 PM, Kent Smotherman wrote: > > I'm trying to get multiple SSL certs configured on Tomcat 8.5 with a single > IP. My

Re: Multiple SSL config with single IP on Tomcat 8.5.4

2016-08-03 Thread Mark Thomas
On 03/08/2016 15:05, Kent Smotherman wrote: > I'm trying to get multiple SSL certs configured on Tomcat 8.5 with a single > IP. My relevant server.xml looks like this: > > connectionTimeout="2" >URIEncoding="UTF-8" >redirectPort="9443" /> >

Multiple SSL config with single IP on Tomcat 8.5.4

2016-08-03 Thread Kent Smotherman
I'm trying to get multiple SSL certs configured on Tomcat 8.5 with a single IP. My relevant server.xml looks like this: This gives me this error on startup: 03-Aug-2016 16:47:04.541 WARNING [main] org.apache.catalina.startup.SetAllPropertiesRule.begin

Re: Tomcat7 jsp compilation error with java1.8

2016-08-03 Thread Coty Sutherland
The problem is with java8 support in ECJ, not tomcat directly. You need at least JDT 4.4 in order to have full java8 support in my experiences. I just tested with 7.0.27 built from sources and the issue is present with the 3.7.2 version that it depends on. If I upgrade to ecj-4.4.2.jar (retrieved

RE: Tomcat7 jsp compilation error with java1.8

2016-08-03 Thread D, Dwarakesh
Running on Java 1.8.0_45. Thanks, Dwarak From: Mark Thomas [ma...@apache.org] Sent: Wednesday, August 03, 2016 10:58 AM To: users@tomcat.apache.org Subject: Re: Tomcat7 jsp compilation error with java1.8 On 3 August 2016 08:39:34 GMT-07:00, "D,

Re: Tomcat7 jsp compilation error with java1.8

2016-08-03 Thread Mark Thomas
On 3 August 2016 08:39:34 GMT-07:00, "D, Dwarakesh" wrote: >Dear Tomcat Support, > >I have compiled and build one of our application using java 1.8.0_45. I >have deployed the war file in tomcat-7.0.27 Running on what version of Java? Mark > and am getting the below

Tomcat7 jsp compilation error with java1.8

2016-08-03 Thread D, Dwarakesh
Dear Tomcat Support, I have compiled and build one of our application using java 1.8.0_45. I have deployed the war file in tomcat-7.0.27 and am getting the below exception. Is this error because of the java version? Does tomcat-7.0.27 supports java1.8.0_45 or do I need to use Java1.7? Please

Re: Tomcat 8.0.33, Ubuntu 14.04.3 : shared classloader with embedded Tomcat 8

2016-08-03 Thread oren peer
Hi again. I've search for solution to my problem and found that When an app is deployed to Tomcat, all of the application's startup is performed with a WebAppClassLoader being the thread context class loader. When an app is using *embedded Tomcat*, the WebAppClassLoader is created as part of the

Re: BasicDataSource creation throws SQLException

2016-08-03 Thread Roy Leonardus
Hello Mark, i'm using the EasyMock to test the creation of the BasicDataSource : BasicDataSource ds = prepareDataSource(); //set the properties of the basic data source Connection connection = ds.getConnection(); // throw an error here The properties that is set is

Re: BasicDataSource creation throws SQLException

2016-08-03 Thread Mark Thomas
On 03/08/2016 01:46, Roy Leonardus wrote: > Dear All, > > I tried to create a new BasicDataSource and encountered such error Let me just see if I can find Pid's crystal ball so I know how you tried to create a new BasicDataSource and the state of the system on which you were trying to do that...

Re: Tomcat backwards incompatible change

2016-08-03 Thread Mark Thomas
On 03/08/2016 05:04, Svetlin Zarev wrote: > Hello! > > With [1] and [2] an incompatible change has been introduced to all current > versions of Tomcat. The issue is that when calling > requestDispatcher.forward(), the target servlet receives the encoded URL > instead of the one used to obtain the

Tomcat backwards incompatible change

2016-08-03 Thread Svetlin Zarev
Hello! With [1] and [2] an incompatible change has been introduced to all current versions of Tomcat. The issue is that when calling requestDispatcher.forward(), the target servlet receives the encoded URL instead of the one used to obtain the dispatcher. This breaks all applications depending on

headless mode in tomcat

2016-08-03 Thread XMing
Hi all, I've add the following line to setenv.sh in tomcat bin directory. export CATALINA_OPTS="$CATALINA_OPTS -Djava.awt.headless=true" I have some image processing code in spring bean which runs well at the first time. After some time,let me say 1 or 2 days, exception ocurrs. Any

BasicDataSource creation throws SQLException

2016-08-03 Thread Roy Leonardus
Dear All, I tried to create a new BasicDataSource and encountered such error java.sql.SQLException: Cannot create PoolableConnectionFactory (isValid() returned false) this is caused by this method in the PoolableConnection public void