Re: JVM keystores and CA

2018-10-15 Thread Jose María Zaragoza
Hi El mar., 16 oct. 2018 a las 1:49, Igor Cicimov () escribió: > > Hi all, > > I just want to clarify something that I've been seeing behave differently > on various Java versions during the years. In case we have the following > setting: > > -Djavax.net.ssl.trustStore=/keystore/truststore.jks" >

Re: Alias name does not identify a key entry

2018-06-26 Thread Jose María Zaragoza
El mar., 26 jun. 2018 a las 17:03, Cybulski, Adam M () escribió: > > > Hello, I'm using Tomcat 8.5.4, on a server 2008R2 machine, and I'm unable to > start the SSL connector. > > My connector syntax is as follows: > > connectionTimeout="2" >redirectPort="8443

Re: Tomcat SSL issue

2017-10-09 Thread Jose María Zaragoza
2017-10-09 17:01 GMT+02:00 John Ellis : > I posted questions about this a couple of weeks ago I think it was. I have > been trying to get Tomcat running on a secure port with a valid SSL > certificate. We finally got version 9.0.0.M20 setup successfully on port > 9443 and I can go to that IP:port

Re: 2 Way SSL integration with Webservices - Inbound connection not trusted

2017-08-16 Thread Jose María Zaragoza
Hi: 2017-08-16 6:59 GMT+02:00 Vinoth Raja : > Hi Chris, > > In the above conversation, the server presents the list of acceptable > client certificates to the client. Does that happen for you? > > [ Yes . It prints the list of acceptable certificate when > certificateVerification is set to require

Re: Error 404 - The requested resource is not available

2017-01-11 Thread Jose María Zaragoza
2017-01-11 22:49 GMT+01:00 fonsin2008 . : > Hi all! > > First, I need to say that I'm new(ignorant) with Tomcat. One of our > systems is written with tomcat, but today something went wrong and the > following error appears on the webpage: > > --Estado HTTP 404 - /evaluacion/WEB-INF/pages/login/form

Re: How do deal with 'sslv3 alert handshake failure'?

2016-09-27 Thread Jose María Zaragoza
2016-09-27 16:29 GMT+02:00 Persson, Magnus (SE-TLX) : > Hi, > > We started out with tomcat 7.0.35 and got that running with our REST > servlet. > > When we upgraded to tomcat 7.0.63 we got this error when we tried to > create a new session: > > { > "message": "[Errno 1] _ssl.c:507: error:14077

Re: TLS 1.2 Handshake on Tomcat 7.0.39 Getting Internal Error: Key format must be RAW

2016-09-21 Thread Jose María Zaragoza
2016-09-21 19:16 GMT+02:00 André Warnier (tomcat) : > On 21.09.2016 18:49, Christopher Schultz wrote: >> >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA256 >> >> Ron, >> >> On 9/21/16 11:58 AM, Roskens, Ronald wrote: -Original Message- From: Christopher Schultz [mailto:ch.

Re: [jdbc-pool] Validation query leaves transaction open

2016-08-12 Thread Jose María Zaragoza
ry sentence, Tomcat doesn't use autocommit = true setting > On Fri, Aug 12, 2016 at 4:13 AM Jose María Zaragoza > wrote: > >> 2016-08-11 21:33 GMT+02:00 John Huss : >> > I have verified that in version 8.0.36 of tomcat jdbc the validation >> query >> > fun

Re: [jdbc-pool] Validation query leaves transaction open

2016-08-12 Thread Jose María Zaragoza
2016-08-11 21:33 GMT+02:00 John Huss : > I have verified that in version 8.0.36 of tomcat jdbc the validation query > functionality does not commit the transaction it starts in order to run the > validation query, which can cause an open transaction for a very long time > (possibly until the databa

Re: Increased memory consumption due to url encoding

2016-08-11 Thread Jose María Zaragoza
2016-08-10 14:29 GMT+02:00 Lazar Kirchev : > Hello Christopher, > > I tried with 32 MB and even 24 MB heap and the CPU usage and response time > remained the almost the same (the difference is negligible) as with 1 GB > heap. The cumulative allocated memory for the HeapByteBuffer remains about > 40

Re: jdbc check available database

2016-08-09 Thread Jose María Zaragoza
2016-08-09 10:52 GMT+02:00 Andrea Galli : > Thank you Christoph , but in this how-to there isn't any example for SQL > Server. This is my configuration (context.xml) for a SQL Server connection pool You need a SQL Server JDBC driver > > -Messaggio originale- > Da: Christoph Nenning [m

Re: Multiple SSL config with single IP on Tomat 8.5.4

2016-08-04 Thread Jose María Zaragoza
2016-08-04 17:17 GMT+02:00 Kent Smotherman : > From: Mark Thomas > To: Tomcat Users List > Cc: > Date: Wed, 3 Aug 2016 15:49:12 -0700 > Subject: Re: Multiple SSL config with single IP on Tomcat 8.5.4 > On 03/08/2016 15:05, Kent Smotherman wrote: >> I'm trying to get multiple SSL certs configured

Re: Multiple domian names one web site different content

2016-03-04 Thread Jose María Zaragoza
Maybe my question does't have to do with current thread ( an probably doesn't have any sense at all) but : would be possible to define "VirtualHost" according the destination port ? I know that VirtualHost diferent domain name, but i want to keep the same domain name and to define 2 connectors , l

Re: Cors-Filter

2016-02-26 Thread Jose María Zaragoza
2016-02-26 9:08 GMT+01:00 RICHARD DOUST : > My question is, why doesn't it work, or, how can I debug it? Are you tested to allow to all origins (default option) ? Only for testing purpose, I mean: cors.allowed.origins * At first sight, your settings should work, but ... > I guess I'm going to

Re: Detecting Expired Session via JavaScript?

2015-12-01 Thread Jose María Zaragoza
2015-12-01 19:17 GMT+01:00 Jose María Zaragoza : > 2015-12-01 18:30 GMT+01:00 Jerry Malcolm : >> I'm looking for a way to detect that the current session has expired (or >> logged out via another tab on the browser). I know I could just issue dummy >> requests to the

Re: Detecting Expired Session via JavaScript?

2015-12-01 Thread Jose María Zaragoza
2015-12-01 18:30 GMT+01:00 Jerry Malcolm : > I'm looking for a way to detect that the current session has expired (or > logged out via another tab on the browser). I know I could just issue dummy > requests to the server and see if a login page comes back. But issuing > requests automatically res

Re: [PROPOSAL] Tomcat Webinar series

2015-11-12 Thread Jose María Zaragoza
2015-11-12 23:29 GMT+01:00 Mark Thomas : > All, > > I've been wondering if there would be any interest in a Tomcat Webinar > series. I'm thinking ~10 minutes of presentation followed by Q&A on > topics of interest to this community with the webinars taking place > every 1/2/4 weeks depending on int

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

2015-10-22 Thread Jose María Zaragoza
2015-10-22 18:26 GMT+02:00 Christopher Schultz : > Ognjen, > > On 10/22/15 9:10 AM, Ognjen Blagojevic wrote: >> Jose & Chris, >> >> On 21.10.2015 20:47, Christopher Schultz wrote: >>> Jose, >>> >>> On 10/21/15 7:33 AM, Jose María Zaragoza w

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

Re: Multiple JSESSIONID cookies being presented.

2015-09-09 Thread Jose María Zaragoza
2015-09-09 18:08 GMT+02:00 Jeffrey Janner : >> -Original Message- >> From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] >> Sent: Tuesday, September 08, 2015 4:58 PM >> To: Tomcat Users List >> Subject: RE: Multiple JSESSIONID cookies being prese

Re: Multiple JSESSIONID cookies being presented.

2015-09-08 Thread Jose María Zaragoza
2015-09-08 22:57 GMT+02:00 Jeffrey Janner : >> -Original Message- >> From: Jose María Zaragoza [mailto:demablo...@gmail.com] >> Sent: Tuesday, September 08, 2015 9:08 AM >> To: Tomcat Users List >> Subject: Re: Multiple JSESSIONID cookies being presented. &g

Re: ServletRequest.getRemoteHost() not working when Tomcat is behind Nginx (Nginx as a reverse proxy)

2015-09-08 Thread Jose María Zaragoza
to pass > it to Tomcat the same way the IP address can be passed! But for some reason I > can't find it and I have spent quite some time looking for it. > > Thanks a lot! > > >> -Original Message- >> From: Jose María Zaragoza [mailto:demablo...@gmail.c

Re: ServletRequest.getRemoteHost() not working when Tomcat is behind Nginx (Nginx as a reverse proxy)

2015-09-08 Thread Jose María Zaragoza
2015-09-08 21:22 GMT+02:00 Brian : > Hi, > > > > First of all, I'm using: > > - Tomcat 7.0.50 > > - Nginx 1.4.7 > > > > When I use Tomcat alone, ServletRequest.getRemoteHost() > (http://docs.oracle.com/javaee/6/api/javax/servlet/ServletRequest.html#getRe > moteHost() >

Re: Multiple JSESSIONID cookies being presented.

2015-09-08 Thread Jose María Zaragoza
2015-09-08 15:51 GMT+02:00 Jeffrey Janner : >> -Original Message- >> From: Christopher Schultz [mailto:ch...@christopherschultz.net] >> Sent: Friday, September 04, 2015 12:46 PM >> To: Tomcat Users List >> Subject: Re: Multiple JSESSIONID cookies being presented. >> >> -BEGIN PGP SIGNE

Re: Multiple JSESSIONID cookies being presented.

2015-09-08 Thread Jose María Zaragoza
2015-09-08 15:51 GMT+02:00 Jeffrey Janner : >> -Original Message- >> From: Christopher Schultz [mailto:ch...@christopherschultz.net] >> Sent: Friday, September 04, 2015 12:46 PM >> To: Tomcat Users List >> Subject: Re: Multiple JSESSIONID cookies being presented. >> >> -BEGIN PGP SIGNE

Re: validationQuery doesn't work (DBCP 7.0.59)

2015-06-23 Thread Jose María Zaragoza
2015-06-15 17:59 GMT+02:00 Christopher Schultz : > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Jose, > > It looks like your issue is mostly solved... > > On 6/15/15 4:42 AM, Jose María Zaragoza wrote: >> I'm using Tomcat 7.0.59 and PostgreSQL J

Re: validationQuery doesn't work (DBCP 7.0.59)

2015-06-15 Thread Jose María Zaragoza
2015-06-15 16:35 GMT+02:00 Daniel Mikusa : > On Mon, Jun 15, 2015 at 4:42 AM, Jose María Zaragoza > wrote: > >> Hello: >> >> >> I'm using Tomcat 7.0.59 and PostgreSQL JDBC driver 9.4-1201-jdbc4 >> >> The context.xml

Re: validationQuery doesn't work (DBCP 7.0.59)

2015-06-15 Thread Jose María Zaragoza
2015-06-15 13:09 GMT+02:00 Mark Thomas : > On 15/06/2015 11:39, Jose María Zaragoza wrote: >> 2015-06-15 11:39 GMT+02:00 Mark Thomas : >>> On 15/06/2015 09:42, Jose María Zaragoza wrote: >>>> Hello: >>>> >>>> >>>> I'm usin

Re: validationQuery doesn't work (DBCP 7.0.59)

2015-06-15 Thread Jose María Zaragoza
2015-06-15 11:39 GMT+02:00 Mark Thomas : > On 15/06/2015 09:42, Jose María Zaragoza wrote: >> Hello: >> >> >> I'm using Tomcat 7.0.59 and PostgreSQL JDBC driver 9.4-1201-jdbc4 >> >> The context.xml settings are >> >> >> >

validationQuery doesn't work (DBCP 7.0.59)

2015-06-15 Thread Jose María Zaragoza
Hello: I'm using Tomcat 7.0.59 and PostgreSQL JDBC driver 9.4-1201-jdbc4 The context.xml settings are I've configured JDBC driver in failover mode ( as you can see in URL definition ) When I test this configuration ( I stop/start databases but , at least, there is one running ) , sometimes

Re: [SECURITY] CVE-2014-0230: Apache Tomcat DoS

2015-05-06 Thread Jose María Zaragoza
2015-05-06 13:59 GMT+02:00 Mark Thomas : > On 06/05/2015 09:14, André Warnier wrote: >> Jose María Zaragoza wrote: >>> 2015-05-06 0:53 GMT+02:00 Mark Thomas : >>>> -BEGIN PGP SIGNED MESSAGE- >>>> Hash: SHA256 >>>> >&g

Re: [SECURITY] CVE-2014-0230: Apache Tomcat DoS

2015-05-06 Thread Jose María Zaragoza
2015-05-06 0:53 GMT+02:00 Mark Thomas : > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > CVE-2014-0230 Denial of Service > > Severity: Low > > Vendor: The Apache Software Foundation > > Versions Affected: > - - Apache Tomcat 8.0.0-RC1 to 8.0.8 > - - Apache Tomcat 7.0.0 to 7.0.54 > - - Apache

Re: Web filter to forward some requests to another remote webserver

2015-01-15 Thread Jose María Zaragoza
2015-01-14 22:03 GMT+01:00 Christopher Schultz : > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Jose, > > On 1/14/15 3:54 PM, Jose María Zaragoza wrote: >> 2015-01-14 20:05 GMT+01:00 Christopher Schultz >> : Jose, >> >> On 1/14/15 8:27 AM, Jose Ma

Re: Web filter to forward some requests to another remote webserver

2015-01-14 Thread Jose María Zaragoza
2015-01-14 20:05 GMT+01:00 Christopher Schultz : > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Jose, > > On 1/14/15 8:27 AM, Jose María Zaragoza wrote: >> 2015-01-14 12:46 GMT+01:00 André Warnier : >>> Jose María Zaragoza wrote: >>>> >&

Re: Web filter to forward some requests to another remote webserver

2015-01-14 Thread Jose María Zaragoza
2015-01-14 12:46 GMT+01:00 André Warnier : > Jose María Zaragoza wrote: >> >> Hello: >> >> I would like to create a web filter to forward some requests to >> another webserver, >> >> The filter receives an "application/x-www-form-urlencoded&q

Web filter to forward some requests to another remote webserver

2015-01-14 Thread Jose María Zaragoza
Hello: I would like to create a web filter to forward some requests to another webserver, The filter receives an "application/x-www-form-urlencoded" request , inspects the value of a parameter and chooses to forward to another remote webserver ( as a proxy ) I've seen some posts where they open

Re: META-INF/context.xml and deploy issue (web.xml removed?)

2014-12-04 Thread Jose María Zaragoza
2014-12-04 9:48 GMT+01:00 m...@ow2.org : > Hi, > > Is anyone can help me to find out what I am missing ? > Thanks Hi: I asked a similar question time ago http://grokbase.com/t/tomcat/users/13chhkj0qx/modify-content-in-meta-inf-context-xml I hope it helps you Regards > > Le 02/12/2014 10:36

Re: How to access Sessions outside of class

2014-10-28 Thread Jose María Zaragoza
2014-10-28 13:44 GMT+01:00 Jason Ricles : > > Martin, > > I can not use hazelcast due to regulations I have to abide by, is where any > other built in way besides sockets that will allow me to share data between > the two processes? You could use an embedded ( or not ) messaging broker ( like Act

Re: ChunkedInputFilter: No data available due to previous error

2014-10-16 Thread Jose María Zaragoza
2014-10-15 13:33 GMT+02:00 Jose María Zaragoza : > > Hello: > > I'm using Tomcat 6.0.24 and sometimes I'm getting an IOException like : > > Caused by: java.io.IOException: No data available due to previous error > at > org.apache.coyote.http11.fil

ChunkedInputFilter: No data available due to previous error

2014-10-15 Thread Jose María Zaragoza
Hello: I'm using Tomcat 6.0.24 and sometimes I'm getting an IOException like : Caused by: java.io.IOException: No data available due to previous error at org.apache.coyote.http11.filters.ChunkedInputFilter.checkError(ChunkedInputFilter.java:588) ~[tomcat-coyote-6.0.24.jar:na] at o

Re: Why is my Tomcat connection getting terminated/closed?!!

2014-06-17 Thread Jose María Zaragoza
> > > Hi, > > The issue still isnt resolved .I have tried putting in > validationquery,testOnborrow ,and removeabandoned=true. Are you try testOnReturn = true ? Looks like if when Apache Solr closes resources, and it requires to close the database connection, something has already closed the un

Re: Why is my Tomcat connection getting terminated/closed?!!

2014-05-21 Thread Jose María Zaragoza
2014-05-21 13:28 GMT+02:00 Aniket Bhoi : > On Tue, May 20, 2014 at 5:28 PM, Daniel Mikusa wrote: > >> On May 20, 2014, at 7:47 AM, Aniket Bhoi wrote: >> >> > It has been working perfectly fine thus far.As far as i have analysed >> there >> > have been no changes to the firewall or database setting

Re: Why is my Tomcat connection getting terminated/closed?!!

2014-05-20 Thread Jose María Zaragoza
2014-05-20 13:42 GMT+02:00 Daniel Mikusa : > On May 20, 2014, at 7:35 AM, Aniket Bhoi wrote: > >> I have Apache Solr,hosted on my apache Tomcat Server >> >> Details: >> >> Tomcat version: >> Apache Tomcat/6.0.18 > > This is really, really old. You should upgrade. > >> >> OS details >> SUSE Linux

Re: CORS issue with Tomcat and Android Webview

2014-04-29 Thread Jose María Zaragoza
2014-04-29 0:38 GMT+02:00 Terence M. Bandoian : > On 4/28/2014 5:32 PM, Terence M. Bandoian wrote: >> >> On 4/28/2014 3:08 PM, Jose María Zaragoza wrote: >>> >>> 2014-04-28 21:55 GMT+02:00 Terence M. Bandoian : >>>> >>>> On 4/26/2014 6:56 AM

Re: CORS issue with Tomcat and Android Webview

2014-04-28 Thread Jose María Zaragoza
2014-04-28 21:55 GMT+02:00 Terence M. Bandoian : > On 4/26/2014 6:56 AM, Jose María Zaragoza wrote: >> >> 2014-04-26 13:16 GMT+02:00 Martin Gainty : >>>> >>>> Date: Sat, 26 Apr 2014 11:43:05 +0530 >>>> Subject: Re: CORS issue with Tomcat and Andro

Re: CORS issue with Tomcat and Android Webview

2014-04-26 Thread Jose María Zaragoza
2014-04-26 13:16 GMT+02:00 Martin Gainty : >> Date: Sat, 26 Apr 2014 11:43:05 +0530 >> Subject: Re: CORS issue with Tomcat and Android Webview >> From: ankising...@gmail.com >> To: users@tomcat.apache.org >> >> On Sat, Apr 26, 2014 at 12:53 AM, Terence M. Bandoian >> wrote: >> >> > On 4/24/2014 11

Re: CORS issue with Tomcat and Android Webview

2014-04-24 Thread Jose María Zaragoza
2014-04-24 19:00 GMT+02:00 Terence M. Bandoian : > On 4/22/2014 1:37 PM, Jose María Zaragoza wrote: >> >> -- Forwarded message -- >> From: Terence M. Bandoian >> Date: 2014-04-22 20:12 GMT+02:00 >> Subject: Re: CORS issue with Tomcat and Android

Re: CORS issue with Tomcat and Android Webview

2014-04-22 Thread Jose María Zaragoza
-- Forwarded message -- From: Terence M. Bandoian Date: 2014-04-22 20:12 GMT+02:00 Subject: Re: CORS issue with Tomcat and Android Webview To: Tomcat Users List On 4/22/2014 11:03 AM, Ankit Singhal wrote: > > Also we tried to give the same call from Android App to some different

Re: jax-ws and tomcat 7 with ssl

2014-03-18 Thread Jose María Zaragoza
2014-03-18 22:58 GMT+01:00 Maria Cristina Siena : > Hi, > > I developed a web service using jax-ws and configured Tomcat to support SSL > connection. Here are my steps: > > ** Step 1 - Generate a self-signed server certificate > > Use JDK 1.7 keytool: > > keytool -genkey -alias trackerdev -keyp

Re: Filter behaviour ( settinf Content-Length header )

2014-02-27 Thread Jose María Zaragoza
2014-02-27 17:24 GMT+01:00 Konstantin Kolinko : > 2014-02-27 18:31 GMT+04:00 Jose María Zaragoza : >> >> And what do you recommend to me for forcing to return a Content-Type ? >> Some weird clients require it >> >> If I cannot do it with a Filter , where can I

Re: Filter behaviour ( settinf Content-Length header )

2014-02-27 Thread Jose María Zaragoza
Thanks And what do you recommend to me for forcing to return a Content-Type ? Some weird clients require it If I cannot do it with a Filter , where can I do it ? 2014-02-27 12:41 GMT+01:00 Konstantin Kolinko : > 2014-02-27 12:18 GMT+04:00 Jose María Zaragoza : >> Hello: >> >

Filter behaviour ( settinf Content-Length header )

2014-02-27 Thread Jose María Zaragoza
Hello: I'm using Tomcat 6.0.24 and I'm testing how to return Content-Length header So I've defined a Filter and declared in web.xml of my web application If I do this: HttpServletResponse httpResponse = (HttpServletResponse) response; chain.doFilter(request, response); httpResponse.setHeader("Co

UserDatabase resource into META-INF/context.xml

2014-02-06 Thread Jose María Zaragoza
Hello: I'm using Tomcat 6.0.24 I want to set a realm per only one application, so I define in its META-INF/context.xml my-users.xml is stored in $CATALINA_BASE/conf/ But it doesn't work; a javax.naming.NameNotFoundException exception is thrown when Tomcat restarts If I put under Glob

Re: Modify content in META-INF/context.xml

2013-12-18 Thread Jose María Zaragoza
2013/12/18 Jeffrey Janner : > I think that at 6.x you need to do one of the following to the context.xml > file located in the configBase ($CATALINA_BASE/conf/[enginename]/[hostname]/): > 1. make the changes to the file there and reload the webapp > 2. make the changes in the META_INF file and co

Re: Modify content in META-INF/context.xml

2013-12-17 Thread Jose María Zaragoza
> Automatic deployment has had a bit of an overhaul in Tomcat 8 and those > changes have been back-ported to 7.0.x for the next release. The behaviour in > a number of edge cases is now clearly defined: > http://ci.apache.org/projects/tomcat/tomcat8/docs/config/automatic-deployment.html > > In yo

Re: Modify content in META-INF/context.xml

2013-12-17 Thread Jose María Zaragoza
2013/12/17 André Warnier : > Hi. > Without having any idea really of the precise mechanism behind database > connections, I can still imagine that with the possibility of pooled > connections to said database(s), it may be difficult to detect such a change > in the corresponding context.xml and app

Modify content in META-INF/context.xml

2013-12-17 Thread Jose María Zaragoza
Hello: I'm using Apache Tomcat 6.0.24 and I've deployed a web application that defines its resources into META-INF/context.xml , especially information about connection pool Sometimes I''ve to edit that file to change some data , i.e, database's JDBC url I've seen that restart web application is

Re: What if my database is unavailable at startup?

2013-12-13 Thread Jose María Zaragoza
2013/12/13 Dames, Kristopher J : >> With testOnBorrow="true" ( I think that is the default value in Tomcat >> 6 ) + validationQuery="SELECT 1 FROM DUAL" , that should work >> > > So you are saying my configuration should work as-is to allow Tomcat to > create a database connection pool to a databa

Re: What if my database is unavailable at startup?

2013-12-13 Thread Jose María Zaragoza
With testOnBorrow="true" ( I think that is the default value in Tomcat 6 ) + validationQuery="SELECT 1 FROM DUAL" , that should work I've never used maxOpenPreparedStatements="0" accessToUnderlyingConnectionAllowed="false" what are they for ? 2013/12/13 Dames, Kristopher J : > Daniel, > > I

META-INF/context.xml & connection pool

2013-11-28 Thread Jose María Zaragoza
Hello: I'm using Tomcat 6.0.23 Yes, I know is an old release Anyway, I would like to use tomcat-jdbc connection pool JAR So, I 've stored a context.xml into META-INF folder in my WAR, as My question is should I store JAR ( tomcat-jdbc-x.x.x.jar & tomcat-juli-x.x.x.jar ) into WEB-INF/lib

context.xml in META-INF

2013-11-28 Thread Jose María Zaragoza
Hello: I'm using Tomcat 6.0.23 . Yes, I know it's an old release I would like to use - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Release a database connection from pool

2013-09-10 Thread Jose María Zaragoza
2013/9/10 Christopher Schultz > It can't: not all JDBC drivers use TCP/IP, so the only thing the DBCP > can do is call Connection.close and hope the driver does something > intelligent. It makes sense > > That's up to the database server. I can't imagine a db server that > would not know what

Re: Release a database connection from pool

2013-09-09 Thread Jose María Zaragoza
2013/9/9 Daniel Mikusa : > On Sep 9, 2013, at 2:56 PM, Jose María Zaragoza wrote: >> >> Or does it do anything more by using propietary driver's commands? I >> asking me if ( some ) database servers need a special command to >> finish a connection/session ? >

Release a database connection from pool

2013-09-09 Thread Jose María Zaragoza
Hello: I've got a simple question. I'm using Tomcat 6 & DBCP library ( bit I've got the same question with Tomcat JDBC pool ) My question is: when DBCP wants to release a database connection from the pool ( for example , if it is idle for more than minEvictableIdleTimeMillis ) does it just clo

Re: [Probe]- Tomcat deployment

2013-08-03 Thread Jose María Zaragoza
http://tomcat.apache.org/tomcat-7.0-doc/manager-howto.html 2013/8/3 vicky : > Hi Guys, > > Is there a way by which we can handle the tomcat deployment of war files from > a central location via a Web UI screen ? > > I 'm aware of PROBE (http://code.google.com/p/psi-probe/) by which we can do >

Re: Share info across different sessions & servers

2013-07-06 Thread Jose María Zaragoza
stener implements ChannelListener{ > > @Override > public void messageReceived(Serializable s,Member sender){ > byte[] b=((ByteMessage)s).getMessage(); > String message=new String(b,TribesRemote.UTF8); > TribesRemote.log("message received: "+message); >

Re: Share info across different sessions & servers

2013-07-03 Thread Jose María Zaragoza
Thanks Vince. I'll take a look , but , it doesn't look trivial , not at all Regards 2013/7/4 Vince Stewart > Hi Jose, > > a couple of things, > 1) I use embedded Tomcat to build my application and this has allowed me to > maintain 2 single-line patches in tribes classes by adding tribes source

Re: Share info across different sessions & servers

2013-07-02 Thread Jose María Zaragoza
essages between remote > applications which include tomcat embedded. You construct your message and > submit to a "sendMessage" process. All running apps are always listening > for messages. They receive the message and then may or may not reply or > broadcast as a result. > > >

Re: Share info across different sessions & servers

2013-07-02 Thread Jose María Zaragoza
de in this session 3) consume ( a.k.a, delete ) that message Persistence is not a requirement but ActiveMQ allows it I'l try it with ActiveMQ Thanks again and regards 2013/7/2 Christopher Schultz > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Jose, > > O

Re: Share info across different sessions & servers

2013-07-02 Thread Jose María Zaragoza
e or a > container started after the change was send will not noticed about it... > > Jens > > > > Sent from my iPhone > > On 02.07.2013, at 08:45, Jose María Zaragoza wrote: > > > Hello: > > > > I need to share data between sessions

Share info across different sessions & servers

2013-07-01 Thread Jose María Zaragoza
Hello: I need to share data between sessions running in different Tomcat server. I 'd been thinking about using a JMS broker (as ActiveMQ ): - when a new session is created in Tomcat A, it's created a new unique topic for this session - the session registers itself as listener of that topic ( th

Re: Tomcat 6.x leak with WSS4J library

2013-06-20 Thread Jose María Zaragoza
should be slf4j + logback, but I'm not sure 2013/6/20 Christopher Schultz > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Jose, > > On 6/19/13 5:02 PM, Jose María Zaragoza wrote: > > Thanks ! > > > >> You should at l

Re: Tomcat 6.x leak with WSS4J library

2013-06-19 Thread Jose María Zaragoza
Thanks ! >You should at least upgrade to 6.0.37. 6.0.24 I agree with you but I can't. Anyway, I tested my webapp in Tomcat 6.0.37 and it throws the same error; it only works in latest Tomcat 7.x >Why is your web application attempting to get a message's signature during shutdown? I explained my

Tomcat 6.x leak with WSS4J library

2013-06-19 Thread Jose María Zaragoza
Hello: This isn't an error in Tomcat, but it's an error what happens in my web application by using Apache CXF + WSS4J. I'm using Tomcat 6.0.24 and I've found that it's fixed in 7.0.41 ( but not in 6.03.7 ) But , for bussiness matters, I cannot upgrade from 6.0.24 to 7.x I would like if somebod

maxIdleTime + Tomcat 6.0.23

2013-05-10 Thread Jose María Zaragoza
Hello: I'm using Tomcat 6.0.23 and I'm looking info about threads created by Tomcat HTTP Connector for processing requests. I've seen that - I cannot define a minSpareThread in Connector , in server.xml . And default value is 0 I have to create a Executor to be able to define a minSpareThread

maxWait

2013-04-30 Thread Jose María Zaragoza
Hello: I'm using Tomcat 6.0.23 I'm using DBCP library to pooling database connections. When I define a in context.xml and set maxWait to 2000 ms , sometimes datasource.getConnection() method lasts 15 seconds. I've to define loginTimeout parameter in JDBC driver to get the effect that I want :

validationQuery with Tomcat 7 JDBC Pool

2013-04-29 Thread Jose María Zaragoza
Hello: I was using validationQuery in Tomcat 6 for JNDI datasources, so to check connections before borrowing to the caller And, about documentacion, testOnBorrow parameter is true by default testOnBorrow - true or false: whether a connection should be validated using the validation query each ti

Re: Tomcat Jdbc Pool - NumActive vs actual Established Connections

2013-04-17 Thread Jose María Zaragoza
2013/4/16 Kiren Pillay > Hi All, > > I am using the tomcat-jdpc-pool from within my spring application. I am > noticing a discrepancy between the numActive/numIdle values that the pool > reports versus the actual number of established connections to the > database. > > For example, the pool repor

Re: Tomcat JDBC Pooling - Connections

2013-04-08 Thread Jose María Zaragoza
Hi: But I can see that you aren't using Tomcat JDBC pool, but oracle.jdbc.pool. OracleDataSource , right ? And I don't know how you set up your datasource to more than 200 maxActive connections Indeed, I don't know how you define the size of connection pool Regards 2013/4/8 Madan KN > # 9

Re: Tomcat7 - ajax and connection pool : "connection closed" despite the use of "validationQuery" and "testOnBorrow"

2013-04-05 Thread Jose María Zaragoza
t it had to be "from some faux table > or object." > > > -Original Message- > From: Jose María Zaragoza [mailto:demablo...@gmail.com] > Sent: Friday, April 05, 2013 3:44 PM > To: Tomcat Users List > Subject: Re: Tomcat7 - ajax and connection pool : "

Re: Tomcat7 - ajax and connection pool : "connection closed" despite the use of "validationQuery" and "testOnBorrow"

2013-04-05 Thread Jose María Zaragoza
'select 1 from dual' works in Oracle DB In MySQL, "select 1" 2013/4/5 Propes, Barry L > I could be wrong, but is that validationQuery attribute correct? > > "SELECT 1" ? - I have validationQuery="select 1 from dual" in mine, and > my doc states it has to be a valid SQL statement returning at

Re: Tomcat7 - ajax and connection pool : "connection closed" despite the use of "validationQuery" and "testOnBorrow"

2013-04-05 Thread Jose María Zaragoza
Hi Konstantin: About this link http://commons.apache.org/proper/commons-dbcp/configuration.html If you have enabled "removeAbandoned" then it is possible that a connection is reclaimed by the pool because it is considered to be abandoned. This mechanism is triggered when (getNumIdle() < 2) and (

Re: Tomcat JDBC connection pool + JMX

2013-03-27 Thread Jose María Zaragoza
> Here's what I see when I look at a Tomcat server with a tomcat-jdbc > connection pool defined. > > > tomcat.jdbc:name="",type=ConnectionPool,class=org.apache.tomcat.jdbc.pool.DataSource > > I think this might also work (although it appears read-only). > > Catalina:type=DataSource,class=java

Re: Tomcat JDBC connection pool + JMX

2013-03-27 Thread Jose María Zaragoza
2013/3/27 Charles Richard : > Hi, > > There might be better ways but I monitor the c3p0 connection pool using > jmxterm (my jar jmxterm-1.0-alpha-4-uber.jar). > > For c3p0, the mbean is com.mchange.Pooled... > > Hope this helps a little! Thanks. I use cmdline-jmxclient-0.10.3.jar But I need to k

Tomcat JDBC connection pool + JMX

2013-03-27 Thread Jose María Zaragoza
Hello: I'm using tomcat-jdbc as a connection pool in a standalone application. I would like monitorize this pool by JMX . How I can do that ? What is the name of MBean ? Thanks and regards - To unsubscribe, e-mail: users-uns

Re: Multiple JSESSIONID

2013-03-02 Thread Jose María Zaragoza
> The moral of the story is that nested URL spaces is a bad idea where > sessions are concerned. We easily fixed that problem by moving the > /-mounted webapp to a unique URL prefix (which wasn't trivial, since > we had inter-webapp links, etc.) but it solved all of those weird > problems. Thanks.

Re: Multiple JSESSIONID

2013-03-01 Thread Jose María Zaragoza
2013/3/1 Nick Williams : > APOLOGIES FOR TOP POSTING! (see below, were I correctly inline post this > apology) > > On Mar 1, 2013, at 1:58 PM, Nick Williams wrote: > >> Browsers send all of the cookies because that's the compliant thing to do. >> RFC-2109 [1] says: >> >>> If multiple cookies sati

Re: Multiple JSESSIONID

2013-03-01 Thread Jose María Zaragoza
Thanks for your answers. I wonder why browsers don't send only one JSESSIONID If I request an URL as www.mydomain.com/app/myapplication/action.do and it has got 2 cookies with the same name, one for www.mydomain.com/ and another for www.mydomain.com/app/myapplication/ , IMHO, that a browser shoul

Multiple JSESSIONID

2013-02-28 Thread Jose María Zaragoza
Hello: We're using Tomcat 6.0.24 as servlet container This server listens for requests under the URL www.mydomain.com/app/myaplication/ I've seen in my web browser that it has got 2 JSESSIONID for the same domain at the same time JSESSIONID: x www.mydomain.com / and JSESSIONID:

[OT] tomcat7-maven-plugin

2013-02-27 Thread Jose María Zaragoza
Hello: How is it possible that tomcat7-maven-plugin has got a 'deploy' goal but not 'undeploy' goal ? Regards 2013/2/27 Olivier Lamy : > 2013/2/27 Richard McAleer : >> Hi, >> We're using tomcat7-maven-plugin 2.1 to build an executable war using the >> standalone-war-only goal. The maven build

Re: [FWD: Help Debugging 404 errors]

2013-02-14 Thread Jose María Zaragoza
> OK, I double clicked. Can you give me some more details on choosing root > folder and webapps folder? I see three radio buttons that are all greyed > out. I don't know how to click on them. > "Use workspace metadata (dones not modify Tomcat installation)" > "Use the tomcat installation (takes c

Re: [FWD: Help Debugging 404 errors]

2013-02-13 Thread Jose María Zaragoza
> They actually use a pseudo-CATALINA_BASE (I think) and run the server from: > > workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp[n] > > n is the number of your server in your Servers project. > > There is no bin directory, and there's an extra directory called wtpwebapps > which conta

Re: 64 Bit Tomcat

2013-01-30 Thread Jose María Zaragoza
2013/1/30 Patrick Flaherty : > Hello, > > I have an open question about 32 bit vs 64 bit. We are currently deploying > our app with 32 bit JVM and Tomcat. We are running into memory issues > as we add more functionality (some via tools in the open source ecosystem). Depends on what memory issues a

Re: Get active session list

2012-11-20 Thread Jose María Zaragoza
Sorry, I'm not following this thread but Don't you want to use http://localhost:8080/manager/html/sessions?path=/ ? You only have to parse this plain HTML webpage I know that it's not very elegant but Regards 2012/11/20 Cosio, Raul : > As far as I know there is no way to get the list

Modify Cache-Control header

2012-11-16 Thread Jose María Zaragoza
Hi: I'm using Tomcat 6 ( I don't remember the exact release, I hope to be forgiven by Pid ) I need to modify Cache-Control header in some responses ( forcing them to not be cached ) What is the best way to do it ? a) To implement a Valve ( check request context path and if it match ,to modify r

Re: Logging of user's login attempts

2012-11-09 Thread Jose María Zaragoza
2012/11/9 Christopher Gross > > Perhaps > someone else who has done this can chime in, but I'll keep looking around. > I think you got me started on the right track. > Well, I'm used to extending UserDatabaseRealm class and to configure Tomcat with it, so I can have more control , by example

Re: handling expired sessions in Tomcat

2012-11-05 Thread Jose María Zaragoza
2012/11/5 Miguel Gonzalez : > Dear all, > > When an user is logged on our system (a Struts app), when the session > expires, the user gets a java error report. Is there any way to handle this > and either to show a custom jsp page or redirect the user to the login form? > I have googled this,

Re: tomcat question

2012-10-22 Thread Jose María Zaragoza
2012/10/22 André Warnier : > Wiley, Maxie wrote: >> >> >> Is it possible to remove an installation of a compiler on a production web >> server(tomcat)? Jasper? - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For add

Re: Get active session list

2012-10-18 Thread Jose María Zaragoza
2012/10/18 Felipe Jaekel : > I need to get the active session list. Searching abou I saw a lot of > people with the same question, but no answer. https://code.google.com/p/psi-probe/ - To unsubscribe, e-mail: users-unsubscr...@t

Re: Tomcat 6.0 queries

2012-10-13 Thread Jose María Zaragoza
2012/10/13 vivek aggarwal : > Hello All, > > Can you guys please help in understanding my following concerns/queries :- > > 1. How can we configure the number of threads for managing simultaenous HTTP > connection requests coming from Apache. Is there any connection time out value > we have at th

  1   2   >