Soa composite build failed
I am having trouble in JDeveloper 11.1.1.2.0 with Make on a simple composite project that is designed to invoke NotificationServices. An attempt to build the project fails with a classNotFoundException in the ant build (the log outputs are below).
I have tried adding other libraries (e.g. Commons Logging 1.0.4 and Commons Digester 1.7) on the project classpath, but that just leads to other classNotFoundExceptions - and I do not believe this is the right approach.
Is there some setting or step I am missing?
------------------------------- SOA Log -------------------------------
Buildfile: C:\Oracle\Middleware11_1_1_2_0\jdeveloper\bin\ant-sca-compile.xml
scac:
[scac] Validating composite : 'H:\JDeveloper\phase1\Notification_Application\Notifications\composite.xml'
BUILD FAILED
C:\Oracle\Middleware11_1_1_2_0\jdeveloper\bin\ant-sca-compile.xml:264: Java returned: 1 Check log file : H:\JDeveloper\phase1\Notification_Application\Notifications\SCA-INF\classes\scac.log for errors
Total time: 1 second
------------------------------- scac.log -------------------------------
java.lang.NoClassDefFoundError: oracle/xml/parser/v2/XMLParseException
Caused by: java.lang.ClassNotFoundException: oracle.xml.parser.v2.XMLParseException
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
Could not find the main class: oracle.soa.scac.ValidateComposite. Program will exit.
Exception in thread "main"
The following libraries are on the project classpath -
SOA Designtime
SOA Runtime
BPEL Runtime
Mediator Runtime
MDS Runtime
Edited by: user3653687 on Mar 9, 2011 4:30 PM
As mentioned earlier, I have tried adding several jars (with each iteration trying another...) without resolving the issue.
If I put all libraries on the path, it compiles - but throwing the kitchen sink at it doesn't seem like the right approach.
This leads me to believe that JDeveloper does not seem to provide the correct set in the template for a SOA project.
Do you know the list of jars/libraries that are required to develop a simple composite that invokes the EMail NotificationService?
Here's the log from adding the Oracle XML Parser v2 library:
Mar 9, 2011 5:06:04 PM org.apache.commons.digester.Digester startElement
SEVERE: Begin event threw error
java.lang.NoClassDefFoundError: commonj/sdo/helper/HelperContext
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
at java.lang.Class.getConstructor0(Class.java:2699)
at java.lang.Class.newInstance0(Class.java:326)
at java.lang.Class.newInstance(Class.java:308)
at org.apache.commons.digester.ObjectCreateRule.begin(ObjectCreateRule.java:205)
at org.apache.commons.digester.Rule.begin(Rule.java:152)
at org.apache.commons.digester.Digester.startElement(Digester.java:1286)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at org.apache.commons.digester.Digester.parse(Digester.java:1591)
at oracle.fabric.composite.Parser.parseComposite(Parser.java:128)
at oracle.soa.scac.ValidateComposite.loadComposite(ValidateComposite.java:804)
at oracle.soa.scac.ValidateComposite.doValidation(ValidateComposite.java:533)
at oracle.soa.scac.ValidateComposite.main(ValidateComposite.java:223)
Caused by: java.lang.ClassNotFoundException: commonj.sdo.helper.HelperContext
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
Similar Messages
-
Building SOA Composite application using Ant
I am tring to write an ant script to build a SOA composite application.
I have written the script as follows -
*<project name="SOA-Build" default="sca-package" basedir=".">*
*<description> Automated Build file for SOA composite application </description>*
*<!-- import global properties for this build -->*
*<property file="build.properties"/>*
*<target name="init">*
*<delete dir="./${sca_name}/deploy" />*
*<delete dir="./logs" />*
*<mkdir dir="./${sca_name}/deploy" />*
*<mkdir dir="./logs" />*
*</target>*
*<target name="sca-compile" depends="init">*
*<ant antfile="${soa_home}/bin/ant-sca-compile.xml" inheritAll="false">*
*<property name="wl_home" value="${weblogic_home}"/>*
*<property name="scac.input" value="./${sca_name}/composite.xml"/>*
*<property name="scac.output" value="./logs/out.xml" />*
*<property name="scac.error" value="./logs/out.err" />*
*<property name="scac.application.home" value="."/>*
*</ant>*
*</target>*
*<target name="sca-package" depends="sca-compile">*
*<ant antfile="${soa_home}/bin/ant-sca-package.xml" inheritAll="false">*
*<property name="compositeDir" value="./${sca_name}"/>*
*<property name="compositeName" value="${sca_name}"/>*
*<property name="revision" value="${rev_id}"/>*
*<property name="sca.application.home" value="."/>*
*</ant>*
*</target>*
*</project>*
the build.properties file contains
sca_name=my_processes
rev_id=1.0
weblogic_home=C:\\Oracle\\Middleware\\home_ps2\\
soa_home=C:\\Oracle\\Middleware\\home_ps2\\Oracle_SOA1\\
while running ant I am getting following error in ant-sca-package.xml
+*[scac] error: BPM-71504: Unexpected error parsing 'oramds:/soa/shared/work*+
flow/TaskEvidenceService.xsd'. Cause: oracle.mds.exception.MDSException: MDS-00+
*054: The file to be loaded oramds:/soa/shared/workflow/TaskEvidenceService.xsd d*
oes not exist.. Action: Verify that file is valid and accessible+
+*[scac] error: BPM-71504: Unexpected error parsing 'oramds:/soa/shared/work*+
flow/WorkflowCommon.xsd'. Cause: oracle.mds.exception.MDSException: MDS-00054:+
The file to be loaded oramds:/soa/shared/workflow/WorkflowCommon.xsd does not ex+
ist.. Action: Verify that file is valid and accessible+
+*[scac] error: BPM-71504: Unexpected error parsing 'oramds:/soa/shared/work*+
flow/WorkflowTask.xsd'. Cause: oracle.mds.exception.MDSException: MDS-00054: Th+
e file to be loaded oramds:/soa/shared/workflow/WorkflowTask.xsd does not exist.+
*. Action: Verify that file is valid and accessible*
Can anybody help me on this?
Thanks in Advance,
ArpanHave a look at this... May be helpful...
http://biemond.blogspot.com.au/2009/11/soa-suite-11g-mds-deploy-and-removal.html
Cheers,
Vlad -
Will B2B Adapter in SOA Composite receives fault when validation fails ?
Hi Guys,
Can any one clarify the following questions on B2B ?
1. Can B2B Adapter receive exception whenever validation fails on b2b console after data sent from SOA Composite? if not how can we implement fault to soa composite in case of fault in b2b console?
2. How can SOA Composite having b2b adapter configured with send operation know about fault happened in b2b console due agreement fail or validation fails or configuration fails?
3. How can we handle faults in case of inbound scenario?Exception is handled in oracle b2b.
All the execeptions are sent to IP_IN_QUEUE( in case of AQ) and B2B_IN_QUEUE( in case of JMS) with the consumer as "b2berror".
You can configure your B2B adapter to pull out the exception messages in your soa composite. -
SOA 12c Composite Build using Maven
Hi,
I'm trying to build SOA 12c Composites using Maven 3.
using command mvn install , so that i can build my composites and place jars in local maven repository. But it is doing the following things:
1. Compile 2. Build 3. Deploy to application server 4. Run Tests .
Which is not expected.
I Just wanted to build my composites and place the Jar's in Maven Repo.
Can anyone comment on this.
Thanks,
Chandra_You could try Edwins comment.
"You can use the normal soa deploy plugin, just zip the mds artifacts and deploy it just like a SOA Composite sar."
You need to create the zip first.
Content of zip schould look like:
/apps
/your-mds-files -
Error while deploying SOA composite via ant
I am getting following error while deploying SOA composite through ant from SOA server (UNIX).It is unable to get mds configuration.
Jdeveloper is not installed in SOA server.
I am trying to copy the SOA project from local machine to SOA server and trying to deploy from SOA server.
Error
Parse of component type files failed, check the adf-config.xml file : "oracle.fabric.common.FabricException: oracle.mds.config.MDSConfigurationException: MDS-01330: unable to load MDS configuration document
MDS-01329: unable to load element "persistence-config"
MDS-01370: MetadataStore configuration for metadata-store-usage "mstore-usage_1" is invalid.
MDS-00503: The metadata path "/u01/orasoa/Oracle/Middleware/Oracle_SOA1/integration" does not contain any valid directories.
I checked /u01/orasoa/Oracle/Middleware/Oracle_SOA1 directory. Integretion directory is not available.
Am I missing anything?
*Please advise.*
build.propeties
============
# build file for HelloWorldComposite
composite.name=AntScriptDeployPOCService
# revision of the composite
composite.revision=1.0
# Set oracle.home to <JDEV_HOME>/jdeveloper, where <JDEV_HOME> is JDEV # installation directory
#oracle.home=C:/Oracle/Middleware/jdeveloper
oracle.home=/u01/orasoa/Oracle/Middleware/Oracle_SOA1
# soa-server side oracle home directory - needed for deployment plan
# and the weblogic sca library deployment
soa.server.oracle.home=/u01/orasoa/Oracle/Middleware/Oracle_SOA1
###### Deployment server connection information
# the admin server connection information
admin.server.host=10.40.237.106
admin.server.port=7001
# the domain where soa infra is installed
server.domain.name=soa_domain
# connection information for the managed server, used for soa-deployment
managed.server.host=10.40.237.106
managed.server.port=8001
# User and credentials for the servers
server.user=weblogic
server.password=<password>
# wls server where soa is targeted.
server.targets=soa_server1
#local.java.home=C:/Oracle/Middleware/jdk160_14_R27.6.5-32
local.java.home=/u01/orasoa/Oracle/Middleware/jdk160_14_R27.6.5-32
Build.xml
<?xml version="1.0" encoding="UTF-8" ?>
<project name="AntScriptDeployPOCService" default="all">
<!-- build.properties -->
<property file="build.properties"/>
<property name="deploy.dir" value="../deploy"/>
<!-- Add targets here -->
<target name="compile-package">
<property name="sca-inf.classes.dir" value="../SCA-INF/classes"/>
<mkdir dir="${sca-inf.classes.dir}"/>
<ant antfile="${oracle.home}/bin/ant-sca-package.xml" target="package" inheritall="false">
<property name="oracle.home" value="${oracle.home}"/>
<property name="compositeDir" value="${basedir}/../"/>
<!-- needed for adf config -->
<property name="scac.application.home" value="${basedir}/../.."/>
<!-- name of the composite -->
<property name="compositeName" value="${composite.name}"/>
<!-- revision of the composite -->
<property name="revision" value="${composite.revision}"/>
<!-- java.passed.home passed to scac, this property will be
overwritten to the env.JAVA_HOME if such env variable is defined in OS level-->
<property name="java.passed.home" value="${local.java.home}"/>
<!--property name="java.passed.home" value="C:/Oracle/Middleware/jdk160_14_R27.6.5-32"-->
</ant>
</target>
<target name="deploy">
<condition property="deploymentplan.name" value="null">
<not>
<isset property="${deploymentplan.name}"/>
</not>
</condition>
<echo>Deploying to http://${managed.server.host}:${managed.server.port}/soa-infra/deployer</echo>
<ant antfile="${oracle.home}/bin/ant-sca-deploy.xml" target="deploy" inheritall="false">
<!-- reformat of prop names -->
<property name="user" value="${server.user}"/>
<property name="password" value="${server.password}"/>
<!-- create the url for deployment -->
<property name="serverURL" value="http://${managed.server.host}:${managed.server.port}/soa-infra/deployer"/>
<!-- location of the sar -->
<property name="sarLocation" value="${deploy.dir}/sca_${composite.name}_rev${composite.revision}.jar"/>
<!-- force overwrite if already there -->
<property name="overwrite" value="true"/>
<!-- configplan-->
<property name="configplan" value="${deploymentplan.name}"/>
</ant>
</target>
<target name="all" depends="compile-package,deploy"/>
</project>Check whether the adf-config.xml file in your app is having proper mds path similar to this:
<adf-mds-config xmlns="http://xmlns.oracle.com/adf/mds/config">
<mds-config xmlns="http://xmlns.oracle.com/mds/config">
<persistence-config>
<metadata-namespaces>
<namespace metadata-store-usage="mstore-usage_1" path="/soa/shared"/>
</metadata-namespaces>
<metadata-store-usages>
<metadata-store-usage id="mstore-usage_1">
<metadata-store class-name="oracle.mds.persistence.stores.file.FileMetadataStore">
<property value="${oracle.home}/integration"
name="metadata-path"/>
<property value="seed" name="partition-name"/>
</metadata-store>
</metadata-store-usage>
</metadata-store-usages>
</persistence-config>
</mds-config>
</adf-mds-config>
" -
SOA Composite (having refernce to MDS )Deployment thru ANT script
I have been trying to deploy SOA composite which has reference to 'oramds:/soa/shared/workflow/TaskServiceInterface.wsdl' thru ANT script.But getting below error -
scac-validate:
[echo] Running scac-validate in D:\apps\saurabhk\deployment\Error Logging\Ev
entHandlerSubscriberComposite\bin/..//composite.xml
[echo] oracle.home = D:/apps/common/mw_home/jdeveloper
[input] skipping input as property compositeDir has already been set.
[input] skipping input as property compositeName has already been set.
[input] skipping input as property revision has already been set.
scac:
[scac] Validating composite "D:\apps\saurabhk\deployment\Error Logging\Event
HandlerSubscriberComposite\bin/..//composite.xml"
[scac] FATAL_ERROR: location {ns:composite}(12,61): Parse of component type
files failed, check the adf-config.xml file : "oracle.fabric.common.FabricExcept
ion: oracle.mds.config.MDSConfigurationException: MDS-01330: unable to load MDS c
onfiguration document
[scac] MDS-01329: unable to load element "persistence-config"
[scac] MDS-01370: MetadataStore configuration for metadata-store-usage "msto
re-usage_1" is invalid.
[scac] MDS-01259: The metadata store "oracle.mds.persistence.stores.db.DBMet
adataStore" cannot be instantiated.
[scac] oracle.jdbc.driver.T4CConnection.isValid(I)Z
[scac] : MDS-01330: unable to load MDS configuration document
[scac] MDS-01329: unable to load element "persistence-config"
[scac] MDS-01370: MetadataStore configuration for metadata-store-usage "msto
re-usage_1" is invalid.
[scac] MDS-01259: The metadata store "oracle.mds.persistence.stores.db.DBMet
adataStore" cannot be instantiated.
[scac] oracle.jdbc.driver.T4CConnection.isValid(I)Z
[scac] : oracle.mds.config.MDSConfigurationException: MDS-01330: unable to l
oad MDS configuration document
[scac] MDS-01329: unable to load element "persistence-config"
[scac] MDS-01370: MetadataStore configuration for metadata-store-usage "msto
re-usage_1" is invalid.
[scac] MDS-01259: The metadata store "oracle.mds.persistence.stores.db.DBMet
adataStore" cannot be instantiated.
[scac] oracle.jdbc.driver.T4CConnection.isValid(I)Z
[scac] : MDS-01330: unable to load MDS configuration document
[scac] MDS-01329: unable to load element "persistence-config"
[scac] MDS-01370: MetadataStore configuration for metadata-store-usage "msto
re-usage_1" is invalid.
[scac] MDS-01259: The metadata store "oracle.mds.persistence.stores.db.DBMet
adataStore" cannot be instantiated.
[scac] oracle.jdbc.driver.T4CConnection.isValid(I)Z
[scac] "
BUILD FAILED
I have mentioned MSD information in build.properties file and adf-config.xml file.
build.properties :-
foreign.mds.type=db
mds.db.userid=XXX
mds.db.password=XX
mds.db.jdbc-url=jdbc:oracle:thin:@XXX.XXX.XXX.XXX:1521:DBC
adf-config.xml:-
<?xml version="1.0" encoding="windows-1252" ?>
<adf-config xmlns="http://xmlns.oracle.com/adf/config"
xmlns:sec="http://xmlns.oracle.com/adf/security/config">
<!-- server side db backed mds settings -->
<adf-mds-config xmlns="http://xmlns.oracle.com/adf/mds/config">
<mds-config xmlns="http://xmlns.oracle.com/mds/config">
<persistence-config>
<metadata-namespaces>
<!-- shared namespace for soa artifacts, such as xsd / wsdl -->
<namespace metadata-store-usage="mstore-usage_1" path="/soa/shared"/>
<!-- customer namespace for sharing stuff -->
<namespace metadata-store-usage="mstore-usage_1" path="/apps"/>
<!-- configuration namespace for the SE/BCs, only exists on the server -->
<namespace metadata-store-usage="mstore-usage_1" path="/soa/configuration"/>
</metadata-namespaces>
<metadata-store-usages>
<metadata-store-usage id="mstore-usage_1">
<metadata-store class-name="oracle.mds.persistence.stores.db.DBMetadataStore">
<property name="jdbc-userid" value="XXXX"/>
<property name="jdbc-password" value="XXXX"/>
<property name="jdbc-url"
value="jdbc:oracle:thin:@XXX.XXX.XXX.XX:1521:DBC"/>
<property name="partition-name" value="soa-infra"/>
</metadata-store>
</metadata-store-usage>
</metadata-store-usages>
</persistence-config>
</mds-config>
</adf-mds-config>
<sec:adf-security-child xmlns="http://xmlns.oracle.com/adf/security/config">
<CredentialStoreContext credentialStoreClass="oracle.adf.share.security.providers.jps.CSFCredentialStore"
credentialStoreLocation="../../src/META-INF/jps-config.xml"/>
</sec:adf-security-child>
</adf-config>
Please let me know if you need any more informattion.
Thanks in advance[scac] MDS-01259: The metadata store "oracle.mds.persistence.stores.db.DBMetadataStore" cannot be instantiated.This error tells that the parameters you have given in build.properties are incorrect. Cross check them again. Make sure that property mds.db.userid points to a MDS schema (for example dev_mds)
Regards,
Anuj -
Error in installing SOA Composites step in Oracle GRC8.6.3 Installation
Hi all,
i am installing oracle grc8.6.3 in windows 64 bit.
i have installed database,rcu,weblogic,soa successfully.in next step i have to install SOA Composite.
when i am running the wlst from oracle_soa1/common/bin and passing the parameter in the wls:/offline i am getting following error
i have set JAVA_HOME,WL_HOME,SOA_HOME correctly
please help me
wls:/offline> sca_deployComposite("http://localhost:8001","
D:\oracle\dist\composites1.zip",overwrite=true,user="weblogic",password="Newuser")
serverURL = http://localhost:8001
sarLocation = D:\oracle\dist\composites1.zip
partition = default
overwrite = 1
user = weblogic
forceDefault = 1
configplan = None
keepInstancesOnRedeploy = 0
timeout = -1
set user and password...
Processing sar=D:\oracle\dist\composites1.zip
created temp dir =C:\Users\A-EXT-~4\AppData\Local\Temp\deploy_client_24c31e3a-db
09-43dd-92c7-cea134ccd56a
Adding sar file - C:\Users\A-EXT-~4\AppData\Local\Temp\deploy_client_24c31e3a-db
09-43dd-92c7-cea134ccd56a\sca_EmailComposite_rev2.0.jar
INFO: Creating HTTP connection to host:sfre001t.statoilfuelretail.com, port:8001
INFO: Received HTTP response from the server, response code=500
---->Response code=500, error:There was an error deploying the composite on soa_
server1: Deployment Failed: Error occurred during deployment of component: Email
Process to service engine: implementation.bpel, for composite: EmailComposite: O
RABPEL-05250
Error deploying BPEL suitcase.
error while attempting to deploy the BPEL component file "D:\oracle\app\product\
OFM\domain\user_projects\domains\grc_domain\servers\soa_server1\dc\soa_d7580aa1-
6af4-4360-b47a-ce198c3d1d89"; the exception reported is: java.lang.NoClassDefFou
ndError: Could not initialize class com.collaxa.cube.util.JavaHelper
This error contained an exception thrown by the underlying deployment module.
Verify the exception trace in the log (with logging level set to debug mode).
thanks
Edited by: 902535 on May 2, 2012 10:59 AMI think you may have gotten confused with the installation guide.
If you're installing GRC, you should not be installing SOA or other components. There are 2 applications you can install from that distribution, GRCC or EGRCM. EGRCM is the one that refers to SOA's if needed, so even then you shouldn't need to install it for testing out the product.
I hope that helps! -
Error While Deploying SOA composite 11g
Hi All,
i am getting the following error while deploying a soa composite. I dont have any JAVA embedding in my code.Also I tried with a simple hello world bpel
even its throwing the same error.My soa version version is 11.1.1.3 Kindy help me.
Deploying on partition "default" of "/Farm_base_domain/base_domain/soa_server1" ...
Deploying on "/Farm_base_domain/base_domain/soa_server1" failed!
Error during deployment: Deployment Failed: Error occurred during deployment of component: GetCustomerAccountHierarchyDetailsBGNProvCS to service engine: implementation.bpel for composite: ManageCustomerAccountHierarchy: ORABPEL-01005
Failed to compile bpel generated classes.
failure to compile the generated BPEL classes for BPEL process "GetCustomerAccountHierarchyDetailsBGNProvCS" of composite "default/ManageCustomerAccountHierarchy!1.0*soa_54ac82bd-c0e4-4431-b0f2-51a316a38b96"
The class path setting is incorrect.
Ensure that the class path is set correctly. If this happens on the server side verify that the custom classes or jars which this BPEL process is depending on are deployed correctly. Also verify that the run time is using the same release/version.
Thanks and regards,
ArunDeploying BPEL process
Regards,
Anuj -
Error while deploying SOA composite
Hi,
I am getting the below error while deploying the SOA composite.
Error(45,34): Failed to compile bpel generated classes.
failure to compile the generated BPEL classes for BPEL process "ApprovalProcess" of composite "default/ResourceSerialApproval!1.0"
The class path setting is incorrect.
Ensure that the class path is set correctly. If this happens on the server side, verify that the custom classes or jars which this BPEL process is depending on are deployed correctly. Also verify that the run time is using the same release/version.
I have copied "oimclient.jar" to SCA-INF/lib directory and placed "jps-manifest.jar" in the class path of the project. Also updated the BpelcClasspath with the path of both these jars on the server.
Please suggest me how to resolve this.
Thanks in Advance.
-HrushiThis is resolved by placing all the jar files from "OIM_HOME/oracle_common/modules/oracle.jps_11.1.1" directory to the classpath of the project.
-
Error While executing the SOA Composite application.
Hi Gurus,
I have recently installed the VM box "oel6-64bit-soasuite-11gr1-ps6-otn.ovi" for Learning the SOA and also gone through the SOA Oracle training so i have the lab exercise documents with me. So i was trying to follow the steps mentioned in the training document for chapter 5 (CCValidate) for credit card Validation in which SOA composite application uses the DB adapter to query the DA and return the Credit card status.
I'm using the JNDI as "eis/DB/SOADemo" and when i looked in the Admin Console i can see the DB adapter status is OK .
Domain Structure --> dev_soasuite --> Services --> Data Source --> I dont See the eis/DB/SOADemo listed.
also tried to add the eis/DB/SOADemo in data Source but thorws Java exception saying already exists.
Domain Structure --> Environment --> Servers --> View JNDI Tree --> I can see the above mentioend JNDI i.e. eis/DB/SOADemo.
Please let me know what is wrong and how i can get rid of it.
But when i deployed the SOA Composite application on Server and tested the same it is throwing exception as below
ava.lang.Exception: oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: Client received SOAP Fault from server : Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'CreditCardDBServiceSelect' failed due to: DBReadInteractionSpec Execute Failed Exception. Query name: [CreditCardDBServiceSelect], Descriptor name: [CreditCardDBService.Creditcards]. Caused by java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist . See root exception for the specific exception. This exception is considered retriable, likely due to a communication failure. To classify it as non-retriable instead add property nonRetriableErrorCodes with value "942" to your deployment descriptor (i.e. weblogic-ra.xml). To auto retry a retriable fault set these composite.xml properties for this invoke: jca.retry.interval, jca.retry.count, and jca.retry.backoff. All properties are integers. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. at oracle.sysman.emas.model.wsmgt.WSTestModel.invokeOperation(WSTestModel.java:813) at oracle.sysman.emas.view.wsmgt.WSView.invokeOperation(WSView.java:385) at oracle.sysman.emas.view.wsmgt.WSView.invokeOperation(WSView.java:303) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.sun.el.parser.AstValue.invoke(AstValue.java:187) at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:297) at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53) at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1415) at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:93) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96) at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:103) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:93) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96) at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:97) at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475) at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:958) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:427) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:207) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57) at oracle.sysman.emSDK.license.LicenseFilter.doFilter(LicenseFilter.java:102) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57) at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57) at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:131) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:447) at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:447) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177) at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57) at oracle.help.web.rich.OHWFilter.doFilter(Unknown Source) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57) at oracle.sysman.emas.fwk.MASConnectionFilter.doFilter(MASConnectionFilter.java:41) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57) at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:181) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57) at oracle.sysman.eml.app.AuditServletFilter.doFilter(AuditServletFilter.java:183) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57) at oracle.sysman.eml.app.EMRepLoginFilter.doFilter(EMRepLoginFilter.java:203) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57) at oracle.sysman.core.model.targetauth.EMLangPrefFilter.doFilter(EMLangPrefFilter.java:158) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57) at oracle.sysman.core.app.perf.PerfFilter.doFilter(PerfFilter.java:141) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57) at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:542) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57) at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119) at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324) at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460) at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103) at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171) at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57) at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:163) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57) at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256) at weblogic.work.ExecuteThread.run(ExecuteThread.java:221) Caused by: oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: Client received SOAP Fault from server : Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'CreditCardDBServiceSelect' failed due to: DBReadInteractionSpec Execute Failed Exception. Query name: [CreditCardDBServiceSelect], Descriptor name: [CreditCardDBService.Creditcards]. Caused by java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist . See root exception for the specific exception. This exception is considered retriable, likely due to a communication failure. To classify it as non-retriable instead add property nonRetriableErrorCodes with value "942" to your deployment descriptor (i.e. weblogic-ra.xml). To auto retry a retriable fault set these composite.xml properties for this invoke: jca.retry.interval, jca.retry.count, and jca.retry.backoff. All properties are integers. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. at oracle.sysman.emSDK.webservices.wsdlapi.dispatch.DispatchUtil.invoke(DispatchUtil.java:362) at oracle.sysman.emSDK.webservices.wsdlparser.OperationInfoImpl.invokeWithDispatch(OperationInfoImpl.java:1004) at oracle.sysman.emas.model.wsmgt.PortName.invokeOperation(PortName.java:750) at oracle.sysman.emas.model.wsmgt.WSTestModel.invokeOperation(WSTestModel.java:808) ... 77 more Caused by: oracle.j2ee.ws.client.jaxws.JRFSOAPFaultException: Client received SOAP Fault from server : Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'CreditCardDBServiceSelect' failed due to: DBReadInteractionSpec Execute Failed Exception. Query name: [CreditCardDBServiceSelect], Descriptor name: [CreditCardDBService.Creditcards]. Caused by java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist . See root exception for the specific exception. This exception is considered retriable, likely due to a communication failure. To classify it as non-retriable instead add property nonRetriableErrorCodes with value "942" to your deployment descriptor (i.e. weblogic-ra.xml). To auto retry a retriable fault set these composite.xml properties for this invoke: jca.retry.interval, jca.retry.count, and jca.retry.backoff. All properties are integers. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. at oracle.j2ee.ws.client.jaxws.DispatchImpl.throwJAXWSSoapFaultException(DispatchImpl.java:1053) at oracle.j2ee.ws.client.jaxws.DispatchImpl.invoke(DispatchImpl.java:839) at oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.synchronousInvocationWithRetry(OracleDispatchImpl.java:235) at oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.invoke(OracleDispatchImpl.java:106) at oracle.sysman.emSDK.webservices.wsdlapi.dispatch.DispatchUtil.invoke(DispatchUtil.java:358) at oracle.sysman.emSDK.webservices.wsdlparser.OperationInfoImpl.invokeWithDispatch(OperationInfoImpl.java:1004) at oracle.sysman.emas.model.wsmgt.PortName.invokeOperation(PortName.java:750) at oracle.sysman.emas.model.wsmgt.WSTestModel.invokeOperation(WSTestModel.java:807) at oracle.sysman.emas.view.wsmgt.WSView.invokeOperation(WSView.java:385) at oracle.sysman.emas.view.wsmgt.WSView.invokeOperation(WSView.java:302) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.sun.el.parser.AstValue.invoke(AstValue.java:187) at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:297) at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53) at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1415) at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96) at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:103) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96) at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:97) at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475) at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:957) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:427) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:207) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.emSDK.license.LicenseFilter.doFilter(LicenseFilter.java:101) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:128) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446) at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177) at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.help.web.rich.OHWFilter.doFilter(Unknown Source) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.emas.fwk.MASConnectionFilter.doFilter(MASConnectionFilter.java:41) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:180) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.eml.app.AuditServletFilter.doFilter(AuditServletFilter.java:179) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.eml.app.EMRepLoginFilter.doFilter(EMRepLoginFilter.java:203) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.core.model.targetauth.EMLangPrefFilter.doFilter(EMLangPrefFilter.java:158) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.core.app.perf.PerfFilter.doFilter(PerfFilter.java:141) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:542) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119) at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324) at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460) at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103) at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171) at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:163) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) ... 9 more
Thanks
-Viajy G> Domain Structure --> dev_soasuite --> Services --> Data Source --> I dont See the eis/DB/SOADemo listed.
Do you see jdbc/SOADataSource? If you go to connection pool, what are the connection parameters: host, database, user, etc? I bet the user is not SOADEMO there...
> When i queried it from the database using the user SOADEMO it returns data
What other parameters are you using to query the database? host, database, etc... Are them the SAME you see on the connection pool above? I bet something is different...
Hope this helps... -
Error during deploying SOA Composite
I have created a SOA Composite in which I am trying to access an External Web Service.
The compilation goes fine but its failing at the time of deployment to Soa Server.
My BPEL consists of following activities-> RecieveInput-> Assign -> Invoke -> Assign -> Callback client
In my composite I have configured WS policies and in BPEL’s invoke activity , I have added headers and endpoint URI as an expression in properties tab.
I am getting the following error at the time of deployment :-
1) Through Jdeveloper and Manually through Soa Server :-
Caused By: ORABPEL-05250
Error deploying BPEL suitcase.
error while attempting to deploy the BPEL component file : the exception reported is: java.lang.Exception: BPEL 1.1 compilation failed
This error contained an exception thrown by the underlying deployment module.
Verify the exception trace in the log (with logging level set to debug mode).
at com.collaxa.cube.engine.deployment.DeploymentManager.deployComponent(DeploymentManager.java:200)
at com.collaxa.cube.ejb.impl.CubeServerManagerBean._deployOrLoadComponent(CubeServerManagerBean.java:876)
at com.collaxa.cube.ejb.impl.CubeServerManagerBean.deployComponent(CubeServerManagerBean.java:122)
at com.collaxa.cube.ejb.impl.bpel.BPELServerManagerBean.deployComponent(BPELServerManagerBean.java:88)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Truncated. see log file for complete stacktrace
2) If I deploy manually through XML files, deployment happens successfully but while testing , I get the following error
Caused by: java.net.ConnectException: Tried all: '1' addresses, but could not connect over HTTP to server: 'www.w3.org', port: '80'
Kindly provide any suggestions to rectify the issue.
Thanks.When starting SOA Suite after upgrading from 11.1.1.4 to 11.1.1.6, I experienced a similar error in the soa_server?.out logs:
<Error> <oracle.soa.bpel.engine.deployment> <BEA-000000> <
java.lang.Exception: BPEL 1.1 compilation failed
Anyone have a suggestion on how to resolve this error? -
12c SOA composite deployment issue using maven
I am facing issue with 12c SOA composite deployment using maven. I execute the below command for deploying any composite. (Note: Update and run init.cmd file before running the below maven command)
mvn pre-integration-test –f soa-pom.xml –Dcomposite.name=TestSOAProj –Dcomposite.version=1.1
Issues:
As seen above, I specified composite version to be deployed as 1.1 in pom.xml file, but maven deploys the composite with version that is present in composite.xml. It does build the jar file with the version specified in the pom i.e. TestSOAProj_rev1.1.jar, but when it deploys I see the composite with version as 1.0 (this version is in composite.xml). The out of the box maven script is not overwriting the revision in the composite.xml with the value specified in the pom file.
Also, is there a way to pass the partition name as an user input parameter in the pom file. I tried this with the out of the box pom file by giving the partition name as something other than ‘default’, but the maven script ignores this and always deploys to ‘default’.
I am not sure if I am missing anything here. Please suggest.
inti.cmd:
SET JAVA_HOME=D:\12c-Installation-Path\Java\jdk1.7.0_60
SET ANT_HOME=D:\12c-Installation-Path\Oracle\Middleware\Oracle_Home\oracle_common\modules\org.apache.ant_1.9.2
SET M2_HOME=D:\12c-Installation-Path\Oracle\Middleware\Oracle_Home\oracle_common\modules\org.apache.maven_3.0.5
SET PATH=%PATH%;%JAVA_HOME%\bin;%M2_HOME%\bin;%ANT_HOME%\bin
soa-pom.xml:
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<!--
This POM was automatically generated during SOA project creation.
This POM relates to this SOA Composite, i.e. the one in this same directory.
There is another POM in the SOA Application directory which handles
the whole SOA Application, which may contain additional projects.
-->
<modelVersion>4.0.0</modelVersion>
<groupId>TestSOAApp</groupId>
<artifactId>${composite.name}</artifactId>
<version>${composite.version}</version>
<packaging>sar</packaging>
<!--
The parent points to the common SOA parent POM. That is a special POM that is
shipped by Oracle as a point of customization (only). You can add default values
for properties like serverUrl, etc. to the SOA common parent POM, so that you
do not have to specify them over and over in every project POM.
-->
<!--<parent>
<groupId>com.oracle.soa</groupId>
<artifactId>sar-common</artifactId>
<version>12.1.3-0-0</version>
</parent>-->
<properties>
<!-- These parameters are used by the compile goal -->
<code.basedir>${soa.app.source}/${project.artifactId}</code.basedir>
<scac.input.dir>${code.basedir}/SOA</scac.input.dir>
<scac.output.dir>${project.basedir}/target</scac.output.dir>
<scac.input>${scac.input.dir}/composite.xml</scac.input>
<scac.output>${scac.output.dir}/out.xml</scac.output>
<scac.error>${scac.output.dir}/error.txt</scac.error>
<scac.displayLevel>1</scac.displayLevel>
<!-- if you are using a config plan, uncomment the following line and update to point
to your config plan -->
<configplan>${code.basedir}/${project.artifactId}_cfgplan.xml</configplan>
<!-- These parameters are used by the deploy and undeploy goals -->
<composite.name>${project.artifactId}</composite.name>
<composite.revision>${project.version}</composite.revision>
<composite.partition>default</composite.partition>
<serverUrl>http://${target.hostname}:${target.port}</serverUrl>
<!--user>weblogic</user>
<password>${pwd}</password-->
<overwrite>true</overwrite>
<forceDefault>true</forceDefault>
<regenerateRulebase>false</regenerateRulebase>
<keepInstancesOnRedeploy>false</keepInstancesOnRedeploy>
<!--<jndi.properties.input>UNDEFINED</jndi.properties.input>-->
<scatest.result>${scac.output.dir}/testResult</scatest.result>
<!-- input is the name of the composite to run test suties against -->
<input>${project.artifactId}</input>
<!--<scac.ant.buildfile>${env.MW_HOME}/soa/bin/ant-sca-compile.xml</scac.ant.buildfile>
<sca.ant.testfile>${env.MW_HOME}/soa/bin/ant-sca-test.xml</sca.ant.testfile>
-->
</properties>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>properties-maven-plugin</artifactId>
<version>1.0-alpha-2</version>
<executions>
<execution>
<phase>initialize</phase>
<goals>
<goal>read-project-properties</goal>
</goals>
<configuration>
<files>
<file>build-${env}.properties</file>
</files>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.6</version>
<executions>
<execution>
<id>read-input</id>
<phase>prepare-package</phase>
<inherited>false</inherited>
<goals>
<goal>run</goal>
</goals>
<configuration>
<target>
<property name="fmw.app.basedir" value="${soa.app.source}" />
<property name="fmw.composite.name" value="${project.artifactId}" />
<property name="configplan.target.path" value="${scac.output.dir}" />
<ant antfile="${project.basedir}/replace-tokens.xml" target="replaceConfig" />
</target>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.oracle.soa.plugin</groupId>
<artifactId>oracle-soa-plugin</artifactId>
<version>12.1.3-0-0</version>
<configuration>
<compositeName>${project.artifactId}</compositeName>
<composite>${scac.input}</composite>
<sarLocation>${scac.output.dir}/sca_${project.artifactId}_rev${composite.revision}.jar</sarLocation>
<serverUrl>${serverUrl}</serverUrl>
<user>{}</user>
<password>{}</password>
<!-- Note: compositeRevision is needed to package, revision is needed to undeploy -->
<compositeRevision>${composite.revision}</compositeRevision>
<revision>${composite.revision}</revision>
<scacInputDir>${scac.input.dir}</scacInputDir>
<input>${input}</input>
<!--<appHome>${soa.app.source}</appHome>
<oracleHome>${oracle.home}/soa</oracleHome>
<configplan>${scac.output.dir}/${project.artifactId}_cfgplan_generated.xml</configplan>-->
</configuration>
<!-- extensions=true is needed to use the custom sar packaging type -->
<extensions>true</extensions>
</plugin>
</plugins>
</build>
</project>
replace-tokens.xml:
<?xml version="1.0" encoding="UTF-8" ?>
<project name="EA_SOA_Build" default="replaceConfig">
<target name="replaceConfig">
<echo>Replacing tokens in configuration file</echo>
<!-- Following logic copies the dev deployment plan and generates one to meet the target environment. -->
<delete failonerror="true" file="${fmw.app.basedir}/${fmw.composite.name}/${fmw.composite.name}_cfgplan_generated.xml"/>
<copy overwrite="true" failonerror="true"
file ="${fmw.app.basedir}/${fmw.composite.name}/${fmw.composite.name}_cfgplan.xml"
tofile="${configplan.target.path}/${fmw.composite.name}_cfgplan_generated.xml"/>
<replace file="${configplan.target.path}/${fmw.composite.name}_cfgplan_generated.xml">
<!-- replace filter for soa source and target endpoints. -->
<replacefilter token="dmnh1i.manheim.com" value="dmnh2i.manheim.com" />
</replace>
</target>
</project>
build-local.properties:
soa.app.source=D:/Oracle_SOA12c13/Jdev_mywork/OVCApp
mds.outer.dir=D:/Oracle_SOA12c13/Jdev_mywork/OVCApp/MDS
target.hostname=localhost
target.port=7001
oracle.home=D:/Oracle_SOA12c13/Middleware/Oracle_Homehi,
Can i pass multiple composite name like
mvn pre-integration-test –f soa-pom.xml –Dcomposite.name=TestSOAProj –Dcomposite.name2="xxx"
can you please suggest me for same.
Hint- passing project1,project2..... -
In my SOA Composite, Can I use file/FTP adapter to get the EDI X12 850
Our requirement is to build a SOA Composite to dump all the details in a EDI X12 850 ( Purchase order ) document in to a database table. In my SOA Composite, Can I use file/FTP adapter to get the EDI X12 850 element details to map them to a base base columns.
Drop the File Adapter to the left lane of the composite i.e., Services lane...
Go to Step 2, give a meaningful name....
Step 3, select "define from operation and schema"
Step 4, select the operation type as "read"
Step 5, select physical path and give the folder path in the "Directory for incoming files" field.,
Step 6, select wildcards and give the expression depending on the file name it would be at run time...
Step 7, select the polling frequency as required....
Step 8, in the URL field, adjacent to that , select "browse for schema file" and select the XSD which you have exported from B2B Editor.
say next and finish, you will be good to go.
Hope this helps,
Thanks,
N -
Error in deploying SOA composite using ant
Hi,
When I try to deploy a SOA composite using ant utility, I am getting error as follows:
C:\JDeveloper11\MiddlewareHome\jdeveloper\bin>ant -f ant-sca-deploy.xml -Dserver
URL=http://gdiora001.in.ibm.com:7001 -DsarLocation=C:\po\POProcessing\POProcessi
ng\deploy\sca_POProcessing_rev6-cmdline.jar -Doverwrite=true -Duser=weblogic -Dp
assword=<<password>> -DforceDefault=true -Dconfigplan=C:\po\POProcessing\POProcessin
g\POProcessing_dev_cfgplan.xml
Buildfile: ant-sca-deploy.xml
[echo] oracle.home = C:\JDeveloper11\MiddlewareHome\jdeveloper\bin/..
deploy:
[input] skipping input as property serverURL has already been set.
[input] skipping input as property sarLocation has already been set.
[deployComposite] setting user/password..., user=weblogic
[deployComposite] Processing sar=C:\po\POProcessing\POProcessing\deploy\sca_POPr
ocessing_rev6-cmdline.jar
[deployComposite] Adding sar file - C:\po\POProcessing\POProcessing\deploy\sca_P
OProcessing_rev6-cmdline.jar
[deployComposite] Creating HTTP connection to host:gdiora001.in.ibm.com, port:70
01
[deployComposite] Received HTTP response from the server, response code=404
[deployComposite] Problem in sending HTTP request to the server. Check standard
HTTP response code for 404
[deployComposite] ---->response code=404, error:null
BUILD SUCCESSFUL
Total time: 14 seconds
C:\JDeveloper11\MiddlewareHome\jdeveloper\bin>
Please note that I am able to successfully deploy the composite from EM, using same SAR and Config Plan files.
The server URL is also correct.
I am not sure what is wrong with above ant command.
Can someone please help me.
ThanksHi,
404 response indicates that soa-infra is not running in the host:port/gdiora001.in.ibm.com, port:7001
Pl make sure that you have soa-infra running in that host/port.
http://host:port/soa-infra
For the logs,
you can find the soa server logs under $DOMAIN_HOME/servers/soa_server1/logs -
Unable to Harvest a SOA composite from SOA suite server to OER11g
Hi All,
I wanted to harvest a SOA composite from SOA suite server to OER11g.For that i had followed this portion *5.2.6.1 Harvesting from Oracle SOA Suite Server* from Oracle® Fusion Middleware Configuration Guide for Oracle Enterprise Repository11g Release 1 (11.1.1) E16580-01 document.
The Version of OER is : OER 11.1.1.2.0 , the version of SOA suite is : 11.1.1.3.0 and the version of SOA weblogic server is :10.3.3
OER and SOA domain are different but under the same Middleware home.
Database is also located at same machine.
The steps i had followed:
1.The User of the weblogic server has these three roles i.e 1. Admin 2. Operator 3. Monitor
2.Unzip the Harvester.zip into the repository location.
3.Modified the <RemoteQuery> section and OER section of HarvesterSettings.xml file
4.using encrypt.bat file encrypted the password.
5.executed the harvester.bat file
The HarvesterSetting.xml file :
<?xml version="1.0" encoding="UTF-8"?>
<tns:harvesterSettings xmlns:tns="http://www.oracle.com/oer/integration/harvester" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.oracle.com/oer/integration/harvester Harvester_Settings.xsd ">
<!--Description to set on created Assets in OER.-->
<harvesterDescription/>
<!--Registration status to set on created Assets in OER.
The Valid Registration states are 1) Unsubmitted 2)Submitted - Pending Review 3)Submitted - Under Review 4)Registered -->
<registrationStatus>Unsubmitted</registrationStatus>
<!--Namespace to set on created Assets in OER. If left empty, this is set based on information from SOA Suite and OSB projects
when available. That's generally the best practice, so override this with caution.-->
<namespace/>
<!--If true, trigger OER events for use by Workflow. Warning: this can decrease performance.-->
<triggerEvent>false</triggerEvent>
<!--Connection info to OER-->
<repository>
<uri>http://localhost:7101/oer</uri>
<credentials>
<user>admin</user>
<password>v2_1.PHQe8yYXiqU=</password><!--run encrypt.bat to encrypt this-->
</credentials>
<timeout>30000</timeout>
</repository>
<!--Query: the files to harvest-->
<query>
<!--To specify design-time files to harvest: Uncomment the section below and specify the file(s) you want to harvest.
Or specify on the command-line via the -file parameter.-->
<!--
<fileQuery>
<rootDir>C:\wsdls\adapter\file\DynamicSynchronousReadTutorial\DynamicSyncRead</rootDir>
<files>bpel</files>
</fileQuery>
-->
<!--To specify run-time files to harvest: Uncomment this and specify the file(s) you want to harvest.
Or specify on the command-line via the -file parameter.
The serverType must be one of: SOASuite, OSB, or WLS.
Run encrypt.bat to encrypt the password.-->
<remoteQuery>
<serverType>SOASuite</serverType>
<projectName>TestOER_rev1.0</projectName>
<uri>http://localhost:7403/</uri>
<credentials>
<user>weblogic</user>
<password>v2_1.G+NTr3az8thaGGJBn0vwPg==</password>
</credentials>
</remoteQuery>
</query>
<introspection>
<reader>com.oracle.oer.sync.plugin.reader.file.FileReader</reader>
<writer>com.oracle.oer.sync.plugin.writer.oer.OERWriter</writer>
</introspection>
</tns:harvesterSettings>
Error Message ::
C:\Oracle\Middleware\repository111\11.1.1.2.0-OER-Harvester>harvest.bat
Connecting to: service:jmx:t3://localhost:7403/jndi/weblogic.management.mbeanservers.runtime
0 [main] WARN com.oracle.oer.sync.framework.impl.DefaultPluginManager - Unable to initialize harvester plugin: C:\Oracle\Middleware\repository111\11.1.1.2.0-OER-
9624 [main] INFO com.oracle.oer.sync.framework.MetadataManager - Oracle Enterprise_Repository_Harvester version: v11.1.1.2.0-100119_0001-1293556
Connecting to: service:jmx:t3://localhost:7403/jndi/weblogic.management.mbeanservers.runtime
18669 [main] WARN com.oracle.oer.sync.framework.impl.DefaultPluginManager - Unable to initialize harvester plugin: C:\Oracle\Middleware\repository111\11.1.1.2.0-OER
Connecting to: service:jmx:t3://localhost:7403/jndi/weblogic.management.mbeanservers.runtime
45196 [main] ERROR com.oracle.oer.sync.framework.MetadataManager - Artifact harvest failed due to:
org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 203 completed: No
at com.sun.corba.se.impl.logging.ORBUtilSystemException.writeErrorSend(ORBUtilSystemException.java:2259)
at com.sun.corba.se.impl.logging.ORBUtilSystemException.writeErrorSend(ORBUtilSystemException.java:2281)
at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.writeLock(SocketOrChannelConnectionImpl.java:957)
at com.sun.corba.se.impl.encoding.BufferManagerWriteStream.sendFragment(BufferManagerWriteStream.java:86)
at com.sun.corba.se.impl.encoding.BufferManagerWriteStream.sendMessage(BufferManagerWriteStream.java:104)
at com.sun.corba.se.impl.encoding.CDROutputObject.finishSendingMessage(CDROutputObject.java:144)
at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.finishSendingRequest(CorbaMessageMediatorImpl.java:247)
at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.marshalingComplete1(CorbaClientRequestDispatcherImpl.java:355)
at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.marshalingComplete(CorbaClientRequestDispatcherImpl.java:336)
at com.sun.corba.se.impl.protocol.CorbaClientDelegateImpl.invoke(CorbaClientDelegateImpl.java:129)
at com.sun.corba.se.impl.protocol.CorbaClientDelegateImpl.is_a(CorbaClientDelegateImpl.java:213)
at org.omg.CORBA.portable.ObjectImpl._is_a(ObjectImpl.java:112)
at weblogic.corba.j2ee.naming.Utils.narrowContext(Utils.java:126)
at weblogic.corba.j2ee.naming.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:94)
at weblogic.corba.j2ee.naming.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:31)
at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:41)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
at javax.naming.InitialContext.init(InitialContext.java:223)
at javax.naming.InitialContext.<init>(InitialContext.java:197)
at weblogic.management.remote.common.ClientProviderBase.makeConnection(ClientProviderBase.java:143)
at weblogic.management.remote.common.ClientProviderBase.newJMXConnector(ClientProviderBase.java:79)
at javax.management.remote.JMXConnectorFactory.newJMXConnector(JMXConnectorFactory.java:338)
at com.oracle.oer.sync.plugin.reader.soasuite11g.SOASuite11gRemoteReader.initConnection(SOASuite11gRemoteReader.java:286)
at com.oracle.oer.sync.plugin.reader.soasuite11g.SOASuite11gRemoteReader.read(SOASuite11gRemoteReader.java:84)
at com.oracle.oer.sync.plugin.reader.soasuite11g.SOASuite11gRemoteReader.getFilesToRead(SOASuite11gRemoteReader.java:62)
at com.oracle.oer.sync.plugin.reader.file.FileReader.getFilesToRead(FileReader.java:198)
at com.oracle.oer.sync.plugin.reader.file.FileReader.read(FileReader.java:79)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.flashline.util.classloader.ContextClassLoaderHandler.invoke(ContextClassLoaderHandler.java:39)
at $Proxy14.read(Unknown Source)
at com.oracle.oer.sync.framework.MetadataManager.start(MetadataManager.java:598)
at com.oracle.oer.sync.framework.Introspector.<init>(Introspector.java:191)
at com.oracle.oer.sync.framework.Introspector.main(Introspector.java:395)
com.oracle.oer.sync.framework.MetadataIntrospectionException: Artifact harvest failed due to:
at com.oracle.oer.sync.framework.MetadataManager.start(MetadataManager.java:603)
at com.oracle.oer.sync.framework.Introspector.<init>(Introspector.java:191)
at com.oracle.oer.sync.framework.Introspector.main(Introspector.java:395)
Caused by: org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 203 completed: No
at com.sun.corba.se.impl.logging.ORBUtilSystemException.writeErrorSend(ORBUtilSystemException.java:2259)
at com.sun.corba.se.impl.logging.ORBUtilSystemException.writeErrorSend(ORBUtilSystemException.java:2281)
at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.writeLock(SocketOrChannelConnectionImpl.java:957)
at com.sun.corba.se.impl.encoding.BufferManagerWriteStream.sendFragment(BufferManagerWriteStream.java:86)
at com.sun.corba.se.impl.encoding.BufferManagerWriteStream.sendMessage(BufferManagerWriteStream.java:104)
at com.sun.corba.se.impl.encoding.CDROutputObject.finishSendingMessage(CDROutputObject.java:144)
at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.finishSendingRequest(CorbaMessageMediatorImpl.java:247)
at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.marshalingComplete1(CorbaClientRequestDispatcherImpl.java:355)
at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.marshalingComplete(CorbaClientRequestDispatcherImpl.java:336)
at com.sun.corba.se.impl.protocol.CorbaClientDelegateImpl.invoke(CorbaClientDelegateImpl.java:129)
at com.sun.corba.se.impl.protocol.CorbaClientDelegateImpl.is_a(CorbaClientDelegateImpl.java:213)
at org.omg.CORBA.portable.ObjectImpl._is_a(ObjectImpl.java:112)
at weblogic.corba.j2ee.naming.Utils.narrowContext(Utils.java:126)
at weblogic.corba.j2ee.naming.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:94)
at weblogic.corba.j2ee.naming.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:31)
at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:41)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
at javax.naming.InitialContext.init(InitialContext.java:223)
at javax.naming.InitialContext.<init>(InitialContext.java:197)
at weblogic.management.remote.common.ClientProviderBase.makeConnection(ClientProviderBase.java:143)
at weblogic.management.remote.common.ClientProviderBase.newJMXConnector(ClientProviderBase.java:79)
at javax.management.remote.JMXConnectorFactory.newJMXConnector(JMXConnectorFactory.java:338)
at com.oracle.oer.sync.plugin.reader.soasuite11g.SOASuite11gRemoteReader.initConnection(SOASuite11gRemoteReader.java:286)
at com.oracle.oer.sync.plugin.reader.soasuite11g.SOASuite11gRemoteReader.read(SOASuite11gRemoteReader.java:84)
at com.oracle.oer.sync.plugin.reader.soasuite11g.SOASuite11gRemoteReader.getFilesToRead(SOASuite11gRemoteReader.java:62)
at com.oracle.oer.sync.plugin.reader.file.FileReader.getFilesToRead(FileReader.java:198)
at com.oracle.oer.sync.plugin.reader.file.FileReader.read(FileReader.java:79)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.flashline.util.classloader.ContextClassLoaderHandler.invoke(ContextClassLoaderHandler.java:39)
at $Proxy14.read(Unknown Source)
at com.oracle.oer.sync.framework.MetadataManager.start(MetadataManager.java:598)
... 2 more
Please provide some solution.Any help would be useful to me.
Thanks in advance.
Sharmistha.You have to import the OER-Harvester-Solution-Pack located at C:\Oracle\Middleware\repository111\core\tools\solutions\11.1.1.4.0-OER-Harvester-Solution-Pack.zip
(path may change under your custom installation) to the OER using the admin option import/export -> import
Maybe you are looking for
-
Finder Causing Application to Crash
Hi All, I'm having a problem when using the Finder to select files whilst in an application. For example, when trying to navigate my way to a file, the Finder window opens momentarily but then vanishes, but the application still behaves in a way that
-
Byte JMS Message processing in BPM process
Hello, I have a Global Automatic activity in my process which is listening a JMS Queue with Acknowledge Mode is set to "Auto Acknowledge". I am sending a XML on this JMS Queue as Byte Message. Please let me know how can I convert Byte XML back into t
-
Lost sound on MacBook after connecting AppleTV
I connected my AppleTV today - all good - but now I have no sound on my MacBook. Can't find any solutions in settings. Help! Thanks.
-
What does "View - Visualizer - Play Videos" do?
I just updated to iTunes 10.4 (64-bit.) As expected, my 3rd party plug-ins and visualizers stopped working. I hope the best of them (like G-Force and Whitecap) get updated sometime soon. My first question about iTunes 10.4... What does View -> Visu
-
Does exist any top creating archives in a file system in solaris 10?
I need to know if exist any limit creating archives in a file system in solaris 10 thanks