Oracle.bali.xml.model.XmlInvalidOnCommitException!!!!!!!!

Hi,
I am getting below error when I try to drag and drop the adf-task-flow in to my .jspx page. Here the taskflow contains single page fragment. please help.
ERROR:
oracle.bali.xml.model.XmlInvalidOnCommitException: SEVERE: Element taskFlow not expected [ node = taskFlow ]
<executables>
<taskFlow id="userMgmtflowdefinition1" taskFlowId="/WEB-INF/userMgmt-flow-definition.xml#userMgmt-flow-definition" />
</executables>
at oracle.bali.xml.model.XmlModel._validateSubtree(XmlModel.java:3669)
     at oracle.bali.xml.model.XmlModel._validateDocument(XmlModel.java:3577)
     at oracle.bali.xml.model.XmlModel.__precommitTransaction(XmlModel.java:2825)
     at oracle.bali.xml.model.XmlContext.precommitTransaction(XmlContext.java:1166)
     at oracle.bali.xml.model.XmlContext.__precommitTransaction(XmlContext.java:1653)
     at oracle.bali.xml.model.XmlContext.__commitTransaction(XmlContext.java:1684)
     at oracle.bali.xml.model.XmlModel.__requestCommitTransaction(XmlModel.java:2898)
     at oracle.bali.xml.model.XmlModel.commitTransaction(XmlModel.java:586)
     at oracle.bali.xml.model.XmlModel.commitTransaction(XmlModel.java:556)
     at oracle.bali.xml.model.task.StandardTransactionTask.__commitWrapperTransaction(StandardTransactionTask.java:469)
     at oracle.bali.xml.model.task.StandardTransactionTask.runThrowingXCE(StandardTransactionTask.java:208)
     at oracle.bali.xml.model.task.StandardTransactionTask.run(StandardTransactionTask.java:103)
     at oracle.adfdt.jdev.transaction.JDevTransactionManager.runTaskUnderTransaction(JDevTransactionManager.java:43)
     at oracle.adfdt.view.rich.region.util.RegionCreationUtil._createRegion(RegionCreationUtil.java:216)
     at oracle.adfdt.view.rich.region.util.RegionCreationUtil.createRegion(RegionCreationUtil.java:90)
     at oracle.adfdtinternal.view.rich.region.transform.RegionDocFragInfo.constructRegionDocumentFragment(RegionDocFragInfo.java:132)
     at oracle.adfdtinternal.view.rich.region.transform.RegionDocFragInfo.getData(RegionDocFragInfo.java:83)
     at oracle.bali.xml.model.datatransfer.operation.CreateFromFragmentOperation$1.performTask(CreateFromFragmentOperation.java:52)
     at oracle.bali.xml.model.task.StandardTransactionTask.runThrowingXCE(StandardTransactionTask.java:172)
     at oracle.bali.xml.model.datatransfer.operation.CreateFromFragmentOperation.apply(CreateFromFragmentOperation.java:42)
     at oracle.bali.xml.model.AbstractModel.performOperationAction(AbstractModel.java:244)
     at oracle.bali.xml.model.datatransfer.operation.PerformOperationAction.actionPerformed(PerformOperationAction.java:36)
     at oracle.bali.xml.share.ActionProxy.actionPerformed(ActionProxy.java:47)
     at oracle.bali.xml.gui.swing.dnd.DropMenuInvoker$CleanupProxy.mas$actionPerformed(DropMenuInvoker.java:225)
     at oracle.bali.xml.gui.swing.dnd.DropMenuInvoker$CleanupProxy$1.run(DropMenuInvoker.java:245)
     at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
     at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
     at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
     at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
     at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
Page source:
<?xml version='1.0' encoding='UTF-8'?>
<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=UTF-8"/>
<f:view>
<af:document binding="#{backingBeanScope.backing_app_demo.document1}"
id="document1">
<af:form binding="#{backingBeanScope.backing_app_demo.form1}" id="form1">
<af:pageTemplate viewId="/templates/pageTemplate.jspx">
<f:facet name="top-left"/>
<f:facet name="top-center"/>
<f:facet name="top-right"/>
<f:facet name="center">
<af:panelSplitter binding="#{backingBeanScope.backing_app_demo.panelSplitter1}"
id="panelSplitter1">
<f:facet name="first"/>
<f:facet name="second"/>
</af:panelSplitter>
</f:facet>
<f:facet name="bottom-left"/>
<f:facet name="bottom-center"/>
<f:facet name="bottom-right"/>
</af:pageTemplate>
</af:form>
</af:document>
</f:view>
<!--oracle-jdev-comment:auto-binding-backing-bean-name:backing_app_demo-->
</jsp:root>
please help me this is really urgent
-kln

Hi,
How did you resolve this issue? I am also facing the same issue.
Regards
Bhaskar

