Execute xpath

Hi
I have an xml like this:
<?xml version="1.0" encoding="ISO-8859-1"?>
<catalog>
<cd>
<title>Empire Burlesque</title>
<artist>Bob Dylan</artist>
<country>USA</country>
<company>Columbia</company>
<price>10.90</price>
<year>1985</year>
</cd>
</catalog>
And I need to obtain the value of /catalog/cd/title, the problem is that this xpath I will have in a string format and I need to execute this xpath in OSB to take the value, I dont know how to do this, if anyone can help I appreciate this.
Thanks

I think the problem is that the XPath is specified in a String, it is not hardcoded in the code....
I have already seen this question being asked,
I don't see a "result = var.eval(xpath)" function in XQuery
you can try with a Java Callout:
http://www.javamonamour.org/2011/08/java-xpath-evaluation.html
it should definitely be possible

Similar Messages

  • Executing XPATH on a XML String

    Hi,
    I have a BPEL variable that contains XML String. Now I want to execute a XPATH to retrive the value of an Element. I tried several ways using getVariableData but the process errors out. Is there any BPEL function to do this? If not what is the alternate way?
    Thanks,
    Shahul.

    Your assumption is right. I have a variable containing XML string. Is it possible that I execute the ParseEscapedXML on the string and execute the XPATH on result of the ParseEscapedXML function.
    That is assume the variable name xmlStr, I want to do something like this.
    bpws:getVariableData(ora:parseEscapedXML('xmlStr'),'/Transaction-850/Segment-ST/Element-143')

  • ABAP Mapping XPATH Expression

    Hello to all,
    I'm trying to create a ABAP    based mapping without xslt, as xslt-mapping is running in a timeout.
    Is there a way to execute XPATH expressions on a document?
    The method "get_elements_by_name" isn't helpfull, as I need to specify a certain path within the xml-document.
    Thanks for your suggestions.
    Best regards,
    Christian

    I dont think it will be possible untill you include XSLT mapping in to ABAP mapping as you would need a compiler for XPATH expressions.

  • Unknown Error in XPath?!

    Hi.
    I've been trying to use javax.xml.xpath.XPath to get a Node from a DOMSource. But with event the absolute simplest XPath expression //StaticComponent I get the following exception.
    Here's the code I'm using:
    XPath path = XPathFactory.newInstance().newXPath();
    Node newnode = (NodeList) path.evaluate("//StaticComponent", source, XPathConstants.NODESET);(source is defined elsewhere in the program, and I am SURE that it is properly defined, because I use it for something else in the program too.)
    The exception I get tells me NOTHING, and I can't why a simple expression won't evaluate. Has anybody run into this before?
    javax.xml.transform.TransformerException: Unknown error in XPath.
         at com.sun.org.apache.xpath.internal.XPath.execute(XPath.java:363)
         at com.sun.org.apache.xpath.internal.jaxp.XPathImpl.eval(XPathImpl.java:213)
         at com.sun.org.apache.xpath.internal.jaxp.XPathImpl.evaluate(XPathImpl.java:275)
         at ca.nrc.imti.dmdc.wiseshopfloor.editor.EditorModel$2.tableChanged(EditorModel.java:408)
         at javax.swing.table.AbstractTableModel.fireTableChanged(AbstractTableModel.java:280)
         at javax.swing.table.AbstractTableModel.fireTableCellUpdated(AbstractTableModel.java:259)
         at javax.swing.JTable$1.setValueAt(JTable.java:417)
         at javax.swing.JTable.setValueAt(JTable.java:1783)
         at javax.swing.JTable.editingStopped(JTable.java:3129)
         at javax.swing.AbstractCellEditor.fireEditingStopped(AbstractCellEditor.java:124)
         at javax.swing.DefaultCellEditor$EditorDelegate.stopCellEditing(DefaultCellEditor.java:328)
         at javax.swing.DefaultCellEditor.stopCellEditing(DefaultCellEditor.java:213)
         at javax.swing.JTable$GenericEditor.stopCellEditing(JTable.java:3460)
         at javax.swing.plaf.basic.BasicTableUI$NavigationalAction.actionPerformed(BasicTableUI.java:154)
         at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1512)
         at javax.swing.JComponent.processKeyBinding(JComponent.java:2435)
         at javax.swing.JTable.processKeyBinding(JTable.java:3254)
         at javax.swing.JComponent.processKeyBindings(JComponent.java:2481)
         at javax.swing.JComponent.processKeyEvent(JComponent.java:2398)
         at java.awt.Component.processEvent(Component.java:4902)
         at java.awt.Container.processEvent(Container.java:1566)
         at java.awt.Component.dispatchEventImpl(Component.java:3598)
         at java.awt.Container.dispatchEventImpl(Container.java:1623)
         at java.awt.Component.dispatchEvent(Component.java:3439)
         at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1688)
         at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:593)
         at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:765)
         at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:698)
         at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:559)
         at java.awt.Component.dispatchEventImpl(Component.java:3468)
         at java.awt.Container.dispatchEventImpl(Container.java:1623)
         at java.awt.Component.dispatchEvent(Component.java:3439)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:450)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
    Caused by: java.lang.NullPointerException
         at com.sun.org.apache.xpath.internal.axes.DescendantIterator.setRoot(DescendantIterator.java:261)
         at com.sun.org.apache.xpath.internal.axes.NodeSequence.setRoot(NodeSequence.java:213)
         at com.sun.org.apache.xpath.internal.axes.LocPathIterator.execute(LocPathIterator.java:210)
         at com.sun.org.apache.xpath.internal.XPath.execute(XPath.java:335)
         ... 37 more
    java.lang.NullPointerException
         at com.sun.org.apache.xpath.internal.axes.DescendantIterator.setRoot(DescendantIterator.java:261)
         at com.sun.org.apache.xpath.internal.axes.NodeSequence.setRoot(NodeSequence.java:213)
         at com.sun.org.apache.xpath.internal.axes.LocPathIterator.execute(LocPathIterator.java:210)
         at com.sun.org.apache.xpath.internal.XPath.execute(XPath.java:335)
         at com.sun.org.apache.xpath.internal.jaxp.XPathImpl.eval(XPathImpl.java:213)
         at com.sun.org.apache.xpath.internal.jaxp.XPathImpl.evaluate(XPathImpl.java:275)
         at ca.nrc.imti.dmdc.wiseshopfloor.editor.EditorModel$2.tableChanged(EditorModel.java:408)
         at javax.swing.table.AbstractTableModel.fireTableChanged(AbstractTableModel.java:280)
         at javax.swing.table.AbstractTableModel.fireTableCellUpdated(AbstractTableModel.java:259)
         at javax.swing.JTable$1.setValueAt(JTable.java:417)
         at javax.swing.JTable.setValueAt(JTable.java:1783)
         at javax.swing.JTable.editingStopped(JTable.java:3129)
         at javax.swing.AbstractCellEditor.fireEditingStopped(AbstractCellEditor.java:124)
         at javax.swing.DefaultCellEditor$EditorDelegate.stopCellEditing(DefaultCellEditor.java:328)
         at javax.swing.DefaultCellEditor.stopCellEditing(DefaultCellEditor.java:213)
         at javax.swing.JTable$GenericEditor.stopCellEditing(JTable.java:3460)
         at javax.swing.plaf.basic.BasicTableUI$NavigationalAction.actionPerformed(BasicTableUI.java:154)
         at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1512)
         at javax.swing.JComponent.processKeyBinding(JComponent.java:2435)
         at javax.swing.JTable.processKeyBinding(JTable.java:3254)
         at javax.swing.JComponent.processKeyBindings(JComponent.java:2481)
         at javax.swing.JComponent.processKeyEvent(JComponent.java:2398)
         at java.awt.Component.processEvent(Component.java:4902)
         at java.awt.Container.processEvent(Container.java:1566)
         at java.awt.Component.dispatchEventImpl(Component.java:3598)
         at java.awt.Container.dispatchEventImpl(Container.java:1623)
         at java.awt.Component.dispatchEvent(Component.java:3439)
         at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1688)
         at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:593)
         at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:765)
         at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:698)
         at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:559)
         at java.awt.Component.dispatchEventImpl(Component.java:3468)
         at java.awt.Container.dispatchEventImpl(Container.java:1623)
         at java.awt.Component.dispatchEvent(Component.java:3439)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:450)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
    --------------- linked to ------------------
    javax.xml.xpath.XPathExpressionException
         at com.sun.org.apache.xpath.internal.jaxp.XPathImpl.evaluate(XPathImpl.java:289)
         at ca.nrc.imti.dmdc.wiseshopfloor.editor.EditorModel$2.tableChanged(EditorModel.java:408)
         at javax.swing.table.AbstractTableModel.fireTableChanged(AbstractTableModel.java:280)
         at javax.swing.table.AbstractTableModel.fireTableCellUpdated(AbstractTableModel.java:259)
         at javax.swing.JTable$1.setValueAt(JTable.java:417)
         at javax.swing.JTable.setValueAt(JTable.java:1783)
         at javax.swing.JTable.editingStopped(JTable.java:3129)
         at javax.swing.AbstractCellEditor.fireEditingStopped(AbstractCellEditor.java:124)
         at javax.swing.DefaultCellEditor$EditorDelegate.stopCellEditing(DefaultCellEditor.java:328)
         at javax.swing.DefaultCellEditor.stopCellEditing(DefaultCellEditor.java:213)
         at javax.swing.JTable$GenericEditor.stopCellEditing(JTable.java:3460)
         at javax.swing.plaf.basic.BasicTableUI$NavigationalAction.actionPerformed(BasicTableUI.java:154)
         at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1512)
         at javax.swing.JComponent.processKeyBinding(JComponent.java:2435)
         at javax.swing.JTable.processKeyBinding(JTable.java:3254)
         at javax.swing.JComponent.processKeyBindings(JComponent.java:2481)
         at javax.swing.JComponent.processKeyEvent(JComponent.java:2398)
         at java.awt.Component.processEvent(Component.java:4902)
         at java.awt.Container.processEvent(Container.java:1566)
         at java.awt.Component.dispatchEventImpl(Component.java:3598)
         at java.awt.Container.dispatchEventImpl(Container.java:1623)
         at java.awt.Component.dispatchEvent(Component.java:3439)
         at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1688)
         at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:593)
         at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:765)
         at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:698)
         at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:559)
         at java.awt.Component.dispatchEventImpl(Component.java:3468)
         at java.awt.Container.dispatchEventImpl(Container.java:1623)
         at java.awt.Component.dispatchEvent(Component.java:3439)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:450)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
    Caused by: javax.xml.transform.TransformerException: Unknown error in XPath.
         at com.sun.org.apache.xpath.internal.XPath.execute(XPath.java:363)
         at com.sun.org.apache.xpath.internal.jaxp.XPathImpl.eval(XPathImpl.java:213)
         at com.sun.org.apache.xpath.internal.jaxp.XPathImpl.evaluate(XPathImpl.java:275)
         ... 35 more
    Caused by: java.lang.NullPointerException
         at com.sun.org.apache.xpath.internal.axes.DescendantIterator.setRoot(DescendantIterator.java:261)
         at com.sun.org.apache.xpath.internal.axes.NodeSequence.setRoot(NodeSequence.java:213)
         at com.sun.org.apache.xpath.internal.axes.LocPathIterator.execute(LocPathIterator.java:210)
         at com.sun.org.apache.xpath.internal.XPath.execute(XPath.java:335)
         ... 37 more
    java.lang.NullPointerException
         at ca.nrc.imti.dmdc.wiseshopfloor.editor.EditorModel$2.tableChanged(EditorModel.java:414)
         at javax.swing.table.AbstractTableModel.fireTableChanged(AbstractTableModel.java:280)
         at javax.swing.table.AbstractTableModel.fireTableCellUpdated(AbstractTableModel.java:259)
         at javax.swing.JTable$1.setValueAt(JTable.java:417)
         at javax.swing.JTable.setValueAt(JTable.java:1783)
         at javax.swing.JTable.editingStopped(JTable.java:3129)
         at javax.swing.AbstractCellEditor.fireEditingStopped(AbstractCellEditor.java:124)
         at javax.swing.DefaultCellEditor$EditorDelegate.stopCellEditing(DefaultCellEditor.java:328)
         at javax.swing.DefaultCellEditor.stopCellEditing(DefaultCellEditor.java:213)
         at javax.swing.JTable$GenericEditor.stopCellEditing(JTable.java:3460)
         at javax.swing.plaf.basic.BasicTableUI$NavigationalAction.actionPerformed(BasicTableUI.java:154)
         at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1512)
         at javax.swing.JComponent.processKeyBinding(JComponent.java:2435)
         at javax.swing.JTable.processKeyBinding(JTable.java:3254)
         at javax.swing.JComponent.processKeyBindings(JComponent.java:2481)
         at javax.swing.JComponent.processKeyEvent(JComponent.java:2398)
         at java.awt.Component.processEvent(Component.java:4902)
         at java.awt.Container.processEvent(Container.java:1566)
         at java.awt.Component.dispatchEventImpl(Component.java:3598)
         at java.awt.Container.dispatchEventImpl(Container.java:1623)
         at java.awt.Component.dispatchEvent(Component.java:3439)
         at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1688)
         at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:593)
         at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:765)
         at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:698)
         at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:559)
         at java.awt.Component.dispatchEventImpl(Component.java:3468)
         at java.awt.Container.dispatchEventImpl(Container.java:1623)
         at java.awt.Component.dispatchEvent(Component.java:3439)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:450)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)

    The root cause seems to be a NullPointerException,
    but the line given is a line of comment in my
    src.zip. Intriguing. What's your line 261 of
    com.sun.org.apache.xpath.internal.axes.DescendantItera
    tor?As far as I can tell, my jaxp libraries did not come with any source files, in a zip, jar or otherwise. At least, if it did, I can't find them.

  • XPath Query Solved

    JDev Team,
    Is there a way to execute XPath Query on an XML document? In version 10.1.3 there was a extension through to achieve this. Do we have anything similar in TP4? If not, can we expect something for the production release? Please let me know.
    Thanks
    Bala.

    Please ignore my previous post. I found the option under the search menu.
    Thanks

  • Issues while iterating BDB XML

    Hello there,
    to begin with the issue, I've got a BDB XML, with couple of inserted documents. Using Java API.
    I'm creating an application which integrates the database within and displays the contents (that is, documents) of a container in a JTree.
    Next, I've overridden toString() of XmlDocument:
    class MyTreeModelChild extends XmlDocument{
        ContainerManager cmanager; //ContainerManager is the class, which deals with the environments settings, opening containers, putting documents etc.
        public MyTreeModelChild(XmlDocument v, ContainerManager cmanager) throws Exception{
            super(v);
            this.cmanager = cmanager;
        public String toString(){
            //executeQuery is the method, which executes XPath queries. It's located in ContainerManager class and takes a string argument
            try{
                XmlResults xResults = cmanager.executeQuery("collection('demo.dbxml')/info/title/string()");
                while(xResults.hasNext()){
                    XmlValue value = xResults.next();
                    return value.asString();
                return null;
            catch(Exception e){
                return e.toString();
    }The content of XML documents (don't mind the validation, that's an example):
    first.xml
    <info>
       <title>One</title>
    </info>
    second.xml
    <info>
       <title>Two</title>
    </info>Finally, I run the compiled code and watch the documents appear in the tree. They both have same titles (the second document is overridden by the first):
    -One
    -OneIf I check the query using dbxml shell, everything's nice:
    -One
    -TwoAny ideas, suggestions?
    Andy

    John,
    thank you for the reply.
    Indeed. The query returns the title of every document.
            try{
                XmlResults xResults = cmanager.executeQuery("collection('demo.dbxml')/info/title/string()");
                while(xResults.hasNext()){
                    XmlValue value = xResults.next();
                    return value.asString();
                }I execute the query and while it has some results to return, do the loop. Take the first value as a XmlValue and return it as String. If I have more results (in this case -- yes, I do), the loop runs again.
    Unfortunately, I cannot figure out what's from now on. The loop will return the same value.
    I'm nor a geek in BDB XML neither in Java. Almost there, just a few obstacles in the way :)

  • Keep getting this error in transformations...

    See subj. This is in different flows, different transformations.
    I can't find any errors in the transformation. I've tried to redeploy the service - but this didn't help. Any clues?
    Transform_2 (faulted)*
    +--2008/12/29 10:57:27 --"{[http://schemas.oracle.com/bpel/extension]}subLanguageExecutionFault" has been thrown.less+*
    *+-&lt;subLanguageExecutionFault xmlns="http://schemas.oracle.com/bpel/extension"&gt;+*
    *+-&lt;part name="code"&gt;+*
    *+&lt;code&gt;XPathExecutionError+*
    *+&lt;/code&gt;+*
    *+&lt;/part&gt;+*
    *+-&lt;part name="summary"&gt;+*
    *+&lt;summary&gt;+*
    *+XPath expression failed to execute.+*
    *+Error while processing xpath expression, the expression is "ora:processXSLT('Transformation_2.xsl',bpws:getVariableData('OnMessage_set_InputVariable'))", the reason is FOTY0001: type error.+*
    *+Please verify the xpath query.+*
    *+&lt;/summary&gt;+*
    *+&lt;/part&gt;+*
    *+&lt;/subLanguageEx
    Rgds, Henrik

    How does this transformation step look in your bpel. It's a copy that executes xpath with a from parameter and the result is a to parameter. It could be that the datatypes that you are trying to match are not matchabel.
    On other possibility is that the from or to message part are missing. This happens when you are switching in graphical editor quickly to the Mapping editor.
    -Theo

  • Passing XML structures

    Dear All,
    We have got a problem trying to pass structured XML string to BPEL via JMS. The partner process just computes the result (an XML string) and sends it to a JMS queue. The JMS content contains the XML structure (string) that we want to pass. When we try to assign the JMS content to the BPEL variable it seems to work but, when we try to address an element, the process fails.
    In my opinion this behaviour is due to the forced assignment of an XML formatted string to a BPEL XML object. So we tried to find samples on this topic. Any help is welcomed. Thanks and Regards,

    You can't execute xpath query on a string, i would suggest converting that xml string into dom element and set the variable. there is an easy way to achieve this bpel.
    Use the parseEscapedXML('xml-string') xpath function, you can look at [orabpel-home]/samples/references/XPathFunction sample on how its getting used.
    In your case,you might need to use getVariableData() to get the xml string content and use this parseEscapedXML() to convert to element. like below:
    <copy>
         <from expression="ora:parseEscapedXML(string(bpws:getVariableData('your-variable', 'part', '/a/b'))))"/>
         <to variable="your-variable" part="part", query="/a/b/c"/>
    </copy>

  • Error starting thread: Not enough storage is available to process...

    Hi all,
    We are seeing server going down frequently with below exception:
    [ERROR][thread ] Failed to start new thread
    [2010-04-08 14:36:54,046][ERROR][com.astrazeneca.portal.rss.ContentTransformer] - Error processing item:null
    ; SystemID: http://beaa.astrazeneca.net:10002/NewsBroker/resources/newsToRss.xsl; Line#: 21; Column#: 128
    javax.xml.transform.TransformerException: java.lang.Error: Error starting thread: Not enough storage is available to process this command.
         at org.apache.xalan.extensions.ExtensionHandlerJavaPackage.callFunction(ExtensionHandlerJavaPackage.java:403)
         at org.apache.xalan.extensions.ExtensionHandlerJavaPackage.callFunction(ExtensionHandlerJavaPackage.java:426)
         at org.apache.xalan.extensions.ExtensionsTable.extFunction(ExtensionsTable.java:220)
         at org.apache.xalan.transformer.TransformerImpl.extFunction(TransformerImpl.java:437)
         at org.apache.xpath.functions.FuncExtFunction.execute(FuncExtFunction.java:199)
         at org.apache.xpath.XPath.execute(XPath.java:268)
         at org.apache.xalan.templates.ElemVariable.getValue(ElemVariable.java:279)
         at org.apache.xalan.templates.ElemVariable.execute(ElemVariable.java:247)
    I have a weblogic support SR open and they suggested to add -XXtlaSize and -XXlargeObjectLimit to our JVM parameter. With these parameters, we are getting below error in Windows frequently:
    Reporting queued error: faulting application java.exe, version 1.5.0.11, faulting module jvm.dll, version 27.3.1.1, fault address 0x0014b442.
    I have seen few threads on Sun forum, but answer was not posted there. Details of our environment are as below:-
    JVM : JROCKIT 1.5.0.11
    OS : Windows 2003
    Application Server : Weblogic 10
    Any inputs or pointers will be highly appreciated as this is a bit urgent for me...
    Thanks & Regards,
    Sanjeev

    Hi Henrik,
    I am running Weblogic with below parameters now:
    -Xnohup -Xms:1536m -Xmx:1536m -XXtlaSize:min=32k,preferred=768k -XXlargeObjectLimit:32K
    Weblogic crashed again with below dump:
    ===== BEGIN DUMP =============================================================
    JRockit dump produced after 0 days, 07:17:18 on Fri May 07 15:26:16 2010
    Additional information is available in:
    E:\PortalLIVDomaina\jrockit.5772.dump
    E:\PortalLIVDomaina\jrockit.5772.mdmp
    If you see this dump, please open a support case with BEA and
    supply as much information as you can on your system setup and
    the program you were running. You can also search for solutions
    to your problem at http://forums.bea.com in
    the forum jrockit.developer.interest.general.
    Error Message: Illegal memory access. [54]
    Exception Rec: EXCEPTION_ACCESS_VIOLATION (c0000005) at 0x005148AF - memory at 0x00000000 could not be written.
    Minidump : Wrote mdmp. Size is 1406MB
    SafeDllMode : -1
    Version : BEA JRockit(R) R27.3.1-1_CR344434-89345-1.5.0_11-20070925-1628-windows-ia32
    GC Strategy : Mode: throughput. Currently using strategy: genparpar
    GC Status : OC currently running, in phase: sweeping. This is OC#3000.
    : YC is not running. Last finished YC was YC#9937.
    OC History : Strategy genparpar was used for OC#1.
    : Strategy singleparpar was used for OC#2.
    : Strategy genparpar was used for OC#3 to OC#3000.
    YC History : Ran 11 YCs before OC#2996.
    : Ran 18 YCs before OC#2997.
    : Ran 11 YCs before OC#2998.
    : Ran 8 YCs before OC#2999.
    : Ran 1 YCs before OC#3000.
    Heap : 0x00900000 - 0x60900000
    Compaction : 0x06900000 - 0x0C900000
    Could you please provide some input on this?
    Thanks,
    Sanjeev

  • ZFS webconsole show (no devices)

    ZFS from command line works perfectly. I can work with all my configured pools and file systems. But when I run the webconcole and go to zfs application it shows me
    System Summary/Tasks      
         Storage Pools (0)
         File Systems (0)
         Volumes (0)
         Snapshots (0)
    Device Hierarchy
         (no devices)
    Can somebody help me?

    Some additional information.
    I found in log the following exception:
    javax.xml.transform.TransformerException: Unknown error in XPath.
         at com.sun.org.apache.xpath.internal.XPath.execute(XPath.java:296)
         at com.sun.org.apache.xpath.internal.jaxp.XPathImpl.eval(XPathImpl.java:213)
         at com.sun.org.apache.xpath.internal.jaxp.XPathImpl.evaluate(XPathImpl.java:275)
         at com.sun.zfs.common.model.XMLDataModel.getAvailableDisks(XMLDataModel.java:466)
         at com.sun.zfs.common.model.LockhartDataModel.getAvailableDisks(LockhartDataModel.java:34)
         at com.sun.zfs.web.admin.zfsmodule.model.AvailableDevicesTableModel.<init>(AvailableDevicesTableModel.java:34)
         at com.sun.zfs.web.admin.zfsmodule.model.AvailableDevicesTableModel.<init>(AvailableDevicesTableModel.java:60)
         at com.sun.zfs.web.admin.zfsmodule.view.AvailableDevicesTableViewHelper.createTableModel(AvailableDevicesTableViewHelper.java:111)
         at com.sun.zfs.web.admin.zfsmodule.view.TableViewHelper.createChild(TableViewHelper.java:62)
         at com.sun.zfs.web.admin.zfsmodule.view.AvailableDevicesTableViewHelper.createChild(AvailableDevicesTableViewHelper.java:86)
         at com.sun.zfs.web.admin.zfsmodule.wizard.common.WizardPageView.createChild(WizardPageView.java:159)
         at com.sun.zfs.web.admin.zfsmodule.wizard.appendpool.AppendPoolDevicesPageView.createChild(AppendPoolDevicesPageView.java:83)
         at com.iplanet.jato.view.ContainerViewBase.ensureChild(ContainerViewBase.java:187)
         at com.iplanet.jato.view.ContainerViewBase.getChild(ContainerViewBase.java:541)
         at com.iplanet.jato.view.ContainerViewBase.beginChildDisplay(ContainerViewBase.java:819)
         at com.iplanet.jato.taglib.TagBase.fireBeginDisplayEvent(TagBase.java:133)
         at com.sun.web.ui.taglib.common.CCTagBase.fireBeginDisplayEvent(CCTagBase.java:149)
         at com.sun.web.ui.taglib.common.CCTagBase.doEndTag(CCTagBase.java:108)
         at org.apache.jsp.jsp.zfsmodule.AppendPoolDevicesPageView_jsp._jspx_meth_cc_actiontable_0(AppendPoolDevicesPageView_jsp.java:352)
         at org.apache.jsp.jsp.zfsmodule.AppendPoolDevicesPageView_jsp._jspx_meth_jato_pagelet_0(AppendPoolDevicesPageView_jsp.java:180)
         at org.apache.jsp.jsp.zfsmodule.AppendPoolDevicesPageView_jsp._jspService(AppendPoolDevicesPageView_jsp.java:56)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at sun.reflect.GeneratedMethodAccessor64.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:272)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:161)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:245)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:50)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:156)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:152)
         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:696)
         at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:585)
         at org.apache.catalina.core.ApplicationDispatcher.access$100(ApplicationDispatcher.java:71)
         at org.apache.catalina.core.ApplicationDispatcher$PrivilegedInclude.run(ApplicationDispatcher.java:102)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:501)
         at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:966)
         at org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:602)
         at com.sun.web.ui.taglib.wizard.CCWizardTag.getWizardPageHTML(CCWizardTag.java:1564)
         at com.sun.web.ui.taglib.wizard.CCWizardTag.appendPageletBodyContentHTML(CCWizardTag.java:668)
         at com.sun.web.ui.taglib.wizard.CCWizardTag.appendWizardBodyHTML(CCWizardTag.java:658)
         at com.sun.web.ui.taglib.wizard.CCWizardTag.getHTMLStringInternal(CCWizardTag.java:469)
         at com.sun.web.ui.taglib.common.CCTagBase.doEndTag(CCTagBase.java:114)
         at org.apache.jsp.com_005fsun_005fweb_005fui.jsp.wizard.WizardWindow_jsp._jspx_meth_cc_wizard_0(WizardWindow_jsp.java:271)
         at org.apache.jsp.com_005fsun_005fweb_005fui.jsp.wizard.WizardWindow_jsp._jspService(WizardWindow_jsp.java:182)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at sun.reflect.GeneratedMethodAccessor64.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:272)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:161)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:245)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:50)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:156)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:152)
         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:696)
         at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:474)
         at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:409)
         at org.apache.catalina.core.ApplicationDispatcher.access$000(ApplicationDispatcher.java:71)
         at org.apache.catalina.core.ApplicationDispatcher$PrivilegedForward.run(ApplicationDispatcher.java:86)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:304)
         at com.iplanet.jato.view.ViewBeanBase.forward(ViewBeanBase.java:340)
         at com.iplanet.jato.view.ViewBeanBase.forwardTo(ViewBeanBase.java:261)
         at com.sun.web.ui.view.wizard.CCWizard.handleNextButtonRequest(CCWizard.java:730)
         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:585)
         at com.iplanet.jato.view.command.DefaultRequestHandlingCommand.execute(DefaultRequestHandlingCommand.java:183)
         at com.iplanet.jato.view.RequestHandlingViewBase.handleRequest(RequestHandlingViewBase.java:308)
         at com.iplanet.jato.view.ViewBeanBase.dispatchInvocation(ViewBeanBase.java:802)
         at com.iplanet.jato.view.ViewBeanBase.invokeRequestHandlerInternal(ViewBeanBase.java:740)
         at com.iplanet.jato.view.ViewBeanBase.invokeRequestHandlerInternal(ViewBeanBase.java:760)
         at com.iplanet.jato.view.ViewBeanBase.invokeRequestHandler(ViewBeanBase.java:571)
         at com.iplanet.jato.ApplicationServletBase.dispatchRequest(ApplicationServletBase.java:957)
         at com.iplanet.jato.ApplicationServletBase.processRequest(ApplicationServletBase.java:615)
         at com.iplanet.jato.ApplicationServletBase.doPost(ApplicationServletBase.java:473)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at sun.reflect.GeneratedMethodAccessor64.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:272)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:161)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:245)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:50)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:156)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:152)
         at com.sun.management.services.session.CoreSessionManagerFilter.handleRequest(CoreSessionManagerFilter.java:638)
         at com.sun.management.services.session.CoreSessionManagerFilter.doFilter(CoreSessionManagerFilter.java:401)
         at sun.reflect.GeneratedMethodAccessor63.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:272)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:217)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:197)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:50)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:156)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:152)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: java.lang.NullPointerException
         at com.sun.org.apache.xpath.internal.axes.AxesWalker.setRoot(AxesWalker.java:218)
         at com.sun.org.apache.xpath.internal.axes.WalkingIterator.setRoot(WalkingIterator.java:153)
         at com.sun.org.apache.xpath.internal.axes.NodeSequence.setRoot(NodeSequence.java:212)
         at com.sun.org.apache.xpath.internal.axes.LocPathIterator.execute(LocPathIterator.java:211)
         at com.sun.org.apache.xpath.internal.XPath.execute(XPath.java:268)
         ... 148 more
    java.lang.NullPointerException
         at com.sun.org.apache.xpath.internal.axes.AxesWalker.setRoot(AxesWalker.java:218)
         at com.sun.org.apache.xpath.internal.axes.WalkingIterator.setRoot(WalkingIterator.java:153)
         at com.sun.org.apache.xpath.internal.axes.NodeSequence.setRoot(NodeSequence.java:212)
         at com.sun.org.apache.xpath.internal.axes.LocPathIterator.execute(LocPathIterator.java:211)
         at com.sun.org.apache.xpath.internal.XPath.execute(XPath.java:268)
         at com.sun.org.apache.xpath.internal.jaxp.XPathImpl.eval(XPathImpl.java:213)
         at com.sun.org.apache.xpath.internal.jaxp.XPathImpl.evaluate(XPathImpl.java:275)
         at com.sun.zfs.common.model.XMLDataModel.getAvailableDisks(XMLDataModel.java:466)
         at com.sun.zfs.common.model.LockhartDataModel.getAvailableDisks(LockhartDataModel.java:34)
         at com.sun.zfs.web.admin.zfsmodule.model.AvailableDevicesTableModel.<init>(AvailableDevicesTableModel.java:34)
         at com.sun.zfs.web.admin.zfsmodule.model.AvailableDevicesTableModel.<init>(AvailableDevicesTableModel.java:60)
         at com.sun.zfs.web.admin.zfsmodule.view.AvailableDevicesTableViewHelper.createTableModel(AvailableDevicesTableViewHelper.java:111)
         at com.sun.zfs.web.admin.zfsmodule.view.TableViewHelper.createChild(TableViewHelper.java:62)
         at com.sun.zfs.web.admin.zfsmodule.view.AvailableDevicesTableViewHelper.createChild(AvailableDevicesTableViewHelper.java:86)
         at com.sun.zfs.web.admin.zfsmodule.wizard.common.WizardPageView.createChild(WizardPageView.java:159)
         at com.sun.zfs.web.admin.zfsmodule.wizard.appendpool.AppendPoolDevicesPageView.createChild(AppendPoolDevicesPageView.java:83)
         at com.iplanet.jato.view.ContainerViewBase.ensureChild(ContainerViewBase.java:187)
         at com.iplanet.jato.view.ContainerViewBase.getChild(ContainerViewBase.java:541)
         at com.iplanet.jato.view.ContainerViewBase.beginChildDisplay(ContainerViewBase.java:819)
         at com.iplanet.jato.taglib.TagBase.fireBeginDisplayEvent(TagBase.java:133)
         at com.sun.web.ui.taglib.common.CCTagBase.fireBeginDisplayEvent(CCTagBase.java:149)
         at com.sun.web.ui.taglib.common.CCTagBase.doEndTag(CCTagBase.java:108)
         at org.apache.jsp.jsp.zfsmodule.AppendPoolDevicesPageView_jsp._jspx_meth_cc_actiontable_0(AppendPoolDevicesPageView_jsp.java:352)
         at org.apache.jsp.jsp.zfsmodule.AppendPoolDevicesPageView_jsp._jspx_meth_jato_pagelet_0(AppendPoolDevicesPageView_jsp.java:180)
         at org.apache.jsp.jsp.zfsmodule.AppendPoolDevicesPageView_jsp._jspService(AppendPoolDevicesPageView_jsp.java:56)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at sun.reflect.GeneratedMethodAccessor64.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:272)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:161)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:245)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:50)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:156)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:152)
         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:696)
         at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:585)
         at org.apache.catalina.core.ApplicationDispatcher.access$100(ApplicationDispatcher.java:71)
         at org.apache.catalina.core.ApplicationDispatcher$PrivilegedInclude.run(ApplicationDispatcher.java:102)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:501)
         at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:966)
         at org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:602)
         at com.sun.web.ui.taglib.wizard.CCWizardTag.getWizardPageHTML(CCWizardTag.java:1564)
         at com.sun.web.ui.taglib.wizard.CCWizardTag.appendPageletBodyContentHTML(CCWizardTag.java:668)
         at com.sun.web.ui.taglib.wizard.CCWizardTag.appendWizardBodyHTML(CCWizardTag.java:658)
         at com.sun.web.ui.taglib.wizard.CCWizardTag.getHTMLStringInternal(CCWizardTag.java:469)
         at com.sun.web.ui.taglib.common.CCTagBase.doEndTag(CCTagBase.java:114)
         at org.apache.jsp.com_005fsun_005fweb_005fui.jsp.wizard.WizardWindow_jsp._jspx_meth_cc_wizard_0(WizardWindow_jsp.java:271)
         at org.apache.jsp.com_005fsun_005fweb_005fui.jsp.wizard.WizardWindow_jsp._jspService(WizardWindow_jsp.java:182)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at sun.reflect.GeneratedMethodAccessor64.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:272)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:161)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:245)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:50)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:156)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:152)
         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:696)
         at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:474)
         at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:409)
         at org.apache.catalina.core.ApplicationDispatcher.access$000(ApplicationDispatcher.java:71)
         at org.apache.catalina.core.ApplicationDispatcher$PrivilegedForward.run(ApplicationDispatcher.java:86)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:304)
         at com.iplanet.jato.view.ViewBeanBase.forward(ViewBeanBase.java:340)
         at com.iplanet.jato.view.ViewBeanBase.forwardTo(ViewBeanBase.java:261)
         at com.sun.web.ui.view.wizard.CCWizard.handleNextButtonRequest(CCWizard.java:730)
         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:585)
         at com.iplanet.jato.view.command.DefaultRequestHandlingCommand.execute(DefaultRequestHandlingCommand.java:183)
         at com.iplanet.jato.view.RequestHandlingViewBase.handleRequest(RequestHandlingViewBase.java:308)
         at com.iplanet.jato.view.ViewBeanBase.dispatchInvocation(ViewBeanBase.java:802)
         at com.iplanet.jato.view.ViewBeanBase.invokeRequestHandlerInternal(ViewBeanBase.java:740)
         at com.iplanet.jato.view.ViewBeanBase.invokeRequestHandlerInternal(ViewBeanBase.java:760)
         at com.iplanet.jato.view.ViewBeanBase.invokeRequestHandler(ViewBeanBase.java:571)
         at com.iplanet.jato.ApplicationServletBase.dispatchRequest(ApplicationServletBase.java:957)
         at com.iplanet.jato.ApplicationServletBase.processRequest(ApplicationServletBase.java:615)
         at com.iplanet.jato.ApplicationServletBase.doPost(ApplicationServletBase.java:473)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at sun.reflect.GeneratedMethodAccessor64.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:272)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:161)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:245)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:50)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:156)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:152)
         at com.sun.management.services.session.CoreSessionManagerFilter.handleRequest(CoreSessionManagerFilter.java:638)
         at com.sun.management.services.session.CoreSessionManagerFilter.doFilter(CoreSessionManagerFilter.java:401)
         at sun.reflect.GeneratedMethodAccessor63.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:272)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:217)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:197)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:50)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:156)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:152)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
         at java.lang.Thread.run(Thread.java:595)
    --------------- linked to ------------------
    javax.xml.xpath.XPathExpressionException
         at com.sun.org.apache.xpath.internal.jaxp.XPathImpl.evaluate(XPathImpl.java:289)
         at com.sun.zfs.common.model.XMLDataModel.getAvailableDisks(XMLDataModel.java:466)
         at com.sun.zfs.common.model.LockhartDataModel.getAvailableDisks(LockhartDataModel.java:34)
         at com.sun.zfs.web.admin.zfsmodule.model.AvailableDevicesTableModel.<init>(AvailableDevicesTableModel.java:34)
         at com.sun.zfs.web.admin.zfsmodule.model.AvailableDevicesTableModel.<init>(AvailableDevicesTableModel.java:60)
         at com.sun.zfs.web.admin.zfsmodule.view.AvailableDevicesTableViewHelper.createTableModel(AvailableDevicesTableViewHelper.java:111)
         at com.sun.zfs.web.admin.zfsmodule.view.TableViewHelper.createChild(TableViewHelper.java:62)
         at com.sun.zfs.web.admin.zfsmodule.view.AvailableDevicesTableViewHelper.createChild(AvailableDevicesTableViewHelper.java:86)
         at com.sun.zfs.web.admin.zfsmodule.wizard.common.WizardPageView.createChild(WizardPageView.java:159)
         at com.sun.zfs.web.admin.zfsmodule.wizard.appendpool.AppendPoolDevicesPageView.createChild(AppendPoolDevicesPageView.java:83)
         at com.iplanet.jato.view.ContainerViewBase.ensureChild(ContainerViewBase.java:187)
         at com.iplanet.jato.view.ContainerViewBase.getChild(ContainerViewBase.java:541)
         at com.iplanet.jato.view.ContainerViewBase.beginChildDisplay(ContainerViewBase.java:819)
         at com.iplanet.jato.taglib.TagBase.fireBeginDisplayEvent(TagBase.java:133)
         at com.sun.web.ui.taglib.common.CCTagBase.fireBeginDisplayEvent(CCTagBase.java:149)
         at com.sun.web.ui.taglib.common.CCTagBase.doEndTag(CCTagBase.java:108)
         at org.apache.jsp.jsp.zfsmodule.AppendPoolDevicesPageView_jsp._jspx_meth_cc_actiontable_0(AppendPoolDevicesPageView_jsp.java:352)
         at org.apache.jsp.jsp.zfsmodule.AppendPoolDevicesPageView_jsp._jspx_meth_jato_pagelet_0(AppendPoolDevicesPageView_jsp.java:180)
         at org.apache.jsp.jsp.zfsmodule.AppendPoolDevicesPageView_jsp._jspService(AppendPoolDevicesPageView_jsp.java:56)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at sun.reflect.GeneratedMethodAccessor64.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:272)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:161)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:245)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:50)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:156)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:152)
         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:696)
         at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:585)
         at org.apache.catalina.core.ApplicationDispatcher.access$100(ApplicationDispatcher.java:71)
         at org.apache.catalina.core.ApplicationDispatcher$PrivilegedInclude.run(ApplicationDispatcher.java:102)
         at java.security.AccessController.doPrivileged(Native Method)
         at or

  • Oracle WebCenter Adapter for MS SharePoint is not working

    Can anyone please help me? I have downloaded the SharePoint adapter off of the oracle web site and followed the configuration from http://download-uk.oracle.com/docs/cd/B32110_01/webcenter.1013/b31074/jpsdg_content.htm#BABBCIEH. I have also downloaded the patch, 6447083.
    The adapter authenticates with SharePoint but it does not return any data. There must be something that I have not setup correctly. I am using Microsoft SharePoint Services 2003 with Microsoft SQL Server 2005.
    Also, here is the output from the console:
    Jan 15, 2008 10:22:48 AM oracle.vcr.datacontrol.VcrDataControl invokeOperation
    INFO: Invoking data control operation advancedSearch on instance SharePoint
    Jan 15, 2008 10:22:48 AM oracle.vcr.datacontrol.operation.SearchOperation runQuery
    INFO: Executing XPath query /jcr:root/element(*, nt:hierarchyNode)
    Jan 15, 2008 10:22:48 AM com.day.crx.sharepoint.query.QueryResultImpl <init>
    INFO: Got results 0

    When I use getItems I get a PathNotFoundException even though I am using root path:
    Jan 30, 2008 11:36:45 AM org.apache.commons.httpclient.auth.AuthChallengeProcessor selectAuthScheme
    INFO: ntlm authentication scheme selected
    Jan 30, 2008 11:36:46 AM com.day.crx.sharepoint.security.SharePointLoginModule verifyPassword
    INFO: User was authorialized.
    Jan 30, 2008 11:36:46 AM org.apache.commons.httpclient.auth.AuthChallengeProcessor selectAuthScheme
    INFO: ntlm authentication scheme selected
    Jan 30, 2008 11:36:46 AM org.apache.commons.httpclient.auth.AuthChallengeProcessor selectAuthScheme
    INFO: ntlm authentication scheme selected
    Jan 30, 2008 11:36:46 AM org.apache.commons.httpclient.auth.AuthChallengeProcessor selectAuthScheme
    INFO: ntlm authentication scheme selected
    Jan 30, 2008 11:36:46 AM com.day.crx.sharepoint.security.SharePointACLProvider getAcl
    INFO: ACL was built.
    Jan 30, 2008 11:36:46 AM oracle.vcr.datacontrol.operation.GetItemsOperation execute
    WARNING: Path parameter is incorrect. It should be a valid JCR repository absolute path string starting with /.
    javax.jcr.PathNotFoundException: /
         at com.day.crx.core.SessionImpl.getItem(SessionImpl.java:784)
         at oracle.vcr.datacontrol.operation.GetItemsOperation.execute(GetItemsOperation.java:100)
         at oracle.vcr.datacontrol.operation.VcrDCOperationRegistry.execute(VcrDCOperationRegistry.java:139)
         at oracle.vcr.datacontrol.VcrDataControl.invokeOperation(VcrDataControl.java:125)
         at oracle.adf.model.generic.DCGenericDataControl.invokeMethod(DCGenericDataControl.java:240)
         at oracle.adf.model.binding.DCInvokeMethod.callMethod(DCInvokeMethod.java:219)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1289)
         at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:1802)
         at oracle.adf.model.generic.DCGenericDataControl.invokeOperation(DCGenericDataControl.java:266)
         at oracle.adf.model.adapter.AdapterDCService.invokeOperation(AdapterDCService.java:305)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:627)
         at oracle.jbo.uicli.binding.JUMethodIteratorDef$JUMethodIteratorBinding.invokeMethodAction(JUMethodIteratorDef.java:160)
         at oracle.jbo.uicli.binding.JUMethodIteratorDef$JUMethodIteratorBinding.initSourceRSI(JUMethodIteratorDef.java:542)
         at oracle.adf.model.binding.DCIteratorBinding.callInitSourceRSI(DCIteratorBinding.java:1436)
         at oracle.adf.model.binding.DCIteratorBinding.getRowSetIterator(DCIteratorBinding.java:1420)
         at oracle.adf.model.binding.DCIteratorBinding.setRangeSize(DCIteratorBinding.java:2703)
         at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:2487)
         at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2260)
         at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareModel(PageLifecycleImpl.java:99)
         at oracle.adf.controller.faces.lifecycle.FacesPageLifecycle.prepareModel(FacesPageLifecycle.java:72)
         at oracle.adf.controller.v2.lifecycle.Lifecycle$8.execute(Lifecycle.java:210)
         at oracle.adf.controller.v2.lifecycle.Lifecycle.executePhase(Lifecycle.java:116)
         at oracle.adf.controller.faces.lifecycle.ADFPhaseListener.mav$executePhase(ADFPhaseListener.java:29)
         at oracle.adf.controller.faces.lifecycle.ADFPhaseListener$4.after(ADFPhaseListener.java:327)
         at oracle.adf.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:90)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:254)
         at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:110)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:213)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:228)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:197)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:123)
         at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:103)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
         at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:396)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:410)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    Jan 30, 2008 11:36:46 AM oracle.vcr.datacontrol.VcrDataControl invokeOperation
    INFO: Invoking data control operation getItems on instance Sharepoint
    Jan 30, 2008 11:36:46 AM com.day.crx.sharepoint.security.SharePointACLProvider getAcl
    INFO: ACL is building...
    Jan 30, 2008 11:36:46 AM com.day.crx.sharepoint.persistance.nodes.NodeContext getACEs
    INFO: Getting ACEs ...
    Jan 30, 2008 11:36:46 AM com.day.crx.sharepoint.persistance.nodes.NodeContext getACEs
    INFO: ACEs was found in cache for nodedata = com.day.crx.sharepoint.service.dtos.sites.SiteId@c05938a9
    Jan 30, 2008 11:36:46 AM com.day.crx.sharepoint.security.SharePointACLProvider getAcl
    INFO: ACL was built.
    WARNING: DCA-INCORRECT_PATH_PARAMETER: Path parameter is incorrect. It should be a valid JCR repository absolute path string starting with /.
    Jan 30, 2008 11:36:46 AM oracle.adf.controller.faces.lifecycle.FacesPageLifecycle addMessage
    WARNING: /

  • Compilation error after installling BizTalk 2013 CU2

    Hi,
    I started getting the below error in the orchestration project
    "non-readonly field/property access is limited to distinguished fields on class-based messages"
    it was failing at this line RequestMessage.DocumentElement.LocalName == "Fault".
    Here RequestMessage is a message of type System.Xml.XmlDocument. 
    It was working again after I uninstalled BizTalk 2013 CU2. Has anyone faced this problem and what was the solution .
    Looking at the release notes of CU2 at
    http://support.microsoft.com/kb/2892599/en-gb it says about a fix to XpathMutator class
    "FIX: XpathMutatorStream class does not work as expected when you execute Xpath statements against XmlDocuments in BizTalk Server 2013"
    Probably this is causing the compilation error. Can we raise this with the BizTalk Product team if someone else has also faced this issue ?
    Regards,
    Mahesh

    What subsequent CU's? There hasn't been any CU's for BizTalk Server 2013 since CU2 which was released in Oct. 2013 (almost 1 1/2 year ago now!)
    http://support.microsoft.com/kb/2555976
    Morten la Cour

  • How to parse large xml file

    I need to parse large xml file which contains following tag. The size of the file is upto 10MB-50MB or more.
    <departments>
    <department>
    <a_depart id="124">
    <b_depart id="Bss_253">
    <bss_depart id="253">
    <attributes>
    <name_one>abc</name_one>
    </attributes>
    </bss_depart id="253">
    </b_depart id="Bss_253">
    </a_depart id="124">
    </department>
    <department>
    <a_depart id="124">
    <b_depart id="Bss_254">
    <mss_depart id="253">
              <attributes>
              <name_one>abc</name_one>
              <name_two>xyz</name_one>
              </attributes>
         </mss_depart>
         </b_depart>
    </a_depart>
    </department>
    <department>
    <a_depart id="124">
    <b_depart id="Bss_254">
    <mss_depart id="255">
              <attributes>
              <name_one>abc</name_one>
              <name_two>xyz</name_one>
              </attributes>
         </mss_depart>
         </b_depart>
    </a_depart>
    </department>
    <department>
    <a_depart id="125">
    <b_depart id="Bss_254">
    <mss_depart id="253">
              <attributes>
              <name_one>abc</name_one>
              <name_two>xyz</name_one>
              </attributes>
         </mss_depart>
         </b_depart>
    </a_depart>
    </department>
    I want to get the infomation for that xml file. like mss_depart id=233, building xpath dyanmically for every id and loading
    that using dom4j. which is very very slow.
    Is there any other solution for that to read the data using sax parser only.
    I want to execute the xpath or data for the following way.
    //a_depart/@id ------> all the ids of a_depart tags if it returns 3 values say 123,124,125
    after that i want to execute
    //a_depart[@id='123']/b_depart/@id like this ...to retrive the values of all the levels ...
         I am executing following xpath for every unique ids at all levels.
         List l = doc.selectNodes(xPathForID);
         List l1 = doc.selectNodes(xPathForAttributes+attributes.get(j)+"/text()");
    But it is very slow and taking lot of time.
    Is there any other way to solve this problem. If any please mail me it is urgent.
    I am using jdk1.4 and jdk1.5
    Is there any support for sax parser to execute xpath in jdk1.5 direclty, with out using dom4j
    Thanks in advance....

    I doubt you will find a preexisting solution to your problem.
    SAX is usually recommended for processing big files (where "big" is undefined"). It works on big files by avoiding the messy problem of storing the data -- that is left as an exercise to you.
    DOM (and its variants) works by building a Document object as the head of the tree of objects for the entire contents. With DOM, you can then use XPath, because there is something to search that is already in memory. To use XPath, you seem to have two choices, build a DOM-ish tree, or if you can find an XPath processor (I'm not sure if one exists) that can process the XML file directly, but it will be slow, since you are looking for "all" occurences of an attribute, and this means you have to read the entire file each time.
    It might be worth exploring a hybrid approach -- use SAX to get some information, and build your own objects to store the data. Maybe a HashMap as the main index. But, that will keep you from using XPath, since you do not have the data structures it expects.
    A third alternative would be to look at JAXB. It builds Java code from a Schema of your data and then when you import the data, it creates the necessary objects and fills in values. But, I don't think XPath woll work there either.
    Dave Patterson

  • AS2 CS4 iterating through an array?

    Alright so i've had this problem for far too long here and i need help. first of all here's the code
    and if you can tell me how i can put it in more or less of a "code box" that makes it easier to read by including the indents, it would be also appreciated.
    function(){return A.apply(null,[this].concat($A(arguments)))}
    function(){return A.apply(null,[this].concat($A(arguments)))}class controller extends MovieClip
    function NewBox()
      if(number < 50)
       timer = 0
       number +=1
       var box = _root.contentMain.attachMovie("name1", "name0"+number, number)
       box._y = position
       boxes.push(box)
       trace(boxes)
       if(position > 120)
        var position1 = -1*position + 40
        _root.contentMain._y = position1
        if(_root.contentMain._y < -740){_root.contentMain._y = -740}
        if(_root.contentMain._y > -740){_root.scrollFace._y += 1.85}
    function hilite()
      if(prob > 0)
       timer = 0
       var work2 = _root.contentMain.attachMovie("highliter", "highliter", number + chronos)
       work2._y = Math.floor(Math.random()*number)*17.4+ 17.4
       _root.contentMain._y = -1*work2._y + 20
      if(prob < 0)
       timer = 0
       var work1 = _root.contentMain.attachMovie("controller2","controller2",number+chronos+1)
       var work2 = _root.contentMain.attachMovie("highliter", "highliter", number+chronos)
       work1._x = -200
       work1._y = Math.floor(Math.random()*number)*17.4+ 17.4
       work2._y = work1._y
       _root.contentMain._y = -1*work1._y + 20
       controllers.push(work1)
       hiliters.push(work2)
    function MinusBox()
      if(number > 1)
       removeMovieClip(_root.contentMain.name0+number)
       number -= 1
    function(){return A.apply(null,[this].concat($A(arguments)))}
    function(){return A.apply(null,[this].concat($A(arguments)))}class highliter extends MovieClip
    var timer1
    function onLoad()
      timer1 = 0
    function onEnterFrame()
      timer1 += 1
      if(timer1 > 72)
       timer1 = 0
       this.removeMovieClip()
      for(var i in _root.contentMain.controller1.controllers)
       if(this.hitTest(_root.contentMain.controller1.controllers[i]))
        this.removeMovieClip()
        _root.contentMain.controller1.hilite()
    now here's one problem, it only checks collisions for the first object in the array "controllers", and no others. and i want it to check for all objects
    and second of all, how can i refer to an object whose instance name includes a variable as seen in "function MinusBox"
    many many thanks for any help to my annoying problems.

    this is how I do it, I construct the expression outside .. bpws:getVariableData will probably not execute xpath/
    <pre><code>
    <assign name="prepare_loop">
    <copy>
    <from expression="number(1)"/>
    <to variable="i"/>
    </copy>
    <copy>
    <from expression="ora:countNodes('EmpQuerySelect_p_deptno_OutputVariable','EmpCollection','/ns2:EmpCollection/Emp')"/>
    <to variable="n"/>
    </copy>
    </assign>
    <while name="While_1" condition="bpws:getVariableData('i') <= bpws:getVariableData('n')">
    <scope name="Scope_1">
    <variables>
    <variable name="selector" type="ns3:string"/>
    <variable name="element" element="ns2:Emp"/>
    </variables>
    <sequence name="Sequence_1">
    <assign name="Get_Element">
    <copy>
    <from expression="concat("/ns2:EmpCollection/Emp[",string(bpws:getVariableData('i')),"]")"/>
    <to variable="selector"/>
    </copy>
    <copy>
    <from expression="bpws:getVariableData('EmpQuerySelect_p_deptno_OutputVariable','EmpCollection',bpws:getVariableData('selector'))"/>
    <to variable="element" query="/ns2:Emp"/>
    </copy>
    </assign>
    <empty name="Do_stuff_with_element_Var"/>
    <assign name="Increment_index">
    <copy>
    <from expression="bpws:getVariableData('i')+1"/>
    <to variable="i"/>
    </copy>
    </assign>
    </sequence>
    </scope>
    </while>
    </code></pre>
    btw
    i have deicated an article on my blog on this subject.
    http://clemensblog.blogspot.com/2006/03/bpel-looping-over-arrays-collections.html
    hth clemens
    Message was edited by:
    clemens.utschig

  • XPath expression failed to execute.

    Hi Everybody ,
    I am working  AIA PIP 3.1 for JDE E1.I am facing some errors so that i can't proceed.
    See the log errors as below:
    javax.xml.ws.soap.SOAPFaultException: XPath expression failed to execute. An error occurs while processing the XPath expression; the expression is ora:processXSLT('xsl/Xform_BillOfMaterialsListABM_to_BillOfMaterialsListAXML.xsl',bpws:getVariableData('InitialLoadBillOfMaterialsListReqMsg','InitialLoadBillOfMaterialsList'),bpws:getVariableData('Parameters')). The XPath expression failed to execute; the reason was: oracle.fabric.common.xml.xpath.XPathFunctionException: javax.xml.transform.TransformerException: oramds:/deployed-composites/default/InitialLoadBillOfMaterialsListJDEE1toAgileImpl_rev1.0/xsl/Xform_BillOfMaterialsListABM_to_BillOfMaterialsListAXML.xsl<Line 18, Column 271>: XML-22044: (Error) Extension function error: Error invoking 'lookupXRef':'oracle.tip.xref.exception.RepositoryException: lookup could not find values in column name "AGILE_01" for table name "oramds:/apps/AIAMetaData/xref/ITEM_ITEMID.xref" using reference column name "JDEE1_01" and reference value "731882::M30" Please ensure lookup criteria has a match.'. Check the detailed root cause described in the exception message text and verify that the XPath query is correct.
    Please reply me ASAP,
    Waiting for your response.....
    Regards
    Jyoti Nayak

    Hi,
    Ya i checked the data for same table,but i didn't get any XREF related information in xref_data table.
    Did you mean that, data should already present under AIAFPINST_XREF.Probably xref is meant for storing dynamic value.
    Please check the above error and reply me soon.
    With Regards
    Jyoti Nayak

Maybe you are looking for

  • HP LaserJet Pro CM1415fnw Color Multifunction Won't Print PDF Files

    I recently encountered a problem where my HP LaserJet Pro CM1415fnw Color Multifunction would not print PDF files.  I tried printing from Preview, Adobe Reader, Word and PDF Pen Pro and the document would not print.  But the printer had no problem pr

  • Calling stored procedure from EJB in JSever

    I have some trouble to call stored procedure from EJB deployed to JServer on Oracle8i (815). I have been able to sucessfully test the stored procedure using thin client JDBC driver. But when I user the default connection in JServer, the stored proced

  • Interest Rate Assignment

    Hello. I really need help on this. I am very new with programming with Java. I have an assignment due and I don't even know where to begin. All I know how to do is program words and that is it. My assignment is as follows: Here is an example of a tra

  • Order Change Management and direct manufacturing technique (SOBSL 52)

    Dear all, there is a statement in our SAP development team, that I can hardly believe: Order Change Management and direct manufacturing technique are not  fully supported in SAP standard (ECC6.0). Can any body help me with this issue? Kind Regards Be

  • Reset calendar on iPhone 4s

    Basically that is the question. How can I reset my calendar app on my iphone (basically events)