简体   繁体   English

使用Maven部署到独立Weblogic Server ADF安全应用程序的最佳方法是什么

[英]What is the best way to deploy to a standalone Weblogic Server ADF Secure Application with maven

I'am looking since some days ago to the right way to deploy my ADF Secure Web project with maven to Weblogic server(WLS) 从几天前开始,我一直在寻找将带有Maven的ADF安全Web项目部署到Weblogic服务器(WLS)的正确方法

My problem is this file jazn-data.xml which contains informations about users/groups(roles)/grants. 我的问题是此文件jazn-data.xml包含有关用户/组(角色)/授权的信息。 During the deploy process to WLS the jazn-data.xml muss be merged into system-jazn-data.xml . 在部署到WLS的过程中,将jazn-data.xml合并到system-jazn-data.xml The system-jazn-data.xml is used by WLS to know about the securities settings of an application. WLS使用system-jazn-data.xml来了解应用程序的证券设置。

I add this to my weblogic-application.xml which is supposed to merge jazn-data.xml into system-jazn-data.xml but nothing 我将此添加到我的weblogic-application.xml中,该文件应该将jazn-data.xml合并到system-jazn-data.xml中,但什么也没有

<listener-class>oracle.adf.share.weblogic.listeners.ADFApplicationStateListener</listener-class>

Does somebody already do this with success? 有人已经成功做到了吗? Thanks for all informations 感谢您提供所有信息

Which version are you using, because if you are using 12c it should come out of the box with JDeveloper! 您使用的是哪个版本,因为如果您使用的是12c,它应该与JDeveloper一起使用!

Or else try to use OEPE (Oracle Enterprise Pack for Eclipse) as it packages the application without OJDeploy, you can use that and create your Maven script to take the generated war file and resume from there. 否则尝试使用OEPE (用于Eclipse的Oracle Enterprise Pack)打包应用程序而不使用OJDeploy,则可以使用OEPE并创建Maven脚本来获取生成的war文件并从那里恢复。

@Festus sorry for being late, you can download the project from here , I created one role and have one page in this simple application, I packaged the application using mvn package and installed it in weblogic using Weblogic Console. @Festus很抱歉,您可以从这里下载项目,我在这个简单的应用程序中创建了一个角色,并在其中占了一页,我使用mvn软件包打包了该应用程序,并使用Weblogic Console将其安装在了weblogic中。

One problem I had is my Model connection, I remove the database connection from connections.xml and pointed the model to a weblogic datasource and the application installed successfully. 我遇到的一个问题是我的模型连接,我从connections.xml中删除了数据库连接,然后将模型指向了weblogic数据源,并成功安装了应用程序。

Did you try doing what's in this picture before deploying to maven, also remove users and groups! 在部署到Maven之前,您是否尝试过执行此图中的操作,还删除了用户和组!

This window can be accessed from Application properties 可以从“应用程序”属性访问此窗口

禁用weblogic-config和jazn合并

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 使用Spring和Maven时,将代码部署到服务器的最佳方法是什么? - When using Spring and Maven, what is the best way to deploy the code to the server? 如何在Weblogic应用服务器上部署SpringBoot应用程序? - How to deploy SpringBoot Application on Weblogic application server? 加载.properties文件而无需重新启动WebLogic Server-ADF应用程序 - Load .properties file without restarting WebLogic server - ADF Application 保护Flex-BlazeDS应用程序的最佳方法是什么? - What's the best way to secure a Flex-BlazeDS application? weblogic服务器脚本以编程方式部署应用程序 - weblogic server script to deploy application programmatically Java应用程序部署在Oracle Weblogic服务器中 - Java application deploy in oracle weblogic server 如何在WebLogic服务器上两次部署EAR应用程序? - How to deploy EAR application twice on WebLogic server? 使用 Docker 在 Weblogic 上部署 EAR 的正确方法是什么 - What is the correct way to deploy EAR on Weblogic with Docker 独立服务器上的Weblogic SingletonService - Weblogic SingletonService on a standalone server 将Java桌面应用程序部署到多个平台的最佳方法是什么? - What is the best way to deploy a Java desktop application to multiple platforms?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM