WebappClassLoader#getResources returns enumeration with null element

2014-03-03 Thread Lukasz Lenart
Hi, We just were informed about bug in Apache Struts [1] but it looks like a bug in Tomcat 8. The PackageBasedActionConfigBuilder class uses class loader to fetch all the URLs where application's classes are stored, but right now the resulting enumeration contains also null element. The same code

Re: WebappClassLoader#getResources returns enumeration with null element

2014-03-03 Thread Mark Thomas
On 03/03/2014 08:06, Lukasz Lenart wrote: Hi, We just were informed about bug in Apache Struts [1] but it looks like a bug in Tomcat 8. The PackageBasedActionConfigBuilder class uses class loader to fetch all the URLs where application's classes are stored, but right now the resulting

how to always return 200

2014-03-03 Thread Aryeh Friedman
webapp error-page error-code404/error-code location/index.jsp/location /error-page /webapp I need the above to return 200 not 404 how? -- Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org

Re: how to always return 200

2014-03-03 Thread Konstantin Kolinko
2014-03-03 12:32 GMT+04:00 Aryeh Friedman aryeh.fried...@gmail.com: webapp error-page error-code404/error-code location/index.jsp/location /error-page /webapp I need the above to return 200 not 404 how? response.setStatus(..) ?

Apache Tomcat Summit

2014-03-03 Thread Mark Thomas
All, The Apache Tomcat project will be holding a summit on Friday 11th April in Denver Colorado USA as part of ApacheCon NA 2014. The topics to be discussed will be finalized on the day by the attendees but the current list of topics is: - future development ideas prior to the next round of

Re: WebappClassLoader#getResources returns enumeration with null element

2014-03-03 Thread Mark Thomas
On 03/03/2014 08:23, Mark Thomas wrote: On 03/03/2014 08:06, Lukasz Lenart wrote: Hi, We just were informed about bug in Apache Struts [1] but it looks like a bug in Tomcat 8. The PackageBasedActionConfigBuilder class uses class loader to fetch all the URLs where application's classes are

Re: WebappClassLoader#getResources returns enumeration with null element

2014-03-03 Thread Lukasz Lenart
2014-03-03 9:54 GMT+01:00 Mark Thomas ma...@apache.org: On 03/03/2014 08:23, Mark Thomas wrote: On 03/03/2014 08:06, Lukasz Lenart wrote: Hi, We just were informed about bug in Apache Struts [1] but it looks like a bug in Tomcat 8. The PackageBasedActionConfigBuilder class uses class loader

Add certificate without Tomcat restart

2014-03-03 Thread Арсений Зинченко
Hi. We have two-side authentification on our Tomcat: keystoreFile=/home/someuser/apache-tomcat-5.5.23/conf/.ssl/somealias.jks keyAlias=somealias keystorePass=somepass truststoreFile=/home/someuser/apache-tomcat-5.5.23/conf/.ssl/trustcacerts.jks

Re: Add certificate without Tomcat restart

2014-03-03 Thread Konstantin Kolinko
2014-03-03 13:17 GMT+04:00 Арсений Зинченко setev...@gmail.com: Hi. We have two-side authentification on our Tomcat: keystoreFile=/home/someuser/apache-tomcat-5.5.23/conf/.ssl/somealias.jks keyAlias=somealias keystorePass=somepass

Error while upgrading to Tomcat 7.0.52

2014-03-03 Thread Utkarsh Dave
Hi, I upgraded my application to 7.0.52 from 7.0.41. After upgrading while building and compiling whole application I am recieving error jasper2 doesn't support the validateXml attribute While looking in 1 of the blogs i found that the solution for this will be available only on 7.0.53 which

Re: Error while upgrading to Tomcat 7.0.52

