Application deployment to standalone WebLogic problem

Hi!
I have a problem with application deployment to standalone WebLogic server.
We migrated from JDeveloper 11.1.1.5 to 11.1.2.1. I followed the instructions on this page: https://blogs.oracle.com/imc/entry/standalone_weblogic_domain_for_adf to deploy our ADF application to AdminServer. Everything worked OK.
Then I followed the instructions on this page: http://docs.oracle.com/cd/E21043_01/web.1111/e13813/custom_jrf.htm to apply JRF to our managed server "ADF_server" and got this:
wls:/offline> applyJRF('ADF_server', '/Oracle/Middleware/user_projects/domains/our_domain')
Read domain /Oracle/Middleware/user_projects/domains/our_domain to applyJRF
Copy JRF configuration files from /Oracle/Middleware/oracle_common/modules to /Oracle/Middleware/user_projects/domains/our_domain/config/fmwconfig/servers/ADF_server
Target JRF components to "ADF_server"
Update JRF changes to domain /Oracle/Middleware/user_projects/domains/our_domain in offline mode
This is probably OK?
When I try to deploy to a managed server "ADF_server" a problem occurs:
*[10:55:08 AM] Weblogic Server Exception: weblogic.application.ModuleException: Failed to load webapp: 'ADFMainApplication-ViewController-context-root'*
*[10:55:08 AM] Caused by: weblogic.management.DeploymentException: Error: Unresolved Webapp Library references for "ServletContext@1542360219[app:ADFMainApplication_Project1_ADFMainApplication module:ADFMainApplication-ViewController-context-root path:/ADFMainApplication-ViewController-context-root spec-version:2.5]", defined in weblogic.xml [Extension-Name: jsf, Specification-Version: 2, exact-match: false]*
*[10:55:08 AM] See server logs or server console for more details.*
*[10:55:08 AM] weblogic.application.ModuleException: Failed to load webapp: 'ADFMainApplication-ViewController-context-root'*
*[10:55:08 AM] Deployment cancelled.*
*[10:55:08 AM] ---- Deployment incomplete ----.*
*[10:55:08 AM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)*
What do I have to do to get it to work on managed server? Please help.
Regards, Marko

