Where does Orion store its CMP data? I know it uses HSQL and I believe
HSQL - where are the HSQL datafiles physically located?
If I change in data-source.xml does that mean my CMP data is also now
going to go to a different database? I modified data-sources.xml
as below and yet I keep getting
D:\Orion\orion\demo\ejb\product>java -classpath
.;..\..\..\orion.jar;..\..\..\ej
b.jar;..\..\..\jndi.jar ProductClient
Communication error: Error reading application-client descriptor: Error
looking
up EJBHome: Lookup error: java.net.ConnectException: Connection refused:
no furt
her information; nested exception is:
java.net.ConnectException: Connection refused: no further
information
Any further information on configuring orion to use Oracle DB as
persistent store would help.
Cheers,
Ash
----------------------------------------------------------------------------------------------------------------------------
<?xml version="1.0"?>
<!DOCTYPE data-sources PUBLIC "Orion data-sources"
"http://www.orionserver.com/dtds/data-sources.dtd">
<data-sources>
<!--
An example/default DataSource that uses an ordinary
JDBC-driver (in this case hsql) to create the connections.
This tag creates all the needed kinds
of data-sources, transactional, pooled and EJB-aware sources.
The source generally used in application code is the "EJB"
one - it provides transactional safety and connection pooling.
-->
<!-- <data-source
class="com.evermind.sql.DriverManagerDataSource"
name="Hypersonic"
location="jdbc/HypersonicCoreDS"
xa-location="jdbc/xa/HypersonicXADS"
ejb-location="jdbc/HypersonicDS"
connection-driver="org.hsql.jdbcDriver"
username="sa"
password=""
url="jdbc:HypersonicSQL:./database/defaultdb"
inactivity-timeout="30"
/>-->
<data-source
class="com.evermind.sql.DriverManagerDataSource"
name="Oracle"
location="jdbc/OracleCoreDS"
xa-location="jdbc/xa/OracleXADS"
ejb-location="jdbc/OracleDS"
connection-driver="oracle.jdbc.driver.OracleDriver"
username="orion"
password="orion"
url="jdbc:oracle:thin:@mysun-box:1521:mydb"
inactivity-timeout="30"
/>
</data-sources>