WebLogic 12c中的Liferay 7.1 jars部署期望应用程序类型

时间:2019-01-16 01:17:42

标签: java-ee weblogic web-deployment weblogic12c liferay-7.1

我们使用带有tomcat捆绑包的Liferay DXP 7.1社区版本开发了一个Web应用程序,该捆绑包具有作为单独的WAR文件的主题和布局以及作为JAR文件的少量Portlet,Java服务和API服务。由于该Web应用程序是使用默认的tomcat捆绑软件开发的,因此可以在开发人员的便携式计算机中访问而没有问题。 在测试环境中,我们在Weblogic 12c中安装了企业版的Liferay 7.1。在WebLogic 12c中,我将jars部署为“ library”类型,将war文件部署为“ application”类型。但是该应用程序不可访问并引发错误。当部署示例Web应用程序(war)文件时,测试环境Liferay url可以正常工作,而在将portlet部署为jar文件时,则不能正常工作。但是DXP 7.1将所有portlet都作为jar文件。那么,您能建议解决此问题的方法吗? Liferay 7.1和Weblogic 12c中是否需要进行任何配置才能将7.1 portlet部署为jar? 我看到以下错误。

<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.processActionPerform(ConsolePageFlowRequestProcessor.java:265)>
<Notice> <StdErr> <BEA-000000> <at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)>
<Notice> <StdErr> <BEA-000000> <at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processInternal(PageFlowRequestProcessor.java:556)>
<Notice> <StdErr> <BEA-000000> <at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestProcessor.java:853)>
<Notice> <StdErr> <BEA-000000> <at org.apache.beehive.netui.pageflow.AutoRegisterActionServlet.process(AutoRegisterActionServlet.java:631)>
<Notice> <StdErr> <BEA-000000> <at org.apache.beehive.netui.pageflow.PageFlowActionServlet.process(PageFlowActionServlet.java:158)>
<Notice> <StdErr> <BEA-000000> <at com.bea.console.internal.ConsoleActionServlet.process(ConsoleActionServlet.java:262)>
<Notice> <StdErr> <BEA-000000> <at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)>
<Notice> <StdErr> <BEA-000000> <at com.bea.console.internal.ConsoleActionServlet.doGet(ConsoleActionServlet.java:134)>
<Notice> <StdErr> <BEA-000000> <at org.apache.beehive.netui.pageflow.PageFlowUtils.strutsLookup(PageFlowUtils.java:1199)>
<Notice> <StdErr> <BEA-000000> <at org.apache.beehive.netui.pageflow.PageFlowUtils.strutsLookup(PageFlowUtils.java:1129)>
<Notice> <StdErr> <BEA-000000> <at com.bea.portlet.adapter.scopedcontent.framework.internal.PageFlowUtilsBeehiveDelegate.strutsLookupInternal(PageFlowUtilsBeehiveDelegate.java:43)>
<Notice> <StdErr> <BEA-000000> <at com.bea.portlet.adapter.scopedcontent.framework.PageFlowUtils.strutsLookup(PageFlowUtils.java:108)>
<Notice> <StdErr> <BEA-000000> <at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.executeAction(ScopedContentCommonSupport.java:707)>
<Notice> <StdErr> <BEA-000000> <at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.processActionInternal(ScopedContentCommonSupport.java:141)>
<Notice> <StdErr> <BEA-000000> <at com.bea.portlet.adapter.scopedcontent.PageFlowStubImpl.processAction(PageFlowStubImpl.java:108)>
<Notice> <StdErr> <BEA-000000> <at com.bea.portlet.adapter.NetuiActionHandler.raiseScopedAction(NetuiActionHandler.java:111)>
<Notice> <StdErr> <BEA-000000> <at com.bea.netuix.servlets.controls.content.NetuiContent.raiseScopedAction(NetuiContent.java:181)>
<Notice> <StdErr> <BEA-000000> <at com.bea.netuix.servlets.controls.content.NetuiContent.raiseScopedAction(NetuiContent.java:167)>
<Notice> <StdErr> <BEA-000000> <at com.bea.netuix.servlets.controls.content.NetuiContent.handlePostbackData(NetuiContent.java:225)>
<Notice> <StdErr> <BEA-000000> <at com.bea.netuix.nf.ControlLifecycle$2.visit(ControlLifecycle.java:180)>
<Notice> <StdErr> <BEA-000000> <at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:324)>
<Notice> <StdErr> <BEA-000000> <at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)>
<Notice> <StdErr> <BEA-000000> <at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)>
<Notice> <StdErr> <BEA-000000> <at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)>
<Notice> <StdErr> <BEA-000000> <at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)>
<Notice> <StdErr> <BEA-000000> <at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)>
<Notice> <StdErr> <BEA-000000> <at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)>
<Notice> <StdErr> <BEA-000000> <at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)>
<Notice> <StdErr> <BEA-000000> <at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)>
<Notice> <StdErr> <BEA-000000> <at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)>
<Notice> <StdErr> <BEA-000000> <at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)>
<Notice> <StdErr> <BEA-000000> <at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)>
<Notice> <StdErr> <BEA-000000> <at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)>
<Notice> <StdErr> <BEA-000000> <at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)>
<Notice> <StdErr> <BEA-000000> <at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)>
<Notice> <StdErr> <BEA-000000> <at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)>
<Notice> <StdErr> <BEA-000000> <at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)>
<Notice> <StdErr> <BEA-000000> <at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)>
<Notice> <StdErr> <BEA-000000> <at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)>
<Notice> <StdErr> <BEA-000000> <at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)>
<Notice> <StdErr> <BEA-000000> <at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)>
<Notice> <StdErr> <BEA-000000> <at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)>
<Notice> <StdErr> <BEA-000000> <at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:130)>
<Notice> <StdErr> <BEA-000000> <at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:399)>
<Notice> <StdErr> <BEA-000000> <at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361)>
<Notice> <StdErr> <BEA-000000> <at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:352)>
<Notice> <StdErr> <BEA-000000> <at com.bea.netuix.nf.Lifecycle.runInbound(Lifecycle.java:184)>
<Notice> <StdErr> <BEA-000000> <at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:159)>
<Notice> <StdErr> <BEA-000000> <at com.bea.netuix.servlets.manager.UIServlet.runLifecycle(UIServlet.java:465)>
<Notice> <StdErr> <BEA-000000> <at com.bea.netuix.servlets.manager.UIServlet.doPost(UIServlet.java:291)>
<Notice> <StdErr> <BEA-000000> <at com.bea.netuix.servlets.manager.UIServlet.service(UIServlet.java:219)>
<Notice> <StdErr> <BEA-000000> <at com.bea.netuix.servlets.manager.SingleFileServlet.service(SingleFileServlet.java:275)>
<Notice> <StdErr> <BEA-000000> <at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)>
<Notice> <StdErr> <BEA-000000> <at com.bea.console.utils.MBeanUtilsInitSingleFileServlet.service(MBeanUtilsInitSingleFileServlet.java:64)>
<Notice> <StdErr> <BEA-000000> <at weblogic.servlet.AsyncInitServlet.service(AsyncInitServlet.java:125)>
<Notice> <StdErr> <BEA-000000> <at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:286)>
<Notice> <StdErr> <BEA-000000> <at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:260)>
<Notice> <StdErr> <BEA-000000> <at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:137)>
<Notice> <StdErr> <BEA-000000> <at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:350)>
<Notice> <StdErr> <BEA-000000> <at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25)>
<Notice> <StdErr> <BEA-000000> <at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78)>
<Notice> <StdErr> <BEA-000000> <at com.bea.console.internal.ParamFilter.doFilter(ParamFilter.java:38)>
<Notice> <StdErr> <BEA-000000> <at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78)>
<Notice> <StdErr> <BEA-000000> <at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:32)>
<Notice> <StdErr> <BEA-000000> <at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78)>
<Notice> <StdErr> <BEA-000000> <at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3683)>
<Notice> <StdErr> <BEA-000000> <at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3649)>
<Notice> <StdErr> <BEA-000000> <at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:326)>
<Notice> <StdErr> <BEA-000000> <at weblogic.security.service.SecurityManager.runAsForUserCode(SecurityManager.java:197)>
<Notice> <StdErr> <BEA-000000> <at weblogic.servlet.provider.WlsSecurityProvider.runAsForUserCode(WlsSecurityProvider.java:203)>
<Notice> <StdErr> <BEA-000000> <at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:71)>
<Notice> <StdErr> <BEA-000000> <at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2433)>
<Notice> <StdErr> <BEA-000000> <at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2281)>
<Notice> <StdErr> <BEA-000000> <at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2259)>
<Notice> <StdErr> <BEA-000000> <at weblogic.servlet.internal.ServletRequestImpl.runInternal(ServletRequestImpl.java:1692)>
<Notice> <StdErr> <BEA-000000> <at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1652)>
<Notice> <StdErr> <BEA-000000> <at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:272)>
<Notice> <StdErr> <BEA-000000> <at weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:348)>
<Notice> <StdErr> <BEA-000000> <at weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:333)>
<Notice> <StdErr> <BEA-000000> <at weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:54)>
<Notice> <StdErr> <BEA-000000> <at weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)>
<Notice> <StdErr> <BEA-000000> <at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:640)>
<Notice> <StdErr> <BEA-000000> <at weblogic.work.ExecuteThread.execute(ExecuteThread.java:406)>
<Notice> <StdErr> <BEA-000000> <at weblogic.work.ExecuteThread.run(ExecuteThread.java:346)>
<Notice> <StdErr> <BEA-000000> <Caused by: weblogic.application.compiler.NoClaimsFactoryException: Unable to find a suitable factory among registered factories>
<Notice> <StdErr> <BEA-000000> <at weblogic.application.compiler.FactoryManager.create(FactoryManager.java:110)>
<Notice> <StdErr> <BEA-000000> <at weblogic.application.compiler.ToolsFactoryManager.createStandaloneModule(ToolsFactoryManager.java:120)>
<Notice> <StdErr> <BEA-000000> <at weblogic.application.compiler.flow.SingleModuleFlow.compile(SingleModuleFlow.java:40)>
<Notice> <StdErr> <BEA-000000> <at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:70)>
<Notice> <StdErr> <BEA-000000> <at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:45)>
<Notice> <StdErr> <BEA-000000> <at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:37)>

0 个答案:

没有答案