ADF 11.1.1.2.0 Standalone Weblogic Deployment

I'm trying to deploy my ADF application to a standalone WLS instance. I have an admin server and a managed server and I've installed the ADF runtime on both. I can see deployments for both adf.oracle.domain and adf.oracle.domain.webapp. However, when I try to deploy to the managed server I get this exception:
Caused By: java.lang.ClassNotFoundException: oracle.adfinternal.view.faces.bi.renderkit.graph.GraphServlet
     at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:296)
     at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:269)
     at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:56)
     at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
     at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
     at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:177)
     at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:44)
     at weblogic.servlet.internal.WebAnnotationProcessorImpl.processServlets(WebAnnotationProcessorImpl.java:227)
     at weblogic.servlet.internal.WebAnnotationProcessorImpl.processJ2eeAnnotations(WebAnnotationProcessorImpl.java:211)
     at weblogic.servlet.internal.WebAnnotationProcessorImpl.processAnnotations(WebAnnotationProcessorImpl.java:107)
     at weblogic.servlet.internal.WebAppServletContext.processAnnotations(WebAppServletContext.java:1300)
     at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletContext.java:422)
     at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletContext.java:466)
     at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:414)
     at weblogic.servlet.internal.WebAppModule.registerWebApp(WebAppModule.java:924)
     at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:356)
     at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
     at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
     at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:391)
     at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
     at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:59)
     at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:43)
     at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:1221)
     at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
     at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:367)
     at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:54)
     at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
     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:98)
     at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
     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: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)I can see that this servlet is packaged in dvt-trinidad.jar which is deployed with adf.oracle.domain.webapp. Here is my weblogic.xml:
<?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="http://www.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>
       <role-name>valid-users</role-name>
       <principal-name>users</principal-name>
    </security-role-assignment>
    <library-ref>
        <library-name>jstl</library-name>
        <specification-version>1.2</specification-version>
    </library-ref>
    <library-ref>
        <library-name>jsf</library-name>
        <specification-version>1.2</specification-version>
    </library-ref>
</weblogic-web-app>and my weblogic-application.xml:
<?xml version='1.0' encoding='UTF-8'?>
<weblogic-application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.bea.com/ns/weblogic/weblogic-application.xsd" xmlns="http://www.bea.com/ns/weblogic/weblogic-application">
  <listener>
     <listener-class>oracle.security.jps.wls.listeners.JpsApplicationLifecycleListener</listener-class>
  </listener>
  <listener>
    <listener-class>oracle.adf.share.weblogic.listeners.ADFApplicationLifecycleListener</listener-class>
  </listener>
  <listener>
    <listener-class>oracle.mds.lcm.weblogic.WLLifecycleListener</listener-class>
  </listener>
  <library-ref>
    <library-name>adf.oracle.domain</library-name>
    <implementation-version>11.1.1.2.0</implementation-version>
  </library-ref>
  <library-ref>
    <library-name>adf.oracle.domain.webapp</library-name>
    <implementation-version>11.1.1.2.0</implementation-version>
  </library-ref>
</weblogic-application>Are the implementation versions correct for ADF 11.1.1.2.0? Does it even matter? What am I missing? Thanks.

as always in this sort of problem when the application is runned in your computer(integrate weblogic) but when you deployed it in the standalone application server is as below
when your run it on your computer a link is generated (just before showing the link of URL in the log window)
the title for that is
Wrote Enterprise Application Module to
and also when you want to deploy the application you mainly create a EAR file you can compare the content of this EAR with the folder I mentioned before to see what is the differences.
it came handy most of the time

