Monday, September 26, 2016

SOA Suite 12.2.1.1 FileNotFound When Executing RCU


I was installing Oracle SOA Suite 12.2.1.1, and when I ran RCU to seed the database, it threw an exception relating to SOA Infrastructure.
Repository Creation Utility: Create - Completion Summary

Database details:
-----------------------------

Host Name                                    : myhost
Port                                         : 1521
Service Name                                 : ORCL
Connected As                                 : sys
Prefix for (prefixable) Schema Owners        : DEV
RCU Logfile                                  : /tmp/RCU2016-09-26_10-37_1761337454/logs/rcu.log
RCU Checkpoint Object                        : /tmp/RCU2016-09-26_10-37_1761337454/logs/RCUCheckpointObj

Component schemas created:

-----------------------------

Component                                    Status         Logfile
Common Infrastructure Services               Success        /tmp/RCU2016-09-26_10-37_1761337454/logs/stb.log
SOA Infrastructure                           Failed         /tmp/RCU2016-09-26_10-37_1761337454/logs/soainfra.log 
User Messaging Service                       Success        /tmp/RCU2016-09-26_10-37_1761337454/logs/ucsums.log
Metadata Services                            Success        /tmp/RCU2016-09-26_10-37_1761337454/logs/mds.log
WebLogic Services                            Success        /tmp/RCU2016-09-26_10-37_1761337454/logs/wls.log
Oracle Platform Security Services            Success        /tmp/RCU2016-09-26_10-37_1761337454/logs/opss.log
Audit Services                               Success        /tmp/RCU2016-09-26_10-37_1761337454/logs/iau.log
Audit Services Append                        Success        /tmp/RCU2016-09-26_10-37_1761337454/logs/iau_append.log
Audit Services Viewer                        Success        /tmp/RCU2016-09-26_10-37_1761337454/logs/iau_viewer.log

Repository Creation Utility - Create : Operation Completed
Repository Creation Utility - Dropping and Cleanup of the failed components
Repository Dropping and Cleanup of the failed components in progress.

Percent Complete: 100

The referenced log file indicated that a file could not be found.

FileNotFound /u01/fmw/soa/common/sql/soainfra/sql/oracle/createschema_soainfra_oracle_small.sql in attempt 0
FileNotFound /u01/fmw/soa/common/sql/soainfra/sql/oracle/createschema_soainfra_oracle_small.sql in attempt 1
FileNotFound /u01/fmw/soa/common/sql/soainfra/sql/oracle/createschema_soainfra_oracle_small.sql in attempt 2
FileNotFound /u01/fmw/soa/common/sql/soainfra/sql/oracle/createschema_soainfra_oracle_small.sql in attempt 3
/u01/fmw/soa/common/sql/soainfra/sql/oracle/createschema_soainfra_oracle_small.sql (No such file or directory)
Mon Sep 26 10:48:49.828 EDT 2016 NOTIFICATION SOAINFRA: oracle.sysman.assistants.rcu.backend.action.JavaAction::perform: Executing Java Action: oracle.ias.version.SchemaVersionUtil:utilDropRegistryEntry
Mon Sep 26 10:48:48.550 EDT 2016 rcu:Executing SQL statement: DROP USER DEV_SOAINFRA CASCADE
Mon Sep 26 10:48:49.869 EDT 2016 rcu:Executing SQL statement: drop tablespace DEV_SOAINFRA including contents and datafiles

So I perused the directory, and the file is there; however, it is contains uppercase SMALL in the name.
-rw-r-----.  1 oracle oinstall 1821419 Jun  8 19:07 createschema_soainfra_oracle_SMALL.sql

I renamed the file with lowercase "small" in the name, as RCU expects, and ran RCU again. This time, the seeding of the database processed successfully. Afterwards, I renamed the file to its original name.

Wednesday, May 11, 2016

SOA AqAdapter Not Dequeuing Messages

Messages were not being dequeued by the SOA AqAdapter in a composite. The error in the logs indicated a misleading reason for the behavior - AQ_INVALID_QUEUE_TYPE.

The queue object and queue existed and could be queried in the database directly. Messages could be enqueue/dequeued using anonymous blocks with no problem. However, the AqAdapter would not dequeue messages as expected.

ERROR

Please correct the reported issue and redeploy the BPEL process.

: Endpoint Activation Error.

AdapterFrameworkImpl::endpointActivation - Endpoint Activation Error.

The Resource Adapter AQ Adapter was unable to activate the endpoint oracle.tip.adapter.aq.inbound.AQDequeueActivationSpec:{QueueName=myqueue, DatabaseSchema=myuser, SchemaValidation=false} due to the following reason: BINDING.JCA-11976

AQ_INVALID_QUEUE_TYPE.

Unable to obtain the correct queue type.
Queue does not exist or not defined correctly.
Drop and re-create queue.

Please correct the reported issue and redeploy the BPEL process. […]


ANALYSIS

Similar to the DbAdapter distributed polling, the AqAdapter queries the query queue table using SELECT FOR UPDATE SKIP LOCKED.

You can view the actual SQL query by finding the sql_id of the DML that was passed to the database.

select sql_id,prev_sql_id,a.*
from gv$session a
where machine = ‘hostname';

select *
from gv$sql
where sql_id = sql_id;


FIX

In addition to granting execute to the object used in the queue and using DBMS_AQADM to grant privileges to the queue itself,

grant execute on queue_object to role;
DBMS_AQADM.GRANT_QUEUE_PRIVILEGE (
   privilege      => 'DEQUEUE',
   queue_name     => 'myqueue',
   grantee        => 'myuser',
   grant_option   => FALSE);

the jdbc user that the AqAdapter employs to connect to the database also needs select and update to the queue table. This table is what the AqAdapter polls for new messages in the queue.

grant select on aq$myqueue_query_table to role;grant update on aq$myqueue_query_table to role;

Monday, April 18, 2016

Oracle SOA Database Adapter Polling

I had a requirement to poll a database table, pass some values from the table to a service endpoint, and update the original record with values from the response. This is a fairly simple use case; however, I encountered some odd behavior when the solution was deployed to a clustered environment. Namely,
  1. Multiple SOA instances were being created for a single database record, one for each DbAdapter deployment on the SOA managed servers, and
  2. I was updating the Logical Delete Field in a BPEL process, and once the database adapter thread was finished, it too was updating the Logical Delete Field after I updated it.

Multiple Instances

Oracle documentation references capability called Skip Locking used in Distributed Polling. That is to say that the polling SQL will fetch the resultSet into a cursor. Any record that is locked in the fetch will be skipped. Unfortunately, it doesn't lock the record from another database adapter instance polling the same table and updating that record. There is also documentation that indicates an alternative approach using a MarkReservedValue that says, if you use a reserved value, skip locking will not be used.

Well, using a combination of providing a MarkReservedValue and enabling Distributed Polling was the only way I could get the database adapter to stop creating multiple instances for the same record.


Logical Delete Field Updated When Thread Completes

You cannot update the Logical Delete Field inside of a BPEL process and expect that value to be persisted. The last thing that the database adapter thread does before it sleeps is update the value of the Logical Delete Field with whatever you specified as the Read Value in the configuration.

The better solution is to add a new field to the database table and use it as the Logical Delete Field. Then, you can invoke another database adapter to update the value of whatever field you choose, and it will be persisted.





Tuesday, April 5, 2016

WebLogic Scripting Tool (WLST) Variable Values

When using WebLogic Scripting Tool (WLST) there are two common mechanisms that can be employed to obtain variable values outside of a Jython (.py) script. You can obtain a value from:
  1. An environment variable, or
  2. A properties file.

Using Environment Variables

When you need to obtain the value of an environment variable, import the os package into your script. Then, use the getenv() method to get the value of a specific environment variable.

import os

javaHome = os.getenv("JAVA_HOME")
print("JAVA_HOME is " + str(javaHome))

Using a Properties File

