Hi,
why do you want to use an oracle url for a postgresql DB??? If you can
connect with the url you specified:
> <attribute name="URL">jdbc:postgresql:acais://localhost:5432</attribute>
this is fine! what is the exception you get during startup? NPE? do you see
your driver is loaded by the JDBC provider?
What in't working if you use the above URL?
Burkhard
----- Original Message -----
From: "G.L. Grobe" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 20, 2001 10:38 AM
Subject: Re: [JBoss-user] dbase is acting way too slow
> Since I still don't seem to be connecting to the pool, still working on
> this.
>
> What should the <attribute name="URL"> ... of the jboss.jcml file be. I
> don't understand the url parts. Chptr 3 says it's the JDBC URL used to
> connect to the data source. When making my own connections, it used to be:
>
> "jdbc:postgresql:acais" where 'acais' is my database name. So I have ...
> <attribute name="URL">jdbc:postgresql:acais://localhost:5432</attribute>
>
> Then I saw this example as was suggested.
>
> <attribute name="URL">jdbc:oracle:thin:@pluto:1521:servsoft</attribute>
>
> 1. // or @ (actually tried both ways, same results, slow)
> 2. what's the servsoft after the port #.
>
> Also, from an example that was sent ... what is 'access' in the res-name
> below, where'd that come from.
> ---------------------------------
> <resource-managers>
> <resource-manager
> res-class="org.jboss.ejb.deployment.JDBCResource">
> <res-name>jdbc/access</res-name>
> <res-jndi-name>java:/MyDB</res-jndi-name>
> </resource-manager>
> </resource-managers>
>
> <enterprise-beans>
> <entity>
> <ejb-name>MyBean</ejb-name>
> <jndi-name>my/MyBeanHome</jndi-name>
> <configuration-name></configuration-name>
> <resource-ref>
> <res-ref-name>jdbc/MyDB</res-ref-name>
> <resource-name>jdbc/access</resource-name>
> </resource-ref>
> </entity>
> </enterprise-beans>
>
>
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user