Re: Tomcat 7.0.x, Windows 7 x64 professional - question

2012-08-08 Thread Tommy Pham
On Tue, Aug 7, 2012 at 7:58 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ken, On 8/7/12 12:01 PM, Ken Alverson wrote: We are trying to get our application Microsoft certified. Forgive my ignorance, but what the heck does a

RE: ClassCastException org.apache.jasper.runtime.ELContextImpl cannot be cast to org.apache.jasper.el.ELContextImpl

2012-08-08 Thread Mark Thomas
Dale Ogilvie dale_ogil...@trimble.com wrote: -Original Message- From: Mark Thomas [mailto:ma...@apache.org] Again, that class is not a Tomcat class. As far as I can tell, that is party of Jetty's JSP/EL implementation. snip Anyway, if you start adding JARs from one container into

Re: tomcat-jdbc: correct way to create a new separated org.apache.tomcat.jdbc.pool.DataSource from another one

2012-08-08 Thread Germán Ferrari
Hello, On Tue, Aug 7, 2012 at 9:36 PM, Martin Gainty mgai...@hotmail.com wrote: Germán Is there a reason why you would not use org.apache.commons.dbcp.datasources.SharedPoolDataSource from DBCP 1.4 http://commons.apache.org/dbcp/apidocs/index.html ? For what I've looked in the javadoc

Re: [OT] Tomcat 7.0.x, Windows 7 x64 professional - question