2014-03-03 Thread Utkarsh Dave
To be more specific, i upgraded Tomcat in my application from Tomcat 7.0.41 to 7.0.52. Quick response is appreciable as the build process is on hold critical services are shut down. -Thanks On Mon, Mar 3, 2014 at 3:39 PM, Utkarsh Dave utkarshkd...@gmail.com wrote: Hi, I upgraded my

Re: Error while upgrading to Tomcat 7.0.52

2014-03-03 Thread Konstantin Kolinko
2014-03-03 14:28 GMT+04:00 Utkarsh Dave utkarshkd...@gmail.com: To be more specific, i upgraded Tomcat in my application from Tomcat 7.0.41 to 7.0.52. Quick response is appreciable as the build process is on hold critical services are shut down. If you use the value of false, remove the

Re: Error while upgrading to Tomcat 7.0.52

2014-03-03 Thread Prashant Kadam
On Mon, Mar 3, 2014 at 3:58 PM, Utkarsh Dave utkarshkd...@gmail.com wrote: To be more specific, i upgraded Tomcat in my application from Tomcat 7.0.41 to 7.0.52. Quick response is appreciable as the build process is on hold critical services are shut down. -Thanks On Mon, Mar 3, 2014 at

Re: Stream closed- IOException exception

2014-03-03 Thread Prashant Kadam
please help ... I have removed whitespaces by adding jsp-config jsp-property-group url-pattern*.jsp/url-pattern trim-directive-whitespacestrue/trim-directive-whitespaces /jsp-property-group /jsp-config but still i am facing same error. I tried to increase the

Re: java: src/network.c:441: Java_org_apache_tomcat_jni_Socket_send: Assertion failed

2014-03-03 Thread Dmitry Batiyevskiy
Can you advice how we can find the problem in app/environment like this? What are possible ways to debug this? Regards, Dmitry Batiyevskiy Ardas Group Inc. www.ardas.dp.ua 2014-02-27 23:24 GMT+02:00 Christopher Schultz ch...@christopherschultz.net : -BEGIN PGP SIGNED MESSAGE-

Re: Error while upgrading to Tomcat 7.0.52

2014-03-03 Thread Utkarsh Dave
Thanks Konstantin for the quick response. We are using false value, so i assume i can remove the attribute. As there are many level of developers involved, deleting and again adding it, will be difficult to track. I recieved another response, if i can replace validateTld instead of validateXML.

Re: Error while upgrading to Tomcat 7.0.52

2014-03-03 Thread Utkarsh Dave
Hi Prashant - I assume there will not be any consequence of replacing validateXML with validateTld? -Thanks for the quick response. -Utkarsh On Mon, Mar 3, 2014 at 4:19 PM, Prashant Kadam prashantkada...@gmail.comwrote: On Mon, Mar 3, 2014 at 3:58 PM, Utkarsh Dave utkarshkd...@gmail.com

Re: java: src/network.c:441: Java_org_apache_tomcat_jni_Socket_send: Assertion failed

2014-03-03 Thread Howard W. Smith, Jr.
On Thu, Feb 20, 2014 at 11:00 AM, Dmitry Batiyevskiy dmitry.batiyevs...@ardas.dp.ua wrote: We have upgraded tomcat 7.0.42 to 7.0.50 We have an app which is built around atmosphere framework and uses websockets After upgrade tomcat instance which has only this app dies in few hours after

Re: java: src/network.c:441: Java_org_apache_tomcat_jni_Socket_send: Assertion failed

2014-03-03 Thread Howard W. Smith, Jr.
On Mon, Mar 3, 2014 at 6:26 AM, Howard W. Smith, Jr. smithh032...@gmail.com wrote: On Thu, Feb 20, 2014 at 11:00 AM, Dmitry Batiyevskiy dmitry.batiyevs...@ardas.dp.ua wrote: We have upgraded tomcat 7.0.42 to 7.0.50 We have an app which is built around atmosphere framework and uses

Re: Error while upgrading to Tomcat 7.0.52

