ADF jars killing my commandLink(s)

I am trying to incorporate Oracle's ADF into my project, but, I ran across a strange problem. To reproduce this problem all I had to do was copy the adf (EA8) jar files into my lib directory. I DO NOT have so much as a taglib callout in any of my pages - yet, when the jar files are in my lib directory, my h:commandLink tags, nested in a dataTable tag, are rendered useless.
Here is my code:
<h:dataTable rendered="#{userReport.hasviews}" value="#{userReport.views}" var="e">
<h:column>
<f:facet name="header">
<h:outputText value="View Name"/>
</f:facet>
<h:commandLink action="#{viewHandler.editview}" value="#{e.name}"/>
</h:column>
</h:dataTable>
When the ADF jars are NOT in my lib directory, this is rendered as:
<tr>
<td><a href="# onclick="document.forms['MyViewsview:_id35'['MyViewsview:_id35:_idcl'].value='MyViewsview:_id35:_id36:1:_id39'; document.forms['MyViewsview:_id35'].submit(); return false;">New MyView</a></td>
<td>1.3</td>
<td>9/4/04</td>
<td>10/16/04</td>
</tr>
However, after copying the jars to the lib directory, it is rendered as:
<tr>
<td><a id="MyViewsview:_id35:_id36:1:_id39" name="MyViewsview:_id35:_id36:1:_id39" onclick="submitForm('MyViewsview:_id35',1,{event:'MyViewsview:_id35:_id36:1:_id39',source:'MyViewsview:_id35:_id36:1:_id39'});return false;" href="#" class="OraLink">New MyView</a></td>
<td>1.3</td>
<td>9/4/04</td>
<td>10/16/04</td>
</tr>
The net result is that when I select (click on) the link, I get nothing - no page navigation...
So, my questions are:
1) why would just copying the jars to the lib directory cause this change?
2) how do I get around this, so that I can use ADF successfully?
As always, any help is greatly appreciated!!!

