db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mattba...@apache.org
Subject cvs commit: db-ojb/src/etc ra.xml ojb-service.xml MANIFEST.MF
Date Tue, 01 Jul 2003 21:05:04 GMT
mattbaird    2003/07/01 14:05:04

  Modified:    src/etc  ra.xml ojb-service.xml MANIFEST.MF
  Log:
  new OTM JCA connector support files.
  
  Revision  Changes    Path
  1.3       +23 -43    db-ojb/src/etc/ra.xml
  
  Index: ra.xml
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/etc/ra.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ra.xml	7 Jul 2002 12:25:16 -0000	1.2
  +++ ra.xml	1 Jul 2003 21:05:04 -0000	1.3
  @@ -1,46 +1,26 @@
   <?xml version="1.0" encoding="UTF-8"?>
  -<!DOCTYPE connector PUBLIC 
  -	'-//Sun Microsystems, Inc.//DTD Connector 1.0//EN' 
  -	'http://java.sun.com/dtd/connector_1_0.dtd'>
  -<!-- 
  -	Resource adaptor descriptor for using OJB in a managed environment.
  --->
  -<connector>
  -    <display-name>OJB</display-name>
  -    <vendor-name>OJB</vendor-name>
  -    <spec-version>1.0</spec-version>
  -    <eis-type>OR Mapping</eis-type>
  -    <version>1.0</version>
  -	<license>
  -		<description>
  -		See http://jakarta.apache.org/ojb for terms and license conditions.
  -		</description>
  -		<license-required>false</license-required>
  -	</license>
  -     <resourceadapter>
  -        <managedconnectionfactory-class>ojb.connector.DatabaseManagedConnectionFactory</managedconnectionfactory-class>
  -        <connectionfactory-interface>org.odmg.Implementation</connectionfactory-interface>
  -        <connectionfactory-impl-class>ojb.connector.DatabaseConnectionFactory</connectionfactory-impl-class>
  -        <connection-interface>org.odmg.Database</connection-interface>
  -        <connection-impl-class>ojb.connector.DatabaseConnection</connection-impl-class>
  -        <transaction-support>LocalTransaction</transaction-support>
  -
  -        <!--
  -        	these are the default settings
  -        	they can be overridden in ojb-service.xml
  -        	ManagedConnectionFactoryProperties section.
  -        -->
  -	<config-property>
  -		<description>the url to the OJB configuration file</description>
  -		<config-property-name>ConfigurationFile</config-property-name>
  -		<config-property-type>java.lang.String</config-property-type>
  -		<config-property-value>C:\ojb-0.8.375\src\test\ojb\ojb.properties</config-property-value>
  -	</config-property>		
  +<!DOCTYPE connector PUBLIC
  +          "-//Sun Microsystems, Inc.//DTD Connector 1.0//EN"
  +          "http://java.sun.com/dtd/connector_1_0.dtd">
   
  -	<authentication-mechanism>
  -		<authentication-mechanism-type>BasicPassword</authentication-mechanism-type>
  -		<credential-interface>javax.resource.security.PasswordCredential</credential-interface>
  -	</authentication-mechanism>
  -	<reauthentication-support>false</reauthentication-support>
  -</resourceadapter>
  +<connector>
  +	<display-name>OJB Adapter</display-name>
  +	<description>OJB adapter</description>
  +	<vendor-name>Apache</vendor-name>
  +	<spec-version>1.0</spec-version>
  +	<eis-type>Database</eis-type>
  +	<version>1.0</version>
  +	<resourceadapter>
  +		<managedconnectionfactory-class>org.apache.ojb.otm.connector.OTMJCAManagedConnectionFactory</managedconnectionfactory-class>
  +		<connectionfactory-interface>org.apache.ojb.otm.Kit</connectionfactory-interface>
  +		<connectionfactory-impl-class>org.apache.ojb.otm.connector.JCAKit</connectionfactory-impl-class>
  +		<connection-interface>org.apache.ojb.otm.OTMConnection</connection-interface>
  +		<connection-impl-class>org.apache.ojb.otm.connector.OTMJCAConnection</connection-impl-class>
  +		<transaction-support>LocalTransaction</transaction-support>
  +		<authentication-mechanism>
  +			<authentication-mechanism-type>BasicPassword</authentication-mechanism-type>
  +			<credential-interface>javax.resource.security.PasswordCredential</credential-interface>
  +		</authentication-mechanism>
  +		<reauthentication-support>false</reauthentication-support>
  +	</resourceadapter>
   </connector>
  
  
  
  1.2       +30 -60    db-ojb/src/etc/ojb-service.xml
  
  Index: ojb-service.xml
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/etc/ojb-service.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ojb-service.xml	17 Jun 2002 18:16:37 -0000	1.1
  +++ ojb-service.xml	1 Jul 2003 21:05:04 -0000	1.2
  @@ -1,63 +1,33 @@
   <?xml version="1.0" encoding="UTF-8"?>
  -
  -<!-- ===================================================================== -->
  -<!--                                                                       -->
  -<!--  JBoss Server Configuration                                           -->
  -<!--                                                                       -->
  -<!-- ===================================================================== -->
  -
   <server>
  -
  -  <!-- ==================================================================== -->
  -  <!-- New ConnectionManager setup for OJB					                -->
  -  <!-- ==================================================================== -->
  -
  -  <mbean code="org.jboss.resource.connectionmanager.LocalTxConnectionManager" name="jboss.jca:service=LocalTxCM,name=OJB">
  -    <!--make the rar deploy! hack till better deployment-->
  -    <depends>jboss.jca:service=RARDeployer</depends>
  -
  -
  -    <depends optional-attribute-name="ManagedConnectionFactoryName">
  -      <!--embedded mbean-->
  -      <mbean code="org.jboss.resource.connectionmanager.RARDeployment" name="jboss.jca:service=LocalTxDS,name=OJB">
  -        <!--hack-->
  -        <depends optional-attribute-name="OldRarDeployment">jboss.jca:service=RARDeployment,name=OJB</depends>
  -
  -        <!--real attributes-->
  -        <attribute name="ManagedConnectionFactoryProperties">
  -          <properties>
  -			<config-property>
  -			  <description>the url to the OJB Configuration file</description>
  -			  <config-property-name>ConfigurationFile</config-property-name>
  -			  <config-property-type>java.lang.String</config-property-type>
  -			  <config-property-value>C:\ojb-0.8.375\src\test\ojb\ojb.properties</config-property-value>
  -			 </config-property>  
  -          </properties>
  -        </attribute>
  -        <attribute name="JndiName">Motiva8JDO</attribute>
  -      </mbean>
  -    </depends>
  -    <depends optional-attribute-name="ManagedConnectionPool">
  -      <!--embedded mbean-->
  -      <mbean code="org.jboss.resource.connectionmanager.JBossManagedConnectionPool"