2012-08-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tommy, On 8/8/12 2:30 AM, Tommy Pham wrote: [It's] rather interesting that the product's been in development and trying to pick up momentum for years only to get shot down before launch. http://www.bbc.co.uk/news/technology-19108952 They are

Re: tomcat-jdbc: correct way to create a new separated org.apache.tomcat.jdbc.pool.DataSource from another one

2012-08-08 Thread Daniel Mikusa
- Original Message - Hello. I have an use case in which I would want to copy an `org.apache.tomcat.jdbc.pool.DataSource`, to have two disjoint connection pools, with some pool properties changed. My first thought was to do something like this: PoolProperties props = new

Problem with tomcat 7 and java ld_library_path under centos 6 using IANYWHERE JDBC DRIVER

2012-08-08 Thread CHRISTOS STAVRINOU
Problem with tomcat 7 and java ld_library_path under centos 6 using IANYWHERE JDBC DRIVER At what path I must copy the file dbjodbc12.so? What is the correct configuration? How I can configure the java.library.path under under centos 6 and tomcat 7 in order to fix the problem? Please help me.

Re: Problem with tomcat 7 and java ld_library_path under centos 6 using IANYWHERE JDBC DRIVER

2012-08-08 Thread David kerber
I use SQLA12, though on windows rather than Linux, and I think you have the wrong value for your driver clause. I think you need ianywhere.ml.jdbcodbc.IDriver, rather than the file name. The driver file should usually be in your WEB-INF/lib directory. I'd also suggest using the sybase

Re: Problem with tomcat 7 and java ld_library_path under centos 6 using IANYWHERE JDBC DRIVER

2012-08-08 Thread Konstantin Kolinko
2012/8/8 David kerber dcker...@verizon.net: I use SQLA12, though on windows rather than Linux, and I think you have the wrong value for your driver clause. I think you need ianywhere.ml.jdbcodbc.IDriver, rather than the file name. The driver file should usually be in your WEB-INF/lib

Re: Problem with tomcat 7 and java ld_library_path under centos 6 using IANYWHERE JDBC DRIVER

2012-08-08 Thread David kerber
On 8/8/2012 10:41 AM, Konstantin Kolinko wrote: 2012/8/8 David kerberdcker...@verizon.net: I use SQLA12, though on windows rather than Linux, and I think you have the wrong value for your driver clause. I think you need ianywhere.ml.jdbcodbc.IDriver, rather than the file name. The driver file

Re: Tomcat 7.0.x, Windows 7 x64 professional - question

2012-08-08 Thread Konstantin Kolinko
2012/8/7 Ken Alverson ken.alver...@helpsystems.com: We are trying to get our application Microsoft certified. There are several test cases that involve adding digital signatures, required manifest entries, etc. that do not currently exist for Tomcat exe's. I am just wondering if anyone

RE: tomcat-jdbc: correct way to create a new separated org.apache.tomcat.jdbc.pool.DataSource from another one

2012-08-08 Thread Martin Gainty
what I was thinking is manipulating maxActive via org.apache.commons.dbcp.datasources.SharedPoolDataSource http://commons.apache.org/dbcp/apidocs/index.html unless you will *always* be implementing your DataSource on a IOC container and can manipulate the maxActive attribute through a build

Re: tomcat-jdbc: correct way to create a new separated org.apache.tomcat.jdbc.pool.DataSource from another one

2012-08-08 Thread Germán Ferrari
Hello, On Wed, Aug 8, 2012 at 9:19 AM, Daniel Mikusa dmik...@vmware.com wrote: (...) Have you looked at the method parsePoolProperties on the DataSourceFactory class? public static PoolConfiguration parsePoolProperties(Properties properties) You could load your configuration into a

Re: Problem with tomcat 7 and java ld_library_path under centos 6 using IANYWHERE JDBC DRIVER

2012-08-08 Thread Mark Eggers
On 8/8/2012 6:06 AM, CHRISTOS STAVRINOU wrote: Problem with tomcat 7 and java ld_library_path under centos 6 using IANYWHERE JDBC DRIVER At what path I must copy the file dbjodbc12.so? What is the correct configuration? How I can configure the java.library.path under under centos 6 and tomcat

Re: tomcat-jdbc: correct way to create a new separated org.apache.tomcat.jdbc.pool.DataSource from another one

2012-08-08 Thread Germán Ferrari
On Wed, Aug 8, 2012 at 12:15 PM, Martin Gainty mgai...@hotmail.com wrote: what I was thinking is manipulating maxActive via org.apache.commons.dbcp.datasources.SharedPoolDataSource http://commons.apache.org/dbcp/apidocs/index.html Can you give me an example of how the code would look like?

Re: tomcat-jdbc: correct way to create a new separated org.apache.tomcat.jdbc.pool.DataSource from another one

2012-08-08 Thread Germán Ferrari
On Wed, Aug 8, 2012 at 2:12 PM, Germán Ferrari german.ferr...@gmail.comwrote: (...) For the moment I think I have three options: 1. Change some interfaces to receive a Properties object with the pool configuration and use the suggestion given by Daniel 2. Cast the return of

RE: tomcat-jdbc: correct way to create a new separated org.apache.tomcat.jdbc.pool.DataSource from another one

2012-08-08 Thread Martin Gainty
the test\java\org\apache\tomcat\jdbc\test\DefaulCase.java TC builds the properties... then calls BasicDataSourceFactory.createDataSource(p) protected void transferProperties() { try { Properties p = new Properties(); for (int i=0; i ALL_PROPERTIES.length;

Re: tomcat-jdbc: correct way to create a new separated org.apache.tomcat.jdbc.pool.DataSource from another one

2012-08-08 Thread Germán Ferrari
On Wed, Aug 8, 2012 at 3:11 PM, Martin Gainty mgai...@hotmail.com wrote: the test\java\org\apache\tomcat\jdbc\test\DefaulCase.java TC builds the properties... then calls BasicDataSourceFactory.createDataSource(p) protected void transferProperties() { try { Properties

Tomcat Security Permission Issue

2012-08-08 Thread bogdan ivascu
System: ubuntu server 11.10 tomcat6 ( installed from apt-get not downloaded ). Starting without -security enabled all works fine. Starting tomcat with -security enabled gives the following: SEVERE: Exception starting filter app org.apache.tapestry5.ioc.internal.OperationException:

Re: Tomcat Security Permission Issue

2012-08-08 Thread Konstantin Kolinko
2012/8/9 bogdan ivascu ivascu.bogdan...@gmail.com: System: ubuntu server 11.10 tomcat6 ( installed from apt-get not downloaded ). Starting without -security enabled all works fine. Starting tomcat with -security enabled gives the following: SEVERE: Exception starting filter

Re: [OT] Re: Warning: js modified in the future- not able to find the files

2012-08-08 Thread Kiran Badi
Thanks Pid for reply. Unfortunately nothing changed on my system.Even time was correct and I did not see any logged time event events anywhere in logs. Just a js library which had close to 12 files in it from apache folder disappeared without a trace.But the good news was that JS Library

RE: ClassCastException org.apache.jasper.runtime.ELContextImpl cannot be cast to org.apache.jasper.el.ELContextImpl

2012-08-08 Thread Dale Ogilvie
-Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Wednesday, 8 August 2012 7:44 p.m. To: Tomcat Users List Subject: RE: ClassCastException org.apache.jasper.runtime.ELContextImpl cannot be cast to org.apache.jasper.el.ELContextImpl Dale Ogilvie

RE: ClassCastException org.apache.jasper.runtime.ELContextImpl cannot be cast to org.apache.jasper.el.ELContextImpl

2012-08-08 Thread Caldarale, Charles R
From: Dale Ogilvie [mailto:dale_ogil...@trimble.com] Subject: RE: ClassCastException org.apache.jasper.runtime.ELContextImpl cannot be cast to org.apache.jasper.el.ELContextImpl That says to me that app1 already has an instance of org.apache.jasper.runtime.ELContextImpl which it is

Re: AJP with HTTPD - Buffer Size on long URLs

2012-08-08 Thread wygnesh
Nilesh / Others, I'm facing the same problem too - I was trying to find about where the ProxyIOBufferSize directive has to be added to. Is it the httpd.h file (for the max value) then subsequently the httpd.conf to set any limit within the max value, if required. The mod_proxy says mod_proxy.c