Adam -
The Commonea8.js is being included by default. The problem seems to be in hidden fields being generated by (I suppose) adf framework. I should mention that this does not occur on all my h:commandLink tags. Others work just fine. Perhaps it has something to do with being nested within a dataTable...
At any rate, before showing the errors and the lines causing the errors, a little explanation may be necessary. This page is built from two jsp:include pages. One is name login, which is not being rendered (due to render="false") and the other named dataview (which is being rendered).
So, the js errors (from the console) are:
Error: missing ( before formal parameters
Source File: http://localhost:8084/myapp/data.faces
Line: 241, Column: 15
Source Code:
function login:id2Validater(form){return true;}
Error: missing ; before statement
Source File: http://localhost:8084/myapp/data.faces
Line: 289, Column: 21
Source Code:
var resetdataview:id35Names=["event","source"];
Error: missing ( before formal parameters
Source File: http://localhost:8084/myapp/data.faces
Line: 289, Column: 21
Source Code:
function dataview:id35Validater(form){return true;}
The (2) offending lines (in the rendered HTML) are:
line 241:
<input type="hidden" name="oracle.adf.faces.FORM" value="login:_id2"><span id="_login:_id2_Postscript"><script>function login:id2Validater(form){return true;}</script></span><script>_submitFormCheck();</script></form></td>
line 289 (source of two errors):
<input type="hidden" name="oracle.adf.faces.FORM" value="dataview:_id35"><span id="_dataview:_id35_Postscript"><input type="hidden" name="event"><input type="hidden" name="source"><script>var resetdataview:id35Names=["event","source"];</script><script>function dataview:id35Validater(form){return true;}</script></span><script>_submitFormCheck();</script></form></td>
Hope this helps... Just out of curiosity, why would Oracle "pull in" the default RenderKit instead of keeping their's separate? (just wondering)
Thanks, again....

Similar Messages

  • Vsm-adf.jar and vsm-bc4j.jar are same ??

    I donwloaded the sample code for Vsm-adf.jar and vsm-bc4j.jar . But both looks similar.
    Anybody got any clue
    Please let me know

    hi
    The VSM application has been migrated from the earlier version of JDeveloper. This is made to work with the latest JDev 10g. It uses the adf libraries which are shipped along with JDev10g.
    Shrini

  • Build ADF jar from maven

    Can we use maven to build ADF jar from one project which contains reusable components such as page template and task flow and the ADF jar is being used in another UI projects?
    Thanks

    Have tried google?
    I found http://groups.google.com/group/adf-methodology/web/maven-and-jdeveloper-adf-projects?pli=1 for a start.
    Timo

  • ADF Tree Table - Multiple Commandlinks in one column

    Hi,
    We are building a hierarchy using tree table. The hierarchy looks as follows
    +Root Object
    ++ Child Object One
    +++ Child 1.1
    +++ Child 1.2
    +++ Child 1.3
    ++ Child OBject Two
    At each level, the object is used by more than one users. We want to display the list of users who are using that object in one the column called "Users". We want to provide hyperlink to each of the user that is displayed here. So my question so how do we build set of af:commandlinks with in one column? Or is there any other way this problem can be solved? What is ADF recommended pattern here?
    Thanks,

    How about putting a af:panelGroupLayout in the column and add multiple af:commandLinks into the panel=
    Timo

  • Deploying a jdeveloper adf application to a desktop jar file

    I have a problem when trying to run an .adf Form that is in the jar.
    My Manifest.mf looks like this
    Manifest-Version: 1.0
    Main-Class: dfg.model.FormUsr1View1
    When I change it to run a none .adf form like
    Manifest-Version: 1.0
    Main-Class: dfg.model.Form1
    it runs with no problems.
    At both cases I use commnd line like this:
    java -jar  dfg.jar
    I have also a libs folder in my jar (including all adf jars) and also tried using the following Manifest.MF
    Manifest-Version: 1.0
    Class-Path: \libs
    Main-Class: dfg.model.FormUsr1View1
    I 'd appreciate any help!
    Edited by: Georgekl on 26 Ιαν 2011 5:20 μμ

    I am now stuck getting the following with my .jar
    java -jar dfg.jarException in thread "main" java.lang.NoClassDefFoundError: oracle/adf/model/binding/DCErrorHandler
    Caused by: java.lang.ClassNotFoundException: oracle.adf.model.binding.DCErrorHandler
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    Could not find the main class: dfg.model.FormUsr1View1. Program will exit

  • Adf faces jar  for jdeveloper 10g

    Hi,
    i m using jdeveloper 10, i want to use adf (af componant) in my jsf page, so i need adf jar, but i m not able to download them from
    "How To Use ADF Faces With JDeveloper 10g" kindly help me how i can download these jar, so that i can use them in my code

    Trinidad is a JavaServer Faces component library that is a subproject of Apache MyFaces. (It was formerly known as ADF Faces.)
    Refer http://wiki.apache.org/myfaces/from_ADF_to_Trinidad

  • Adf bc jar for base entity classes and extending them existing  project

    Hi,
    I am using jdev 11.1.1.0 and have created a base workspace/project and adf jar for my base entity classes.
    1. I can consume this base adf bc jar in a separate new consuming workspace and create VO based on base bc classes or create new EOs that extend base bc entity classes.
    2. Furthermore, for an existing consuming project that earlier included src/ of base entity (BC components), i can remove the dependency on bc source and bring in this new adf jar and everything including the view controller and the service/datacontrol works fine.
    The issue i am running into is as follows.
    - In the existing project (#2) above i try to create a couple of entities based on entities in my base jar; associations are automatically brought in. Note i am not overriding any attributes. My intent here is to generate .java and implement some code.
    - I then try to make my existing VOs based on the newly extended entity (VO overview->Entity Objects-> Shuttle NewEntity from Available to Selected)
    - I then try to remove the old EO from selected under VO overview->Entity Objects->Shuttle OldEntity from Selected back
    - I get a warning dialog box that says something to the effect that some viewlinks are dependent on these old EOs in this consuming project.
    - I tried to laboriously analyzed dependencies and it this dialog box does not make any sense as I have already extended EOs and the tooling should be able to let me use these
    My questions
    - Why I am not able to remove old entities from VO dependencies
    - Is it ok to leave the old EOs in "Selected" along with the newly extended EO ? What are the implications for this?
    - I also thought about extending base associations, but did not go anywhere.
    In general, I am ok with consuming an ADF BC jar that has entities etc. but not clear about removing dependencies of base EOs on VOs when entities are extended and consumed in a pre-existing project that used base entities.
    I can send a project if any PM is willing to take a look at it.
    Thanks,
    ps:
    I have already gone over the following info
    http://technology.amis.nl/blog/215/organization-of-bc4j-domain-eo-and-business-vo-package
    .. wants to create an enterprise data model in BC4J, reflecting the Enterprise Data Model set up in the RDBMS. All (or at least most) business rules will be implemented in the Middle Tier – to take the load of the database and also allow developers not comfortable with PL/SQL to define and maintain the business rules. It is clear that this means that all applications that need to access – and manipulate – the database, need to go through the BC4J foundation layer. Martijn wants to define the Entity Objects – and their business rules – only once and share that definition between different projects. Each projects can create its own ViewObjects on top of these shared Enterprise Entity Objects.
    http://radio-weblogs.com/0118231/2005/09/29.html
    I am currently working on a project for a partner where we will be using ADF BC as our model layer for a large application. In order to keep the footprint of each application module down to a reasonable size, we are intending to create a number of separate 'root' application modules for each functional area of the application. Within, these 'root' application modules we will then use nested application modules to further partition the application. All of the application modules will be accessing the same datasource and will need access to the same database objects.
    In order to separate our code between the development team and into function areas, our initial thoughts were that we would create an ADF BC model project containing Entity Objects for all of the database tables e.t.c. as these are common amongst all functional areas. We have configured all of the EOs for validation rules, defaulting values and extending doDML() as appropriate. Happy at this stage we then created a simple .jar file to deploy all of the definitions. Upon creating a new ADF BC project for each functional area we added the jar file as a library import into the new project. However when we the tried to create some new View Objects via the JDev Wizard we were unable to see the imported Entity Objects.
    Is the only way to share Entity Object definitions between different ADF BC projects to manually copy the source definition files into the new projects src directory? Since this would mean multiple copies of the same components, it could prove to be a maintenance nightmare.Is there a way of doing it without creating multiple copies of the same object definitions?
    The developer is spot on in their ideas of layering and reuse, and even has created a library for their reusable entities. This last step is not something everyone thinks to do. The missing step is known as "importing" components, so with that one extra bit of knowledge under his belt, he should be able to do exactly what he envisions. My little article called Difference Between Adding and Importing Business Components tries to explain the difference and gives the menu options to choose to perform the importing.
    Difference between adding and importing BC4J
    http://radio-weblogs.com/0118231/stories/2005/08/11/differenceBetweenAddingAndImportingBusinessComponents.html
    Working with Libraries of Reusable Business Components
    http://download.oracle.com/docs/cd/B32110_01/web.1013/b25947/bcadvgen.htm#CHEFECGD

    Hi,
    since you followed the OC4J developer guide I think this question might be better handled there as well
    OC4J
    So in case you don't get an answer here on the forum, try it on the OC4J forum
    Frank

  • BUG - ADF error when deploying to 10.1.3 AS Preview 4 on Linux

    I am using JDeveloper 10.1.3 EA on a Windows machine and am deploying to Oracle Application Server 10g 10.1.3 Preview 4 on a Linux box. I'm deploying an ADF Struts web project that is having troubles displaying my sceens. When I try to view any one of my JSPs, I get this error:
    java.lang.NoSuchMethodError: oracle.adf.share.http.ServletADFContext.setVariableResolver(Ljava/lang/Object;)V
         at oracle.adf.share.http.ServletADFContext.initialize(ServletADFContext.java:222)
         at oracle.adf.share.http.ServletADFContext.initThreadContext(ServletADFContext.java:211)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:178)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) - Developer Preview 4].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:699)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) - Developer Preview 4].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:397)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) - Developer Preview 4].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:833)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) - Developer Preview 4].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:430)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) - Developer Preview 4].server.http.AJPRequestHandler.run(AJPRequestHandler.java:290)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) - Developer Preview 4].server.http.AJPRequestHandler.run(AJPRequestHandler.java:179)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:215)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:232)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$1000(ServerSocketAcceptHandler.java:35)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:819)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) - Developer Preview 4].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:534)
    I have created a very simple project with nothing but a JSP and it works. So I'm led to believe that there is some ADF JAR file that is not quite right. My ADF Struts web project worked using the same app server on Windows 2003. However I ran into a different problem with that: BUG - Connection pooling with 10g 10.1.3 Preview 4 App Server
    So we have decided to make the move to Linux but I can't get past this error. I have updated the ADF Runtime Libraries and I've swapped out the JDK and JRE with 1.5. I just can't figure out what else I'm missing.

    The adfshare.jar does not get included with my app. I've checked my WAR file and this JAR is not found there. I'm completely stumped at this point. Have you had success using Oracle App Server 10.1.3 Preview 4 on Linux?
    I have made some progress narrowing down where the error occurs. When I add data bindings to a JSP, the following code gets added to my web.xml:
       <filter>
         <filter-name>ADFBindingFilter</filter-name>
         <filter-class>oracle.adf.model.servlet.ADFBindingFilter</filter-class>
         <init-param>
           <param-name>encoding</param-name>
           <param-value>windows-1252</param-value>
         </init-param>
       </filter>
       <filter-mapping>
         <filter-name>ADFBindingFilter</filter-name>
         <url-pattern>*.jsp</url-pattern>
       </filter-mapping>
       <filter-mapping>
         <filter-name>ADFBindingFilter</filter-name>
         <url-pattern>*.jspx</url-pattern>
       </filter-mapping>
       <filter-mapping>
         <filter-name>ADFBindingFilter</filter-name>
         <servlet-name>action</servlet-name>
       </filter-mapping>
    If I delete this code out of my web.xml file, that error message goes away. The ADFBindingFilter class is also included in the error stacktrace. So I'm thinking that this class is the culprit. I'm convinced this is a BUG with Oracle ADF and Linux.
    Another idea perhaps is that the error occurs because I'm developing in JDeveloper on Windows and then deploying to an app server on Linux. My embedded server on Windows runs my app just fine. I have the same OS setup for JDev 10.1.2 and the app server 10.1.2 and I have no problems with that. But I really don't want to have to go back to 10.1.2.

  • Deploy Jdeveloper 11.1.2 ADF Application on weblogic 10.3.5 ???

    I don't want to install ADR on my weblogic. how to create ear file having all the required adf jar and war files in it?
    what is recommended installing ADR on production weblogic server or having ear file containing required war and jar files and why?

    Then how would we deploy jdeveloper 11.1.2 application on jBoss?You wouldn't, at least if you want a supported configuration. Right now, WLS and IBM WebSphere are the only ones supported, and yes, you do install the ADR on WebSphere. If you want to try to get it working on JBoss, you can fuss around with JAR files in the classpath, but it's not going to be supported.
    John

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

    Hi,
    Our group has written an ADF web application, which we are attempting to deploy to a managed weblogic server. Thus far, we have been unsuccessful. The application does successfully deploy to the AdminServer. Our setup:
    Weblogic version is 10.3.0. Domain name is adf_domain. We have installed the ADF (ADF version is 11.1.1.0.0), JSTL(1.2.0.1), and JSF(1.2.7.1) runtime libraries, and they are targeted to both the admin server AND the managed server, which is called CollabServer. This server communicates with the node manager and can be started and stopped via the admin console successfully. The AdminServer is on port 7101, and the CollabServer is on port 7104. We are not using SSL.
    application.xml:
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_5.xsd"
    version="5" xmlns="http://java.sun.com/xml/ns/javaee">
    <display-name>OracleRetailCollaboration</display-name>
    <module>
    <web>
    <web-uri>orc.war</web-uri>
    <context-root>orc</context-root>
    </web>
    </module>
    </application>
    weblogic-application.xml (as taken from the ear file):
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <weblogic-application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.bea.com/ns/weblogic/weblogic-application.xsd" xmln
    s="http://www.bea.com/ns/weblogic/weblogic-application">
    <listener>
    <listener-class>oracle.security.jps.wls.listeners.JpsApplicationLifecycleListener</listener-class>
    </listener>
    <library-ref>
    <library-name>adf.oracle.domain</library-name>
    </library-ref>
    </weblogic-application>
    weblogic.xml (as taken from the war file):
    <?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://ww
    w.bea.com/ns/weblogic/weblogic-web-app http://www.bea.com/ns/weblogic/weblogic-web-app/1.0/weblogic-web-app.xsd">
    <container-descriptor>
    <prefer-web-inf-classes>true</prefer-web-inf-classes>
    </container-descriptor>
    <security-role-assignment>
    <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>
    As I said, there are no deployment errors when we deploy to the admin server. However, we always see the following errors when deploying to the managed server:
    java.lang.ClassNotFoundException: oracle.security.jps.wls.listeners.JpsApplicationLifecycleListener
    etc.
    This error occurs when deploying via the <wldeploy> ant task included with weblogic, and when deploying the application manually via the admin console.
    So I removed this from weblogic-application.xml:
    <listener>
    <listener-class>oracle.security.jps.wls.listeners.JpsApplicationLifecycleListener</listener-class>
    </listener>
    Which resolved the initial error (I assume there is some sort of bug that causes this workaround to be necessary). The next error is this:
    java.lang.ClassNotFoundException: oracle.adf.share.security.authentication.AuthenticationServlet
    Again, we don't get this error when deploying to the AdminServer - ONLY the managed server CollabServer.
    web.xml:
    <servlet>
    <servlet-name>adfAuthentication</servlet-name>
    <servlet-class>oracle.adf.share.security.authentication.AuthenticationServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet-mapping>
    <servlet-name>adfAuthentication</servlet-name>
    <url-pattern>/adfAuthentication/*</url-pattern>
    </servlet-mapping>
    I then added some adf jar files to the ear file, finally get this error message:
    java.lang.ClassNotFoundException: oracle.adf.share.jsp.ADFLibUtils
    Any ideas on how to resolve this? Thanks.
    Edited by: user10451099 on Apr 15, 2009 12:10 PM

    Dan,
    thanks fro reminding me :-)
    Here are the steps we had to take to get a managed WLS to run an adf application without copying any jar in the domain/lib directory:
    1. you still have to install the adf runtime to any server you want the adf application to deploy to
    2. open the admin console, select the managed server, and select the 'server start' tab in configutation settings.
    3. add /u01/bea/patch_wls1030/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/u01/bea/patch_jdev1111/profiles/default/sys_manifest_classpath/weblogic_patch.jar:
    /u01/bea/patch_cie660/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/u01/bea/jrockit_160_05/lib/tools.jar:/u01/bea/wlserver_103/server/lib/weblogic_sp.jar:
    /u01/bea/wlserver_103/server/lib/weblogic.jar:/u01/bea/modules/features/weblogic.server.modules_10.3.0.0.jar:/u01/bea/wlserver_103/server/lib/webservices.jar:
    /u01/bea/modules/org.apache.ant_1.6.5/lib/ant-all.jar:/u01/bea/modules/net.sf.antcontrib_1.0.0.0_1-0b2/lib/ant-contrib.jar:/u01/bea/jdeveloper/modules/features/adf.share_11.1.1.jar:
    /u01/bea/wlserver_103/common/eval/pointbase/lib/pbclient57.jar:/u01/bea/wlserver_103/server/lib/xqrl.jar:
    /u01/bea/patch_wls1030/profiles/default/sysext_manifest_classpath/weblogic_ext_patch.jar to the classpath edit box you have to change '/u01/bea/' with your bea home. The classpath should be on one line without the CR/LF i put in to make it readable.
    4. add -Xms256m -Xmx512m -da -Dplatform.home=/u01/bea/wlserver_103 -Dwls.home=/u01/bea/wlserver_103/server -Dweblogic.home=/u01/bea/wlserver_103/server
    -Ddomain.home=/u01/bea/user_projects/domains/naa_qs -Doracle.home=/u01/bea/jdeveloper -Doracle.security.jps.config=/u01/bea/user_projects/domains/naa_qs/config/oracle/jps-config.xml
    -Doracle.dms.context=OFF -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Dweblogic.management.discover=false -Dweblogic.management.server=http://localhost:7001
    -Dwlw.iterativeDev=false -Dwlw.testConsole=false -Dwlw.logErrorsToConsole=
    -Dweblogic.ext.dirs=/u01/bea/patch_wls1030/profiles/default/sysext_manifest_classpath:/u01/bea/patch_jdev1111/profiles/default/sysext_manifest_classpath:/u01/bea/patch_cie660/profiles/default/sysext_manifest_classpath
    -Dweblogic.management.username=weblogic -Dweblogic.management.password=******** -Dweblogic.Name=GESTIS_QS
    -Djava.security.policy=/u01/bea/wlserver_103/server/lib/weblogic.policy to the 'Arguments' edit box. As with the calsspath change '/u01/bea' to your bea home and change the domain name (in our case 'naa_qs') to your domain name. change the managementuser and passwort to your needs. As whith the classpath I put some CR/LF into the code section to make it readable.
    5. save the changes and restart the server
    Essentially all we copied the arguments from the admin server start script in addition to adding the class path.
    Timo

  • Deploying ADF application to Oracle 10.1.2

    HI,
    I need some advice or best practice to deploy an ADF application to an OAS 10.1.2 server. The application is build using JDeveloper 10.1.2.3, ADF business components and a ADF/Struts controller.
    I would like to know which ADF JAR files I need to package in the WEB-INF/lib (ex.) to make the application run - if any. I thought that ADF Runtime was part of the OAS and in the default OC4J classpath. Therefore, it shouldn't be necessary to package the ADF jars like adfm.jar, adf-controller.jar and other jars containing ADF classes into the war-file at all. But if I don't, I get some NoClassDefFound exceptions for these classes.
    Please, how do I avoid to include the ADF jars in my war-file (war-file is included in an ear-file) - and should I avoid it at all?
    Should I customize the orion-application.xml file to add the needed libraries to the OC4J application classpath, or do I need to manually change the OC4J classpath and how?
    What to do? :-)
    Regards
    Jacob

    Some additional configuration is required for OAS 10.1.2
    http://download-uk.oracle.com/docs/cd/B31017_01//web.1013/b25947/deployment_topics006.htm#CIHGIAAE

  • 10.1.3 ADF Swing New Features Question

    One of the 4 new features for ADF Swing in JDeveloper 10.1.3 is stated as:
    "ADF Swing
    In the past, deploying an ADF Swing application entailed deploying the ADF runtime libraries, 
    and then packaging and deploying your application class files.
    This process has been simplified so that you no longer need to deploy the ADF runtime libraries
    as a separate step; instead, they are automatically packaged with your application files."Can someone tell me if this is configurable? For instance, you would rarely want the above to occur if deploying using Java Webstart since it would guarantee a FULL download every time you made a small change to any class. This would basically eliminate versioned or incremental downloads of jar files.
    Thanks
    Erik

    Thanks Frank, but your answer is just more confusing.
    Here is what the new features document states:
    "This process has been simplified so that you no longer need to deploy the ADF runtime libraries
    as a separate step; instead, they are automatically packaged with your application files."
    Notice the statement in bold.
    I would expect that statement to mean that ALL of the ADF classes that are normally contained in their respective jar files will now be "automatically packaged" into MY application jar file, so that I have 1 jar file.
    Now looking at your answer:
    "If the application class files changed, then only those class files will be jarred and signed. ADF jar files are not signed again."
    The statement in bold indicates that the ADF classes will still be contained in their respective jar files. Therefore, can you tell us what "automatically packaged" means in this conext? Normally, I would think it meant packaged inside a jar file, but from your answer, that cannot be correct.
    Thanks
    Erik

  • Using UCM data controls in ADF application

    Using *.6 Jdeveloper/UCM/Protal Application/UCM
    Calling all the experts in Webcenter/Spaces/UCM/ADF.
    We have a requirement to design search inteface for Documents stored in UCM for Webcenter Portal and Spaces application.
    Our approach is
    Design simple ADF application (no security/templates)
    Bounded task flows using fragments.
    Framents to use UCM data controls (provided by oracle)
    UCM data control definition is extended to use custom metadata.
    package the application.
    Added as ADF library jar to portal application
    Added as Shared Library to Spaces application.
    Question.
    Is this approach sound?
    Does UCM data controls provide all the functionality, for example if we want to read a option list for custom metadata or need custom metadata in return table?
    Can we add other methods to UCM data control provided by Oracle or should we create different one?
    Is there good documentation for such requirements. We have acces Webcenter developers guide which throws some light on UCM data controls.
    Let me know if more clarity is needed...
    Regards

    Hi.
    One of my last components was a custom "Document Explorer" and I used for first time JCR Data Control (Custom UCM Data Control provided by Oracle).
    Sharing my experience I did something similar to you:
    1) Create a ADF Bounded Task Flow and test it individually.
    2) Add generated ADF JAR Library to WebCenter Spaces shared-lib.
    3) Add your Task Flow to Resource Catalog.
    Challenges that I found using custom Data Control:
    1) When items retrieved are content/files all custom metadata can be retrieved OOTB.
    2) When retrieving folders don't provide custom metadata like files. I used RIDC with JCR Data Control to provide all the information relative to folders. If you don't need more information about folders than the name, URI and icons then is OK :).
    3) Using JCR Data Control registers in DataControls.dcx UCM Connection name used when generate JCR Data Control. After deploy your ADF JAR Library in WebCenter Spaces you'll have problems if you don't have a WebCenter Content Connection created with the same name. (Not talking about export UCM Connection with ADF JAR Library, Data Control uses a Connection name by itself :)).
    I added extra functionallity with RIDC (not extending JCR Data Control).
    I hope this help you.
    Regards.

  • Change default text in adf faces component in Webcenter Spaces

    Hi ,
    Here is the link that I found to change the default text in adf faces component. http://www.oracle.com/technetwork/developer-tools/adf/learnmore/49-skin-component-labels-169191.pdf
    Scenario is simple :
    Taskflow "ABC" is used in webcenter space through imported Library in spaces App. Taskflow "ABC"  have the pageFragment "view1" and fragment has a adf table on that page. I was trying to change the "Detach" text using below code in above provided instruction. 
    { "af_panelCollection.LABEL_DETACH_TABLE_DLG", "Any name for the Detachable Table" },
    { "af_panelCollection.LABEL_DETACH_TREE_TABLE_DLG", "Any name for the Detachable Tree Table" }
    Query/Problem : I did change in the trinidad-skins.xml of DesignWCSpaces app ... redeployed the war.. But the text didn't changed. The above steps worked fine for individual ADF application ... SO what's wrong with implementation on Webcenter Spaces ?

    Hi.
    Basically you have to do the following:
    Create an ADF JAR Library including your Skin (JS, Images, CSS Skin, Resources Bundles and trinidad-skins.xml)
    Deploy the ADF JAR Library as Shared-lib in WebLogic.
    Include in your weblogic.xml of the WebCenter Portal (Formerly Spaces) deployment via DesignWebCenterSpaces or the new extension the reference to the shared-lib.
    Restart WebCenter Portal (Spaces). When starting WebCenter Portal (Spaces) it looks inside of the Classpath for all trinidad-skins.xml files.
    Setup your custom skin for a Space and test.
    If the Skin is not selectable in the Administration Console then register your new skin downloading/updating/uploading from the MDS the generic-site-resources.xml file of the default scope GUID.
    If you still have issues then may I priorize a Blog entry explaining this .
    Regards.

  • Custom ADF Faces Component - Up-to-date Documentation Requested

    Hello,
    I am evaluating Oracle ADF for an upcoming project where we expect to create some custom components (we have internal data-entry users, and the happier we make them, the better we're doing).
    I've gone through the most likely use-cases, combining base components using EL, and customizing functionality ( well, creating a ClientConverter for DateInput). I have one last requirement, but seem to have hit a wall.
    I've found the page in the [Oracle Docs|http://docs.oracle.com/cd/E24382_01/web.1112/e16181/ad_custom.htm#insertedID2] that should take me through the process... unfortunately, It seems the documentation seems out-of-sync with the current release of JDeveloper.
    So, First off, I'm hoping someone can point me to some better documentation... I'm really hoping I was looking in the wrong place, or that someone has taken it upon themselves to have a blog post somewhere that I'm not able to find with Google.
    Secondly, for any Oracle employees in the room, here are a list of issues in the current documentation (just in the first two pages):
    - 31 - There should be some way to download an archive of the 'example' TagPane project.
    - 31.2.1.1 - There is no "Generic" application. In order to get the ability to deploy as ADF Jar, I had to use the project setup from
    [this tutorial|http://docs.oracle.com/cd/E18941_01/tutorials/jdtut_11r2_40/jdtut_11r2_40.html].
    - 31.2 - Example Files - All of these files exist in META-INF, however, when following the above tutorial, most of them are created in WEB-INF.
    - 31.2.1.3 - This isn't required if you use the setup from the tutorial.
    - 31.2.1.4 - The folder /jdeveloper/modules/does not contain the specified jars in the current release of JDeveloper... It is located in Middleware\oracle_common\modules.
    - 31.2.1.4 - The XSD "web-facesconfig_1_2.xsd" does not exist in the current glassfish.jar
    - 31.2.1.4 - The XSD "trinidad-config.xsd" contains an error when adding: 'Error: Line 263, Column 33: invalid facet "pattern" for type "simpleType"'

    I have found files and try to import it... Everything looks ok except for 'trinidad-config.xsd'... Oh it is for version JDEV_11.1.2.2.0.
    /META-INF/faces-config.xml JDEV_HOME/oracle_common/modules/oracle.jsf_2.0/jsf-impl.jar!/com/sun/faces/web-facesconfig_2_0.xsd ('cause we are using JSF 2.0?)
    /META-INF/trinidad-skins.xml JDEV_HOME/oracle_common/modules/oracle.adf.view_11.1.1/trinidad-impl.jar!/org/apache/myfaces/trinidadinternal/ui/laf/xml/schemas/skin/trinidad-skins.xsd (Error: Line 263, Column 33: invalid facet "pattern" for type "simpleType" occurs and I set 'Ignore errors and continue registration', hope it will be ok)
    /META-INF/trinidad-config.xml JDEV_HOME/oracle_common/modules/oracle.adf.view_11.1.1/trinidad-api.jar!/trinidad-config.xsd
    /META-INF/adf-js-features.xml JDEV_HOME/oracle_common/modules/oracle.adf.view_11.1.1/adf-richclient-api-11.jar!/adf-js-features.xsd
    Now I hope everything will work ;)

Maybe you are looking for

  • Delivery Date needs to be changed on Schedule lines

    Hi All- I am using BAPI_SALESORDER_CHANGE, to update the delivery date on the schedule lines...If I have 2 lines of schedule, needs to be updated the second one ETENR '0002'... Bapi returns message that successfully processed, when I go back and look

  • MSI-TI4800SE8X lack of support

    Dispite several pleas for help i got nowhere with msi on a solution with this card,my problem was the card was crashing and poor graphics,After trying other drivers from Nvidia i finally came close with drivers 4282,However i tried the new 4330 drive

  • Unable to create Virtual Teams

    Whenever I try to create any new Virtual Teams I get the following error: javax.naming.NameNotFoundException::[LDAP: error code 32 - NDS error: no such entry (-601)] After getting this error if I look in the Teams Organizational Unit it shows the cre

  • Forum Moderator Response Please

    Greetings Forum Moderator, Could you please explain why you remove my post/response to ovm 2.2 hard partitioning and licensing - getting my head around it! and why you did not remove the other response to ovm 2.2 hard partitioning and licensing - get

  • [SOLVED] Flash support in Chrome broken on pacman upgrade

    [2012-06-04 09:59] Running 'pacman -S -y -u' [2012-06-04 09:59] synchronizing package lists [2012-06-04 09:59] starting full system upgrade [2012-06-04 10:00] removed udev (182-4) [2012-06-04 10:00] upgraded bash (4.2.028-1 -> 4.2.029-1) [2012-06-04