I've modified the data-sources.xml file and have created an ejb-jar.xml
file per the tutorial.  Below is the error I get.

What am I missing???

Les


E:\orion>java -jar orion.jar
Error initializing server: Unable to bind DataSource jdbc/DefaultDS to
jdbc/Defa
ultDS

My data-sources.xml is as follows:

<?xml version="1.0"?>
<!DOCTYPE data-sources SYSTEM "data-sources.dtd">

<data-sources>
 <!--
   An example DataSource that uses an ordinary JDBC-driver to create the
connections,
   to install; set the proper URL to the db, specify the db-driver name
and
   unrem the below section.
 -->
 <data-source class="com.evermind.sql.ConnectionDataSource"
location="jdbc/DefaultDS">
  <name>Default data-source</name>
  <description>
   This is a generic data-source that takes it's generates Connections
with
   ordinary JDBC 2.0 drivers.
  </description>
   <url>jdbc:oracle:thin:@attu.beach.citysearch.com:30003:ATTU</url>
  <connection-driver>oracle.jdbc.driver.OracleDriver</connection-driver>

  <username>ldh</username>
  <password>ldhpw</password>
 </data-source>

 <!-- Some example DataSources of various kinds -->

 <data-source class="com.evermind.sql.DefaultConnectionPoolDataSource"
location="jdbc/DefaultPooledDS">
  <name>Default ConnectionPool data-source</name>
  <description>
   This is a ConnectionPooldata-source that can be used to pool
connections from an ordinary
   data-source in order to increase performance.
  </description>
  <source-location>jdbc/DefaultDS</source-location>
  <username>ldh</username>
  <password>ldhpw</password>
 </data-source>
 <data-source class="com.evermind.sql.DefaultXADataSource"
location="jdbc/xa/DefaultXADS">
  <name>Default Transactional data-source</name>
  <description>
   This is a data-source that can be used as an ordinary XAdata-source
   (transaction aware).
  </description>
  <source-location>jdbc/DefaultDS</source-location>
  <username>ldh</username>
  <password>ldhpw</password>
 </data-source>
 <data-source class="com.evermind.server.ejb.EJBDataSource"
location="jdbc/DefaultEJBDS">
  <name>Default EJB-aware data-source</name>
  <description>
   This is a data-source that EJBs can use where updates are
   automatically synchronized to the current transactional context.
  </description>
  <source-location>jdbc/xa/DefaultXADS</source-location>
  <username>ldh</username>
  <password>ldhpw</password>
 </data-source>
</data-sources>

--
-------------------------------------------------------------------------------

Les Hartzman                      "Those that don't read have no
[EMAIL PROTECTED]          advantage over those that can't",
Mark Twain


Reply via email to