Packaging ADF application with Libraries

Hi Experts,
I was exploring on packaging/ bundling an ADF application with all required libraries, so that this application can be deployed on any J2EE server.
I have gone through another thread on similar topic - Error while deploying ADF application to a standalone weblogic server
Above thread says that installation of run-time libraries are must. But I want to dig little deeper into the reasoning.
What are libraries that can't be added into Application WAR file? (Normally J2EE developed application can be bundled and deployed on any of these servers (Weblogic/ tomcat/websphere)).
Is it possible to bundle ADF application with all libraries and then deploy it to Websphere server directly (without installing 3rd party libraries)?
Any help on this is appreciated.
Thanks,
Randhir

Timo / Frank / Shay,
Thanks for your help.
Websphere server is being used by other applications. So the intention of bundling libs was to check ADF application funcationality on Websphere server without installing 3rd party ADF libraries (installation may conflict other libraries and some application can stop working).
I gave a try on bundling all libraries with ADF application, but still I can see some error messages about missing libraries.
What is your suggestion on installing 3rd party libs on Websphere server? Will this impact any deployed application?
Thanks,
Randhir

Similar Messages

  • Oracle ADF application with Teradata as Database

    JDeveloper PS5.
    Is it possible to integrate Oracle ADF application with Teradata as Database?
    If yes, can you please provide some information with respect to the same?
    Thanks,
    Navaneeth

    Does teradata have a JDBC driver ? and can it understand SQL92 falvor SQL ?
    If yes, then maybe you can do ADF on it.
    Take a look at this :
    http://www.oracle.com/technetwork/developer-tools/jdev/multidatabaseapp-085183.html
    A bunch of ADF features will not be available, primary key generation will be a bit sketchy(all keys for all tables will come from a single sequence of numbers) and you'll have to implement some stuff like the persistence collection manager.
    The one thing that doc does not mention is that you also have to make sure your adf-config.xml is set with the correct 'jbo.SQLBuilder' property (SQL92) in the <amconfig-overrrides> section.
    Happy hacking !

  • Packaging ADF application using scripts

    How i can package a adf application in ear using ant / maven script?

    It's common requirement in this forum to post which version of JDev you're using.
    If you're using JDev 11g, look for the ojdeploy documentation on creating ADF Libraries.
    For general EAR/WAR construction consult publicly available Ant documentation.
    Unfortunately I can't comment on Maven, though I note a number of bloggers are currently working on it's integration with JDev 11g: http://biemond.blogspot.com/2010/05/deploy-to-weblogic-with-maven.html
    CM.

  • Packaging AIR application with ant fails, Packaging AIR application inside IntelliJ works

    Hi,
    I can package AIR application (package type ad-hoc distribution) inside IntelliJ (from Build menu)
    but when I try with my ant build, it encounters an error running the adt command
    Is there a way to have more details on the error? At the moment, it's just a Java returned:2 error.
    I've copied my ant config files below.
    Any ideas anyone on where the problem could lie or how to debug it?
    THANKS!
    Note: I have no issue with the package debug target, be it via IntelliJ or my ant build.
    Build.xml
    <project name="headr" default="package-application-debug-interpreter" basedir="../">
              <property file="build/build.properties" />
              <property name="FLEX_HOME" value="${flexsdk.dir}" />
              <taskdef resource="flexTasks.tasks" classpath="${flexsdk.dir}/ant/lib/flexTasks.jar" />
              <target name="clean" description="deletes everything in build folder">
                        <echo message="Removing build directory contents..." />
                        <delete includeemptydirs="true" quiet="false">
                                  <fileset dir="${build.dir}" />
                        </delete>
              </target>
              <target name="perform-file-copy">
                        <mkdir dir="${build.dir}" />
                        <echo message="Copy files to output dir: ${build.dir}" />
                        <copy file="src/HeadrApplication-app.xml" todir="${build.dir}" />
                        <replace file="${build.dir}/HeadrApplication-app.xml" token="[This value will be overwritten by Flash Builder in the output app.xml]" value="out/HeadrApplication.swf" />
              </target>
              <target name="compile" depends="clean,perform-file-copy">
                        <mxmlc file="src/HeadrApplication.as" output="${build.dir}/HeadrApplication.swf" locale="en_US" accessible="false" actionscript-file-encoding="UTF-8" static-rsls="true" configname="airmobile" debug="${debug}" failonerror="true" maxmemory="1024m" fork="true" swf-version="17">
                                  <load-config filename="${flex_config}" append="true" />
                        </mxmlc>
              </target>
              <target name="pack-application" depends="compile">
                        <java jar="${adt.jar}" fork="true" failonerror="true">
                                  <arg value="-package" />
                                  <arg value="-target" />
                                  <arg value="${target}" />
                                  <arg value="-provisioning-profile" />
                                  <arg value="${provisioning-profile}" />
                                  <arg value="-storetype" />
                                  <arg value="pkcs12" />
                                  <arg value="-keystore" />
                                  <arg value="${keystore}" />
                                  <arg value="-storepass" />
                                  <arg value="${storepass}" />
      <arg value="-extdir" />
      <arg value="ane/" />
                                  <arg value="${build.dir}/HeadrApplication.ipa" />
                                  <arg value="${build.dir}/HeadrApplication-app.xml" />
                                  <arg value="${build.dir}/HeadrApplication.swf" />
                                  <arg value="-C" />
                                  <arg value="src/" />
                                  <arg value="Default.png" />
      <arg value="-C" />
      <arg value="src/" />
      <arg value="[email protected]" />
                                  <arg value="-C" />
                                  <arg value="src/" />
                                  <arg value="icons/." />
                                  <arg value="data/." />
                        </java>
              </target>
              <target name="pack-application-debug" depends="compile">
                        <java jar="${adt.jar}" fork="true" failonerror="true">
                                  <arg value="-package" />
                                  <arg value="-target" />
                                  <arg value="${target}" />
                                  <arg value="-connect" />
                                  <arg value="-provisioning-profile" />
                                  <arg value="${provisioning-profile}" />
                                  <arg value="-storetype" />
                                  <arg value="pkcs12" />
                                  <arg value="-keystore" />
                                  <arg value="${keystore}" />
                                  <arg value="-storepass" />
                                  <arg value="${storepass}" />
      <arg value="-extdir" />
      <arg value="ane/" />
                                  <arg value="${build.dir}/HeadrApplication.ipa" />
                                  <arg value="${build.dir}/HeadrApplication-app.xml" />
                                  <arg value="${build.dir}/HeadrApplication.swf" />
                                  <arg value="-C" />
                                  <arg value="src/" />
                                  <arg value="Default.png" />
      <arg value="-C" />
      <arg value="src/" />
      <arg value="[email protected]" />
                                  <arg value="-C" />
                                  <arg value="src/" />
                                  <arg value="icons/." />
                                  <arg value="data/." />
                        </java>
              </target>
              <target name="package-application-debug-interpreter">
                        <antcall target="pack-application-debug">
                                  <param name="debug" value="true" />
                                  <param name="flex_config" value="build/app-config-device-debug.xml" />
                                  <param name="target" value="ipa-debug-interpreter" />
                                  <param name="provisioning-profile" value="ios_profiles/headr_development.mobileprovision" />
                                  <param name="keystore" value="ios_profiles/dev_certificate.p12" />
                                  <param name="storepass" value="xxxx" />
                        </antcall>
              </target>
              <target name="package-application-debug">
                        <antcall target="pack-application-debug">
                                  <param name="debug" value="true" />
                                  <param name="flex_config" value="build/app-config-device-debug.xml" />
                                  <param name="target" value="ipa-debug" />
                                  <param name="provisioning-profile" value="ios_profiles/headr_development.mobileprovision" />
                                  <param name="keystore" value="ios_profiles/dev_certificate.p12" />
                                  <param name="storepass" value="xxxx" />
                        </antcall>
              </target>
              <target name="package-application-adhoc">
                        <antcall target="pack-application">
                                  <param name="debug" value="false" />
                                  <param name="flex_config" value="build/app-config-device.xml" />
                                  <param name="target" value="ipa-ad-hoc" />
                                  <param name="provisioning-profile" value="ios_profiles/headr_development.mobileprovision" />
                                  <param name="keystore" value="ios_profiles/dev_certificate.p12" />
                                  <param name="storepass" value="xxxxx" />
                        </antcall>
              </target>
              <target name="package-application-appstore">
                        <antcall target="pack-application">
                                  <param name="debug" value="false" />
                                  <param name="flex_config" value="build/app-config-device.xml" />
                                  <param name="target" value="ipa-app-store" />
                                  <param name="provisioning-profile" value="ios_profiles/TODO" />
                                  <param name="keystore" value="ios_profiles/TODO" />
                                  <param name="storepass" value="TODO" />
                        </antcall>
              </target>
              <target name="launch-application">
                        <exec executable="${adl.exe}">
                                  <arg value="bin-debug/HeadrApplication-app.xml" />
                                  <arg value="-profile mobileDevice" />
                        </exec>
              </target>
    </project>
    app-config-device.xml
    <?xml version="1.0"?>
    <flex-config xmlns="http://www.adobe.com/2006/flex-config">
              <compiler>
                        <include-libraries append="true">
                                  <library>../libs/swc/robotlegs-framework-v1.5.2.swc</library>
                                  <library>../libs/swc/greensock-as3-v11.693.swc</library>
                                  <library>../libs/swc/GraphAPI_Mobile_1_8_1.swc</library>
                                  <library>../libs/swc/MonsterDebuggerMobile-v3.0.2.swc</library>
                <library>../libs/swc/TheMiner_en_v1_3_10.swc</library>
                <library>../libs/swc/analytics-v1.1.319.swc</library>
                <library>../libs/swc/assets.swc</library>
                        </include-libraries>
                        <source-path append="true">
                <path-element>../../corelib/src/</path-element>
                <path-element>../../corelib/test/</path-element>
                <path-element>../../corelib/libs/src/</path-element>
                                  <path-element>../libs/src/</path-element>
                        </source-path>
                        <external-library-path append="true">
                <!-- path-element>../ane/com.headr.HeadrNativeExtensions.ane</path-element -->
                <path-element>../ane/com.milkmangames.extensions.GoViral.ane</path-element>
                        </external-library-path>
                        <debug>false</debug>
                        <define>
        <name>CONFIG::debugging</name>
        <value>false</value>
                        </define>
    <define>
        <name>CONFIG::simulator</name>
        <value>false</value>
    </define>
              </compiler>
    </flex-config>

    You may want to try using the settings used by Flash Builder to package the application, more details of which can be found at:http://helpx.adobe.com/x-productkb/multi/compilation-results-flex-buil der-flex.html
    Update your ANT script with these, and try again.

  • Custom ADF Application with Process Instance Details Task Flow

    Hi,
    I want to use Process Instance Details Task Flow which is referred to in the doc below.
    http://download.oracle.com/docs/cd/E21764_01/user.1111/e15175/bpmug_ws_taskflows.htm#BACDBDJA
    But I could not find the task flow in the JAR files nor in the libraries described in the doc (Actually I could not find one of the JARs itself, adflibWorkspaceTaskFlows.jar).
    Does anyone know where can I find it and how to use it?
    It is more convenient if I can create a custom ADF application which contains information on process instance details using Java API for BPM.
    So I'd like to also ask whether such API is available or not.
    Regards,
    Kenji

    +1
    I also can't find the adflibWorkspaceTaskFlows.jar from the specified directory in the [ BPM Users Guide|http://download.oracle.com/docs/cd/E17904_01/user.1111/e15175/bpmug_ws_taskflows.htm#BACBBDCE] : "$FMW_HOME/AS11gR1SOA/soa/modules/oracle.soa.worklist_11.1.1"
    When I tinker the OracleBPMWorkspace.ear from the $SOA_HOME\soa\applications, it has the OracleBPMWorkspace.war that contains the adflibWorkspaceTaskFlows.jar in its WEB-INF\lib directory, but the adflibWorkspaceTaskFlows.jar does not contain the "processApplicationsTaskflow.xml" or the "processInstancesTaskflow.xml". Those task flows were present in the WEB-INF itself of the OracleBPMWorkspace.war itself which is not deployed as an ADF library.
    Please advice,
    Rommel Pino
    http://soadev.blogspot.com

  • Deployment of an ADF application with use's the JAAS

    hi all,
    i built an ADF application and used the JAAS based authentication and authorization and every thing works fine on the embedded oc4j for the Jdev, but when i deployed the application to the application server the authentication is apparently disabled since it's open the jsp pages without redirecting to the login page as usual on the embedded oc4j, so what should i configure on the AS oc4j ?
    since i created all roles and users ans premissions on the application side how can i configure the AS oc4j to the system-jazn-data.xml?
    i updated the security provider and it doesn't work.
    appreciate any help

    Hi
    the login screen come up after deployment but i changed the security provider for my application to the system-jazen-data.xml file which i placed on the AS but it still doesn't read the users and roles and permissions configured on it..
    my major problem is that i built the whole Application on the Jdev and it's internal OC4J, so how can i deploy it on the AS without repeating my work??
    and a second question , with the ear file it self is the polices the i gave to each role configured in it??? can i just add the roles and users on the AS OC4J and i ll find the authorization i did already on the Application level??
    thanx and best regards for help

  • Error while Portetizing ADF Application with security feature.

    Dear All,
    I am able to portletise a normal ADF application and is running fine on Portal. But as I add security feature to it I am getting error, For reference i am pasting my web.xml and portlet.xml.
    ------------------------web.xml-------------------------------------------------------------
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee">
    <description>Empty web.xml file for Web Application</description>
    <context-param>
    <param-name>javax.faces.application.CONFIG_FILES</param-name>
    <param-value>/WEB-INF/faces-config.xml,/WEB-INF/portlet.xml</param-value>
    </context-param>
    <context-param>
    <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
    <param-value>server</param-value>
    </context-param>
    <context-param>
    <param-name>CpxFileName</param-name>
    <param-value>view.DataBindings</param-value>
    </context-param>
    <filter>
    <filter-name>adfFaces</filter-name>
    <filter-class>oracle.adf.view.faces.webapp.AdfFacesFilter</filter-class>
    </filter>
    <filter>
    <filter-name>adfBindings</filter-name>
    <filter-class>oracle.adf.model.servlet.ADFBindingFilter</filter-class>
    </filter>
    <filter-mapping>
    <filter-name>adfFaces</filter-name>
    <servlet-name>Faces Servlet</servlet-name>
    <dispatcher>FORWARD</dispatcher>
    <dispatcher>REQUEST</dispatcher>
    </filter-mapping>
    <filter-mapping>
    <filter-name>adfBindings</filter-name>
    <url-pattern>*.jsp</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>adfBindings</filter-name>
    <url-pattern>*.jspx</url-pattern>
    </filter-mapping>
    <servlet>
    <servlet-name>Faces Servlet</servlet-name>
    <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet>
    <servlet-name>adfAuthentication</servlet-name>
    <servlet-class>oracle.adf.share.security.authentication.AuthenticationServlet</servlet-class>
    <init-param>
    <param-name>success_url</param-name>
    <param-value>faces/Welcome.jspx</param-value>
    </init-param>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet>
    <servlet-name>resources</servlet-name>
    <servlet-class>oracle.adf.view.faces.webapp.ResourceServlet</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>Faces Servlet</servlet-name>
    <url-pattern>/faces/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>adfAuthentication</servlet-name>
    <url-pattern>/adfAuthentication/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>resources</servlet-name>
    <url-pattern>/adf/*</url-pattern>
    </servlet-mapping>
    <session-config>
    <session-timeout>35</session-timeout>
    </session-config>
    <mime-mapping>
    <extension>html</extension>
    <mime-type>text/html</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>txt</extension>
    <mime-type>text/plain</mime-type>
    </mime-mapping>
    <security-constraint>
    <web-resource-collection>
    <web-resource-name>adfAuthentication</web-resource-name>
    <url-pattern>/adfAuthentication</url-pattern>
    </web-resource-collection>
    <auth-constraint>
    <role-name>Guest</role-name>
    <role-name>oc4j-administrators</role-name>
    <role-name>users</role-name>
    </auth-constraint>
    </security-constraint>
    <login-config>
    <auth-method>FORM</auth-method>
    <form-login-config>
    <form-login-page>Login.jspx</form-login-page>
    <form-error-page>Login.jspx</form-error-page>
    </form-login-config>
    </login-config>
    <security-role>
    <role-name>Guest</role-name>
    </security-role>
    <security-role>
    <role-name>oc4j-administrators</role-name>
    </security-role>
    <security-role>
    <role-name>users</role-name>
    </security-role>
    </web-app>
    ---------------------------------portlet.xml----------------------------------------------
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <portlet-app version="1.0" xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd">
    <portlet>
    <portlet-name>UC68PortletKunal</portlet-name>
    <display-name>UC68PortletKunal</display-name>
    <portlet-class>oracle.portlet.server.bridges.jsf.FacesPortlet</portlet-class>
    <init-param>
    <name>DefaultPage.view</name>
    <value>/SearchInput.jspx</value>
    </init-param>
    <init-param>
    <name>BridgeLifecycleListeners</name>
    <value>
    oracle.portlet.server.bridges.jsf.adf.ADFFacesBridgeLifecycleListener,oracle.portlet.server.bridges.jsf.adf.BindingFacesBridgeLifecycleListener
    </value>
    </init-param>
    <supports>
    <mime-type>text/html</mime-type>
    <portlet-mode>VIEW</portlet-mode>
    </supports>
    <supported-locale>en</supported-locale>
    <portlet-info>
    <title>UC68PortletKunal</title>
    <short-title>UC68PortletKunal</short-title>
    </portlet-info>
    </portlet>
    </portlet-app>
    Your reply is most welcomed. I am working for 2 days, if you know just give few minutes to address this issue.

    Hi,
    not sure what the error message is that you get. However, if you access an application through prortal then the security needs to be enforced by the portal, not the application itself because the portal will modify the request headers.
    Did you ask the question on the WebCenter or Portal forum here on OTN
    WebCenter Portal
    Frank

  • Not able to portletise an ADF application with Security Feature.

    Dear All,
    I am able to portletise a normal ADF application and is running fine on Portal. But as I add security feature to it I am not able to portletise it, For reference i am pasting my web.xml and portlet.xml. Do i need to include any filter or listener?
    ------------------------web.xml-------------------------------------------------------------
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee">
    <description>Empty web.xml file for Web Application</description>
    <context-param>
    <param-name>javax.faces.application.CONFIG_FILES</param-name>
    <param-value>/WEB-INF/faces-config.xml,/WEB-INF/portlet.xml</param-value>
    </context-param>
    <context-param>
    <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
    <param-value>server</param-value>
    </context-param>
    <context-param>
    <param-name>CpxFileName</param-name>
    <param-value>view.DataBindings</param-value>
    </context-param>
    <filter>
    <filter-name>adfFaces</filter-name>
    <filter-class>oracle.adf.view.faces.webapp.AdfFacesFilter</filter-class>
    </filter>
    <filter>
    <filter-name>adfBindings</filter-name>
    <filter-class>oracle.adf.model.servlet.ADFBindingFilter</filter-class>
    </filter>
    <filter-mapping>
    <filter-name>adfFaces</filter-name>
    <servlet-name>Faces Servlet</servlet-name>
    <dispatcher>FORWARD</dispatcher>
    <dispatcher>REQUEST</dispatcher>
    </filter-mapping>
    <filter-mapping>
    <filter-name>adfBindings</filter-name>
    <url-pattern>*.jsp</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>adfBindings</filter-name>
    <url-pattern>*.jspx</url-pattern>
    </filter-mapping>
    <servlet>
    <servlet-name>Faces Servlet</servlet-name>
    <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet>
    <servlet-name>adfAuthentication</servlet-name>
    <servlet-class>oracle.adf.share.security.authentication.AuthenticationServlet</servlet-class>
    <init-param>
    <param-name>success_url</param-name>
    <param-value>faces/Welcome.jspx</param-value>
    </init-param>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet>
    <servlet-name>resources</servlet-name>
    <servlet-class>oracle.adf.view.faces.webapp.ResourceServlet</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>Faces Servlet</servlet-name>
    <url-pattern>/faces/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>adfAuthentication</servlet-name>
    <url-pattern>/adfAuthentication/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>resources</servlet-name>
    <url-pattern>/adf/*</url-pattern>
    </servlet-mapping>
    <session-config>
    <session-timeout>35</session-timeout>
    </session-config>
    <mime-mapping>
    <extension>html</extension>
    <mime-type>text/html</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>txt</extension>
    <mime-type>text/plain</mime-type>
    </mime-mapping>
    <security-constraint>
    <web-resource-collection>
    <web-resource-name>adfAuthentication</web-resource-name>
    <url-pattern>/adfAuthentication</url-pattern>
    </web-resource-collection>
    <auth-constraint>
    <role-name>Guest</role-name>
    <role-name>oc4j-administrators</role-name>
    <role-name>users</role-name>
    </auth-constraint>
    </security-constraint>
    <login-config>
    <auth-method>FORM</auth-method>
    <form-login-config>
    <form-login-page>Login.jspx</form-login-page>
    <form-error-page>Login.jspx</form-error-page>
    </form-login-config>
    </login-config>
    <security-role>
    <role-name>Guest</role-name>
    </security-role>
    <security-role>
    <role-name>oc4j-administrators</role-name>
    </security-role>
    <security-role>
    <role-name>users</role-name>
    </security-role>
    </web-app>
    ---------------------------------portlet.xml----------------------------------------------
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <portlet-app version="1.0" xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd">
    <portlet>
    <portlet-name>UC68PortletKunal</portlet-name>
    <display-name>UC68PortletKunal</display-name>
    <portlet-class>oracle.portlet.server.bridges.jsf.FacesPortlet</portlet-class>
    <init-param>
    <name>DefaultPage.view</name>
    <value>/SearchInput.jspx</value>
    </init-param>
    <init-param>
    <name>BridgeLifecycleListeners</name>
    <value>
    oracle.portlet.server.bridges.jsf.adf.ADFFacesBridgeLifecycleListener,oracle.portlet.server.bridges.jsf.adf.BindingFacesBridgeLifecycleListener
    </value>
    </init-param>
    <supports>
    <mime-type>text/html</mime-type>
    <portlet-mode>VIEW</portlet-mode>
    </supports>
    <supported-locale>en</supported-locale>
    <portlet-info>
    <title>UC68PortletKunal</title>
    <short-title>UC68PortletKunal</short-title>
    </portlet-info>
    </portlet>
    </portlet-app>
    Your reply is most welcomed. I am working for 2 days, if you know just give few minutes to address this issue.

    hi thanks for reply,
    I am using 10.1.3.3 version
    Steps followed are mentioned in one of the PDF
    Oracle WebCenter Framework Tutorial, 10g (10.1.3.2.0)
    B31072-02
    Here I am tring to secure some page of application as per user role usinf ADF secuiry feature.
    The application runs fine in "stand alone" mode.
    While tring portletise i am getting portlet unavilable. So i think i need to modify my portlet.xml OR web.xml
    From Welcome Page:
    I have login and logout link displayed to user not loggged in and logged in user respectively I have done using golink propery.
    Also i have some command button as:
    On clicking: Go To MyWeather Rendered to #{backing_Welcome.authenticated &&
    bindings.permissionInfo['MyWeatherPageDef'].allowsView}
    On clicking: Go To MyContent Rendered to #{backing_Welcome.authenticated &&
    bindings.permissionInfo['MyContentPageDef'].allowsView}

  • Start and ADF Application with a non-View Task

    I would like my application to start with a non-View task from within Unbounded Task Flow.
    For example, I would like a single "Task Flow Call" in the Unbounded Task Flow which will call the first Bounded Task Flow. The first BTF will expose the main application page. The main application page will contain a dynamic region to handle all other bounded task flows.
    Is there a better task type to use than the Task Flow Call?
    Does the first task in an unbounded task flow need to be a view task?
    If so, is possible to simply use this page to redirect to a non-view task (such as a Task Flow Call)?
    Any ideas on the best approach for this? The point is that I do not want to start the application with a view task.
    Thanks,
    Vince

    Hi,
    you can't start with a non-view acticvity in an unbounded task flow. In your case I suggest to use a bounded task flow that you enable for browser access (property setting) and have it using JSPX pages. You don't need to start with a view in the unbounded task flow to achieve what you want
    Frank

  • Can I use Same ADF application with SQL server 2008 as well as Oracle 11g?

    Hi ,
    I have created a application in ADF(Using J-Developer). I used SQL server 2008 as Database Provider. I have same Database in Oracle 11g. I want to connect my appliction to Oracle 11g database. I changed connection and connected to Oracle. But, when I tried to save or delete any data from front end, it gave error. Any solution on this?
    Thanks

    Hi,
    I have created Entity object and View object for every page in my application. That objects created from sql server database. Application is working fine with sql server. But when connected with Oracle 11g. It is giving following errors:
    On clicking search control it gives: ORA 00923 From keyword not found where expected.
    On searching with perticular field it gives: ORA-01722: Invalid Number.
    On Clicking save buttonit gives: ORA-00933: SQL command not properly ended.
    These are error messages from IntegratedWebLogicServer-Log:
    java.sql.SQLSyntaxErrorException: ORA-00923: FROM keyword not found where expected
    <QueryCollection> <buildResultSet> [3929] java.sql.SQLSyntaxErrorException: ORA-00923: FROM keyword not found where expected
    Caused by: java.sql.SQLSyntaxErrorException: ORA-00923: FROM keyword not found where expected
    <DCBindingContainer> <cacheException> [3947] * * * BindingContainer caching EXCEPTION:oracle.jbo.SQLStmtException
    <DCBindingContainer> <cacheException> [3948] java.sql.SQLSyntaxErrorException: ORA-00923: FROM keyword not found where expected
    <DCBindingContainer> <cacheException> [3949] * * * BindingContainer caching EXCEPTION:oracle.jbo.SQLStmtException
    <DCBindingContainer> <cacheException> [3950] java.sql.SQLSyntaxErrorException: ORA-00923: FROM keyword not found where expected
    <DCBindingContainer> <cacheException> [3951] * * * BindingContainer caching EXCEPTION:oracle.jbo.SQLStmtException
    <DCBindingContainer> <cacheException> [3952] java.sql.SQLSyntaxErrorException: ORA-00923: FROM keyword not found where expected
    <DCBindingContainer> <cacheException> [3953] * * * BindingContainer caching EXCEPTION:oracle.jbo.SQLStmtException
    <DCBindingContainer> <cacheException> [3954] java.sql.SQLSyntaxErrorException: ORA-00923: FROM keyword not found where expected
    java.lang.NullPointerException

  • How to use single ant build script to package the application with and without native extensions

    Hi,
    I am using iOS native extensions for Adobe air. For this I am listing the extensions in the application descriptor file. Since the package with native extensions are meant to run only on device, I want my build script to work without native extensions too to be able to run on simulator. Is this manadatory that I need two separate application descriptors/basically two build scripts to compile and package them? Please suggest and let me know if more explanation is needed.
    Thanks,
    Swathi.

    Hi
    This is a known issue addressed by CR205204
    As you said, IBM actually does not have rt.jar in its JDK - they have moved contents of rt.jar into various jars.
    IBM is not using org/apache/crimson/tree/ in their JDK at all.So the error shows up in the end of build even if it succeeds
    You may need to add crimson.jar to wlwBuild classpath, since it is not part of IBMs JDK.
    Note: the build will work even w/o crimson.jar giving a non build related IDE exception in the very end.
    Thanks
    Vimala

  • How To Integrate ADF Application with Oracle Fusion Middleware Audit Fmwk ?

    Hi All,
    I'm having ADF/ADF Face Application (using Jdev 11.1.1.5) and want to integrate it with Oracle Fusion Middleware Audit Framework.
    I want to generate audit records by using oracle.security.jps.service.audit API and also want that Audit Policy
    for my Application will be visible and manageable through FusionMiddlewareControl (as well as othe admin tools)
    on the same way how it is for the OPSS services for example.
    Unfortunately i didn't find any detailed docs for the topics above. In the Oracle Fusion Middleware Security Guide,
    it is steated only that:
    "Stand-alone applications can be integrate d with the Oracle Fusion Middleware Audit Framework through configuration with the jps-config.xml file."
    , but nothing in details.
    Can somebody help with this, giving some more detailed info or links to the appropriate detailed documentation(if any) ?
    Thanks in advance,
    Krasimir

    deepak - why not link to the real documentation instead of that site that illegally publishes stuff?
    Krasimir - I had a look at this a long way back, and didn't explore it much further because I reached a dead end in trying to figure out how it worked. It seems to me that the function is there and may be used internally within Oracle, but that it's not documented well enough for we mere mortals of the public to use it.
    Have you tried opening an SR with Support? They won't know, but they will be able to raise it up and perhaps find someone who does know - be sure to reference this thread in your SR if you go that route.
    John

  • Passing parameters through URL in ADF Application with UIShell

    Hi,
    JDeveloper Studio Edition Version 11.1.1.6.0
    The UI in our application is developed with UIShell pageTemplate.
    We have a Home page created with PageTemplace "UIShell.jspx" and this page is placed as a view in adfc-config.xml (the Unbounded Task Flow).
    The other pages for our application are created using Page Fragments and these pages are called from Home_taskmenu.xml through Bounded task flows.
    With this setting, the URL(after SignIn) will look like,
    http://localhost:7101/OperationalPlanning/faces/Home?_afrWindowMode=0&_adf.no-new-window-redirect=true&_afrLoop=6811862222491857&_adf.ctrl-state=29wus7giw_19
    We have a requirement to build the URL which should open a Page Fragment directly after Signing In to the application. And we have a id to be passed as a parameter, so it should open the page fragment with the details based on the id value that we pass.
    The parameters are already registered in the Bounded Task Flow(which has the page fragment) and I could open in the "localArea" using a link in the Home Page.
    Now, I want to directly launch the Bounded task flow by passing a parameter, so that it opens the Page Fragment as a tab once we signIn.
    Let me know if there is any solution for this requirement.
    If there is any document to follow for this kind of requirement in an application which is created using the UIShell, please let me know.
    Thanks,
    Tamil

    hi Frank,
    Thanks for the response. We followed your suggestion and managed to capture URL parameters in afterPhase(LifeCycle.PREPARE_MODEL) and save parameters to ViewScope.
    Then in beforePhase(LifeCycle.PREPARE_RENDER), we retrieve parameters back and invoke FndUIController.openMainTask method to launch the correponding taskflow but nothing happens.
    public static void openTaskflowOnNewTab(String taskflowId) {
    try {
    FacesContext fc = FacesContext.getCurrentInstance();
    ELContext elc = fc.getELContext();
    ExpressionFactory ef = fc.getApplication().getExpressionFactory();
    ValueExpression valExp = ef.createValueExpression(elc,"#{bindings.openMainTask}",Object.class);
    JUCtrlActionBinding methodBinding = (JUCtrlActionBinding)valExp.getValue(elc);
    Map params = methodBinding.getParamsMap();
    params.put("label", "Some Title");
    params.put("taskFlowId", taskflowId);
    params.put("reuseInstance", true);
    methodBinding.invoke();
    } catch (Exception e) {
    e.printStackTrace();
    To prove that this method works, we create a UI button on the page (which binds this method in PageDef.xml), and associate this method to onclick event. At runtime after page is opened, clicking on the button does launch the taskflow on new tab successfully.
    Do you happen to know what I do wrong in the beforePhase() method?
    Thanks
    -Phi

  • Stuck thread in adf application with weblogic

    hi every body
    I am working in JDev 11.1.1.4 and weblogic 10.3.4
    when I deploy my Application in my production weblogic
    after some time (it does not constant it is variable) I got warnning on the server
    when I check the server I got some stuck thread
    any idea or notes how can I know what is the reason of these stuck threads?
    is there any objects have thread unsafe issue, resource contention or race condition in ADF?
    BR,
    Alaa

    actully I do that guys
    but what I get does not have any related to my application
    even those http request does not request the same page
    this is the stuck thread when I dump
    "[STUCK] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'" id=61 idx=0xe8 tid=13369 prio=1 alive, waiting, native_blocked, daemon
    -- Waiting for notification on: oracle/adfinternal/controller/util/RequestLock@0x88e06b58[fat lock]
    at jrockit/vm/Threads.waitForNotifySignal(JLjava/lang/Object;)Z(Native Method)
    at jrockit/vm/Locks.wait(Locks.java:1973)[inlined]
    at java/lang/Object.wait(Object.java:485)[inlined]
    at oracle/adfinternal/controller/util/RequestLock.lock(RequestLock.java:42)[inlined]
    at oracle/adfinternal/controller/state/RootViewPortContextImpl.lockViewPortRequestLock(RootViewPortContextImpl.java:604)[optimized]
    ^-- Lock released while waiting: oracle/adfinternal/controller/util/RequestLock@0x88e06b58[fat lock]
    at oracle/adfinternal/controller/state/ControllerState.initializeRequest(ControllerState.java:833)[inlined]
    at oracle/adfinternal/controller/state/ControllerState.initializeRequest(ControllerState.java:754)[inlined]
    at oracle/adfinternal/controller/application/AdfcConfigurator.beginRequest(AdfcConfigurator.java:50)[optimized]
    at org/apache/myfaces/trinidadinternal/config/GlobalConfiguratorImpl._startConfiguratorServiceRequest(GlobalConfiguratorImpl.java:562)[inlined]
    at org/apache/myfaces/trinidadinternal/config/GlobalConfiguratorImpl.beginRequest(GlobalConfiguratorImpl.java:212)[optimized]
    at org/apache/myfaces/trinidadinternal/webapp/TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:155)[optimized]
    at org/apache/myfaces/trinidad/webapp/TrinidadFilter.doFilter(TrinidadFilter.java:92)[optimized]
    at weblogic/servlet/internal/FilterChainImpl.doFilter(FilterChainImpl.java:56)[optimized]
    at oracle/adf/library/webapp/LibraryFilter.doFilter(LibraryFilter.java:175)[optimized]
    at weblogic/servlet/internal/FilterChainImpl.doFilter(FilterChainImpl.java:56)[optimized]
    at oracle/security/jps/ee/http/JpsAbsFilter$1.run(JpsAbsFilter.java:111)[optimized]
    at jrockit/vm/AccessController.doPrivileged(AccessController.java:254)[inlined]
    at oracle/security/jps/util/JpsSubject.doAsPrivileged(JpsSubject.java:313)[inlined]
    at oracle/security/jps/ee/util/JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)[inlined]
    at oracle/security/jps/ee/http/JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)[inlined]
    at oracle/security/jps/ee/http/JpsAbsFilter.doFilter(JpsAbsFilter.java:161)[optimized]
    at oracle/security/jps/ee/http/JpsFilter.doFilter(JpsFilter.java:71)[optimized]
    at weblogic/servlet/internal/FilterChainImpl.doFilter(FilterChainImpl.java:56)[optimized]
    at oracle/dms/servlet/DMSServletFilter.doFilter(DMSServletFilter.java:136)[optimized]
    at weblogic/servlet/internal/FilterChainImpl.doFilter(FilterChainImpl.java:56)[optimized]
    at weblogic/servlet/internal/RequestEventsFilter.doFilter(RequestEventsFilter.java:27)[optimized]
    at weblogic/servlet/internal/FilterChainImpl.doFilter(FilterChainImpl.java:56)[inlined]
    at weblogic/servlet/internal/WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)[inlined]
    at weblogic/servlet/internal/WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)[optimized]
    at weblogic/security/acl/internal/AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)[optimized]
    at weblogic/security/service/SecurityManager.runAs(SecurityManager.java:120)[inlined]
    at weblogic/servlet/internal/WebAppServletContext.securedExecute(WebAppServletContext.java:2277)[inlined]
    at weblogic/servlet/internal/WebAppServletContext.execute(WebAppServletContext.java:2183)[optimized]
    at weblogic/servlet/internal/ServletRequestImpl.run(ServletRequestImpl.java:1454)[optimized]
    at weblogic/work/ExecuteThread.execute(ExecuteThread.java:207)[optimized]
    at weblogic/work/ExecuteThread.run(ExecuteThread.java:176)
    at jrockit/vm/RNI.c2java(IIIII)V(Native Method)
    -- end of trace
    any another ideas?
    BR,
    Alaa

  • Browser back button not working with ADF Application integrated with SSO

    I have integrated an adf application with Oracle SSO Authentication. Application is running fine.
    Though, while navigating between pages, using browser back button , it is not redirecting the url properly
    Should Redirect it to : http://<hostname>:<port>/<contex-root>/<servlet>/<id>
    Presently Redirecting it to :http://<hostname>:<port>/<contex-root>
    As, directory browsing is not allowed, there is Error 403--Forbidden .
    Can anybody tell what changes needs to be made to make browser back button work.

    In some of the documentation I have read, they have mentioned that using the back button in a browser doesn't work too well with any JSF type of application (not just ADF and Jdeveloper apps).
    http://docs.oracle.com/cd/E15051_01/web.1111/b31974/web_form.htm#CFHHJGJH
    Instead, they suggest using buttons on the form.
    There is a video on using navigation between forms that may be of value: http://www.youtube.com/watch?v=bsPtmRID5XI&feature=plcp
    Stuart
    Edited by: Stuart Fleming on Sep 11, 2012 5:30 AM

Maybe you are looking for

  • While loading data in to ODS error?

    Hi, I trying to load CRM datasource in to BI system with ODS.Which i use ODS was relaesed bi BI connect. when i load data from source to ODS...data was transfered up to PSA but failed in "SUB-PROCESSING AREA" with errors as follow: 1)Value of 'M'of c

  • Can't write password on online banking

    My girlfriend has a problem, where she can't write anything in the password bar in her online banking. She has to write the password another place (f.e. in the internet adress bar) and then copy-paste it into the password bar (by pressing "cmd"+"v" -

  • Tuxedo Migration - Memory issues

    Dear All, We recently migrated our application as below Old Environment:      32 bit Tuxedo 8.1 on HPUX, Patch Level 371 New Environment:      64 bit Tuxedo 11.1.1.3.0 on Linux, Patch Level 006 After this migration our C++ Corba servers are leaking m

  • Configration failed

    Failed to create Sample Data An exception of type System.Data.SqlClient.SqlException was thrown. Addition Exceptional information: Cannot open database "User Profile Service Application_ProfileDb_90a125----------------" requested by the login. The lo

  • ORA-00054 - Find user who have lock

    Hi, I'm using "select for update NOWAIT" in my application for editing records. It works but after I catch ORA-00054 I want to find username who have the lock. The basic step is propably to query view v$lock and propably after then some else view. Th