ADF customization using MDS

I have a few questions about ADF customization using MDS...
1) Is it intended that this functionality will be part of the ADF Rich Faces Apache donation or is it going to be something licensed by Oracle?
2) The old (or not so old) EBusiness OAF framework had lots of customization/personalisation stuff i.e. where you could add fields, remove fields, change table column orders and add a column via the browser. Is MDS functionally similar?
3) Will using ADF customization mean that I have to use ADF Business Components.
4) How many different data store options are there i.e. can the meta data be persisted to different types of database such as MySQL or SQLServer (sorry, my company needs to be database agnostic) or even the file system.
Thanks,
Peter.

Hi,
1) I haven't heard of a plan like that. MDS has nothing to do with ADF Faces directly and is a different set of technology.
2) MDS is supposed to replace that, yes
3) No.
4) No idea about that.
Frank

Similar Messages

  • Can we do customization using db based MDS where ADF security not enabled?

    JDeveloper 11.1.1.6 : ADF BC + ADF Faces
    Requirement : I want to customize the application across the user session. In this app I have NOT used ADF security. There is siteminder security setup on the server which authenticates the application. The logged in userid/username is available in the request header.
    Now my question is can i customize this app using db based MDS?
    Any help will be appreciated.
    ~Abhijit

    Abhijit,
    My first instinct was to say "of course you must enable ADF Security" and post a link to the docs. However, the docs are silent on this.
    The best quote that I can give you is from [url http://docs.oracle.com/cd/E18941_01/tutorials/jdtut_11r2_18/jdtut_11r2_18.html]here, which says (in step 12):
    Before you can persist user customizations across sessions using MDS as the repository, you must configure ADF Security and create users for the application.John

  • Deployment of the ADF customizations to sandbox, using mar profile.

    Hi,
    We are working on ADF customization, we have done some customization, which we want to test.
    Now issue is we dont have direct connectivity to the instance, but we have em/console access, can you please let us know if we can deploy the mar file using em console to sandbox.
    we dont want to disturb the whole application, until we test our application in sandbox.
    Thanks
    Vipin

    Hi Vipin
    I think this same question is open in another thread your have. As mentioned the support for doing an import of
    a customization into an environment depends on what kind of Cloud support you have, I believe.
    Please contact the cloud hosting support team who should be able to confirm what services in this area they can offer.
    Sorry I can't be of more help.
    Kind regards
    Richard

  • How to use MDS deploying with EAR file

    Hi everybody.
    I would to use MDS in my web application in order to use customization across the sessions. I've performed every step to do this on JDeveloper (11.1.1.3.1). I've tested my application deploying directly from JDeveloper using Application menu > Deploy > "myApp" to "myApplicationServer" (in this way I can choose the repository with a window like this: http://i.stack.imgur.com/Kci9c.png). The repository was prevoiusly registered on the server. In this way my application works fine and they all lived happily ever after.
    My problem occurs when I perform the deployment with "myApp to EAR" mode. When I try to install my EAR file in weblogic, it reply me with this error message:
    An error occurred during activation of changes, please see the log for details.
    +:oracle.mds.config.MDSConfigurationException:MDS-01335: namespace "/xliffBundles" mapped to metadata-store-usage "MAR_TargetRepos" but its definition was not found in MDS configuration.+
    I've looked for a solution around the web (included this forum) and I think that I should modify something in adf-config.xml file (below).
    Which steps I have to perform in order to install my application correctly with an EAR file?
    Thanks in advance.
    <?xml version="1.0" encoding="windows-1252" ?>
    <adf-config xmlns="http://xmlns.oracle.com/adf/config"
    xmlns:adf="http://xmlns.oracle.com/adf/config/properties"
    xmlns:sec="http://xmlns.oracle.com/adf/security/config"
    xmlns:ads="http://xmlns.oracle.com/adf/activedata/config">
    <adf:adf-properties-child xmlns="http://xmlns.oracle.com/adf/config/properties">
    <adf-property name="adfAppUID" value="BDO_GC_WEBAPP.bdogc"/>
    </adf:adf-properties-child>
    <!-- <ads:adf-activedata-config xmlns=
    "http://xmlns.oracle.com/adf/activedata/config">
    <latency-threshold>5000</latency-threshold>
    <keep-alive-interval>10000</keep-alive-interval>
    <max-reconnect-attempt-time>90000</max-reconnect-attempt-time>
    <reconnect-wait-time>8000</reconnect-wait-time>
    </ads:adf-activedata-config> -->
    <sec:adf-security-child xmlns="http://xmlns.oracle.com/adf/security/config">
    <CredentialStoreContext credentialStoreClass="oracle.adf.share.security.providers.jps.CSFCredentialStore"
    credentialStoreLocation="../../src/META-INF/jps-config.xml"/>
    <sec:JaasSecurityContext initialContextFactoryClass="oracle.adf.share.security.JAASInitialContextFactory"
    jaasProviderClass="oracle.adf.share.security.providers.jps.JpsSecurityContext"
    authorizationEnforce="true"
    authenticationRequire="true"/>
    </sec:adf-security-child>
    <adf-faces-config xmlns="http://xmlns.oracle.com/adf/faces/config">
    <persistent-change-manager>
    <persistent-change-manager-class>
    oracle.adf.view.rich.change.MDSDocumentChangeManager
    </persistent-change-manager-class>
    </persistent-change-manager>
    <taglib-config>
    <taglib uri="http://xmlns.oracle.com/adf/faces/rich">
    <tag name="column">
    <attribute name="displayIndex">
    <persist-changes>
    true
    </persist-changes>
    </attribute>
    <attribute name="frozen">
    <persist-changes>
    true
    </persist-changes>
    </attribute>
    <attribute name="noWrap">
    <persist-changes>
    true
    </persist-changes>
    </attribute>
    <attribute name="selected">
    <persist-changes>
    true
    </persist-changes>
    </attribute>
    <attribute name="visible">
    <persist-changes>
    true
    </persist-changes>
    </attribute>
    <attribute name="width">
    <persist-changes>
    true
    </persist-changes>
    </attribute>
    </tag>
    <tag name="table">
    <attribute name="filterVisible">
    <persist-changes>
    true
    </persist-changes>
    </attribute>
    </tag>
    </taglib>
    </taglib-config>
    </adf-faces-config>
    <adf-mds-config xmlns="http://xmlns.oracle.com/adf/mds/config">
    <mds-config xmlns="http://xmlns.oracle.com/mds/config" version="11.1.1.000">
    <cust-config>
    <match path="/">
    <customization-class name="oracle.adf.share.config.UserCC"/>
    </match>
    </cust-config>
    </mds-config>
    </adf-mds-config>
    </adf-config>

    Any suggestion?

  • Is it mandatory to use MDS?

    We are creating a portal which will contain static content and no run time customization of pages. Also, WebCenter Spaces or SOA is not used. The database would be required for the applications, however. I want to ask if it is mandatory to use MDS in this case. Can we have a simple EAR file deployed with Datasources configured in weblogic and no MAR file or MDS installation?

    It would be a Webcenter portal application where we have individual ADF applications bundled as portlets. However features like runtime creation/ customization of pages, Message board, Spaces, etc are not used.
    I wanted to know can we still have a portal application which does not require a file based or DB based MDS environment.
    Edited by: newdev on Jul 14, 2011 7:46 PM

  • Issues in persisting dynamic entity and view objects using MDS

    Hi All,
    I'm trying to create dynamic entity and view objects per user session and to persist these objects throughout the session, I'm trying to use MDS configurations(either file or Database) in adf-config.xml.
    I'm facing following two errors while trying to run the app module:
    1. MDS error (MetadataNotFoundException): MDS-00013: no metadata found for metadata object "/model/DynamicEntityGenModuleOperations.xml"
    2. oracle.mds.exception.ReadOnlyStoreException: MDS-01273: The operation on the resource /sessiondef/dynamic/DynamicDeptEntityDef.xml failed because source metadata store mapped to the namespace / DEFAULT is read only.
    I've gone through the following links which talks about the cause of the issue, but still can't figure out the issue in the code or the config file. Please help if, someone has faced a similar issue.
    [http://docs.oracle.com/cd/E28271_01/doc.1111/e25450/mds_trouble.htm#BABIAGBG |http://docs.oracle.com/cd/E28271_01/doc.1111/e25450/mds_trouble.htm#BABIAGBG ]
    [http://docs.oracle.com/cd/E16162_01/core.1112/e22506/chapter_mds_messages.htm|http://docs.oracle.com/cd/E16162_01/core.1112/e22506/chapter_mds_messages.htm]
    Attached is the code for dynamic entity/view object generation and corresponding adf-config.xml used.
    ///////////App Module Implementation Class/////////////////////////
    public class DynamicEntityGenModuleImpl extends ApplicationModuleImpl implements DynamicEntityGenModule {
    private static final String DYNAMIC_DETP_VO_INSTANCE = "DynamicDeptVO";
    * This is the default constructor (do not remove).
    public DynamicEntityGenModuleImpl() {
    public ViewObjectImpl getDepartmentsView1() {
    return (ViewObjectImpl) findViewObject("DynamicDeptVO");
    public void buildDynamicDeptComp() {
    ViewObject internalDynamicVO = findViewObject(DYNAMIC_DETP_VO_INSTANCE);
    if (internalDynamicVO != null) {
    System.out.println("OK VO exists, return Defn- " + internalDynamicVO.getDefFullName());
    return;
    EntityDefImpl deptEntDef = buildDeptEntitySessionDef();
    ViewDefImpl viewDef = buildDeptViewSessionDef(deptEntDef);
    addViewToPdefApplicationModule(viewDef);
    private EntityDefImpl buildDeptEntitySessionDef() {
    try {
    EntityDefImpl entDef = new EntityDefImpl(oracle.jbo.server.EntityDefImpl.DEF_SCOPE_SESSION, "DynamicDeptEntityDef");
    entDef.setFullName(entDef.getBasePackage() + ".dynamic." + entDef.getName());
    entDef.setName(entDef.getName());
    System.out.println("Application Module Path name: " + getDefFullName());
    System.out.println("EntDef :" + entDef.getFileName() + " : " + entDef.getBasePackage() + ".dynamic." + entDef.getName());
    entDef.setAliasName(entDef.getName());
    entDef.setSource("DEPT");
    entDef.setSourceType("table");
    entDef.addAttribute("ID", "ID", Integer.class, true, false, true);
    entDef.addAttribute("Name", "NAME", String.class, false, false, true);
    entDef.addAttribute("Location", "LOCATION", Integer.class, false, false, true);
    entDef.resolveDefObject();
    entDef.registerSessionDefObject();
    entDef.writeXMLContents();
    entDef.saveXMLContents();
    return entDef;
    } catch (Exception ex) {
    System.out.println(ex.getLocalizedMessage());
    return null;
    private ViewDefImpl buildDeptViewSessionDef(EntityDefImpl entityDef) {
    try {
    ViewDefImpl viewDef = new oracle.jbo.server.ViewDefImpl(oracle.jbo.server.ViewDefImpl.DEF_SCOPE_SESSION, "DynamicDeptViewDef");
    viewDef.setFullName(viewDef.getBasePackage() + ".dynamic." + viewDef.getName());
    System.out.println("ViewDef :" + viewDef.getFileName());
    viewDef.setUseGlueCode(false);
    viewDef.setIterMode(RowIterator.ITER_MODE_LAST_PAGE_FULL);
    viewDef.setBindingStyle(SQLBuilder.BINDING_STYLE_ORACLE_NAME);
    viewDef.setSelectClauseFlags(ViewDefImpl.CLAUSE_GENERATE_RT);
    viewDef.setFromClauseFlags(ViewDefImpl.CLAUSE_GENERATE_RT);
    viewDef.addEntityUsage("DynamicDeptUsage", entityDef.getFullName(), false, false);
    viewDef.addAllEntityAttributes("DynamicDeptUsage");
    viewDef.resolveDefObject();
    viewDef.registerSessionDefObject();
    viewDef.writeXMLContents();
    viewDef.saveXMLContents();
    return viewDef;
    } catch (Exception ex) {
    System.out.println(ex.getLocalizedMessage());
    return null;
    private void addViewToPdefApplicationModule(ViewDefImpl viewDef) {
    oracle.jbo.server.PDefApplicationModule pDefAM = oracle.jbo.server.PDefApplicationModule.findDefObject(getDefFullName());
    if (pDefAM == null) {
    pDefAM = new oracle.jbo.server.PDefApplicationModule();
    pDefAM.setFullName(getDefFullName());
    pDefAM.setEditable(true);
    pDefAM.createViewObject(DYNAMIC_DETP_VO_INSTANCE, viewDef.getFullName());
    pDefAM.applyPersonalization(this);
    pDefAM.writeXMLContents();
    pDefAM.saveXMLContents();
    ////////adf-config.xml//////////////////////
    <?xml version="1.0" encoding="windows-1252" ?>
    <adf-config xmlns="http://xmlns.oracle.com/adf/config" xmlns:config="http://xmlns.oracle.com/bc4j/configuration" xmlns:adf="http://xmlns.oracle.com/adf/config/properties"
    xmlns:sec="http://xmlns.oracle.com/adf/security/config">
    <adf-adfm-config xmlns="http://xmlns.oracle.com/adfm/config">
    <defaults useBindVarsForViewCriteriaLiterals="true"/>
    <startup>
    <amconfig-overrides>
    <config:Database jbo.locking.mode="optimistic"/>
    </amconfig-overrides>
    </startup>
    </adf-adfm-config>
    <adf:adf-properties-child xmlns="http://xmlns.oracle.com/adf/config/properties">
    <adf-property name="adfAppUID" value="TestDynamicEC-8827"/>
    </adf:adf-properties-child>
    <sec:adf-security-child xmlns="http://xmlns.oracle.com/adf/security/config">
    <CredentialStoreContext credentialStoreClass="oracle.adf.share.security.providers.jps.CSFCredentialStore" credentialStoreLocation="../../src/META-INF/jps-config.xml"/>
    </sec:adf-security-child>
    <persistence-config>
    <metadata-namespaces>
    <namespace metadata-store-usage="mdsRepos" path="/sessiondef/"/>
    <namespace path="/model/" metadata-store-usage="mdsRepos"/>
    </metadata-namespaces>
    <metadata-store-usages>
    <metadata-store-usage default-cust-store="true" deploy-target="true" id="mdsRepos">
    <metadata-store class-name="oracle.mds.persistence.stores.file.FileMetadataStore">
    <property name="metadata-path" value="/tmp"/>
    <!-- <metadata-store class-name="oracle.mds.persistence.stores.db.DBMetadataStore">
    <property name="jndi-datasource" value="jdbc/TestDynamicEC"/>
    <property name="repository-name" value="TestDynamicEC"/>
    <property name="jdbc-userid" value="adfmay28"/>
    <property name="jdbc-password" value="adfmay28"/>
    <property name="jdbc-url" value="jdbc:oracle:thin:@localhost:1521:XE"/>-->
    </metadata-store>
    </metadata-store-usage>
    </metadata-store-usages>
    </persistence-config>
    </adf-config>
    //////////////////////////////////////////////////////////////////////////////////////////////////////////

    Hi Frank,
    I m trying to save entity and view object xml by calling writeXMLContents() and saveXMLContents() so that these objects can be retrieved using the xmls later on.
    These methods internally use MDS configuration in adf-config.xml, which is creating the issue.
    Please share your thoughts on resolving this or if, there is any other way of creating dynamic entity/view objects for db tables created at runtime.
    Nik

  • Oracle.adf.share.ADFShareException: MDS Exception encountered in parse ADF Configuration

    Hi,
    I am using Jdeveloper 11.1.2.3.0. I have generate a .war file and deployed in weblogic server 10.3.6. When I click on start button by selecting the .war file, I am getting following exception
    oracle.adf.share.ADFShareException: MDS Exception encountered in parse ADF Configuration
        at oracle.adf.share.config.ADFMDSConfig.getDefaultMDSInstance(ADFMDSConfig.java:472)
        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.adf.share.config.FallbackConfigImpl.getMDSInstance(FallbackConfigImpl.java:83)
        at oracle.adf.share.config.ADFContextMDSConfigHelperImpl.getMDSInstance(ADFContextMDSConfigHelperImpl.java:274)
        at oracle.adf.share.ADFContext.getMDSInstanceAsObject(ADFContext.java:1790)
        at oracle.adf.share.http.ServletADFContext.initialize(ServletADFContext.java:493)
        at oracle.adf.share.http.ServletADFContext.initThreadContext(ServletADFContext.java:400)
        at oracle.adf.mbean.share.connection.ADFConnectionLifeCycleCallBack.contextInitialized(ADFConnectionLifeCycleCallBack.java:71)
        at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
        at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
        at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
        at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1868)
        at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3154)
        at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1518)
        at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:484)
        at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
        at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
        at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
        at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
        at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
        at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
        at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
        at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
        at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
        at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:671)
        at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
        at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
        at weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:44)
        at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
        at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
        at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
        at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
        at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
        at weblogic.deploy.internal.targetserver.operations.StartOperation.doCommit(StartOperation.java:149)
        at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
        at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
        at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
        at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
        at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)
        at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
        at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
        at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:68)
        at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    Caused By: oracle.mds.exception.MDSRuntimeException:  file=/usr/local/Oracle/Middleware/user_projects/domains/arkin_domain/config/fmwconfig/servers/AdminServer/javacache.xml, java.io.FileNotFoundException: /usr/local/Oracle/Middleware/user_projects/domains/arkin_domain/config/fmwconfig/servers/AdminServer/javacache.xml (No such file or directory)
    null
    /usr/local/Oracle/Middleware/user_projects/domains/arkin_domain/config/fmwconfig/servers/AdminServer/javacache.xml (No such file or directory)
        at oracle.mds.internal.cache.JOCCacheProvider.createNamedCacheInternal(JOCCacheProvider.java:343)
        at oracle.mds.internal.cache.JOCCacheProvider.createNamedCache(JOCCacheProvider.java:254)
        at oracle.mds.internal.cache.JOCCacheProvider.<init>(JOCCacheProvider.java:87)
        at oracle.mds.core.MDSInstance.initCache(MDSInstance.java:1649)
        at oracle.mds.core.MDSInstance.<init>(MDSInstance.java:1786)
        at oracle.mds.core.MDSInstance.<init>(MDSInstance.java:1738)
        at oracle.mds.core.MDSInstance.findAndStoreMDSInstance(MDSInstance.java:2035)
        at oracle.mds.core.MDSInstance.getOrCreateInstance(MDSInstance.java:529)
        at oracle.mds.core.MDSInstance.getOrCreateInstance(MDSInstance.java:492)
        at oracle.adf.share.config.ADFMDSConfig.getDefaultMDSInstance(ADFMDSConfig.java:452)
        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.adf.share.config.FallbackConfigImpl.getMDSInstance(FallbackConfigImpl.java:83)
        at oracle.adf.share.config.ADFContextMDSConfigHelperImpl.getMDSInstance(ADFContextMDSConfigHelperImpl.java:274)
        at oracle.adf.share.ADFContext.getMDSInstanceAsObject(ADFContext.java:1790)
        at oracle.adf.share.http.ServletADFContext.initialize(ServletADFContext.java:493)
        at oracle.adf.share.http.ServletADFContext.initThreadContext(ServletADFContext.java:400)
        at oracle.adf.mbean.share.connection.ADFConnectionLifeCycleCallBack.contextInitialized(ADFConnectionLifeCycleCallBack.java:71)
        at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
        at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
        at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
        at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1868)
        at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3154)
        at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1518)
        at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:484)
        at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
        at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
        at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
        at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
        at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
        at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
        at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
        at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
        at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
        at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:671)
        at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
        at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
        at weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:44)
        at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
        at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
        at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
        at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
        at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
        at weblogic.deploy.internal.targetserver.operations.StartOperation.doCommit(StartOperation.java:149)
        at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
        at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
        at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
        at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
        at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)
        at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
        at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
        at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:68)
        at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    Caused By: oracle.ias.cache.CacheConfigParsingException:  file=/usr/local/Oracle/Middleware/user_projects/domains/arkin_domain/config/fmwconfig/servers/AdminServer/javacache.xml, java.io.FileNotFoundException: /usr/local/Oracle/Middleware/user_projects/domains/arkin_domain/config/fmwconfig/servers/AdminServer/javacache.xml (No such file or directory)
    please let me know, how to resolve this issue.

    Filters are configured as follows in the web.xml:
      <filter>
        <filter-name>JpsFilter</filter-name>
        <filter-class>oracle.security.jps.ee.http.JpsFilter</filter-class>
        <init-param>
          <param-name>enable.anonymous</param-name>
          <param-value>true</param-value>
        </init-param>
      </filter>
      <filter>
        <filter-name>trinidad</filter-name>
        <filter-class>org.apache.myfaces.trinidad.webapp.TrinidadFilter</filter-class>
      </filter>
      <filter>
        <filter-name>adfBindings</filter-name>
        <filter-class>oracle.adf.model.servlet.ADFBindingFilter</filter-class>
      </filter>
      <filter-mapping>
        <filter-name>JpsFilter</filter-name>
        <url-pattern>/*</url-pattern>
        <dispatcher>FORWARD</dispatcher>
        <dispatcher>REQUEST</dispatcher>
        <dispatcher>INCLUDE</dispatcher>
      </filter-mapping>
      <filter-mapping>
        <filter-name>trinidad</filter-name>
        <servlet-name>Faces Servlet</servlet-name>
        <dispatcher>FORWARD</dispatcher>
        <dispatcher>REQUEST</dispatcher>
      </filter-mapping>
      <filter-mapping>
        <filter-name>adfBindings</filter-name>
          <url-pattern>/*</url-pattern>
        <dispatcher>FORWARD</dispatcher>
        <dispatcher>REQUEST</dispatcher>
      </filter-mapping>

  • Build Automation for ADF Application using Jenkins CI

    Hi
    I am trying to implement automated builds( creating .ear file) and deployments for ADF Applications using Jenkins. I am using Ant Build Scritps using OJDEPLOY on Jenkins.
    but the build scripts does not create .ear file at the path mention in the outputfile parameter.
    Please help. Thanks,
    Below is my build script and ojdeploy status log.
    <?xml version="1.0" encoding="windows-1252" ?>
    <!--Ant buildfile generated by Oracle JDeveloper-->
    <!--Generated Jul 10, 2013 12:26:00 PM-->
    <project name="OrganisationApproval" default="all" basedir=".">
      <property file="build.properties"/>
      <path id="library.SOA.Designtime"/>
      <path id="library.SOA.Runtime"/>
      <path id="library.BPEL.Runtime"/>
      <path id="library.Mediator.Runtime"/>
      <path id="library.MDS.Runtime">
        <pathelement location="{oracle.middleware}/oracle_common/modules/oracle.mds_11.1.1/mdsrt.jar"/>
      </path>
      <path id="library.BC4J.Service.Runtime">
        <pathelement location="{oracle.middleware}/oracle_common/modules/oracle.adf.model_11.1.1/adfbcsvc.jar"/>
        <pathelement location="{oracle.middleware}/oracle_common/modules/oracle.adf.model_11.1.1/adfbcsvc-share.jar"/>
        <pathelement location="{oracle.middleware}/oracle_common/modules/commonj.sdo_2.1.0.jar"/>
        <pathelement location="{oracle.middleware}/modules/org.eclipse.persistence_1.1.0.0_2-1.jar"/>
        <pathelement location="{oracle.middleware}/oracle_common/modules/oracle.webservices_11.1.1/wsclient.jar"/>
        <pathelement location="{oracle.middleware}/oracle_common/modules/oracle.web-common_11.1.1.jar"/>
      </path>
      <path id="library.TopLink">
        <pathelement location="{oracle.middleware}/modules/com.oracle.toplink_1.0.0.0_11-1-1-5-0.jar"/>
        <pathelement location="{oracle.middleware}/modules/org.eclipse.persistence_1.1.0.0_2-1.jar"/>
        <pathelement location="{oracle.middleware}/modules/com.bea.core.antlr.runtime_2.7.7.jar"/>
        <pathelement location="{oracle.middleware}/modules/javax.persistence_1.0.0.0_2-0-0.jar"/>
      </path>
      <path id="library.Oracle.Rules"/>
      <path id="classpath">
        <path refid="library.SOA.Designtime"/>
        <path refid="library.SOA.Runtime"/>
        <path refid="library.BPEL.Runtime"/>
        <path refid="library.Mediator.Runtime"/>
        <path refid="library.MDS.Runtime"/>
        <path refid="library.BC4J.Service.Runtime"/>
        <path refid="library.TopLink"/>
        <path refid="library.Oracle.Rules"/>
      </path>
      <target name="init">
        <tstamp/>
        <mkdir dir="${output.dir}"/>
      </target>
      <target name="all" description="Build the project"
              depends="deploy,compile,copy"/>
      <target name="clean" description="Clean the project">
        <delete includeemptydirs="true" quiet="true">
          <fileset dir="${output.dir}" includes="**/*"/>
        </delete>
      </target>
      <target name="deploy" description="Deploy JDeveloper profiles"
              depends="init,compile">
        <taskdef name="ojdeploy"
                 classname="oracle.jdeveloper.deploy.ant.OJDeployAntTask"
                 uri="oraclelib:OJDeployAntTask"
                 classpath="${oracle.jdeveloper.ant.library}"/>
        <ora:ojdeploy xmlns:ora="oraclelib:OJDeployAntTask"
                      executable="${oracle.jdeveloper.ojdeploy.path}"
                      ora:buildscript="${oracle.jdeveloper.deploy.dir}/ojdeploy-build.xml"
                      ora:statuslog="${oracle.jdeveloper.deploy.dir}/ojdeploy-statuslog.xml">
          <ora:deploy>
            <ora:parameter name="workspace"
                           value="${oracle.jdeveloper.workspace.path}"/>
            <ora:parameter name="project"
                           value="${oracle.jdeveloper.project.name}"/>
            <ora:parameter name="profile"
                           value="${oracle.jdeveloper.deploy.profile.name}"/>
            <ora:parameter name="nocompile" value="true"/>
            <ora:parameter name="outputfile"
                           value="${oracle.jdeveloper.deploy.outputfile}"/>
          </ora:deploy>
        </ora:ojdeploy>
      </target>
      <target name="compile" description="Compile Java source files" depends="init">
        <javac destdir="${output.dir}" classpathref="classpath"
               debug="${javac.debug}" nowarn="${javac.nowarn}"
               deprecation="${javac.deprecation}" encoding="UTF-8" source="1.6"
               target="1.6">
          <src path="/u02/jenkins/Portal/OrganisationApprovalApp/Dev/SCA-INF/src"/>
        </javac>
      </target>
      <target name="copy" description="Copy files to output directory"
              depends="init">
        <patternset id="copy.patterns">
          <include name="**/*.gif"/>
          <include name="**/*.jpg"/>
          <include name="**/*.jpeg"/>
          <include name="**/*.png"/>
          <include name="**/*.properties"/>
          <include name="**/*.xml"/>
          <include name="**/*.ejx"/>
          <include name="**/*.xcfg"/>
          <include name="**/*.cpx"/>
          <include name="**/*.dcx"/>
          <include name="**/*.sva"/>
          <include name="**/*.wsdl"/>
          <include name="**/*.ini"/>
          <include name="**/*.tld"/>
          <include name="**/*.tag"/>
          <include name="**/*.xlf"/>
          <include name="**/*.xsl"/>
          <include name="**/*.xsd"/>
          <include name="**/*.exm"/>
          <include name="**/*.xml"/>
        </patternset>
        <copy todir="${output.dir}">
          <fileset dir="/u02/jenkins/Portal/OrganisationApprovalApp/Dev/SCA-INF/src">
            <patternset refid="copy.patterns"/>
          </fileset>
          <fileset dir="/u02/jenkins/Portal/OrganisationApprovalApp/Dev/SCA-INF/src">
            <patternset refid="copy.patterns"/>
          </fileset>
        </copy>
      </target>
    </project>
    =====================================================================================
    <?xml version="1.0"?>
    <ojdeploy-log>
      <exception msg="null">
      <![CDATA[
      java.lang.NullPointerException
      at oracle.jdevimpl.deploy.DeployScriptEngine.createExpandedDeployTasks(DeployScriptEngine.java:180)
      at oracle.jdevimpl.deploy.DeployScriptEngine.access$000(DeployScriptEngine.java:54)
      at oracle.jdevimpl.deploy.DeployScriptEngine$TaskIterator.hasNext(DeployScriptEngine.java:533)
      at oracle.jdevimpl.deploy.DeployRunner.runCommand(DeployRunner.java:58)
      at oracle.ideimpl.Main.start(Main.java:192)
      at oracle.ideimpl.Main.main(Main.java:146)
      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.ide.boot.PCLMain.callMain(PCLMain.java:62)
      at oracle.ide.boot.PCLMain.main(PCLMain.java:54)
      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.classloader.util.MainClass.invoke(MainClass.java:128)
      at oracle.ide.boot.IdeLauncher.bootClassLoadersAndMain(IdeLauncher.java:189)
      at oracle.ide.boot.IdeLauncher.launchImpl(IdeLauncher.java:89)
      at oracle.ide.boot.IdeLauncher.launch(IdeLauncher.java:65)
      at oracle.ide.boot.IdeLauncher.main(IdeLauncher.java:54)
      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.ide.boot.Launcher.invokeMain(Launcher.java:713)
      at oracle.ide.boot.Launcher.launchImpl(Launcher.java:115)
      at oracle.ide.boot.Launcher.launch(Launcher.java:68)
      at oracle.ide.boot.Launcher.main(Launcher.java:57)
      ]]>
      </exception>
      <summary>
        <start-time>2013-07-10 14:47:29 SAST</start-time>
        <end-time>2013-07-10 14:47:29 SAST</end-time>
        <total-tasks>0</total-tasks>
        <failures>0</failures>
        <status exitcode="1">FAILED</status>
      </summary>
    </ojdeploy-log>

    Have you tried to call ojdeploy directly instead of using the ojdeploy task?
    I remember that the ant task has had some bugs. You can use the exec task and execute ojdeploy directly. Then you don't even need to include the path elements as you use the jdev project which includes all the information.
    ojdeploy.executable=path_to_your_jdev_installation/jdev/bin/ojdeploy.exe
        <target name="ojdeploy" description="execute ojdeploy">
                <exec executable="${ojdeploy.executable}" dir="."
                    output="${log.filename}" failonerror="true">
                    <arg value="-buildfile"/>
                    <arg value="${build.filename}"/>
                </exec>
        </target>
    Timo

  • How to build ear files for ADF application using Ant task

    How to build ear files for ADF applications using Ant. The ojdeploy ant task can not find application-level deployment profiles. I am trying to automated build and release for ADF application.
    Any help is highly appreciated.
    Thanks
    Shiva

    Hi Timo
    Thanks for your reply.
    I have successfully created ear file using ojdeploy on jenkins. however when am trying to auto deploy using WLDeploy ant task am getting the following
    error :
    weblogic.application.ModuleException: :oracle.mds.config.MDSConfigurationException:MDS-01335: namespace "/oracle/webcenter/quicklinks/scopedMD" mapped to metadata-store-usage "WebCenterFileMetadataStore" but its definition was not found in MDS configuration
    Please advise how to handle this.
    As am a newbie to ADF, could you please advise if it is possible for the ADF application deployments can be automated for different environments using jenkins due to this MDS dependencies.
    Appreciate your help.
    Thanks
    Shiva

  • Is there a way to create ADF Table using a bean

    Hi,
    I am using JDev 11g 11.1.1.2.0.
    I am reading an excel sheet and want to generate an ADF table using the same. I already have hold on excel data.
    But when I go through the RichTable API, I find that there is no method to add Columns and Rows. Most or all the methods work on the table UI Looks attribute.
    Any suggestion? Am I missing a method OR 2 here?
    Pls note: The excel (CSV file) using which I am populating my table, will vary for different user. i.e.
    say user 1 will upload a CSV file with 7cols and 100 rows while
    user 2 will upload the CSV file that has 2 cols and 100 rows.
    Hope this makes it clear of my requirements and why I want to populate the table from a bean.
    Thanks in advance.
    Edited by: user8925296 on Feb 24, 2010 7:09 PM

    Thanks a lot Joseba, I am now atleast getting column headings. I have questions on the soln given but first here is the code that I use
    PS NOTE: on my .jpsx file I have dragged dropped an ADF table, removed its default columns and have bounded it with my bean attrib '_dynaTbl' that is used below.
    // ---- Few imports that I use
    import oracle.adf.model.adapter.dataformat.csv.CSVParser;
    import oracle.adf.view.rich.component.rich.data.RichColumn;
    import oracle.adf.view.rich.component.rich.data.RichTable;
    import oracle.adf.view.rich.component.rich.data.RichTableUtils;
    import oracle.adf.view.rich.component.rich.output.RichOutputText;
         public String getFileData() {
    try {
    FacesContext fc = FacesContext.getCurrentInstance();
    ExpressionFactory elFactory = fc.getApplication().getExpressionFactory();
    ELContext elCtx = fc.getELContext();
    CSVParser pfile = new CSVParser(getFile().getInputStream());
    ArrayList colData = new ArrayList();
    ArrayList colHdr = new ArrayList();
    pfile.nextLine();
    String colArr[] = pfile.getLineValues();
    int colLth = colArr.length;
    int rows =0;
    /* _dynaTbl.setVar("row");    */
    for(int hdr=0 ; hdr < colLth; hdr++){
    RichColumn colNm = new RichColumn();
    colNm.setHeaderText(colArr[hdr]);
    colNm.setRowHeader(true);
    colNm.setRendered(true);
    colHdr.add(hdr, colNm);
    colNm.setVisible(true);
    while (pfile.nextLine()){
    String arr[] = pfile.getLineValues();
    int u=0;
    while(u < colLth) {
    // CoreColumn colNm = (CoreColumn)app.createComponent(CoreColumn.COMPONENT_TYPE);
    //colNm.setId(colArr[   u   ] ) ;
                             //CoreOutputText rdata = (CoreOutputText)app.createComponent(CoreOutputText.COMPONENT_TYPE);
                             RichOutputText rdata = new RichOutputText();
                             rdata.setValue(arr[   u     ]) ;
                             rdata.setVisible(true);
                             rdata.setRendered(true);
                             rdata.setId((String)colArr[    u   ] + u) ;
    // System.out.print("\t\t" + rdata.getValue());
    /* ValueExpression value = elFactory.createValueExpression(elCtx, "#{row.attrName}", Object.class);
    rdata.setValueExpression("value", value);
                             ((RichColumn)colHdr.get(u)).getChildren().add(rdata);
                             //colNm.getChildren().add(rdata);
                        // _dynaTbl.setHeader(rcol);
                        // _dynaTbl.setVisible(true);
                        // _dynaTbl.setValue(arr[   u   ]) ;
                   // _dynaTbl.getChildren().add(colNm);
    u++; rows++;
    //break;
    _dynaTbl.setRows(rows);
                   for(int hdr=0 ; hdr < colLth; hdr++){
    _dynaTbl.getChildren().add((RichColumn)colHdr.get(hdr));
    _dynaTbl.setFetchSize(10);
    _dynaTbl.setVerticalGridVisible(true);
    System.out.print("\n\t child count" + _dynaTbl.getChildCount());
    _dynaTbl.setAllDetailsEnabled(true);
    _dynaTbl.setShowAll(true);
    _dynaTbl.setRowBandingInterval(1);
    _dynaTbl.setRendered(true);
    for(int i =0; i< _dynaTbl.getChildCount() ; i++) {
    System.out.print("\n\t count within child:" i " is :" +
    ((RichColumn)(_dynaTbl.getChildren()).get(i)).getChildCount());
    System.out.println(" isAllDetailsEnabled:"+ _dynaTbl.isAllDetailsEnabled());
    System.out.println(" isRowAvailable:"+ _dynaTbl.isRowAvailable());
    System.out.println(" isRowAvailable i:"+ _dynaTbl.isRowAvailable(i));
    System.out.println(" isShowAll i:"+ _dynaTbl.isShowAll());
    }catch (Exception exp){
    exp.printStackTrace();
    return "Done";
    Here is the problem. I am able to view only column headings but data is not visible.
    1. I get below out put for as many columns that I use
    a.
    count within child:4 is :24 isAllDetailsEnabled:true
    isRowAvailable:false
    isRowAvailable i:false
    isShowAll i:true
    b. Why is table data missing. What more do I need to do?
    Kindly guide.
    Thanks a lot in advance.

  • Help required building ADF-Swing/ADF-Faces using ADF Business Components

    My question is in regards to how you can go about building a light swing application to an ADF model?
    In particular if I were to say that we were developing a 3-tier project whereby we had a database tier, a series of EJB-ADF façade session beans to the database (middle-tier), and a swing client communicating with the session beans (view-controller tier), how would you go about developing these screens?
    In particular can we develop these screens using ADF-Faces and also ADF-Swing?
    The EJB session façade beans of course are ADF app modules with customised methods. The methods would return back customised DTO objects. These DTO objects are wrappers to row objects ADF would create. This would be mainly due to making these facade beans web service enabled (Oracle state that these methods cannot return oracle.jbo objects if they are to be web service enabled).
    This would be typically deployed to an app server, like Oracle App Server 10G.
    Could you please have a look at this, as I am doing a lot of research into this.
    eg. Taking example from oracle magazine sept/oct 2006
    with slight enhancements
    package oramag.frameworks.example.common;
    import oracle.jbo.ApplicationModule;
    import oramag.frameworks.customdto.EmployeeDTO;
    public interface HRService extends ApplicationModule {
    void deleteCurrentEmpAndCommit();
    EmployeeDTO findEmployee(int employeeId); // new method
    import oramag.frameworks.customdto.EmployeeDTO;
    public class HRServiceImpl extends ApplicationModuleImpl {
    public void deleteCurrentEmpAndCommit() {
    Row empRow = getEmpView().getCurrentRow();
    if (empRow != null) {
    empRow.remove();
    getDBTransaction().commit();
    public EmployeeDTO findEmployee(int employeeId)() {
    EmployeeDTO employeeDTO = null;
    EmployeesImpl employees = getEmployees();
    employees.setNamedWhereClauseParam("EmployeeId", employeeId);
    employees.executeQuery();
    if(employees.hasNext()) {
    EmployeesRowImpl employee = (EmployeesRowImpl)employees.next();
    employeeDTO = new EmployeeDTO(employee);
    return employeeDTO;
    public EmployeesImpl getEmployees() {
    return (EmployeesImpl)findViewObject("Employees");
    Now given the above code snippet, how could you turn this into an ADF-Swing/ADF Faces application so that if a user using the swing application enters an employee id, then the application will execute the query on the app server, the app server in turn returns the results to the client, and the client finally display the results. Typical MVC example.
    Cheers
    Rodney

    The tutorial is for ADF BC used with JavaServer Faces.
    While the tutorial doesn't cover it, we also support drag and drop development for Swing and visual WYSIWYG layout for Swing panels and windows, too. For a very simple example, watch screencast #4 on my blog here:
    http://radio.weblogs.com/0118231/stories/2005/06/24/jdeveloperAdfScreencasts.html
    One thing I have noticed is that when using ADF business components, when the app module returns a custom DTO object like the above example, it returns the data in a element structure according to the data control palette.
    You don't generally ever need to create your own custom DTO's when working with ADF for use by client UI's. The only situation where can be necessary -- until we simplify this in the JDeveloper/ADF 11g release -- is when you desire to expose custom methods that can return sets/arrays of typed row structures through a web service. However, web services are not involved/required in building 3-tier Swing applications.
    When dropping onto a page it does so like a string and doesnt give option to display the data in a read only form etc. Is there anything we need to do, to get the functionality.
    It's more of what you don't need to do :-)
    Just leverage the active data model that the ADF application module provides. You can read more about it in section 4.5 "Understanding the Active Data Model" of the ADF Developer's Guide for Forms/4GL Developers on the ADF Learning Center at http://www.oracle.com/technology/products/adf/learnadf.html). Your UI's bind to view object instances in the data model, and your UI's are automatically kept up to date without needing to write methods that return data. I short article I wrote that preceeded my writing the ADF Developer Guide content on this topis is here:
    http://radio.weblogs.com/0118231/stories/2006/01/26/theAdfBusinessComponentsActiveDataModel.html
    I know that when dropping a view object you get this functionality. Also was wondering if we were to pass an object of thios type back to the model it might not give us the rich functionality like input forms, like what Oracle provides if we were to drop a enitity view object.
    Just use the active data model and everything becomes totally easy, with no changes required to switch between local or three-tier deployment configurations.
    Trying to do everything with hand-coded DTO beans is really going the hard way.
    Could you help us regarding this?

  • How to crate new user in adf security using jspx page

    how to crate new user in adf security using code in java file.plz help me this work will submited to day plz help me...

    sigh
    Search really would help and point you in the right direction. You'd find [url http://forums.oracle.com/forums/thread.jspa?messageID=4584464]this, for example.

  • ADF Error: oracle.mds.exception.MDSRuntimeException: MDS-00168

    Hi All,
    Another issue we are facing adf ui error:
    ADF Error: oracle.mds.exception.MDSRuntimeException: MDS-00168
    Error "oracle.mds.exception.MDSRuntimeException: MDS-00168" When Deploying ADF Application to the Integrated Weblogic instance of JDeveloper 11g
    Please help.

    Hi,
    This is due to a known issue for JDeveloper and ADF 11g.
    To initialize the ADFShare components in a web environment the oracle.adf.share.http.ServletADFContext must be initialized per request.
    Solution:
    Add the definition for the ServletADFContextFilter to web.xml:
    <filter>
      <filter-name>ServletADFContextFilter</filter-name>
      <filter-class>oracle.adf.share.http.ServletADFFilter</filter-class>
    </filter>
    <filter-mapping>
      <filter-name>ServletADFContextFilter</filter-name>
      <url-pattern>/*</url-pattern>
      <dispatcher>REQUEST</dispatcher>
      <dispatcher>FORWARD</dispatcher>
    </filter-mapping>

  • Building ADF  application Using Maven

    I have a requirement to build the Adf application using Maven.
    My JDeveloper version is 11.1.1.3 and I imported the Maven plugins.
    When I create the new Fusion application , pom.xml is getting created in model project but not in viewcontroller project. Any reason for that?
    Please help me to point to the right article and example to build Adf application using Maven?

    User,
    While you can build an ADF app using Maven, it's nowhere near easy or automated in terms of getting started. There are a few people who are doing it, but they have invested a lot of effort including:
    * loading the ADF libraries into their corporate repositories
    * re-structuring their ADF projects to match the Maven directory standard (or customizing their POMs)
    * Hand-building POMs for their ADF apps
    Most or all of the people that I know who are doing this are doing all of these things without the benefit of the Maven integration provided in JDeveloper. If you have a search of this forum and the [url https://groups.google.com/forum/?fromgroups#!forum/adf-methodology]ADF EMG, you can find plenty of discussions about this. There's no "step-by-step" guide that I know of, and it will definitely take you quite a bit of effort to get started. The Maven integration in JDeveloper is still in developer preview mode, and in my opinion, isn't ready for prime time - at least not with respect to ADF projects.
    John

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

Maybe you are looking for

  • Transfer of tax indicator to purchase order for service items in shopping cart

    Hi all. I have a problem with the tax indicator in the shopping carts and in the backend purchase orders for service items. If I create a shopping cart with service items with different tax indicators, the backend purchase order have a unique item in

  • MMS not working when connected to wifi

    My problem is similar to this recent post about the S5: MMS Problems with Samsung S5 It started this morning (Wednesday, 6/11/14). I have sent and received MMS messages seamlessly until about 8:00 this morning. Now, if I am connected to a wifi networ

  • Digital Voice Suddenly Not Working

    I recently moved into a new home and had FiOS installed. Everything worked well for about a month, but then my landline seemed to stop functioning. I can't get a dial tone on either of the phones I've tried (they'll display "No Line" or occasionally

  • Need UNLOCK CODE to Photoshop Album Starter 3.2

    Folks, you holding all my photos hostage. How do I unlock Adobe Photoshop Album Starter Editiion 3.2? How do I get  around the registration page that pops up when I go to the photoshop.  The page will not let me by to try any thing. Can't you just se

  • Clear screen command in Java

    Hello. I am writing an application for school, when executing the application on the command line, I want to clear the screen. (CLS in DOS) Would someone tell the format of the command to issue DOS Coomand through Java? Thanks