Ora:processXSLT xpath function and absolute paths

It looks like ora:processXSLT xpath function does not honor absolute paths when specifying the location of the xslt to use in the first parameter. For example, if I call it like this:
<copy>
<from expression="ora:processXSLT('/u01/transforms/mytransform.xsl',bpws:getVariableData('xslInput','payload'))"/>
<to variable="xslOutput"/>
</copy>
I get the following error in the bpel logs:
Error while processing xpath expression, the expression is "ora:processXSLT('/u01/transforms/mytransform.xsl', bpws:getVariableData("xslInput", "payload"))", the reason is javax.xml.transform.TransformerException: java.io.FileNotFoundException: /u01/oracle/bpel/integration/orabpel/domains/test/tmp/.bpel_transformTest_1.0.jar/u01/transforms/mytransform.xsl (No such file or directory).
Please verify the xpath query.
It is assuming that the xsl will be relative to the bpel suitcase and just appending the supplied path to the relative path for the bpel process. Why would I want to do this? Well, I have hundreds of these maps and I want to be able to select one at runtime. I'm also adding new ones every day and I don't want to have to redeploy the process that uses them each time I add a new map. Is there any way to force this process to recognize the absolute path? I can work around it for now by using a bunch of ../../../../ stuff but that's a kludge and I'd like to find a better way to do it.
I get the same error with xdk:processXSLT.
Any suggestions?
Thanks!
Sean

Hi Sean,
Did you try to the file path with the file:// prefix and not just the path?
~ronen

