continuum-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Y.B." <yegor...@yahoo.com>
Subject continuum-1.2-SNAPSHOT and com.mysql.jdbc.Driver
Date Sat, 30 Aug 2008 06:58:48 GMT
How can I connect MySQL and Continuum-1.2? The method used for Continuum-1.1
doesn't work.

I see this text in jetty.xml:

What should I change in order to connect it to MySQL?

Thanks in advance (maybe it's good to publish a reply on some web page)!

  <!-- START SNIPPET: datasources -->  
  <!-- continuum database -->
   
  <New id="continuum" class="org.mortbay.jetty.plus.naming.Resource">
    <Arg>jdbc/continuum</Arg>
    <Arg>
      <New class="org.apache.derby.jdbc.EmbeddedDataSource">
        <Set name="DatabaseName"><SystemProperty name="appserver.base"
default=".."/>/data/databases/continuum</Set>
        <Set name="user">sa</Set>
        <Set name="createDatabase">create</Set>
      </New>
    </Arg>
  </New>

  <New id="continuumShutdown"
class="org.mortbay.jetty.plus.naming.Resource">
    <Arg>jdbc/continuumShutdown</Arg>
    <Arg>
      <New class="org.apache.derby.jdbc.EmbeddedDataSource">
        <Set name="DatabaseName"><SystemProperty name="appserver.base"
default=".."/>/data/databases/continuum</Set>
        <Set name="user">sa</Set>
        <Set name="shutdownDatabase">shutdown</Set>
      </New>
    </Arg>
  </New>
 
  <!-- Users / Security Database -->
  
  <New id="users" class="org.mortbay.jetty.plus.naming.Resource">
    <Arg>jdbc/users</Arg>
    <Arg>
      <New class="org.apache.derby.jdbc.EmbeddedDataSource">
        <Set name="DatabaseName"><SystemProperty name="appserver.base"
default=".."/>/data/databases/users</Set>
        <Set name="user">sa</Set>
        <Set name="createDatabase">create</Set>
      </New>
    </Arg>
  </New>

  <New id="usersShutdown" class="org.mortbay.jetty.plus.naming.Resource">
    <Arg>jdbc/usersShutdown</Arg>
    <Arg>
      <New class="org.apache.derby.jdbc.EmbeddedDataSource">
        <Set name="DatabaseName"><SystemProperty name="appserver.base"
default=".."/>/data/databases/users</Set>
        <Set name="user">sa</Set>
        <Set name="shutdownDatabase">shutdown</Set>
      </New>
    </Arg>
  </New>
  
  <!-- END SNIPPET: datasources -->  

Y.B.


 

__________ Information from ESET NOD32 Antivirus, version of virus signature
database 3401 (20080829) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com
 


Mime
View raw message