使用内置的DerbyDB部署简单的数据库适配器BPEL项目时出现以下错误。
[04:00:13 PM] Error deploying archive sca_SOADBAdapter_rev1.0.jar to partition "default" on server DefaultServer [http://127.0.0.1:7101]
[04:00:13 PM] HTTP error code returned [500]
[04:00:13 PM] Error message from server:
There was an error deploying the composite on DefaultServer: Deployment Failed: Error while validating JCA Reference Binding meta data during composite deployment. : JCA deployment validation errors for 'Adapters/EmployeeDBReference_db.jca'
.
[04:00:13 PM] Check server log for more details.
[04:00:13 PM] Error deploying archive sca_SOADBAdapter_rev1.0.jar to partition "default" on server DefaultServer [http://127.0.0.1:7101]
[04:00:13 PM] Deployment cancelled.
[04:00:13 PM] ---- Deployment incomplete ----.
[04:00:13 PM] Error deploying archive file:/C:/JDeveloper/mywork/SOADBAdapterApp/SOADBAdapter/deploy/sca_SOADBAdapter_rev1.0.jar
(oracle.tip.tools.ide.fabric.deploy.common.SOARemoteDeployer)
请在下面找到 EmployeeDBReference_db.jca 文件:
<adapter-config name="EmployeeDBReference" adapter="db" wsdlLocation="../WSDLs/EmployeeDBReference.wsdl" xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata">
<connection-factory UIConnectionName="DerbyDB" location="eis/DB/DerbyDB"/>
<endpoint-interaction portType="EmployeeDBReference_ptt" operation="insert">
<interaction-spec className="oracle.tip.adapter.db.DBWriteInteractionSpec">
<property name="DescriptorName" value="EmployeeDBReference.Employee"/>
<property name="DmlType" value="insert"/>
<property name="MappingsMetaDataURL" value="EmployeeDBReference-or-mappings.xml"/>
<property name="GetActiveUnitOfWork" value="false"/>
<property name="DetectOmissions" value="true"/>
</interaction-spec>
</endpoint-interaction>
</adapter-config>