Re: dbcp error with java.lang.ClassCastException: org.apache.tomcat.dbcp.dbcp.PoolingDataSource

2008-11-05 Thread Zdeněk Vráblík
HI, I am using a bit different connection configuration to get OracleConnection: Resource name=poolname auth=Container type=oracle.jdbc.pool.OracleDataSource factory=oracle.jdbc.pool.OracleDataSourceFactory connectionCachingEnabled=true user=DB password=DB driverClassName=oracle.jdbc.OracleDriver

Re: Tomcat and JDeveloper - installing ADF runtime

2008-06-25 Thread Zdeněk Vráblík
Hi Jan, do you know how is ADF licensed? It is free only if you are going to use with Oracle Application server. It used to be part of JDeveloper and deployment was free of charge. See http://forums.oracle.com/forums/thread.jspa?threadID=379312 Only ADF Faces is for free! Regards, Zdenek On

Tomcat6 JNDI context share

2008-05-20 Thread Zdeněk Vráblík
Hi all, I need share JNDI context among web applications. There is in Tomcat documentation that JNDI context changes are visible only in application which made these changes. My use case: I have one application to manage metadata including database datasources. This application creates

Re: Can different webapps share a context?

2008-05-19 Thread Zdeněk Vráblík
Hi, I would use session for sharing user object and I would move common classes/jars from WEB-INF/lib into $TomcatHome/shared/lib Use webservcies may be slow. Regards, Zdenek On Mon, May 19, 2008 at 3:48 AM, Dola Woolfe [EMAIL PROTECTED] wrote: Hi, I guess the subject asks the question...

Re: Can different webapps share a context?

2008-05-19 Thread Zdeněk Vráblík
case? Regards, Zdenek 2008/5/19 william kinney [EMAIL PROTECTED]: I believe also mod_rewrite will work as well, if you allowed to put apache in front. http://httpd.apache.org/docs/2.0/misc/rewriteguide.html On Mon, May 19, 2008 at 8:08 AM, Zdeněk Vráblík [EMAIL PROTECTED] wrote: Hi, I

Re: OracleConnectionPoolDataSource

2007-07-18 Thread Zdeněk Vráblík
Hi, There is error in driverClassName. Try use this: driverClassName=oracle.jdbc.driver.OracleDriver Zdenek On 7/18/07, Julio J. Suárez Salinero [EMAIL PROTECTED] wrote: I'm Trying to connect a JSP tomcat-based application to Oracle using OracleConnectionPoolDataSource and related classes. I

Re: Tomcat5.5 Ubuntu startup error

2007-06-08 Thread Zdeněk Vráblík
Hi Will, what java JDK do you have installed? It looks you don't have installed SUN JDK 5 or higher. Regards, Zdenek On 6/8/07, Will Parkinson [EMAIL PROTECTED] wrote: Hi Rene, Thanks for the help, i removed the line i tried the -Xmx=128m alteration to the JAVA_OPTS line and nothing

Re: Java core dump location

2007-06-05 Thread Zdeněk Vráblík
Hi, there my by problem with core file size. Try ulimit -c unlimited. Here is more instructions to check coredump settings

Re: JDBC resource with custom connection pool factory

2007-05-30 Thread Zdeněk Vráblík
Hi, I use this Resource: Resource name=RESOURCE_NAME auth=Container type=oracle.jdbc.pool.OracleDataSource factory=oracle.jdbc.pool.OracleDataSourceFactory user=ORACLEUSER password=ORACLEPASS driverClassName=oracle.jdbc.driver.OracleDriver

Re: JDBC resource with custom connection pool factory

2007-05-30 Thread Zdeněk Vráblík
HI ROOKIE, I probably didn't understand the question properly. I have configured datasource with OracleDatasourceFactory and I have expected that DataSource.getConnection return OracleConnection and when I close this connection it will return this connection to the pool instead of close this

Re: JDBC

2007-05-22 Thread Zdeněk Vráblík
Hi, here is example of Resource configration. Put it in context.xml file. Resource name=Name auth=Container type=oracle.jdbc.pool.OracleDataSource factory=oracle.jdbc.pool.OracleDataSourceFactory user=oraUserName password=oraUserPass

ant deployment

2007-05-22 Thread Zdeněk Vráblík
Hi all, I need keep directory structure and deploy application into Tomcat 5.5.23 into subdirectory. Is it possible with tomcat ant deployment? This failed: target name=deploy2 description=Deploy web application from existing war file deploy url=http://localhost:8080/manager; username=tomcat

Re: ant deployment

2007-05-22 Thread Zdeněk Vráblík
to the war file can only be absolute path. -Original Message- From: Zdeněk Vráblík [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 22, 2007 9:22 AM To: Tomcat Users List Subject: ant deployment Hi all, I need keep directory structure and deploy application into Tomcat 5.5.23 into subdirectory

Re: Oracle JDBC connection Tomcat 5.5

2007-05-16 Thread Zdeněk Vráblík
Hi all thanks for help, There is problem in admin web application id doesn't show oracle datasources. I expected to see this datasource as other datasources in this admin console (localhost:8080/admin). I tried to use that pool and it works ... The ojdbc14_g.jar is same as ojdbc14.jar but has

Re: Oracle JDBC connection Tomcat 5.5

2007-05-14 Thread Zdeněk Vráblík
users@tomcat.apache.org Sent: Sunday, May 13, 2007 3:23 PM Subject: Re: Oracle JDBC connection Tomcat 5.5 On 5/12/07, Zdeněk Vráblík [EMAIL PROTECTED] wrote: Hi Rashmi, thans for reply. Configuration that is described in link you sent me works fine. Problem is when I change the datasource

Re: Oracle JDBC connection Tomcat 5.5

2007-05-12 Thread Zdeněk Vráblík
PROTECTED] wrote: On 5/11/07, Zdeněk Vráblík [EMAIL PROTECTED] wrote: Hi all, I am configuring jdbc datasources on Tomcat 5.5.23. I followed this document to configure orcle database with Tomcat http://www.microdeveloper.com/html/JNDI_Orcl_Tomcat1p.html Sorry I didn't go through the instructions

Oracle JDBC connection Tomcat 5.5

2007-05-11 Thread Zdeněk Vráblík
Hi all, I am configuring jdbc datasources on Tomcat 5.5.23. I followed this document to configure orcle database with Tomcat http://www.microdeveloper.com/html/JNDI_Orcl_Tomcat1p.html I am not able to see datasource in web admin. datasource configuration: Resource name=sisPool