When you need to obtain the value of a property, use the loadProperties() method. Using this method, there is no need to declare the variable and assign a value. Instead, the property.name becomes the name of the variable. The property.value is the assigned value. You will need to define a properties file, e.g. wlstExample.properties.

myProperty=myValue

In the WLST script, reference the loadProperties() method and provide a path to the properties file. If the properties file is in the same directory, and likely it is, do not use a relative path like ../wlstExample.properties. Instead, just use the file name.

loadProperties("wlstExample.properties")
print("The value of myProperty is " + str(myProperty))

When executed, this script produces the following output.

[oracle@myHost ~]$ java weblogic.WLST wlstExample.py

Initializing WebLogic Scripting Tool (WLST) ...

Welcome to WebLogic Server Administration Scripting Shell

Type help() for help on available commands

JAVA_HOME is /usr/java/jdk1.7.0_75
The value of myProperty is myValue

Wednesday, January 6, 2016

CA API Gateway Route via Assertion Not Evaluating False

I was composing a CA API Gateway policy that was not falling out of an "All assertions must evaluate to true" block when the invocation of a service resulted in a fault. Since a fault was being thrown, I expected the assertion to evaluate to false; however, it was evaluated as true.

CA API Gateway Policy
When the endpoint was invoked, the policy would execute the "Route via" assertion and continue processing to the following "Add Audit Details" assertion as depicted in the following log.


2016-01-06T14:25:30.134-0500 INFO 10769 com.l7tech.server.policy.assertion.ServerAuditDetailAssertion: -4: Invoking service
2016-01-06T14:25:30.134-0500 INFO 10769 com.l7tech.server.policy.assertion.ServerHttpRoutingAssertion: 4047: Request is a context variable; using POST
2016-01-06T14:25:30.134-0500 INFO 10769 com.l7tech.server.policy.assertion.ServerAuditDetailAssertion: -4: Invoked service


The service that was invoked was configured to return a fault, and one would expect that if a "Route via" assertion returns a fault, this would result in a false condition. Therefore, control would fall out of the first "All assertions must evaluate to true" assertion and move on to the next "All assertions must evaluate to true" block.

Upon investigation, I discovered a somewhat confusing checkbox that solved the issue.

Pass through SOAP faults with error status 500 checkbox marked
In the HTTP(S) Routing Properties (double click the Route via assertion) window, on the Other tab, in the Assertion Outcome frame, there is a checkbox entitled, "Pass through SOAP faults with error status 500."

At first glance, one might interpret this as whatever fault is thrown by the invoked service, pass that fault right on through to the consumer. In fact, what this means is that the assertion will completely ignore that fault by evaluating the assertion as true and continue processing the next assertion.

After unmarking this checkbox, the assertion then evaluated to false, as expected.

Pass through SOAP faults with error status 500 checkbox unmarked

2016-01-06T14:26:44.623-0500 INFO 10684 com.l7tech.server.policy.assertion.ServerAuditDetailAssertion: -4: Invoking service
2016-01-06T14:26:44.623-0500 INFO 10684 com.l7tech.server.policy.assertion.ServerHttpRoutingAssertion: 4038: Downstream service returned status (500). This is considered a failure case.

Tuesday, October 20, 2015

Build Automation and Continuous Integration with Oracle SOA Suite 12c: Utilization

Ensure that you have read the Integration post.

In this post, we will demonstrate the culmination of the previous posts into a seamless integration.


Create a Project

The Oracle Maven Plugin will generate a SOA application complete with the necessary pom's and directory structure.

Navigate to the cloned Git directory and generate a SOA project using the Maven Archetype.

mvn archetype:generate -DarchetypeGroupId=com.oracle.soa.archetype -DarchetypeArtifactId=oracle-soa-application -DarchetypeVersion=12.1.3-0-0 -DgroupId=com.bjwallen.example -DartifactId=Demo -Dversion=1.0-SNAPSHOT -DprojectName=Echo

Two important items of note:

  1. Maven expects that arguments -DartifactId and -DProjectName are unique. If the names are duplicated in both arguments, Maven with throw an exception, "[ERROR] Project '[name]' is duplicated in the reactor."
  2. Maven and Jenkins expect the parent pom.xml to be in the root of the project; however, when you create a project using the archetype in the Git directory, the parent pom.xml is buried one level deeper in the file system - ../Demo/Echo/pom.xml.
    1. Move all files in ../Demo/Echo one level higher. You must rename and eventually delete the ../Demo directory.


Modify the Project POM

A few modifications need made to the project pom.xml to:
  • Execute a SOA TestSuite,
  • Correct an error, 
  • Direct Maven where to distribute the snapshot, and
  • Communicate information about SCM, the organization, and the developer.
Navigate to the ../Demo/pom.xml file.

Uncomment line 55 <jndi.properties.input> and modify it as follows:

<jndi.properties.input>${scac.input.dir}/testsuites/jndi.properties</jndi.properties.input>

The jndi.properties file will be created in a moment.

On line 74, replace rev${version}.jar with rev${project.version}.jar, else Maven will complain about it when any goal is executed.

After line 132, the </build> element, add the following <profiles> to direct Maven where to store the compiled artifact.

<profiles>
        <profile>
            <id>ede</id>
            <activation>
                <property>
                    <name>env</name>
                    <value>ede</value>
                </property>
            </activation>
            <distributionManagement>
                <repository>
                    <id>snapshots</id>
                    <name>Snapshots Repository</name>
                    <url>http://ci:8081/repository/snapshots</url>
                </repository>
            </distributionManagement>
        </profile>
        <profile>
            <id>ite</id>
            <activation>
                <property>
                    <name>env</name>
                    <value>ite</value>
                </property>
            </activation>
            <distributionManagement>
                <repository>
                    <id>ite</id>
                    <name>Integrated Test Repository</name>
                    <url>http://ci:8081/repository/ite</url>
                </repository>
            </distributionManagement>
        </profile>
        <profile>
            <id>ivv</id>
            <activation>
                <property>
                    <name>env</name>
                    <value>ivv</value>
                </property>
            </activation>
            <distributionManagement>
                <repository>
                    <id>ivv</id>
                    <name>Independent Validation and Verification Repository</name>
                    <url>http://ci:8081/repository/ivv</url>
                </repository>
            </distributionManagement>
        </profile>
        <profile>
            <id>prd</id>
            <activation>
                <property>
                    <name>env</name>
                    <value>prd</value>
                </property>
            </activation>
            <distributionManagement>
                <repository>
                    <id>prd</id>
                    <name>Production Repository</name>
                    <url>http://ci:8081/repository/prd</url>
                </repository>
            </distributionManagement>
        </profile>
    </profiles>

Following the </profiles> element, add the following SCM, organization, and developers information.

    <scm>
        <connection>scm:git://oracle@ci/ci/git/demo.git</connection>
        <developerConnection>scm:git:[fetch=]ssh://oracle@ci/ci/git/demo.git[push=]ssh://oracle@ci/ci/git/demo.git</developerConnection>
        <tag>HEAD</tag>
    </scm>
    <organization>
        <name>BJWallen</name>
        <url>http://blog.bjwallen.com</url>
    </organization>
    <developers>
        <developer>
            <id>myid</id>
            <name>Bill Wallen</name>
            <email>bill@bjwallen.com</email>
            <roles>
                <role>architect</role>
                <role>developer</role>
            </roles>
        </developer>
    </developers>


Modify the Application POM

Edit ../Demo/pom.xml. 

After the closing </modules> element on line 11, insert the same data that was just inserted into the project pom into the application pom.

