RE: Prepared statements are not cached with XA in tomcat jdbc connection pool implementation

2016-05-17 Thread Sailaja Ravipati
Thank you. Will do that. Regards, Sailaja. -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: 18 May 2016 01:24 To: Tomcat Users List Subject: Re: Prepared statements are not cached with XA in tomcat jdbc connection pool implementation -BEGIN

request.getParameter and special characters - Apache Tomcat/7.0.57 on win 7

2016-05-17 Thread Kiran Badi
Hi , I have this link in jsp which has below tags, <%@page contentType="text/html" pageEncoding="UTF-8"%> Testing and then my servlet looks like below, /* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates

How to acess HttpServletRequest in Jaas login module in Tomcat

2016-05-17 Thread Saurabh.Suman
Hello experts How to acess HttpServletRequest in Jaas login module in Tomcat? In Jboss we can get it through HttpServletRequest request = (HttpServletRequest)PolicyContext.getContext("javax.servlet.http.HttpServletRequest") But it's not working in Tomcat since Jacc is not supported by Tomcat

Re: Tomcat DS question

2016-05-17 Thread pradeep reddy
Also, how to determine if the application is using ojdbc6.jar or tomcat-dbcp.jar for connection pool. Apologies I am not a developer and want to understand the concept of connection pool. Thanks Pradeep On Tue, May 17, 2016 at 2:32 PM, Woonsan Ko wrote: > I don't know much

RE: Failed to process TLD with path [/WEB-INF/struts-tiles.tld]

2016-05-17 Thread Venkata Reddy P
Many Thanks Marks. In my case I have references in the .jsp pages, after replacing /WEB-INF/... to as below. Now it got generated but as you said still wanrings and info are getting generated. <%@ taglib uri="http://struts.apache.org/tags-bean; prefix="bean" %> <%@ taglib

Re: Failed to process TLD with path [/WEB-INF/struts-tiles.tld]

2016-05-17 Thread Mark Thomas
On 17/05/2016 21:46, Venkata Reddy P wrote: > Hi, > While compiling .jsp file using tomcat8.0.33 binaries getting the following > error, can you please advice? There is no error. There are two warnings (because the JSP references TLD files that don't exist) and one INFO message that you can

Failed to process TLD with path [/WEB-INF/struts-tiles.tld]

2016-05-17 Thread Venkata Reddy P
Hi, While compiling .jsp file using tomcat8.0.33 binaries getting the following error, can you please advice? These jsps were compiling well in tomcat6.0.43 [apply] WARNING: Failed to process TLD with path [/WEB-INF/struts-tiles.tld] and URI [/tags/struts-tiles]. The specified path does not

Re: Tomcat DS question

2016-05-17 Thread Woonsan Ko
I don't know much about that for Oracle. What I was trying to mention was simply that you can check if you have a system property (-Djavax.sql.DataSource.Factory=...) to use a custom one. (Even though it's not that common, but it's still possible to override it by system property.) Your

Re: Tomcat DS question

2016-05-17 Thread pradeep reddy
Hi Chris, It is not writing anything related to DBCP in catalina.out. Thanks Pradeep On Tue, May 17, 2016 at 1:49 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Pradeep, > > On 5/17/16 2:51 PM, pradeep reddy wrote: > >

Re: Prepared statements are not cached with XA in tomcat jdbc connection pool implementation

2016-05-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Sailaja, On 5/17/16 6:58 AM, Sailaja Ravipati wrote: > I am using TomEE version Apache Tomcat Version 7.0.63. I have the > following test program. > > public static void main(String[] args) throws Exception { final > TransactionManager

Re: Tomcat DS question

2016-05-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Pradeep, On 5/17/16 2:51 PM, pradeep reddy wrote: > Thanks for response, would you know if there is any recommended > dbcp jar that we need to use for Oracle 12 and Tomcat 6 ? You don't need anything special. Woonson did not read your original

Re: Tomcat DS question

2016-05-17 Thread pradeep reddy
Thanks for response, would you know if there is any recommended dbcp jar that we need to use for Oracle 12 and Tomcat 6 ? Thanks Pradeep On Tue, May 17, 2016 at 11:07 AM, Woonsan Ko wrote: > Hi Pradeep, > > I saw you had Oracle specific settings such as >

Re: Tomcat DS question

2016-05-17 Thread Woonsan Ko
Hi Pradeep, I saw you had Oracle specific settings such as connectionCachingEnabled. So, maybe you're using Oracle specific DataSourceFactory instead of the default dbcp one. As far as I know, the default factory (org.apache...BasicDataSourceFactory) can be overridden by either factory attribute

Re: Tomcat 7, startup problems

2016-05-17 Thread tomcat
On 17.05.2016 18:14, Mark Thomas wrote: On 17/05/2016 16:49, André Warnier (tomcat) wrote: Hello experts. What does the following mean, The constant values are from the Java virtual machine specification and related to new features added in Java 7. Those errors mean that the byte scanning

RE: java.lang.NoSuchMethodError: org.apache.tomcat.util.buf.ByteChunk.findByte

2016-05-17 Thread Venkata Reddy P
I tried fresh setup and it works now. Thanks to Christopher. -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: 17 May 2016 03:19 To: Tomcat Users List Subject: Re: java.lang.NoSuchMethodError: org.apache.tomcat.util.buf.ByteChunk.findByte

Re: Tomcat 7, startup problems

2016-05-17 Thread Mark Thomas
On 17/05/2016 16:49, André Warnier (tomcat) wrote: > Hello experts. > > What does the following mean, The constant values are from the Java virtual machine specification and related to new features added in Java 7. Those errors mean that the byte scanning code (o.a.t.u.bcel, copied from Apache

Re: Tomcat 7, startup problems

2016-05-17 Thread David kerber
On 5/17/2016 11:49 AM, André Warnier (tomcat) wrote: Hello experts. What does the following mean, and/or (better) what do we have to do to get rid of these ? Note : below is only a small sample, there are hundreds of these in-between (about 2.3 MB of logfile worth of them). It looks to me

Tomcat 7, startup problems

2016-05-17 Thread tomcat
Hello experts. What does the following mean, and/or (better) what do we have to do to get rid of these ? Note : below is only a small sample, there are hundreds of these in-between (about 2.3 MB of logfile worth of them). INFO: Starting Servlet Engine: Apache Tomcat/7.0.28 May 11, 2016

Prepared statements are not cached with XA in tomcat jdbc connection pool implementation

2016-05-17 Thread Sailaja Ravipati
Hi I am using TomEE version Apache Tomcat Version 7.0.63. I have the following test program. public static void main(String[] args) throws Exception { final TransactionManager transactionManager = TransactionManagerFactory

[ANN] Apache Tomcat 8.5.2 BETA available

2016-05-17 Thread Mark Thomas
The Apache Tomcat team announces the immediate availability of Apache Tomcat 8.5.2 BETA. Apache Tomcat 8.0 is an open source software implementation of the Java Servlet, JavaServer Pages, Java Unified Expression Language, Java WebSocket and Java Authentication Service Provider Interface for

Re: Policy Context not being set in tomcat 6.0.44

2016-05-17 Thread Mark Thomas
On 17/05/2016 09:41, saurabh.su...@rbs.com.INVALID wrote: > Which Tomcat version support JACC? http://tomcat.apache.org/whichversion.html None. It is currently on the "maybe" list for Tomcat 9 but it is a long way down the priority list. Mark

RE: Policy Context not being set in tomcat 6.0.44

2016-05-17 Thread Saurabh.Suman
Which Tomcat version support JACC? SAURABH SUMAN Software Developer Markets & International Banking RBS Block No 1, Tower A, Unitech Infospace Complex Sector 21, Gurgaon, Haryana, 122002, India Office: +91 124 6195699 | Mobile: +91 375289 -Original Message- From: Mark Thomas

Re: Policy Context not being set in tomcat 6.0.44

2016-05-17 Thread Mark Thomas
On 17/05/2016 09:32, saurabh.su...@rbs.com.INVALID wrote: > I tried with Tomcat 7.0.69 (Window 64 bit) , but still getting same output > i.e. > > PolicyContext.getContextID(), it is returning null > and > PolicyContext.getHandlerKeys() returning Blank array. Tomcat 7 doesn't support JACC

RE: Policy Context not being set in tomcat 6.0.44

2016-05-17 Thread Saurabh.Suman
I tried with Tomcat 7.0.69 (Window 64 bit) , but still getting same output i.e. PolicyContext.getContextID(), it is returning null and PolicyContext.getHandlerKeys() returning Blank array. SAURABH SUMAN Software Developer Markets & International Banking RBS Block No 1, Tower A, Unitech

[ANN] Apache Tomcat 9.0.0.M6 available

2016-05-17 Thread Mark Thomas
The Apache Tomcat team announces the immediate availability of Apache Tomcat 9.0.0.M6. Apache Tomcat 9 is an open source software implementation of the Java Servlet, JavaServer Pages, Java Unified Expression Language, Java WebSocket and JASPIC technologies. Apache Tomcat 9.0.0.M6 is a milestone

Re: Policy Context not being set in tomcat 6.0.44

2016-05-17 Thread Mark Thomas
On 17/05/2016 08:56, saurabh.su...@rbs.com.INVALID wrote: > Hi All > > I am using Apache-Tomcat version: 6.0.44 and my and OS is window 10.My Java > version in jdk1.6.0_45. > I am using Jaas Realm for Authentication. My authentication is working well > but when I tried to get

Re: Tomcat Maven Plugin release?

2016-05-17 Thread Konstantin Welke
Hi! I have the same issue here. We currently use 2.3-SNAPSHOT but would much prefer to have a stable 2.3... Thanks in advance! Cheers, Konstantin Welke On 04/04/16 09:04, "Magnus Skoglund" wrote: >I have found that the current release 2.2 is not working for

Policy Context not being set in tomcat 6.0.44

2016-05-17 Thread Saurabh.Suman
Hi All I am using Apache-Tomcat version: 6.0.44 and my and OS is window 10.My Java version in jdk1.6.0_45. I am using Jaas Realm for Authentication. My authentication is working well but when I tried to get HttpServletRequest object from javax.security.jacc.PolicyContext in login() method of