2014-03-03 Thread Konstantin Kolinko
2014-03-03 15:09 GMT+04:00 Utkarsh Dave utkarshkd...@gmail.com: Thanks Konstantin for the quick response. We are using false value, so i assume i can remove the attribute. As there are many level of developers involved, deleting and again adding it, will be difficult to track. I recieved

Re: java: src/network.c:441: Java_org_apache_tomcat_jni_Socket_send: Assertion failed

2014-03-03 Thread Dmitry Batiyevskiy
Atmosphere dependencies from pom.xml: dependency groupIdorg.atmosphere.extensions/groupId artifactIdatmosphere-gwt20-server/artifactId version2.0.2/version /dependency dependency groupIdorg.atmosphere/groupId artifactIdatmosphere-runtime/artifactId version2.0.5/version /dependency Dependencies

Re: Stream closed- IOException exception

2014-03-03 Thread Konstantin Kolinko
2014-03-03 15:04 GMT+04:00 Prashant Kadam prashantkada...@gmail.com: stuck on this issue for more than 2 weeks now and need to close it ASAP please help. Any help/ pointer would be highly appreciated. If nothing else helps, try running with a debugger to find when the said response is being

Re: Error while upgrading to Tomcat 7.0.52

2014-03-03 Thread Daniel Mikusa
On Mar 3, 2014, at 5:16 AM, Utkarsh Dave utkarshkd...@gmail.com wrote: Hi, I upgraded my application to 7.0.52 from 7.0.41. After upgrading while building and compiling whole application I am recieving error jasper2 doesn't support the validateXml attribute While looking in 1 of the blogs

Re: Error while upgrading to Tomcat 7.0.52

2014-03-03 Thread Konstantin Kolinko
2014-03-03 15:52 GMT+04:00 Daniel Mikusa dmik...@gopivotal.com: On Mar 3, 2014, at 5:16 AM, Utkarsh Dave utkarshkd...@gmail.com wrote: Hi, I upgraded my application to 7.0.52 from 7.0.41. After upgrading while building and compiling whole application I am recieving error jasper2 doesn't

Archiva fails to deploy on Tomcat with SEVERE: Unable to create initial connections of pool.

2014-03-03 Thread Frederik Himpe
I'm trying to install Apache Archiva 2.0.0 on Tomcat 7 (installed from the Debian package). However when Tomcat 7 is started, I get this error in catalina.out: INFO: Deploying web application archive /var/lib/tomcat7/webapps/apache-archiva-2.0.0.war Feb 28, 2014 10:32:20 AM

Re: Archiva fails to deploy on Tomcat with SEVERE: Unable to create initial connections of pool.

2014-03-03 Thread Konstantin Kolinko
2014-03-03 16:37 GMT+04:00 Frederik Himpe fhi...@vub.ac.be: I'm trying to install Apache Archiva 2.0.0 on Tomcat 7 (installed from the Debian package). However when Tomcat 7 is started, I get this error in catalina.out: INFO: Deploying web application archive

Re: Archiva fails to deploy on Tomcat with SEVERE: Unable to create initial connections of pool.

2014-03-03 Thread Konstantin Kolinko
2014-03-03 17:31 GMT+04:00 Konstantin Kolinko knst.koli...@gmail.com: 2014-03-03 16:37 GMT+04:00 Frederik Himpe fhi...@vub.ac.be: I'm trying to install Apache Archiva 2.0.0 on Tomcat 7 (installed from the Debian package). However when Tomcat 7 is started, I get this error in catalina.out:

Re: java: src/network.c:441: Java_org_apache_tomcat_jni_Socket_send: Assertion failed

2014-03-03 Thread Howard W. Smith, Jr.
On Mon, Mar 3, 2014 at 6:41 AM, Dmitry Batiyevskiy dmitry.batiyevs...@ardas.dp.ua wrote: Atmosphere dependencies from pom.xml: dependency groupIdorg.atmosphere.extensions/groupId artifactIdatmosphere-gwt20-server/artifactId version2.0.2/version /dependency dependency

