Re: Tomcat JDBC Connection Pool - Stand Alone Logging

2017-02-16 Thread Mark Thomas
On 16 February 2017 17:26:18 GMT+00:00, Chris Keilitz wrote: >I've implemented Tomcat JDBC connection pool stand-alone, outside of >Tomcat >or any app server or container and cannot get the Juli logging working >- >console or file. The connection pool works great, but I cannot get >the >logging

Re: Tomcat JDBC Connection Pool - Stand Alone Logging

2017-02-16 Thread Chris Keilitz
I will look into both suggestions, conflicting property files and the debug version. I am connecting to MS SQL Server 2008 R2 (SP1), using the sqljdbc41.jar file. The access to SQL Server works great, insert, updates, queries, stored procedures...no issues. I am just trying to activate the loggin

Re: Tomcat JDBC Connection Pool - Stand Alone Logging

2017-02-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Chris, On 2/16/17 1:08 PM, Chris Keilitz wrote: > I'm assuming, once configured properly, the Tomcat JDBC connection > pool would output log messages. Unfortunately, I currently get no > console or file output...even after trying numerous > logging.

Re: Tomcat JDBC Connection Pool - Stand Alone Logging

2017-02-16 Thread Aurélien Terrestris
What database are you connecting to ? Oracle ? MySQL ? If Oracle, then you're probably using its specific driver, and there is a debug version (the "_g" version) that logs. According to you, what kind of log the Tomcat driver should write ? 2017-02-16 19:08 GMT+01:00 Chris Keilitz : > I'm assumi

Re: Tomcat JDBC Connection Pool - Stand Alone Logging

2017-02-16 Thread Chris Keilitz
I'm assuming, once configured properly, the Tomcat JDBC connection pool would output log messages. Unfortunately, I currently get no console or file output...even after trying numerous logging.properties changes. I'm hoping for a little help to understand the proper way to configure a stand alone

Re: Tomcat JDBC Connection Pool - Stand Alone Logging

2017-02-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Chris, On 2/16/17 12:26 PM, Chris Keilitz wrote: > I've implemented Tomcat JDBC connection pool stand-alone, outside > of Tomcat or any app server or container and cannot get the Juli > logging working - console or file. The connection pool works

Re: JIO Connector support in Tomcat 8.5

2017-02-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Amit, On 2/13/17 8:19 PM, Amit Pande wrote: > Thanks for a quick reply. > > What does our custom connector do? > > Well, we have a server program which is listening on a port which > is mandatory to be open/accessible for the outside world. Outsid

Tomcat JDBC Connection Pool - Stand Alone Logging

2017-02-16 Thread Chris Keilitz
I've implemented Tomcat JDBC connection pool stand-alone, outside of Tomcat or any app server or container and cannot get the Juli logging working - console or file. The connection pool works great, but I cannot get the logging going. I've added CATALINA_HOME to the local directory and have adde

Re: AW: logging to syslog

2017-02-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Karsten, On 2/15/17 1:02 AM, Schöke, Karsten wrote: > Many thx for you hint. > > Where is the right place for this configuration, to log all > messages from catalina.out to syslog. > > (I use Debian) catalina.out is where stdout is redirected. If

Re: ArrayIndexOutOfBoundsException in ServletInputStream.readLine

2017-02-16 Thread 水野謙
Hi Violeta, Thank you for your reponse. I found the following setting in my server.xml. Does this answer your question? 2017-02-16 17:07 GMT+09:00 Violeta Georgieva : > Hi, > > 2017-02-16 5:10 GMT+02:00 水野謙 : >> >> Dear Sirs, >> >> I'm using Apache Tomcat/6.0.48 on Linux and I sometimes s

Re: ArrayIndexOutOfBoundsException in ServletInputStream.readLine

2017-02-16 Thread Violeta Georgieva
Hi, 2017-02-16 5:10 GMT+02:00 水野謙 : > > Dear Sirs, > > I'm using Apache Tomcat/6.0.48 on Linux and I sometimes see the > following exception. > > java.lang.ArrayIndexOutOfBoundsException: 8192 > at org.apache.tomcat.util.buf.ByteChunk.substract(ByteChunk.java:391) > at org.apache.catalina.connecto