Today I was deploying soa composite for oracle enterprise repository on soa server and getting the following exception:
Deploying on partition "default" of "/Domain_base_domain/base_ domain/AdminServer" ...
Deploying on "/Domain_base_domain/base_ domain/AdminServer" failed!
There was an error deploying the composite on AdminServer: Deployment Failed: Error occurred during deployment of component: TimedEventClass to service engine: implementation.spring for composite: OERWorkflows: SCA Engine deployment failure.: org.springframework.beans. factory.xml. XmlBeanDefinitionStoreExceptio n: Line 10 in XML document from URL [oramds:/deployed-composites/ default/OERWorkflows_rev1.0/ TimedEventClass.xml]
is invalid; nested exception is org.xml.sax.SAXParseException;
lineNumber: 10; columnNumber: 834; <Line 10 Column 834>:
XML-24500: (Error) Can not build schema 'http://www.springframework. org/schema/tool' located at 'http://www.springframework. org/schema/tool/spring-tool-2. 5.xsd'.
Cause
This problem comes in oracle product version 12.1.3.0.0 and on windows-7 64 bit system. It occurs due to the parameter -Doracle.xml.schema\Ignore_Duplicate_components=true has back slash in setDomainEnv.cmd file.
Solution
Deploying on partition "default" of "/Domain_base_domain/base_
Deploying on "/Domain_base_domain/base_
There was an error deploying the composite on AdminServer: Deployment Failed: Error occurred during deployment of component: TimedEventClass to service engine: implementation.spring for composite: OERWorkflows: SCA Engine deployment failure.: org.springframework.beans.
Cause
This problem comes in oracle product version 12.1.3.0.0 and on windows-7 64 bit system. It occurs due to the parameter -Doracle.xml.schema\Ignore_Duplicate_components=true has back slash in setDomainEnv.cmd file.
Solution
- Go to <DOMAIN_HOME>/bin/setDomainEnv.cmd
- Change -Doracle.xml.schema\Ignore_Duplicate_components=true to -Doracle.xml.schema/Ignore_Duplicate_components=true i.e. change back slash to forward slash.
- Restart the server.
Reference: check the oracle support document Doc ID 2092104.1
No comments:
Post a Comment