Similar Messages

  • How to run ADF command-line test-client on standalone weblogic host

    I have followed the steps to create a test client for the ADF application. In used the following link:
    http://download.oracle.com/docs/cd/B31017_01/web.1013/b25947/bcquerying007.htm
    The above link does not talk about how to setup the environment where the standalone weblogic is installed to be able to run the test client.
    I can run it in the jdeveloper environment.
    I can also run from the command line on the development host, by cut-paste the command from the jdeveloper output log tab.
    I am trying to run this client on the machine where we have a weblogic installed (standalone) for testing. We can run our ADF application from the browser with no issues. We want to automate and run some testing related to the ADF model (non-viewcontroller part) from the command line on this test stage.
    Which/Where are the ADF libraries?
    How can I add our application jar deployed on the weblogic (ear file) to the CLASSPATH?
    What other libraries ADF/Weblogic do I need for the command line test client?
    What am I missing?
    Thanks for any help.
    Edited by: mmunawar on Jul 2, 2011 1:03 PM
    Edited by: mmunawar on Jul 2, 2011 1:04 PM

    create weblogic application server connection from jdeveloper and then Deploy that application through jdeveloper in the weblogic application server and then run it from jdeveloper and see if its working.

  • Standalone Weblogic deployment not working for ADF Table

    Hi All,
    I have create one application using JDeveloper 11g R3. I have taken one ADF Rich Table
    When i run application in Jdeveloper it runs fine.
    Now issue is when i deployee the same in standalone Weblogic server it is not running(Page gets open but table dosent display).
    But when i use same datacontrol and drag it as ADF Form it is working fine.
    Also weblogic server is not showing any logs.
    Please suggest.
    Thanks,
    Vijay

    The Admin Server Log is bellow,
    JAVA Memory arguments: -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=512m
    WLS Start Mode=Development
    CLASSPATH=E:\Oracle\MIDDLE~1\WLSERV~1.3\server\ext\jdbc\oracle\11g\ojdbc6dms.jar;E:\Oracle\MIDDLE~1\patch_wls1033\profiles\default\sys_manifest_classpath\w
    ic_patch.jar;E:\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\sys_manifest_classpath\weblogic_patch.jar;E:\Oracle\MIDDLE~1\JDK160~1\lib\tools.jar;E:\Orac
    DDLE~1\WLSERV~1.3\server\lib\weblogic_sp.jar;E:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.jar;E:\Oracle\MIDDLE~1\modules\features\weblogic.server.modu
    0.3.3.0.jar;E:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\webservices.jar;E:\Oracle\MIDDLE~1\modules\ORGAPA~1.1/lib/ant-all.jar;E:\Oracle\MIDDLE~1\modules\NETSF
    _1/lib/ant-contrib.jar;E:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrf.jar;E:\Oracle\MIDDLE~1\WLSERV~1.3\common\derby\lib\derbyclient.jar;E:\Orac
    DDLE~1\WLSERV~1.3\server\lib\xqrl.jar;E:\Oracle\MIDDLE~1\patch_wls1033\profiles\default\sys_manifest_classpath\weblogic_patch.jar;E:\Oracle\MIDDLE~1\patch_
    111\profiles\default\sys_manifest_classpath\weblogic_patch.jar;E:\Oracle\MIDDLE~1\JDK160~1\lib\tools.jar;E:\Oracle\MIDDLE~1\utils\config\10.3\config-launch
    E:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic_sp.jar;E:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.jar;E:\Oracle\MIDDLE~1\modules\features\weblogic
    er.modules_10.3.3.0.jar;E:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\webservices.jar;E:\Oracle\MIDDLE~1\modules\ORGAPA~1.1/lib/ant-all.jar;E:\Oracle\MIDDLE~1\m
    s\NETSFA~1.0_1/lib/ant-contrib.jar;E:\Oracle\MIDDLE~1\WLSERV~1.3\common\derby\lib\derbynet.jar;E:\Oracle\MIDDLE~1\WLSERV~1.3\common\derby\lib\derbyclient.j
    PATH=E:\Oracle\MIDDLE~1\patch_wls1033\profiles\default\native;E:\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\native;E:\Oracle\MIDDLE~1\WLSERV~1.3\serve
    ive\win\32;E:\Oracle\MIDDLE~1\WLSERV~1.3\server\bin;E:\Oracle\MIDDLE~1\modules\ORGAPA~1.1\bin;E:\Oracle\MIDDLE~1\JDK160~1\jre\bin;E:\Oracle\MIDDLE~1\JDK160
    n;E:\Oracle\MIDDLE~1\patch_wls1033\profiles\default\native;E:\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\native;E:\Oracle\MIDDLE~1\WLSERV~1.3\server\n
    \win\32;E:\Oracle\MIDDLE~1\WLSERV~1.3\server\bin;E:\Oracle\MIDDLE~1\modules\ORGAPA~1.1\bin;E:\Oracle\MIDDLE~1\JDK160~1\jre\bin;E:\Oracle\MIDDLE~1\JDK160~1\
    :\Oracle\app\product\11.2.0\dbhome_1\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;E:\Oracle\MIDD
    WLSERV~1.3\server\native\win\32\oci920_8;E:\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32\oci920_8
    * To start WebLogic Server, use a username and *
    * password assigned to an admin-level user. For *
    * server administration, use the WebLogic Server *
    * console at http:\\hostname:port\console *
    starting weblogic with Java version:
    java version "1.6.0_18"
    Java(TM) SE Runtime Environment (build 1.6.0_18-b07)
    Java HotSpot(TM) Client VM (build 16.0-b13, mixed mode)
    Starting WLS with line:
    E:\Oracle\MIDDLE~1\JDK160~1\bin\java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=512m -Dweblogic.Name=AdminSer
    Djava.security.policy=E:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.policy -Xverify:none -Xverify:none -da -Dplatform.home=E:\Oracle\MIDDLE~1\WLSERV~
    Dwls.home=E:\Oracle\MIDDLE~1\WLSERV~1.3\server -Dweblogic.home=E:\Oracle\MIDDLE~1\WLSERV~1.3\server -Ddomain.home=E:\Oracle\MIDDLE~1\USER_P~1\domains\BASE
    -Dcommon.components.home=E:\Oracle\MIDDLE~1\ORACLE~1 -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Djr
    .optfile=E:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrocket_optfile.txt -Doracle.domain.config.dir=E:\Oracle\MIDDLE~1\USER_P~1\domains\BASE_D~1\
    g\FMWCON~1 -Doracle.server.config.dir=E:\Oracle\MIDDLE~1\USER_P~1\domains\BASE_D~1\config\FMWCON~1\servers\AdminServer -Doracle.security.jps.config=E:\Orac
    DDLE~1\USER_P~1\domains\BASE_D~1\config\fmwconfig\jps-config.xml -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Digf.arisidbeans.carmlloc=E:\Oracle
    LE~1\USER_P~1\domains\BASE_D~1\config\FMWCON~1\carml -Digf.arisidstack.home=E:\Oracle\MIDDLE~1\USER_P~1\domains\BASE_D~1\config\FMWCON~1\arisidprovider -D
    gic.alternateTypesDirectory=E:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.ossoiap_11.1.1,E:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.oamprovider_11.1.1 -Dwebl
    jdbc.remoteEnabled=false -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=E:\Orac
    DDLE~1\patch_wls1033\profiles\default\sysext_manifest_classpath;E:\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\sysext_manifest_classpath weblogic.Serv
    <Jan 19, 2011 4:34:37 PM IST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 16.0-b13 from Sun Micr
    ems Inc.>
    <Jan 19, 2011 4:34:37 PM IST> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3.3.0 Fri Apr 9 00:05:28 PDT 2010 1321401 >
    <Jan 19, 2011 4:34:38 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <Jan 19, 2011 4:34:38 PM IST> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
    <Jan 19, 2011 4:34:38 PM IST> <Notice> <Log Management> <BEA-170019> <The server log file E:\Oracle\Middleware\user_projects\domains\base_domain\servers\Ad
    rver\logs\AdminServer.log is opened. All server side log events will be written to this file.>
    <Jan 19, 2011 4:34:40 PM IST> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
    <Jan 19, 2011 4:34:43 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
    <Jan 19, 2011 4:34:43 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <Jan 19, 2011 4:34:48 PM IST> <Notice> <Log Management> <BEA-170027> <The Server has established connection with the Domain level Diagnostic Service succes
    y.>
    <Jan 19, 2011 4:34:48 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
    <Jan 19, 2011 4:34:48 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
    <Jan 19, 2011 4:34:48 PM IST> <Notice> <Server> <BEA-002613> <Channel "Default[1]" is now listening on fe80:0:0:0:0:5efe:a81:c06c:7001 for protocols iiop,
    dap, snmp, http.>
    <Jan 19, 2011 4:34:48 PM IST> <Warning> <Server> <BEA-002611> <Hostname "INEDEC-ENP-70.emrsn.org", maps to multiple IP addresses: 10.129.192.108, fe80:0:0:
    1:2cf6:49b4:9963%11>
    <Jan 19, 2011 4:34:48 PM IST> <Notice> <Server> <BEA-002613> <Channel "Default[4]" is now listening on 0:0:0:0:0:0:0:1:7001 for protocols iiop, t3, ldap, s
    http.>
    <Jan 19, 2011 4:34:48 PM IST> <Notice> <Server> <BEA-002613> <Channel "Default[3]" is now listening on 127.0.0.1:7001 for protocols iiop, t3, ldap, snmp, h
    <Jan 19, 2011 4:34:48 PM IST> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 10.129.192.108:7001 for protocols iiop, t3, ldap, snmp,
    .>
    <Jan 19, 2011 4:34:48 PM IST> <Notice> <Server> <BEA-002613> <Channel "Default[2]" is now listening on fe80:0:0:0:31c1:2cf6:49b4:9963:7001 for protocols ii
    3, ldap, snmp, http.>
    <Jan 19, 2011 4:34:48 PM IST> <Notice> <WebLogicServer> <BEA-000331> <Started WebLogic Admin Server "AdminServer" for domain "base_domain" running in Devel
    t Mode>
    <Jan 19, 2011 4:34:48 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
    <Jan 19, 2011 4:34:48 PM IST> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
    <Jan 19, 2011 4:46:29 PM IST> <Error> <org.apache.beehive.netui.pageflow.internal.AdapterManager> <BEA-000000> <ServletContainerAdapter manager not initial
    correctly.>
    <Jan 19, 2011 4:47:01 PM IST> <Warning> <netuix> <BEA-423420> <Redirect is executed in begin or refresh action. Redirect url is /console/console.portal?_nf
    ue&_pageLabel=AppApplicationOverviewPage&AppApplicationOverviewPortlethandle=com.bea.console.handles.AppDeploymentHandle%28%22com.bea%3AName%3DFMW+Welcome+
    Application%2311.1.0.0.0%2CType%3DAppDeployment%22%29.>
    <Jan 19, 2011 4:48:08 PM IST> <Warning> <netuix> <BEA-423420> <Redirect is executed in begin or refresh action. Redirect url is /console/console.portal?_nf
    ue&_pageLabel=AppApplicationOverviewPage&AppApplicationOverviewPortlethandle=com.bea.console.handles.AppDeploymentHandle%28%22com.bea%3AName%3Dtestdep%2CTy
    AppDeployment%22%29.>
    <Jan 19, 2011 4:48:45 PM IST> <Warning> <netuix> <BEA-423420> <Redirect is executed in begin or refresh action. Redirect url is /console/console.portal?_nf
    ue&_pageLabel=AppApplicationOverviewPage&AppApplicationOverviewPortlethandle=com.bea.console.handles.AppDeploymentHandle%28%22com.bea%3AName%3DFMW+Welcome+
    Application%2311.1.0.0.0%2CType%3DAppDeployment%22%29.>
    <Jan 19, 2011 4:49:03 PM IST> <Warning> <netuix> <BEA-423420> <Redirect is executed in begin or refresh action. Redirect url is /console/console.portal?_nf
    ue&_pageLabel=AppApplicationOverviewPage&AppApplicationOverviewPortlethandle=com.bea.console.handles.AppDeploymentHandle%28%22com.bea%3AName%3Dtestdep%2CTy
    AppDeployment%22%29.>
    <Jan 19, 2011 4:49:45 PM IST> <Warning> <netuix> <BEA-423420> <Redirect is executed in begin or refresh action. Redirect url is /console/console.portal?_nf
    ue&_pageLabel=AppApplicationOverviewPage&AppApplicationOverviewPortlethandle=com.bea.console.handles.AppDeploymentHandle%28%22com.bea%3AName%3DFMW+Welcome+
    Application%2311.1.0.0.0%2CType%3DAppDeployment%22%29.>

  • 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 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)

  • 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

  • Deploying a jdev adf app on standalone weblogic issues

    Dear all,
    Sorry for my post which is very long but i will try to give you all information.
    I am currently developing a full stack ADF application (with BC4J to access the database) using Jdev 11g last release (5407)
    When working in JDev, my application is running perfectly.
    Now i am facing several issues regarding the deployment on a standalone weblogic.
    * 1st problem: deploying from Jdev into a remote weblogic server *
    If i try to deploy on a separate machine from jdeveloper directly using a server connection, then deployment failed with message in jdev console:
    [04:53:47 PM] Weblogic Server Exception: weblogic.deploy.api.internal.utils.DeployerHelperException: The source 'C:\Temp\lara_abcf.ear' for the application 'Lara ABCF' could not be loaded to the server 'http://MYSERVER:7001/bea_wls_deployment_internal/DeploymentService'.
    Read channel closed
    [04:53:47 PM] See server logs or server console for more details.
    [04:53:47 PM] weblogic.deploy.api.spi.exceptions.ServerConnectionException: [J2EE Deployment SPI:260041]Unable to upload 'D:\jdev-workspace\LaraABCF\deploy\lara_abcf.ear' to 't3://MYSERVER:7001'
    [04:53:47 PM] #### Deployment incomplete. ####
    [04:53:47 PM] Deployment Failed
    I tried to look into weblogic logs and see nothing helping me to found the problem. Any idea?
    I then tried to create a local domain on my workstaion and now deploying from JDeveloper works.
    I created an EAR file from Jdev and deployedthe EAR from the weblogic web console.
    From both method i was facing the same issue:
    * 2nd problem: deploying an application with a datasource access into a standalone weblogic *
    - Using the default configuration, i successfully deployed the application using weblogic console but the application stay on "Prepared" state in the console. Starting it from the console the application failed to start after the deployment. The error message display in the top of the web page is :
    Error weblogic.common.ResourceException: java.security.PrivilegedActionException: weblogic.common.ResourceException: java.security.PrivilegedActionException: weblogic.common.ResourceException: No credential mapper entry found for password indirection user=lra_abcf for data source laraABCFConn
    -I found an entry in the forum (What does this message mean? which give an hint to solve this issue:
    Modify the application properties from JDev and uncheck the option: "Auto Generate and Synchronize weblogic-jdbc.xml Descriptors During Deployment", rebuild and deploy the application.
    I try this method and teh application successfully starts but does not work: stacktrace in weblogic console indicates that BC4J does not work properly and i think that database connection are not up. The error Message:
    javax.el.ELException: java.lang.NullPointerException
    at javax.el.BeanELResolver.setValue(BeanELResolver.java:345)
    at javax.el.CompositeELResolver.setValue(CompositeELResolver.java:283)
    at com.sun.faces.el.FacesCompositeELResolver.setValue(FacesCompositeELResolver.java:100)
    at com.sun.el.parser.AstValue.setValue(AstValue.java:140)
    at com.sun.el.ValueExpressionImpl.setValue(ValueExpressionImpl.java:255)
    Truncated. see log file for complete stacktrace
    java.lang.NullPointerException
    at com.cma.shipping.lara.view.settings.backing.TeuConversionBkB.setServicesSelectList(TeuConversionBkB.java:254)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    Truncated. see log file for complete stacktrace
    The NPE is on a line accessing a view object.
    * Final question:
    Is it possible to develop an application using a local database connection for BC4J in jdev and an external datasource when the application is deployed on a standalone weblogic without modifying the source code?
    The real issue about this is : is there a step by step tutorial explaining how to develop a simple ADF11g application using BC and deploy it successfully on a weblogic server?
    Thanks for your help

    found a workaround:
    * create a datasource on the weblogic side, mapped into the JNDI tree
    * create a new configuration in the appmodule with a new datasource mapped to this jndi reference
    * modify the databinding of my page to use this app module configuration
    * deploy again the application and this works
    but now my application does not work in jdeveloper because it seeks to a datasource in JNDI. I must revert to old settings for development en switch to these new settings to deploy on the server. Very annoying...
    Thanks for you help :)

  • 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.

  • 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

  • Deploy application on standalone WebLogic 11g(10.3.6)

    Dear Sir/Madam
    I have installed standalone Oracle WebLogic Server 11g(10.3.6),so I used JDeveloper 11g Release 2 (11.1.2.3.0).
    Moreover, I created an application like of "Developing Rich Web Applications With Oracle ADF Part3" Tutorial, yet I could deployed and run.
    This sample has two pages(DeptEmpPage & query).I clicked the "Query" button but not happened instead of to navigate to another page.
    briefly:
    1- I could run correctly on embedded WebLogic Server 10.3.
    2- it run standalone the (DeptEmpPage or query) pages on standalone WebLogic. it means both of pages are in war file.
    Best regards,
    Saeed.

    Hi User
    Though I'm not fully clear of your question, as I understand it, it seems that you are not able to run this same app on the standaloe WLS as opposed to the Integrated WLS, though you point out that they are both WAR files.
    1. have you configured the domains and the datasources forthe standalone WLS as you have done for the IWLS
    2. the model.jar and the ViewControllerRC are packaged in a WAR, and the deploy script allows you to deploy to an EAR. so the ear is the one you will have to deploy/copy to the standalone version.

  • Can i install Oracle ADF Essentials 11.1.2.3 on weblogic 10.6 ?

    can i install Oracle ADF Essentials 11.1.2.3 on weblogic 10.6 ?
    what the difference between ADF Essentials 11.1.2.3 and Application Development Run time 11.1.1.6 ?
    can i use ADF Essentials 11.1.2.3 instead of Application Development Run time 11.1.1.6 to deploy application (contains many jsf pages with rich faces and many taskflows and BC4J) ??
    i'm using jdeveloper 11.1.2.3.0 and weblogic 10.6 installed on the Linux server

    Hi,
    JDeveloper 11g R1 (11.2.3) supported as ADF essentials and running on WebLogic 10.3.6 are the same releases. The difference is that a path is needed if you want to deploy the software on WLS 10.3.6. Quoting the release notes:
    +"The ADF Runtime will be installed into a standalone application server by applying an Opatch bundle on top of a 11.1.1.6 version of the Application Developer Runtime environment. In the event that additional patches are needed or desired in addition to the 11.1.2.3.0 patch (for example, if an additional patch is needed for another component in the Application Development Runtime installation), those patches will need to be installed separately.+
    +Important note: The patch is intended to be applied to an Application Developer Runtime installation. Applying the patch to a different installation type (for example, Oracle SOA Suite or Oracle WebCenter) is not supported."+
    Release Notes: http://www.oracle.com/technetwork/developer-tools/jdev/11gr2update3-1851251.html
    For Glasssfish you don't need to patch the server and only install the ADF runtime libraries - also explained in the Release notes.
    Frank

  • 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

  • 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

  • Can we deploy jdeveloper 11.1.2 application in standalone weblogic 10.3.4 ?

    Hi,
    I have an urgent issue on deployment. Can we use weblogic 10.3.4 for deploying jdeveloper 11.1.2 adf applications?
    and how to got sherman patch if i have to use standalone weblogic 10.3.5?
    Please answer this query?
    Thanks a lot. Please Reply.

    Hi Kunal,
    Unfortunately, it's not stated so clearly anywhere, at least that I know of.
    In http://www.oracle.com/technetwork/developer-tools/jdev/jdev11gr2-cert-405181.html#Application_Servers it's stated "Certified with 11.1.1.5.x only" and then if you look at http://www.oracle.com/technetwork/middleware/downloads/fmw-11gr1certmatrix.xls it's stated that 11.1.1.5.0 is certified with WebLogic Server 10.3.5.
    You can also look in the release notes http://www.oracle.com/technetwork/developer-tools/jdev/shermanrelnotes-405777.html#deploy which shows to install 10.3.5.
    If you wanted a very clear definitive statement from Oracle - file an SR with support and ask them.
    John

  • 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

