Tomcat returning error 404 for any file but index.html

2015-10-21 Thread Jair Santos
Hello everyone, Environment: Windows server 2012, Tomcat 8.0, Geoserver 2.8.0. I deployed Geoserver into Tomcat. Tomcat can serve the index.html file located in C:\Program Files\Apache Software Foundation\Tomcat 8.0\webapps\geoserver, but it cannot serve any other file (see log below).

Re: Tomcat answers on port 80, not on 443

2015-10-21 Thread Christopher Schultz
Gregory, On 10/15/15 1:48 PM, Beyer, Gregory L wrote: > ## > # Inbound SSL Settings > ## > > org.apache.felix.https.enable=true > org.osgi.service.http.port.secure=443 > org.apache.felix.https.keystore=E:\keystore\scilexcon > #org.apache.fel

Re: SSL and Virtual Hosting

2015-10-21 Thread Christopher Schultz
Björn, On 10/21/15 2:47 PM, Björn Raupach wrote: >> On 21 Oct 2015, at 20:42, Mark Thomas wrote: >> >> On 21/10/2015 16:27, Björn Raupach wrote: >>> Dear group, >>> >>> it would be nice if anyone knows, if my planned setup is going to work. >>> >>> At the moment we are having two services (web ap

Re: SSL and Virtual Hosting

2015-10-21 Thread George Sexton
On 10/21/2015 12:42 PM, Mark Thomas wrote: Currently it will work if both hosts can share the same certificate because they share a connector and (currently) a connector can only have a single certificate. As of 9.0.x (and hopefully eventually back-ported to 8.x) you'll be able to have per host

Re: Monitoring Connections

2015-10-21 Thread Christopher Schultz
Jamie, On 10/21/15 2:37 PM, Jamie Jackson wrote: > On Wed, Oct 21, 2015 at 1:03 PM, Christopher Schultz wrote: > >> Jamie, >> >> >> >> Your mostly-default will default to a maximum of 200 >> incoming connections with 200 threads to handle them. You are only using >> 12, so something else must b

Re: Question for posgresq, and jdbc.jar placement.

2015-10-21 Thread Christopher Schultz
Jose, On 10/21/15 7:33 AM, Jose María Zaragoza wrote: > IMHO > > $CATALINA_HOME/lib would be the right place +1 -chris - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@

Re: SSL and Virtual Hosting

2015-10-21 Thread Björn Raupach
Hello Mark, thanks for responding > On 21 Oct 2015, at 20:42, Mark Thomas wrote: > > On 21/10/2015 16:27, Björn Raupach wrote: >> Dear group, >> >> it would be nice if anyone knows, if my planned setup is going to work. >> >> At the moment we are having two services (web apps) at two differen

Re: SSL and Virtual Hosting

2015-10-21 Thread Björn Raupach
Dear Jason, > On 21 Oct 2015, at 19:18, Jason Britton wrote: > > Hi Björn - > Look in tomcat/conf at the server.xml, you'd just define multiple host > entries, one host entry would have a name of "alice.example.com" the other > with "bob.example.com". Each host entry would also have its own app

Re: SSL and Virtual Hosting

2015-10-21 Thread Mark Thomas
On 21/10/2015 16:27, Björn Raupach wrote: > Dear group, > > it would be nice if anyone knows, if my planned setup is going to work. > > At the moment we are having two services (web apps) at two different machines > and hostnames. Lets say bob.example.com and alice.example.com > > bob.example.

Re: Monitoring Connections

2015-10-21 Thread Jamie Jackson
On Wed, Oct 21, 2015 at 1:03 PM, Christopher Schultz wrote: > Jamie, > > > > Your mostly-default will default to a maximum of 200 > incoming connections with 200 threads to handle them. You are only using > 12, so something else must be going on. You have no obvious limits on > httpd, so you are

Re: httpd 2.2 +mod-jk1.2.37+ tomcat 7.0.28 (debian package)

2015-10-21 Thread tomcat
On 20.10.2015 00:13, J Lopez wrote: Hi all, is it possible to filter 404 application errors taking into account content-type beside http return code in jk configuration. I need to difference between application is not deployed/executing (http 404 content-type html) and application running

Re: Tracking down memory leak

2015-10-21 Thread David kerber
On 10/21/2015 1:08 PM, Christopher Schultz wrote: Rallavagu, On 10/20/15 9:46 AM, Rallavagu wrote: Please take a look at Memory Analyzer tool (http://www.eclipse.org/mat/). Run the app and take the heap dump while app is running and use the tool to analyze it. You could use VisualVM with plugin

Re: SSL and Virtual Hosting

2015-10-21 Thread Jason Britton
Hi Björn - Look in tomcat/conf at the server.xml, you'd just define multiple host entries, one host entry would have a name of "alice.example.com" the other with "bob.example.com". Each host entry would also have its own appBase (alice-webapps & bob-webapps), meaning both sites could be deployed u

Re: Tracking down memory leak

2015-10-21 Thread Christopher Schultz
Rallavagu, On 10/20/15 9:46 AM, Rallavagu wrote: > Please take a look at Memory Analyzer tool > (http://www.eclipse.org/mat/). Run the app and take the heap dump while > app is running and use the tool to analyze it. You could use VisualVM > with plugins to get instrumentation or you could use hpr

Re: httpd 2.2 +mod-jk1.2.37+ tomcat 7.0.28 (debian package)

2015-10-21 Thread Christopher Schultz
J, On 10/19/15 6:13 PM, J Lopez wrote: > is it possible to filter 404 application errors taking into account > content-type beside http return code in jk configuration. > I need to difference between application is not deployed/executing (http > 404 content-type html) and application running a

Re: Monitoring Connections

2015-10-21 Thread Christopher Schultz
Jamie, On 10/16/15 3:12 PM, Jamie Jackson wrote: > On Tue, Oct 13, 2015 at 9:34 AM, Christopher Schultz < > ch...@christopherschultz.net> wrote: > > Jamie, > > On 10/9/15 10:03 AM, Jamie Jackson wrote: Here's the stack trace dump: https://gist.github.com/jamiejackson/ca2a49d2c8afac4960

SSL and Virtual Hosting

2015-10-21 Thread Björn Raupach
Dear group, it would be nice if anyone knows, if my planned setup is going to work. At the moment we are having two services (web apps) at two different machines and hostnames. Lets say bob.example.com and alice.example.com bob.example.com runs without SSL and deploys the web app at the root c

Re: Question for posgresq, and jdbc.jar placement.

2015-10-21 Thread Jose María Zaragoza
2015-10-21 13:19 GMT+02:00 Andrew Davis : > Ok, I'm embarrassed. > > I've got a UBUNTU (GUI included) install of Tomcat7 installed from command > line. > > Inside my machine I have what looks like two locations that play a key > role. > > OPTION 1 for the jdbc.jar file? > I think that th

Question for posgresq, and jdbc.jar placement.

2015-10-21 Thread Andrew Davis
Ok, I'm embarrassed. I've got a UBUNTU (GUI included) install of Tomcat7 installed from command line. Inside my machine I have what looks like two locations that play a key role. OPTION 1 for the jdbc.jar file? I think that this is the "$CATALINA" base Path: usr/share/tomcat7

[ANN] Apache Tomcat 7.0.65 released

2015-10-21 Thread Violeta Georgieva
The Apache Tomcat team announces the immediate availability of Apache Tomcat 7.0.65. Apache Tomcat is an open source software implementation of the Java Servlet, JavaServer Pages, Java Expression Language and Java WebSocket technologies. This release contains a number of bug fixes and improvement