name="jboss.jca:service=LocalTxPool,name=OJB">
  -
  -        <attribute name="MinSize">0</attribute>
  -        <attribute name="MaxSize">50</attribute>
  -        <attribute name="BlockingTimeoutMillis">5000</attribute>
  -        <attribute name="IdleTimeoutMinutes">15</attribute>
  -        <!--criteria indicates if Subject (from security domain) or app supplied
  -            parameters (such as from getConnection(user, pw)) are used to distinguish
  -            connections in the pool. Choices are 
  -            ByContainerAndApplication (use both), 
  -            ByContainer (use Subject),
  -            ByApplication (use app supplied params only),
  -            ByNothing (all connections are equivalent, usually if adapter supports
  -              reauthentication)-->
  -        <attribute name="Criteria">ByContainer</attribute>
  -      </mbean>
  -    </depends>
  -    <depends optional-attribute-name="CachedConnectionManager">jboss.jca:service=CachedConnectionManager</depends>
  -    <attribute name="SecurityDomainJndiName">java:/jaas/OJBRealm</attribute>
  -    <attribute name="TransactionManager">java:/TransactionManager</attribute>
  -  </mbean>
  +	<mbean code="org.jboss.resource.connectionmanager.LocalTxConnectionManager" name="jboss.jca:service=LocalTxCM,name=OJB
Resource Adapter">
  +		<depends optional-attribute-name="ManagedConnectionFactoryName">
  +			<mbean code="org.jboss.resource.connectionmanager.RARDeployment" name="jboss.jca:service=LocalTxDS,name=OJB
Resource Adapter">
  +				<attribute name="JndiName">jca/OJB</attribute>
  +				<depends optional-attribute-name="OldRarDeployment">jboss.jca:service=RARDeployment,name=OJB
Resource Adapter</depends>
  +			</mbean>
  +		</depends>
  +		<depends optional-attribute-name="ManagedConnectionPool">
  +			<mbean code="org.jboss.resource.connectionmanager.JBossManagedConnectionPool" name="jboss.jca:service=LocalTxPool,name=OJB
Resource Adapter">
  +				<attribute name="MinSize">25</attribute>
  +				<attribute name="MaxSize">50</attribute>
  +				<attribute name="BlockingTimeoutMillis">5000</attribute>
  +				<attribute name="IdleTimeoutMinutes">15</attribute>
  +				<!--criteria indicates if Subject (from security domain) or app supplied
  +					parameters (such as from getConnection(user, pw)) are used to distinguish
  +					connections in the pool. Choices are
  +					ByContainerAndApplication (use both),
  +					ByContainer (use Subject),
  +					ByApplication (use app supplied params only),
  +					ByNothing (all connections are equivalent, usually if adapter supports
  +					  reauthentication)-->
  +				<attribute name="Criteria">ByContainer</attribute>
  +			</mbean>
  +		</depends>
  +		<depends optional-attribute-name="CachedConnectionManager">jboss.jca:service=CachedConnectionManager</depends>
  +		<depends optional-attribute-name="JaasSecurityManagerService">jboss.security:service=JaasSecurityManager</depends>
  +		<!--make the rar deploy! hack till better deployment-->
  +		<depends>jboss.jca:service=RARDeployer</depends>
  +		<attribute name="TransactionManager">java:/TransactionManager</attribute>
  +	</mbean>
   </server>
  
  
  
  1.3       +2 -1      db-ojb/src/etc/MANIFEST.MF
  
  Index: MANIFEST.MF
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/etc/MANIFEST.MF,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- MANIFEST.MF	7 Jul 2002 12:25:16 -0000	1.2
  +++ MANIFEST.MF	1 Jul 2003 21:05:04 -0000	1.3
  @@ -1,2 +1,3 @@
  -Manifest-Version: 1.0

Name: ojb
Sealed: false
Specification-Title: ODMG, JDO
Specification-Vendor:
ODMG, Sun
Specification-Version: 3.0, 1.0

Name: ojb
Sealed: false
Implementation-Title: ObJectRelationalBridge
Implementation-Vendor:
Apache Software Foundation
Implementation-Version: $VERSION$

Name: ojb
Class-Path: 
  +Manifest-Version: 1.0
  +Created-By: 1.4.1 (Sun Microsystems Inc.)
   
  
  
  

Mime
View raw message