Security of ADF 11g to deploy to weblogic

Hello

I put in place in Jdev which works well since jdev ADF security.
Now, I need to deploy in weblogic.
What is the deployment process and other configurations in Weblogic?
I created many users and roles in jdev and did the def permission with these roles page.
It is automatically created in weblogic when I deploy?

Kind regards
Sam

Sam,

Fortunately, [url http://download.oracle.com/docs/cd/E16162_01/web.1112/e16182/adding_security.htm#CDDGFDFH] documentation has the answers.

John

Tags: Java

Similar Questions

  • How to add jsession ID to an ADF web application deployed in weblogic server?

    Hello

    I use jdeveloper 11.1.2.4 version. Can anyone tell please how to add custom JSESSIONID (BLTSESSIONID) to the URL of the web application ADF that must be deployed in weblogic server. I tried the following approach. but it did not work for me.

    in webogic.xml, I added

    < session descriptor - >

    < name > BLTSESSIONID < / cookie-name >

    < / session descriptor >

    However, I've added the weblogic.xml manually from the gallery.

    Could someone help me on this please?

    Thank you

    You don't have to add the session ID to the URL. The Web application automatically manages session IDS. By default, it uses an HTTP cookie (a cookie with name JSESSIONID) therefor. The Web application will automatically add it to the URL only if it detects that the client browser does not support cookies (for example, if the user has disabled cookies in the browser). By adding the lines above to weblogic.xml you just changed the name of cookie JSESSIONID to BLTSESSIONID default session. This is useful only if you have access to a couple of different Web applications from one and the same server and you want every application to maintain a clean session (for example, each application having a different session cookie name). If all applications on the server use one and same name cookie (JSESSIONID for example) and you have access to more than one application at the same time in one and the same browser (and even multiple instances of the browser, with the exception of some special cases), you will not be able to work with these applications correctly because the next access to another application will replace the cookie and you will lose the session to the requests earlier. Because HTTP cookies are maintained at the level of server name, it's not at the level of application root. In this case, you must specify the application names specific cookie (what you did above).

    Dimitar

  • Aplications of security deployed on weblogic

    Hi all I have a very interesting question...

    I have a 220 applications deployed in weblogic (10.3) with EJB & JSPX (model, view, controller) structure in jdeveloper (10.1.3.3)
    Well well all applications have a diferent HttpSession (Adf)
    How can I pass a parameter or variable to 220 aplications of the session or a branding throughout the app

    Thax for all help

    Hello

    (a) use query parameters
    (b) as far as I understand WLS has an exclusive session sharing feature that you can activate
    (c) use the uniwue users and use the database as a shared memory scope
    (d) cookies temporary client-side

    Frank

    Published by: Frank Nimphius, 15 March 2010 08:40

  • Application of the ADF does not work after deployment to weblogic Server (quartz Scheduler is used)

    I created a Web merger Application using Jdeveloper 11.1.1.7. I use quartz Scheduler that will run the application automatically according to a predefined interval.

    The application works perfectly in Jdeveloper and no problem at all. The problem is when the application is deployed on weblogic server.

    Simply, the Scheduler is not rely on weblogic server and the application is not running.

    Any idea what can cause this problem? any idea would be appreciated, thanks in advance

    You should check the server logs in order to understand what happens when you call the Scheduler. There, you will come to know if there is an error message.

    Actually, it's the only way that outside help me to solved the problem. It has nothing to do with the quartz Scheduler , it was question of jdbc where the connection to the application module was not set correctly. Problem solved with application module configuration changed to use instead of the URL JDBC data source

  • Still Viable? Simplified ADF 11g request information of identification &amp; Migration Policy

    Hello

    I use a standalone WLS 10.3.6 that's been patched with the latest installer of Oracle Application Developer to get libraries installed JRF. My config of ADF security in my application is dead simple: just the user as authenticated. JPs-config uses the default identity XML storage and the policy store. It's quite good for WLS to use the DefaultAuthenticator.

    When I deploy with JDev, the app is secure and I can connect with the weblogic user. Mission accomplished.

    When I manually deploy the EAR, I note the following:

    1. the enforcement strategies ARE in the config/fmwconfig/system-jazn-data.xml
    2. the config/fmwconfig/jps-config.xml is intact
    3. the request is not assured: I can hit the pages of anonymously.

    So, I'm trying to follow "simplified ADF 11 g request for credentials and the policy Migration to stand-alone WebLogic Server":
    http://www.Oracle.com/technetwork/developer-tools/jdev/index-089066.html

    ... but the download links for the build.xml and jps-config. The XML that is created for the article no longer works.

    Is it always the best way to accomplish is ADF security enabled without using JDeveloper to deploy?
    If so, what someone has those files at hand?

    Thank you

    Mark

    Try to deploy using the command of Fusion Middleware Enterprise manager. There you have the possibility to add or ignore the security policy that is shipped with your app EAR. Make sure you only set your security parameters in weblogic custom roles, so you can view and modify the policy of security through EM.
    I hope this helps.

  • File. WAR deployment error: weblogic. failed to preload at startup in a Web application:

    Hello

    I'm dealing with deployment error while installing the file. War on weblogic server. When I run my application of webservices plsql in integrated weblogic server, it works fine... When I tried to package it and deploy on weblogic, it gives following error, pls could anyone help on this topic.

    Pls. note I've created connections to database through the wizard for the creation of webservices plsql, data source name is created under weblogic domain-> services-> jdbc-> data source in the application server. Even then, I'm not able to succeed with the deployment. Appreciate your help, thank you.

    I used jdeveloper 11.1.1 g for the construction of pl/sql based Web application services.

    Message icon - Error An error occurred during activation of the changes, please see the log for more details.

    Message icon - Error [HTTP:101216] Servlet: 'FinanceCreateInvoicePort' failed by preloading at startup in a Web application: "PLSQLWebServices-Project1-context - root.war. java.sql.SQLException: error looking up < java: comp/env/jdbc/CreateInvDBconnDS >: to createinvdbconn. FinanceCreateInvoiceBase. < init > (FinanceCreateInvoiceBase.java:33) to createinvdbconn. FinanceCreateInvoiceUser. < init > (FinanceCreateInvoiceUser.java:11) at sun.reflect.NativeConstructorAccessorImpl.newInstance0 (Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at java.lang.Class.newInstance0(Class.java:355) at java.lang.Class.newInstance(Class.java:308) at weblogic.wsee.component.pojo.JavaClassComponent.createTarget(JavaClassComponent.java:49) at weblogic.wsee.component.pojo.JavaClassComponent. < init > (JavaClassComponent.java:40) at weblogic.wsee.ws.WsBuilder.setComponent(WsBuilder.java:1907) at weblogic.wsee.ws.WsBuilder.buildService(WsBuilder.java:215) at weblogic.wsee.ws.WsFactory.createServerService(WsFactory.java:54) at weblogic.wsee.deploy.ServletDeployInfo.createWsService(ServletDeployInfo.java:91) at weblogic.wsee.deploy.DeployInfo.createWsPort(DeployInfo.java:368) at weblogic.wsee.server.servlet.BaseWSServlet.init(BaseWSServlet.java:83) at javax.servlet.GenericServlet.init(GenericServlet.java:241) at weblogic.servlet.internal.StubSecurityHelper$ ServletInitAction.run (StubSecurityHelper.java:283) to



    Thank you

    Devendra




    Define the JNDI name as jdbc /CreateInvDBconnDS instead of CreateInvDBconn

    What makes research JNDI as java: comp/env/jdbc/CreateInvDBconnDS with java: comp/env/added by default.

    ADF expects this JNDI name to start with jdbc / and end with the DS.

  • Deploy to Weblogic 10.3.3 Jdeveloper 11.1.2.0.0

    Hi all

    Currently I deploy my project of JDev11G version 11.1.1.0.2 to Oracle Weblogic 10.3.3.

    During the deployment, I create JAR, WAR and EAR file and deploy on weblogic.

    But now when I use version 11.1.2.0.0 of the JDev11G and deploy to Weblogic Orracle 10.3.3, it's impossible!

    Something wrong?

    And what is MAR file in JDev11G 11.1.2.0.0?

    TQ for your help

    Kind regards
    Kjetil andre

    Hello

    But now when I use version 11.1.2.0.0 of the JDev11G and deploy to Weblogic Orracle 10.3.3, it's impossible!
    Something wrong?

    Yes, you need a WLS 10.1.3.5 patched version

    http://www.Oracle.com/technetwork/developer-tools/jdev/shermanrelnotes-405777.html#deploy

    "Upgrade to a 11.1.1.5 Server Application with JSF 2.0 Shared Libraries to run 11.1.2.0.0 Applications.

    The duration of the ADF will move into a stand-alone application server by applying an Opatch bundle on top a PS4 11.1.1.5 shiphome of application developer version. In case additional fixes are necessary or desired in addition Sherman 11.1.2 patch (for example, if an additional patch is needed for another component in the execution of the Application Development shiphome), these patches must be installed separately.

    ...

    "

    And what is MAR file in JDev11G 11.1.2.0.0?

    Its a file from archive MDS you use to deploy metadata customizations

    Frank

  • Secure navigation - ADF 11 g

    Hello

    What is the best way to apply < b > < /b > Secure navigation in an application-ADF 11g web, such that a single user can access certain pages and/or Transact (through the command links, for example) at the same time, two different browsers, or tabs?

    Hello

    in JDeveloper 11.1.1.2 (R1-PatchSet1), you can wrap the page in a workflow frontiere8 and set the workflow property to prevent direct browser access. In this way, the page can be opened to a workflow activity. You can then think about a mechnism which - task flow initialization - that verifies if the authenticated user is already registeerd for the flow of demand with the task. If so, to deny access

    Frank

  • Composite SOA deployed in weblogic service is automatically triggered

    Hi all

    Face a strange behavior in weblogic server.

    Some SOA compounds deployed in weblogic server (10.3.5.0) automatically fires at midnight at 13:00 and they are working for more than 4 hours, and then the process gets failing.

    can you please let me know, is there a set timer in weblogic server.

    I'm waiting :)

  • OBIEE on RHEL5.5 using clusters of 4 nodes deployed on weblogic

    This is my first experience of installation production enviornament OBI. I have to install OBIEE 10.1.3.4.1 on four servers IBM HS22 blade, under RHEL 5.5, deployed on Weblogic active/active. WebLogic will be clustered. I am confused of installation steps, please correct me if the following steps are false:
    Step 1: install Weblogic on Node1 and configure Weblogic clustering on other 3 nodes.
    SETP 2: install OBIEE on all 4 nodes. Complete installation, non-specific product, by using the Advanced installation type. so that all the components are installed on all nodes
    Step 3: Configure the clustering in OBIEE keeping Node1 as master BI Server, main Cluster controller, Senior Planner.

    This does not mean that you must share the folders. This means that you need folders for all of these files. If you need get a SAN or NAS storage and mount it on all servers in the cluster. Then reposition the folder locations in the configuration files to the shared location of netwrok.

  • Hyperion deploy to Weblogic error?

    I want to configure Hyperion Foundation service and deployed on weblogic.
    1. I first install the Weblogic 10.3.2.0, it is installed on c:/Oracle/Middleware/default folder
    2. when I configure Hyperion Foundation, I select Weblogic, but it appears until the weblogic server location: c:/bea/weblogic92 by default.
    3. If I use c:/bea/weblogic92 as default folder, it displays error message
    4. If I use change c:/Oracle/Middleware/in the folder of the weblogic server, yet the pop-up error message

    What wrong with my setup?

    Thank you!

    In the doc of the matrix management, it's always down like weblogic 9.2.x as the last to be supported.

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • 11g: deployment of WebLogic failing (data sources)

    Hello!

    Now, I'm trying to deploy my application ADF BC/Faces RC to an external server in WebLogic.
    I have deploy a WAR file. But the data connection is missing and my application reports that the connection was not found.

    My WAR file inspection, I realized that the connections.xml file is not deployed... for some reason any. Also, the store of credentials is not deployed.
    Very well, I thought. So I don't have to convert the store of credentials on the external server. We will use a data source.

    So I tried to change the configuration of my AM to a data source (java: comp/env/jdbc/MEDORADS).

    In WebLogic, I have created the data source with JNDI name ' comp/env/jdbc/MEDORADS', set up the database (the test succeeded) and he attributed to target AdminServer. Then I transferred my application to AdminServer.

    When I now call the application, I get a: "failed JNDI. "Impossible to search for Source of data in the context of java: comp/env/jdbc/MEDORADS ' and a 'while trying to get comp/env/MEDORADS in app/webapp/cockpit.war/32181625."

    What am I doing wrong or what I I don't have it to do?
    I admit that I am new to sources of data in this context, since our web modules all use dynamic JDBC credentials.

    All I want to do is to deploy my application on a demo server without complaint.

    Please, any help is welcome.

    Sascha

    Hello

    If you have created the data source on weblogic properly the only thing is to change the java: comp/env/jdbc/MEDORADS for jdbc/MEDORADS in yout request module.

  • Security Datababse ADF

    Hello

    I use JDeveloper 11.2.3.0.
    I use the ADF security and I use the DB tables for authentication.
    I created DB authentication in th weblogic and I inserted the SQL queries in the provider configuration.
    In the application of the ADF, I activated the adf security. I added the business roles such as mentioned in my DB tables. I created the application roles and gave grants to users.

    My problem is, when I run the application, users are not responsible for weblogic, but recreated with the new ID and that the DB is not assign roles to each user (because fdifferent ID).


    Any fault knows how to solve this problem?



    Thanks in advance

    FARAJ

    Hello

    not sure that I follow:

    My problem is, when I run the application, users are not responsible for weblogic, but recreated with the new ID and that the DB is not assign roles to each user (because fdifferent ID).

    If users are in the database, and then how to create weblogic accounts? This is possible if you have test accounts defined in the file "Data.xml" of your application that you deploy with the application the integrated WLS or a WLS in developmentmode-jazn. To avoid the testers to be created in WLS, select Application-->--> Application deployment properties. Here uncheck the box that says "users and groups".

    Frank

  • ADF mobile application deployment: the Android Dalvik (.dex) file does not exist. (oracle.adfmf.framework.dt.deploy.android.deployers.ApkDeployer)

    Nice day

    I use Jdeveloper 11.1.2.3.0

    I'm getting following error when deploying my first app on the android emulator, please help me solve this problem. The exception log is the:

    [10: 50:12] update Android profile dependencies with FAR profiles created from application projects...

    [10: 50:12]-deployment began.  ----

    [10: 50:12] the target platform's (Android).

    [10: 50:12] early deployment of ADF Mobile 'FirstMobileApp' to Android application using the profile "ANDROID_MOBILE_NATIVE_archive2."

    [10: 50:12] check the State of the Android Debug Bridge server...

    [10: 50:17] Server Android Debug Bridge started.

    [10: 50:17] check a single Android emulator is online and connected to the ADB server...

    [10: 50:17] early deployment of ADF Mobile 'FirstMobileApp' to Android application using the profile "ANDROID_MOBILE_NATIVE_archive2."

    [10: 50:17] analysis of the dependence running...

    [10: 50:17] building...

    [10: 50:17] deployment of 3 profiles...

    [10: 50:17] wrote the Archives Module to C:\JDeveloper\mywork\FirstMobileApp\ApplicationController\deploy\ApplicationController.jar

    [10: 50:18] wrote the Archives Module to C:\JDeveloper\mywork\FirstMobileApp\ViewController\deploy\ViewController.jar

    [10: 50:18] start preparing the package...

    [10: 50:18] check the Application Controller project exists...

    [10: 50:18] checking dependencies of applications...

    [10: 50:18] Validation of the application XML files...

    [10: 50:18] Validation of the XML files in the ApplicationController project...

    [10: 50:18] Validation of the XML files in the ViewController project...

    [10: 50:18] copy of FARs in the application of the Mobile ADF framework...

    [10: 50:18] far from the source of the copy: ViewController...

    [10: 50:18] copy by far the source: ApplicationController...

    [10: 50:18] copy of model Android...

    [10: 50:48] copy of the framework resource files...

    [10: 50:48] copy of resource files java framework...

    [10: 50:57] copy of the common javascript files...

    [10: 51:02] deployment of counting files...

    [10: 51:02] copy of the application image files...

    [10: 51:02] copy of the ADF Mobile configuration files...

    [10: 51:02] .adf files...

    [10: 51:03] copy of file security related to the application of the Mobile ADF framework...

    [10: 51:03] Creation of preferences Android XML files...

    [10: 51:03] creating AndroidManifest.xml file...

    [10: 51:03] Creation of unsigned Android application file...

    [10: 51:31] compile the file of the Android resource identifier...

    [10: 51:33] create file classes.dex Android since the class files...

    [10: 51:33] update of Android application file not signed with content file and .adf DEX...

    [10: 51:33] Server Android Debug bridge closure...

    [10: 51:33] undeployment.

    [10: 51:33] - incomplete deployment.

    [10: 51:33] the Android Dalvik (.dex) file does not exist. (oracle.adfmf.framework.dt.deploy.android.deployers.ApkDeployer)

    Hello

    I found the answer to this error, it's like actually had reinstalled Studio Android, whereby a new directory has been created with the software, called SDK as sdk1. And in my tools-> preferences, path of the plate-shape and tools platform was given as the sdk (old directory). Now, I've updated the path in the new directory as sdk1 and it works fine.

    Best regards,

    Julien

  • Deployment of WebLogic 12 c issue caused by: java.lang.NoSuchFieldError: XQueryinstance


    Hello

    We are migrating from weblogic 10.3.3 for Weblogic 12 c. While deploying a cim.modules.nbif_jms_nc.ear application, we get the following exception stack trace. This works perfectly well on 10.3.3

    Caused by: java.lang.NoSuchFieldError: XQueryinstance

    to com.att.aftdiscovery.header.v1.impl.runtime.DefaultJAXBContextImpl. < init > (DefaultJAXBContextImpl.java:50)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0 (Native Method)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)

    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

    at java.lang.reflect.Constructor.newInstance(Constructor.java:526)

    at com.sun.xml.bind.ContextFactory_1_0_1.createContext(ContextFactory_1_0_1.java:94)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

    at java.lang.reflect.Method.invoke(Method.java:606)

    at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:197)

    at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:147)

    at javax.xml.bind.ContextFinder.find(ContextFinder.java:309)

    at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:446)

    at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:409)

    at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:313)

    to com.att.bbnms.xml.transformer.AbstractJAXB10Transformer. < init > (AbstractJAXB10Transformer.java:74)

    to com.att.bbnms.netx.nc.xml.PTMXMLFactory. < init > (PTMXMLFactory.java:41)

    to com.att.bbnms.cim.nc.service.impl.GraniteServiceImpl. < clinit > (GraniteServiceImpl.java:54)

    at com.att.bbnms.cim.nc.registry.GraniteServiceRegistry.getGraniteService(GraniteServiceRegistry.java:26)

    to com.att.bbnms.cim.ejb.timer.QNINotificationTimer. < clinit > (QNINotificationTimer.java:37)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0 (Native Method)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)

    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

    at java.lang.reflect.Constructor.newInstance(Constructor.java:526)

    at java.lang.Class.newInstance(Class.java:374)

    to weblogic.application.internal.flow.BaseLifecycleFlow$ CreateListenerAction.run (BaseLifecycleFlow.java:147)

    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)

    to weblogic.application.utils.SecurityUtils$ WLSSecurityProvider.invokePrivilegedAction (SecurityUtils.java:171)

    at weblogic.application.utils.SecurityUtils.invokePrivilegedAction(SecurityUtils.java:78)

    to weblogic.application.internal.flow.BaseLifecycleFlow$ BaseAction.invoke (BaseLifecycleFlow.java:106)

    at weblogic.application.internal.flow.HeadLifecycleFlow.createListener(HeadLifecycleFlow.java:97)

    at weblogic.application.internal.flow.HeadLifecycleFlow.createListener(HeadLifecycleFlow.java:83)

    at weblogic.application.internal.flow.HeadLifecycleFlow.createListeners(HeadLifecycleFlow.java:152)

    at weblogic.application.internal.flow.HeadLifecycleFlow.prepare(HeadLifecycleFlow.java:242)

    to weblogic.application.internal.BaseDeployment$ 1.next(BaseDeployment.java:706)

    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:35)

    at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:237)

    at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:61)

    at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:158)

    at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)

    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:207)

    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:96)

    at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:229)

    at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)

    at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)

    at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)

    at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)

    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)

    to weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$ 000 (DeploymentReceiverCallbackDeliverer.java:13)

    to weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$ 1.run(DeploymentReceiverCallbackDeliverer.java:46)

    to weblogic.work.SelfTuningWorkManagerImpl$ WorkAdapterImpl.run (SelfTuningWorkManagerImpl.java:545)

    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)

    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

    First of all,

    I found that a bug in JIRA saved with similar problem, you are facing

    https://Java.NET/projects/JAXB/lists/issues/archive/2012-05/message/15

    Please check if you can use a more up-to-date

    Then check if you work on a Certified version of JAXB

    JAXB 2.2 is the supported version on 12 c as per the below Doc Oracle WLS

    Characteristics and standards supported by the WebLogic Web Services - 12 c Release 1 (12.1.1)

    Hope this helps!

    Vijaya

    ========

Maybe you are looking for