Pages

Wednesday, July 10, 2013

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



I have installed the SOA Suite 11.1.1.7 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'.
weblogic.application.ModuleException:
                at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1520)
                at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:484)
                at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
                at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
                at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
                at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:201)
                at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:249)
                at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:427)
                at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
                at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
                at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:28)
                at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:672)
                at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
                at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
                at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:59)
                at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
                at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
                at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)
                at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)
                at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:52)
                at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)
                at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:31)
                at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)
                at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:170)
                at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:124)
                at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:181)
                at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:97)
                at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
                at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
                at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
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.


Solution:

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

com.oracle.weblogic.sca.engine_1.2.0.0.jar
com.oracle.ws.http_client_1.3.0.0.jar
com.oracle.ws.orawsdl_1.3.0.0.jar
ws.databinding.plugins_1.2.0.0.jar
ws.databinding_1.2.0.0.jar

Location: $MiddlewareHome/modules/features folder

weblogic.server.modules.sca_10.3.4.0.jar
weblogic.server.modules.sca_10.3.4.0.xml

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. 10.0.3.3, 10.0.3.4 etc.

Regards..
Manish

No comments:

Post a Comment