Maybe you are looking for

  • Certain songs do not show up on ipod

    On some of my CDs which I have imported into iTunes, some of the songs on an album do not make it onto my ipod. All songs are in iTunes and nicely catalogued. (For example: 5 of 12 songs will be on album on ipod, but all 12 sitting there in iTunes.)

  • How Can I Shut Down Pages?

    Yesterday, I downloaded a document attached to an e-mail. It opened as a PDF and I simply read it. Then I decided to save it. Somehow I ended up in Pages with a drop down dialogue box to perform a "save as". I decided to shorten the file name and tha

  • PS CS5 for MAC.  Photoshop crashes when I try to print  Any help appreciated

    Am running MAC OS Maverick.  Photoshop CS5 crashes when I press print tab.  Any solutions?

  • Windows CD not working

    Hi, I am trying to install Windows XP onto my map with Bootcamp. I was told that I cannot use a version that came with a computer. Does anyone know if Parallels or another system will let you use the software that came with a PC.

  • Like operator in for all entries

    hi all, may i know how to apply like for "for all entries" where the first position is 9. syntax is incorrect. hope can get help. thanks   CONCATENATE itab-xx+0(1) '%' INTO v_kstar.   SELECT kstar txt20 INTO TABLE it_act     FROM aaa     FOR ALL ENTR