Using ADF with Eclipse

Hi guys,
I'm trying to create a sample project using ADF Faces (only the JSF components, no bindings or anything else). Target server is WebLogic 10.3 and IDE is Eclipse 3.4.
First of all, I'm not entirely clear on the relationship between ADF Faces and Trinidad. I know that the former has been donated by Oracle to Apache and it later became the Trinidad project, but how is the current Trinidad project related to the ADF Faces components delivered with WebLogic 10.3? Is there any advantage in using the commercial distribution instead of Trinidad? As I said, we don't want to use the rest of the ADF framework (bindings and all).
Secondly, my deployment has been failing for multiple reasons. The current situation has the WebLogic console displaying the following warning :
28-Jan-2009 5:13:54 PM oracle.adfinternal.view.faces.renderkit.core.CoreRenderKit _addBasicHTMLRenderKit
WARNING: Could not find basic HTML renderer for family javax.faces.SelectMany, type=javax.faces.Checkbox
When I try to load the page, the console shows the following error:
java.lang.NullPointerException
     at com.sun.faces.renderkit.RenderKitUtils.getResponseStateManager(RenderKitUtils.java:253)
     at com.sun.faces.lifecycle.RestoreViewPhase.isPostback(RestoreViewPhase.java:267)
     at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:172)
     at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
     at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:104)
     at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
     at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
     at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
     at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
     at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
     at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
     at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:367)
     at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:336)
     at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:196)
     at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:87)
My current setup is as follows:
- WebLogic 10.3 with latest patches
- domain is configured to support Application Development Framework (is this necessary?)
- web.xml declares:
* context-param: oracle.adf.view.faces.ALTERNATE_VIEW_HANDLER = com.sun.facelets.FaceletViewHandler
* filter: adf-filter = oracle.adf.view.faces.webapp.AdfFacesFilter
* servlet: faces-servlet = javax.faces.webapp.FacesServlet (load-on-startup = 1)
* servlet: adf-resources-servlet = oracle.adf.view.faces.webapp.ResourceServlet
* listener: com.sun.faces.config.ConfigureListener
- weblogic.xml declares:
* library reference to JSF 1.2
- faces-config.xml declares:
* default-render-kit-id = oracle.adf.rich
- JAR dependencies:
* adf-faces-api
* adf-faces-impl
* adf-share
* adf-facelets
* jsf-facelets
Does this setup make any sense at all?
Thanks,
GB