Re: java: src/network.c:441: Java_org_apache_tomcat_jni_Socket_send: Assertion failed

2014-03-03 Thread Dmitry Batiyevskiy
Thanks, I will try updating atmosphere and/or changing maxProcessingThreads Regards, Dmitry Batiyevskiy Ardas Group Inc. www.ardas.dp.ua 2014-03-03 16:33 GMT+02:00 Howard W. Smith, Jr. smithh032...@gmail.com: On Mon, Mar 3, 2014 at 6:41 AM, Dmitry Batiyevskiy

Re: java: src/network.c:441: Java_org_apache_tomcat_jni_Socket_send: Assertion failed

2014-03-03 Thread Howard W. Smith, Jr.
On Mon, Mar 3, 2014 at 9:52 AM, Dmitry Batiyevskiy dmitry.batiyevs...@ardas.dp.ua wrote: Thanks, I will try updating atmosphere and/or changing maxProcessingThreads may not be completely related, but what is your maxThreads value in your Connector .../ in server.xml ? mine is below (found in

Re: java: src/network.c:441: Java_org_apache_tomcat_jni_Socket_send: Assertion failed

2014-03-03 Thread Howard W. Smith, Jr.
On Mon, Mar 3, 2014 at 6:41 AM, Dmitry Batiyevskiy dmitry.batiyevs...@ardas.dp.ua wrote: init-param param-nameorg.atmosphere.useNative/param-name param-valuetrue/param-value /init-param also, i wonder what your test results will be if you comment out the lines above from your web.xml.

Re: tomcat 6 refuses mod_jk connections after server runs for a couple of days

2014-03-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Issac, On 3/1/14, 12:41 AM, Isaac Gonzalez wrote: From: Christopher Schultz [ch...@christopherschultz.net] Sent: Friday, February 28, 2014 11:40 AM To: Tomcat Users List Subject: Re: tomcat 6 refuses

Could not publish server configuration for Tomcat v7.0 Server at localhost.

2014-03-03 Thread Frank Lugalla
Hi Guys Just started using Tomcat v7..deployed my application and I am getting this error when I try to run; Could not publish server configuration for Tomcat v7.0 Server at localhost. Multiple Contexts have a path of /etm. Has anyone got this type of error before? Thanks,

Re: Newbie question: Installing Java EE

2014-03-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Bruce, On 3/1/14, 3:05 AM, Bruce Whealton wrote: Next question is with regard to the server. Is there any reason one would run both Tomcat and Glass-Fish server? I'm sure one could find a reason, but usually one would choose either a Java

Tomcat 8.0.3 hangs when ISAPI redirector sends an AJP request without request body

2014-03-03 Thread Konstantin Preißer
Hi, I observed another strange problem when using Tomcat 8.0.3 with Java 1.7.0_51 (64-bit) on Windows Server 2012 R2, in conjunction with IIS 8.5 + ISAPI Redirector 1.2.39 (the problem also happens with 1.2.37). I'm using the AJP NIO and HTTP NIO connectors, but the problem also happens with

Re: java: src/network.c:441: Java_org_apache_tomcat_jni_Socket_send: Assertion failed

2014-03-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Dmitry, On 3/3/14, 6:06 AM, Dmitry Batiyevskiy wrote: Can you advice how we can find the problem in app/environment like this? What are possible ways to debug this? Honestly, I'd try switching to the NIO connector and resume your testing. If all

Re: java: src/network.c:441: Java_org_apache_tomcat_jni_Socket_send: Assertion failed

2014-03-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Howard, On 3/3/14, 10:09 AM, Howard W. Smith, Jr. wrote: On Mon, Mar 3, 2014 at 6:41 AM, Dmitry Batiyevskiy dmitry.batiyevs...@ardas.dp.ua wrote: init-param param-nameorg.atmosphere.useNative/param-name param-valuetrue/param-value

Re: Could not publish server configuration for Tomcat v7.0 Server at localhost.

2014-03-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Frank, On 3/3/14, 10:58 AM, Frank Lugalla wrote: Hi Guys Just started using Tomcat v7..deployed my application and I am getting this error when I try to run; Could not publish server configuration for Tomcat v7.0 Server at localhost.

RE: Tomcat 8.0.3 hangs when ISAPI redirector sends an AJP request without request body

2014-03-03 Thread Konstantin Preißer
-Original Message- From: Konstantin Preißer [mailto:kpreis...@apache.org] Sent: Monday, March 3, 2014 5:19 PM To: 'Tomcat Users List' Subject: Tomcat 8.0.3 hangs when ISAPI redirector sends an AJP request without request body snip Note: I do not yet have examined what AJP packets

Re: Stream closed- IOException exception

2014-03-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Prashant, On 3/3/14, 6:04 AM, Prashant Kadam wrote: please help ... I have removed whitespaces by adding jsp-config jsp-property-group url-pattern*.jsp/url-pattern trim-directive-whitespacestrue/trim-directive-whitespaces /jsp-property-group

Tomcat 7.0.52 stops after hours on our Sun Sparc with SunOS 5.10

2014-03-03 Thread Jay
Hello, We newly installed Solaris 10 with all default settings on our Sun Sparc machine (sun4u sparc SUNW,UltraAX-i2 64-bit sparcv9 kernel modules). The OS Version: SunOS hostname 5.10 Generic_147147-26 sun4u sparc SUNW,UltraAX-i2. We downloaded and installed JDK packages as follows:

Configuring mod_jk with multiple Apache HTTPD Virtual Hosts

2014-03-03 Thread Doug Strick
Hello, I'm currently working on a project where we're migrating from Adobe Coldfusion 8 to CF 10. Adobe CF10 now uses tomcat as the underlying server and mod_jk is the standard connector used. On our test environment we have a single apache httpd instance serving multiple domains with each

RE: Could not publish server configuration for Tomcat v7.0 Server at localhost.

2014-03-03 Thread Frank Lugalla
Hi Chris, I right click and add my applications there -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Monday, March 03, 2014 10:25 AM To: Tomcat Users List Subject: Re: Could not publish server configuration for Tomcat v7.0

secure reverse proxy to my tomcat server HELP NEEDED

2014-03-03 Thread Jeff Haferman
The subject says it, I need help getting a secure reverse proxy to my tomcat server working. There is a lot of doc on the web, and it seems like I have everything configured properly, but I can't quite get the reverse proxy to work on the https side of things. Here is my config: Apache2.4.2

Re: secure reverse proxy to my tomcat server HELP NEEDED

2014-03-03 Thread J Java
Can you change and retry below lines : ProxyPass / http://my.webserver.com:8443/ toProxyPass / https://my.webserver.com:8443/ http://my.webserver.com:8443/ ProxyPassReverse /app http://localhost:8443/ to ProxyPassReverse /app https://localhost:8443/

Re: secure reverse proxy to my tomcat server HELP NEEDED

2014-03-03 Thread Jeff Haferman
Sorry, I made a couple of typos when I copied my stuff over and edited out my actual FQDN... I do have VirtualHost *:443 SSLEngine on SSLProxyEngine on SSLCertificateFile /path/to/server.crt SSLCertificateKeyFile /path/to/server.key ServerName my.webserver.com ProxyPass

Re: secure reverse proxy to my tomcat server HELP NEEDED

2014-03-03 Thread André Warnier
Jeff Haferman wrote: The subject says it, I need help getting a secure reverse proxy to my tomcat server working. Maybe one question here would be : why ? browser --- HTTPS -- httpd -- HTTPS -- Tomcat The browser encrypts and sends to httpd. httpd decrypts. httpd then re-encrypts and sends

RE: Tomcat 8.0.3 hangs when ISAPI redirector sends an AJP request without request body

2014-03-03 Thread Konstantin Preißer
-Original Message- From: Konstantin Preißer [mailto:kpreis...@apache.org] Sent: Monday, March 3, 2014 5:38 PM When sending the following request to IIS: POST /TestWebapp/Servlet HTTP/1.1 Host: localhost Connection: keep-alive Content-Length: 0 Then the ISAPI redirector sends

Re: Configuring mod_jk with multiple Apache HTTPD Virtual Hosts

2014-03-03 Thread André Warnier
Doug Strick wrote: Hello, I'm currently working on a project where we're migrating from Adobe Coldfusion 8 to CF 10. Adobe CF10 now uses tomcat as the underlying server and mod_jk is the standard connector used. On our test environment we have a single apache httpd instance serving multiple

$CATALINA_HOME/conf/context.xml .. restrict a context?

2014-03-03 Thread Ravi Gupta
Tomcat 6.X RHEL I tried adding the below in order to limit access to /admin-console It worked, but it limits access to EVERY context, which is odd. I am sure I am doing something wrong or I misunderstand how this works I want to put restrictions on the /admin-console context, but I do not

Re: secure reverse proxy to my tomcat server HELP NEEDED

2014-03-03 Thread Jeff Haferman
Yes, for development httpd and tomcat are on the same physical machine. Eventually they will be on different machines. But, even if I try browser --- HTTPS -- httpd -- HTTP -- Tomcat by just changing the ProxyPass and ProxyPassReverse directives to use the unencrypted URLs as follows

Re: Configuring mod_jk with multiple Apache HTTPD Virtual Hosts

2014-03-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 André, On 3/3/14, 4:57 PM, André Warnier wrote: Doug Strick wrote: Hello, I'm currently working on a project where we're migrating from Adobe Coldfusion 8 to CF 10. Adobe CF10 now uses tomcat as the underlying server and mod_jk is the

Re: Tomcat 7.0.52 stops after hours on our Sun Sparc with SunOS 5.10

2014-03-03 Thread Konstantin Kolinko
2014-03-03 21:29 GMT+04:00 Jay mx...@live.com: Hello, We newly installed Solaris 10 with all default settings on our Sun Sparc machine (sun4u sparc SUNW,UltraAX-i2 64-bit sparcv9 kernel modules). The OS Version: SunOS hostname 5.10 Generic_147147-26 sun4u sparc SUNW,UltraAX-i2. We

Re: $CATALINA_HOME/conf/context.xml .. restrict a context?

2014-03-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Ravi, On 3/3/14, 5:10 PM, Ravi Gupta wrote: Tomcat 6.X RHEL I tried adding the below in order to limit access to /admin-console It worked, but it limits access to EVERY context, which is odd. I am sure I am doing something wrong or I

Re: secure reverse proxy to my tomcat server HELP NEEDED

2014-03-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jeff, On 3/3/14, 5:11 PM, Jeff Haferman wrote: Yes, for development httpd and tomcat are on the same physical machine. Eventually they will be on different machines. But, even if I try browser --- HTTPS -- httpd -- HTTP -- Tomcat by just

Re: Error while upgrading to Tomcat 7.0.52

2014-03-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Utkarsh, On 3/3/14, 6:11 AM, Utkarsh Dave wrote: Hi Prashant - I assume there will not be any consequence of replacing validateXML with validateTld? Sure there will be. Read the documentation to determine the difference between those two

Re: Tomcat 7.0.52 issue on our Sun Sparc with SunOS 5.10

2014-03-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jay, On 2/28/14, 4:09 PM, Jay wrote: Hi Konstantin, Thanks. it did cut the name during the unpacking. I unpacked it using gunzip -c apache-tomcat-7.0.52.tar.gz |tar xvf - and there was no warning or error. The original tar.gz file

Re: Could not publish server configuration for Tomcat v7.0 Server at localhost.

2014-03-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Frank, On 3/3/14, 2:38 PM, Frank Lugalla wrote: I right click and add my applications there Given that Tomcat does not have a GUI that allows you to right click and add my applicationsthere... could you be a little more specific? You do use

Re: $CATALINA_HOME/conf/context.xml .. restrict a context?

2014-03-03 Thread Ravi Gupta
Thanks, the issue is that my customer does not want to restrict the admin-console in it's war - the rational is anybody can then just redeploy a new admin-console.war and access it (overwrite the restrictions). They want to restrict access to this context from OUTSIDE the actual deployment. Make

Re: $CATALINA_HOME/conf/context.xml .. restrict a context?

2014-03-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Ravi, (Moving the discussion back onto the list: please reply to the list and not to individuals. That's what community is about.) On 3/3/14, 5:29 PM, Ravi Gupta wrote: Thanks, the issue is that my customer does not want to restrict the

Re: $CATALINA_HOME/conf/context.xml .. restrict a context?

2014-03-03 Thread Ravi Gupta
Any idea if the same would work for JBOSS 5.X (uses tomcat under the hood)? perhaps it is not the same, but I tried putting admin-console.xml under jboss-5.1.0.GA/server/default/deploy/jbossweb.sar it contains Context path=/admin-console Valve className=org.apache.catalina.valves.RemoteAddrValve

RE: Tomcat 7.0.52 issue on our Sun Sparc with SunOS 5.10

2014-03-03 Thread Jay
Hi Chris, This is a tar issue and we can work out. Actually We have a real issue on the Tomcat stopping itself - I just reported again with the new version 7.052. Tomcat 7.0.52 stops after hours on our Sun Sparc with SunOS 5.10. Thanks, Jay -Original Message- From: Christopher Schultz

Re: $CATALINA_HOME/conf/context.xml .. restrict a context?

2014-03-03 Thread Ravi Gupta
According to this, it should match up https://community.jboss.org/wiki/Web-AppContextConfiguration On Mon, Mar 3, 2014 at 4:53 PM, Ravi Gupta rkgupt...@gmail.com wrote: Any idea if the same would work for JBOSS 5.X (uses tomcat under the hood)? perhaps it is not the same, but I tried putting

Re: secure reverse proxy to my tomcat server HELP NEEDED

2014-03-03 Thread Jeff Haferman
Hi Chris - Sorry for the HELP NEEDED. What actually happens is that, just for https://my.webserver.com/, I get served the pages that are at the apache root, *not* what is being served by tomcat at port 8443. I do get the tomcat pages if I explicitly add the port, i.e.

Tomcat JDBC Connection Pool Resource Name Issue

2014-03-03 Thread Scott Dudley
I'm using the Tomcat JDBC connection pool on apache-tomcat-7.0.30. My context xml resource name is as follows: Resource name=jdbc/mypool ... When running under Tomcat, calling ConnectionPool.getName() from my custom JdbcInterceptor returns Tomcat Connection Pool[1-992158371]. Under JSE (a

Re: java: src/network.c:441: Java_org_apache_tomcat_jni_Socket_send: Assertion failed

2014-03-03 Thread Howard W. Smith, Jr.
On Mon, Mar 3, 2014 at 11:22 AM, Christopher Schultz ch...@christopherschultz.net wrote: Dmitry, On 3/3/14, 6:06 AM, Dmitry Batiyevskiy wrote: Can you advice how we can find the problem in app/environment like this? What are possible ways to debug this? Honestly, I'd try switching to

Re: java: src/network.c:441: Java_org_apache_tomcat_jni_Socket_send: Assertion failed

2014-03-03 Thread Dmitry Batiyevskiy
Howard, My connector config is the following (i've already posted that): Connector port=8443 maxHttpHeaderSize=8192 maxThreads=15000 enableLookups=false disableUploadTimeout=true acceptCount=100 scheme=https secure=true