Deploy the ADF application to manage the server - political migration jazn

Hi Experts,

I created a sample application web ADF and activated the ADF security. I created the ear of the application using the deployment jdevloper profile. Incase if I deploy the ear to weblogic through the weblogic console management server, the application works very well. (in this step security policies are automatically deployed in the field. However, incase if I deploy only for Server Manager, then the application does not work. in this case, when I invoke the url the browser runs all the time and refreshing but not the loaded page. If I check the policies then the they aren't there.

I have to manually migrate the jazn policies before you deploy on the Management Server? Is there a way that can be done automatically when deploy us the ear on the server of management through the weblogic console.

Thank you

Hello

for the development of business applications I suggest Oracle Enterprise manager, as shown here: http://download.oracle.com/otn_hosted_doc/jdeveloper/11gdemos/adf_security1/adf_security1.html

Frank

Tags: Java

Similar Questions

  • Problem when deploying an ADF application to a remote server

    Hello

    I have an app ADf with just a Page JSF (created automatically as a form of parameter ADF data control)...

    I run the page on the integrated weblogic server and it works fine,

    When I have it deployed on a remote server, the successful deployment but when I tried to run the page using http:// < server-url >: < server-port > /Portal demo-ViewController-context-root /

    the button send is not made, all items on the page EXCEPT the submit button!

    Any Suggestion?

    P.S: JDeveloper version is 11.1.1.6.

    Thanks in advance,

    Kind regards

    OLA,

    Have you checked that the ADF runtime is installed on the remote server and the managed server, you perform the deployment has access to them?

    You see error messages in the server log file?

    Timo

  • Can deploy us ADF application on any other than weblogic server web server

    The President complied,

    Can deploy us ADF application on other web servers such as Tomcat, apachi, IAS11g or IIS

    Concerning

    See also - http://docs.oracle.com/cd/E35521_01/web.111230/e16182/appendix_glassfish.htm

    https://blogs.Oracle.com/Dana/entry/how_to_deploy_a_11g_adf_applic_1

    Ashish

  • Error during the deployment of ADF application on weblogic Server integrated in JDEV - [SPI: J2EE deployment 260010]

    Hello Experts,

    I received the following message when I tried to deploy a sample application on the weblogic Server integrated into my JDEV ADF.  Can someone help me with this error message?

    < 27 March 2015 21:30:09 CEST > < opinion > < WebLogicServer > < BEA-000360 > < server started operation >

    IntegratedWebLogicServer start time: 33630 ms.

    IntegratedWebLogicServer has begun.

    [Running the application on Server Instance IntegratedWebLogicServer SavedSearches...]

    [15:30:11]-deployment began.  ----

    [15:30:11] the target platform's (Weblogic 10.3).

    [15:30:18] # incomplete deployment.  ####

    [15:30:18] [SPI: J2EE deployment 260010] unable to connect to ' t3s: / / localhost:7102' as a user, "weblogic. Error returned: null

    [15:30:18] [SPI: J2EE deployment 260010] unable to connect to ' t3s: / / localhost:7102' as a user, "weblogic. Error returned: null

    [15:30:18] [SPI: J2EE deployment 260010] unable to connect to ' t3s: / / localhost:7102' as a user, "weblogic. Error returned: null

    [15:30:18] t3s: / / localhost:7102: Destination unreachable; nested exception is:

    java.net.ConnectException: Connection refused: connect. No router available at destination

    [15:30:18] Destination unreachable; nested exception is:

    java.net.ConnectException: Connection refused: connect. No router available at destination

    # Cannot run application SavedSearches due to the deployment on IntegratedWebLogicServer error.

    [SavedSearches application stopped and cancelled Server Instance IntegratedWebLogicServer]

    Thank you

    David Selvaraj

    Can user, you please tell us your exact Jdev version?

    The error message tells you that the server has been started, but is not available under the localhost:7102 of access

    The port doesn't look good for me. The built-in Server normally uses port 7101. You can check which port you configured for the server?

    You can check this on the "application server" tab and select the built-in server, right-click, and select Properties. In the dialog box, you see the configuration.

    Timo

  • Error during the deployment of ADF application to a stand-alone weblogic Server

    I use Jdeveloper 11.1.1.6.0 and I'm trying to deploy my application on a stand-alone server running on a Unix machine and I get the following error message:

    [16: 12:44]-deployment began. ----
    [16: 12:44] the target platform's (Weblogic 10.3).
    [16:13] recovery of the existing application information
    [16: 13:01] analysis of the dependence running...
    [16: 13:01] building...
    [16: 13:05] deployment of profile...
    [16: 13:09] wrote on the Web for C:\JDeveloper\PortingAppln\ViewController\deploy\ADF1.war application Module
    [16: 13:13] Application deployment...
    [16: 20:19] [Deployer: 149191] Operation "deploy" on demand "ADF1' initialization on"ADF1.
    [16: 20:45] WebLogic Server Exception: weblogic.application.WrappedDeploymentException: oracle/jrf/PortabilityLayerException
    [16: 20:45] check the server logs or the console of the server for more details.
    [16: 20:45] weblogic.application.WrappedDeploymentException: oracle/jrf/PortabilityLayerException
    [16: 20:46] # incomplete deployment. ####
    [16: 20:46] remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)

    Can someone help me with this problem.

    Thank you
    Srini.

    .. and make sure that you have installed and configured the correct version of WLS (it should be 10.3.5).

    Arun-

  • Error ADF application to a stand-alone weblogic deployment

    JDeveloper version: 11.1.2.2

    Question: I have built a standalone weblogic server (10.3.5.0) and am trying to deploy my ADF application on it. The deployment fails with the following message is displayed. The stand alone server, I built is on the same machine where jdeveloper is installed and I use same weblogic provided with jdeveloper install. The application works well on the integrated server. I have studied this issue and you have more or less the same answer of ADF installation run libraries. Can anyone please help me with exactly what I install and how?

    Thank you
    Saurabh.


    [09: 49:44] cannot determine the platform target profile. Using default
    [09: 49:44]-deployment began. ----
    [09: 49:44] the target platform's (Weblogic 10.3).
    [09: 49:55] recovery of the existing application information
    [09: 49:55] analysis of the dependence running...
    [09: 49:55] building...
    [09: 50:18] deployment of profile...
    [09:50:20] wrote on the Web for C:\JDeveloper\mywork\EmployeeTrack\ViewController\deploy\EmployeeTrack_ViewController_webapp.war application Module
    [09:50:20] Application deployment...
    [09: 50:24] [Deployer: 149191] Operation "deploy" on demand "EmployeeTrack_ViewController_webapp" boot on 'ADFServer '.
    [09: 50:26] [Deployer: 149193] Operation "deploy" on demand "EmployeeTrack_ViewController_webapp" failed on "ADFServer".
    [09: 50:26] [Deployer: 149034] an exception has occurred for task [Deployer: 149026] deploy EmployeeTrack_ViewController_webapp on ADFServer. : could not load the webapp: "EmployeeTrack_ViewController_webapp.war."
    [09: 50:26] WebLogic Server Exception: weblogic.application.ModuleException: could not load the webapp: "EmployeeTrack_ViewController_webapp.war."
    [09: 50:26] caused by: weblogic.management.DeploymentException: error: unresolved Webapp library makes reference to ' [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] check the server logs or the console of the server for more details.
    [09: 50:26] weblogic.application.ModuleException: failed to load the webapp: "EmployeeTrack_ViewController_webapp.war."
    [09: 50:26] undeployment.
    [09: 50:26] - incomplete deployment.
    [09: 50:26] remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)

    In the colsole admin click on the name of one of the libraries, and then select the target tab and see if the checkbox for your (managed) server is set. If it's the library should be available, and you should not see the error.

    Timo

  • Error when deploying the project

    Hello

    I use JDev 12.1.3 and even managed server version 12.1.3, I'm trying to deploy the server SOA project, but the following error message appears:

    Error deployment archive sca_PJT_CPC_APPS_rev1.0.jar to the 'SOA-TEAM' partition on server AdminServer [http://machine:7001]

    HTTP error code returned [2000]

    Error message from the server:

    The server is not compatible with this client deployment: Please check that the server is a managed server SOA and its version is supported by the client deployment

    Check the log of the server for more details.

    Error deployment archive sca_PJT_CPC_APPS_rev1.0.jar to the 'SOA-TEAM' partition on server AdminServer [http://machine: 7001]

    Undeployment.

    -Incomplete deployment.

    Deployment error archive file:/D:/Project/SOA/CPC_SOA_APP/PJT_CPC_APPS/deploy/sca_PJT_CPC_APPS_rev1.0.jar

    (oracle.tip.tools.ide.fabric.deploy.common.SOARemoteDeployer)

    any suggestion?

    Its configuration jdev and soa

  • "404" error when running ADF Applications using Weblogic / OAM / Webtier

    Hi Experts,

    Our organization works on the implementation of Weblogic 10.3.5 on HP - UX 11.31 / PA RISC hardware.

    All is well enough to work, but we met a particular hurdle and I hope I can get some advice from people here in the forums.

    We have virtual hosts within the Weblogic web layer for different areas. We also have Oracle Access Manager configured to protect some web resources (to force the user to authenticate to access the page). Each virtual host is configured to use the https protocol, and we have SSL certificates installed.

    The problem arises when trying to deploy an ADF application for weblogic, then run it through one of these virtual servers. We want these applications to use https only. Mod_wl_ohs has also been configured to forward requests to the web layer weblogic.

    App deploys fine, and when you try to access the app, we are redirected to a login page by OAM, which is what we want. However, when the application starts to run, it seems that ADF is adding to the URL query parameters, and when he does this, redirecting to https, which causes a 404 error. If you manually add the 's' on the URL, the application loads and works very well.

    For example:
    Say the url of our application is
    https://foo.mydomain.com/MyApp/faces/search
    Navigate to this url redirects to the login page. After the connection, we headed over to something like this (the actual settings vary):
    http://foo.mydomain.com/MyApp/faces/search?_afrLoop=7078069345015890 & _afrWindowMode = 0 & _adf. CTRL-State = yvpch8hdh_4
    .. which returns a 404 error.
    If put us the 's' on the url, it works as expected.

    Why is this happening? Why is redirect to the login page staying is not in https?

    To facilitate debugging, we created a very simple jsp page that was not developed using ADF, and deployed in a similar way, and he remained in https after redirection from the login page.

    Is this a specific problem ADF? Is something that needs to be configured in the ear file deployment of JDeveloper?

    Any advice would be much appreciated...

    Published by: corn on September 18, 2012 09:43

    Hello

    It seems that you use any porxy between the two.

    Please activate weblogicplugin activated under

    Server--> --> configuration--> advance.

    Enable this option and try to restart the server again.

    Kind regards
    Kal

  • Not able to run oracle ADF application (.ear) in integrated Jdev wls

    Hello

    I'm not able to run a simple ADF application in Integrated WebLogic Server of JDev. This application (.ear) worked very well before in the same jdev (11.1.1.3.0).

    The error of fact face is
    "< 20 July 2012 12:47:54 IST > < WARNING > < hats > < BEA-149007 > < new location source, 'C:\Documents and Settings\Atul Singh\Application Data\JDeveloper\system11.1.1.3.37.56.60\o.j2ee\drs\CallTracker', can be deployed to configured application, ' CallTracker [Version = V2.0]. The source of the application is 'C:\Documents and Settings\Atul Singh\Application Data\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\servers\DefaultServer\upload\CallTracker\V2.0\app\CallTracker.ear'. Changing the location of the source is not allowed for a deployment earlier attempt. Try to deploy without specifying the source. >

    I checked the error in documents:

    BEA-149007
    ATTENTION: New location of the source, "newPath", can be deployed to configured application, 'name '. The source of the application is to 'configPath '. Changing the location of the source is not allowed for a deployment earlier attempt. Try to deploy without specifying the source.

    Description you cannot specify a new source for an application previously configured with another source.

    The cause of this error occurs when you try to change the location of the source for an application previously configured.

    Action deploy your application with the same source location that has been configured in the application.

    But I don't know where to change the location of 'source' or how to deploy "without specifying the source.

    Please notify.

    Best regards, Atul

    (a). after that you cancel the deployment by using the console, do not use the console to deploy it... just run your JDeveloper application
    (b) unless you tell us what real errors, there is not much more to say

  • How to find the url of adf application that has been deployed to the glassfish Server? I try but? It is the image of the page.

    Mr President

    This is the page of the glassfish Server

    gfurl.png

    How to find the url of adf application that has been deployed to the glassfish Server? I try but? It is the image of the page.

    webapplink.png

    In the jdev web module are

    [11: 09:38] wrote the Web for F:\backup of AshCMS\AshCMS\ViewController\deploy\AshCMS_ViewController_webapp.war application Module

    [11: 10:33] wrote the Module Enterprise Application to F:\backup of AshCMS\AshCMS\deploy\AshCMS_Project1_AshCMS.ear

    [11: 10:33] Application deployment...

    [11: 14:24] Application deployed successfully.

    [11: 14:24] time to deployment: 8 minutes, 11 seconds

    [11: 14:24]-deployment is complete.  ----

    what url in the browser.

    Concerning

    Mr President.

    I run my application on built-in web logic server and get the url from there

    http://localhost:7101 / ViewController/faces/MainPage

    then simply change the localhost of 7101 to 8081 as below

    http://localhost: 8081, ViewController, faces, MainPage

    and it works

    Concerning

  • Cannot invoke the stubborn task in adf application flow after deployment on stand-alone WSL

    Hello.

    We have developed application in jdeveloper 12.1.3 using ADF workflows and *.jsp (try us and *.jspx also) pages.

    On integrated weblogic application server works, but after successfully deployment on stand-alone WLS (ver. 12.1.3, demployment mode domain) with ADF runtime 12.1.3, we cannot call activity of workflow (bounded task flows) on click of a button. If we call button click on the page of the progress of the task without terminals began that it works well.

    On the server we have deployments:

    ADF. Oracle.businesseditor (1.0,12.1.3.0.0)

    ADF. Oracle.Domain (1.0,12.1.3.0.0)

    ADF. Oracle.domain.WebApp (1.0,12.1.3.0.0)

    consistency-transaction-rar

    Application of the DMS (12.1.3.0.0)

    EM

    emagentsdkimplpriv_jar (11.2.0.1.0,12.1.0.3.0)

    emagentsdkimpl_jar (11.2.0.1.0,12.1.0.3.0)

    emagentsdk_jar (11.2,12.1.0.3.0)

    EMAS

    EMCORE

    emcoreclient_jar

    emcorecommon_jar

    emcoreconsole_jar

    emcoreintsdk_jar (11.2.0.1.0,12.1.0.0.0)

    emcorepbs_jar

    emcoresdkimpl_jar (11.2.0.1.0,12.1.0.0.0)

    emcoresdk_jar (11.2.0.1.0,12.1.0.0.0)

    emcore_jar

    em_core_ppc_pojo_jar

    em_sdkcore_ppc_public_pojo_jar

    JSF (2.1, 2.1.7 - 01-)

    jsr311-API (1.1.1,1.1.1)

    JSTL (1.2,1.2.0.1)

    log4j_jar (1.3,1.2.15)

    ODL.clickhistory (1.0,12.1.3)

    ODL.clickhistory.WebApp (1.0,12.1.3)

    OHW - RCF (5,12.1.3.0.0)

    OHW - uix (5,12.1.3.0.0)

    Oracle.ADF.dconfigbeans (1.0,12.1.3.0.0)

    Oracle.ADF.desktopintegration (1.0,12.1.3.0.0)

    Oracle.ADF.desktopintegration.Model (1.0,12.1.3.0.0)

    Oracle.ADF.Management (1.0,12.1.3.0.0)

    Oracle.BI.ADF.Model.slib (1.0,12.1.3.0.0)

    Oracle.BI.ADF.View.slib (1.0,12.1.3.0.0)

    Oracle.BI.ADF.WebCenter.slib (1.0,12.1.3.0.0)

    Oracle.BI.composer (11.1.1,0.1)

    Oracle.BI.jbips (11.1.1,0.1)

    Oracle.dConfig - infra (2.0,12.1.3)

    Oracle.jrf.System.Filter

    Oracle.jsp.Next (12.1.3,12.1.3)

    Oracle.pwdgen (2.0,12.1.3)

    Oracle.SDP.client (2.0,12.1.3)

    Oracle.WebCenter.composer (2.0,12.1.3)

    Oracle.WebCenter.Skin (2.0,12.1.3)

    Oracle.WSM.Console.Core.View (1.0,12.1.3.0)

    Oracle.WSM.seedpolicies (2.0,12.1.3)

    orai18n-ADF (11,11.1.1.1.0)

    OWASP. ESAPI (2.0,12.1.3)

    State-Management-Provider-Memory-rar-12.1.3

    UIX (11,12.1.3.0.0)

    webapp

    WebApp1

    wls_jrf

    wls_reconfig_jrf_12

    WSIL-wls (12.1.3.0.0)

    +++++++++++

    Our problem:

    Of view1.jspx on click commandButton1, we cannot call taskFlowCall1.

    During the click on we see view1.jspx refreshes, but should be called view2.jspx.

    +++++++++++

    Sources

    -adfc_config.xml-

    <? XML version = "1.0" encoding = "windows-1251"? >

    " < adfc-config xmlns =" http://xmlns.Oracle.com/ADF/controller "version ="1.2"> "

    < view id = "View1" >

    View1.jspx < page > < / print this page >

    < / view >

    < task-flows-call id = "taskFlowCall1" >

    <-flow-reference to tasks >

    /Web-INF/taskFlowCall1.XML < document > < / document >

    taskFlowCall1 < id > < /ID >

    < / task-flow-reference >

    < / task flows-call >

    < rule of flow control = '__1' id >

    View1 < of-activity-id > < /-activity-id >

    < control-flow-case id = "__2" >

    TFC < from outcome > < / de-results >

    taskFlowCall1 < to-activity-id > < / to-activity-id >

    < / control-flow-case >

    < / control-flow-rule >

    < / adfc-config >

    -taskFlowCall1.xml-

    <? XML version = "1.0" encoding = "windows-1251"? >

    " < adfc-config xmlns =" http://xmlns.Oracle.com/ADF/controller "version ="1.2"> "

    < - flow - the definition of task id = "taskFlowCall1" >

    View2 < by default-activity > < / default activity >

    < transaction >

    < new-transaction / >

    < / transaction >

    < data-control-scope >

    < shared / >

    < / data-control-scope >

    < view id = "view2" >

    View2.jspx < page > < / print this page >

    < / view >

    < id of task-flow-return = 'Cancel' >

    < result >

    cancellation of < name > < / name >

    < rollback / >

    < / results >

    < / task-flow-back >

    < task-flows-call id = "taskFlowCall2" >

    <-flow-reference to tasks >

    /Web-INF/taskFlowCall2.XML < document > < / document >

    taskFlowCall2 < id > < /ID >

    < / task-flow-reference >

    < / task flows-call >

    < rule of flow control = '__1' id >

    View2 < of-activity-id > < /-activity-id >

    < control-flow-case id = "__2" >

    Cancel < from outcome > < / de-results >

    cancellation of < to-activity-id > < / to-activity-id >

    < / control-flow-case >

    < control-flow-case id = "__3" >

    tfc2 < from outcome > < / de-results >

    taskFlowCall2 < to-activity-id > < / to-activity-id >

    < / control-flow-case >

    < / control-flow-rule >

    < / task-flow-definition >

    < / adfc-config >

    -view1.jspx-

    <? XML version = "1.0" encoding = "UTF - 8"? >

    " < = xmlns:jsp jsp:root ' http://Java.Sun.com/JSP/page "version ="2.1"xmlns:f =" " http://Java.Sun.com/JSF/core "

    ' xmlns:af = ' http://xmlns.Oracle.com/ADF/faces/rich "xmlns:h =" http://Java.Sun.com/JSF/html ">

    < jsp:directive.page contentType = text/html"; Charset = UTF - 8 "/ >

    < f: view >

    < af:document title = "view1.jspx" id = "d1" > "

    < af:form id = "f1" >

    < h:commandButton value = "commandButton1" id = "cb1" action = "tfc" / >

    < / af:form >

    < / af:document >

    < / f: view >

    < / jsp:root >

    ++++++++++++

    Pls help me.

    We found a solution to the problem yourself.

    Our solution:

    On each page that uses the activity to call a workflow in the bindings, we added the executor of the ADF task flows Bindings type - taskFlow.

    The property is set (in my example):

    ID - taskFlowCall1

    taskFlowId - /WEB-INF/taskFlowCall1.xml#taskFlowCall1

    That's all.

  • The ADF application deployment error

    Hi all

    We get another error in the SOA application

    Each time that attempted to deploy the ADF for the application (.) The EAR) in soa_server1, it gave me error archive invalid soa.

    Help, please.

    Hello

    Thanks for posting.

    The above error isony because we can deploy only archive SOA (.) SAR files) on SOA_server1 managed server.

    We can deploy only SOA archive (.) SAR files) on SOA_server1 managed server. We cannot deploy ADF (.) Applications of EAR) in SOA_server1 managed server. To deploy the ADF (.) Applications of EAR) we must deploy either Jdev Weblogic Console.

  • Deploying ADF application to a managed server in weblogic - security ADF error

    Hello

    Our group wrote an ADF web application, we are trying to deploy on a weblogic managed server. So far, we have succumbed. The application deploys successfully to the AdminServer. Our facility:

    WebLogic version is 10.3.0. Domain name is adf_domain. We installed the ADF (ADF version is 11.1.1.0.0), JSTL (1.2.0.1), and the JSF (1.2.7.1) runtime libraries and they are addressing both the server administrator AND managed server called CollabServer. This server communicates with node Manager and you will be able to be started and the console of administration successfully. The AdminServer is on 7101 port, and the CollabServer is on port 7104. We do not use SSL.

    application.XML:

    <? XML version = "1.0" encoding = "windows-1252"? >
    < application xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance".
    xsi: schemaLocation = "http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_5.xsd".
    version = '5' xmlns = "http://java.sun.com/xml/ns/javaee" >
    < display name > OracleRetailCollaboration < / display-name >
    <>module
    < web >
    < web - uri > orc.war < / web - uri >
    ORC < context root > < / root context >
    < / web >
    < / module >
    < / application >

    WebLogic - application.XML (as taken from the ear file):

    <? XML version = "1.0" encoding = "windows-1252"? >
    < application weblogic xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance" xsi: schemaLocation = "http://www.bea.com/ns/weblogic/weblogic-application.xsd" xmln
    s = "http://www.bea.com/ns/weblogic/weblogic-application" >
    <>earpiece
    oracle.security.jps.wls.listeners.JpsApplicationLifecycleListener <-listener class > < / listener class >
    < / earphone >
    < library-ref >
    < name of the library - > adf.oracle.domain < / library name >
    < / library-ref >
    < / weblogic application >

    WebLogic.XML (as taken from the file. War):

    <? XML version = "1.0" encoding = "UTF - 8"? >
    < weblogic-web-app xmlns = "http://www.bea.com/ns/weblogic/weblogic-web-app" xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance" xsi: schemaLocation = "work".
    w.bea.com/NS/WebLogic/WebLogic-Web-App http://www.bea.com/ns/weblogic/weblogic-web-app/1.0/weblogic-web-app.xsd ' > '.

    <>container-descriptor
    < prefer-web-inf-classes > true < / prefer-web-inf-classes >
    < / container-descriptor >
    < security-role-assignment >
    valid users - < role name > < / role name >
    users of < SPN > < / main-name >
    < / security role assignment >
    < library-ref >
    < name of the library - > jstl < / library name >
    specification of the < version > 1.2 < / specification-version >
    < / library-ref >
    < library-ref >
    JSF < library name > - < / library name >
    specification of the < version > 1.2 < / specification-version >
    < / library-ref >

    < / weblogic-web-app >

    As I said, there is no deployment errors when deploying on the management server. However, we still see the following errors when deploying to the managed server:

    java.lang.ClassNotFoundException: oracle.security.jps.wls.listeners.JpsApplicationLifecycleListener
    etc.

    This error occurs when the deployment using the < wldeploy > Ant task included with weblogic and the deployment of the application manually using the administration console.

    So I removed this WebLogic - application.xml:

    <>earpiece
    oracle.security.jps.wls.listeners.JpsApplicationLifecycleListener <-listener class > < / listener class >
    < / earphone >

    Who decided the initial error (I guess that there is some sort of bug that causes of workaround is necessary). The following error is the following:

    java.lang.ClassNotFoundException: oracle.adf.share.security.authentication.AuthenticationServlet

    Yet once, we do not get this error when deploying to the AdminServer - ONLY the managed server CollabServer.

    Web.XML:

    ...
    < servlet >
    < name servlet - > adfAuthentication < / servlet-name >
    > the servlet class < oracle.adf.share.security.authentication.AuthenticationServlet < / servlet-class >
    < load-on-startup > 1 < / load-on-startup >
    < / servlet >
    ...
    < servlet-mapping >
    < name servlet - > adfAuthentication < / servlet-name >
    < url-pattern > /adfAuthentication / * < / url-pattern >
    < / servlet-mapping >
    ...

    I then added some jars of adf the ear file, finally get this error message:

    java.lang.ClassNotFoundException: oracle.adf.share.jsp.ADFLibUtils

    Any ideas on how to solve this problem? Thank you.

    Published by: user10451099 on April 15, 2009 12:10

    Dan,
    Thanks for remind me :-)

    Here are the steps we had to take to get a WLS managed to run an adf application without copying any jar in the field/lib directory:

    1. you should always install the adf runtime to any server you want the adf application to deploy on

    2. open the administration console, select the managed server and select the "start server" tab in the settings of trial.

    3. Add

    /u01/bea/patch_wls1030/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/u01/bea/patch_jdev1111/profiles/default/sys_manifest_classpath/weblogic_patch.jar:
    /u01/bea/patch_cie660/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/u01/bea/jrockit_160_05/lib/tools.jar:/u01/bea/wlserver_103/server/lib/weblogic_sp.jar:
    /u01/bea/wlserver_103/server/lib/weblogic.jar:/u01/bea/modules/features/weblogic.server.modules_10.3.0.0.jar:/u01/bea/wlserver_103/server/lib/webservices.jar:
    /u01/bea/modules/org.apache.ant_1.6.5/lib/ant-all.jar:/u01/bea/modules/net.sf.antcontrib_1.0.0.0_1-0b2/lib/ant-contrib.jar:/u01/bea/jdeveloper/modules/features/adf.share_11.1.1.jar:
    /u01/bea/wlserver_103/common/eval/pointbase/lib/pbclient57.jar:/u01/bea/wlserver_103/server/lib/xqrl.jar:
    /u01/bea/patch_wls1030/profiles/default/sysext_manifest_classpath/weblogic_ext_patch.jar
    

    the classpath box, you need to change ' / u01/bea /' with your bea home. The classpath must be on a single line without CR/LF, I put in to make it readable.

    4. Add

    -Xms256m -Xmx512m -da -Dplatform.home=/u01/bea/wlserver_103 -Dwls.home=/u01/bea/wlserver_103/server -Dweblogic.home=/u01/bea/wlserver_103/server
    -Ddomain.home=/u01/bea/user_projects/domains/naa_qs -Doracle.home=/u01/bea/jdeveloper -Doracle.security.jps.config=/u01/bea/user_projects/domains/naa_qs/config/oracle/jps-config.xml
    -Doracle.dms.context=OFF -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Dweblogic.management.discover=false -Dweblogic.management.server=http://localhost:7001
    -Dwlw.iterativeDev=false -Dwlw.testConsole=false -Dwlw.logErrorsToConsole=
    -Dweblogic.ext.dirs=/u01/bea/patch_wls1030/profiles/default/sysext_manifest_classpath:/u01/bea/patch_jdev1111/profiles/default/sysext_manifest_classpath:/u01/bea/patch_cie660/profiles/default/sysext_manifest_classpath
    -Dweblogic.management.username=weblogic -Dweblogic.management.password=******** -Dweblogic.Name=GESTIS_QS
    -Djava.security.policy=/u01/bea/wlserver_103/server/lib/weblogic.policy
    

    editing area of the "Arguments". As with the change of calsspath ' / u01/bea ' your home BEA and change the domain name (in our case "naa_qs") to your domain name. change the managementuser and the password to your needs. As whith the classpath I put a CR/LF in the section of code to make it readable.

    5. save the changes and restart the server

    Essentially, all that we have copied the arguments of the admin server start script and more to add the path of the class.

    Timo

  • java.lang.ClassNotFoundException: javax.faces.webapp.FacesServlet while deploying the integrated WebLogic Server Application

    Hi team,

    A lot of time I faced this problem, but today want discussed with you people please suggest me what files are get damaged or that bad so I'm not able to deploy this Application in Server integrated Weblogic himself.

    I have download the sample from the link below and open it in the version 11.1.2.3.0 for Jdeveloper and weblogic Server integrated version is

    WebLogic Server 10.3.5.0 Fri Apr 1 20:20:06 PDT 1398638 2011

    Java version:

    1.6.0_24

    Name of the operating system:

    Windows 7 (6.1)

    link to download the sample:

    https://docs.Oracle.com/CD/E18941_01/tutorials/jdtut_11r2_83/jdtut_11r2_83.html

    It opens directly the sample in Jdeveloper without converting the project and executing the Application, I get the below error:

    [11: 01:19]-deployment began.  ----

    [11: 01:19] the target platform's (Weblogic 10.3).

    [11: 01:22] recovery of the existing application information

    [11: 01:22] analysis of the dependence running...

    [11: 01:23] deployment 2 profiles...

    [11: 01:25] wrote on the Web for C:\Users\IBM_ADMIN\AppData\Roaming\JDeveloper\system11.1.2.3.39.62.76.1\o.j2ee\drs\ADFSkinSample\ViewControllerWebApp.war application Module

    [11: 01:27] wrote the Module Enterprise Application to C:\Users\IBM_ADMIN\AppData\Roaming\JDeveloper\system11.1.2.3.39.62.76.1\o.j2ee\drs\ADFSkinSample

    [11: 01:27] Application deployment...

    < 4 February 2016 11:01:29 IST > < error > < HTTP > < BEA-101371 > < there was a failure during the processing of annotations for application C:\Users\IBM_ADMIN\AppData\Roaming\JDeveloper\system11.1.2.3.39.62.76.1\o.j2ee\drs\ADFSkinSample\ViewControllerWebApp.war. Please make sure that annotations are valid. The error is javax.faces.webapp.FacesServlet >

    < 4 February 2016 11:01:29 IST > < error > < hats > < BEA-149265 > < error has occurred in the execution of the request for deployment with the ID ' 1454563887423 'for task ' 0'. Error is: "weblogic.application.ModuleException: could not load the webapp: ' ADFSecuritySample-ViewController-context-root" "

    weblogic.application.ModuleException: cannot load the webapp: "ADFSecuritySample-ViewController-context-root".

    at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:393)

    at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)

    at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)

    to weblogic.application.internal.flow.DeploymentCallbackFlow$ 1.next(DeploymentCallbackFlow.java:517)

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

    Truncated. check the log file full stacktrace

    Caused by: java.lang.ClassNotFoundException: javax.faces.webapp.FacesServlet

    at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)

    at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)

    at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:64)

    at java.lang.ClassLoader.loadClass(ClassLoader.java:305)

    at java.lang.ClassLoader.loadClass(ClassLoader.java:246)

    Truncated. check the log file full stacktrace

    >

    < 4 February 2016 11:01:29 IST > < WARNING > < hats > < BEA-149004 > < failures have been detected all introducing deploy the task of application "ADFSkinSample" >.

    < 4 February 2016 11:01:29 IST > < WARNING > < hats > < BEA-149078 > < message 149004 track battery

    weblogic.application.ModuleException: cannot load the webapp: "ADFSecuritySample-ViewController-context-root".

    at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:393)

    at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)

    at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)

    to weblogic.application.internal.flow.DeploymentCallbackFlow$ 1.next(DeploymentCallbackFlow.java:517)

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

    Truncated. check the log file full stacktrace

    Caused by: java.lang.ClassNotFoundException: javax.faces.webapp.FacesServlet

    at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)

    at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)

    at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:64)

    at java.lang.ClassLoader.loadClass(ClassLoader.java:305)

    at java.lang.ClassLoader.loadClass(ClassLoader.java:246)

    Truncated. check the log file full stacktrace

    >

    [11: 01:29] undeployment.

    [11: 01:29] - incomplete deployment.

    [11: 01:29] remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)

    # Cannot run application ADFSkinSample due to the deployment on IntegratedWebLogicServer error.

    [ADFSkinSample application stopped and cancelled Server Instance IntegratedWebLogicServer]

    Manager of the < logger > < error > ServletContainerAdapter not initialized successfully.

    Please notify.

    Thanks and greetings

    Sanjeev

    Hi Timo,

    I checked and found the question actually JSF library file is missing from my case because of who he is in error, I joined the library and its working for me as well. in any case thanks for your update.

    Thank you

    Sanjeev

  • 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

Maybe you are looking for