Hi Shay,
Thank you for your answers. The ADF-Trinidad relationship is now clear to me.
I have installed JDeveloper 11g and succeeded in creating a simple ADF Faces application then deploying it to a stand-alone WebLogic instance. I've learned through the process that even JDeveloper struggles to deploy the application as a WAR, and only succeeds when deploying it as an EAR file.
I am now trying to upgrade this simple application to use Facelets instead of JSPs. JDeveloper 11g has Facelets support but it seems that it cannot mix Facelets and ADF components - after creating a new Facelets page, the Resource Palette only shows standard JSF components and the ADF Faces components are nowhere to be found. Surely I must be missing something?
Given this, I tried updating my setup to include Facelets rendering but I'm running into more troubles. I get one of 2 results depending on how I configure the servlet mapping for the Faces servlet.
1. If I map the Faces servlet to /faces/*, the page renders, normal HTML tags are rendered but all JSF tags (standard and ADF) are not rendered, they are simply copied verbatim to the web page (as seen in the HTML source). I also get the following message in the console:
30-Jan-2009 9:42:21 AM oracle.adfinternal.view.faces.activedata.SessionDataUpdateManager __getPageDataUpdateManager
SEVERE: cannot register active data when window has no name2. If I map the Faces servlet to *.xhtml, I get the following exception:
java.lang.IllegalStateException: No FacesContext available
     at oracle.adf.view.rich.context.AdfFacesContext.getViewScope(AdfFacesContext.java:232)
     at oracle.adfinternal.view.faces.context.RichPhaseListener.afterPhase(RichPhaseListener.java:336)
     at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:354)
     at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:203)
     at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
     at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
     at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
     at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
     at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
     at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:85)
     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:278)
     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter(TrinidadFilterImpl.java:238)
     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:195)
     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:138)
     at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)The console also shows this:
30-Jan-2009 9:46:15 AM org.apache.myfaces.trinidadinternal.renderkit.core.CoreRenderKit encodeFinally
WARNING: No RenderingContext availableFor both settings, I tried invoking the application using 2 different URLs, namely http://localhost:7001/app1/views/public/login.xhtml and http://localhost:7001/app1/faces/views/public/login.xhtml
My web.xml now looks like this:
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
     xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
     id="WebApp_ID" version="2.5">
     <context-param>
          <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
          <param-value>.xhtml</param-value>
     </context-param>
     <context-param>
          <param-name>facelets.DEVELOPMENT</param-name>
          <param-value>true</param-value>
     </context-param>
     <context-param>
          <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
          <param-value>client</param-value>
     </context-param>
     <context-param>
          <param-name>com.sun.faces.validateXml</param-name>
          <param-value>true</param-value>
     </context-param>
     <context-param>
          <param-name>com.sun.faces.verifyObjects</param-name>
          <param-value>true</param-value>
     </context-param>
     <context-param>
          <param-name>oracle.adf.view.faces.ALTERNATE_VIEW_HANDLER</param-name>
          <param-value>com.sun.facelets.FaceletViewHandler</param-value>
     </context-param>
     <servlet>
          <servlet-name>faces-servlet</servlet-name>
          <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
          <load-on-startup>1</load-on-startup>
     </servlet>
     <servlet-mapping>
          <servlet-name>faces-servlet</servlet-name>
          <url-pattern>*.xhtml</url-pattern>
     </servlet-mapping>
     <servlet>
          <servlet-name>adf-resources-servlet</servlet-name>
          <servlet-class>oracle.adf.library.webapp.ResourceServlet</servlet-class>
     </servlet>
     <servlet-mapping>
          <servlet-name>adf-resources-servlet</servlet-name>
          <url-pattern>/adflib/*</url-pattern>
     </servlet-mapping>
     <servlet>
          <servlet-name>trinidad-resources-servlet</servlet-name>
          <servlet-class>org.apache.myfaces.trinidad.webapp.ResourceServlet</servlet-class>
     </servlet>
     <servlet-mapping>
          <servlet-name>trinidad-resources-servlet</servlet-name>
          <url-pattern>/adf/*</url-pattern>
     </servlet-mapping>
     <servlet-mapping>
          <servlet-name>trinidad-resources-servlet</servlet-name>
          <url-pattern>/adr/*</url-pattern>
     </servlet-mapping>
     <filter>
          <filter-name>adf-library-filter</filter-name>
          <filter-class>oracle.adf.library.webapp.LibraryFilter</filter-class>
     </filter>
     <filter-mapping>
          <filter-name>adf-library-filter</filter-name>
          <url-pattern>/*</url-pattern>
     </filter-mapping>
     <filter>
          <filter-name>trinidad-filter</filter-name>
          <filter-class>org.apache.myfaces.trinidad.webapp.TrinidadFilter</filter-class>
     </filter>
     <filter-mapping>
          <filter-name>trinidad-filter</filter-name>
          <servlet-name>faces-servlet</servlet-name>
     </filter-mapping>
     <session-config>
          <session-timeout>30</session-timeout>
     </session-config>
</web-app>Am I missing some setting here?
Thanks a bunch!
GB

Similar Messages

  • How to use ADF with weblogic Portal 10.3.2

    Hello All,
    I want to use ADF with Weblogic Portal 10.3.2. Can anyone guide me ?
    Thanks,
    *(' ')sman*

    Hello,
    To use ADF with WLP 10.3.2 you will need a WebCenter WSRP producer running the portlet, which you can then consume as a remote portlet in WLP. The documentation on how to do that is here:
    http://download.oracle.com/docs/cd/E15919_01/wlp.1032/e14235/chap_webcenter_interop.htm#BABDBJBD
    Kevin

  • Using ADFS with SharePoint Foundation 2013?

    We have a WSS 3.0 web site used primarily for sharing documents with business partners who do not work for our company.  We plan on doing the 2 step upgrade to SharePoint Foundation 2013
    Our internal users also use it but normally just use internal network file shares if they aren't planning to share the documents with external users.
    Each business partner's company has a sub site within our main WSS site and documents are uploaded to that section of the site if we want to share documents with employees of that company. 
    Since we use AD for authentication, to make this work, we create AD user accounts for each external user and add them to a security group that gives them access to only their company's subsite on the main site.  
    We have to maintain their passwords, reset them and delete/disable them when that person no longer needs access.  Each business partner has a limit on the number of users who can get one of our AD accounts due to limits on the number of CALs available
    to them.  It is messy because these users often forget their passwords since they aren't using these accounts every day.  
    Is there a better way to do this so that we no longer have create and maintain user accounts for external users other than having to do a domain trust with all these other domains?
    I have heard of ADFS, but will it allow us to still control which sites and documents the external company users can access if we are not creating and managing the accounts and adding them to the correct security groups ourselves?
    We don't want every user from the partner's domains to be able to access the site.  If we use ADFS, how do we keep control of which external users have access to the site?

    Yes, you would add permissions just the same way you do with users from your local Active Directory. And yes, if you chose the email address to be the user's identifier, you would simply ask for the email addresses that you wanted and input those to the
    appropriate permissions on your SharePoint sites.
    You'll want to take a look at this:
    http://blogs.msdn.com/b/russmax/archive/2013/10/31/guide-to-sharepoint-2013-host-name-site-collections.aspx
    Also another thing to keep in mind is that you'll need to have those 3rd parties set up ADFS themselves, and you'll create an ADFS Trust between you and the 3rd party.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Can we use RoboHelp with Eclipse as version control?

    Im am using RoboHelp 7 in the Tech Comm Suite in a Windows XP environment.
    I see a lot of information on using RoboSource as versionn control, but I'm not seeing a lot of information on other third-pary version control software.  I did see one posting that suggested that if you are planning to use third-party software, you should uninstall RoboSource first.  I can't seem to figure out the following:
    How do you determine if your version control (Eclipse) supports Microsoft SCC API?
    How do you get RH to recognize Eclipse? Even though I uninstalled RoboSource Control 3, it still shows up in the Select Version Control Provider
    Are there step-by-step instructions anywhere that show how to get RoboHelp to recognize third-party software?
    As always, thanks for your assistance.

    Colum,
    Thanks for recommending that I visit Peter's web site.  It has a great page on Eclipse.  Wish I had read it before I was shoved kicking and screaming into using it.  However, it did stop short of providing me with information to troubleshoot the problems I'm having with Eclipse and RH 7.  I sent him an e-mail from the site and hope that he will be able to answer it.

  • Dobt in using Emulator with Eclipse

    Hi all,
    I am using Eclipsewith ME + Suns WTK(2.2 , 2.5 and2.5.1 versions ) for devoleping Midlet Application.I have to teest my Midlet suite for
    a) MIDPI version 1.0 and CLDC 1.0 handsets
    b) MIDPI version 1.0 and CLDC 1.1 handsets
    But there are no Handsets with the above configuration available in these wtk versions.
    But I can change the cldc version in the Preference page of Eclipse
    (Eclipse>Windows>Preference>j2me>preverification>��..). &
    (Eclipse>Project Propertise>preverification...............................)
    Which among these Is the correct way?
    ====================================
    Also i got a url ---- http://developers.sun.com/mobility/device/device
    Here there are number of hand sets supports different CLDC and MIDP versions
    But how can i use this devise�s Emulators with Eclipse ME?
    Please give me a reply ,if anyone knows...........?
    ==================
    Many Many Thanks
    shejiss

    Hi all,
    I am using Eclipsewith ME + Suns WTK(2.2 , 2.5 and2.5.1 versions ) for devoleping Midlet Application.I have to teest my Midlet suite for
    a) MIDPI version 1.0 and CLDC 1.0 handsets
    b) MIDPI version 1.0 and CLDC 1.1 handsets
    But there are no Handsets with the above configuration available in these wtk versions.
    But I can change the cldc version in the Preference page of Eclipse
    (Eclipse>Windows>Preference>j2me>preverification>��..). &
    (Eclipse>Project Propertise>preverification...............................)
    Which among these Is the correct way?
    ====================================
    Also i got a url ---- http://developers.sun.com/mobility/device/device
    Here there are number of hand sets supports different CLDC and MIDP versions
    But how can i use this devise�s Emulators with Eclipse ME?
    Please give me a reply ,if anyone knows...........?
    ==================
    Many Many Thanks
    shejiss

  • Cannot make .war file using tomcat with eclipse and ant

    i have made all necesary configuration for deploying application using eclipse and ant for the tomcat server.
    when i start the server by clicking the tomcat icon on eclipse toolbar, the message is prompted that "missing application web.xml and using defaults". i have placed the web.xml file in the web/WEB-INF directory of the source project directory.
    also when i use ant by right-clicking on the build.xml file and choose Run as ant.. the process creates a desired .war file in webapps folder of the tomcat server but that war file does not works.
    where is the error i cannot figure out.
    am attaching the code of build.xml for reference.
    please help.
    build.xml:-
    <project name="BecilCTI" default="compile" basedir=".">
    <property file="build.properties"/>
    <property file="${user.home}/build.properties"/>
    <property name="app.name" value="BecilCTI"/>
    <property name="app.path" value="/${app.name}"/>
    <property name="app.version" value="0.1-dev"/>
    <property name="build.home" value="${basedir}/build"/>
    <property name="catalina.home" value="c:/Tomcat_5.5"/> <!-- UPDATE THIS! -->
    <property name="dist.home" value="${basedir}/dist"/>
    <property name="docs.home" value="${basedir}/docs"/>
    <property name="manager.url" value="http://localhost:8080/manager"/>
    <property name="src.home" value="${basedir}/src"/>
    <property name="web.home" value="${basedir}/web"/>
    <property name="compile.debug" value="true"/>
    <property name="compile.deprecation" value="false"/>
    <property name="compile.optimize" value="true"/>
    <!--<property name="build.compiler" value="org.eclipse.jdt.core.JDTCompilerAdapter"/>-->
    <path id="compile.classpath">
    <!-- Include all elements that Tomcat exposes to applications -->
    <pathelement location="${catalina.home}/common/classes"/>
    <fileset dir="${catalina.home}/common/endorsed">
    <include name="*.jar"/>
    </fileset>
    <fileset dir="${catalina.home}/common/lib">
    <include name="*.jar"/>
    </fileset>
    <pathelement location="${catalina.home}/shared/classes"/>
    <fileset dir="${catalina.home}/shared/lib">
    <include name="*.jar"/>
    </fileset>
    </path>
    <target name="all" depends="clean,compile"
    description="Clean build and dist directories, then compile"/>
    <target name="clean"
    description="Delete old build and dist directories">
         <echo message="Cleaning all dirs."/>
    <delete dir="${build.home}"/>
    <delete dir="${dist.home}"/>
    </target>
    <target name="compile" depends="prepare"
    description="Compile Java sources">
    <!-- Compile Java classes as necessary -->
    <mkdir dir="${build.home}/WEB-INF/classes"/>
    <javac srcdir="${src.home}"
    destdir="${build.home}/WEB-INF/classes"
    debug="${compile.debug}"
    deprecation="${compile.deprecation}"
    optimize="${compile.optimize}">
    <classpath refid="compile.classpath"/>
    </javac>
    <!-- Copy application resources -->
    <copy todir="${build.home}/WEB-INF/classes">
    <fileset dir="${src.home}" excludes="**/*.java"/>
    </copy>
    </target>
    <target name="dist" depends="compile"
    description="Create binary distribution">
    <!-- Copy documentation subdirectories
    <mkdir dir="${dist.home}/docs"/>
    <copy todir="${dist.home}/docs">
    <fileset dir="${docs.home}"/>
    </copy> -->
    <!-- Create application JAR file -->
    <jar jarfile="${catalina.home}/webapps/${app.name}.war"
    basedir="${build.home}"/>
    <!-- Copy additional files to ${dist.home} as necessary -->
    </target>
    <target name="install" depends="compile"
    description="Install application to servlet container">
    <deploy url="${manager.url}"
    username="${manager.username}"
    password="${manager.password}"
    path="${app.path}"
    localWar="file://${build.home}"/>
    </target>
    <target name="list"
    description="List installed applications on servlet container">
    <list url="${manager.url}"
    username="${manager.username}"
    password="${manager.password}"/>
    </target>
    <target name="prepare">
    <!-- Create build directories as needed -->
    <mkdir dir="${build.home}"/>
    <mkdir dir="${build.home}/WEB-INF"/>
    <mkdir dir="${build.home}/WEB-INF/classes"/>
    <!-- Copy static content of this web application -->
    <copy todir="${build.home}">
    <fileset dir="${web.home}"/>
    </copy>
    <mkdir dir="${build.home}/WEB-INF/lib"/>
    </target>
    <target name="reload" depends="compile"
    description="Reload application on servlet container">
    <reload url="${manager.url}"
    username="${manager.username}"
    password="${manager.password}"
    path="${app.path}"/>
    </target>
    <target name="remove"
    description="Remove application on servlet container">
    <undeploy url="${manager.url}"
    username="${manager.username}"
    password="${manager.password}"
    path="${app.path}"/>
    </target>
    </project>

    So is context.xml actually overwriting the settings found in server.xml?I think so. The way I understand it is the the context.xml file saves you from having to edit server.xml. It is preferred for each web app to do its own config, rather than lumping them all together in server.xml.
    And what would be the best way to create the war file? IAt its heart, a WAR is just a zip file with its contents laid out in according to the specification of a web application directory structure.
    So the simplest way to make a war file is to zip up your directory structure with a tool like winzip, and rename it to be myApp.war.
    Regarding ant, I would recommend you take a look through [url http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/index.html
    ]this tutorial. It explains the basics of website layout, configuration and deployment.
    On [url http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/source.html] this page  in particular, it includes a link to a basic ant file that you can use as a starting point.
    Cheers,
    evnafets

  • Using Toplink with Eclipse - (Newbie question)

    If you have (for instance):
    * a blank Dynacmic Web Project in Eclipse
    * and you have a Workbench Toplink project- say an XML or Database project.
    Then you have to save your Toplink project, which spurts out various directories e.g. classes, descriptors, schemas, fooname.mwp etc.
    Where do you save this in your Java project - is it at /src? Or someplace else?
    I am asking this question because I am having problems when debugging my application - certain xml files cannot be found etc. Anyway I guess I just need to find out if I am getting the basics right for now - so any help will be much appreciated.
    PS - Why can't I find a simple tutorial/example showing Eclipse and Toplink - it's all JDeveloper and Ant builds and ahhhhhghghhhgh!

    golcarlad,
    Hi, try the following EclipseLink JPA examples and tutorials for SE and EE environments - oriented around the Eclipse 3.4 IDE (ant capable but WTP ready)
    With these you will be able to fully debug your JPA application both on and off any application server.
    If you are still deploying your WAR to Tomcat then the following tutorial on running EclipseLink JPA on Tomcat 6 will help you out. Put your additional orm.xml file alongside persistence.xml if you are using functionality beyond standard JPA.
    http://wiki.eclipse.org/EclipseLink/Examples/JPA/Tomcat_Web_Tutorial
    From
    Help on creating a ServerSession in Eclipse with XML file
    "In particular note that there are two META-INF directories - we want to use only the one off of src.
    "Make sure that your persistence.xml (and optionaly orm.xml) file is placed off of the src/META-INF directory and not the default WebContent/META-INF dir so that it gets picked up by the servlet classloader from the classes directory."
    Other Tutorials:
    http://wiki.eclipse.org/EclipseLink/Examples
    http://wiki.eclipse.org/EclipseLink/Examples/JPA
    http://wiki.eclipse.org/EclipseLink/Examples/JPA/EmployeeXML
    http://wiki.eclipse.org/EclipseLink/Examples/JPA/Dynamic
    http://wiki.eclipse.org/EclipseLink/Examples/JPA#JPA_Web_Application_Tutorials
    http://wiki.eclipse.org/EclipseLink/Examples/JPA/WebLogic_Web_Tutorial
    http://wiki.eclipse.org/EclipseLink/Examples/JPA/OC4J_Web_Tutorial
    http://wiki.eclipse.org/EclipseLink/Examples/JPA/JBoss_Web_Tutorial
    thank you
    /michael
    Edited by: michael_obrien on Mar 19, 2009 9:19 AM

  • To use ADF with other Development tool

    Can I plug the the ADF framework into other development tools such as the IBM's[b] websphere studio and Borland's JBuilder?
    (Currently neither the WebSphere Studio nor the JBuilder, to the best of my knowledge, has the capability of the ADF has. Basically, with those tools you have to write a lot of codes to do the database updates, etc.)
    Thanks.

    ADF is a bunch of Jar files and the application is a bunch of Java and XML files - so yes you can take this and use any IDE to edit the files.
    But currently JDeveloper is the only tool that has the visual development environment for ADF.

  • Using ADF with Tomcat - A total beginner, lost

    Hi all,
    I am a complete beginner in Java using jDevaloper and java for web. I have being a desktop programmer. So I followed the jdeveloper tutorial Developing Rich Web Applications With Oracle ADF up to here . The small deference in my project is that it uses a mySQL database. When I tried to Run the project the Java SE crashed and the weblogic domain was not built. I tried many methods mentioned in the web but the Java keeps on crashing. I tried using both bundled JDK and JDK avilable in my machine but the crash continuous. So I decided to use tomcat.
    So I have came up to creating the .war file. But when I started the tomcat I got this error;
    SEVERE: Error configuring application listener of class oracle.adf.mbean.share.config.ADFConfigLifeCycleCallBack
    I have gone out of choices. How should I correct this.
    Thanks [Dana Singleterry|https://blogs.oracle.com/dana/entry/how_to_deploy_a_11g_adf_applic_1] , [Terry Cho|http://javamaster.wordpress.com/category/java-programming/] and many others for their knowledge sharing.

    hi manjulapra
    manjulapra wrote:
    ... So I decided to use tomcat. ...The "Application Servers " section of the "Certification and Support Matrix " for "Oracle JDeveloper and Application Development Framework 11g Release 2 "
    at http://www.oracle.com/technetwork/developer-tools/jdev/jdev11gr2-cert-405181.html#Application_Servers
    currently has for "Tomcat 6 " and "ADF " the value "Not Supported ".
    regards
    Jan Vervecken

  • How to debug java stored procedures using jdwp with Eclipse IDE?

    I need to debug the java stored procedures loaded in Oracle 9.2.0.6. The java files are loaded into the database using dbms_java.loadjava('-force -debug -verbose -resolve lib/java_stored_procs.jar'); The jar contains .java files and the database resolves and compiles them into .class files. Works fine but I need to debug the code. I am tried of the println method since takes too much and too many iterations.
    My IDE is Eclipse 3.1. I want to use the jdwp for debugging in my IDE. Any one who knows the exact steps?
    Thanks a lot.

    I need to debug the java stored procedures loaded in Oracle 9.2.0.6. The java files are loaded into the database using dbms_java.loadjava('-force -debug -verbose -resolve lib/java_stored_procs.jar'); The jar contains .java files and the database resolves and compiles them into .class files. Works fine but I need to debug the code. I am tried of the println method since takes too much and too many iterations.
    My IDE is Eclipse 3.1. I want to use the jdwp for debugging in my IDE. Any one who knows the exact steps?
    Thanks a lot.

  • Use ADF with jdeveloper

    I no found the 'Fusion Web Application' (ADF) template in the JDeveloper 10.1.3.4. to create a project using oracleADF, please help me
    Thank you very much

    You are looking in a tutorial for version 11g - and using 10.1.3 so you won't see the same things.
    In 10.1.3.4, assuming you installed the Studio version, you'll see a template called Web Application [ADF BC, JSF] which is the parallel one.

  • Anyone used JAXB with Eclipse PDE

    It was bizarre that I can use&run jaxb generated classes when I run it as Java appliation. However, when I tried to use those classes into a PDE project. it always reported "Unhandled exception caught in event loop.
    Reason:
    java.lang.NullPointerException" behind the message, system seems has problem finding "java.lang.NoClassDefFoundError: javax/xml/bind/MarshallableRootElement"
    Any one has clue, please advise, appreciated!!!

    Hi,
    i am having the same kind of problem. I have a code
    that perfectly run as standard Java application (with
    a main method), but fails when run from a servlet
    under Tomcat.
    The error is :
    java.lang.NoClassDefFoundError:
    javax/xml/bind/StructureValidationException
    Hi,
    Are you trying the EA release?
    The beta release may need jaxb.properties file in the system classpath
    of tomcat. But I do not think you are using that release since your problem is related to the EA release which is not available anymore.
    Thanks,
    Bhakti
    However, i have put the run time jar of jaxb in the
    /WEB-INF/lib directory.
    If you have solved your problem, i am very interrested
    by your solution.
    Regards,
    C�dric

  • Android & WM6.5 devices can't use ActiveSync with Exchange 2013, ADFS and WAP.

    Bit of a long winded title but I was trying to sum up the issue.
    Newly installed Exchange 2013 environment; we've setup external access for OA and ActiveSync.  We've used ADFS with WAP to publish the necessary paths etc.  We've setup DNS and firewall rules etc.
    OA is perfect and can be accessed by anything with a browser.  ActiveSync is perfect for any new Windows Mobile device and any iOS device.  When we've tried to sync older WM6.5 or any Android device, it just doesn't seem to want to work.
    We've checked logs on both devices; the WM6.5 complains about a cert issue however we've took every step from installing the CA, RA and actual cert on the device to no avail.  Some android device complain about using the port 443 but no matter what
    we change this to it still won't sync.
    Unfortunately my suggestion of 'just give everyone a new phone' went down as well as...well lets just say not good :)
    I appreciate this might be an ADFS\WAP issue but thought I'd rule Exchange out first so any advice is much appreciated.

    We are having issues on connecting ActivySync on Microsoft Exchange 2013.
    OWA,OutlookAnywhere is working
    ActiveSync is not working.
    can you help us or share the configuration.
    We have Used MS UAG2010 SP4 to publish Exchange 2013 SP1 (On premises).
    Regards,
    Furqan

  • How to create an InputSelect using ADF and JSP

    I looking for some docs/instructions on creating "an InputSelect using ADF with JSP".
    Thanks,
    BG...

    Ok here are the Steps
    1) Open the JSP editor for the page in Question.
    2) In the Data Control palette select the item that you want to become the poplist and change the "Drop As" poplist to "Single Select List"
    3) Drag the field into the page. You'll get an empty poplist which implements the <html:select> and <html:optionsCollection> tags.
    4) With the JSP editor still open click on the "UI Model" sub-tab in the Structure pane
    5) Select the field you've just dragged in - then right click to get the context menu and choose "edit"
    6) Change the List Binding Mode poplist to "LOV Mode"
    You're then taken into a couple of screens where you can select the Source VO for the poplist, and the destination dataset, along with the thing you want for the Label and the Value.

  • ADF with Shale

    Is anyone using ADF with Shale, I am having the following (short version of) errors:
    Error exercising tag : <tag name>
    java.lang.IllegalStateException: No AdfRenderingContext
         at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeEnd(CoreRenderer.java:154)
         at oracle.adf.view.faces.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:624)
         at javax.faces.webapp.UIComponentTag.encodeEnd(UIComponentTag.java:645)
         at javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:568)
    Where <tag name> is any of: af:document, af:table, af:showOnePanel, etc.
    When I remove the shale library files, everything works fine. I was wondering if anyone knows a workaround the problem.

    Thanks Shay,
    http://www.oracle.com/technology/products/jdev/collateral/papers/11/newfeatures/index.html
    Regarding my question 3 "Design time at runtime" - quoting from "JDeveloper 11g new features" at the above URL, under "ADF Task Flow". The third entry from the paragraph's end reads:
    'Support for customization of task flows at runtime using "design time at runtime"'.
    I was wondering what this is exactly - web-deployable editor to edit the flow definition after deployment?
    Re your point 4, product replacement - with the feature set described in the paragraph above, Task Flows is much more than a Web UI controller. With "save for later", transactions, flow abstraction/nesting, BPEL outcalls, conditional logic, method calls etc etc it probably covers 50% of a typical workflow package and 75% of an embeddable workflow library (audit trail/timeouts/persistence nonwithstanding). This made me wonder whether it is part of a bigger, yet-to-be-announced OAS feature. Especially if one also considers the "design-time-at-runtime" sentence listed above.
    Now, definition-wise, I guess it' s whether this feature set is considered half-full or half-empty :-)
    Thanks again,
    Thanassis

