0 Replies Latest reply on Jan 16, 2019 1:40 AM by 3868039

    Deployment of Liferay 7.1 portlet jars in Weblogic 12c not detecting the jar files.

    3868039

      We have developed a Web application using Community version of Liferay DXP 7.1 with tomcat bundle that has Themes and Layouts as separate WAR files and few portlets, java services, API services as JAR files. The web application is accessible in the developer's laptop without issues since it is developed using the default tomcat bundle.

      In the testing environment, we have the Enterprise version of Liferay 7.1 installed in Weblogic 12c. I have deployed the jars as type "library" and war files as type "application" in WebLogic 12c. But the application is not accessible and throwing errors. The testing environment Liferay url is working fine when sample web application (war) file is deployed but not working when portlets are deployed as jar files.

      But DXP 7.1 has all the portlets as jar files. So could you suggest the ways to figure out this issue? Is there any configuration required in Liferay 7.1 and in Weblogic 12c to deploy 7.1 portlets as jar? I am seeing the below error.

      <Error> <J2EE> <BEA-160231> <Unable to identify application type for sample-portlet-1.0.0.jar> <Error> <J2EE> <BEA-160228> <AppMerge failed to merge your application. If you are running AppMerge on the command-line, merge again with the -verbose option for more details. See the error message(s) below.> <Notice> <StdErr> <BEA-000000> <weblogic.utils.compiler.ToolFailureException: Unable to find a suitable factory among registered factories> <Notice> <StdErr> <BEA-000000> <at weblogic.application.compiler.FlowDriver.handleStateChangeException(FlowDriver.java:55)> <Notice> <StdErr> <BEA-000000> <at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:38)> <Notice> <StdErr> <BEA-000000> <at weblogic.application.compiler.AppMerge.runBody(AppMerge.java:146)> <Notice> <StdErr> <BEA-000000> <at weblogic.utils.compiler.Tool.run(Tool.java:159)> <Notice> <StdErr> <BEA-000000> <at weblogic.utils.compiler.Tool.run(Tool.java:116)> <Notice> <StdErr> <BEA-000000> <at weblogic.application.compiler.AppMerge.merge(AppMerge.java:158)> <Notice> <StdErr> <BEA-000000> <at weblogic.deploy.api.internal.utils.AppMerger.merge(AppMerger.java:94)> <Notice> <StdErr> <BEA-000000> <at weblogic.deploy.api.internal.utils.AppMerger.getMergedApp(AppMerger.java:58)> <Notice> <StdErr> <BEA-000000> <at weblogic.deploy.api.model.internal.WebLogicDeployableObjectFactoryImpl.createDeployableObject(WebLogicDeployableObjectFactoryImpl.java:186)> <Notice> <StdErr> <BEA-000000> <at weblogic.deploy.api.model.internal.WebLogicDeployableObjectFactoryImpl.createLazyDeployableObject(WebLogicDeployableObjectFactoryImpl.java:160)> <Notice> <StdErr> <BEA-000000> <at weblogic.deploy.api.tools.SessionHelper.inspect(SessionHelper.java:777)> <Notice> <StdErr> <BEA-000000> <at com.bea.console.actions.app.install.Flow$2.execute(Flow.java:530)> <Notice> <StdErr> <BEA-000000> <at com.bea.console.utils.DeploymentUtils.runDeploymentAction(DeploymentUtils.java:5646)> <Notice> <StdErr> <BEA-000000> <at com.bea.console.actions.app.install.Flow.appSelected(Flow.java:528)> <Notice> <StdErr> <BEA-000000> <at sun.reflect.GeneratedMethodAccessor9658.invoke(Unknown Source)> <Notice> <StdErr> <BEA-000000> <at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)> <Notice> <StdErr> <BEA-000000> <at java.lang.reflect.Method.invoke(Method.java:498)> <Notice> <StdErr> <BEA-000000> <at org.apache.beehive.netui.pageflow.FlowController.invokeActionMethod(FlowController.java:870)> <Notice> <StdErr> <BEA-000000> <at org.apache.beehive.netui.pageflow.FlowController.getActionMethodForward(FlowController.java:809)> <Notice> <StdErr> <BEA-000000> <at org.apache.beehive.netui.pageflow.FlowController.internalExecute(FlowController.java:478)> <Notice> <StdErr> <BEA-000000> <at org.apache.beehive.netui.pageflow.PageFlowController.internalExecute(PageFlowController.java:306)> <Notice> <StdErr> <BEA-000000> <at org.apache.beehive.netui.pageflow.FlowController.execute(FlowController.java:336)> <Notice> <StdErr> <BEA-000000> <at org.apache.beehive.netui.pageflow.internal.FlowControllerAction.execute(FlowControllerAction.java:52)> <Notice> <StdErr> <BEA-000000> <at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)> <Notice> <StdErr> <BEA-000000> <at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.access$201(PageFlowRequestProcessor.java:97)> <Notice> <StdErr> <BEA-000000> <at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor$ActionRunner.execute(PageFlowRequestProcessor.java:2044)> <Notice> <StdErr> <BEA-000000> <at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors$WrapActionInterceptorChain.continueChain(ActionInterceptors.java:64)> <Notice> <StdErr> <BEA-000000> <at org.apache.beehive.netui.pageflow.interceptor.action.ActionInterceptor.wrapAction(ActionInterceptor.java:184)> <Notice> <StdErr> <BEA-000000> <at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors$WrapActionInterceptorChain.invoke(ActionInterceptors.java:50)> <Notice> <StdErr> <BEA-000000> <at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors$WrapActionInterceptorChain.continueChain(ActionInterceptors.java:58)> <Notice> <StdErr> <BEA-000000> <at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors.wrapAction(ActionInterceptors.java:87)> <Notice> <StdErr> <BEA-000000> <at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processActionPerform(PageFlowRequestProcessor.java:2116)> <Notice> <StdErr> <BEA-000000> <at com.bea.console.internal.ConsolePageFlowRequestProcessor.p