Wednesday, July 10, 2013

SOA Suite Installation problem related to ‘soa-infra’ application

I have installed the SOA Suite on RHEL 5.8 and started the soa_server1 successfully, but later realized that ‘soa-infra’ component is in failed status as result at EM console I am not able to see the ‘SOA’ module at all. 

I spent plenty of time to go through the logs file of soa_server1 managed server but was not able to figure out much why it happened since it was new installation and I have followed all the installation steps as suggested in installation guide and in logs file there were many different error message were given related to soa-infra application. Here are few of them listed –

<Jul 9, 2013 5:24:59 PM EST> <Warning> <J2EE> <BEA-160140> <Unresolved optional package references (in META-INF/MANIFEST.MF): [Extension-Name: oracle.soa.apps, Specification-Version: 11.1.1, Implementation-Version: 11.1.1, referenced from: /u01/app/oracle/domains/DEV1_eQSOADomain/servers/soa_server1/tmp/_WL_user/soa-infra/ztorh]. Make sure the referenced optional package has been deployed as a library.>

<Jul 9, 2013 5:25:06 PM EST> <Warning> <EJB> <BEA-015036> <In the EJB PeopleQueryMDB(Application: soa-infra, EJBComponent: oracle.bpm.bpm-services.ejb.jar), the value for the activation config property 'connectionFactoryJNDIName' will be ignored since it is overridden with the value 'jms/bpm/PeopleQueryConnectionFactory';>

<Jul 9, 2013 5:25:10 PM EST> <Warning> <Munger> <BEA-2156203> <A version attribute was not found in element web-app in the deployment descriptor in /u01/app/oracle/domains/DEV1_eQSOADomain/servers/soa_server1/tmp/_WL_user/soa-infra/ztorh/agadminservice.war/WEB-INF/web.xml. A version attribute is required, but this version of the Weblogic Server will assume that the JEE5 is used. Future versions of the Weblogic Server will reject descriptors that do not specify the JEE version.>

####<Jul 9, 2013 5:26:02 PM EST> <Error> <Deployer> <TCS-SOA> <soa_server1> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <11d1def534ea1be0:1510ae5:13fc251426a:-8000-0000000000000003> <1373354762472> <BEA-149231> <Unable to set the activation state to true for the application 'soa-infra'.
                at weblogic.servlet.internal.WebAppModule.startContexts(
                at weblogic.servlet.internal.WebAppModule.start(
                at weblogic.application.internal.flow.ModuleStateDriver$
                at weblogic.application.utils.StateMachineDriver.nextState(
                at weblogic.application.internal.flow.ModuleStateDriver.start(
                at weblogic.application.internal.flow.ScopedModuleDriver.start(
                at weblogic.application.internal.flow.ModuleListenerInvoker.start(
                at weblogic.application.internal.flow.ModuleStateDriver$
                at weblogic.application.utils.StateMachineDriver.nextState(
                at weblogic.application.internal.flow.ModuleStateDriver.start(
                at weblogic.application.internal.flow.StartModulesFlow.activate(
                at weblogic.application.internal.BaseDeployment$
                at weblogic.application.utils.StateMachineDriver.nextState(
                at weblogic.application.internal.BaseDeployment.activate(
                at weblogic.application.internal.EarDeployment.activate(
                at weblogic.application.internal.DeploymentStateChecker.activate(
                at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(
                at weblogic.deploy.internal.targetserver.BasicDeployment.activate(
                at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(
Caused By: java.lang.NoClassDefFoundError: weblogic/sca/api/ScaReferenceProcessor

Was  completely stuck with the problem, looking at error message I thought something might have wrong with the binaries what I have download.

I have discussed this issue with Oracle guys to confirm the reason of failure and the solution which came out after discussion was quite surprised for me but its worked and I was able to start the ‘soa-infa’ component after that.


Oracle suggested that if you do Weblogic 10.3.6 installation using silent mode there are few jars files get missed during installation, this is known bug and Oracle support is working on that. In my case I have done the installation using silent mode only.

So to get those jar files the only way you need to run the Weblogic installation using ‘Graphical’ mode and get those jar, copy it to your previous installation location and restart the server. I did all these steps, and I was wonder issue got resolved after that. So missing jar is listed here –

Location: $MiddlewareHome/modules folder

Location: $MiddlewareHome/modules/features folder


Just get all above jar files from the weblogic installation which is done through graphical installation and copy it to your previous installation and restart the soa server.

Note: Don’t much focus on the version of jar, since this issue I believe is with old Weblogic version as well e.g., etc.


1 comment: