Home > SOA issues > SOA Error : It is not advisable to execute any operations on this soa-infra until this warning goes away.

SOA Error : It is not advisable to execute any operations on this soa-infra until this warning goes away.

Warning
Initializing SOA…

Even though this soa-infra target is up, some SOA Fabric components and composite applications are still loading. You may need to allow some time for the initialization to complete, and later click the Refresh Page icon.

It is not advisable to execute any operations on this soa-infra until this warning goes away.

soaerror

Initializing SOA…

Even though this soa-infra target is up, some SOA Fabric components and composite applications are still loading. You may need to allow some time for the initialization to complete, and later click the Refresh Page icon.

It is not advisable to execute any operations on this soa-infra until this warning goes away.

 

Sol: At this time we cant perform any activity like undeploy the composites. Only thing is remove all composites from unix.

Download for ShareSoaInfraPartition.ear from below

 

We have followed the Meta link note 1380835.1 to un-deploy the corrupted composite and bring up the soa-infra application.

Thought of sharing the same here, it may help whoever facing the same issue.

The SOA composites can’t be un-deployed when the soa-infra application. The below steps will help you to un-deploy the SOA composites when the soa-infra application is down.

  • First check the soa logs and identify which composite is causing the problem
  • Download and copy the ShareSoaInfraPartition.ear file to $MWHOME/Oracle_SOA/common/bin
  • Execute $MWHOME/Oracle_SOA/common/bin/wlst.sh
  •  connect()

Provide username, password and server URL

  • Run the below command to deploy ShareSoaInfraPartition.ear

deploy(‘ShareSoaInfraPartition’,’ShareSoaInfraPartition.ear’,upload=’true’)

  • Now run the below command by changing the “toLocation” (‘/fmw11g/Middleware’ is some location path on SOA machine)

EXAMPLE:

-rwxrwxrwx. 1 oracle oinstall 692224 May 10 16:15 ShareSoaInfraPartition.ear
[STG:oracle@xxxxxxx:/opt/app/oracle/11g/mwhome/oracle_common/common/bin]$ . ./wlst.sh

CLASSPATH=/opt/app/oracle/11g/mwhome/patch_wls1036/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/opt/app/oracle/11g/mwhome/patch_ocp371/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/opt/app/oracle/11g/mwhome/jdk/lib/tools.jar:/opt/app/oracle/11g/mwhome/wlserver_10.3/server/lib/weblogic_sp.jar:/opt/app/oracle/11g/mwhome/wlserver_10.3/server/lib/weblogic.jar:/opt/app/oracle/11g/mwhome/modules/features/weblogic.server.modules_10.3.6.0.jar:/opt/app/oracle/11g/mwhome/wlserver_10.3/server/lib/webservices.jar:/opt/app/oracle/11g/mwhome/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/opt/app/oracle/11g/mwhome/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar::/opt/app/oracle/11g/mwhome/oracle_common/modules/oracle.jrf_11.1.1/jrf-wlstman.jar:/opt/app/oracle/11g/mwhome/oracle_common/common/wlst/lib/adfscripting.jar:/opt/app/oracle/11g/mwhome/oracle_common/common/wlst/lib/adf-share-mbeans-wlst.jar:/opt/app/oracle/11g/mwhome/oracle_common/common/wlst/lib/mdswlst.jar:/opt/app/oracle/11g/mwhome/oracle_common/common/wlst/resources/auditwlst.jar:/opt/app/oracle/11g/mwhome/oracle_common/common/wlst/resources/igfwlsthelp.jar:/opt/app/oracle/11g/mwhome/oracle_common/common/wlst/resources/jps-wlst.jar:/opt/app/oracle/11g/mwhome/oracle_common/common/wlst/resources/jps-wls-trustprovider.jar:/opt/app/oracle/11g/mwhome/oracle_common/common/wlst/resources/jrf-wlst.jar:/opt/app/oracle/11g/mwhome/oracle_common/common/wlst/resources/oamap_help.jar:/opt/app/oracle/11g/mwhome/oracle_common/common/wlst/resources/oamAuthnProvider.jar:/opt/app/oracle/11g/mwhome/oracle_common/common/wlst/resources/ossoiap_help.jar:/opt/app/oracle/11g/mwhome/oracle_common/common/wlst/resources/ossoiap.jar:/opt/app/oracle/11g/mwhome/oracle_common/common/wlst/resources/ovdwlsthelp.jar:/opt/app/oracle/11g/mwhome/oracle_common/common/wlst/resources/sslconfigwlst.jar:/opt/app/oracle/11g/mwhome/oracle_common/common/wlst/resources/wsm-wlst.jar:/opt/app/oracle/11g/mwhome/utils/config/10.3/config-launch.jar::/opt/app/oracle/11g/mwhome/wlserver_10.3/common/derby/lib/derbynet.jar:/opt/app/oracle/11g/mwhome/wlserver_10.3/common/derby/lib/derbyclient.jar:/opt/app/oracle/11g/mwhome/wlserver_10.3/common/derby/lib/derbytools.jar::

Initializing WebLogic Scripting Tool (WLST) …

Welcome to WebLogic Server Administration Scripting Shell

Type help() for help on available commands
wls:/offline> connect()
Please enter your username :soaadmin
Please enter your password :xxxxxxx
Please enter your server URL [t3://localhost:7001] :t3://xxxxxx.xxx.xxxxxx.com:60000
Connecting to t3://xxxxx.staging.xxxxxx.com:60000 with userid soaadmin …
Successfully connected to Admin Server ‘soa_adminserver’ that belongs to domain ‘soa_domain’.

Warning: An insecure protocol was used to connect to the
server. To ensure on-the-wire security, the SSL port or
Admin port should be used instead.

wls:/soa_domain/serverConfig> deploy(‘ShareSoaInfraPartition’,’ShareSoaInfraPartition.ear’,upload=’true’)
Deploying application from /opt/app/oracle/11g/mwhome/oracle_common/common/bin/ShareSoaInfraPartition.ear to targets (upload=true) …

<May 10, 2016 4:51:58 PM MDT> <Info> <J2EE Deployment SPI> <BEA-260121> <Initiating deploy operation for application, ShareSoaInfraPartition [archive: /opt/app/oracle/11g/mwhome/oracle_common/common/bin/ShareSoaInfraPartition.ear], to soa_adminserver .>
…..Completed the deployment of Application with status completed
Current Status of your Deployment:
Deployment command type: deploy
Deployment State : completed
Deployment Message : [Deployer:149194]Operation ‘deploy’ on application ‘ShareSoaInfraPartition’ has succeeded on ‘soa_adminserver’

 

wls:/soa_domain/serverConfig> exportMetadata(application=’ShareSoaInfraPartition’,server=’soa_adminserver’,toLocation=’/tmp’,docs=’/deployed-composites/deployed-composites.xml’)

Executing operation: exportMetadata.

Operation “exportMetadata” completed. Summary of “exportMetadata” operation is:
List of documents successfully transferred:

/deployed-composites/deployed-composites.xml

1 documents successfully transferred.
wls:/soa_domain/serverConfig>
wls:/soa_domain/serverConfig> importMetadata(application=’ShareSoaInfraPartition’,server=’soa_adminserver’,fromLocation=’/tmp’,docs=’/deployed-composites/deployed-composites.xml’)

Executing operation: importMetadata.

Operation “importMetadata” completed. Summary of “importMetadata” operation is:
List of documents successfully transferred:

/deployed-composites/deployed-composites.xml

1 documents successfully transferred.
wls:/soa_domain/serverConfig>

 

 

Advertisements
Categories: SOA issues
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: