Re: [Resin-interest] Upgrading from 4.0.12 to 4.0.14 with ojdbc failes

2011-02-02 Thread Halvor Utby
Daniel López wrote:
> Hi,
> Not sure what your problem is, but this syntax works for me in my tests 
> with Resin 4.0.14
> ---
>
>  type="oracle.jdbc.pool.OracleConnectionPoolDataSource">
>jdbc:oracle:thin:@db.server.com:port:db
>db-user
>db-pass
>  
>
> ---

Hi,

Thank you for your confirmation. After some more debugging I found that 
the application used the slf4j library which has been removed according 
the change log. After adding the libraries to the application 
resin-pro-4.0.14 worked fine as well.

-- 
Halvor Utby
USIT/GAP/W3D
tlf: 22852972
halvor.u...@usit.uio.no


___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] Upgrading from 4.0.12 to 4.0.14 with ojdbc failes

2011-01-28 Thread Daniel López
Hi,
Not sure what your problem is, but this syntax works for me in my tests 
with Resin 4.0.14
---
   
 
   jdbc:oracle:thin:@db.server.com:port:db
   db-user
   db-pass
 
   
---

S!
D.


El 28/01/2011 10:22, Halvor Utby escribió:
> Hi,
>
> I'm trying to upgrade one of our applications from running
> resin-pro-4.0.12 to resin-prod-4.0.14.
> However, we get an error regarding ojdbc settings.
>
> Within the  tag in resin.xml, we have:
>
> 
> 
>
> 
> 
> 
>
>
> These files worked fine for resin-pro-4.0.12 and earlier.
>
> Now, however, we get the error message in resin-debug.log:
> [2011-01-28 09:27:13.930] {resin-18} /path/to/app/conf/app-jdbc.conf:1:
> com.caucho.sql.DBPool.init(): com.caucho.sql.SQLExceptionWrapper:
> com.caucho.config.ConfigException: '#text' is an unknown attribute of
> 'oracle.jdbc.pool.
> OracleConnectionPoolDataSource'
>
>  1:
>  2:jdbc/app
>  3:
>
>
>
> The /path/to/app/conf/app-jdbc.conf is on the form:
> 
>   jdbc/app
>   
>  oracle.jdbc.pool.OracleConnectionPoolDataSource
>   jdbc:oracle:thin:@db.server.com:port:db
>   db-user
>   db-pass
>   
>   500
>   true
>   600
> 
>
>
> I have also tried to upgrade another app which uses ojdbc14-10.2.0.4.jar
> instead of ojdbc6-11.2.0.1.0.jar, but the same error occurs.
>
> Is this a bug, or is there a configuration change I have missed?
> Both 4.0.12 and 4.0.14 has been compiled with 64bit Java. I have also
> tried 4.0.13, which resulted in the same error as above.
>


-- 
---
Daniel Lopez Janariz (d.lo...@uib.es)
Web Services
Centre for Information and Technology
Balearic Islands University
(SPAIN)
---


___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest