users@glassfish.java.net

Re: Invalid Oracle URL after upgrade

From: Dominik Dorn <dominik.dorn_at_gmail.com>
Date: Thu, 24 Dec 2009 16:57:51 +0100

have you put the jdbc-driver into glassfish's lib directory?
at least, that is what i always need to do, when i'm connecting to
postgresql

On Thu, Dec 24, 2009 at 3:47 PM, <glassfish_at_javadesktop.org> wrote:

> Here is a connection pool. I have compared this with my old installation
> and it is the same. The other installation can connect to the database, this
> one cannot.
>
> <jdbc-connection-pool allow-non-component-callers="false"
> associate-with-thread="false" connection-creation-retry-attempts="0"
> connection-creation-retry-interval-in-seconds="10"
> connection-leak-reclaim="false" connection-leak-timeout-in-seconds="0"
> connection-validation-method="auto-commit"
> datasource-classname="oracle.jdbc.pool.OracleDataSource"
> fail-all-connections="false" idle-timeout-in-seconds="300"
> is-connection-validation-required="false"
> is-isolation-level-guaranteed="false" lazy-connection-association="false"
> lazy-connection-enlistment="false" match-connections="false"
> max-connection-usage-count="0" max-pool-size="32"
> max-wait-time-in-millis="60000" name="testlogin"
> non-transactional-connections="false" pool-resize-quantity="2"
> res-type="javax.sql.DataSource" statement-timeout-in-seconds="-1"
> steady-pool-size="8" validate-atmost-once-period-in-seconds="0"
> wrap-jdbc-objects="false">
> <property name="DataSourceName" value="OracleDataSource"/>
> <property name="ImplicitCachingEnabled" value="false"/>
> <property name="NetworkProtocol" value="tcp"/>
> <property name="DatabaseName" value="dev1"/>
> <property name="Password" value="zim23*"/>
> <property name="LoginTimeout" value="0"/>
> <property name="User" value="data_portal"/>
> <property name="ExplicitCachingEnabled" value="false"/>
> <property name="PortNumber" value="1521"/>
> <property name="MaxStatements" value="0"/>
> <property name="URL" value="jdbc:oracle:thin_at_204.206.47.4:1521
> :dev1"/>
> </jdbc-connection-pool>
> [Message sent by forum member 'j_70' (j_70_at_comcast.net)]
>
> http://forums.java.net/jive/thread.jspa?messageID=377382
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>


-- 
Dominik Dorn
http://dominikdorn.com