<profiles>
        <profile>
            <id>ede</id>
            <activation>
                <property>
                    <name>env</name>
                    <value>ede</value>
                </property>
            </activation>
            <distributionManagement>
                <repository>
                    <id>snapshots</id>
                    <name>Snapshots Repository</name>
                    <url>http://ci:8081/repository/snapshots</url>
                </repository>
            </distributionManagement>
        </profile>
        <profile>
            <id>ite</id>
            <activation>
                <property>
                    <name>env</name>
                    <value>ite</value>
                </property>
            </activation>
            <distributionManagement>
                <repository>
                    <id>ite</id>
                    <name>Integrated Test Repository</name>
                    <url>http://ci:8081/repository/ite</url>
                </repository>
            </distributionManagement>
        </profile>
        <profile>
            <id>ivv</id>
            <activation>
                <property>
                    <name>env</name>
                    <value>ivv</value>
                </property>
            </activation>
            <distributionManagement>
                <repository>
                    <id>ivv</id>
                    <name>Independent Validation and Verification Repository</name>
                    <url>http://ci:8081/repository/ivv</url>
                </repository>
            </distributionManagement>
        </profile>
        <profile>
            <id>prd</id>
            <activation>
                <property>
                    <name>env</name>
                    <value>prd</value>
                </property>
            </activation>
            <distributionManagement>
                <repository>
                    <id>prd</id>
                    <name>Production Repository</name>
                    <url>http://ci:8081/repository/prd</url>
                </repository>
            </distributionManagement>
        </profile>
    </profiles>
 <scm>
        <connection>scm:git://oracle@ci/ci/git/demo.git</connection>
        <developerConnection>scm:git:[fetch=]ssh://oracle@ci/ci/git/demo.git[push=]ssh://oracle@ci/ci/git/demo.git</developerConnection>
        <tag>HEAD</tag>
    </scm>
    <organization>
        <name>BJWallen</name>
        <url>http://blog.bjwallen.com</url>
    </organization>
    <developers>
        <developer>
            <id>myid</id>
            <name>Bill Wallen</name>
            <email>bill@bjwallen.com</email>
            <roles>
                <role>architect</role>
                <role>developer</role>
            </roles>
        </developer>
    </developers>


Create the jndi.properties File

Navigate to the SOA project testsuites directory ../Echo/SOA/testsuites.

vi jndi.properties

java.naming.factory.initial=weblogic.jndi.WLInitialContextFactory
java.naming.provider.url=t3://ci:8001/soa-infra
java.naming.security.principal=weblogic
java.naming.security.credentials=welcome1
dedicated.connection=true
dedicated.rmicontext=true



Create a SOA Composite

At this point, a SOA composite should be created to deploy to the environment and execute automated SOA tests. The example used in this post can be pulled from GitHub.

Before code is committed to the master, ensure that the SOA environment is in a running state.



Watch an Automated Build

Commit code to the local repository, and execute a push to the master. Then, watch Jenkins kick off an automated build.

Open a browser, and navigate to http://[host]:8080.

Click the Demo build.

Click Git Polling Log to view the execution of the Git commit hook.

When the build kicks off, right-click the working build and select Console Output.

Watch the build execute.

The following is an abridged build output.

