Xquery exception: BEA-382510

Experts,
I am facing this weird issue in OSB, the explanation for the issue is:
Whenever the mange instances gets overloaded or even some time when they are running fine, I get this exception BEA-382510 from the message flow.
There is no problem with any xqueries or xpath or namespace. Everything is fine.
The issue gets resolved when i restart the mange instances.
There is no particular pattern which i could trace for the occurence of the issue. It is random in nature.
This is happening sometimes even in production and i am unable to figure out the root cause.
It would be great if any expert can throw more light on this.
Regards,
Deepak.

Hi,
I am getting the same issue on our OSB. Is there information about the reason of this issue? Any results of the investigation?
We are using Service Bus 11gR1. Using XQuery, transformation. I did few tests with a default xml messages, they failed with the same error. But the first time after editing and activating the service bus, the first message handled without error!!
The second attempt with the exact message result in error.
OSB Assign action failed updating variable "transformOutput":
     com.bea.wli.common.xquery.XQueryException:
     Error parsing XML: {bea-err}TYPE003: Runtime Type Mismatch
If you have any advice or the results of the investigation, will appreciate it.
thanks.
Regards,
B. Al Soufi

Similar Messages

  • OSB : BEA-382510: OSB Assign action failed updating variable

    Hi all,
    I just started learning OSB and created a simple process .
    This is my request :
    <soapenv:Envelope      xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
         <soap:Header      xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
         </soap:Header>
         <soapenv:Body>
         <hel:getGreeting      xmlns:hel="http://hello.alsb.com/">
         <!--Optional:-->
         <arg0>string</arg0>
         </hel:getGreeting>
         </soapenv:Body>
         </soapenv:Envelope>
    im getting a error response in Assign:
    <soapenv:Envelope      xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
         <soapenv:Body>
         <soapenv:Fault>
         <faultcode>soapenv:Server</faultcode>
         <faultstring>
         BEA-382510: OSB Assign action failed updating variable "Test": weblogic.xml.query.exceptions.XQueryTypeException: {err}XP0006: "element return { {http://www.w3.org/2004/07/xpath-datatypes}untypedAny }": bad value for type {http://www.w3.org/2001/XMLSchema}string
         </faultstring>
         <detail>
         <con:fault      xmlns:con="http://www.bea.com/wli/sb/context">
         <con:errorCode>BEA-382510</con:errorCode>
         <con:reason>
         OSB Assign action failed updating variable "Test": weblogic.xml.query.exceptions.XQueryTypeException: {err}XP0006: "element return { {http://www.w3.org/2004/07/xpath-datatypes}untypedAny }": bad value for type {http://www.w3.org/2001/XMLSchema}string
         </con:reason>
         <con:location>
         <con:node>RouteTo_HelloWorldBiz</con:node>
         <con:path>response-pipeline</con:path>
         </con:location>
         </con:fault>
         </detail>
         </soapenv:Fault>
         </soapenv:Body>
         </soapenv:Envelope>
    This is my Xquery:
    xquery version "1.0" encoding "Cp1252";
    declare namespace xf = "http://tempuri.org/GoodbyeWorld_SB/XQuery/Hello_to_GoodBye/";
    declare function xf:Hello_to_GoodBye($helloStr as xs:string)
    as xs:string {
    replace($helloStr, 'HELLO', 'Goodbye')
    declare variable $helloStr as xs:string external;
    xf:Hello_to_GoodBye($helloStr)
    in my message response pipeln of the proxy service:
    i have added the assign and given the expression : $body/hel:getGreetingResponse/return
    var :Test
    After the assign: i have given a replace activity:
    xpath: ./hel:getGreetingResponse/return
    varabile : body
    Expression : string($Test)
    when i test in OSB console:
    im getting this error:
    <soapenv:Envelope      xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
         <soapenv:Body>
         <soapenv:Fault>
         <faultcode>soapenv:Server</faultcode>
         <faultstring>
         BEA-382510: OSB Assign action failed updating variable "Test": weblogic.xml.query.exceptions.XQueryTypeException: {err}XP0006: "element return { {http://www.w3.org/2004/07/xpath-datatypes}untypedAny }": bad value for type {http://www.w3.org/2001/XMLSchema}string
         </faultstring>
         <detail>
         <con:fault      xmlns:con="http://www.bea.com/wli/sb/context">
         <con:errorCode>BEA-382510</con:errorCode>
         <con:reason>
         OSB Assign action failed updating variable "Test": weblogic.xml.query.exceptions.XQueryTypeException: {err}XP0006: "element return { {http://www.w3.org/2004/07/xpath-datatypes}untypedAny }": bad value for type {http://www.w3.org/2001/XMLSchema}string
         </con:reason>
         <con:location>
         <con:node>RouteTo_HelloWorldBiz</con:node>
         <con:path>response-pipeline</con:path>
         </con:location>
         </con:fault>
         </detail>
         </soapenv:Fault>
         </soapenv:Body>
         </soapenv:Envelope>
    aany suggestions on where the issue is.
    im totaly stuck here:
    TIA,
    karthik

    it is not clear at which point you are invoking Hello_to_GoodBye, and using which argument
    anyway it's likely that you are passing an Xml element (a node, something like <hello>Charlie</hello>) instead of a simple type (a string, like "Charlie")
    you should use the function data($body/bla) or text ($body/bla/text() ) to extract the value (Charlie) of your element

  • Error BEA-382510 bad value for type node

    Hi,
    We have a requirement to read the xpath from the resource file placed in project folder in OSB and use that xpath to generate the report. For this I have done the following:
    1) Made the xpath entry to properties file as <xpath>$body/*/*/EMPTYPE/EMPDATA/EMPNO</xpath>
    2) Created a variable to fetch the xpath value from property file, say xpathvar
    3) Created another variable, say reportvar which will have the contents: <report>{$xpathvar/text()}</report>. This should fetch the xpath from the variable and replace it in the calling part to fetch the value of the xpath.
    4) For report generation the in key value it is ./text() from variable reportvar.
    When I test this it throws error:
    <con:errorCode>BEA-382510</con:errorCode>
    <con:reason>
    OSB Assign action failed updating variable "reportxpath": com.bea.wli.common.xquery.XQueryException: Error parsing XML: line 1, column 19: {err}XP0006: "$body/*/*/EMPTYPE/EMPDATA/EMPNO ({http://www.w3.org/2001/XMLSchema}string)": bad value for type node
    </con:reason>
    Any pointers will be highly appreciated.
    Thanks!

    I think you cant substitute xpath as you have did.
    As shown in the blog which you mentioned in the other post you may need to have a xslt transformation with xalan:evaluate to correctly process the xpath read from the properties file.
    <report>{$xpathvar/text()}</report>. Here $xpathvar having the value '$body/*/*/EMPTYPE/EMPDATA/EMPNO' will be treated as string type (this will be string as you have read from the properties file as string) and not node. And you are trying to apply the text() function on a string instead of node which is resulting in that error.

  • SAMLServletAuthenticationFilter: Unexpected exception - BEA-090842

    I am trying to configure SAM with Policy Agent 2.2 for Weblogic Portal 9.2.
    I have configured an agent for a portal domain and able to get the Login page of SAM. But as soon as i provide the credintials it is giving be accessdenied page.
    and i am able to find this error in the log file :
    SAMLServletAuthenticationFilter: Unexpected exception - BEA-090842
    Pls. someone let me know the probable error.

    I am trying to configure SAM with Policy Agent 2.2 for Weblogic Portal 9.2.
    I have configured an agent for a portal domain and able to get the Login page of SAM. But as soon as i provide the credintials it is giving be accessdenied page.
    and i am able to find this error in the log file :
    SAMLServletAuthenticationFilter: Unexpected exception - BEA-090842
    Pls. someone let me know the probable error.

  • Getting --BEA-382510: OSB Assign fails.

    Hi I have exposed an EJB as a Business Service though OSB.
    Above this business Service sits a Proxy Service which is called the Data Service and Over the Data Service Sits the actual Proxy Service which is exposed to the clients.
    While testing the data service, the flow always fails when the response from the business service to the data service.
    "OSB Assign action failed updating variable "responseParam": weblogic.xml.query.exceptions.XQueryDynamicException: {err}FORG0005: expected exactly one item, got 0 items"
    The response from the EJB is being returned as expected but when the response reaches the response pipeline (where i have put a transformation) it fails with the above error.
    Individual queries and transformation are working fine when tested discreetly, but when the flow is triggered end to end it fails
    Can some body please help. I am completely stuck.
    Edited by: sgupta2 on Jul 15, 2009 1:40 PM

    This is one of the very basic errors in XQuery and XPath. This is thrown where an XPath is supposed to return a node but it can not retrieve one at runtime. There can be many reasons for this.
    For ex. your Xpath may be wrong, source XML does not contain the element which you are looking for, providing incorrect namespaces of the element. You can log the input XML to verify that the element your XPath is referring to is present. Then you can separately test the XPath/XQuery to validate its correctness.

  • How to resolve this OSB Console Exception - BEA-494002 ?

    Hi,
    Im facing some problem while trying to see the Projects in the OSB Console. This is the exception I could see in the logs. We have deployed a new project on the server. We did ldap configuration for userids. Right after deployment we were able to view the projects tree. But now we are facing some problem.
    Please advice. Thanks in Advance.
    <gifosb_admin> <[ACTIVE] ExecuteThread: '10' for queue: 'weblogic.kernel.Default (self-tuning)'> <system> <> <8beb4c4d69347bb8:-46bc7967:131d6e00ae4:-8000-00000000000003b0> <1313597978584> <BEA-494002> <Internal error occured in OSBConsole : Error in Building Projects tree
    java.lang.Exception: Unable to retrieve project information from configuration service
         at com.bea.alsb.console.projects.ProjectsHelper.getProjectsMetadata(ProjectsHelper.java:95)
         at com.bea.alsb.console.projects.ProjectsHelper.getSortedProjectsMetadata(ProjectsHelper.java:70)
         at jsp_servlet._jsp._projects.__projectstree$1ProjectsTree.getProjectsTreeNodes(__projectstree.java:172)
         at jsp_servlet._jsp._projects.__projectstree._jspService(__projectstree.java:248)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at org.apache.beehive.netui.pageflow.PageFlowPageFilter.continueChainNoWrapper(PageFlowPageFilter.java:455)
         at org.apache.beehive.netui.pageflow.PageFlowPageFilter.runPage(PageFlowPageFilter.java:432)
         at org.apache.beehive.netui.pageflow.PageFlowPageFilter.doFilter(PageFlowPageFilter.java:284)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:527)
         at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:447)
         at org.apache.beehive.netui.pageflow.scoping.internal.ScopedRequestDispatcher.include(ScopedRequestDispatcher.java:119)
         at com.bea.netuix.servlets.controls.content.JspContent.beginRender(JspContent.java:552)
         at com.bea.netuix.servlets.controls.content.NetuiContent.beginRender(NetuiContent.java:365)
         at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:485)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:518)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
         at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:220)
         at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:395)
         at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361)
         at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:352)
         at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:326)
         at com.bea.netuix.nf.UIControl.render(UIControl.java:582)
         at com.bea.netuix.servlets.controls.PresentationContext.render(PresentationContext.java:486)
         at com.bea.netuix.servlets.util.RenderToolkit.renderChild(RenderToolkit.java:146)
         at com.bea.netuix.servlets.jsp.taglib.RenderChild.doStartTag(RenderChild.java:62)
         at jsp_servlet._framework._skeletons._wliconsole.__flowlayout._jspService(__flowlayout.java:271)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)
         at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:529)
         at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:447)
         at com.bea.netuix.servlets.controls.application.laf.JspTools.renderJsp(JspTools.java:130)
         at com.bea.netuix.servlets.controls.application.laf.JspControlRenderer.beginRender(JspControlRenderer.java:72)
         at com.bea.netuix.servlets.controls.application.laf.PresentationControlRenderer.beginRender(PresentationControlRenderer.java:65)
         at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:481)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:518)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
         at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:220)
         at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:395)
         at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361)
         at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:352)
         at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:326)
         at com.bea.netuix.nf.UIControl.render(UIControl.java:582)
         at com.bea.netuix.servlets.controls.PresentationContext.render(PresentationContext.java:486)
         at com.bea.netuix.servlets.util.RenderToolkit.renderChild(RenderToolkit.java:146)
         at com.bea.netuix.servlets.jsp.taglib.RenderChild.doStartTag(RenderChild.java:62)
         at jsp_servlet._framework._skeletons._wliconsole.__gridlayout._jspService(__gridlayout.java:312)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)
         at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:529)
         at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:447)
         at com.bea.netuix.servlets.controls.application.laf.JspTools.renderJsp(JspTools.java:130)
         at com.bea.netuix.servlets.controls.application.laf.JspControlRenderer.beginRender(JspControlRenderer.java:72)
         at com.bea.netuix.servlets.controls.application.laf.PresentationControlRenderer.beginRender(PresentationControlRenderer.java:65)
         at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:481)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:518)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
         at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:220)
         at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:395)
         at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361)
         at com.bea.netuix.nf.Lifecycle.runOutbound(Lifecycle.java:208)
         at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:162)
         at com.bea.netuix.servlets.manager.UIServlet.runLifecycle(UIServlet.java:388)
         at com.bea.netuix.servlets.manager.UIServlet.doPost(UIServlet.java:258)
         at com.bea.netuix.servlets.manager.UIServlet.doGet(UIServlet.java:211)
         at com.bea.netuix.servlets.manager.UIServlet.service(UIServlet.java:196)
         at com.bea.netuix.servlets.manager.SingleFileServlet.service(SingleFileServlet.java:251)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at weblogic.servlet.AsyncInitServlet.service(AsyncInitServlet.java:130)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused By: java.lang.RuntimeException: MBean not found. ObjectName: com.bea:Name=Config.XBus Kernel,Type=com.bea.wli.config.mbeans.ConfigMBean
         at com.bea.alsb.console.support.ConsoleSideMBeanInvocationHandler.getMBean(ConsoleSideMBeanInvocationHandler.java:139)
         at com.bea.alsb.console.support.ConsoleSideMBeanInvocationHandler.<init>(ConsoleSideMBeanInvocationHandler.java:64)
         at com.bea.alsb.console.support.JMXHelper.getCustomMBean(JMXHelper.java:83)
         at com.bea.alsb.console.support.JMXHelper.getConfigMBean(JMXHelper.java:438)
         at com.bea.alsb.console.projects.ProjectsHelper.getProjectsMetadata(ProjectsHelper.java:91)
         at com.bea.alsb.console.projects.ProjectsHelper.getSortedProjectsMetadata(ProjectsHelper.java:70)
         at jsp_servlet._jsp._projects.__projectstree$1ProjectsTree.getProjectsTreeNodes(__projectstree.java:172)
         at jsp_servlet._jsp._projects.__projectstree._jspService(__projectstree.java:248)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at org.apache.beehive.netui.pageflow.PageFlowPageFilter.continueChainNoWrapper(PageFlowPageFilter.java:455)
         at org.apache.beehive.netui.pageflow.PageFlowPageFilter.runPage(PageFlowPageFilter.java:432)
         at org.apache.beehive.netui.pageflow.PageFlowPageFilter.doFilter(PageFlowPageFilter.java:284)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:527)
         at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:447)
         at org.apache.beehive.netui.pageflow.scoping.internal.ScopedRequestDispatcher.include(ScopedRequestDispatcher.java:119)
         at com.bea.netuix.servlets.controls.content.JspContent.beginRender(JspContent.java:552)
         at com.bea.netuix.servlets.controls.content.NetuiContent.beginRender(NetuiContent.java:365)
         at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:485)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:518)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
         at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:220)
         at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:395)
         at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361)
         at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:352)
         at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:326)
         at com.bea.netuix.nf.UIControl.render(UIControl.java:582)
         at com.bea.netuix.servlets.controls.PresentationContext.render(PresentationContext.java:486)
         at com.bea.netuix.servlets.util.RenderToolkit.renderChild(RenderToolkit.java:146)
         at com.bea.netuix.servlets.jsp.taglib.RenderChild.doStartTag(RenderChild.java:62)
         at jsp_servlet._framework._skeletons._wliconsole.__flowlayout._jspService(__flowlayout.java:271)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)
         at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:529)
         at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:447)
         at com.bea.netuix.servlets.controls.application.laf.JspTools.renderJsp(JspTools.java:130)
         at com.bea.netuix.servlets.controls.application.laf.JspControlRenderer.beginRender(JspControlRenderer.java:72)
         at com.bea.netuix.servlets.controls.application.laf.PresentationControlRenderer.beginRender(PresentationControlRenderer.java:65)
         at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:481)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:518)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
         at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:220)
         at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:395)
         at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361)
         at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:352)
         at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:326)
         at com.bea.netuix.nf.UIControl.render(UIControl.java:582)
         at com.bea.netuix.servlets.controls.PresentationContext.render(PresentationContext.java:486)
         at com.bea.netuix.servlets.util.RenderToolkit.renderChild(RenderToolkit.java:146)
         at com.bea.netuix.servlets.jsp.taglib.RenderChild.doStartTag(RenderChild.java:62)
         at jsp_servlet._framework._skeletons._wliconsole.__gridlayout._jspService(__gridlayout.java:312)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)
         at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:529)
         at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:447)
         at com.bea.netuix.servlets.controls.application.laf.JspTools.renderJsp(JspTools.java:130)
         at com.bea.netuix.servlets.controls.application.laf.JspControlRenderer.beginRender(JspControlRenderer.java:72)
         at com.bea.netuix.servlets.controls.application.laf.PresentationControlRenderer.beginRender(PresentationControlRenderer.java:65)
         at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:481)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:518)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
         at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:220)
         at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:395)
         at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361)
         at com.bea.netuix.nf.Lifecycle.runOutbound(Lifecycle.java:208)
         at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:162)
         at com.bea.netuix.servlets.manager.UIServlet.runLifecycle(UIServlet.java:388)
         at com.bea.netuix.servlets.manager.UIServlet.doPost(UIServlet.java:258)
         at com.bea.netuix.servlets.manager.UIServlet.doGet(UIServlet.java:211)
         at com.bea.netuix.servlets.manager.UIServlet.service(UIServlet.java:196)
         at com.bea.netuix.servlets.manager.SingleFileServlet.service(SingleFileServlet.java:251)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at weblogic.servlet.AsyncInitServlet.service(AsyncInitServlet.java:130)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

    Hi Anuj,
    Thanks for your quick response.
    We tried to restart the Admin Server and Managed Server Instances.
    This is what we did -
    1. Deployed a project on the server using OSB Console.
    2. We have added a New Authentication Providers that performs LDAP Authenication.
    Security > myrealm > Providers > Authentication
    I could see these errors in the logs -
    ExecuteThread: '65' for queue: 'weblogic.kernel.Default (self-tuning)'> <system> <> <8beb4c4d69347bb8:-19e99cc3:131bdb9900b:-8000-0000000000001ca3> <1313486764738> <BEA-494002> <Internal error occured in OSBConsole : [Security:090294]could not get connection
    netscape.ldap.LDAPException: error result (32);
    Also I could see the following error -
    <[ACTIVE] ExecuteThread: '74' for queue: 'weblogic.kernel.Default (self-tuning)'> <system> <> <8beb4c4d69347bb8:-19e99cc3:131bdb9900b:-8000-0000000000001cad> <1313486800886> <BEA-423167> <An exception or error occurred in the backing file [com.bea.alsb.console.changemgmt.ChangeCenterBacking] while executing its preRender method. It was java.lang.IllegalStateException: Unable to get Configuration Session Manager
    java.lang.IllegalStateException: Unable to get Configuration Session Manager
         at com.bea.alsb.console.support.JMXHelper.sessionExists(JMXHelper.java:673)
    Not sure why we are getting all the three errors which i posted so far.
    Thanks in Advance.
    - Vysh

  • Concurrent Exception BEA-38****

    Hi,
    I have an Oracle Service Bus on a Weblogic 10.3.4, which maintains large number of exceptions associated with each in deployments
    contant my exceptions, are repeated in each node OSB
    [oracle@localhost 05112013]$ cat osb04.out | grep -c BEA-381502 * 2247
    [oracle@localhost 05112013]$ cat osb04.out | grep -c BEA-382004 * 2247
    [oracle@localhost 05112013]$ cat osb04.out | grep -c BEA-380003 * 2247
    *** I have OSB JMS Reporting Provider, without initiating faults and not DataSource to SOAINFRA
    Detailed Exception is :
    BEA-380003
    <Nov 4, 2013 12:39:41 PM GMT-03:00> <Error> <OSB Kernel> <BEA-380003> <Exception on TransportManagerImpl.receiveMessage, com.bea.wli.sb.pipeline.Pipe
    lineException
    com.bea.wli.sb.pipeline.PipelineException
            at stages.transform.runtime.ErrorRuntimeStep.processMessage(ErrorRuntimeStep.java:38)
            at com.bea.wli.sb.stages.StageMetadataImpl$WrapperRuntimeStep.processMessage(StageMetadataImpl.java:346)
            at com.bea.wli.sb.pipeline.PipelineStage.processMessage(PipelineStage.java:84)
            at com.bea.wli.sb.pipeline.PipelineContextImpl.execute(PipelineContextImpl.java:1055)
            at com.bea.wli.sb.pipeline.Pipeline.processMessage(Pipeline.java:141)
            Truncated. see log file for complete stacktrace >
    BEA-382004 (EnviarNotificacionesPendientesDWS is proxy service connnect to queue jms)
    <Nov 4, 2013 12:43:21 PM GMT-03:00> <Error> <OSB Kernel> <BEA-382004> <Failed to process request message for service ProxyService PlataformaPago/NOTIFICACION/DOM/PX/EnviarNotificacionesPendientesDWS: com.bea.wli.sb.pipeline.PipelineException
    com.bea.wli.sb.pipeline.PipelineException
            at stages.transform.runtime.ErrorRuntimeStep.processMessage(ErrorRuntimeStep.java:38)
            at com.bea.wli.sb.stages.StageMetadataImpl$WrapperRuntimeStep.processMessage(StageMetadataImpl.java:346)
            at com.bea.wli.sb.pipeline.PipelineStage.processMessage(PipelineStage.java:84)
            at com.bea.wli.sb.pipeline.PipelineContextImpl.execute(PipelineContextImpl.java:1055)
            at com.bea.wli.sb.pipeline.Pipeline.processMessage(Pipeline.java:141)
            Truncated. see log file for complete stacktrace
    >
    BEA-381502
    <Nov 4, 2013 12:39:39 PM GMT-03:00> <Error> <WliSbTransports> <BEA-381502> <Exception in JmsInboundMDB.onMessage: com.bea.wli.sb.transports.Transport
    Exception: com.bea.wli.sb.pipeline.PipelineException
    com.bea.wli.sb.transports.TransportException: com.bea.wli.sb.pipeline.PipelineException
            at com.bea.wli.sb.transports.TransportException.newInstance(TransportException.java:216)
            at com.bea.wli.sb.transports.TransportManagerImpl.receiveMessage(TransportManagerImpl.java:390)
            at com.bea.wli.sb.transports.jms.JmsInboundMDB.onMessage(JmsInboundMDB.java:132)
            at sun.reflect.GeneratedMethodAccessor440.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            Truncated. see log file for complete stacktrace
    Caused By: com.bea.wli.sb.pipeline.PipelineException
            at stages.transform.runtime.ErrorRuntimeStep.processMessage(ErrorRuntimeStep.java:38)
            at com.bea.wli.sb.stages.StageMetadataImpl$WrapperRuntimeStep.processMessage(StageMetadataImpl.java:346)
            at com.bea.wli.sb.pipeline.PipelineStage.processMessage(PipelineStage.java:84)
            at com.bea.wli.sb.pipeline.PipelineContextImpl.execute(PipelineContextImpl.java:1055)
            at com.bea.wli.sb.pipeline.Pipeline.processMessage(Pipeline.java:141)
            Truncated. see log file for complete stacktrace
    >

    If _WebsiteList and foundWebsites are in fact the same object, you can do this:
    public void addWebsite(String url)
            website foundWebsite = this.findWebsite(url);
            if (foundWebsite == null)
                website newWebsite = new website();
                newWebsite.setURL(url);
                synchronized (_WebsiteList) {
                  _WebsiteList.add(newWebsite);
    public void populateTable()
            _aProfile.getScheduler().startSearch();
            Vector foundWebsites = _aProfile.getScheduler().getWebsites();
            synchronized (foundWebsites) {
              iter = foundWebsites.listIterator();
              //loop around internal links on front page
              while (iter.hasNext())
                    website tempWebsite = (website)iter.next();
                   _TableModel.addRow(this.createRow(tempWebsite.getURL()));
        }

  • Xquery: fn-bea:uuid(): unknown function

    When I create an xquery-function and try to use the bea function to generate auuid (fn-bea:uuid()),
    I get an errormessage: Unknown function.
    What do I have to configure to make use of bea xquery functions in my xquery?
    Same question for xquery-functions created by myself?
    Regards,
    Rik

    Possibly. I didnt use this patches - only read description.
    I had similar problem - all "fn-bea:" functions dont work in my eclipse but works if I used them in sbconsole/osb webui.
    PS. I have not solve this problem. If you solve - please report in this thread.
    Edited by: Andrey L. on 04.11.2009 22:34

  • Exception BEA-101362  - .class deploy

    I'm migrating from weblogic 10.3.2 to 10.3.5 and I am facing the following exception:
    <28/12/2011 16h06min30s BRST> <Error> <HTTP> <BEA-101362> <[ServletContext@52932272[app:_appsdir_foo_ear module:ise path:/ise spec-version:2.5]] could not deserialize the servlet-context scoped attribute with name: "facelets.RECREATE_VALUE_EXPRESSION_ON_BUILD_BEFORE_RESTORE";
    java.lang.NullPointerException
    at weblogic.servlet.internal.AttributeWrapper.saveObjectClassLoaderInfo(AttributeWrapper.java:227)
    at weblogic.servlet.internal.AttributeWrapper.convertBytesToObject(AttributeWrapper.java:112)
    at weblogic.servlet.internal.ContextAttributeWrapper.getObject(ContextAttributeWrapper.java:53)
    at weblogic.servlet.internal.AttributeWrapper.getObject(AttributeWrapper.java:60)
    at weblogic.servlet.internal.AttributesMap.get(AttributesMap.java:108)
    Truncated. see log file for complete stacktrace
    It happens when I change any class (ManagedBeans) from the web context of a ear application.
    To solve this problem I have to re-start my entire ear application (touching the REDEPLOY file).
    That's too bad because in weblogic 10.3.2 I could change .class from web context with hot deploy!
    Some suggestion to keep the same behavior in 10.3.5?
    Thanks. Mauro.

    Hi,
    I was unable to reproduced, I was suspecting a kind of "mismatch" with Java version.
    In fact, I used WebLogic 11g. With this version of WebLogic it possible to perform the deployment (with that same *.ear file), but not possible with WebLogic 12c (hence, no cetified according to Oracle doc).
    Kind Regards

  • XQuery in BEA 9.2 classpath problem - can anyone help?

    Im trying to execute and XQuery in a custom control called from a pageflow actrion. No matter where i put the saxon8 jars, i get the error below. They are in the Eclipse project properties, on my Win XP classpath, on the Weblogic server classpath, in the WEB-INF lib and in the domains lib directory. Does anyone have any ideas???
    i can execute the identical XQuery in StylusStudio and it works perfectly.
    Jason
    Throwable: java.lang.NoClassDefFoundError: net/sf/saxon/om/DocumentInfo
    Stack Trace:
    java.lang.NoClassDefFoundError: net/sf/saxon/om/DocumentInfo
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12
    4)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    at net.sf.saxon.event.Builder.build(Builder.java:185)
    at net.sf.saxon.query.QueryProcessor.buildDocument(QueryProcessor.java:7
    8)
    at net.sf.saxon.query.StaticQueryContext.buildDocument(StaticQueryContex
    t.java:137)
    at org.apache.xmlbeans.impl.xquery.saxon.XBeansXQuery.execQuery(XBeansXQ
    uery.java:74)
    at org.apache.xmlbeans.impl.store.Query$SaxonQueryImpl$SaxonQueryEngine.
    cursorExecute(Query.java:345)
    at org.apache.xmlbeans.impl.store.Query$SaxonQueryImpl.cursorExecute(Que
    ry.java:243)
    at org.apache.xmlbeans.impl.store.Query.cursorExecQuery(Query.java:48)
    at org.apache.xmlbeans.impl.store.Cursor._execQuery(Cursor.java:1336)
    at org.apache.xmlbeans.impl.store.Cursor._execQuery(Cursor.java:1331)
    at org.apache.xmlbeans.impl.store.Cursor.execQuery(Cursor.java:3839)
    at controls.ebcontrols.EbXmlControlImpl.executeProvidersXQuery(EbXmlCont
    rolImpl.java:102)
    at controls.ebcontrols.EbXmlControlBean.executeProvidersXQuery(EbXmlCont
    rolBean.java:205)
    at pageflows.XqFlow.XqFlowController.executeProvidersXQuery(XqFlowContro
    ller.java:21)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.apache.beehive.netui.pageflow.FlowController.invokeActionMethod(F
    lowController.java:869)
    at org.apache.beehive.netui.pageflow.FlowController.getActionMethodForwa
    rd(FlowController.java:808)
    at org.apache.beehive.netui.pageflow.FlowController.internalExecute(Flow
    Controller.java:477)
    at org.apache.beehive.netui.pageflow.PageFlowController.internalExecute(
    PageFlowController.java:305)
    at org.apache.beehive.netui.pageflow.FlowController.execute(FlowControll
    er.java:335)
    at org.apache.beehive.netui.pageflow.internal.FlowControllerAction.execu
    te(FlowControllerAction.java:51)
    at org.apache.struts.action.RequestProcessor.processActionPerform(Reques
    tProcessor.java:419)
    at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.access$201
    (PageFlowRequestProcessor.java:95)
    at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor$ActionRunn
    er.execute(PageFlowRequestProcessor.java:2042)
    at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionI
    nterceptors.wrapAction(ActionInterceptors.java:90)
    at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processAct
    ionPerform(PageFlowRequestProcessor.java:2114)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.ja
    va:224)
    at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processInt
    ernal(PageFlowRequestProcessor.java:554)
    at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.process(Pa
    geFlowRequestProcessor.java:851)
    at org.apache.beehive.netui.pageflow.AutoRegisterActionServlet.process(A
    utoRegisterActionServlet.java:630)
    at org.apache.beehive.netui.pageflow.PageFlowActionServlet.process(PageF
    lowActionServlet.java:157)
    at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run
    (StubSecurityHelper.java:225)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecuri
    tyHelper.java:127)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.jav
    a:283)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.jav
    a:175)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
    n.run(WebAppServletContext.java:3211)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
    dSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
    121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppS
    ervletContext.java:1983)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletC
    ontext.java:1890)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.j
    ava:1344)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)

    Do you need to restart your server? or eclipse?

  • Exception in thread "main" bea.jolt.ServiceException: Service is not availa

    Hi All,
    I'm new to Tuxedo. I've installed tuxedo. I've deployed simpapp given as sample. It's c clients and server are working fine. Now I'm trying to use Java client for the same server. In my office I need to work with Tuxedo9.1 and JOLT. When I'm trying to run I'm getting problem. I'm not able to find any solution. Please help me. I'm giving entire work done by me as follows.
    Problem in Running Java Client with Tuxedo.
    My ASCII tuxconfig file details:
    # (c) 2003 BEA Systems, Inc. All Rights Reserved.
    #eident "@(#) samples/atmi/simpapp/ubbsimple $Revision: 1.5 $"
    #Skeleton UBBCONFIG file for the TUXEDO Simple Application.
    #Replace the <bracketed> items with the appropriate values.
    *RESOURCES
    IPCKEY 123456
    #Example:
    #IPCKEY 123456
    DOMAINID simpapp
    MASTER simple
    MAXACCESSERS 50
    MAXSERVERS 30
    MAXSERVICES 50
    MODEL SHM
    LDBAL N
    *MACHINES
    DEFAULT:
    APPDIR="/shashi/mysimpleapp/simpapp"
    TUXCONFIG="/shashi/mysimpleapp/simpapp/tuxconfig"
    TUXDIR="/newutitux/newtux/tuxedo9.1"
    #Example:
    # APPDIR="/home/me/simpapp"
    # TUXCONFIG="/home/me/simpapp/tuxconfig"
    # TUXDIR="/usr/tuxedo"
    systest LMID=simple MAXWSCLIENTS=4
    #Example:
    #beatux LMID=simple
    *GROUPS
    GROUP1
    LMID=simple GRPNO=1 OPENINFO=NONE
    JSLGROUP LMID=simple GRPNO=2 OPENINFO=NONE
    JREPGROUP LMID=simple GRPNO=3 OPENINFO=NONE
    *SERVERS
    DEFAULT:
    CLOPT="-A"
    simpserv SRVGRP=GROUP1 SRVID=1
    JSL SRVGRP=JSLGROUP SRVID=2
    CLOPT=" -- -n //10.10.100.110:5000 -d /dev/tcp "
    JREPSVR SRVGRP=JREPGROUP SRVID=4
    CLOPT=" -- -W -P /shashi/mysimpleapp/simpapp/jrepository "
    JRAD SRVGRP=JSLGROUP SRVID=3
    CLOPT=" -- -l //10.10.100.110:5555 -c //10.10.100.110:5000 "
    *SERVICES
    TOUPPER
    I've started the server using command tmboot -y.5 servers are started.
    When I test using tmadmin command following is the output.
    >psr
    Prog Name Queue Name Grp Name ID RqDone Load Done Current Service
    BBL 123456 simple 0 0 0 ( IDLE )
    simpserv 00001.00001 GROUP1 1 0 0 ( IDLE )
    JSL 00002.00002 JSLGROUP 2 0 0 ( IDLE )
    JRAD 00002.00003 JSLGROUP 3 0 0 ( IDLE )
    JREPSVR 00003.00004 JREPGRO+ 4 0 0 ( IDLE )
    pscService Name Routine Name Prog Name Grp Name ID Machine # Done Status
    TOUPPER TOUPPER simpserv GROUP1 1 simple 0 AVAIL
    My Jrlyconfig file content is:-
    LOGDIR=/shashi/mysimpleapp
    ACCESS_LOG=access.log
    ERROR_LOG=error.log
    LISTEN=10.10.100.110:4444
    CONNECT=10.10.100.110:5555
    SOCKETTIMEOUT=30
    and jrly is also running.
    Content of jrepository file is:-
    #!JOLT1.0^M
    add SVC/TOUPPER:vs=1:ex=1:bt=STRING:\^M
    bp:pn=STRING:pt=string:pf=167772161:pa=rw:ep:^M
    add PKG/SIMPSERV:TOUPPER:^M
    ULOG Message is:-
    165446.systest!BBL.5691.1.0: 06-10-2010: Tuxedo Version 9.1, 64-bit, Patch Level (none)
    165446.systest!BBL.5691.1.0: LIBTUX_CAT:262: INFO: Standard main starting
    165446.systest!simpserv.5692.1.0: 06-10-2010: Tuxedo Version 9.1, 64-bit
    165446.systest!simpserv.5692.1.0: LIBTUX_CAT:262: INFO: Standard main starting
    165446.systest!simpserv.5692.1.0: Welcome to the simple server
    165446.systest!JSL.5693.1.0: 06-10-2010: Tuxedo Version 9.1, 64-bit
    165446.systest!JSL.5693.1.0: LIBTUX_CAT:262: INFO: Standard main starting
    165446.systest!JSL.5693.1.0: INFO: JOLT Listener version-BEA Jolt 9.1
    165446.systest!JSL.5693.1.0: JOLT_CAT:1563: "INFO: Serial Number : <454493271161-2664953090480>, Expiration Date : <None>"
    165446.systest!JSL.5693.1.0: JOLT_CAT:1564: "INFO: Licensee : <Customer>"
    165446.systest!JREPSVR.5694.1.0: 06-10-2010: Tuxedo Version 9.1, 64-bit
    165446.systest!JREPSVR.5694.1.0: LIBTUX_CAT:262: INFO: Standard main starting
    165446.systest!JREPSVR.5694.1.0: Current version: BEA Jolt 9.1
    165446.systest!JREPSVR.5694.1.0: Repository "/shashi/mysimpleapp/simpapp/jrepository" (2 records) is writable.
    165446.systest!JRAD.5695.1.0: 06-10-2010: Tuxedo Version 9.1, 64-bit
    165446.systest!JRAD.5695.1.0: LIBTUX_CAT:262: INFO: Standard main starting
    165446.systest!JRAD.5695.1.0: INFO: JRAD version-BEA Jolt 9.1
    I don't find any problem in starting and running the system.
    Problem faced:-
    1.Repository Editor is connected to the system using port number given for jrly( i.e.. 4444) but it is giving an exception
    "bea.jolt.ServiceException:Service is not available:.GETKEYS"
    2.When trying to load bulk loader after setting jolt.jar and joltadmin.jar to the classpath it is giving the exception
    java bea.jolt.admin.jbld //10.10.100.110:4444 services.txt
    Exception in thread "main" bea.jolt.ServiceException: Service is not available:.GETKEYS
    at bea.jolt.JoltRemoteService.init(JoltRemoteService.java:156)
    at bea.jolt.JoltRemoteService.<init>(JoltRemoteService.java:112)
    at bea.jolt.admin.JSvcPkgTbl.initTable(jbld.java:1010)
    at bea.jolt.admin.JSvcPkgTbl.<init>(jbld.java:990)
    at bea.jolt.admin.JBldDefRec.<init>(jbld.java:138)
    at bea.jolt.admin.jbld.main(jbld.java:801)
    Note:- I've tested on port number 5000 and file as jrepository also.The content of services.txt is as follows
    service=TOUPPER
    export=true
    inbuf=STRING
    outbuf=STRING
    access=inout
    3.While running the ToUpper.java given in sample it is giving the exception as follows.
    "Exception in thread "main" bea.jolt.ServiceException: Service is not available:TOUPPER
    at bea.jolt.JoltRemoteService.init(JoltRemoteService.java:156)
    at bea.jolt.JoltRemoteService.<init>(JoltRemoteService.java:112)
    at ToUpper.main(ToUpper.java:36)"
    Content of ToUpper.java:-
    /* Copyright 1996 BEA Systems, Inc. All Rights Reserved */
    import bea.jolt.*;
    public class ToUpper
    public static void main (String[] args)
    JoltSession session;
    JoltSessionAttributes sattr;
    JoltRemoteService toupper;
    JoltTransaction trans;
    String userName=null;
    String userPassword=null;
    String appPassword=null;
    String userRole="myapp";
    String outstr;
    sattr = new JoltSessionAttributes();
    sattr.setString(sattr.APPADDRESS, "//10.10.100.110:4444");
    switch (sattr.checkAuthenticationLevel())
    case JoltSessionAttributes.NOAUTH:
    break;
    case JoltSessionAttributes.APPASSWORD:
    appPassword = "appPassword";
    break;
    case JoltSessionAttributes.USRPASSWORD:
    userName = "myname";
    userPassword = "mysecret";
    appPassword = "appPassword";
    break;
    sattr.setInt(sattr.IDLETIMEOUT, 300);
    session = new JoltSession(sattr, null, null,
    null, null);
    toupper = new JoltRemoteService ("TOUPPER", session);
    toupper.setString("STRING", "hello world");
    toupper.call(null);
    outstr = toupper.getStringDef("STRING", null);
    if (outstr != null)
    System.out.println(outstr);
    session.endSession();
    System.exit(0);
    } // end main
    } // end ToUpper
    Please help me. Thanks in Advance. Waiting for ASAP help.
    Regards
    Shashi Ranjan

    Hi,
    As per your suggestion I'm again giving the detail of all the files which I'm using.
    tmboot -y output:-
    Booting all admin and server processes in /home/oracle/simaapp/tuxconfig
    INFO: Oracle Tuxedo, Version 11.1.1.1.0, 32-bit, Patch Level (none)
    Booting admin processes ...
    exec BBL -A :
         process id=6116 ... Started.
    Booting server processes ...
    exec TMUSREVT -- -f /home/oracle/simaapp/tmusrevt.dat :
         process id=6117 ... Started.
    exec simpserv -A :
         process id=6118 ... Started.
    exec JSL -- -n //station1.example.com:7000 -d /dev/tcp :
         process id=6119 ... Started.
    exec JREPSVR -- -W -P /home/oracle/simaapp/jrepository :
         process id=6120 ... Started.
    exec JRAD -- -l //station1.example.com:5555 -c //station1.example.com:7000 :
         process id=6121 ... Started.
    6 processes started.
    TMUSREVT.ENV content:-
    FIELDTBLS=Usysflds; export FIELDTBLS
    FLDTBLDIR=$TUXDIR/udataobj; export FLDTBLDIR
    FIELDTBLS32=jrep.f32; export FIELDTBLS32;
    FLDTBLDIR=$TUXDIR/udataobj; export FLDTBLDIR;
    tux.env content:-
    TUXDIR=/u01/tuxedo/tuxedo11gR1; export TUXDIR
    JAVA_HOME=$TUXDIR/jre; export JAVA_HOME
    JVMLIBS=$JAVA_HOME/lib/i386/server:$JAVA_HOME/jre/bin
    PATH=$TUXDIR/bin:$JAVA_HOME/bin:$PATH; export PATH
    COBCPY=:$TUXDIR/cobinclude; export COBCPY
    COBOPT="-C ANS85 -C ALIGN=8 -C NOIBMCOMP -C TRUNC=ANSI -C OSEXT=cbl"; export COBOPT
    SHLIB_PATH=$TUXDIR/lib:$JVMLIBS:$SHLIB_PATH; export SHLIB_PATH
    LIBPATH=$TUXDIR/lib:$JVMLIBS:$LIBPATH; export LIBPATH
    LD_LIBRARY_PATH=$TUXDIR/lib:$JVMLIBS:$LD_LIBRARY_PATH; export LD_LIBRARY_PATH
    WEBJAVADIR=$TUXDIR/udataobj/webgui/java; export WEBJAVADIR
    UBBCONFIG content:-
    *RESOURCES
    IPCKEY 78111
    MASTER "station1"
    UID 501
    GID 501
    PERM 0600
    MAXACCESSERS 50
    MAXACLGROUPS 16384
    MAXGTT 100
    DOMAINID "simpapp"
    MAXGROUPS 100
    MAXNETGROUPS 8
    MAXMACHINES 256
    MAXQUEUES 50
    MAXDRT 0
    MAXRFT 0
    MAXRTDATA 4
    MAXSPDATA 33924
    MAXSERVERS 50
    MAXSERVICES 100
    MAXCONV 10
    MODEL SHM
    LDBAL Y
    1,10 Top
    CMTRET COMPLETE
    MAXBUFTYPE 16
    MAXBUFSTYPE 32
    SCANUNIT 10
    SANITYSCAN 12
    DBBLWAIT 2
    BBLQUERY 30
    BLOCKTIME 6
    NOTIFY DIPIN
    SYSTEM_ACCESS FASTPATH
    MAXINTERFACES 150
    MAXOBJECTS 1000
    SIGNATURE_AHEAD 3600
    SIGNATURE_BEHIND 604800
    USIGNAL SIGUSR2
    *MACHINES
    DEFAULT:
    "station1.example.com" LMID="station1"
    TUXCONFIG="/home/oracle/simaapp/tuxconfig"
    TUXDIR="/u01/tuxedo/tuxedo11gR1"
    APPDIR="/home/oracle/simaapp"
    TLOGNAME="TLOG"
    TLOGSIZE=100
    CMPLIMIT="MAXLONG,MAXLONG"
    NETLOAD=0
    SPINCOUNT=0
    MAXACLCACHE=100
    MAXOBJECTS=1000
    SICACHEENTRIESMAX="500"
    MAXWSCLIENTS=4
    *GROUPS
    GROUP1
    LMID=station1 GRPNO=1 OPENINFO=NONE
    JSLGROUP LMID=station1 GRPNO=2 OPENINFO=NONE
    JSRGROUP LMID=station1 GRPNO=3 OPENINFO=NONE
    TMUGROUP LMID=station1 GRPNO=4 OPENINFO=NONE
    TMUSREVTGROUP LMID=station1 GRPNO=5 OPENINFO=NONE
    *NETGROUPS
    *SERVERS
    DEFAULT:
    CLOPT="-A"
    simpserv SRVGRP=GROUP1 SRVID=1
    JSL SRVGRP=JSLGROUP SRVID=2
    CLOPT=" -- -n //station1.example.com:7000 -d /dev/tcp "
    JREPSVR SRVGRP=JSRGROUP SRVID=3
    CLOPT=" -- -W -P /home/oracle/simaapp/jrepository "
    JRAD SRVGRP=JSLGROUP SRVID=4
    CLOPT=" -- -l //station1.example.com:5555 -c //station1.example.com:7000 "
    TMUSREVT SRVGRP=TMUSREVTGROUP SRVID=5 GRACE=3600
    ENVFILE="/home/oracle/simaapp/TMUSREVT.ENV"
    CLOPT=" -- -f /home/oracle/simaapp/tmusrevt.dat "
    SEQUENCE=11
    *MODULES
    *JDBCCONNPOOLS
    *SERVICES
    TOUPPER
    LOAD=50 PRIO=50
    BUFTYPE="ALL"
    TRANTIME=30
    AUTOTRAN=N
    AFFINITYSCOPE=SERVER
    *INTERFACES
    *ROUTING
    jrepository content:-
    #!JOLT1.0
    add SVC/TOUPPER:vs=1:ex=1:bt=STRING:\
    bp:pn=STRING:pt=string:pf=167772161:pa=rw:ep:
    add PKG/SIMPSERV:TOUPPER:
    After exception the content of ULOG:-
    175351.station1.example.com!BBL.6116.3086526144.0: 06-13-2010: client high water (0), total client (0)
    175351.station1.example.com!BBL.6116.3086526144.0: 06-13-2010: Tuxedo Version 11.1.1.1.0, 32-bit, Patch Level (none)
    175351.station1.example.com!BBL.6116.3086526144.0: LIBTUX_CAT:262: INFO: Standard main starting
    175351.station1.example.com!TMUSREVT.6117.3086412000.0: 06-13-2010: Tuxedo Version 11.1.1.1.0, 32-bit
    175351.station1.example.com!TMUSREVT.6117.3086412000.0: LIBTUX_CAT:262: INFO: Standard main starting
    175351.station1.example.com!simpserv.6118.3086706368.0: 06-13-2010: Tuxedo Version 11.1.1.1.0, 32-bit
    175351.station1.example.com!simpserv.6118.3086706368.0: LIBTUX_CAT:262: INFO: Standard main starting
    175351.station1.example.com!simpserv.6118.3086706368.0: Welcome to the simple server
    175351.station1.example.com!JSL.6119.3086870208.0: 06-13-2010: Tuxedo Version 11.1.1.1.0, 32-bit
    175351.station1.example.com!JSL.6119.3086870208.0: LIBTUX_CAT:262: INFO: Standard main starting
    175351.station1.example.com!JSL.6119.3086870208.0: INFO: JOLT Listener version-Oracle Jolt 11.1.1.1.0
    175351.station1.example.com!JREPSVR.6120.3086403264.0: 06-13-2010: Tuxedo Version 11.1.1.1.0, 32-bit
    175351.station1.example.com!JREPSVR.6120.3086403264.0: LIBTUX_CAT:262: INFO: Standard main starting
    175351.station1.example.com!JREPSVR.6120.3086403264.0: Current version: Oracle Jolt 11.1.1.1.0
    175351.station1.example.com!JREPSVR.6120.3086403264.0: Repository "/home/oracle/simaapp/jrepository" (2 records) is writable.
    175351.station1.example.com!JRAD.6121.3086603968.0: 06-13-2010: Tuxedo Version 11.1.1.1.0, 32-bit
    175351.station1.example.com!JRAD.6121.3086603968.0: LIBTUX_CAT:262: INFO: Standard main starting
    175351.station1.example.com!JRAD.6121.3086603968.0: INFO: JRAD version-Oracle Jolt 11.1.1.1.0
    180656.station1.example.com!JRAD.6121.3086603968.0: JRAD_CAT:1526: INFO: JRLY connection is UP
    180656.station1.example.com!JSH.6187.3086858464.-2: 06-13-2010: Tuxedo Version 11.1.1.1.0, 32-bit
    180656.station1.example.com!JSH.6187.3086858464.-2: JOLT_CAT:1030: "INFO: Jolt Handler joining application"
    180656.station1.example.com!JSH.6187.3086858464.-2: INFO: JOLT Handler version-Oracle Jolt 11.1.1.1.0
    180657.station1.example.com!JSH.6187.3086858464.-2: JOLT_CAT:1198: "WARN: Forced shutdown of client; user name 'oracle'; client name 'admin'"
    Content of stderr:-
    tpcall .GETREC failed: TPENOENT - no entry found
    tpcall .GETREC failed: TPENOENT - no entry found
    tpcall .GETREC failed: TPENOENT - no entry found
    tpcall .GETREC failed: TPENOENT - no entry found
    services.txt content
    service=TOUPPER
    export=true
    inbuf=STRING
    outbuf=STRING
    access=inout
    The content of jrlyconfig file:-
    LOGDIR=/home/oracle/simaapp
    ACCESS_LOG=access_log
    ERROR_LOG=errorlog
    LISTEN=station1.example.com:4444
    CONNECT=station1.example.com:5555
    then I'm running jrly -f jrlyconfig
    The exception occurs when I run the command. "java bea.jolt.admin.jbld //station1:4444 services.txt"
    Exception in thread "main" bea.jolt.ServiceException: Service is not available:.GETKEYS
         at bea.jolt.JoltRemoteService.init(JoltRemoteService.java:156)
         at bea.jolt.JoltRemoteService.<init>(JoltRemoteService.java:112)
         at bea.jolt.admin.JSvcPkgTbl.initTable(jbld.java:1010)
         at bea.jolt.admin.JSvcPkgTbl.<init>(jbld.java:990)
         at bea.jolt.admin.JBldDefRec.<init>(jbld.java:138)
         at bea.jolt.admin.jbld.main(jbld.java:801)
    similarly when I'm trying to connect through RE.html
    the exception is
    bea.jolt.ServiceException: Service is not available:.GETKEYS
    The output of command JREPSVR -v is
    # List of services and corresponding handler functions built into the server
    :ADDREC
    :DELREC
    :FLUSHCACHE
    :GARBAGECOLLECT
    .GETALL:GETALL
    .GETKEYS:GETKEYS
    .GETREC:GETREC
    .GETSVC:GETSVC
    :LOCKREP
    .NUMRECS:NUMRECS
    Regards,
    Shashi Ranjan

  • Getting error while updating data element using Xquery Automator

    Hi,
    I am getting following error while i am trying to update a data element in my task.
    <Nov 28, 2011 5:02:40 PM IST> <Error> <oms> <BEA-000000> <automation.AutomationDispatcher: Failed to execute
    on/plugin/external/ACOI_TMIP_POC/1.0.0/CLARIFY_Task.automatedtask.acoi_tmip_poc.ResponseAutomation] due to E
    hile running Script resource [file:///D:/AshishWorkspace_WithOrchestration/ACOI_TMIP_POC/resources/CLARIFY_R
    exception location: ; SystemID: module with no systemId*; Line#: 15; Column#: -1*
    com.mslv.oms.automation.AutomationException: Exception thrown while running Script resource [file:///D:/Ashi
    rchestration/ACOI_TMIP_POC/resources/CLARIFY_Response.xquery]; exception location: ; SystemID: *module with
    e#: 15; Column#: -1
    the Xquery that i am using is pretty simple:
    declare namespace automator = "java:oracle.communications.ordermanagement.automation.plugin.ScriptSenderContextInvocation";
    declare namespace context = "java:com.mslv.oms.automation.TaskContext";
    declare namespace log = "java:org.apache.commons.logging.Log";
    declare namespace oms="urn:com:metasolv:oms:xmlapi:1";
    declare namespace prop = "OSM_POC";
    declare variable $xmlnsosm7POC := "";
    declare variable $log external;
    declare variable $automator external;
    declare variable $context external;
    let $CLFY_XML := //CLFY_XML
    let $Id_Number :=//Id_Number
    return
    automator:setUpdateOrder($automator,"true"),
    log:info($log,fn:concat('ID request number is: ', $Id_Number)),
    <ord:OrderDataUpdate xmlns="http://www.w3.org/2001/XMLSchema" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:odu="http://www.oracle.com/OMS/OrderDataUpdate" targetNameSpace="http://www.oracle.com/OMS/OrderDataUpdate" xmlns:ord="urn:com:metasolv:oms:xmlapi:1">
    <ord:Add path="/CLFY_ID">{data($Id_Number)}</ord:Add>
    </ord:OrderDataUpdate>
    Can anyone please tell me the reason due to which this error is coming.
    Thanking in advance
    Ashish Garg

    Hello.
    Ok I need you to tell me a little bit more about your automator, did you config an Xquery Automator with Event Type: Internal?
    You should declare namespace automator = "java:oracle.communications.ordermanagement.automation.plugin.ScriptReceiverContextInvocation";
    instead of
    declare namespace automator = "java:oracle.communications.ordermanagement.automation.plugin.ScriptSenderContextInvocation";
    And let my ask you, what are you trying to do with the next lines:
    let $CLFY_XML := //CLFY_XML
    let $Id_Number :=//Id_Number
    Becouse I think you are trying to acces the data on the task, If that is the reason, you should better use something like:
    let $order := ..//oms:GetOrder.Response
    let $orderId := $order/oms:_root/oms:orderHeader/oms:orderId
    with the above lines you are accesing the data that has been added to the task and the just acces the node that you nedd, for example here Im accesig the node
    orderId under OrderHeader
    Another thing is that if you want to update node which already exists in the task data, then you have to use something like:
    <OrderDataUpdate xmlns="http://www.metasolv.com/OMS/OrderDataUpdate/2002/10/25">
    <Update path="/orderHeader/orderId">{$orderId}</Update>
    </OrderDataUpdate>
    But if you have to add a new path you should have something like this:
    <OrderDataUpdate xmlns="http://www.metasolv.com/OMS/OrderDataUpdate/2002/10/25">
         <Add path="/OrderHeader">
              <Transaction>
                   <Name>{$orderId/text())}</Name>
              <ComponentKey>{$controlData/text()}</ComponentKey>
              </Transaction>
         </Add>
    </OrderDataUpdate>
    For the above transaction you should have in the dictionary the structure, OrderHeader in the root, and inside this the structure another node with the respective names
    <Transaction>
                   <Name>{$orderId/text())}</Name>
              <ComponentKey>{$controlData/text()}</ComponentKey>
              </Transaction>
    Another thing is that you should have all this structures in the Task Data of this Task.
    Hope this help
    Lucas.

  • Problem with Xquery transformation in OSB

    hi,
    My scenario is that I have to break the data in a single tag of xml A, to populate multiple tags of xml B.I am using Xquery transformation and substring function to achieve this. The problem comes when i import the xquery resource in OSB and try to do the transformation in a proxy service it gives the following error
    <con:fault xmlns:con="http://www.bea.com/wli/sb/context">
    <con:errorCode>BEA-382510</con:errorCode>
    <con:reason>
    *OSB Assign action failed updating variable "message": com.bea.wli.common.xquery.XQueryException: Error parsing XML: {err}XP0006: "element {http://schemas.xmlsoap.org/soap/envelope/}Body { {http://www.w3.org/2004/07/xpath-datatypes}untypedAny }": bad value for type element {http://www.example.org/data}data { {http://www.w3.org/2001/XMLSchema}anyType }*
    </con:reason>
    <con:location>
    <con:node>PipelinePairNode1</con:node>
    <con:pipeline>PipelinePairNode1_request</con:pipeline>
    <con:stage>stage1</con:stage>
    <con:path>request-pipeline</con:path>
    </con:location>
    </con:fault>
    the configuration i have done in the proxy service is this::_
    Assign: [XQuery resource..] to [message]
    Delete: [.] in [body]
    Insert [$message] [as first child of][.] in [body]
    The Xquery resource is the .xq file that i have generated for Xquery transformation.
    and i m routing this proxy service to a business service that wud take the XML and dump it to my D drive using file protocol.
    Edited by: rahulc on Oct 12, 2010 12:40 AM
    Edited by: rahulc on Oct 12, 2010 12:41 AM

    My Xquery is this::
    (:: pragma bea:global-element-parameter parameter="$data1" element="ns0:data" location="data.xsd" ::)
    (:: pragma bea:global-element-return element="note" location="note.xsd" ::)
    declare namespace ns0 = "http://www.example.org/data";
    declare namespace xf = "http://tempuri.org/OSB_Try/tag_break/";
    declare function xf:tag_break($data1 as element(ns0:data))
    as element(note) {
    <note>
    <to>
    fn:substring(data($data1),
    1 ,
    6)
    </to>
    <from>
    fn:substring(data($data1),
    7 ,
    6)
    </from>
    <heading>
    fn:substring(data($data1),
    13 ,
    6)
    </heading>
    <body>
    fn:substring(data($data1),
    19 ,
    11)
    </body>
    </note>
    declare variable $data1 as element(ns0:data) external;
    xf:tag_break($data1)
    and my data is this::
    <?xml version="1.0"?>
    <ns0:data xmlns:ns0="http://www.example.org/data">DON'T FORGET ME THIS WEEKEND!</ns0:data>
    and i have tested this zquery for the above data and this is the transformation its doing::
    <note>
    <to>DON'T </to>
    <from>FORGET</from>
    <heading> ME TH</heading>
    <body>IS WEEKEND!</body>
    </note>
    Edited by: rahulc on Oct 12, 2010 1:57 AM

  • Bea.jolt.pool.ServiceException: TPETRAN - error starting transaction

    I am ctreating the transaction object and try to operate PoolManager.call()
    with the transaction object as parameter. The call fails with the following
    exception:
    bea.jolt.pool.ServiceException: TPETRAN - error starting transaction
    at bea.jolt.pool.Connection.call(Connection.java, Compiled Code)
    at bea.jolt.pool.SessionPool.call(SessionPool.java:412)
    at bea.jolt.pool.SessionPool.call(SessionPool.java:211)
    at
    mcs.connectjolt.bandetails.BanDetailesDAO.getBanDetailes(BanDetailesDAO.java
    :87)
    at
    mcs.connectjolt.bandetails.BanDetailsBean.getBanDetailes(BanDetailsBean.java
    :68)
    at
    mcs.connectjolt.bandetails.BanDetailsBeanEOImpl.getBanDetailes(BanDetailsBea
    nEOImpl.java:105)
    at
    mcs.connectjolt.bandetails.BanDetailsBeanEOImpl_WLSkel.invoke(BanDetailsBean
    EOImpl_WLSkel.java:83)
    at
    weblogic.rmi.extensions.BasicServerObjectAdapter.invoke(BasicServerObjectAda
    pter.java, Compiled Code)
    at
    weblogic.rmi.extensions.BasicRequestHandler.handleRequest(BasicRequestHandle
    r.java:69)
    at
    weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:1
    5)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
    Code)
    My configuration: WebLogic 5.1, Jolt 1.2, Tuxedo 6.4.

    I am ctreating the transaction object and try to operate PoolManager.call()
    with the transaction object as parameter. The call fails with the following
    exception:
    bea.jolt.pool.ServiceException: TPETRAN - error starting transaction
    at bea.jolt.pool.Connection.call(Connection.java, Compiled Code)
    at bea.jolt.pool.SessionPool.call(SessionPool.java:412)
    at bea.jolt.pool.SessionPool.call(SessionPool.java:211)
    at
    mcs.connectjolt.bandetails.BanDetailesDAO.getBanDetailes(BanDetailesDAO.java
    :87)
    at
    mcs.connectjolt.bandetails.BanDetailsBean.getBanDetailes(BanDetailsBean.java
    :68)
    at
    mcs.connectjolt.bandetails.BanDetailsBeanEOImpl.getBanDetailes(BanDetailsBea
    nEOImpl.java:105)
    at
    mcs.connectjolt.bandetails.BanDetailsBeanEOImpl_WLSkel.invoke(BanDetailsBean
    EOImpl_WLSkel.java:83)
    at
    weblogic.rmi.extensions.BasicServerObjectAdapter.invoke(BasicServerObjectAda
    pter.java, Compiled Code)
    at
    weblogic.rmi.extensions.BasicRequestHandler.handleRequest(BasicRequestHandle
    r.java:69)
    at
    weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:1
    5)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
    Code)
    My configuration: WebLogic 5.1, Jolt 1.2, Tuxedo 6.4.

  • Xquery date formatting question

    We are experiencing strange behavior of some xquery functions. I am wondering we are doing something wrong or that there is a bug in the xquery functions.
    When we execute the following xquery:
    fn:current-dateTime()
    it returns:
    2007-01-30T[b]09:51:24.843+01:00
    and when we execute the below xquery
    fn-bea:dateTime-to-string-with-format("yyyyMMddkkmmssSSS",fn:current-dateTime())
    it returns:
    20070130[b]085053645In this example the shocking part is the underlinded/bold part, ie the hour of the day. When we use the first query it returns the correct time and when we use the xquery to also format the current-dateTime it returns the current time minus one hour.
    Does anyone have an idea whether we are doing something wrong?

    You should use getDate() to retrieve your date value from the ResultSet as a java.sql.Date object.
    Then use a SimpleDateFormat in the JSP to format your date.

Maybe you are looking for

  • Oracle errors in Weblogic Error logs appear in non english

    We have a problem with weblogic error logging. Specifically, in a managed server's log file, Oracle errors such as ORA-XXXX show in Greek, not English. We are assuming that this is because the timezone is Europe/Athens. However, the weblogic applicat

  • UDO type Document, Add lines

    Hi All, I have a problem with a User Defined Object of type Document/Document Lines. I have a custom form for the UDO. I can add new Documents with one or more Document Lines. These are stored in the database as expected, both Father table and Child

  • FCP, Quicktime and Qmaster

    I am trying to use Qmaster to distribute processing from Compressor. I only have one copy of FCP so I know I need to export the FCP file as a quicktime file, then submit that quicktime file through compressor to take advantage of Qmaster and distribu

  • Index on Publisher Table ( CDC Setup)

    We have Aync Auto Log CDC setup in place on Oracle 11.1.0.7. Everything is working fine but had a question on performance of select on the tables owned by publisher. As per my understanding, changes are captured in tables owned by Publisher and Subsc

  • How do we pass values and Internal tables to Sub-routines

    how do we pass values and Internal tables to Sub-routines