Maybe you are looking for

  • Embedding javascript in a sql query

    Hello everybody, that is the question, how can a JavaScript function like: getElementById can be (if at all be embedded in a sql query? the thing is that when I do the query SELECT firstname, lastname etc WHERE branchnumber = here is where I want to

  • Adding read infotype records to payroll

    Dear , i 've used the code mentioned in this link to read the infotype records . Use SAP defined methods instead of Logical Database(LDB) now i want to add this record to the tree in the payroll . could u plz tell me how to add it to a node in the ad

  • Windows App Certification Kit Test Fails, binary is built in debug mode

    Hi, Windows phone 8.1 App fails Windows App Certification Kit test (WACK Test). It is producing below error in Debug configuration test, The debug configuration test detected the following errors:  1)The binary Phone.Controls.dll is built in debug mo

  • Internet not working on MacBook (but works on MacBook Pro)

    I just got my Time Capsule yesterday, and it is replacing my Airport Extreme that worked perfectly previously. My MacBook Pro and PC work perfectly, however, I am having endless problems with the MacBook. While it connects to the network, and receive

  • Can't run petalinux-build without a compiler error

    Hello, I've been trying to follow the TDR 2014.4 PetaLinux rebuild and am hitting  an error with the compiler trying to locate a header file. I suspect it is a environment issue although I've tried all the tips I've scoured off groups on the internet