Did you make sure that the 11.1.1.5.0 adf runtime was installed on the managed server before you installed the patches to upgrade to 11.1.2.1.0?
If not this is the problem. The new runtime is only installed automatically if the olny one was set up correctly,my personal finding from my tests. If you like to read more on this check http://tompeez.wordpress.com/2011/06/25/upgrading-wls-10-3-5-with-adf-runtime-11-1-2-0-0-sherman-patch/ and http://tompeez.wordpress.com/2011/06/29/follow-up-upgrading-wls-10-3-5-with-adf-runtime-11-1-2-0-0-sherman-patch/ .
You can do threethings:
1. open the Enterprise Manager select your managed server and hope you see a message like 'aply JRF to this managed server' (can't remember the exact wording). Do this and the libs should setup OK.
2. open the admin console and select the needed shared libs and add your manages server as target. Problem is that you don't know which libs are needed. If you don't mind target all libs to the managed server. Not sure if this causes trouble later.
3. write down any information about the managed server like port, machine names domain name. Remove the managed server from the WLS installation. This should be much trouble as you are upgrading and that should be no application or shared library of your one deployed to the managed server. After removing the old managed server shut down wls and start it again (just for safety). Now create an new managed server with all names, ports and other information like the old one using the quickstart tool.
I prefer the 3 method, as this one worked all the time for me.
Timo

Similar Messages

  • Pagelets not rendering in Fusion ADF application pages deployed on standalone weblogic server

    HI All,
    I am creating a Pagelet Producer connection, and dragging a pagelet on the page as iframe, with height auto. When I run the application in the integrated weblogic server, I am able to see the pagelet. However when I deploy the application on the standalone weblogic server, then the pagelet isn't rendered.
    I am using fusion ADF application 11.1.1.7  and standalone weblogic server v 10.3.6.
    Thanks in advance for yours assistance. Please I need a solution for this uregently. DO let me know, if you need any additonal information.
    Regards,
    Nikhil Mahto

    Sorry for the wrong infromation. The correct scenario is:
    I have an ADF application, in which I have a Pagelet producer connection, pages and taskflows. This ADF application is inlcuded in a Webcenter Portal Framework application, as a shared library. When the WCF application is deployed on the Weblogic server, the pagelets don't appear on the pages.
    I tried the FRAMEBUSTING context parameter to never but it didn't help.
    Regards,
    Nikhil Mahto

  • Application Logging in Standalone weblogic - quick questions

    Hi
    In JDeveloper, we could write our application logging to logs for debugging and viewable from JDeveloper.
    When we deploy to Standalone weblogic server, we cant find our logging.
    Of the 3 loggers (Msg Catalog, nonCatalog, Commons log API),
    Which logging mechanism is the best practice used logging for development environment ? Does it print to AdminServer.log ? If not, how can we accomplish that printing app log to AdminServer.log ?
    Which logging mechanism is the best practice used logging for production environment ? Does it print to AdminServer.log ? If not, how can we accomplish that printing app log to AdminServer.log ?
    Thanks

    hi,
    people commonly Log4J for their logging,Like Commons Logging, SLF4J, or the default Java Logging API. But if you're working with Oracle's Application Development Framework, there is another option as well: ADF Logging.
    ADF Logging is a logging mechanism, embedded in the ADF framework. It wraps the Java Logging API, but throws in a few extra methods and some JDeveloper and (Weblogic) Enterprise Manager features.
    the following one demo video from oracle site its very useful.
    http://download.oracle.com/otn_hosted_doc/jdeveloper/11gdemos/ADF_Insider_Essentials/debug_part1/debug_part1.html
    regards
    siva

  • Error while deploying ADF application to a standalone weblogic server

    I am using Jdeveloper 11.1.1.6.0, and I am trying to deploy my application to a standalone server running on a Unix box and I get the following error message:
    [04:12:44 PM] ---- Deployment started. ----
    [04:12:44 PM] Target platform is (Weblogic 10.3).
    [04:13:00 PM] Retrieving existing application information
    [04:13:01 PM] Running dependency analysis...
    [04:13:01 PM] Building...
    [04:13:05 PM] Deploying profile...
    [04:13:09 PM] Wrote Web Application Module to C:\JDeveloper\PortingAppln\ViewController\deploy\ADF1.war
    [04:13:13 PM] Deploying Application...
    [04:20:19 PM] [Deployer:149191]Operation 'deploy' on application 'ADF1' is initializing on 'ADF1'
    [04:20:45 PM] Weblogic Server Exception: weblogic.application.WrappedDeploymentException: oracle/jrf/PortabilityLayerException
    [04:20:45 PM] See server logs or server console for more details.
    [04:20:45 PM] weblogic.application.WrappedDeploymentException: oracle/jrf/PortabilityLayerException
    [04:20:46 PM] #### Deployment incomplete. ####
    [04:20:46 PM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
    Can someone help me with this problem.
    Thanks,
    Srini.

    Well, how did you do?
    I am having a similar problem.
    1) Installed WLS 10.3.5 on a Linux machine
    2) Installed ADF runtime libraries (ofm_appdev_generic_11.1.1.5.0_disk1_1of1.zip)
    3) I can see at deployments
    - adf.oracle.businesseditor(1.0,11.1.1.2.0)
    - adf.oracle.domain(1.0,11.1.1.2.0)
    - adf.oracle.domain.webapp(1.0,11.1.1.2.0)
    - DMS Application (11.1.1.1.0)
    - em
    - emai
    - emas
    - emcore
    - FMW Welcome Page Application (11.1.0.0.0)
    - jsf(1.2,1.2.9.0)
    I created from scratch a new Fusion Web app. It just has 1 ADF read-only table based on the HR.COUNTRIES table. It runs perfectly on the integrated WL.
    I cannot deploy it to my standalone WLS. The error:
    [02:01:37 PM] Unable to determine the target platform from the Profile. Using default
    [02:01:37 PM] ---- Deployment started. ----
    [02:01:37 PM] Target platform is (Weblogic 10.3).
    [02:01:37 PM] Retrieving existing application information
    [02:01:37 PM] Running dependency analysis...
    [02:01:37 PM] Building...
    [02:01:37 PM] Deploying 2 profiles...
    [02:01:37 PM] Wrote Web Application Module to C:\JDeveloper\mywork\TesteAPP\ViewController\deploy\TesteAPP_ViewController_webapp.war
    [02:01:37 PM] Wrote Enterprise Application Module to C:\JDeveloper\mywork\TesteAPP\deploy\TesteAPP_Project1_TesteAPP.ear
    [02:01:37 PM] Deploying Application...
    [02:01:39 PM] [Deployer:149191]Operation 'deploy' on application 'TesteAPP_Project1_TesteAPP' is initializing on 'ADFServer'
    [02:01:39 PM] [Deployer:149193]Operation 'deploy' on application 'TesteAPP_Project1_TesteAPP' has failed on 'ADFServer'
    [02:01:39 PM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application TesteAPP_Project1_TesteAPP on ADFServer.: Failed to load webapp: 'testeADF'.
    [02:01:39 PM] Weblogic Server Exception: weblogic.application.ModuleException: Failed to load webapp: 'testeADF'
    [02:01:39 PM] Caused by: weblogic.management.DeploymentException: Error: Unresolved Webapp Library references for "ServletContext@1021039597[app:TesteAPP_Project1_TesteAPP module:testeADF path:/testeADF spec-version:2.5]", defined in weblogic.xml [Extension-Name: jsf, Specification-Version: 2, exact-match: false]
    [02:01:39 PM] See server logs or server console for more details.
    [02:01:39 PM] weblogic.application.ModuleException: Failed to load webapp: 'testeADF'
    [02:01:39 PM] Deployment cancelled.
    [02:01:39 PM] ---- Deployment incomplete ----.
    [02:01:39 PM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
    I am using JDeveloper 11.1.2.1.0
    What am I missing here? It must be something obvious, but I am stuck.
    Thanks in advance.

  • Error while deploying ADF application to a standalone weblogic

    jdeveloper version: 11.1.2.2
    Issue: I have built a standalone weblogic server (10.3.5.0) and am trying to deploy my ADF application to it. The deployment fails with the following message. The stand alone server I have built is on the same machine where jdeveloper is installed and I am using same weblogic that came with jdeveloper install. The aplication runs fine on integrated server. I have researched this issue and have got more or less same answer of installing ADF run time libraries. Can someone please help me with exactly what I need to install and how?
    Thanks,
    Saurabh.
    [09:49:44 AM] Unable to determine the target platform from the Profile. Using default
    [09:49:44 AM] ---- Deployment started. ----
    [09:49:44 AM] Target platform is (Weblogic 10.3).
    [09:49:55 AM] Retrieving existing application information
    [09:49:55 AM] Running dependency analysis...
    [09:49:55 AM] Building...
    [09:50:18 AM] Deploying profile...
    [09:50:20 AM] Wrote Web Application Module to C:\JDeveloper\mywork\EmployeeTrack\ViewController\deploy\EmployeeTrack_ViewController_webapp.war
    [09:50:20 AM] Deploying Application...
    [09:50:24 AM] [Deployer:149191]Operation 'deploy' on application 'EmployeeTrack_ViewController_webapp' is initializing on 'ADFServer'
    [09:50:26 AM] [Deployer:149193]Operation 'deploy' on application 'EmployeeTrack_ViewController_webapp' has failed on 'ADFServer'
    [09:50:26 AM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application EmployeeTrack_ViewController_webapp on ADFServer.: Failed to load webapp: 'EmployeeTrack_ViewController_webapp.war'.
    [09:50:26 AM] Weblogic Server Exception: weblogic.application.ModuleException: Failed to load webapp: 'EmployeeTrack_ViewController_webapp.war'
    [09:50:26 AM] Caused by: weblogic.management.DeploymentException: Error: Unresolved Webapp Library references for "ServletContext@29261813[app:EmployeeTrack_ViewController_webapp module:EmployeeTrack_ViewController_webapp.war path:/alonedemo spec-version:2.5]", defined in weblogic.xml [Extension-Name: adf.oracle.domain.webapp, exact-match: false], [Extension-Name: jstl, Specification-Version: 1.2, exact-match: false], [Extension-Name: jsf, Specification-Version: 2, exact-match: false]
    [09:50:26 AM] See server logs or server console for more details.
    [09:50:26 AM] weblogic.application.ModuleException: Failed to load webapp: 'EmployeeTrack_ViewController_webapp.war'
    [09:50:26 AM] Deployment cancelled.
    [09:50:26 AM] ---- Deployment incomplete ----.
    [09:50:26 AM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)

    Thanks Timo.. You were right.. Those setting helped me fix the initial issue.. Now I have another issue and was wondering if you have seen this as well?
    [11:35:13 AM] Unable to determine the target platform from the Profile. Using default
    [11:35:13 AM] ---- Deployment started. ----
    [11:35:13 AM] Target platform is (Weblogic 10.3).
    [11:35:13 AM] Retrieving existing application information
    [11:35:13 AM] Running dependency analysis...
    [11:35:13 AM] Building...
    [11:35:20 AM] Deploying profile...
    [11:35:21 AM] Wrote Web Application Module to C:\JDeveloper\mywork\EmployeeTrack\ViewController\deploy\EmployeeTrack_ViewController_webapp.war
    [11:35:21 AM] Deploying Application...
    [11:35:23 AM] [Deployer:149191]Operation 'deploy' on application 'EmployeeTrack_ViewController_webapp' is initializing on 'ADFServer'
    [11:35:25 AM] [Deployer:149193]Operation 'deploy' on application 'EmployeeTrack_ViewController_webapp' has failed on 'ADFServer'
    [11:35:25 AM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application EmployeeTrack_ViewController_webapp on ADFServer.: Failed to load webapp: 'EmployeeTrack_ViewController_webapp.war'.
    [11:35:25 AM] Weblogic Server Exception: weblogic.application.ModuleException: Failed to load webapp: 'EmployeeTrack_ViewController_webapp.war'
    [11:35:25 AM] Caused by: java.lang.ClassNotFoundException: oracle.adf.library.webapp.ResourceServlet
    [11:35:25 AM] See server logs or server console for more details.
    [11:35:25 AM] weblogic.application.ModuleException: Failed to load webapp: 'EmployeeTrack_ViewController_webapp.war'
    [11:35:25 AM] Deployment cancelled.
    [11:35:25 AM] ---- Deployment incomplete ----.
    [11:35:25 AM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)

  • ADF application deployment to standalone WLS

    Hello everyone,
    I developed a small ADF app within JDeveloper (JDev 11g Rel 1-- 11.1.1.3.0) and have been deploying it onto the Integrated WLS with JDev.
    I'm now trying to deploy it onto a standalone WLS domain on another machine. This WLS is of the latest release. I packaged my app into an EAR file, added the deployment descriptors, etc.
    Within the WLS admin console, when I try to start the deployment (i.e. activate changes) for this EAR, I get this error after activation:
    [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: adf.oracle.domain, exact-match: false].
    I understand it's a problem with not recognizing adf.oracle.domain, but JDev's help documents (Section 36.3.3) say to ensure that my weblogic-application.xml file has a reference to adf.oracle.domain.
    If anyone has any comments about this error and how to fix it, that would be much appreciated.
    Also, if there is a more appropriate forum to ask this in, please let me know.
    Thanks so much,
    Janelle

    Janelle,
    Did you create the ADF domain in the WLS server? Also, you can directly deploy from JDeveloper once you have the appropriate deployment descriptors.
    Check this 3 articles
    http://radalcove.com/blog/?p=34
    http://radalcove.com/blog/?p=16
    http://radalcove.com/blog/?p=48
    Juan C

  • Application deployment order with weblogic-ejb-jar.xml and jndi-name

    I have two applicatation working on Weblogic server v. 10.3.6.
    First of them creating one ejb stateless bean and creates JNDI maping for it (in weblogic-ejb-jar.xml file):
    <weblogic-enterprise-bean>
         <ejb-name>ConfigMenegerBean</ejb-name>
         <stateless-session-descriptor>
         <stateless-session-descriptor>
              <business-interface-jndi-name-map>
              <business-remote>package.ConfigurationSessionRemote</business-remote>
              <jndi-name>ConfigMeneger</jndi-name>
              </business-interface-jndi-name-map>
         </stateless-session-descriptor>
         <enable-call-by-reference>true</enable-call-by-reference>
         <jndi-name>ConfigMeneger</jndi-name>
    </weblogic-enterprise-bean>
    Second appication have to refer for this bean by JNDI using spring been lookup :
    <jee:jndi-lookup id="configManager" jndi-name="ConfigMeneger"/>
    I changed deployment order parameter for both apllication(first=100 and second=500) in order to first app start first and share bean by jndi to another application. Unfortuantelly I got an error :
    javax.naming.NameNotFoundException: Unable to resolve 'ConfigMeneger'. Resolved ''; remaining name 'ConfigMeneger'
    How can I configure deployment order that first application make jndi mapping for bean, before the second application will use it ?

    Ok in a way I have solved my problem (even if I am not completely satisfied by the way on how to proceed...). So thanks to message "JBuilder7.0 and Weblogic6.1" on EJB sun forum :
    http://forum.java.sun.com/thread.jsp?thread=285735&forum=13&message=1255488
    I have tried the following actions (mentionned in the other forum messages):
    - To preserve changes to weblogic*.xml, the safest way is to change the ejb-borland.xml.
    (I am not sure that I have applied this advice correctly, because I suppose that syntax is not similar in weblogic file or borland file).
    And you can MANUALLY update the weblogic file in your JAR archive.
    1. Open the EJB JAR file in Winzip and extract the weblogic-ejb-jar.xml file, so that a copy exists in your
    project directory.
    2. Open this file (in Notepad), add the WebLogic specific information, and then save the file.
    3. Now, when you are finished with the build cycle and are ready to deploy, you may open the EJB jar file
    and swap in the weblogic-ejb-jar.xml file."
    Good Luck.

  • Exception accessing ADF application deployed on Oracle Weblogic Server

    Hi All,
    We have a web application developed using ADF Faces, Trinidad & BC4J. The application runs fine on Oracle JDeveloper 11g (11.1.2.1.0). When I deploy the same on to remote weblogic server 10.1.3 and I access the jspx page I get the below exception:
    javax.faces.el.EvaluationException: java.lang.NullPointerException
         at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:51)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:787)
         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1252)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:966)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:346)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:204)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:312)
    It looks like there is some issue with the datasource. I have created a datasource WebApplicationDS with JNDI name jdbc/WebApplicationDS on the weblogic server.In the application module I have changed the datasource from java:comp/env/jdbc/WebApplicationDS to jdbc/WebApplicationDS before deploying on to WLS. With the current setting if I run from JDeveloper I get the same error.
    Please let me know how to resolve this issue.
    Thanks in advance.
    Regards
    Navin

    Hi Frank,
    That is were the issue started, I have created the datasource with the name WebApplicationDS and JNDI name as jdbc/WebApplicationDS and when I acess the application I get the below error:
    javax.faces.el.EvaluationException: java.lang.NullPointerException
         at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:51)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:787)
         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1252)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:966)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:346)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:204)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:312)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27)
    Thanks
    Navin

  • 10.1.3 EA1 library deployment to standalone oc4j problem

    I'm having trouble getting a library to deploy with EA1. It deployed OK with 10.1.3 DP.
    The deployment consists of the ViewController and Model projects (as created by jdev) plus a third project I created called businessobjects.
    The problem lies with a library that fails to be deployed but is needed by the Model and businessobjects projects. This results in "Missing class" error messages. (BTW, the library consists of a directory and a jar).
    With 10.1.3 EA1 under War Deployment Profile Properties>WEB-INF/lib>Contributers, the library does not show up whereas it does with 10.1.3 DP. As far as I can see it looks like I've specified all the dependancies and check-marked the appropriate boxes but obviously I must be doing something wrong.
    The application runs as expected within jdev.
    Anyone have any specific places I should double check?
    Regards,
    Al Malin

    Don't worry,
    It just means that the embedded server inside JDeveloper is a developer preview version. The OC4J team uses a different way to name their "early access" releases.

  • Two application deployed on same weblogic domain

    Hi
    Can OSSO (Oracle Single Sign On) and OAM (Oracle Access manager) both be deployed on the same server in the same Weblogic Domain? My hunt is it is possible as long as the port nbumber is different. Any feedback are welcome.
    thanks

    AFAIK OAM cannot be deployed on Weblogic till next gen release which is quite far right now. So there's no point of asking if both can be deployed on the same server since OAM cannot be deployed on weblogic at all.

  • Infinite loop/afrLoop when deploying ADF application to standalone weblogic

    Working with Oracle ADF / JDeveloper 11.1.2.2
    I have enabled ADF security in my application and am using JAAS combined with Oracle EBS users and roles to provide security to the application. Testing on my local integrated weblogic server works fine.
    When deploying my Oracle ADF application to a standalone Weblogic server through an EAR file, requesting a JSF page causes the server to go into an infinite loop on both IE and firefox.
    GET /test-app/faces/login.jsf HTTP/1.1     200
    GET /test-app/faces/login.jsf?_afrLoop=346001033248597&_afrWindowMode=0&Adf-Window-Id=w0 HTTP/1.1     302
    GET /test-app/adfAuthentication HTTP/1.1     302
    GET /test-app/faces/login.jsf HTTP/1.1     200
    GET /test-app/faces/login.jsf?_afrLoop=346001340281597&_afrWindowMode=0&Adf-Window-Id=w0 HTTP/1.1     302
    GET /test-app/adfAuthentication HTTP/1.1     302
    GET /test-app/faces/login.jsf;jsessionid=syWvP1nMY1L87BySh2JbTd1tb4SY0HzDw6T3LvLctvkbMWKmqqJv!1800986117 HTTP/1.1     200
    GET /test-app/adfAuthentication HTTP/1.1
    Reviewing some of the suggestions from the forum and from the link below, I have tried fixing the issue through updates to my web.xml - but am still having the same issue.
    https://blogs.oracle.com/jdevotnharvest/entry/solving_jdeveloper_11gr2_issue_with
    Updated web.xml:
    <security-constraint>
    <web-resource-collection>
    <web-resource-name>Allowed ADF Resources</web-resource-name>
    <url-pattern>/adf/*</url-pattern>
    <url-pattern>/afr/*</url-pattern>
    <url-pattern>/bi/*</url-pattern>
    <url-pattern>/servlet/GraphServlet/*</url-pattern>
    <url-pattern>/servlet/GaugeServlet/*</url-pattern>
    <url-pattern>/mapproxy/*</url-pattern>
    <url-pattern>/adflib/</url-pattern>
    </web-resource-collection>
    <web-resource-collection>
    <web-resource-name>allPages</web-resource-name>
    <url-pattern>/*</url-pattern>
    </web-resource-collection>
    <web-resource-collection>
    <web-resource-name>adfAuthentication</web-resource-name>
    <url-pattern>/adfAuthentication</url-pattern>
    </web-resource-collection>
    <auth-constraint>
    <role-name>valid-users</role-name>
    </auth-constraint>
    </security-constraint>
    <login-config>
    <auth-method>FORM</auth-method>
    <form-login-config>
    <form-login-page>/faces/login.jsf</form-login-page>
    <form-error-page>/faces/login-error.jsf</form-error-page>
    </form-login-config>
    </login-config>
    <security-role>
    <role-name>valid-users</role-name>
    </security-role>
    weblogic.xml
    <security-role-assignment>
    <role-name>valid-users</role-name>
    <principal-name>users</principal-name>
    </security-role-assignment>
    I know other users have experienced similar issues - but I am having trouble debugging or troubleshooting why this is happening.
    Any suggestions on how to further troubleshoot or resolve this issue would be appreciated!
    Dan

    I was able to resolve the login page looping issue.
    The issue is related to the login page being a JSF page based on a page template.
    When I created the JSF login page as a page template - the template contains a binding:
    <af:pageTemplate viewId="/test-template.jsf" value="#{bindings.ptb1}" id="pt1">
    When I deploy my application to the test weblogic server, the anonymous-role grants are not being respected. So even though I grant view access to the login JSF page to anonymous-role -- it appears that weblogic is trying to request a login for any page with a pageDef (including the login page). By re-creating the login page with no pageDef (a JSF page that does not use a page template) -- the login page is displayed (rather than entering into a loop).
    There is still a seperate issue with the anonymous-role grant not working as I would expect it to work that I will need to troubleshoot further.

  • ADF Application Runtime issue in StandAlone Weblogic Server

    Hi All,
    I tried deploying my ADF Mobile Browser Application in a StandAlone Weblogic Server. The application was targeted to Admin Server and everything worked fine.
    But when Targeted to Managed Server the login page alone was rendered (without CSS). Tried loging in with correct as well as wrong passwords but there was no response from the page. (Login button acted like a dummy one)
    Even the managed server log had no error messages.
    DataSource where configured correctly and targeted both to Admin n Managed Server.
    I tried deploying the same in Client's Testing Environment and the same problem occured even in Admin Server.
    I couldnt figure out wats the issue.
    PS:
    Weblogic Server Version : 10.3.6
    ADF Runtime:11.1.1.6
    JDeveloper Version : 11.1.2.1
    The App Contains ADF Authentication Security. Will that cause any issue?
    Two Cents
    Karthick

    Your jdev version and the adf runtime on the wls have to match. Check http://tompeez.wordpress.com/2011/09/14/jdeveloper-versions-vs-weblogic-server-versions/ for a list of matching versions.
    Timo

  • Error when deploying JDeveloper 11 to standalone WebLogic 10.3

    I followed the instructions at:
    http://groundside.com/blog/DuncanMills.php?title=a_rough_guide_to&more=1&c=1&tb=1&pb=1
    and
    http://one-size-doesnt-fit-all.blogspot.com/2009/01/configuring-weblogic-server.html
    to setup a standalone WebLogic 10.3 server with ADF libraries.
    When attempting to deploy an application to a standalone WebLogic 10.3 server on another machine, I get the following error:
    ----  Deployment started.  ----    Apr 3, 2009 1:10:42 PM
    Target platform is  (Weblogic 10.3).
    Running dependency analysis...
    Building...
    2009-04-03 13:10:47.798: Writing WAR file to /home/klee/jdevhome11/mywork/HDR/ViewController/deploy/hdr.war
    2009-04-03 13:10:48.27: Wrote WAR file to /home/klee/jdevhome11/mywork/HDR/ViewController/deploy/hdr.war
    Deploying Application...
    [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application hdr on ManagedServer.: Failed to load webapp: 'hdr.war'.
    weblogic.application.ModuleException: Failed to load webapp: 'hdr.war'
    ####  Deployment incomplete.  ####    Apr 3, 2009 1:11:33 PM
    Deployment FailedFrom the ManagedServer.log file, I have the following:
    ####<Apr 3, 2009 1:11:32 PM MDT> <Error> <HTTP> <its-ucm01.dcsdk12.org> <ManagedServer> <[STANDBY] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1238785892160> <BEA-101371> <There was a failure when processing annotations for application /u01/app/bea/user_projects/domains/dcsd_domain/servers/ManagedServer/stage/hdr/hdr.war. Please make sure that the annotations are valid. The error is oracle.adf.model.servlet.ADFBindingFilter>
    ####<Apr 3, 2009 1:11:32 PM MDT> <Info> <Deployer> <its-ucm01.dcsdk12.org> <ManagedServer> <[STANDBY] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1238785892181> <BEA-149061> <Module hdr.war of application hdr failed to transition from STATE_NEW to STATE_PREPARED on server ManagedServer.>
    ####<Apr 3, 2009 1:11:32 PM MDT> <Error> <Deployer> <its-ucm01.dcsdk12.org> <ManagedServer> <[STANDBY] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1238785892194> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1238785885980' for task '1'. Error is: 'weblogic.application.ModuleException: Failed to load webapp: 'hdr.war''
    weblogic.application.ModuleException: Failed to load webapp: 'hdr.war'
         at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:387)
         at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:387)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:58)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:42)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:615)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191)
         at weblogic.application.internal.SingleModuleDeployment.prepare(SingleModuleDeployment.java:16)
         at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:155)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:197)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:89)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:723)
         at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1190)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:248)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:12)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:45)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    java.lang.ClassNotFoundException: oracle.adf.model.servlet.ADFBindingFilter
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:283)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:256)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:54)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
         at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:176)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:35)
         at weblogic.servlet.internal.WebAnnotationProcessorImpl.processFilters(WebAnnotationProcessorImpl.java:240)
         at weblogic.servlet.internal.WebAnnotationProcessorImpl.processJ2eeAnnotations(WebAnnotationProcessorImpl.java:212)
         at weblogic.servlet.internal.WebAnnotationProcessorImpl.processAnnotations(WebAnnotationProcessorImpl.java:107)
         at weblogic.servlet.internal.WebAppServletContext.processAnnotations(WebAppServletContext.java:1287)
         at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletContext.java:412)
         at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletContext.java:456)
         at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:414)
         at weblogic.servlet.internal.WebAppModule.registerWebApp(WebAppModule.java:910)
         at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:364)
         at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:387)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:58)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:42)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:615)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191)
         at weblogic.application.internal.SingleModuleDeployment.prepare(SingleModuleDeployment.java:16)
         at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:155)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:197)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:89)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:723)
         at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1190)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:248)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:12)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:45)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    >Any help to resolve this would be appreciated!
    Thanks, Ken

    Olaf,
    Sorry I missed your blog post. It was helpful, but it did not allow me to successfully run my application on the standalone WebLogic 10.3. To do this, I did the following:
    1. Created ADF/ADF Faces web application - runs fine in integrated WebLogic Instance.
    2. Followed directions to setup standalone WebLogic Server as outlined in above posts with links to Duncan Mills and Chris Muir, including installation of latest JDeveloper ADF libraries.
    3. Copied adfmweb.jar, adfm.jar, adfdt_common.jar to .../domains/adf_domain/lib/ following setup by Chris Muir.
    4. In console in standalone WebLogic 10.3 server, create JDBC Data Source with name jdbc/whdp_DS (In the test, I got an error. At this point, I replaced the URL with the JDBC custom URL that I use in SQL Developer for this data set which is setup to connect to a RAC setup with failover. Works great. No error message on testing.)
    5. In META-INF, added application.xml and weblogic-application.xml as outlined in http://download.oracle.com/docs/cd/E12839_01/web.1111/b31974/deployment_topics.htm#insertedID7
    6. In WEB-INF, added weblogic.xml that is outlined in document referenced in step 5. Modified this file, adding the statements from Olaf's blog post.
    >
    <library-ref>
    <library-name>jstl</library-name>
    </library-ref>
    <library-ref>
    <library-name>jsf</library-name>
    </library-ref>
    >
    6b. Modifed web.xml, added resource-ref to jdbc/whdp_DS
    >
    <resource-ref>
    <res-ref-name>jdbc/whdp_DS</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    >
    7. In the application, modified the AppService defined in the model by right clicking on the AppService and selecting configuration. I changed both the local and shared configurations to use the jdbc DataSource jdbc/whdp_DS. I am not sure which one is needed to be changed, but changing them both made the application work on the standalone WebLogic 10.3 server.
    8. Deploy to standalone server. I had previously created the application server as a target.
    Now my deployment works, AND running the application works. The question now is whether this is the "best" way to do this, or is there an easier way. Also, what about developing locally? How do you manage both the data source defined for the standalone server and a simple JDBC URL for the integrated server? Couldn't find that explained in the docs anywhere.
    I also noticed that with the latest JDeveloper install (build 5205), there is now an extra entry about an UDDI server not running that isn't critical in the logs. This may be caused from the reinstall and not selected UDDI as an option for WebLogic components, but this message shouldn't appear.
    Thanks, Ken

  • How to deploy war webapp on standalone weblogic ?

    Hi All
    We have several war files and an ear file. A few war files are shared libraries, other war files are webapp and an ear file.
    How do we deploy a war file to standalone weblogic ?
    Must we explode the war file in order for weblogic to deploy or can we deploy a war like an ear file using ojdeploy ?
    Any steps to configure meta-data files to allow successful deployment ?
    What steps do we need to perform ?
    Thank you
    Sincerely

    hi user,
    i don't see any jdev version and also i dont see that standalone deployment in production? or else ?
    better google it is the rightway.
    Anyhow,
    deploying the war file:
    JDeveloper Frequently Asked Questions: FAQ #3 - How to deploy an ADF application on a standalone WebLogic server directl…
    http://www.sagecomputing.com.au/papers_presentations/2009_WLS_JDEV.pdf
    deploying in production.
    How-To: ADF Deployment Guide
    deploy using ojdeploy the famous chris blog is there.
    https://wikis.oracle.com/display/jdeveloperandadf/ADF+Build+and+Deploy

  • Deploy JPF to WebLogic Server Editon?

    Is it possible to deploy JPF components on a WebLogic <u><b>Server</b></u> domain?
    Can anyone or a BEA person advise?

    The JDeveloper IDE has the provision to remote debug applications deployed in the WebLogic Server with a Remote Debugger. With the remote debugger obtain the classes which are producing the ClassNotFoundException.

Maybe you are looking for