geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ch...@itri.org.tw
Subject Error: Unable to distribute tranql-connector-1.1.rar
Date Mon, 09 Jan 2006 16:28:29 GMT


Hi All

  I try to configure resource with tutorial list


http://opensource2.atlassian.com/confluence/oss/pages/viewpage.action?pageId=937

  When I deploy the connection pool

  I got errors below

  -----------------
  D:\geronimo-1.0>java -jar bin/deployer.jar --user system --password
manager deploy
D:\geronimo-1.0\repository\mysql\jars\mysql-geronimo-plan.xml
D:\geronimo-1.0\repository\tranql\rars\tranql-connector-1.1.rar
    Error: Unable to distribute tranql-connector-1.1.rar: Unable to load
    first parent of configuration org/apache/geronimo/Mysql

        No configuration with id: org/apache/geronimo/Server
  ------------------
  below is geronimo console msg
  ------------------
  00:04:31,237 WARN  [ConnectorPlanRectifier] Your connector plan has
obsolete elements or attributes in it.  Please remove version attributes,
global-jndi-name elements, and credential-interface elements
  ------------------
  below is my mysql-geronimo-plan.xml
  ------------------
  <?xml version="1.0"?>

<connector xmlns="http://geronimo.apache.org/xml/ns/j2ee/connector"
           version="1.5" configId="org/apache/geronimo/Mysql"
           parentId="org/apache/geronimo/Server">
<dependency>
  <uri>mysql/jars/mysql-connector-java-3.1.7-bin.jar</uri>
</dependency>
<resourceadapter>
  <outbound-resourceadapter>
    <connection-definition>
      <connectionfactory-interface>
        javax.sql.DataSource
      </connectionfactory-interface>
      <connectiondefinition-instance>
        <name>MySQLDataSource</name>
        <config-property-setting name="UserName">
          test
        </config-property-setting>
        <config-property-setting name="Password">
          test
        </config-property-setting>
        <config-property-setting name="Driver">
          com.mysql.jdbc.Driver
        </config-property-setting>
        <config-property-setting name="ConnectionURL">
          jdbc:mysql://localhost:3306/appfuse
        </config-property-setting>
        <config-property-setting name="CommitBeforeAutocommit">
           false
        </config-property-setting>
        <config-property-setting name="ExceptionSorterClass">
           org.tranql.connector.NoExceptionsAreFatalSorter
        </config-property-setting>

        <connectionmanager>
          <local-transaction/>
          <single-pool>
             <max-size>10</max-size>
             <min-size>0</min-size>
             <blocking-timeout-milliseconds>
                5000
              </blocking-timeout-milliseconds>
              <idle-timeout-minutes>
                30
              </idle-timeout-minutes>
              <match-one/>
          </single-pool>
        </connectionmanager>

        <global-jndi-name>
          jdbc/MySQLDataSource
        </global-jndi-name>

      </connectiondefinition-instance>
    </connection-definition>
  </outbound-resourceadapter>
</resourceadapter>
</connector>
-----------------

  I use geronimo 1.0 with jdk 1.4 under win2k

  Could anyone help ?

  Regards

  Chenz




Mime
View raw message