You should use a more recent build, and with the more recent
builds, you will need to use a different syntax to set up your data
sources.  There are directions and examples in the manual, and in the
Howtos on the web page.  (DataSourceImpl has been replaced with
XADataSourceLoader).

Aaron

On Wed, 1 Nov 2000, Rich Schwartz wrote:
> Hi,
> 
> I am using jboss (2.0, beta 1) to serve some enterprise beans that connect
> to PointBase datasources.  Through trial and error it appears that jboss
> will allow me to set up only one PointBase connection pool.  The first
> PointBase datasource that jboss encounters in the jboss.conf file gets set
> up fine, the second (and subsequent) causes exceptions to be thrown.
> 
> Is this a known limitation of jboss/Pointbase, or can I do something
> different to set up multiple Pointbase datasources?
> 
> Here are the relevant contents of my jboss.conf file:
> 
> <MLET CODE = "org.jboss.jdbc.DataSourceImpl"
> ARCHIVE="jboss.jar,pbnetwork31RE.jar" CODEBASE="../lib/ext/">
>    <ARG TYPE="java.lang.String" VALUE="jdbc:pointbase:icDVD">
>    <ARG TYPE="java.lang.String" VALUE="EstoreDataSource">
>    <ARG TYPE="java.lang.String"
> VALUE="com.pointbase.jdbc.jdbcUniversalDriver">
>    <ARG TYPE="java.lang.String" VALUE="public">
>    <ARG TYPE="java.lang.String" VALUE="public">
> </MLET>
> 
> <MLET CODE = "org.jboss.jdbc.DataSourceImpl"
> ARCHIVE="jboss.jar,pbnetwork31RE.jar" CODEBASE="../lib/ext/">
>    <ARG TYPE="java.lang.String" VALUE="jdbc:pointbase:bankdatabase">
>    <ARG TYPE="java.lang.String" VALUE="BankDataSource">
>    <ARG TYPE="java.lang.String"
> VALUE="com.pointbase.jdbc.jdbcUniversalDriver">
>    <ARG TYPE="java.lang.String" VALUE="public">
>    <ARG TYPE="java.lang.String" VALUE="public">
> </MLET>
> 
> And here is the output from the jboss console:
> 
> [DataSource] Initializing
> [DataSource] Connection pool for jdbc:pointbase:icDVD bound to
> EstoreDataSource
> [DataSource] Initialized
> [DataSource] Initializing
> [DataSource] Connection pool for jdbc:pointbase:bankdatabase bound to
> BankDataSource
> [DataSource] Initialization failed
> [DataSource] java.sql.SQLException: Log manager errors.
> java.io.EOFException.
> 
> 
> When I reverse the order of the entries in the jboss.conf file I get the
> following:
> 
> [DataSource] Connection pool for jdbc:pointbase:bankdatabase bound to
> BankDataSource
> [DataSource] Initialized
> [DataSource] Initializing
> [DataSource] Connection pool for jdbc:pointbase:icDVD bound to
> EstoreDataSource
> [DataSource]  CachwWriter already started
> [DataSource] Initialization failed
> [DataSource] java.sql.SQLException: Cannot find the database "ICDVD" in
> system table SYSDATABASES.
> 
> Any insights would be appreciated.
> 
> Thanks,
> rich
> 
> 
> 
> --
> --------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Problems?:           [EMAIL PROTECTED]
> 




--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to