Make sure you have a jdbc_2.properties file in you jonas root directory. Or
change the datasource name in jonas.properties file. For example the line
inside jonas.properties:
jonas.datasources bla
then you should have a file called bla.properties which contain the
configuration
datasource.name bla
datasource.url
jdbc:oracle:thin:@oracle_server:1521:oracle_sid
datasource.classname oracle.jdbc.driver.OracleDriver
datasource.username whatever
datasource.password whatever
Faizal Yusof
Systems Developer
Sufficient Systems Malaysia Sdn Bhd
Email: [EMAIL PROTECTED]
Phone: 03-21669226
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 01, 2000 10:19 PM
To: [EMAIL PROTECTED]
Subject: Datasource Error
Hi,
I have strange problems starting EJBServer - which runs without
problems on an nearly equal server-installation in JOnAS. On the new
server, only the datasource changed. We even tried to use the old
datasource on the first server. It resulted in the same error message.
JOnAS put the following text on the screen (stdout) and then breaks down
with an error showed below.
Can anybody give us a hint??
Thanks in advance, Martin.
Connecting data:
'[...] DataBaseManager.createConnectionManager()
ConnectionManager.ConnectionManager()
XADataSourceImpl.XADataSourceImpl()
ConnectionManager.setDataSourceName: jdbc_2
XADataSourceImpl.setDataSourceName(jdbc_2)
ConnectionManager.setUrl(String
jdbc:oracle:thin:@<ip-address>:<port>:<sid>)
ConnectionManager.setClassName(String oracle.jdbc.driver.OracleDriver)
Load JDBC driver oracle.jdbc.driver.OracleDriver
ConnectionManager.setUserName(String <username>)
ConnectionManager.setPassword(String <password>)
ConnectionManager configured with:
jdbcConnCheckLevel = 1
jdbcConnMaxAge = 30
jdbcConnMaxThreads = 4
jdbcConnExclTimeout = 30
jdbcTestStmt = select * from dual
Mapping datasource jdbc:oracle:thin:@<ip-address>:<port>:<sid> on jdbc_2
PoolKeeper: started [...]'
Error-Message (after putting out the text above):
'[...] JOnAS Server configuration error!
Datasource 'jdbc_2' is not known by the EJB server.
Please check the 'jonas.datasources' property in the
'jonas.properties' file. [...]'
----
This list is cross-posted to two mail lists. To unsubscribe,
follow the instructions below for the list you subscribed to.
For objectweb.org: send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe ejb-container-group".
For enhydra.org: send email to [EMAIL PROTECTED] and include
in the body of the message "unsubscribe ejb-container-group".
----
This list is cross-posted to two mail lists. To unsubscribe,
follow the instructions below for the list you subscribed to.
For objectweb.org: send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe ejb-container-group".
For enhydra.org: send email to [EMAIL PROTECTED] and include
in the body of the message "unsubscribe ejb-container-group".