Re: css files served as application/x-pointplus with java8

2014-07-24 Thread Sergio Fernández
Hi Christopher, On 10/07/14 16:45, Christopher Schultz wrote: In our case we have a filter for serving static content from modules (jars). Marmotta has a custom modules' architecture. - From the bug report: This is what I get $ curl -I

Re: Unexpanded WAR and FileNotFoundException: META-INF/MANIFEST.MF

2014-07-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Арсений, On 7/23/14, 10:43 AM, Арсений Зинченко wrote: Hi, Chris. Thanks for replay. Biggest problem is that I'm not our application developer . Okay, well then tell the developer to fix it so it works in an unexpanded WAR file. If they don't

RE: Tomcat JDBC Connection Pool initialization question

2014-07-24 Thread Wes Clark
That worked for H2. For Oracle, however, I had to get more cleaver: Here is the string that worked: BEGIN EXECUTE IMMEDIATE 'ALTER SESSION SET STATISTICS_LEVEL = ALL'; EXECUTE IMMEDIATE 'ALTER SESSION SET CURSOR_SHARING = EXACT'; DBMS_APPLICATION_INFO.SET_MODULE('ExampleCenter', NULL); EXECUTE

Re: Help understanding Session System Properties

2014-07-24 Thread Felipe Jaekel
Thanks for the replies. My session timeout is 15 minutes. I have thread that may set a session attribute, but it run only once after user login and take approximately 1 minute to complete. My applications are JSF based, and most of managed beans are view scoped. The majority of requests is

TC7 and SSL Questions

2014-07-24 Thread John Smith
TC 7.0.54 / JDK 1.7.0_60 / RHEL 6 My webapp is the only one on my TC install. It's in webapps/ROOT. Iptables routes 80 to 8080 and I'm using the NIO connector. There are two physical servers with that same webapp, using session replication. Everything works great. There's a subdirectory /admin

Re: TC7 and SSL Questions

2014-07-24 Thread Ognjen Blagojevic
John, On 24.7.2014 21:11, John Smith wrote: 1. Can I specify /admin/* as a security constraint url pattern so that only that directory runs under SSL? Yes, you can. 2. The NIO connector is accepted for JSSE, since I'm using it already, is there any point in not using it as my SSL

Tomcat virtual host shows blank page

2014-07-24 Thread Arya Farzan
Hello I also asked this on Stackoverflow but no one has commented or answered. I've been trying to configure tomcat for multiple domains and everything I have tried was unsuccessful. I added this to /etc/tomcat7/server.xml Host name=www.mysite.com appBase=webapps/mysite

Re: Tomcat virtual host shows blank page

2014-07-24 Thread Jordan Michaels
Hi Arya, Are you using a web server like Apache in front of Tomcat, or are you hitting the Tomcat port directly? This will tell us if the problem is somewhere in your connector setup or not. Any clues in your catalina.out log file? Warm Regards, Jordan Michaels On 07/24/2014 06:03 PM, Arya

Re: Tomcat virtual host shows blank page

2014-07-24 Thread Igal Sapir
Check with view source on the blank page and see if you get anything there On Jul 24, 2014 6:16 PM, Jordan Michaels jor...@viviotech.net wrote: Hi Arya, Are you using a web server like Apache in front of Tomcat, or are you hitting the Tomcat port directly? This will tell us if the problem is

Re: Tomcat virtual host shows blank page

2014-07-24 Thread Arya Farzan
Hi Jordan I am using Tomcat by itself. It is pretty much a default installation using apt-get on Debian. The only changes I made are: I changed the port from 8080 to port 80 And I changed AUTHBIND=no to AUTHBIND=yes On Thu, Jul 24, 2014 at 8:16 PM, Jordan Michaels jor...@viviotech.net wrote:

Re: Tomcat virtual host shows blank page

2014-07-24 Thread Arya Farzan
I just tried this with IE and it says The webpage cannot be found in google chrome source is 100% blank On Thu, Jul 24, 2014 at 8:20 PM, Igal Sapir i...@getrailo.org wrote: Check with view source on the blank page and see if you get anything there On Jul 24, 2014 6:16 PM, Jordan Michaels

Re: Tomcat virtual host shows blank page

2014-07-24 Thread Igal @ getRailo.org
I prefer to use Context/docBase instead of Host/appBase try this: Host name=www.mysite.com Aliasmysite.com/Alias Context path= docBase=/var/lib/tomcat7/webapps/mysite / /Host On 7/24/2014 6:28 PM, Arya Farzan wrote: I just tried this with IE and it says The webpage cannot be found

Re: Tomcat virtual host shows blank page

2014-07-24 Thread Arya Farzan
Thank you. I changed it to your example and now it's working On Thu, Jul 24, 2014 at 8:35 PM, Igal @ getRailo.org i...@getrailo.org wrote: I prefer to use Context/docBase instead of Host/appBase try this: Host name=www.mysite.com Aliasmysite.com/Alias Context path=

Re: Tomcat virtual host shows blank page

2014-07-24 Thread Hassan Schroeder
On Thu, Jul 24, 2014 at 6:25 PM, Arya Farzan arya6...@gmail.com wrote: I am using Tomcat by itself. It is pretty much a default installation using apt-get on Debian. Error #1 - dump that and install a real Tomcat. I changed the port from 8080 to port 80 Error #2 - don't run Tomcat as root;