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: I am using Tomcat 6. Regards, Zdenek On Fri, Oct 10, 2008 at 1:59 PM, Ziggy <[EMAIL PROTECTED]> wrote: > Hi, > > I am really stuck with the tomcat connection pool as its the application > server that i am using. > H

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 Tue

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 datasou

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 &

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: OracleConnectionPoolDataSource

2007-07-20 Thread Zdeněk Vráblík
Hi, 4. I use OracleConnectionPoolDataSource because with javax.sql.DataSource it doesn't close correctly close connections from pool and server got to hang up. Have you got any exception? 5. con variable is of type Connection. I found this in an example in google. May it be of type PooledCon

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 class

Re: Tomcat5.5 Ubuntu startup error

2007-06-07 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 ch

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 http://support.bea.com/application_content/product_portlets/support_patterns/wls/BinaryCoreFileAnalysisPattern.html#Operating_System_Values_that_should_be_checked_for_core_f

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 con

Re: JDBC resource with custom connection pool factory

2007-05-30 Thread Zdeněk Vráblík
Hi, I use this Resource: There is OracleDataSourceFactory in ojdbc14.jar. Regards, Zdenek On 5/30/07, Sorin Juco <[EMAIL PROTECTED]> wrote: Hello, I want to create a JDBC resource wich represents a connection pool to an Oracle server. By default Tomcat uses DBCP to provide the connection

Re: ant deployment

2007-05-22 Thread Zdeněk Vráblík
lhost:8080/manager"; username="tomcat" password="tomcat" path="/main" war="./myApp.war" update="true" /> Regards, Zdenek On 5/22/07, Jiang, Jane (NIH/NCI) [C] <[EMAIL PROTECTED]> wrote: I found that path to the war fil

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: http://localhost:8080/manager"; username="tomcat" password="tomcat" path="/main/other-place" war="./myApp.war" update="true" /

Re: JDBC

2007-05-22 Thread Zdeněk Vráblík
Hi, here is example of Resource configration. Put it in context.xml file. java code to get connection: DataSource ds = (DataSource) ctxt.lookup("java:/comp/env/" + poolName); OracleConnection conn = ds.getConnection(); There is used another datasource type in OC4J http://www.oracle.

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
Hi all, unfortunately this solution shouldn't be used. The dConn connection mustn't be closed directly, but the original connection from datasource should be closed. ... Regards, Zdenek On 5/14/07, Zdeněk Vráblík <[EMAIL PROTECTED]> wrote: Hi Martin, I have solution. T

Re: Oracle JDBC connection Tomcat 5.5

2007-05-14 Thread Zdeněk Vráblík
hanks Rashmi and Martin for help. Regards, Zdenek On 5/14/07, Zdeněk Vráblík <[EMAIL PROTECTED]> wrote: Hi Martin, thanks for help. I have tried your suggestion and it works fine - I am able to get OracleConnection. (I had to change String c_sUserNameKey="username"; to String

Re: Oracle JDBC connection Tomcat 5.5

2007-05-14 Thread Zdeněk Vráblík
message in error, please notify the sender immediately by telephone or email and destroy the original message without making a copy. Thank you. - Original Message - From: "Rashmi Rubdi" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Sunday, May 13, 200

Re: Oracle JDBC connection Tomcat 5.5

2007-05-12 Thread Zdeněk Vráblík
datasource type type="oracle.jdbc.pool.OracleDataSource". What I need is any solution how get OracleConnection instead of Connection to use. Do I miss any parameter in resource configuration? Thanks. Zdenek On 5/12/07, Rashmi Rubdi <[EMAIL PROTECTED]> wrote: On 5/11/07, Zdeněk

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: Everything works fine with this conf