Deploying a SOA Composite Application: Error during deployment response code=500 (Doc ID 1246945.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle SOA Suite - Version 11.1.1.2.0 and later
Information in this document applies to any platform.
***Checked for relevance on 12-Apr-2012***
When deploying your SOA composite application, you observe Error during deployment response code=500.
***Checked for relevance on 13-September-2013***

Symptoms

When running ant -f ant-sca-deploy.xml  command to deploy a SOA composite application.

You observe the following errors:

Example output from Verbose Ant Deployment:


[weblogic@cphcssdcacra10 bin]$ ant -verbose -f ant-sca-deploy.xml -DserverURL=http://xx.xxx.xxx.xx:5011 -DsarLocation=/opt/oracle/middleware/soa/Source/Testxxxx/deploy/sca_Testxxxx_rev1.0.jar -Dpartition=default
Apache Ant version 1.7.1 compiled on June 27 2008
Buildfile: ant-sca-deploy.xml
Detected Java version: 1.6 in: /opt/oracle/middleware/jrrt-4.0.0-1.6.0/jre
Detected OS: Linux
parsing buildfile /opt/oracle/middleware/soa/bin/ant-sca-deploy.xml with URI = file:/opt/oracle/middleware/soa/bin/ant-sca-deploy.xml
Project base dir set to: /opt/oracle/middleware/soa/bin
[antlib:org.apache.tools.ant] Could not load definitions from resource org/apache/tools/ant/antlib.xml. It could not be found.
Importing file /opt/oracle/middleware/soa/bin/ant-soa-common.xml from /opt/oracle/middleware/soa/bin/ant-sca-deploy.xml
parsing buildfile /opt/oracle/middleware/soa/bin/ant-soa-common.xml with URI = file:/opt/oracle/middleware/soa/bin/ant-soa-common.xml
[available] Found: /opt/oracle/middleware/oracle_common/modules/oracle.jrf_11.1.1/jrf.jar
[available] Found: /opt/oracle/middleware/oracle_common/soa/modules/oracle.soa.mgmt_11.1.1/soa-infra-mgmt.jar
[echo] oracle.home = /opt/oracle/middleware/soa/bin/..
Build sequence for target(s) `deploy' is [deploy]
Complete build sequence is [deploy, removeSharedData, exportComposite, exportUpdates, help, importUpdates, exportSharedData, undeploy, ]
deploy:
[input] skipping input as property serverURL has already been set.
[input] skipping input as property sarLocation has already been set.
[deployComposite] Processing sar=/opt/oracle/middleware/soa/Source/Testxxxx/deploy/sca_Testxxxx_rev1.0.jar
[deployComposite] Adding sar file - /opt/oracle/middleware/soa/Source/Testxxxx/deploy/sca_Testxxxx_rev1.0.jar
[deployComposite] Creating HTTP connection to host:xx.xxx.xxx.xx, port:5011
[deployComposite] Enter username and password for realm 'default' on host xx.xxx.xxx.xx:5011
[deployComposite] Authentication Scheme: Basic
[deployComposite] Username:
kherass
[deployComposite] Password:
[deployComposite] Received HTTP response from the server, response code=500
[deployComposite] ---->response code=500, error:Error during deployment: Operation failed on node Member(Id=1, Timestamp=2010-10-06 15:54:08.859, Address=xx.xxx.xxx.xx:8088, MachineId=xxxxx, Location=process:28697@xxxxxxxxxx10). Please see local log for details..
BUILD SUCCESSFUL
Total time: 1 minute 10 seconds




You also observe Mid Tier Node Managed Server  log

Example output from Mid Tier Node 1 logs:

From Logs:

NODE 1:


[2010-10-06T16:02:46.693-07:00] [soas_server10] [ERROR] [OWS-00532] [oracle.webservices.runtime] [tid: ReplicatedCache:cdr_stage_domain_cdr_stage_soa_clusterCacheService:EventDispatcher] [userId: <anonymous>] [ecid: 0000Ii3johGF^6BpRWh8id1CfFr5000000,1:24287] [APP: soa-infra] Failed to retrieve policy[[
oracle.wsm.policyaccess.PolicyAccessException: WSM-06132 : Error creating a connection to Oracle WSM Policy Manager.
at oracle.wsm.policyaccess.impl.PMPolicyResolverBase.init(PMPolicyResolverBase.java:113)
at oracle.wsm.policyaccess.impl.remote.RemotePolicyResolver.init(RemotePolicyResolver.java:116)
at oracle.wsm.policyaccess.impl.PolicyAccessResolver.getResolver(PolicyAccessResolver.java:169)
at oracle.wsm.policyaccess.impl.PolicyAccessResolver.getResolver(PolicyAccessResolver.java:98)
at oracle.wsm.policyaccess.impl.PolicyAccessorImpl.processEvent(PolicyAccessorImpl.java:992)
...
... Truncated...
...
at com.tangosol.util.MapListenerSupport.fireEvent(MapListenerSupport.java:557)
at com.tangosol.coherence.component.util.SafeNamedCache.translateMapEvent(SafeNamedCache.CDB:7)
at com.tangosol.coherence.component.util.SafeNamedCache.entryInserted(SafeNamedCache.CDB:1)
at com.tangosol.util.MapEvent.dispatch(MapEvent.java:191)
at com.tangosol.coherence.component.util.CacheEvent.run(CacheEvent.CDB:18)
at com.tangosol.coherence.component.util.daemon.queueProcessor.Service$EventDispatcher.onNotify(Service.CDB:17)
at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:35)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.security.PrivilegedActionException: oracle.wsm.policymanager.PolicyManagerException: WSM-02120 : Unable to connect to the policy access service.
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:373)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms