[英]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 可以从“应用程序”属性访问此窗口
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.