You are using very old code (beta 1). You should upgrade. You will need to
use Minerva to manage your connection pools as DataSourceImpl has been
removed with the latest code.
-----Original Message-----
From: Rich Schwartz [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 01, 2000 4:40 PM
To: [EMAIL PROTECTED]
Subject: [jBoss-User] Pointbase datasources
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]