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.

Similar Messages

  • URGENT: WS data control - Issue in Application server 10.1.3.3

    Hi All,
    I created a ADF web service data control and used that data control in an ADF JSPX page. When I tested the page in JDeveloper 10.1.3.3 (Embedded OC4J) it worked fine. But when I deployed the same in Application Server 10.1.3.3. it shows the following exception:
    javax.faces.el.EvaluationException: oracle.jbo.JboException: JBO-29000: DCA-40012: Failed to create a connection to the Web Service
    Similar issue is already posted in the following threads:
    Re: Web sevice data control deploy error.
    http://kr.forums.oracle.com/forums/thread.jspa?threadID=452703&start=15&tstart=240
    There is bug (ID: 5878326 ) raised in Metalink for this. I applied the patch 5878326 as mentioned in the Metalink. But after applying the patch also, the same exception occurs. I deleted connections.xml and then recreated, but no success.
    I also tried to create a new web service data control and used it in a new ADF JSPX page, again it shows the same exception in App Server 10.1.3.3.
    But the bug in Metalink is closed. Please let me if anyone is facing the same issue and the solution for this.

    Please post ADF related issues to the JDeveloper forum -- ADF is a runtime that gets installed on the app server, so the ADF folks are the most likely of all to be able to be of help.
    -steve-

  • How to use multiple data controls in a single JSF page

    Hi,
    I am using Essbase Data Control to in my project to get Essbase Cube data into ADF table/Pivot Table.
    Suppose if [Item] dimension has this hierarchy [category] -> [Segment] -> [Brand] -> - [Item]
    I need to display Category in one column and Segment in the next Column and [Brand] in the another column.
    Different types of Category, Segment and Brands should display as table data(data values).
    Using MDX query I can not print [Item] hierarchy in different columns..so I am planning to use multiple data controls.
    Could any body help me to get the solution.

    Hi,
    sounds like you want to try the Pivot table
    http://download.oracle.com/docs/cd/E21764_01/apirefs.1111/e12418/tagdoc/dvt_pivotTable.html
    I don't think that multiple Data Controls is the solution to the problem
    Frank

  • Using SAML secured webservice in ADF Application

    I am looking for some tutorial/docs to use SAML secured webservice in ADF application. In my adf application, I am using the webservices using WebProxy and WebServiceDataControls.
    Any pointers in this direction will be helpful.
    Thanks,
    Rajdeep

    Take a look at the following blog posts - which provides some information regarding the SAML security in ADF
    http://biemond.blogspot.com/2009/05/sso-with-saml-adf-security.html
    http://biemond.blogspot.com/2009/05/sso-with-weblogic-103-and-saml.html
    Thanks,
    Navaneeth

  • Is it possible to implemnt af:query using JavaBean Data Control?

    Is it possible to implemnt af:query using JavaBean Data Control?

    Fortunately for you and me, Oracle documents this stuff.
    http://docs.oracle.com/cd/E17904_01/web.1111/b31974/appendix_datacontrols.htm#BABGECDA

  • Authentication in ADF App using BAM Data Control

    Hi
    I' having problems with an ADF application using Oracle BAM Data Control. Whe I run the project I've the following error:
    According to Oracle Fusion Middleware Error Messages Reference seems to be an issues with the authentication against the JMS Server and the rigth credentials.
    oracle.bam.common.messaging.api.MessageFrameworkException: BAM-00562: Authentication Failure
         at oracle.bam.common.messaging.api.MessageConsumerRegistryFactory.authenticate(MessageConsumerRegistryFactory.java:210)
         at oracle.bam.common.messaging.api.MessageConsumerRegistryFactory.getInstance(MessageConsumerRegistryFactory.java:171)
         at oracle.tip.tools.ide.bam.dc.rt.provider.activedata.AbstractChangeListListener.registerAsMessageConsumer(AbstractChangeListListener.java:176)
         at oracle.tip.tools.ide.bam.dc.rt.provider.activedata.AbstractChangeListListener.<init>(AbstractChangeListListener.java:88)
         at oracle.tip.tools.ide.bam.dc.rt.provider.activedata.SimpleChangeListListener.<init>(SimpleChangeListListener.java:75)
         at oracle.tip.tools.ide.bam.dc.rt.fsm.action.MessagingAction.register(MessagingAction.java:62)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at oracle.tip.tools.ide.bam.dc.rt.fsm.StateMachine.internalHandle(StateMachine.java:213)
         at oracle.tip.tools.ide.bam.dc.rt.fsm.StateMachine.handle(StateMachine.java:151)
         at oracle.tip.tools.ide.bam.dc.rt.provider.BAMDataProvider.startEvents(BAMDataProvider.java:303)
         at oracle.tip.tools.ide.bam.dc.rt.BAMDataControl.startEvents(BAMDataControl.java:354)
         at oracle.adf.model.bean.DCBeanDataControl.startEvents(DCBeanDataControl.java:2603)
         at oracle.tip.tools.ide.bam.dc.dt.adapter.BAMAdapterDCService.startEvents(BAMAdapterDCService.java:211)
         at oracle.adf.model.binding.DCBindingContainer.startDCEvents(DCBindingContainer.java:3927)
         at oracle.adf.model.binding.DCBindingContainer.startDCEvents(DCBindingContainer.java:3920)
         at oracle.jbo.uicli.binding.JUCtrlValueBinding.startEvents(JUCtrlValueBinding.java:3732)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlHierNodeBinding.startEvents(FacesCtrlHierNodeBinding.java:141)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlHierBinding$FacesModel._addActiveDataListener(FacesCtrlHierBinding.java:932)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlHierBinding$FacesModel.startActiveData(FacesCtrlHierBinding.java:824)
         at oracle.adfinternal.view.faces.activedata.PageDataUpdateManager$ActiveComponentRecord.startModel(PageDataUpdateManager.java:976)
         at oracle.adfinternal.view.faces.activedata.PageDataUpdateManager$ActiveComponentRecord.startComponent(PageDataUpdateManager.java:939)
         at oracle.adfinternal.view.faces.activedata.PageDataUpdateManager._startActiveData(PageDataUpdateManager.java:483)
         at oracle.adfinternal.view.faces.activedata.PageDataUpdateManager.startActiveData(PageDataUpdateManager.java:458)
         at oracle.adfinternal.view.faces.context.RichPhaseListener$StartStopADSContextCallback.invokeContextCallback(RichPhaseListener.java:890)
         at org.apache.myfaces.trinidad.component.UIXCollection.invokeOnComponent(UIXCollection.java:1041)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnNamingContainerComponent(UIXComponentBase.java:1380)
         at oracle.adf.view.rich.component.fragment.UIXRegion.invokeOnComponent(UIXRegion.java:555)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
         at oracle.adf.view.rich.component.rich.RichDocument.invokeOnComponent(RichDocument.java:168)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:720)
         at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:678)
         at oracle.adfinternal.view.faces.context.RichPhaseListener.handleStartAndStopActiveData(RichPhaseListener.java:461)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:444)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:186)
         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:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    <StateMachine> <internalHandle> null
    java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at oracle.tip.tools.ide.bam.dc.rt.fsm.StateMachine.internalHandle(StateMachine.java:213)
         at oracle.tip.tools.ide.bam.dc.rt.fsm.StateMachine.handle(StateMachine.java:151)
         at oracle.tip.tools.ide.bam.dc.rt.provider.BAMDataProvider.startEvents(BAMDataProvider.java:303)
         at oracle.tip.tools.ide.bam.dc.rt.BAMDataControl.startEvents(BAMDataControl.java:354)
         at oracle.adf.model.bean.DCBeanDataControl.startEvents(DCBeanDataControl.java:2603)
         at oracle.tip.tools.ide.bam.dc.dt.adapter.BAMAdapterDCService.startEvents(BAMAdapterDCService.java:211)
         at oracle.adf.model.binding.DCBindingContainer.startDCEvents(DCBindingContainer.java:3927)
         at oracle.adf.model.binding.DCBindingContainer.startDCEvents(DCBindingContainer.java:3920)
         at oracle.jbo.uicli.binding.JUCtrlValueBinding.startEvents(JUCtrlValueBinding.java:3732)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlHierNodeBinding.startEvents(FacesCtrlHierNodeBinding.java:141)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlHierBinding$FacesModel._addActiveDataListener(FacesCtrlHierBinding.java:932)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlHierBinding$FacesModel.startActiveData(FacesCtrlHierBinding.java:824)
         at oracle.adfinternal.view.faces.activedata.PageDataUpdateManager$ActiveComponentRecord.startModel(PageDataUpdateManager.java:976)
         at oracle.adfinternal.view.faces.activedata.PageDataUpdateManager$ActiveComponentRecord.startComponent(PageDataUpdateManager.java:939)
         at oracle.adfinternal.view.faces.activedata.PageDataUpdateManager._startActiveData(PageDataUpdateManager.java:483)
         at oracle.adfinternal.view.faces.activedata.PageDataUpdateManager.startActiveData(PageDataUpdateManager.java:458)
         at oracle.adfinternal.view.faces.context.RichPhaseListener$StartStopADSContextCallback.invokeContextCallback(RichPhaseListener.java:890)
         at org.apache.myfaces.trinidad.component.UIXCollection.invokeOnComponent(UIXCollection.java:1041)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnNamingContainerComponent(UIXComponentBase.java:1380)
         at oracle.adf.view.rich.component.fragment.UIXRegion.invokeOnComponent(UIXRegion.java:555)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
         at oracle.adf.view.rich.component.rich.RichDocument.invokeOnComponent(RichDocument.java:168)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:720)
         at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:678)
         at oracle.adfinternal.view.faces.context.RichPhaseListener.handleStartAndStopActiveData(RichPhaseListener.java:461)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:444)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:186)
         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:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.bam.common.messaging.api.MessageFrameworkException, msg=BAM-00562: Authentication Failure
         at oracle.tip.tools.ide.bam.dc.rt.provider.activedata.AbstractChangeListListener.registerAsMessageConsumer(AbstractChangeListListener.java:186)
         at oracle.tip.tools.ide.bam.dc.rt.provider.activedata.AbstractChangeListListener.<init>(AbstractChangeListListener.java:88)
         at oracle.tip.tools.ide.bam.dc.rt.provider.activedata.SimpleChangeListListener.<init>(SimpleChangeListListener.java:75)
         at oracle.tip.tools.ide.bam.dc.rt.fsm.action.MessagingAction.register(MessagingAction.java:62)
         ... 76 more
    Caused by: oracle.bam.common.messaging.api.MessageFrameworkException: BAM-00562: Authentication Failure
         at oracle.bam.common.messaging.api.MessageConsumerRegistryFactory.authenticate(MessageConsumerRegistryFactory.java:210)
         at oracle.bam.common.messaging.api.MessageConsumerRegistryFactory.getInstance(MessageConsumerRegistryFactory.java:171)
         at oracle.tip.tools.ide.bam.dc.rt.provider.activedata.AbstractChangeListListener.registerAsMessageConsumer(AbstractChangeListListener.java:176)
    Can someone please help to resolve that error
    Thanks a lot
    Damian
    Edited by: 907704 on Jan 12, 2012 8:14 AM

    Hi,
    Please check this link and cross check your configuration.
    http://fmwarchitects.blogspot.in/2013/03/configuring-oracle-bam-adapter.html
    and while creating BAM connection Jdeveloper provide right credentials.
    Regards.

  • Using data source in adf application.

    Hi ,
    JDev version : 11.1.1.6.0
    I am planning to use data source in the application  , but there is an issue facing while running with data source.
    Exception in thread "main" javax.naming.NoInitialContextException: Cannot instantiate class: weblogic.jndi.WLInitialContextFactory [Root exception is java.lang.ClassNotFoundException: weblogic.jndi.WLInitialContextFactory]
        at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:657)
        at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
        at javax.naming.InitialContext.init(InitialContext.java:223)
        at javax.naming.InitialContext.<init>(InitialContext.java:197)
        at com.cisco.complianceutil.WizardDataSourceUtil.main(WizardDataSourceUtil.java:42)
    Caused by: java.lang.ClassNotFoundException: weblogic.jndi.WLInitialContextFactory
        at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    So I used "Weblogic.jar" once and "wlfullclient.jar" . By using one of these jars issue fixed but because of it while loading the application it is throwing the below error .
    <Sep 10, 2013 2:42:05 PM IST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    weblogic.application.ModuleException: [HTTP:101216]Servlet: "weblogic.wsee.jaxws.client.async.AsyncTransportProvider" failed to preload on startup in Web application: "ComplianceWizard".
    javax.xml.ws.WebServiceException: javax.xml.ws.WebServiceException: java.lang.InstantiationException: weblogic.wsee.jaxws.client.async.AsyncTransportProvider
        at weblogic.wsee.jaxws.WLSInstanceResolver.getSingleton(WLSInstanceResolver.java:36)
        at weblogic.wsee.jaxws.WLSInstanceResolver.start(WLSInstanceResolver.java:55)
        at weblogic.wsee.jaxws.WLSInstanceResolver$WLSInvoker.start(WLSInstanceResolver.java:82)
        at com.sun.xml.ws.server.InvokerTube.setEndpoint(InvokerTube.java:85)
        at weblogic.wsee.jaxws.EndpointAwareLateInitTube.postCreateEndpoint(EndpointAwareLateInitTube.java:48)
        at weblogic.wsee.jaxws.JAXWSServlet.registerEndpoint(JAXWSServlet.java:150)
        at weblogic.wsee.jaxws.JAXWSServlet.init(JAXWSServlet.java:64)
    For this I observed that solution is removing the wlfullcient.jar or weblogic.jar from the libraries. But If I do not use any one of them then data source does not work. Please guide me with your suggestions.

    This is configured in your database access layer - if it is using ADF BC then in the Application Module go to the configuration tab and edit the local configuration to see the information about which DB you are accessing.

  • Not able to access SOAP web service data control from adf mobile

    Hi,
    I am trying to call web services from adf mobile..
    I have created data control from external web service and it is perfectlly working on web browser..
    But why it is showing an error on emulator??
    Is there any .jar file missing in adf mobile so that it is not supporting a web service?
    Or is there any other problem? Emulator is connected to network and I am able to run WSDL in emulator's browser..
    Please help me to solve this issue..
    Thanks,
    Laxmi

    Emulator is connected to network and I am able to run WSDL in emulator's browser..
    Connecting to WSDL in the browser is not the same as connecting to WSDL in an application.
    To access a web service from an Android device enable a permission in AndroidManifest.xml that allows applications to open network sockets. Add the following uses-permission element.
    <uses-permission android:name="android.permission.INTERNET"></uses-permission>

  • EJB 3.0 / Data control binding / ADF Faces

    We have a great and very useful tool to generate rich client web application. Generate web component from a data structure is easy but manage the full life cycle is a little bit more complex. This complexity is dramatically increased when tool/platform are offering many models to solve the problem.
    In JDev we have three major choices:
    1) adf business components
    2) top link pojo
    3) ejb3.0
    From the client side and in my point of view (at my current understanding) the first and second choice are the easiest way to manage the persistence because they are what i say "bidirectional", that mean i will use the same data structure to persist and synchronize the database. I may only calll a method from the object to put my changes from the midle-tier into the database.
    EJB 3.0 seem to be more cormplex due essentially to the presence of the session bean that acts like conversational api. I like this architecture because it is the most flexible but from my client i have to manage these api's instead of one data structure. This mean for me to catch/detect every updates, new insert or deletes in my business object and to write the corresponding code to apply to correct entity bean methods from my session bean.
    Why not manage this logic in the data control framework by declaring which methods are to use as finder to get the data and which methods are to used to manage the persistence (persist, merge, remove) at object level.

    Exactly what i mean
    Actually Data Control architecture seem to be business object oriented with native method called from the same object to retrieve (the most part done)/synchronize the data with the database.
    This is fine than your architectue don't provide a service layer like session facade.
    With session facade you will access different business method to retrieve data and synchronize you data with the database not different method from the same object like application module do in adf bc.
    I see two solution, the best is that you extend the data control framework to offer standard crud operation and a tools to map these with one or many methods in the same (has to be the same?this is a question of architecture, i think it has to be the same but the framework may have to permit to use an another one for flexibility) session bean. This may be the same from adf bc or top link but the method may be selected automatically by the tool (wizard).
    The second solution is to build specialized sesssion bean with mandatory standardized methods and map this directly in the framework. The advantage i see is that the updates may be collected only once by the session bean by passing a specialized object manipulated by a specialized method.
    In fact the best solution is something that combines mapping in the data control and a specialized set of methods in the session bean to execute a transaction in a whole at the server level.
    What is to be decided if the framework (data control part) has to maintain a status for attribute (or set of attribute that correspond to a data control node) that are new inserted, updated or deleted and to synchronize only the changes.
    I'm very surprising that something like that it is not already in the framework ?
    How do I have to take care of changes made in a data control node object when i have used it to generate an adf faces by example in master / detail pages with an edit form like in otn examples. I see that the detail list in the detail table is updated so the data control is updated correctly by the edit form when i submit the changes but how to finally get this changes and synchronize with the database ?
    ps i reply previously by mistake by email sorry ... not that the email is not exactly the same as the post here
    Michel

  • NPE when using POJO Data Control deployed as webcenter shared Lib

    Hello everyone,
    I am using Jdevelopper 11.1.1.7...
    I have a methodAction Binding defined for a JSFF. I am executing this methodAction in a managed bean. When doing so I have the following exception:
    Caused By: oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.lang.NullPointerException, msg=null
    at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:118)
    at oracle.adf.model.BindingContext.instantiateDataControl(BindingContext.java:1128)
    at oracle.adf.model.dcframe.DataControlFrameImpl.doFindDataControl(DataControlFrameImpl.java:1638)
    at oracle.adf.model.dcframe.DataControlFrameImpl.internalFindDataControl(DataControlFrameImpl.java:1507)
    at oracle.adf.model.dcframe.DataControlFrameImpl.findDataControl(DataControlFrameImpl.java:1467)
    at oracle.adf.model.BindingContext.internalFindDataControl(BindingContext.java:1261)
    at oracle.adf.model.BindingContext.get(BindingContext.java:1211)
    at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:304)
    at oracle.adf.model.binding.DCBindingContainer.evaluateParameterWithElCheck(DCBindingContainer.java:1466)
    at oracle.adf.model.binding.DCBindingContainer.evaluateParameter(DCBindingContainer.java:1511)
    at oracle.jbo.uicli.binding.JUCtrlActionBinding.getResult(JUCtrlActionBinding.java:1968)
    at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding._execute(FacesCtrlActionBinding.java:267)
    at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding.execute(FacesCtrlActionBinding.java:210)
    at com.euroscript.platon.reporting.view.ReportingBean.getListLanguages(ReportingBean.java:661)
    at com.euroscript.platon.reporting.view.ReportingBean.getParamLabelsNeedingCustomLov(ReportingBean.java:87)
    at com.euroscript.platon.reporting.view.ReportingBean.initParams(ReportingBean.java:151)
    at com.euroscript.platon.reporting.view.ReportingBean.onSelectReport(ReportingBean.java:110)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at com.sun.el.parser.AstValue.invoke(AstValue.java:187)
    at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:297)
    at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1415)
    at org.apache.myfaces.trinidad.component.UIXEditableValue.broadcast(UIXEditableValue.java:216)
    at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:181)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
    at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:103)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
    at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:97)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:1086)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:478)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:207)
    This methodAction calls a Data Contol based on a POJO which is using a JAX-WS Proxy. This Data Control POJO is packaged in a separate JAR file named ServicesProxy.jar.
    Both ServicesProxy.jar and the ADF application using it are deployed as two distinct shared libraries used by webcenter portal application.
    An important information is that the error does not happen when debugging the ADF application on my IntegratedServer. The error happens only when deployed as a shared Lib used by webcenter portal application.
    This jar file ServicesProxy is used by other applications within our portal, so I think that the data control is properly created.
    Do you have any idea what could be the cause of such error?

    vinaykumar2 wrote:
    not really.May be you can check log in EM to find out some warning or error.try that..
    I have checked in the EM, I don't really find more helpful info...
    Here is the full stacktrace found in the EM (WC_Spaces1-diagnostic.log)
    dfd51:69a509b6:142a48c6891:-8000-0000000000000ffd,0] [APP: webcenter#11.1.1.4.0] [DSID: 0000KA^^HbLDc_l6wvicMG1IaBTa000009] ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase PROCESS_VALIDATIONS 3[[
    javax.faces.el.EvaluationException: oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.lang.NullPointerException, msg=null
            at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:58)
            at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1415)
            at org.apache.myfaces.trinidad.component.UIXEditableValue.broadcast(UIXEditableValue.java:216)
            at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:181)
            at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
            at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
            at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
            at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:103)
            at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
            at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
            at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
            at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:97)
            at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:1086)
            at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:478)
            at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:207)
            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:301)
            at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.portlet.client.adapter.adf.ADFPortletFilter.doFilter(ADFPortletFilter.java:32)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.webcenter.framework.events.dispatcher.EventDispatcherFilter.doFilter(EventDispatcherFilter.java:44)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.wcps.client.PersonalizationFilter.doFilter(PersonalizationFilter.java:74)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.webcenter.content.integration.servlets.ContentServletFilter.doFilter(ContentServletFilter.java:168)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.webcenter.generalsettings.model.provider.GeneralSettingsProviderFilter.doFilter(GeneralSettingsProviderFilter.java:85)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.webcenter.webcenterapp.internal.view.webapp.WebCenterShellPageRedirectionFilter.doFilter(WebCenterShellPageRedirectionFilter.java:342)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.webcenter.webcenterapp.internal.view.webapp.WebCenterShellFilter.doFilter(WebCenterShellFilter.java:953)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.adf.view.page.editor.webapp.WebCenterComposerFilter.doFilter(WebCenterComposerFilter.java:117)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.adf.share.http.ServletADFFilter.doFilter(ServletADFFilter.java:71)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:128)
            at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
            at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
            at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
            at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
            at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
            at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:180)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.webcenter.webcenterapp.internal.view.webapp.WebCenterLocaleWrapperFilter.processFilters(WebCenterLocaleWrapperFilter.java:369)
            at oracle.webcenter.webcenterapp.internal.view.webapp.WebCenterLocaleWrapperFilter.doFilter(WebCenterLocaleWrapperFilter.java:265)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.adfinternal.view.faces.caching.filter.AdfFacesCachingFilter.doFilter(AdfFacesCachingFilter.java:126)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
            at java.security.AccessController.doPrivileged(Native Method)
            at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324)
            at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
            at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
            at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
            at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:163)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
            at java.security.AccessController.doPrivileged(Native Method)
            at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324)
            at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
            at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
            at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
            at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)
            at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)
            at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
            at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
            at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)
            at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
            at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
            at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
            at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    Caused by: oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.lang.NullPointerException, msg=null
            at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:118)
            at oracle.adf.model.BindingContext.instantiateDataControl(BindingContext.java:1128)
            at oracle.adf.model.dcframe.DataControlFrameImpl.doFindDataControl(DataControlFrameImpl.java:1638)
            at oracle.adf.model.dcframe.DataControlFrameImpl.internalFindDataControl(DataControlFrameImpl.java:1507)
            at oracle.adf.model.dcframe.DataControlFrameImpl.findDataControl(DataControlFrameImpl.java:1467)
            at oracle.adf.model.BindingContext.internalFindDataControl(BindingContext.java:1261)
            at oracle.adf.model.BindingContext.get(BindingContext.java:1211)
            at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:304)
            at oracle.adf.model.binding.DCBindingContainer.evaluateParameterWithElCheck(DCBindingContainer.java:1466)
            at oracle.adf.model.binding.DCBindingContainer.evaluateParameter(DCBindingContainer.java:1511)
            at oracle.jbo.uicli.binding.JUCtrlActionBinding.getResult(JUCtrlActionBinding.java:1968)
            at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding._execute(FacesCtrlActionBinding.java:267)
            at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding.execute(FacesCtrlActionBinding.java:210)
            at com.euroscript.platon.reporting.view.ReportingBean.getListLanguages(ReportingBean.java:463)
            at com.euroscript.platon.reporting.view.ReportingBean.getParamLabelsNeedingCustomLov(ReportingBean.java:87)
            at com.euroscript.platon.reporting.view.ReportingBean.initParams(ReportingBean.java:151)
            at com.euroscript.platon.reporting.view.ReportingBean.onSelectReport(ReportingBean.java:110)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
            at java.lang.reflect.Method.invoke(Method.java:606)
            at com.sun.el.parser.AstValue.invoke(AstValue.java:187)
            at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:297)
            at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
            ... 84 more
    Caused by: java.lang.NullPointerException
            at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:113)
            ... 107 more
    any suggestion???

  • Getting Extra classes while creating Data Control in ADF

    I am using Jdeveloper 11.1.1.6.0.
    I was trying to create a Data Control from a Java class (containing event handling code) right click on the java class -> Create data Control.
    I can see many data controls were created in my work space when the operation was completed
    Example: java.io.InputStream.xml, java.net.URI.xml and many more.
    Anybody please suggest is it a problem in Jdeveloper tool or I need to perform any additional step to remove all these files.
    Regards,
    Rajesh

    Hello TimoHahn,
    I can see only the Data controls are getting generated (not the class files).
    Please find the code snippet for my class for which I generated data controls:
    public class ContexEvent {
        public ContexEvent() {
            super();
        public void handleEvent(ActionEvent payload){
            UIComponent component = payload.getComponent();
            Map<String, Object> attrMap = component.getAttributes();
            FacesContext context = FacesContext.getCurrentInstance();
            ELContext elContext = context.getELContext();
            Application application = context.getApplication();
            ExpressionFactory factory = application.getExpressionFactory();
            ValueExpression valueExpr = factory.createValueExpression(elContext, "#{backingBeanScope.NameBean}", Object.class);
            NameBean nb=(NameBean)valueExpr.getValue(elContext);
            //String newVal = (String)payload.getNewValue();
            nb.setFirstName("Rajesh");
            AdfFacesContext adfContext= AdfFacesContext.getCurrentInstance();
            adfContext.addPartialTarget(nb.getNameLabel());

  • UCM Data Control (getItems)

    Hi All,
    I am trying to display Webcenter content data in Tree structure using Data Controls getItems function.
    I am able to display folder/subfolder and files in ADF tree.When I click on any file in Tree node , i am able to see corresponding file in same window and its Metadata info. I am able to update the corresponding selected file metadata information using RIDC library.
    Isuee i am getting, When i click on file on any sub folder in Tree , I could not see corresponding file..But I select top folder files in tree , i can cooresponding file and metadata info.
    When I drog drop the getItems function in ADF web page, i just select Tree component and custom data field in data control.
    Any idea , Why i don't see subfolder files in my page when i select in tree node. Do i need to logic on Tree to onSelection node?
    Thanks in Advance.

    Hi Daniel, Thanks for quick response.
    I am able to display Correct Tree of webcenter Content Folders and files.
    The problem is when I select any file in sub node , i don't see corresponding node data(i.e file content and metadata field) in page. But it works fine when i select top node file in Tree then it display corresponding file and metadata info. It there is no problem for refreshing file and metadata dispaly area.
    Thanks

  • How to use Source Code Control for Large Application?

    Hi, All!
    I would like to collect knowledge about "best practice" examples for using Source Code Control and project organization for relative large application (let's say approx 1000 SubVIs).
    Tools used:
    LabVIEW 8.0
    CVS Server
    PushOK CVS Proxy Client
    WinCVS
    With LabVIEW 8 we can organize large project pretty well. This described in article Managing Large Applications with the LabVIEW Project.
    I have read this article too: Using Source Control Software with LabVIEW In this Article Source Safe used, but with PushOK all looks nearby the same and works (some tricks for compare function are required).
    Example. Two developers working together on same project. Internally project is modular, so one developer will work with module "Analysis", and another one with "Configuration" without interferences. These modules placed into Subfolders as shown in example above.
    Scenario 1:
    Developer A started with modification of module "Analysis". Some files checked out. He would like to add some SubVIs here. So, he must also perform check out for the project file (*.lvproj), otherwise he cannot add anything into project structure.
    Developer B at the same time would like to add some new functions into module "Configuration". He also needed to check out project file, but this file already checked out by Developer A (and locked). So, he must wait until lvproj file will be checked in. Another way is mark *.lvproj files as text files in PushOK, but then one of developers will get conflict message by checking in and then merging will be necessary. This situation will coming very often, because in most cases *.lvproj file will be checked out all the time.
    Question: Which practice is better for such situation? Is Libraries better than folder for large project?
    Scenario 2:
    Developer C joined to the team. First, he must get complete project code for starting (or may be at least code of one Library, which assigned to him).
    Question: How it can be done within LabVIEW IDE? Or WinCVS (or other SCC UI) should be used for initial checkout?
    Scenario 3:
    Developer D is responcible for Build. Developers A,B,C have added lot of files into modules "Analysis", Configuration" and "FileIO". For building he need to get complete code. If our project splitted into folders, he should get latest *.lvproj first, then newly added SubVIs will appear in Project Explorer, then he should expand tree, select all SubVIs and get latest versions for all. If Project organized in Libraries, he must do the same for each library, isn't?.
    Question: Is this "normal way", or WinCVS should be used for this way? In WinCVS its possible with two mouseclicks, but I prefer to get all code from CVS within LabVIEW IDE recursively...
    That was a long post... So, if you already working with LabVIEW 8 with SCC used for large project, please post your knowledge here about project structure (Folders or Libraries) and best practices, its may be helpful and useful for all of us. Any examples/use cases/links etc are appreciated.
    Thank you,
    Andrey

    Regarding your scenarios:
    1. Using your example, let's say both developers checked out version 3
    of the project file. Assuming that there are only files under the
    directories in the example project, when Developer A checks in his
    version of the project, there will be new files in one section of the
    project separate from where Developer B is working. Developer B,
    notices that there is now a version 4 of the project. He needs to
    resolve the changes so will need to merge his changes to the latest
    version of project file. Since the project file is a text file, that is
    easy to do. Where an issue arrises is that after Developer B checks in
    his merged changes, there is a revision 5. When Developer A and B go to
    make another change, they get the latest version which will have the
    merged changes to the project file but not the referenced files from
    both Developer A and B. So when A opens version 5, he sees that he is
    missing the files that B checked in and visa versa. Here is where the
    developers will needs to manually use the source control client and,
    external to LabVIEW, get those new files.
    Where libraries help with the above scenario is that the library is a
    separate file from the project so changes made to it outside of the
    project do not require the project to be modified. So this time, the
    developers are using a single project again which time time references
    two libraries. The developers check out the libraries, make changes to
    the libraries, and then check those changes in. So when each developer
    opens the project file, since it references the project file, the
    changes to the library will be reflected. There is still the issue of
    the new files not automatically coming down when the latest version of
    the library is obtained. Again, the developers will needs to manually
    use the source control client and, external to LabVIEW, get those new
    files. In general, you should take advantage of the the modularity that
    libraries provide.
    2. As noted in the above scenario, there is no intrinsic mechanism to
    get all files referenced by a LabVIEW project. Files that are missing
    will be noted. The developer will then have to use the source control
    provider's IDE to get the initial contents of the project  (or library).
    3. See above scenarios.
    George M
    National Instruments

  • Could not find "ADF Data Controls" in ADF tutorial 10.1.3.1.0 chapter 2

    Hi
    I am currently learning Oracle ADF followed by 10.1.3.1.0 tutorial. ( September 2006 Revision ), I installed Oracle Jdeveloper 10.1.3.2.0 on my pc with remote 10.2.0.2 database connection.
    In the manual page 2-17, the final step of that chapter, it requests to create ADF data controls associated with SRPublicFacadeBean.java . It says, right-click the SRPublicFacadeBean.java node and choose "Create Data Control" from the context menu. However, I could not find such option in the context menu. Does anyone know why that happened.
    Thanks ahead
    Sean
    Edited by: ma_sean on Oct 8, 2008 4:14 PM

    Did you install the J2EE edition of JDeveloper or the Studio edition?
    You need the studio edition to be able to create data controls.

  • How to use jquery.hotkeys.js in ADF application

    Hello all,
    I am developing an ADF application where i am trying to use jquery.hotkeys.js file. I have created a folder js inside ViewController\Web Content\js and i have added jquery.hotkeys.js file inside that folder.
    Now i have created a jspx page and inside that i have 3 input text and 1 submit button now I am trying to use keyboard shortcuts say ALT+F8 to clear the form fields. Here is my full jspx form
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    <jsp:directive.page contentType="text/html;charset=windows-1252"/>
    <f:view>
    <af:document id="d1">
    <af:form id="f1">
    <af:inputText label="First Name" id="it1" value="#{MyBean2.firstName}">
    <af:clientListener method="clearAll" type="keyDown"/>
    </af:inputText>
    <af:inputText label="Last Name" id="it2" value="#{MyBean2.lastName}">
    <af:clientListener method="clearAll" type="keyDown"/>
    </af:inputText>
    <af:inputText label="EmailID" id="it3" value="#{MyBean2.emailId}">
    <af:clientListener method="clearAll" type="keyDown"/>
    </af:inputText>
    <af:commandButton text="Submit" id="cb1"
    action="#{MyBean2.callSubmit}"
    binding="#{MyBean2.cb1}">
    <af:clientListener method="clearAll" type="keyDown"/>
    </af:commandButton>
    </af:form>
    <f:facet name="metaContainer">
    <af:resource type="javascript" source="/js/jquery.hotkeys.js"/>
    <af:resource type="javascript">
    function clearAll() {
    $("*").bind('keydown', 'Alt+F8', function (evt) {
    clearForm();
    evt.stopPropagation();
    return false;
    function clearForm() {
    alert('3');
    curElm = document.activeElement;
    var frm = $(curElm).closest('form');
    var frmname = ($(frm).attr('name'));
    document.forms[frmname].reset();
    document.getElementById('frmname::content').reset();
    document.getElementById('f1::content').reset();
    $("input:visible:enabled:first").focus();
    </af:resource>
    </f:facet>
    </af:document>
    </f:view>
    </jsp:root>
    But that is not working. Can anyone help?
    Thanks

    My requirement is the form should get cleared on pressing ALT + F8.
    Here is my updated jspx page:-
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    <jsp:directive.page contentType="text/html;charset=windows-1252"/>
    <f:view>
    <af:document id="d1">
    <af:form id="f1">
    <af:inputText label="First Name" id="it1" value="#{MyBean2.firstName}">
    </af:inputText>
    <af:inputText label="Last Name" id="it2" value="#{MyBean2.lastName}">
    </af:inputText>
    <af:inputText label="EmailID" id="it3" value="#{MyBean2.emailId}">
    <af:clientListener method="clearAll" type="keyDown"/>
    </af:inputText>
    <af:commandButton text="Submit" id="cb1"
    action="#{MyBean2.callSubmit}"
    binding="#{MyBean2.cb1}">
    <af:clientListener method="clearAll" type="keyDown"/>
    </af:commandButton>
    </af:form>
    <f:facet name="metaContainer">
    <af:resource type="javascript" source="/js/jquery.hotkeys.js"/>
    <af:resource type="javascript" source="/js/jquery-1.4.4.min.js"/>
    <af:resource type="javascript">
    function clearAll() {
    jQuery('*').bind('keydown', 'Alt+F8', function (evt) {
    clearForm();
    evt.stopPropagation();
    return false;
    function clearForm() {
    curElm = document.activeElement;
    var frm = $(curElm).closest('form');
    var frmname = ($(frm).attr('name'));
    alert(frmname);
    document.forms[frmname].reset();
    $("input:visible:enabled:first").focus();
    </af:resource>
    </f:facet>
    </af:document>
    </f:view>
    </jsp:root>
    But still I am not able to get the desired functionality. Am i missing something here?
    Thanks

Maybe you are looking for

  • Need help getting my 120g hd to work

    hello there folks, i was wondering if i could get some help with a hard drive issue. i recntly got a g4 that was thrown out due to upgrading. i was told the only thing wrong with it was that the hard drive was taken out. so i went out and got a 120g

  • Can't sync contacts - says mail client cannot fulfill the messaging?????

    I'm trying to sync a contacts sub folder in Outlook 2003, but keep getting a message that says "there is no default mail client...etc." I can't even get it to sync calendar or main contacts. I checked Outlook help and I've done everything it says. An

  • Load as2 swf in as3 swf

    Hi All, I am new to this forum. Can anyone tell me how to load as2 swf in as3? If this is possible,can anyone give me some sample example? Thanks Harshal

  • Why won't my iMessage activate ?

    I turned off my phone because something froze and when I turned it back on everything was working normally except iMessage says it won't activate . I've done everything but it's not activating. How do I get my Phone to work again ? Help would be appr

  • Using summation function in xslt transformation

    Hi, I'm new to SOA and i'm just exploring the functions in SOA suite. I couldn't add more than one parameter in summation function. summation function takes only one parameter as input I hope. How to use it. Thanks and Regards Karthick