我的配置文件:
<factories xmi:type="resources:DataSource" xmi:id="DataSource_3" name="Samples IDB Datasource" jndiName="jdbc/sample" description="Samples Gallery IDB Datasource" category="Samples" jtaEnabled="false" minimumPoolSize="1" maximumPoolSize="10" connectionTimeout="180" idleTimeout="1800" orphanTimeout="1800">
      <propertySet xmi:id="DataSource_3_ps">
        <resourceProperties xmi:id="J2EEResourceProperty_2" name="url" type="java.lang.string" value="jdbc:idb:C:\WebSphere\AppServer/installedApps/Samples.ear/IDBDatabase/sample.prp"/>
      </propertySet>
    </factories>  <resourceProviders xmi:type="resources:JDBCDriver" xmi:id="JDBCDriver_3" name="Oracle JDBC Driver" description="Oracle JDBC Driver" implementationClassName="oracle.jdbc.pool.OracleConnectionPoolDataSource">
    <urlPrefix xsi:nil="true"/>
    <factories xmi:type="resources:DataSource" xmi:id="DataSource_5" name="transport" jndiName="jdbc/transport" description="a New Oracle Datasource" jtaEnabled="false" databaseName="transprt" minimumPoolSize="1" maximumPoolSize="10" connectionTimeout="180" idleTimeout="1800" orphanTimeout="1800" statementCacheSize="100" defaultUser="transport" defaultPassword="{xor}bm1sa2pp" disableAutoConnectionCleanup="true">
      <propertySet xmi:id="J2EEResourcePropertySet_2">
        <resourceProperties xmi:id="J2EEResourceProperty_5" name="URL" type="java.lang.String" value="jdbc:oracle:thin:@192.168.0.171:1521:transprt" description="The url indicating the database from which the data source will obtain connections, such as 'jdbc:oracle:thin:@myServer:1521:myDatabase,' where 'myServer' is the server name, '1521' is the port it is using for communication, and 'myDatabase' is the database name. "/>
      </propertySet>
    </factories>
    <propertySet xmi:id="J2EEResourcePropertySet_1"/>
  </resourceProviders>