Started by user Bill Wallen
Building in workspace /var/lib/jenkins/workspace/Demo
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url /ci/git/demo.git # timeout=10
Fetching upstream changes from /ci/git/demo.git
 > git --version # timeout=10
 > git fetch --tags --progress /ci/git/demo.git +refs/heads/*:refs/remotes/origin/*
 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision d2c0e19c34b6d76d83feef43da796512ecba2606 (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f d2c0e19c34b6d76d83feef43da796512ecba2606
 > git rev-list d2c0e19c34b6d76d83feef43da796512ecba2606 # timeout=10
provisoning config files...
copy managed file [ciSettings] to file:/tmp/config9216960584909663262tmp
Parsing POMs
using settings config with name ciSettings
Replacing all maven server entries not found in credentials list is true
Modules changed, recalculating dependency graph
Established TCP socket on 52836
[Demo] $ /usr/java/jdk1.7.0_75/bin/java -Djava.awt.headless=true -cp /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven32-agent-1.7.jar:/ci/apps/apache-maven-3.3.3/boot/plexus-classworlds-2.5.2.jar:/ci/apps/apache-maven-3.3.3/conf/logging jenkins.maven3.agent.Maven32Main /ci/apps/apache-maven-3.3.3 /var/cache/jenkins/war/WEB-INF/lib/remoting-2.52.jar /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven32-interceptor-1.7.jar /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.7.jar 52836
<===[JENKINS REMOTING CAPACITY]===>channel started
using settings config with name ciSettings
Replacing all maven server entries not found in credentials list is true
Executing Maven:  -B -f /var/lib/jenkins/workspace/Demo/pom.xml -s /tmp/settings7158704502475689892.xml clean deploy
[INFO] Scanning for projects...
... Jenkins downloads dependencies ...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO] 
[INFO] Echo
[INFO] Demo
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Echo 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
... Jenkins downloads plugins ...
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ Echo ---
[INFO] Deleting /var/lib/jenkins/workspace/Demo/Echo/target
[INFO] 
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ Echo ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /var/lib/jenkins/workspace/Demo/Echo/src/main/resources
[INFO] 
[INFO] --- oracle-soa-plugin:12.1.3-0-0:compile (default-compile) @ Echo ---
[INFO] ------------------------------------------------------------------------
[INFO] ORACLE SOA MAVEN PLUGIN - COMPILE
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] ABOUT TO RUN oracle.soa.scac.ValidateComposite...
[INFO] compile: Executing: [cmd:[/usr/java/jdk1.7.0_75/bin/java, -Djava.protocol.handler.pkgs=oracle.mds.net.protocol|oracle.fabric.common.classloaderurl.handler|oracle.fabric.common.uddiurl.handler, oracle.soa.scac.ValidateComposite, /var/lib/jenkins/workspace/Demo/Echo/SOA//composite.xml, -level=1]]
[INFO] Process being executed, waiting for completion.
[INFO] [exec] Oct 20, 2015 2:45:36 PM oracle.fabric.common.wsdl.SchemaManager isIncrementalBuildSupported
[INFO] [exec] INFO: XMLSchema incremental build enabled.
[INFO] [exec] BPEL/EchoBPEL.bpel:29: warning: There are no explicit "import" statements in <bpel:process> "EchoBPEL" as required by BPEL 2.0 standard.
[INFO] [exec] BPEL/EchoBPEL.bpel:49: warning: The from-spec of "xsd:string" is not compatible with to-spec of "ns1:replyMessage"
[INFO] [exec] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
[INFO] [exec] >> modified xmlbean locale class in use
[INFO] [exec] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
[INFO] compile: [cmd:[/usr/java/jdk1.7.0_75/bin/java, -Djava.protocol.handler.pkgs=oracle.mds.net.protocol|oracle.fabric.common.classloaderurl.handler|oracle.fabric.common.uddiurl.handler, oracle.soa.scac.ValidateComposite, /var/lib/jenkins/workspace/Demo/Echo/SOA//composite.xml, -level=1]] exit code=0
[INFO] SOA COMPILE DONE
[INFO] 
[INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ Echo ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /var/lib/jenkins/workspace/Demo/Echo/src/test/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.3:testCompile (default-testCompile) @ Echo ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.19:test (default-test) @ Echo ---
[INFO] No tests to run.
[JENKINS] Recording test results[INFO] 
[INFO] --- oracle-soa-plugin:12.1.3-0-0:sar (default-sar) @ Echo ---

[INFO] Building sar: /var/lib/jenkins/workspace/Demo/Echo/target/sca_Echo_rev1.0-SNAPSHOT.jar
[INFO] 
[INFO] --- oracle-soa-plugin:12.1.3-0-0:deploy (default-deploy) @ Echo ---
[INFO] ------------------------------------------------------------------------
[INFO] ORACLE SOA MAVEN PLUGIN - DEPLOY COMPOSITE
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] setting user/password..., user=weblogic
Processing sar=/var/lib/jenkins/workspace/Demo/Echo/target/sca_Echo_rev1.0-SNAPSHOT.jar
Adding sar file - /var/lib/jenkins/workspace/Demo/Echo/target/sca_Echo_rev1.0-SNAPSHOT.jar
INFO: Creating HTTP connection to host:ci, port:7003
INFO: Received HTTP response from the server, response code=200
---->Deploying composite success.
[INFO] 
[INFO] --- oracle-soa-plugin:12.1.3-0-0:test (default-test) @ Echo ---
[INFO] native formatting
[INFO] native
[INFO] [<test:testRunResults compositeDN="default/Echo" errorCount="1" failureCount="0" testCount="1" passCount="0" inProgressCount="0" runId="ba85477c0c70e5eb:6e0e12d8:1505e758abd:-7fe1" runName="oracle-soa-plugin-scatest" startDate="2015-10-20T14:45:41.314-04:00" endDate="2015-10-20T14:45:41.435-04:00" xmlns:test="http://xmlns.oracle.com/sca/2006/test"><test:testSuite suiteName="Basic"><test:testResult compositeDN="default/Echo!1.0*soa_84814344-be85-4288-b088-c94157bdd699" flowId="28" scaPartitionId="1" endDate="2015-10-20T14:45:41.435-04:00" startDate="2015-10-20T14:45:41.336-04:00" suiteName="Basic" testName="Basic.xml" testRunName="oracle-soa-plugin-scatest" testRunId="ba85477c0c70e5eb:6e0e12d8:1505e758abd:-7fe1" outcome="errored" callHandlerClassName=""><test:wireActionResults wireSource="Demo"><test:assertionOutcome outcome="errored"><test:diff>Received fault, expected output, check log for details on fault </test:diff></test:assertionOutcome></test:wireActionResults></test:testResult></test:testSuite><test:property propertyName="db.type" propertyValue="oracle"/><test:property propertyName="bpel.host.name" propertyValue="ci"/><test:property propertyName="soa.oracle.home" propertyValue="/u01/fmw/soa"/></test:testRunResults>]
[INFO] /tmp/out/oracle-soa-plugin-scatest.xml
[JENKINS] Recording test results[INFO] 
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ Echo ---

[INFO] Installing /var/lib/jenkins/workspace/Demo/Echo/target/sca_Echo_rev1.0-SNAPSHOT.jar to /ci/repository/com/bjwallen/example/Echo/1.0-SNAPSHOT/Echo-1.0-SNAPSHOT.jar
[INFO] Installing /var/lib/jenkins/workspace/Demo/Echo/pom.xml to /ci/repository/com/bjwallen/example/Echo/1.0-SNAPSHOT/Echo-1.0-SNAPSHOT.pom
[INFO] 
[INFO] --- maven-deploy-plugin:2.8.2:deploy (default-deploy) @ Echo ---
[INFO] Downloading: http://ci:8081/repository/snapshots/com/bjwallen/example/Echo/1.0-SNAPSHOT/maven-metadata.xml
[INFO] Number of application's worked threads is 4
[INFO] Downloaded: http://ci:8081/repository/snapshots/com/bjwallen/example/Echo/1.0-SNAPSHOT/maven-metadata.xml (359 B at 39.0 KB/sec)
[INFO] Uploading: http://ci:8081/repository/snapshots/com/bjwallen/example/Echo/1.0-SNAPSHOT/Echo-1.0-20151020.184631-2.jar
[INFO] Uploaded: http://ci:8081/repository/snapshots/com/bjwallen/example/Echo/1.0-SNAPSHOT/Echo-1.0-20151020.184631-2.jar (23 KB at 209.0 KB/sec)
[INFO] Uploading: http://ci:8081/repository/snapshots/com/bjwallen/example/Echo/1.0-SNAPSHOT/Echo-1.0-20151020.184631-2.pom
[INFO] Uploaded: http://ci:8081/repository/snapshots/com/bjwallen/example/Echo/1.0-SNAPSHOT/Echo-1.0-20151020.184631-2.pom (9 KB at 74.4 KB/sec)
[INFO] Downloading: http://ci:8081/repository/snapshots/com/bjwallen/example/Echo/maven-metadata.xml
[INFO] Downloaded: http://ci:8081/repository/snapshots/com/bjwallen/example/Echo/maven-metadata.xml (317 B at 44.2 KB/sec)
[INFO] Uploading: http://ci:8081/repository/snapshots/com/bjwallen/example/Echo/1.0-SNAPSHOT/maven-metadata.xml
[INFO] Uploaded: http://ci:8081/repository/snapshots/com/bjwallen/example/Echo/1.0-SNAPSHOT/maven-metadata.xml (768 B at 10.6 KB/sec)
[INFO] Uploading: http://ci:8081/repository/snapshots/com/bjwallen/example/Echo/maven-metadata.xml
[INFO] Uploaded: http://ci:8081/repository/snapshots/com/bjwallen/example/Echo/maven-metadata.xml (316 B at 3.9 KB/sec)
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Demo 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ Demo ---
[INFO] 
[INFO] --- maven-install-plugin:2.4:install (default-install) @ Demo ---
[INFO] Installing /var/lib/jenkins/workspace/Demo/pom.xml to /ci/repository/com/bjwallen/example/Demo/1.0-SNAPSHOT/Demo-1.0-SNAPSHOT.pom
[INFO] 
[INFO] --- maven-deploy-plugin:2.7:deploy (default-deploy) @ Demo ---
[INFO] Downloading: http://ci:8081/repository/snapshots/com/bjwallen/example/Demo/1.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded: http://ci:8081/repository/snapshots/com/bjwallen/example/Demo/1.0-SNAPSHOT/maven-metadata.xml (360 B at 23.4 KB/sec)
[INFO] Uploading: http://ci:8081/repository/snapshots/com/bjwallen/example/Demo/1.0-SNAPSHOT/Demo-1.0-20151020.184632-11.pom
[INFO] Uploaded: http://ci:8081/repository/snapshots/com/bjwallen/example/Demo/1.0-SNAPSHOT/Demo-1.0-20151020.184632-11.pom (4 KB at 37.1 KB/sec)
[INFO] Downloading: http://ci:8081/repository/snapshots/com/bjwallen/example/Demo/maven-metadata.xml
[INFO] Downloaded: http://ci:8081/repository/snapshots/com/bjwallen/example/Demo/maven-metadata.xml (317 B at 51.6 KB/sec)
[INFO] Uploading: http://ci:8081/repository/snapshots/com/bjwallen/example/Demo/1.0-SNAPSHOT/maven-metadata.xml
[INFO] Uploaded: http://ci:8081/repository/snapshots/com/bjwallen/example/Demo/1.0-SNAPSHOT/maven-metadata.xml (599 B at 73.1 KB/sec)
[INFO] Uploading: http://ci:8081/repository/snapshots/com/bjwallen/example/Demo/maven-metadata.xml
[INFO] Uploaded: http://ci:8081/repository/snapshots/com/bjwallen/example/Demo/maven-metadata.xml (316 B at 38.6 KB/sec)
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Echo ............................................... SUCCESS [ 58.606 s]
[INFO] Demo ............................................... SUCCESS [  0.517 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:25 min
[INFO] Finished at: 2015-10-20T14:46:33-04:00
[INFO] Final Memory: 25M/140M
[INFO] ------------------------------------------------------------------------
Waiting for Jenkins to finish collecting data
[JENKINS] Archiving /var/lib/jenkins/workspace/Demo/pom.xml to com.bjwallen.example/Demo/1.0-SNAPSHOT/Demo-1.0-SNAPSHOT.pom
[JENKINS] Archiving /var/lib/jenkins/workspace/Demo/Echo/pom.xml to com.bjwallen.example/Echo/1.0-SNAPSHOT/Echo-1.0-SNAPSHOT.pom
[JENKINS] Archiving /var/lib/jenkins/workspace/Demo/Echo/target/sca_Echo_rev1.0-SNAPSHOT.jar to com.bjwallen.example/Echo/1.0-20151020.184631-2/Echo-1.0-20151020.184631-2.jar
Deleting 1 temporary files
channel stopped
Finished: SUCCESS