Similar Messages

  • Multiple DataControls - oracle.bali.xml.model.XmlInvalidOnCommitException

    I have an ADF BC/Faces application with 2 model projects, each having their own app module so I can connect to 2 different schemas for different pages. I am seeing multiple data controls appear in the DC palette - why? In DataBindings.cpx there are only 2 data controls.
    For example, I just added a new view to one AM. It appeared in the DC palette under a new DataControl (AppModuleDataControl3) instead of in the existing DataControl for that AM. When I dragged from the view to the page, I got "could not complete findOrCreateDataControlInApplication because it would result in an invalid document." The full error is below.
    The only unusual thing I can think of is that I am using AM configurations with JDBC DataSource for the connection type. My Jdev version is 10.1.3.3.
    oracle.bali.xml.model.XmlInvalidOnCommitException: SEVERE: Required attribute Configuration missing from element BC4JDataControl [ node = BC4JDataControl ]
    <dataControlUsages>
    <BC4JDataControl id="AppModuleDataControl" Package="com.guideworkstv.ibo.model" FactoryClass="oracle.adf.model.bc4j.DataControlFactoryImpl" SupportsTransactions="true" SupportsFindMode="true" SupportsRangesize="true" SupportsResetState="true" SupportsSortCollection="true" Configuration="AppModuleLocal1" syncMode="Immediate" />
    <BC4JDataControl id="WebStageAppModuleDataControl" Package="com.guideworkstv.ibo.webstagemodel" FactoryClass="oracle.adf.model.bc4j.DataControlFactoryImpl" SupportsTransactions="true" SupportsFindMode="true" SupportsRangesize="true" SupportsResetState="true" SupportsSortCollection="true" Configuration="WebStageAppModuleLocal1" syncMode="Immediate" />
    <BC4JDataControl id="AppModuleDataControl3" Package="com.guideworkstv.ibo.model.webstage.entities" FactoryClass="oracle.adf.model.bc4j.DataControlFactoryImpl" SupportsTransactions="true" SupportsFindMode="true" SupportsRangesize="true" SupportsResetState="true" SupportsSortCollection="true" syncMode="Immediate" />
    </dataControlUsages>
         at oracle.bali.xml.model.XmlModel._validateSubtree(XmlModel.java:3353)
         at oracle.bali.xml.model.XmlModel._validateDocument(XmlModel.java:3264)
         at oracle.bali.xml.model.XmlModel.__precommitTransaction(XmlModel.java:2684)
         at oracle.bali.xml.model.XmlContext.__precommitTransaction(XmlContext.java:1519)
         at oracle.bali.xml.model.XmlContext.__commitTransaction(XmlContext.java:1549)
         at oracle.bali.xml.model.XmlModel.__requestCommitTransaction(XmlModel.java:2717)
         at oracle.bali.xml.model.XmlModel.commitTransaction(XmlModel.java:575)
         at oracle.bali.xml.model.XmlModel.commitTransaction(XmlModel.java:555)
         at oracle.bali.xml.model.task.StandardTransactionTask.__commitWrapperTransaction(StandardTransactionTask.java:413)
         at oracle.bali.xml.model.task.StandardTransactionTask.runThrowingXCE(StandardTransactionTask.java:203)
         at oracle.bali.xml.model.task.StandardTransactionTask.run(StandardTransactionTask.java:98)
         at oracle.adfdt.jdev.transaction.JDevTransactionManager.runTaskUnderTransaction(JDevTransactionManager.java:61)
         at oracle.adf.dt.managers.ApplicationManager.findOrCreateDataControlInApplication(ApplicationManager.java:572)
         at oracle.adf.dt.managers.IteratorManager.initializeIteratorBindingProperties(IteratorManager.java:419)
         at oracle.adf.dt.managers.IteratorManager.createIteratorInstance(IteratorManager.java:401)
         at oracle.adf.dt.managers.IteratorManager.findOrCreateIterator(IteratorManager.java:245)
         at oracle.adf.dt.dbpanel.DataBindingManager$2.run(DataBindingManager.java:965)
         at oracle.adfdt.jdev.transaction.JDevTransactionManager$3.performTask(JDevTransactionManager.java:116)
         at oracle.bali.xml.model.task.StandardTransactionTask.runThrowingXCE(StandardTransactionTask.java:167)
         at oracle.bali.xml.model.task.StandardTransactionTask.run(StandardTransactionTask.java:98)
         at oracle.adfdt.jdev.transaction.JDevTransactionManager.fetchUnderTransaction(JDevTransactionManager.java:110)
         at oracle.adf.dt.dbpanel.DataBindingManager.findOrCreateIteratorBinding(DataBindingManager.java:986)
         at oracle.adf.dt.dbpanel.DataBindingManager$1.run(DataBindingManager.java:1033)
         at oracle.adfdt.jdev.transaction.JDevTransactionManager$3.performTask(JDevTransactionManager.java:116)
         at oracle.bali.xml.model.task.StandardTransactionTask.runThrowingXCE(StandardTransactionTask.java:167)
         at oracle.bali.xml.model.task.StandardTransactionTask.run(StandardTransactionTask.java:98)
         at oracle.adfdt.jdev.transaction.JDevTransactionManager.fetchUnderTransaction(JDevTransactionManager.java:110)
         at oracle.adf.dt.dbpanel.DataBindingManager.createControlBinding(DataBindingManager.java:1111)
         at oracle.adf.dt.dbpanel.DataBindingManager.createControlBinding(DataBindingManager.java:996)
         at oracle.adfdt.view.common.binding.utils.ADFBindingUtils.createControlBinding(ADFBindingUtils.java:99)
         at oracle.adfdtinternal.view.faces.binding.provider.ADFIteratorModelProvider.getTableBinding(ADFIteratorModelProvider.java:338)
         at oracle.adfdtinternal.view.faces.binding.provider.ADFIteratorModelProvider.getIteratorBindingExpression(ADFIteratorModelProvider.java:83)
         at oracle.adfdtinternal.view.faces.binding.binder.ADFCustomTableBinder.bind(ADFCustomTableBinder.java:78)
         at oracle.adfdtinternal.view.common.binding.creator.XmlBasedCreatorInfo._bindDocumentFragment(XmlBasedCreatorInfo.java:483)
         at oracle.adfdtinternal.view.common.binding.creator.XmlBasedCreatorInfo.createDocumentFragment(XmlBasedCreatorInfo.java:257)
         at oracle.adfdtinternal.view.common.binding.datatransfer.ADFDocumentFragmentCreatorInfo.createDocumentFragment(ADFDocumentFragmentCreatorInfo.java:76)
         at oracle.adfdtinternal.view.common.binding.operation.CreateOperation.apply(CreateOperation.java:96)
         at oracle.bali.xml.model.datatransfer.operation.PerformOperationAction.actionPerformed(PerformOperationAction.java:39)
         at oracle.bali.xml.share.ActionProxy.actionPerformed(ActionProxy.java:47)
         at oracle.bali.xml.gui.swing.dnd.DropMenuInvoker$CleanupProxy.actionPerformed(DropMenuInvoker.java:235)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
         at javax.swing.AbstractButton.doClick(AbstractButton.java:302)
         at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1000)
         at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1041)
         at java.awt.Component.processMouseEvent(Component.java:5488)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
         at java.awt.Component.processEvent(Component.java:5253)
         at java.awt.Container.processEvent(Container.java:1966)
         at java.awt.Component.dispatchEventImpl(Component.java:3955)
         at java.awt.Container.dispatchEventImpl(Container.java:2024)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
         at java.awt.Container.dispatchEventImpl(Container.java:2010)
         at java.awt.Window.dispatchEventImpl(Window.java:1774)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

    This issue was caused by an import of a reusable library of business components which contained app modules. In the application where I maintain the BC library, I created app modules so I could verify the model before using it in other applications.
    From looking at the .jpx files for my models it appears that these app modules
    were imported as part of the library. So I removed the app modules and corrected my .jpx files.
    I'd suggest a note be added to the section about reusable BC libraries to make sure that any test app modules are excluded when jar files are generated.

  • Oracle.jbo.NoDefException: JBO-25002: Definition oracle.webcenter.search.model.DataControls of type null is not found.

    Hi experts,
    I am trying to deploy a new version of a WC Portal application and when the deployment finishes successfully I cannot see the web page. The error is:
    Error 500--Internal Server Error
    oracle.jbo.NoDefException: JBO-25002: Definition oracle.webcenter.search.model.DataControls of type null is not found.
        at oracle.jbo.mom.DefinitionManager.findDefObjectUsingMetadataObject(DefinitionManager.java:2772)
        at oracle.adf.model.binding.DCDataControlConfigDef.findDefObject(DCDataControlConfigDef.java:32)
    Checking the output log I can see:
    <Jul 29, 2013 2:47:21 PM CEST> <Error> <HTTP> <BEA-101020> <[ServletContext@667149283[app:<App_name> module:<Module> path:/<Path> spec-version:2.5 version:V4.0]] Servlet failed with Exception
    oracle.jbo.NoDefException: JBO-25002: Definition oracle.webcenter.search.model.DataControls of type null is not found.
            at oracle.jbo.mom.DefinitionManager.findDefObjectUsingMetadataObject(DefinitionManager.java:2772)
            at oracle.adf.model.binding.DCDataControlConfigDef.findDefObject(DCDataControlConfigDef.java:32)
            at oracle.adf.model.binding.DCDataControlDef.findDefObject(DCDataControlDef.java:377)
            at oracle.adf.model.binding.DCDataControlReference.<init>(DCDataControlReference.java:55)
            at oracle.jbo.uicli.mom.JUApplicationDefImpl.loadDataControlUsage(JUApplicationDefImpl.java:1137)
            Truncated. see log file for complete stacktrace
    Caused By: oracle.mds.core.MetadataNotFoundException: MDS-00013: no metadata found for metadata object "/oracle/webcenter/search/model/DataControls.dcx"
    I have checked similar errors in the forums and tried the solutions purposed but with no success. I do not understand why the application is looking for the DataControls.dcx file inside a standard WC Search library.
    Any help would be much appreciated.

    Hi Dani,
    Eventually I found the problem, it is reported in Oracle Support as Doc ID 1503173.1.
    It seems jDeveloper is a bit special when adding Directories to the MAR file. If the whole directory "/oracle" is added, the adf-config.xml introduces the following line:
    namespace metadata-store-usage="WebCenterFileMetadataStore" path="/oracle"/
    As a result, this diverts all /oracle/... file and class requests to MDS, which causes failures.
    So when editing the MAR deployment profile be careful to select the sub-directories under /oracle/webcenter/portalapp/ one by one.
    Added to this, I had to perform the cleaning process you suggested to make it work too, otherwise I get a different error...
    Final steps are:
    1. Undeploy application.
    2. Delete MDS partition.
    3. Shutdown managed server.
    4. Delete /cache and /tmp content for the managed server.
    5. Start managed server.
    6. Exectute Clean all in jDeveloper.
    7. Create a new mar deployment as described in SR 1503173.1.
    8. Deploy to EAR file.
    9. Deploy new application to managed server using Enterprise Manager.
    And it works!
    Thanks for your help!

  • ODI : create an XML model with UBL  technology instead of XSD file

    Hello,
    I have several xsd files which contain UBL (Universal Business Language) and all these files are linked between them. In Oracle Data Integrator, I would like generate a XML model from these files as I use to do with the standard xsd files. Unfortunately, it doesn't work with the driver I use usually.
    Do you know if you can generate an xml model from xsd files which contain UBL and if yes, could you say me all the steps I must do to that successfully please?
    Thank you in advance.
    Olivier

    Hello All,
    What I mean is :
    when an xsd file calls an other xsd files by using the namespaces (when 2 xsd files are linked), is there a way to create an xml model matching with the contain of these 2 xsd files?
    Can someone say me if the only solution to generate a xml model is to have only one xsd file?
    Thank you in advance

  • Trying to deploy a provider in Tomcat  - Missing: oracle/bali/share...

    I managed to get past some other missing JAR's, but since Oracle doesn't have any good documentation for deploying a portlet /provider in anything but OC4J, i'm stuck.
    Anyone know where I can find:
    oracle/bali/share/util/UnhandledException?
    There is just wayyy too many files / folders in a 9iAS install .. and there is no docs on what goes where. (Thanks guys)..
    Please help!
    Even better would be a document that details the procedure of creating a provider in ANY j2ee container. (Not just OC4J)..
    Thanks,
    -Sean

    Very elegant response. I do appreciate the information. It is kinda amusing to think OC4J is the only "certified" app server. One of the touted benefits of portal is that it is "100% Pure J2EE Compliant..." :0) *(insert good laugh)* Seems like Oracle would be inclined to make this information more obvious (about the provider requirements), since there are soooo many app servers out there that could host portlets. I can't see how providing 'alternative, unsupported configuration docs' could hurt.
    Either way, it's no skin off my back, just a little wasted time. I will check out this 'pdksoftware.zip' and see what it gives me. I have a feeling it's the same JAR's I managed to wrangle off the PDK and server, but it's nice to know for recreating a dev environment. (And the demo I'm doing tomorrow)
    Honestly, my Netbeans / Tomcat portlet development environment is very splendid! I must say, that making a change in my 'Renderer' class and having the changes appear immediately in our development portal is a very VERY good thing. (we're talkin 5 second turnaround here) The only change that requires any kind of 'reloading' is when I change my provider.xml. Just need to 'reload' the provider, and all is good again.
    A year ago, there was a serious bug in JDev / OC4J in which the auto class reload feature simply did not work. I had this confirmed with a TAR. Hence the abandonment of JDev. Needless to say, I've been a very open-standards kinda person. May as well mention, JDev was too slow and painful to use for the kind of development I like. Maybe it's better now. Who knows.
    As my team and I slowly shuffle the moving parts of Portal, you will surely see more of my posts. Thanks again for the help!
    Cheers!
    -Sean

  • Getting oracle.j2ee.xml.XMLMessages error while running project in 11g

    when I run a project in JDeveloper 11g for the first time i.,e when it starts the embedded oc4j server, I get "oracle.j2ee.xml.XMLMessages warningException
    WARNING: Exception Encountered" error. I am using TP4. is this a severe error or something we can ignore?
    -Pardha

    hi Pardha
    For questions about JDeveloper 11g you could try this forum:
    "JDeveloper and OC4J 11g Technology Preview"
    JDeveloper and OC4J 11g Technology Preview
    success
    Jan Vervecken

  • Oracle.j2ee.xml.XMLMessages warningException

    I installed JDeveloper & tried some ADF component. While running with OC4J I am getting this error.
    oracle.j2ee.xml.XMLMessages warningException
    WARNING: Exception Encountered
    Jul 11, 2008 10:49:25 AM oracle.oc4j.util.SystemLog log
    SEVERE: Server start failed processing configuration
    java.security.AccessControlException: access denied ( CredentialAccessPermission credstoressp.credstore.default.systemuser read)
         at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
         at java.security.AccessController.checkPermission(AccessController.java:427)
         at oracle.security.jps.util.JpsAuth$AuthorizationMechanism$3.checkPermission(JpsAuth.java:256)
         at oracle.security.jps.util.JpsAuth$Diagnostic.checkPermission(JpsAuth.java:180)
         at oracle.security.jps.util.JpsAuth$AuthorizationMechanism$6.checkPermission(JpsAuth.java:280)
         at oracle.security.jps.util.JpsAuth.checkPermission(JpsAuth.java:315)
         at oracle.security.jps.util.JpsAuth.checkPermission(JpsAuth.java:338)
         at oracle.security.jps.internal.credstore.util.CsfUtil.checkPermission(CsfUtil.java:527)
         at oracle.security.jps.internal.credstore.ssp.SspCredentialStore.getCredential(SspCredentialStore.java:412)
         at oracle.security.jps.fmw.util.JpsFmwUtil.findSystemUser(JpsFmwUtil.java:218)
         at oracle.security.jps.fmw.JpsUserManager.init(JpsUserManager.java:235)
         at oracle.security.jps.fmw.JpsUserManager.<init>(JpsUserManager.java:247)
         at oracle.security.jps.fmw.JpsUserManagerFactory$JpsUserManagerFactoryI.create(JpsUserManagerFactory.java:252)
         at com.evermind.server.deployment.UserManagerConfig$JAZN.construct(UserManagerConfig.java:635)
         at com.evermind.server.deployment.UserManagerConfig.delegatee(UserManagerConfig.java:253)
         at com.evermind.security.IndirectUserManager.getAdminUser(IndirectUserManager.java:126)
         at com.evermind.security.IndirectUserManager.getAdminUser(IndirectUserManager.java:126)
         at com.evermind.server.XMLApplicationServerConfig.setPassword(XMLApplicationServerConfig.java:3157)
         at com.evermind.server.XMLApplicationServerConfig.<init>(XMLApplicationServerConfig.java:244)
         at com.evermind.server.ApplicationServer.createConfig(ApplicationServer.java:648)
         at oracle.oc4j.server.ServerFactory$Worker.prepareConfig(ApplicationServerFactory.java:201)
         at oracle.oc4j.server.ServerFactory$Worker.start(ApplicationServerFactory.java:220)
         at oracle.oc4j.server.ServerFactory$Worker.run(ApplicationServerFactory.java:235)
         at java.lang.Thread.run(Thread.java:595)
    Jul 11, 2008 10:49:25 AM oracle.oc4j.util.SystemLog logNoStack
    SEVERE: Server exiting: ApplicationServer entered state EXITING
    Process exited.
    Debugger disconnected from local process.

    I'm using 11g TP4 on Windows Vista Home Premium. This is my first time crying out for help in any forum (after 19 years of development) so I'm really desparate for help. I'm new to JAVA development and JDeveloper; hence a lot of this stuff is greek to me.
    I did post in the JDeveloper forum and John Stegeman re-directed me to the "JDeveloper and OC4J 11g Technology Preview" forum.
    I was leaning more toward an operating system issue since 11g TP4 works just fine on my Windows XP SP2 desktop. It is just so slow on it (504 MB of RAM) that I decided to run it on my laptop (3062 MB of Ram) where the performance is awesome, but I can't test a damn thing since I can't get the embedded server to work/start. Just hoping others have solved this issue and can pass that knowledge on to others.
    Carolyn

  • Getting oracle.j2ee.xml.XMLMessages warningException error

    when I run a project in JDeveloper 11g for the first time i.,e when it starts the embedded oc4j server, I get "oracle.j2ee.xml.XMLMessages warningException
    WARNING: Exception Encountered" error. I am using TP4. this seems like a warning, is this something that we can ignore? or how do I fix ? Please help.
    -Pardha

    Hi,
    thread exception and warning at first use of JDev 11g says you can ignore this warning.
    regards
    Peter

  • Java Visualizer for Oracle 8i Object model

    I have used the java visualizer demo version that is within Ora8iR2 but it cant work with oracle spatial object model I think this version is designed for the relational model.
    Where I can find a object model oracle spatial visualizer??
    Where I can find any oraclevector2image (jpeg or gif) traslator?
    Anybody knows whats the procedure for geolocate the address field of any other table in the database?
    null

    This is a duplicate question. Answers are in the other posting. Thanks.
    Dan

  • Oracle's XML Publisher in JDeveloper and XSQL Servlet

    A While ago, in this thread JDeveloper 10g, XSQL and FOP , was mentioned an ongoing effort for the "integration of Oracle's XML Publisher in JDeveloper and XSQL Servlet", Is this still happening ?, will this be something will be able to use without having to be an Oracle Apps shop? Any additional info would be appreciated.

    Hi,
    is there any progress about XML publisher integration with JDeveloper. I'm right now examining XML publisher but there is no explicit directions and explanations of using XML publisher with jdeveloper.
    any news !?
    best regards...
    --barisk                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • How to tune the performance of Oracle SQL/XML query?

    Hi all,
    I am running Oracle 9i and like to run the following Oracle SQL/XML query. It takes about 3+ hour and still not finish. If I get rid all the XML stuffs it only take minutes to run. Does anybody know how to what's the reason of this slow and how to tune it?
    SELECT XMLElement("CUSTOMER",
    XMLForest(C_CUSTKEY "C_CUSTKEY", C_NAME "C_NAME", C_ADDRESS "C_ADDRESS", C_PHONE "C_PHONE", C_MKTSEGMENT "C_MKTSEGMENT", C_COMMENT "C_COMMENT"),
    (SELECT XMLAgg(XMLElement("ORDERS",
    XMLForest(O_ORDERKEY "O_ORDERKEY", O_CUSTKEY "O_CUSTKEY", O_ORDERSTATUS "O_ORDERSTATUS", O_ORDERPRIORITY "O_ORDERPRIORITY", O_CLERK "O_CLERK", O_COMMENT "O_COMMENT"),
    (SELECT XMLAgg(XMLElement("LINEITEM",
    XMLForest(L_ORDERKEY "L_ORDERKEY", L_RETURNFLAG "L_RETURNFLAG", L_LINESTATUS "L_LINESTATUS", L_SHIPINSTRUCT "L_SHIPINSTRUCT", L_SHIPMODE "L_SHIPMODE", L_COMMENT "L_COMMENT")
    FROM LINEITEM
    WHERE LINEITEM.L_ORDERKEY = ORDERS.O_ORDERKEY)
    FROM ORDERS
    WHERE ORDERS.O_CUSTKEY = CUSTOMER.C_CUSTKEY)
    FROM CUSTOMER ;
    Thanks very much in advance for your time,
    Jinghao Liu

    ajallen wrote:
    Why not something more like
    SELECT *
    FROM fact1 l,
    FULL OUTER JOIN fact1 d
    ON l.company = d.company
    AND l.transactiontypeid = 1
    AND d.transactiontypeid = 2;
    Because this is not an equivalent of the original query.
    drop table t1 cascade constraints purge;
    drop table t2 cascade constraints purge;
    create table t1 as select rownum t1_id from dual connect by level <= 5;
    create table t2 as select rownum+2 t2_id from dual connect by level <= 5;
    select * from (select * from t1 where t1_id > 2) t1 full outer join t2 on (t1_id = t2_id);
    select * from t1 full outer join t2 on (t1_id = t2_id and t1_id > 2);
         T1_ID      T2_ID
             3          3
             4          4
             5          5
                        6
                        7
         T1_ID      T2_ID
             1
             2
             3          3
             4          4
             5          5
                        6
                        7

  • How to perf tune Oracle SQL/XML query?

    Hi all,
    I am using Oracle 9i and like to run the following Oracle SQL/XML query. It takes about 3+ hour and still not finish. If I get rid all the XML stuffs it only take minutes to run. Does anybody know how to what's the reason of this slow and how to tune it?
    SELECT XMLElement("CUSTOMER",
    XMLForest(C_CUSTKEY "C_CUSTKEY", C_NAME "C_NAME", C_ADDRESS "C_ADDRESS", C_PHONE "C_PHONE", C_MKTSEGMENT "C_MKTSEGMENT", C_COMMENT "C_COMMENT"),
    (SELECT XMLAgg(XMLElement("ORDERS",
    XMLForest(O_ORDERKEY "O_ORDERKEY", O_CUSTKEY "O_CUSTKEY", O_ORDERSTATUS "O_ORDERSTATUS", O_ORDERPRIORITY "O_ORDERPRIORITY", O_CLERK "O_CLERK", O_COMMENT "O_COMMENT"),
    (SELECT XMLAgg(XMLElement("LINEITEM",
    XMLForest(L_ORDERKEY "L_ORDERKEY", L_RETURNFLAG "L_RETURNFLAG", L_LINESTATUS "L_LINESTATUS", L_SHIPINSTRUCT "L_SHIPINSTRUCT", L_SHIPMODE "L_SHIPMODE", L_COMMENT "L_COMMENT")
    FROM LINEITEM
    WHERE LINEITEM.L_ORDERKEY = ORDERS.O_ORDERKEY)
    FROM ORDERS
    WHERE ORDERS.O_CUSTKEY = CUSTOMER.C_CUSTKEY)
    FROM CUSTOMER ;
    Thanks very much in advance for your time,
    Jinghao Liu

    Please post this message at:
    Forums Home » Oracle Technology Network (OTN) » Products » Database » XML DB

  • Oracle and XML-DATA

    Hello,
    I have read the Oracle XML SQL Utility documentation and also
    the answer of Oracle team to Johnson Scott and as far as I
    understand, the XML that is produced from the database and
    loaded in it must verify a given DTD syntax.
    Is this DTD available somewhere ?
    What I have understood about XML Data of w3c is that it gives a
    way to describe the content of a database.
    What is Oracle position on that subject ?
    I do ask this question because we have at present an SGML file,
    with its own DTD that contains data we have to
    insert/delete/update in an Oracle Database.
    We are thinking of converting this SGML file in an XML file,
    with tools like OMNIMARK or BALISE, that could be easily
    integrated in the Oracle Database.
    We are looking for the best solution to our problem and think
    that Oracle tools like Oracle XML SQL, parserand Class generator
    could be really usefull.
    What do you think of this problem and of the solution we imagine
    Thanks for your help,
    Best regards,
    C     line.
    null

    Hello,
    I am actually studying the tools that Oracle offers to treat XML
    data.
    When reading the description of your products I can see two
    solutions to my problem.
    I remind it to you :
    I have an SGML file with its own DTD that contains data we have
    to insert/delete/update in an Oracle Database.
    I can imagine two solutions :
    1- one with Oracle IFs XML support :
    To use this one I have to convert my SGML DTD in an XML one
    (they should be very similar) and then write a program that
    would convert my SGML file in an XML one.
    Then create an Oracle iFS document descriptor that indicates how
    each part of my file should be stored in my Oracle database.
    2- an other one with Oracle XML SQL utility :
    To use this one I have to convert my SGML file in an XML file
    that is well-formed (i.e. that Oracle XMLSQL utility can
    understand).
    This convertion is much more difficult to do than the one I have
    described above.
    Are those two solutions correct ?
    If yes, which one is the best in your opinion ?
    Could you use XML Data with Oracle XML SQL utility ?
    Is the DTD you have defined for this tool compiliant with XML
    Data ?
    If not why ?
    I have not the tool from which I can get it but I would be
    interested by the description of this DTD which is the best way
    to see what I can do with this tool (and imagine a solution for
    update if it cannot be easily done).
    I would also be very interested in having the description of DTD
    for Oracle iFS document descriptor files (as far I have
    understood they are XML files) or an example of quite a complex
    one so that I can I an idea of how it cold fit to my problem.
    I have been really impressed by Oracle team very fast answer and
    thank you very much for your help.
    Regards,
    C     line.
    Oracle XML Team wrote:
    : LESCOP (guest) wrote:
    : : Hello,
    : : I have read the Oracle XML SQL Utility documentation and
    also
    : : the answer of Oracle team to Johnson Scott and as far as I
    : : understand, the XML that is produced from the database and
    : : loaded in it must verify a given DTD syntax.
    : : Is this DTD available somewhere ?
    : The output XML from the XML SQL Utility is in canonical form.
    : There is a commandline option to have the corresponding DTD
    : created on output.
    : : What I have understood about XML Data of w3c is that it
    gives
    : a
    : : way to describe the content of a database.
    : : What is Oracle position on that subject ?
    : The W3C Working Group charged with this tsk is the XML Schema
    WG
    : on which we are participating. Our position is supportive of
    : this effort.
    : : I do ask this question because we have at present an SGML
    : file,
    : : with its own DTD that contains data we have to
    : : insert/delete/update in an Oracle Database.
    : : We are thinking of converting this SGML file in an XML file,
    : : with tools like OMNIMARK or BALISE, that could be easily
    : : integrated in the Oracle Database.
    : : We are looking for the best solution to our problem and
    think
    : : that Oracle tools like Oracle XML SQL, parserand Class
    : generator
    : : could be really usefull.
    : : What do you think of this problem and of the solution we
    : imagine
    : Our current components will simplify your task. Currently,
    : update is a bit more of a problem than insert and delete and
    : would need to be handles at the application level for now.
    : Oracle XML Team
    : http://technet.oracle.com
    : Oracle Technology Network
    null

  • Add node into XML Model

    Hi all,
    i would like to add datas into my xml model but i don't manage to do it.
    Here is the context :
    -I have an xml file which represents a tree
    -When the xml model is loaded, i bound it to a tree
    -Then i add nodes to my tree ( aNode.addNode(new Node ) )
    When adding a node, i would like the node to be represented to my model;
    e.g : before adding a node
    <node name="node1">
         <node name="node1_1"/>
         <node name="node1_2"/>
    </node>
    after the node is added :
    <node name="node1">
         <node name="node1_1"/>
         <node name="node1_2"/>
         <node name="new node"/>
    </node>
    I have tried  xml setProperty:
    oModel.setProperty(myPath,data);
    oModel.setProperty(myPath,data,oContext);
    Can somebody help me to achieve this?
    Thanks,
    best regards,
    Marc

    Thanks for this fast reply, i try it and i come back to you
    Edit :
    Here is my xml file :
    <?xml version="1.0" encoding="utf-8"?>
    <objectSet version="1.2.3.4">
        <aRoot code="testCode" reference="0123456789" description="TestDescription"
            owner="Tester">
            <component name="MyCompo1" type="MyCompo1Type">
                <component name="MyCompo2" type="MyCompo2Type">
                    <property name="myProperty2-1" type="string" value="null" />
                    <property name="myProperty2-2" type="string" value="null" />
                    <property name="myProperty2-3" type="string" value="null" />
                </component>
                <component name="MyCompo3" type="MyCompo3Type">
                    <property name="myProperty3-1" type="string" value="null" />
                </component>
            </component>
        </aRoot>
    </objectSet>
    I made a button with the fellowing function attached :
    aTestFunction: function(oEvent){
            console.log("Test");
            var tree = this.byId("myTree");
            var oModel = tree.getModel();
            var pty = oModel.getProperty("/aRoot/MyCompo1"); // Empty; path is not good
            var pty1 = oModel.getProperty("/aRoot/component");//something but only whitespaces when printing
            console.log(pty);//empty
            console.log(pty1);// a lot of whitespaces (9lines of different sizes)
            pty1.push("node");//Error, pty1.push is not a function
            oModel.setProperty("/aRoot/component",pty1);
    The argument of pty1.push is not good, but the function cannot be even called.
    Another try?

  • System time is earlier than database time. (com.oracle.ovm.mgr.model.Model)

    I have recovered an OVM Manager to a different server using the "runInstaller --uuid", now I am getting the following error when I start the OVM Manager, which is version 3.0.3.
    ####<Apr 10, 2012 3:39:32 PM BST> <Info> <com.oracle.ovm.mgr.model.ModelEngine> <sbarber-vm5.uk.oracle.com> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <0000JQSgIqh9XbFpN0g8ye1FX4N^000002> <1334068772748> <BEA-000000> <Starting Model Engine Error
    java.lang.IllegalStateException: System time is earlier than database time. Please set system time after 2013-04-08 16:49:16 +0000
    at com.oracle.ovm.mgr.model.ModelEngine.checkSystemTime(ModelEngine.java:255)
    at com.oracle.ovm.mgr.model.ModelEngine.createModel(ModelEngine.java:201)
    at com.oracle.ovm.mgr.model.ModelEngine.start(ModelEngine.java:127)
    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 com.oracle.ovm.mgr.control.api.EngineManagerImpl.invokeMethod(EngineManagerImpl.java:335)
    at com.oracle.ovm.mgr.control.api.EngineManagerImpl.invokeMethod(EngineManagerImpl.java:307)
    at com.oracle.ovm.mgr.control.api.EngineManagerImpl.startEngine(EngineManagerImpl.java:512)
    at com.oracle.ovm.mgr.control.api.EngineManagerImpl.startModelEngine(EngineManagerImpl.java:463)
    at com.oracle.ovm.mgr.control.api.EngineManagerImpl.startEngines(EngineManagerImpl.java:547)
    at com.oracle.ovm.mgr.control.api.EngineManagerImpl.start(EngineManagerImpl.java:453)
    at com.oracle.ovm.mgr.control.service.VirtualizationService.startEngines(VirtualizationService.java:426)
    at com.oracle.ovm.mgr.control.service.VirtualizationService.start(VirtualizationService.java:125)
    at oracle.ovm.web.OVMManagerCoreServlet.init(OVMManagerCoreServlet.java:209)
    at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:283)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:64)
    at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)
    at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48)
    at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:539)
    at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1985)
    at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1959)
    at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1878)
    at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3153)
    at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1508)
    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482)
    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:636)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205)
    at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:58)
    at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
    at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
    at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)
    at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)
    at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51)
    at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)
    at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
    at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)
    at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)
    at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)
    at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:180)
    at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:96)
    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    OVM Manager date and time are;
    $date
    Tue Apr 10 15:53:45 BST 2012
    The database is remote and it's system date and time is;
    $ date
    Wed Apr 10 07:36:34 PDT 2013
    Verified by;
    SQL> select to_char(sysdate,'DD-MON-YYYY HH24:MI:SS') from dual;
    TO_CHAR(SYSDATE,'DD-
    10-APR-2013 07:37:58
    Any help gratefully recieved.

    I wish you luck at running a weblogic application attaching to a database that is 8 time zones away. BST is GMT +1 and PDT is GMT-7 I hope you have plenty of bandwidth. I'd say at least the latency of the connection would be an issue.
    Regardless, time zones are based on hours apart. Your time difference is off by more than just "whole hours"? Its also not 8 hours difference. Its almost 11 hours. Also, the date output of you host says 2012. Surely that is mistake?

Maybe you are looking for