Similar Messages

  • Error in giving variable in ora:readFile() Xpath function

    Hi,
    I have a requirement like i need to give a variable name in ora:readFile() Xpath function. Below is the method in which i am trying. but i am getting error
    ora:readFile('file:////home/casdevro/tbm/archive/bpws:getVariableData('inputFile')')
    Error iam getting while compiling is:
    Error(80):
    [Error ORABPEL-10039]: invalid xpath expression
    [Description]: in line 80 of "C:\Softwares\JDev10.1.3.4\jdevstudio10134\jdev\mywork\Test\bpel\Test.bpel", xpath expression "ora:readFile('file:////home/casdevro/tbm/archive/bpws:getVariableData('inputFile')')" specified in <from> is not valid, because XPath query syntax error.
    Syntax error while parsing xpath expression "ora:readFile('file:////home/casdevro/tbm/archive/bpws:getVariableData('inputFile')')", at position "71" the exception is Expected: ).
    Please verify the xpath query "ora:readFile('file:////home/casdevro/tbm/archive/bpws:getVariableData('inputFile')')" which is defined in BPEL process.
    [Potential fix]: Please make sure the expression is valid.
    Am i missing anything. Please guide me
    Thanks in advance.

    Try this. And I guess one forward slash after "file:" suffices.
    ora:readFile(concat('file:/home/casdevro/tbm/archive/', bpws:getVariableData('inputFile')'))

  • Xpath function and XSLT reusability in OSB

    Hi Experts,
    I have xslt which using custome xpath functions and working fine in bpel layer.Can I reuse the same jar,xslt and with some configuration(http://eelzinga.wordpress.com/2010/05/10/oracle-service-bus-11g-using-custom-xpath-functions/) in the OSB layer? its urgent,please respond asap.
    Thanx in advance.-Aswini

    I would think so... after all custom XPath is just Java static functions called from OSB... as long as you stick to the guidelines for method signature exposed here http://docs.oracle.com/cd/E21764_01/doc.1111/e15866/custom_xpath.htm#CBAFHDIJ you should be fine

  • Ora:readFile error when giving absolute path, error ORABPEL-05002

    When I try to read file by providing the absolute path:
    using ora:readFile('file:///share/tripti.txt'), exception is thrown
    The filepath is accessible through the browser.
    <2008-06-03 12:32:23,234> <ERROR> <default.collaxa.cube.engine.dispatch> <BaseScheduledWorker::process> Failed to handle dispatch message ... exception ORABPEL-05002
    Message handle error.
    An exception occurred while attempting to process the message "com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessage"; the exception is: XPath expression failed to execute.
    Error while processing xpath expression, the expression is "ora:readFile('file:///share/tripti.txt')", the reason is message can't be null.
    Please verify the xpath query.
    ORABPEL-05002
    Message handle error.
    An exception occurred while attempting to process the message "com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessage"; the exception is: XPath expression failed to execute.
    Error while processing xpath expression, the expression is "ora:readFile('file:///ossi-1193/share/tripti.txt')", the reason is message can't be null.
    Please verify the xpath query.
         at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:171)
         at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseScheduledWorker.java:70)
         at com.collaxa.cube.engine.ejb.impl.WorkerBean.onMessage(WorkerBean.java:86)
         at sun.reflect.GeneratedMethodAccessor47.invoke(Unknown Source)
    Pl. throw more information on what could be the issue.

    hi kamran,
    Thank u for u r reply. I did't understood where to change the database identifier in tnsnames.ora. sorry for tell like this i am new for oracle. And name shall give. The tnsnames.ora look like this:
    # tnsnames.ora Network Configuration File: D:\oracle10g\NETWORK\ADMIN\tnsnames.ora
    # Generated by Oracle configuration tools.
    T2 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = HA14)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = T2)
    OMCX =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = HA14)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = OMCX)
    ZEN2K7 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = vsnet1)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = zen2k7)
    OVSL06 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = HA14)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = OVSL06)
    EDMS =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = HA14)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = EDMS)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    )

  • Call library function and setting paths

    Hi,
    I tried to call a function from a third party dll. I received error that some other dll could not be found. I assumed that the dll that I am accessing is also calling other dll. all these third party dll reside in the same folder in a third party software. I did two things. 
    1) I place my vi into the same folder as the third party dll and it works. but this is not what I like to do.
    2) I duplicate 2 dll which was complained to be missing in the error message. that works too.
    it seem like the call library function only search in the folder which my VI resides in and not search in the path which my dll was called.
    anyway which I might be able to change this path?
    Thanks
    Goy

    However, this search path only works for DLLs directly accessed by LabVIEW. Any DLLs that are dependent fall back to the Windows search system. For example, if DLL A is called from LV, but A makes a call into DLL B, then the LV path option won't help you find B.
    To fix this, you need to add the directory containing B to your system PATH environment variable. Note that you'll need to restart LabVIEW after doing that in order for the LV process to see the change.
    The easiest way to do this is to go to Start->Control Panel->System. Select the Advanced tab and then environment variables.
    Brian Tyler
    http://detritus.blogs.com/lycangeek

  • Creating an absolute path

    Hi everyone,
    I'm trying to save data points to an excel file and I kept getting the error:
    Possible reason(s):
    LabVIEW:  The path is empty or relative. You must use an absolute path.
    tc_cral(\usfile01)\Common\High Strain Rate\Test.csv
    I'm kind of lost on this issue at the moment and have tried to look up some definition of what a relative and absolute path means.  I must not be fully understanding the definition so if anyone can 'dumb' it down for me I'd appreciate it.  I have also attached the top level vi image of the section where I'm trying to save the data points.
    Solved!
    Go to Solution.
    Attachments:
    TryingtoSave.jpg ‏246 KB

    winehero wrote:
    hello , my question is  what's function of  this module! ,   
    please give me the best answers!
    best kinds!
    This question has nothing to do with the topic.  You really should have started a new thread.
    But that module is the Boolean Crossing PtbyPt.  The help explains it pretty well.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Custom XPath function & customize XPath expression builder

    Hi,
    I have made several custom XPath functions and apparently it is not possible to customize the UI and add these functions to the XPath expression builder.
    Could someone confirm this ?
    Thanks

    Nobody knows the answer?
    I just have the same question.

  • JSF always uses absolute path

    Hi I am new to JSF. You might be able to help me with an absolute path problem I encountered in my project.
    Our team has a JSF project called PHA, it has been deployed to 8 production machines. Recently I made some change to it and want to test it on one of my company's testing machine n251. In order to access n251, I need to use my company's proxy bbweb1. Here is the URL I ran:
    http://bbweb1.xxxxx.com/bravo/pxhistory/map/n251/charlie/pha/ to access PHA on n251.(BTW, we use http://bbweb1.xxxxx.com/charlie/pha/ to access our production machines.) It seems like I got my main PHA page from N251. But when I clicked any
    of the menu bars, bbweb1 proxy always ignores the relative path "bravo/pxhistory/map/n251" and simply rediect me to the main page again on one of our production machines. Here is the URL AFTER I clicked the menu bar:"http://bbweb1.xxxxx.com/charlie/pha/faces/jsp-pages/main page.jsp;jsessionid=CC8BD42D458EB5361532FF99FC1F5D83". I studied my code for the last 3 days and didn't find any problem. An only wild guess is: when I view source on my IE, I found JSF
    always use absolute path :
    src="/charlie/pha/faces/myFacesExtensionResource/tree2.HtmlTreeRenderer/1161281
    90776/javascript/tree.js"></script><script type="text/javascript" I don't know if this indicates why I failed to route to N251. Could this cause by a wrong config on bbweb1? or is there some trick I don't know? ... Since I don't
    have much experience on JSF, can you please help me with this? Thanks in advance.

    I wish there were. I don't know of any way to do this. Why
    not submit it
    here -
    http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "mikeycorn" <[email protected]> wrote in
    message
    news:gou2p7$8dl$[email protected]..
    > When I design my newsletters in Dreamweaver, I always
    have to manually
    > switch
    > the image links to the absolute path before sending it
    out as an email.
    > Is
    > there a way I can switch back and forth between relative
    paths for when
    > I'm
    > designing the site and absolute paths for when I'm doing
    the newsletter?
    >

  • Problem in ora:processXSLT function

    Hi,
    I am trying to do below steps but not able to succeed.
    1) Created new assign activity and put expression
    ora:processXSLT(bpws:getVariableData('Variable_FileName'),bpws:getVariableData('Variable_CMISEventData'))
    Here i am trying to pass variable as file name instead of hardcoded value.
    When i deploy process and run, i get below err.
    javax.xml.xpath.XPathExpressionException: FOTY0001: type error
    <2007-10-24 14:20:39,731> <ERROR> <dladd.collaxa.cube.xml> ORABPEL-09500
    XPath expression failed to execute.
    Error while processing xpath expression, the expression is "ora:processXSLT(bpws:getVariableData('Variable_FileName'),bpws:getVariableData('Variable_CMISEventData'))", the reason is FOTY0001: type error.
    Please verify the xpath query.
    <2007-10-24 14:20:39,743> <DEBUG> <dladd.collaxa.cube.engine> <bpel.cmisproc.BPEL_BIN$$BPELC_BpAss2::perform> error thrown
    ORABPEL-09500
    XPath expression failed to execute.
    Error while processing xpath expression, the expression is "ora:processXSLT(bpws:getVariableData('Variable_FileName'),bpws:getVariableData('Variable_CMISEventData'))", the reason is FOTY0001: type error.
    Please verify the xpath query.
    at com.collaxa.cube.xml.xpath.BPELXPathUtil.evaluate(BPELXPathUtil.java:206)
    at com.collaxa.cube.engine.ext.wmp.BPELAssignWMP.evalFromValue(BPELAssignWMP.java:677)
    at com.collaxa.cube.engine.ext.wmp.BPELAssignWMP.__executeStatements(BPELAssignWMP.java:141)
    at com.collaxa.cube.engine.ext.wmp.BPELActivityWMP.perform(BPELActivityWMP.java:195)
    at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:3271)
    at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1697)
    at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal(PerformMessageHandler.java:75)
    at com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage(DispatchHelper.java:184)
    at com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory(DispatchHelper.java:269)
    at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:5244)
    at com.collaxa.cube.engine.CubeEngine.createAndInvoke(CubeEngine.java:1083)
    at com.collaxa.cube.engine.delivery.DeliveryService.handleInvoke(DeliveryService.java:530)
    at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean.handleInvoke(CubeDeliveryBean.java:333)
    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.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAs(Subject.java:396)
    at com.evermind.server.ThreadState.runAs(ThreadState.java:622)
    at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
    at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
    at CubeDeliveryBean_LocalProxy_4bin6i8.handleInvoke(Unknown Source)
    at com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessageHandler.handle(InvokeInstanceMessageHandler.java:37)
    at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:138)
    at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseScheduledWorker.java:70)
    at com.collaxa.cube.engine.ejb.impl.WorkerBean.onMessage(WorkerBean.java:86)
    at sun.reflect.GeneratedMethodAccessor49.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
    at oracle.j2ee.connector.messageinflow.MessageEndpointImpl.OC4J_invokeMethod(MessageEndpointImpl.java:297)
    at WorkerBean_EndPointProxy_4bin6i8.onMessage(Unknown Source)
    at oracle.j2ee.ra.jms.generic.WorkConsumer.run(WorkConsumer.java:266)
    at oracle.j2ee.connector.work.WorkWrapper.runTargetWork(WorkWrapper.java:242)
    at oracle.j2ee.connector.work.WorkWrapper.doWork(WorkWrapper.java:215)
    at oracle.j2ee.connector.work.WorkWrapper.run(WorkWrapper.java:190)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:814)
    at java.lang.Thread.run(Thread.java:595)
    <2007-10-24 14:20:39,749> <ERROR> <dladd.collaxa.cube> <BaseCubeSessionBean::logError> Error while invoking bean "cube delivery": XPath expression failed to execute.
    Error while processing xpath expression, the expression is "ora:processXSLT(bpws:getVariableData('Variable_FileName'),bpws:getVariableData('Variable_CMISEventData'))", the reason is FOTY0001: type error.
    Please verify the xpath query.
    ORABPEL-09500
    XPath expression failed to execute.
    Please help. I think in processXSLT function we can not pass variable as file name. Because when i removed variable and hard coded with file name like '1.xsl', it started working.
    Any idea?

    Hi,
    I am trying to do below steps but not able to succeed.
    1) Created new assign activity and put expression
    ora:processXSLT(bpws:getVariableData('Variable_FileName'),bpws:getVariableData('Variable_CMISEventData'))
    Here i am trying to pass variable as file name instead of hardcoded value.
    When i deploy process and run, i get below err.
    javax.xml.xpath.XPathExpressionException: FOTY0001: type error
    <2007-10-24 14:20:39,731> <ERROR> <dladd.collaxa.cube.xml> ORABPEL-09500
    XPath expression failed to execute.
    Error while processing xpath expression, the expression is "ora:processXSLT(bpws:getVariableData('Variable_FileName'),bpws:getVariableData('Variable_CMISEventData'))", the reason is FOTY0001: type error.
    Please verify the xpath query.
    <2007-10-24 14:20:39,743> <DEBUG> <dladd.collaxa.cube.engine> <bpel.cmisproc.BPEL_BIN$$BPELC_BpAss2::perform> error thrown
    ORABPEL-09500
    XPath expression failed to execute.
    Error while processing xpath expression, the expression is "ora:processXSLT(bpws:getVariableData('Variable_FileName'),bpws:getVariableData('Variable_CMISEventData'))", the reason is FOTY0001: type error.
    Please verify the xpath query.
    at com.collaxa.cube.xml.xpath.BPELXPathUtil.evaluate(BPELXPathUtil.java:206)
    at com.collaxa.cube.engine.ext.wmp.BPELAssignWMP.evalFromValue(BPELAssignWMP.java:677)
    at com.collaxa.cube.engine.ext.wmp.BPELAssignWMP.__executeStatements(BPELAssignWMP.java:141)
    at com.collaxa.cube.engine.ext.wmp.BPELActivityWMP.perform(BPELActivityWMP.java:195)
    at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:3271)
    at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1697)
    at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal(PerformMessageHandler.java:75)
    at com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage(DispatchHelper.java:184)
    at com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory(DispatchHelper.java:269)
    at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:5244)
    at com.collaxa.cube.engine.CubeEngine.createAndInvoke(CubeEngine.java:1083)
    at com.collaxa.cube.engine.delivery.DeliveryService.handleInvoke(DeliveryService.java:530)
    at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean.handleInvoke(CubeDeliveryBean.java:333)
    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.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAs(Subject.java:396)
    at com.evermind.server.ThreadState.runAs(ThreadState.java:622)
    at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
    at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
    at CubeDeliveryBean_LocalProxy_4bin6i8.handleInvoke(Unknown Source)
    at com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessageHandler.handle(InvokeInstanceMessageHandler.java:37)
    at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:138)
    at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseScheduledWorker.java:70)
    at com.collaxa.cube.engine.ejb.impl.WorkerBean.onMessage(WorkerBean.java:86)
    at sun.reflect.GeneratedMethodAccessor49.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
    at oracle.j2ee.connector.messageinflow.MessageEndpointImpl.OC4J_invokeMethod(MessageEndpointImpl.java:297)
    at WorkerBean_EndPointProxy_4bin6i8.onMessage(Unknown Source)
    at oracle.j2ee.ra.jms.generic.WorkConsumer.run(WorkConsumer.java:266)
    at oracle.j2ee.connector.work.WorkWrapper.runTargetWork(WorkWrapper.java:242)
    at oracle.j2ee.connector.work.WorkWrapper.doWork(WorkWrapper.java:215)
    at oracle.j2ee.connector.work.WorkWrapper.run(WorkWrapper.java:190)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:814)
    at java.lang.Thread.run(Thread.java:595)
    <2007-10-24 14:20:39,749> <ERROR> <dladd.collaxa.cube> <BaseCubeSessionBean::logError> Error while invoking bean "cube delivery": XPath expression failed to execute.
    Error while processing xpath expression, the expression is "ora:processXSLT(bpws:getVariableData('Variable_FileName'),bpws:getVariableData('Variable_CMISEventData'))", the reason is FOTY0001: type error.
    Please verify the xpath query.
    ORABPEL-09500
    XPath expression failed to execute.
    Please help. I think in processXSLT function we can not pass variable as file name. Because when i removed variable and hard coded with file name like '1.xsl', it started working.
    Any idea?

  • Dreamweaver CS4 and PHP require_once, require, include_once, include absolute paths

    I have a question about Dreamweaver CS4's new functionality that lists required and included files in a second row below the name of the file you are currently editing. It's handy.
    I see that Dreamweaver attempts to list all the included files for a given page so that it is easier to find and edit those files.
    For example.  If I had a HTML document called index.html that linked to a CSS document called style.css, when I open index.html, Dreamweaver CS4 lists style.css in a row below index.html.
    My problem is this.  This new functionality works on absolute paths and relative paths for HTML elements. For example, it can find and link to CSS files regardless of if the src tag is relative  or absolute (/css/style.css)
    REFRESHER: absolute paths start with a "/" as in "/css/style.css" and relative paths do not start with a "/" as in "css/style.css" or "../../css/style.css"
    However, PHP files that are linked to the current page via require, require_once, include, or include_once, only appear to work if you use a relative path.
    So this would work in Dreamweaver:
    require_once('../lib/config.php');
    But this would not
    require_once('/home/matt/mydomain.com/html/lib/config.php');
    As any PHP developer knows, you are never supposed to use relative paths with included or required files.  Especially if your site has multiple levels of sub directories.  Relative paths are relative to the calling php document.  It causes a bunch of problems.  I can explain how if you want.
    How can I tell Dreamweaver that the base directory on my apache web server for my domain...
    /home/matt/mydomain.com/html/
    ... is the equivalent of the base directory on my home computer where dreamweaver accesses my files.
    C:\Users\Matt\Documents\My Websites\mydomain.com\
    So that when I write...
    require_once('/home/matt/mydomain.com/html/lib/config.php');
    ... how can I force dreamweaver understand that "/home/matt/mydomain.com/html/" is the same as "C:\Users\Matt\Documents\My Websites\mydomain.com\" on my home computer. So that way, this new Dreamweaver CS4 submenu feature can find and link to the correct file.
    Essentially, can I define Dreamweaver "include paths" for Dreamweaver to search in if the file I'm trying to include is not in the same directory?

    athensmusician wrote:
    As any PHP developer knows, you are never supposed to use relative paths with included or required files.
    Perhaps you ought to inform the PHP documentation team. All the examples in the PHP manual use relative paths.
    Essentially, can I define Dreamweaver "include paths" for Dreamweaver to search in if the file I'm trying to include is not in the same directory?
    Dreamweaver parses only relative paths in PHP includes. The Related Files feature was a new addition in Dreamweaver CS4, so it's not 100% perfect. Having the ability to define your own include_path for Dreamweaver to parse would be a useful improvement. Make your voice heard by submitting a feature request through the form at https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform.

  • Function that finds the absolute path of a file

    Hi,
    I'm creating an application using the SDL framework.
    The following code gives me the absolute path for the file "caisse.jpg", which is located in my application bundle. Then, I can use the value of "cstrURL" to load the image with IMG_Load(cstrURL);
    #import <CoreFoundation/CoreFoundation.h>
    int main(int argc, char *argv[])
    CFURLRef url = CFBundleCopyResourceURL( CFBundleGetMainBundle(),
    CFSTR("caisse"),
    CFSTR("jpg"), //extension du fichier
    NULL );
    const char* cstrURL = CFStringGetCStringPtr(
    CFURLCopyFileSystemPath(url,kCFURLPOSIXPathStyle),
    CFStringGetSystemEncoding()
    printf("URL: %s", cstrURL);
    return EXIT_SUCCESS;
    But I have many files to load for my application. I tried to create a function that would take as parameter informations about the image, and then automatically find the absolute path of this image.
    ( void imgPath(char name[], char ext[], char destination[] ---> name = "image", ext = "jpg", destination is a variable in which the function puts the absolute path of the file)
    How can I do that? What bugs me is the use of the CFSTR macro in the code I have...
    Thank you very much
    FRANKY

    The CFSTR macro can only use a constant string as parameter, not a variable one.
    You can use instead CFStringCreateWithCString if the parameter is a C String (char *).
    Additionaly, I think the input parameters of your imgPath function must be of char* type, not char. And the output parameter char** (but it would be easier to know with the function source code).

  • Get the absolute path and filename of the file from the command line

    Hi,
    when we run the class we give the command
    java <filename>
    How can I capture the filename given above and get its absolute path inside the
    public static void main(String [] args){}
    args[0] gives me the command line argument after the filename. How do I capture the filename itself from the command line argument and also get that files absolute path
    Thanks

    I don't know of any way to capture the java command input, but there are ways to find out where the application is being run from. (the "absolute path")
    http://forum.java.sun.com/thread.jsp?forum=31&thread=335394

  • X-refs and index markers in absolute paths don't work

    A problem has arisen that did not exist before:
    If I have added files to a book using an absolute path, all X-refs and index markers in those files then don't work. The index *generates* without trouble, but if I then try to Alt-click an item in the index that refers back to a file with an absolute path I get the error "Cannot find the file named X. Make sure the file exists." This also means, of course, that the corresponding hyperlinks in a generated PDF file also don't work.
    X-refs and index markers in files added using *relative* paths work okay.
    What is wrong?
    (I use FM9 / Windows 7.)
    Regards,
    Knut Högvall

    Hi Michael,
    Yes, I use 9.0p255.
    No, the files don't have to be on different volumes. They can even be in the same folder (not that they are, but they *could* be; they are in fact in separate folders, but on the same volume). What matters is how I select the file in the File dialog box when I add the file to the book. To get an absolute link, I first click the Network button, select the top volume, and then navigate down to the file. The absolute path is displayed in the book window as \\<volume>\folder\file.fm" while a relative path is indicated by "..\..\file.fm".
    If I add a file using an absolute path it doesn't work; if I add the exact same file using a relative path, it works.
    How do I check the hypertext content in the index?
    Regards,
    - Knut

  • Can I link to images using absolute paths in HTML Help and still see them locally?

    I'm publishing HTML help pages to a Web server.  All .htm files on the Web server are in their own folder, and all image files are in a separate folder.  Links to images are generally of the form <img src="/images/clear.png" height="14" width="8">.  That is, the images use an absolute path reference from the doc root folder (rather than relative path from the current file folder, such as "../images/myImg.png").
    I can modify the HTML for the images to follow this convention, but then I cannot see the images locally within RoboHelp, but must instead wait until the files are integrated with the Web server.  Is there a way to set up a RoboHelp project so that I can force an image path of "/images" both locally and in the HTML?
    Using RoboHelp 9.0.1.232.
    Thanks.

    RoboHelp expects the images to be within the project and will need that if you are to see them when working. It then uploads them to the server when you publish.  There is a check box when you publish so that only updated files get  uploaded.
    You could point Resource Manager to the server folder with the images and then link to those images. What happens then is the image gets downloaded into your project so that you see it when working. If the server image changes you will see the icon in Project Manager changes so that you can update the local copy. It would be a one-off exercise changing your workflow.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • Absolute paths (win and linux)

    hy
    is there a solution to write absolute paths independent of operating system?
    I mean e.g. in windows instead of y:\\folder\file.name maybe y//folder/file.name?
    the methods in class File only give me \\ (fileSeparator) and ; (pathSeparator)
    (using java 1.4)
    big thx
    cheers

    Absolute paths, by their very nature, are platform-specific, so, no. For instance, what's the platform-independent way of referring to D:\ ? There isn't one, because not all platforms, and indeed not all installations of any platform, have a D: drive. The path " y//folder/file.name" makes no sense
    java.io.File.listRoots() returns an array of File objects representing the root volumes for your machine. For instance, it might return C:\, D:\, E:\ on your Windows box. That might be of some use to you. Or better yet, avoid absolute paths altogether, if you can.

Maybe you are looking for

  • Can I use icloud with apple tv gen1

    Hi, I'm trying to figure out if i can put my apple tv gen 1 library on the cloud?  We have 3 ipads and at least 6 ipods running around this house.  It would be nice to put everything on the cloud and clear up some space on my desktop.  Also, if I can

  • Simple End to End Web service scenario

    Hello All, Can any one please give me a link or basic documents where I can design end to end scenario using HTTP, SOAP adaptors. How to test these scenarios..... I want to build these scnearios using SAP PI Ehp 1 Thanks Rajeev

  • 1st and 2nd Receipt days of supply calcluation

    HI, i was wondering how the first and second receipt days of supply are calcuted when viewing in MD06. I went into the configuration 'Define Receipt Elements for Receipt Days' Supply' via menu Consumption Based Planning --> Evaluation --> Define Rece

  • Does Oracle Database Standard Edition One 10.2 has HTML DB ?

    RDBMS Version: 10.2 Operating System and Version: Red Hat Enterprise AS/ES 3 Does Oracle Database Standard Edition One has HTML DB ? Hi, My company plans to buy Oracle Database Standard Edition One for a small project. Does this have HTML DB option ?

  • Ethernet is slow, lots of packet collisions

    this might be a more challenging question for most, but here it goes. before i start eliminate the following possibilities: bad cable(s), bad router, bad modem, slow internet in general, and ISP. my web browsing has been very slow the last few weeks.