ERROR  when called TO_CHAR function from XMLQuery

when I tried to execute the followingin XMLQuery by calling TO_CHAR() whithin this query I am getting this error"ORA-19237: XP0017 - unable to resolve call to function - fn:TO_CHAR
any help/ideas on the follwing would be much appreciated.
Thanks
Abdul
select XMLQuery('<marketfeed id="f1" action="CREATE" source="marketfeed1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >
<competitions>
{for $f in ora:view("fixture")
                    for $c in ora:view("competition")
                     for $homes in ora:view("squad")
                      for $aways in ora:view("squad")
                       for $homet in ora:view("team")
                        for $awayt in ora:view("team")
                   where $f/ROW/GID = "g321667"
                      and $f/ROW/COMPETITIONID = $c/ROW/ID
                      and $f/ROW/HOMESQUADID = $homes/ROW/ID
                      and $f/ROW/AWAYSQUADID = $aways/ROW/ID
                      and $homes/ROW/TEAMID = $homet/ROW/ID
                      and $aways/ROW/TEAMID = $awayt/ROW/ID
                   return              
                   <competition id="{$c/ROW/ID/text()}"
shortname="{$c/ROW/NAME/text()}"
name="{$c/ROW/NAME/text()}">
<teamlists>
<teamitam name="{$homet/ROW/NAME/text()}"
id = "{$homes/ROW/TID/text()}" />
<teamitem name="{$awayt/ROW/NAME/text()}"
id = "{$aways/ROW/TID/text()}" />
</teamlists>
<matches>
<match id="{$f/ROW/GID/text()}"
venue="{$f/ROW/VENUE/text()}"
matchdate="{TO_CHAR($f/ROW/STARTDATE/text(), "YY-MM-DD")}"
name="{concat($homet/ROW/NAME/text(), " v ", $awayt/ROW/NAME/text())}"
>
<teams>
<team home="H" id = "{$homes/ROW/TID/text()}" />
<team home="A" id = "{$aways/ROW/TID/text()}" />
</teams>
</match>
</matches>
</competition>
</competitions>
</marketfeed>'
returning content
from dual
Edited by: QAbdul on 26-Oct-2010 06:44

Hi,
QAbdul wrote:
when I tried to execute the followingin XMLQuery by calling TO_CHAR() whithin this query I am getting this error"ORA-19237: XP0017 - unable to resolve call to function - fn:TO_CHARTO_CHAR is a SQL function, XQuery is unaware of it.
XPath 2.0 specifications define a fn:format-date function but Oracle has not included yet in its XQuery implementation.
Easiest way to go is A_Non's solution, but if you need to format at multiple places in the query, you can declare a local XQuery function.
For example, to format to "DD/MM/YYYY" from the canonical xs:date format "YYYY-MM-DD" :
{code}
declare function local:format-date($d as xs:date) as xs:string
let $s := xs:string($d)
return concat(
substring($s, 10, 2), "/",
substring($s, 7, 2), "/",
substring($s, 2, 4)
{code}
and an example of use :
{code}
SQL> CREATE TABLE test_xqdate AS SELECT sysdate dt FROM dual;
Table created
SQL> SELECT *
2 FROM XMLTable(
3 'declare function local:format-date($d as xs:date) as xs:string
4 {
5 let $s := xs:string($d)
6 return concat(
7 substring($s, 10, 2), "/",
8 substring($s, 7, 2), "/",
9 substring($s, 2, 4)
10 )
11 }; (: :)
12 for $i in ora:view("TEST_XQDATE")/ROW/DT
13 return element e {
14 attribute xs_date_format { $i/text() },
15 attribute local_format { local:format-date($i) }
16 }'
17 COLUMNS
18 xs_date_format VARCHAR2(10) PATH '@xs_date_format',
19 local_format VARCHAR2(10) PATH '@local_format'
20 )
21 ;
XS_DATE_FORMAT LOCAL_FORMAT
2010-10-28 28/10/2010
{code}

Similar Messages

  • Error when call RFC Function module in R/3

    Dear All,
    We are trying to call RFC function module CBIF_GLM1_PROCESS_ORDER_READ (This is not a BAPI and also not released ) in R/3 from XI system.
    we are facing the error "Error while lookup Exception during processing the payload. Error when calling an adapter by using the communication channel CC_PPPI_MES_RFC_Rcvr (Party: , Service: WCD_320, Object ID: 16563889b449328eac76caa6a3bc592e) XI AF API call failed. Module exception: 'error while processing the request to rfc-client: com.sap.aii.adapter.rfc.afcommunication.RfcAFWException: error while processing message to remote system:com.sap.aii.adapter.rfc.core.client.RfcClientException: failed to parse BAPI response due to: com.sap.aii.adapter.rfc.util.bapi.BapiException: Parameter with name RETURN not found.'. Cause Exception: 'com.sap.aii.adapter.rfc.afcommunication.RfcAFWException: error while processing message to remote system:com.sap.aii.adapter.rfc.core.client.RfcClientException: failed to parse BAPI response due to: com.sap.aii.adapter.rfc.util.bapi.BapiException: Parameter with name RETURN not found.'."
    This is the first time we are doing this configuration.
    Could you please let me know what woulbe the reason.

    read the original message
    We are trying to call RFC function module CBIF_GLM1_PROCESS_ORDER_READ (This is not a BAPI and also not released ) in R/3 from XI system.
    I am talking about the above Receiver RFC channel which you guys are using to call R/3 from XI. That where you need to change the commit parameter

  • ERROR:When calling  a Function

    Hi all,
    i am trying to call a function from AM.and when i run the page i got this error. anbody please help me guys.
    its very urgent.
    oracle.apps.fnd.framework.OAException: Application: FND, Message Name: SQL_PLSQL_ERROR. Tokens: ROUTINE = AppsConnectionManager.appsInitialize(int,int,int,int,Connection):-1,-1,-1,0,oracle.jdbc.driver.OracleConnection@f7a4ba; REASON = java.sql.SQLException: No more data to read from socket; ERRNO = 17410; (Could not lookup message because there is no database connection)
         at oracle.apps.fnd.framework.server.OAExceptionUtils.processAOLJErrorStack(OAExceptionUtils.java:988)
         at oracle.apps.fnd.framework.OACommonUtils.processAOLJErrorStack(OACommonUtils.java:866)
         at oracle.apps.fnd.framework.CreateIcxSession.getEncryptedSessId(CreateIcxSession.java:219)
         at oracle.apps.fnd.framework.CreateIcxSession.createSession(CreateIcxSession.java:80)
         at runregion.jspService(runregion.jsp:96)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)
    ## Detail 0 ##
    oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND_GENERIC_MESSAGE. Tokens: MESSAGE = java.sql.SQLException: No more data to read from socket; (Could not lookup message because there is no database connection)
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:888)
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:862)
         at oracle.apps.fnd.framework.server.OAExceptionUtils.processAOLJErrorStack(OAExceptionUtils.java:980)
         at oracle.apps.fnd.framework.OACommonUtils.processAOLJErrorStack(OACommonUtils.java:866)
         at oracle.apps.fnd.framework.CreateIcxSession.getEncryptedSessId(CreateIcxSession.java:219)
         at oracle.apps.fnd.framework.CreateIcxSession.createSession(CreateIcxSession.java:80)
         at runregion.jspService(runregion.jsp:96)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)
    ## Detail 0 ##
    java.sql.SQLException: No more data to read from socket
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
         at oracle.jdbc.dbaccess.DBError.check_error(DBError.java:1160)
         at oracle.jdbc.ttc7.MAREngine.unmarshalUB1(MAREngine.java:963)
         at oracle.jdbc.ttc7.MAREngine.unmarshalSB1(MAREngine.java:893)
         at oracle.jdbc.ttc7.Oopen.receive(Oopen.java:105)
         at oracle.jdbc.ttc7.TTC7Protocol.open(TTC7Protocol.java:611)
         at oracle.jdbc.driver.OracleStatement.open(OracleStatement.java:576)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2809)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:622)
         at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:698)
         at oracle.apps.fnd.security.AppsConnectionManager.appsInitialize(AppsConnectionManager.java:472)
         at oracle.apps.fnd.security.AppsConnectionManager.borrowConnection(AppsConnectionManager.java:319)
         at oracle.apps.fnd.common.Context.borrowConnection(Context.java:1773)
         at oracle.apps.fnd.common.AppsContext.getPrivateConnectionFinal(AppsContext.java:2460)
         at oracle.apps.fnd.common.AppsContext.getPrivateConnection(AppsContext.java:2398)
         at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:2257)
         at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:2072)
         at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:1976)
         at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:1993)
         at oracle.apps.fnd.common.Context.getJDBCConnection(Context.java:1541)
         at oracle.apps.fnd.framework.CreateIcxSession.getConnection(CreateIcxSession.java:559)
         at oracle.apps.fnd.framework.CreateIcxSession.getIntValue(CreateIcxSession.java:346)
         at oracle.apps.fnd.framework.CreateIcxSession.getUserID(CreateIcxSession.java:323)
         at oracle.apps.fnd.framework.CreateIcxSession.getEncryptedSessId(CreateIcxSession.java:148)
         at oracle.apps.fnd.framework.CreateIcxSession.createSession(CreateIcxSession.java:80)
         at runregion.jspService(runregion.jsp:96)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)
    oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND_GENERIC_MESSAGE. Tokens: MESSAGE = java.sql.SQLException: No more data to read from socket; (Could not lookup message because there is no database connection)
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:888)
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:862)
         at oracle.apps.fnd.framework.server.OAExceptionUtils.processAOLJErrorStack(OAExceptionUtils.java:980)
         at oracle.apps.fnd.framework.OACommonUtils.processAOLJErrorStack(OACommonUtils.java:866)
         at oracle.apps.fnd.framework.CreateIcxSession.getEncryptedSessId(CreateIcxSession.java:219)
         at oracle.apps.fnd.framework.CreateIcxSession.createSession(CreateIcxSession.java:80)
         at runregion.jspService(runregion.jsp:96)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)
    ## Detail 0 ##
    java.sql.SQLException: No more data to read from socket
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
         at oracle.jdbc.dbaccess.DBError.check_error(DBError.java:1160)
         at oracle.jdbc.ttc7.MAREngine.unmarshalUB1(MAREngine.java:963)
         at oracle.jdbc.ttc7.MAREngine.unmarshalSB1(MAREngine.java:893)
         at oracle.jdbc.ttc7.Oopen.receive(Oopen.java:105)
         at oracle.jdbc.ttc7.TTC7Protocol.open(TTC7Protocol.java:611)
         at oracle.jdbc.driver.OracleStatement.open(OracleStatement.java:576)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2809)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:622)
         at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:698)
         at oracle.apps.fnd.security.AppsConnectionManager.appsInitialize(AppsConnectionManager.java:472)
         at oracle.apps.fnd.security.AppsConnectionManager.borrowConnection(AppsConnectionManager.java:319)
         at oracle.apps.fnd.common.Context.borrowConnection(Context.java:1773)
         at oracle.apps.fnd.common.AppsContext.getPrivateConnectionFinal(AppsContext.java:2460)
         at oracle.apps.fnd.common.AppsContext.getPrivateConnection(AppsContext.java:2398)
         at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:2257)
         at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:2072)
         at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:1976)
         at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:1993)
         at oracle.apps.fnd.common.Context.getJDBCConnection(Context.java:1541)
         at oracle.apps.fnd.framework.CreateIcxSession.getConnection(CreateIcxSession.java:559)
         at oracle.apps.fnd.framework.CreateIcxSession.getIntValue(CreateIcxSession.java:346)
         at oracle.apps.fnd.framework.CreateIcxSession.getUserID(CreateIcxSession.java:323)
         at oracle.apps.fnd.framework.CreateIcxSession.getEncryptedSessId(CreateIcxSession.java:148)
         at oracle.apps.fnd.framework.CreateIcxSession.createSession(CreateIcxSession.java:80)
         at runregion.jspService(runregion.jsp:96)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)

    its very urgent.Oh no! Sorry I couldn't respond sooner - I do hope the patient who was undergoing his critical surgery that obviously was held up because you couldn't call your function has survived!
    Looks like the connection was dropped/terminated. What does your function do? You haven't really given any information whatsoever that would enable someone to help you (such as version, perhaps a code snippet, etc)
    John

  • Weird error when calling AS function to switch state from embedded HTML page

    Hey everyone,
    I'm developing an application that has 5 states in it. The
    welcome state is set by default. I wrote a function called
    changeState that looks like this:
    internal function changeState(sState:String):void
    currentState = sState;
    Now, inside the registration state, there is an mx:HTML
    component named htmlReg with the following attribute:
    htmlDOMInitialize="htmlReg.htmlLoader.window.changeState =
    changeState;"
    Inside the plain handcoded HTML web page that's loaded,
    there's a button that looks like this:
    <button onClick="changeState('Welcome')">Back to
    Welcome</button>
    The idea being, when the user clicks the HTML button, it
    calls the AS function changeState('Welcome') and the user gets
    taken back to the welcome screen.
    The good news is that when I click this button, it works
    fine, and I'm taken back to the welcome state.
    The bad news is that when I then switch to another state
    (using an mx:Button in the welcome state), I get the following
    error:
    TypeError: Error #1009: Cannot access a property or method of
    a null object reference.
    at flash.html::HTMLLoader/onFocusOut()
    I'm having trouble figuring out why this is happening, and
    what to do about it.
    Two additional data points:
    1) If I add an mx:Button to the registration state with a
    click="changeState('Welcome')" handler, it works as expected and I
    don't get an error. I only get this error when clicking the HTML
    button, which calls the same function in the same way.
    2) If I move the mx:HTML component out of the registration
    state and into the main application, I don't get this error any
    more (and the HTML state change button still works as expected).
    Anybody have any clues or ideas as to what might be
    happening? Or ideas as to what I might try to collect more data
    points? Or even workarounds to accomplish the same task in a
    different way?
    Thanks in advance.

    Probably what is happening is that when you change states,
    the HTML control is removed from the stage. However, the HTMLLoader
    (which is wrapped by mx:HTML) does seem to know that it has been
    removed, and losing focus, it's internal handler for the focusOut
    event access some property that requires it to be on the stage --
    hence the null object reference.
    You should report this bug at
    http://www.adobe.com/go/wish
    and provide a sample that demonstrates the issue.
    A workaround might be to change the focus to another object
    with stage.assignFocus() before you change states.

  • Orcl:query-database gives error when using to_char function in select stmt

    hi
    Use Case : We get a csv file ("bank_import_<MMDDYYYYY>.csv") from the bank containing the transactions occured for the month. The date in the filename is retrieved into string and i need to convert this string to the format "MON-DD-YYYY". This is the required format for an header table which takes this string as primary key.
    Code:
    statement_name = '11302206'.........
    <copy>
    <from expression="concat("'select to_char(to_date('",bpws:getVariableData('statement_name') ,"','MMDDYYYY'),'MON-DD-YYYY') from dual'")"/>
    <to variable="xpath"/>
    </copy>
    <copy>
    <from expression="orcl:query-database(bpws:getVariableData('xpath'),false(),false(),'jdbc:oracle:thin:apps/apps@croaker:1529:RSICMI')"/>
    <to variable="statement_name"/>
    </copy>
    Error:
    [2006/12/06 19:13:04] Updated variable "xpath" less
    <xpath>'select to_char(to_date('10302006','MMDDYYYY'),'MON-DD-YYYY') from dual'</xpath>
    [2006/12/06 19:13:04] "XPathException" has been thrown. less
    XPath expression failed to execute.
    Error while processing xpath expression, the expression is "orcl:query-database(bpws:getVariableData("xpath"), false(), false(), "jdbc:oracle:thin:apps/apps@croaker:1529:RSICMI")", the reason is .
    Please verify the xpath query.
    Log Message:
    <2006-12-06 19:13:04,595> <DEBUG> <UAT.collaxa.cube.xml> <XPathUtil::evaluate> XPathQuery[concat("'select to_char(to_date('", bpws:getVariableData("statement_name"), "','MMDDYYYY'),'MON-DD-YYYY') from dual'")], XPath Result: class=java.lang.String value='select to_char(to_date('10302006','MMDDYYYY'),'MON-DD-YYYY') from dual'
    <2006-12-06 19:13:04,595> <DEBUG> <UAT.collaxa.cube.xml> <XPathUtil::initXPath> namespaceMapping is: rootMap: {bpws=http://schemas.xmlsoap.org/ws/2003/03/business-process/, xp20=http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20, ns4=http://xmlns.oracle.com/pcbpel/adapter/db/top/BAIBankUpload, ldap=http://schemas.oracle.com/xpath/extension/ldap, xsd=http://www.w3.org/2001/XMLSchema, ns5=http://xmlns.oracle.com/pcbpel/adapter/file/, client=http://xmlns.oracle.com/BAI_BankUpload, ora=http://schemas.oracle.com/xpath/extension, ns1=http://xmlns.oracle.com/pcbpel/adapter/file/readBAIBankImportCSV/, ns3=http://TargetNamespace.com/readBAIBankImportCSV, ns2=http://xmlns.oracle.com/pcbpel/adapter/db/Insert_SI_CE_STATEMENT_LINES_INT/, bpelx=http://schemas.oracle.com/bpel/extension, orcl=http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc, =http://schemas.xmlsoap.org/ws/2003/03/business-process/}
    scopedMap: {}
    <2006-12-06 19:13:04,751> <DEBUG> <UAT.collaxa.cube.xml> <XPathUtil::evaluate> XPathQuery :orcl:query-database(bpws:getVariableData("xpath"), false(), false(), "jdbc:oracle:thin:apps/apps@croakercom:1529:RSICMI")
    org.collaxa.thirdparty.jaxen.FunctionCallException
         at org.collaxa.thirdparty.jaxen.FunctionCallException.fillInStackTrace(FunctionCallException.java:124)
         at java.lang.Throwable.<init>(Throwable.java:195)
         at java.lang.Exception.<init>(Exception.java:41)
         at org.collaxa.thirdparty.jaxen.saxpath.SAXPathException.<init>(SAXPathException.java:83)
         at org.collaxa.thirdparty.jaxen.JaxenException.<init>(JaxenException.java:82)
         at org.collaxa.thirdparty.jaxen.FunctionCallException.<init>(FunctionCallException.java:86)
         at oracle.tip.pc.services.functions.ExtFuncFunction$QueryDatabaseFunction.call(ExtFuncFunction.java:190)
         at org.collaxa.thirdparty.jaxen.expr.DefaultFunctionCallExpr.evaluate(DefaultFunctionCallExpr.java:184)
         at org.collaxa.thirdparty.jaxen.expr.DefaultXPathExpr.asList(DefaultXPathExpr.java:107)
         at org.collaxa.thirdparty.jaxen.BaseXPath.selectNodesForContext(BaseXPath.java:724)
         at org.collaxa.thirdparty.jaxen.BaseXPath.selectNodes(BaseXPath.java:253)
         at org.collaxa.thirdparty.jaxen.BaseXPath.evaluate(BaseXPath.java:210)
         at com.collaxa.cube.xml.xpath.XPathUtil.evaluate(XPathUtil.java:93)
         at com.collaxa.cube.engine.ext.wmp.BPELAssignWMP.evalFromValue(BPELAssignWMP.java:501)
         at com.collaxa.cube.engine.ext.wmp.BPELAssignWMP.__executeStatements(BPELAssignWMP.java:122)
         at com.collaxa.cube.engine.ext.wmp.BPELActivityWMP.perform(BPELActivityWMP.java:188)
         at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:3408)
         at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1836)
         at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal(PerformMessageHandler.java:75)
         at com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage(DispatchHelper.java:166)
         at com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory(DispatchHelper.java:252)
         at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:5438)
         at com.collaxa.cube.engine.CubeEngine.createAndInvoke(CubeEngine.java:1217)
         at com.collaxa.cube.engine.delivery.DeliveryService.handleInvoke(DeliveryService.java:511)
         at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean.handleInvoke(CubeDeliveryBean.java:335)
         at ICubeDeliveryLocalBean_StatelessSessionBeanWrapper16.handleInvoke(ICubeDeliveryLocalBean_StatelessSessionBeanWrapper16.java:1796)
         at com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessageHandler.handle(InvokeInstanceMessageHandler.java:37)
         at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:125)
         at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseScheduledWorker.java:70)
         at com.collaxa.cube.engine.ejb.impl.WorkerBean.onMessage(WorkerBean.java:86)
         at com.evermind.server.ejb.MessageDrivenBeanInvocation.run(MessageDrivenBeanInvocation.java:123)
         at com.evermind.server.ejb.MessageDrivenHome.onMessage(MessageDrivenHome.java:755)
         at com.evermind.server.ejb.MessageDrivenHome.run(MessageDrivenHome.java:928)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
         at java.lang.Thread.run(Thread.java:534)
    Root cause:
    java.lang.ClassCastException
         at oracle.tip.pc.services.functions.ExtFuncFunction$QueryDatabaseFunction.call(ExtFuncFunction.java:158)
         at org.collaxa.thirdparty.jaxen.expr.DefaultFunctionCallExpr.evaluate(DefaultFunctionCallExpr.java:184)
         at org.collaxa.thirdparty.jaxen.expr.DefaultXPathExpr.asList(DefaultXPathExpr.java:107)
         at org.collaxa.thirdparty.jaxen.BaseXPath.selectNodesForContext(BaseXPath.java:724)
         at org.collaxa.thirdparty.jaxen.BaseXPath.selectNodes(BaseXPath.java:253)
         at org.collaxa.thirdparty.jaxen.BaseXPath.evaluate(BaseXPath.java:210)
         at com.collaxa.cube.xml.xpath.XPathUtil.evaluate(XPathUtil.java:93)
         at com.collaxa.cube.engine.ext.wmp.BPELAssignWMP.evalFromValue(BPELAssignWMP.java:501)
         at com.collaxa.cube.engine.ext.wmp.BPELAssignWMP.__executeStatements(BPELAssignWMP.java:122)
         at com.collaxa.cube.engine.ext.wmp.BPELActivityWMP.perform(BPELActivityWMP.java:188)
         at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:3408)
         at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1836)
         at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal(PerformMessageHandler.java:75)
         at com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage(DispatchHelper.java:166)
         at com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory(DispatchHelper.java:252)
         at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:5438)
         at com.collaxa.cube.engine.CubeEngine.createAndInvoke(CubeEngine.java:1217)
         at com.collaxa.cube.engine.delivery.DeliveryService.handleInvoke(DeliveryService.java:511)
         at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean.handleInvoke(CubeDeliveryBean.java:335)
         at ICubeDeliveryLocalBean_StatelessSessionBeanWrapper16.handleInvoke(ICubeDeliveryLocalBean_StatelessSessionBeanWrapper16.java:1796)
         at com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessageHandler.handle(InvokeInstanceMessageHandler.java:37)
         at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:125)
         at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseScheduledWorker.java:70)
         at com.collaxa.cube.engine.ejb.impl.WorkerBean.onMessage(WorkerBean.java:86)
         at com.evermind.server.ejb.MessageDrivenBeanInvocation.run(MessageDrivenBeanInvocation.java:123)
         at com.evermind.server.ejb.MessageDrivenHome.onMessage(MessageDrivenHome.java:755)
         at com.evermind.server.ejb.MessageDrivenHome.run(MessageDrivenHome.java:928)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
         at java.lang.Thread.run(Thread.java:534)
    <2006-12-06 19:13:04,751> <ERROR> <UAT.collaxa.cube.xml> ORABPEL-09500
    XPath expression failed to execute.
    Error while processing xpath expression, the expression is "orcl:query-database(bpws:getVariableData("xpath"), false(), false(), "jdbc:oracle:thin:apps/apps@croaker:1529:RSICMI")", the reason is .
    Please verify the xpath query.

    Hi,
    QAbdul wrote:
    when I tried to execute the followingin XMLQuery by calling TO_CHAR() whithin this query I am getting this error"ORA-19237: XP0017 - unable to resolve call to function - fn:TO_CHARTO_CHAR is a SQL function, XQuery is unaware of it.
    XPath 2.0 specifications define a fn:format-date function but Oracle has not included yet in its XQuery implementation.
    Easiest way to go is A_Non's solution, but if you need to format at multiple places in the query, you can declare a local XQuery function.
    For example, to format to "DD/MM/YYYY" from the canonical xs:date format "YYYY-MM-DD" :
    {code}
    declare function local:format-date($d as xs:date) as xs:string
    let $s := xs:string($d)
    return concat(
    substring($s, 10, 2), "/",
    substring($s, 7, 2), "/",
    substring($s, 2, 4)
    {code}
    and an example of use :
    {code}
    SQL> CREATE TABLE test_xqdate AS SELECT sysdate dt FROM dual;
    Table created
    SQL> SELECT *
    2 FROM XMLTable(
    3 'declare function local:format-date($d as xs:date) as xs:string
    4 {
    5 let $s := xs:string($d)
    6 return concat(
    7 substring($s, 10, 2), "/",
    8 substring($s, 7, 2), "/",
    9 substring($s, 2, 4)
    10 )
    11 }; (: :)
    12 for $i in ora:view("TEST_XQDATE")/ROW/DT
    13 return element e {
    14 attribute xs_date_format { $i/text() },
    15 attribute local_format { local:format-date($i) }
    16 }'
    17 COLUMNS
    18 xs_date_format VARCHAR2(10) PATH '@xs_date_format',
    19 local_format VARCHAR2(10) PATH '@local_format'
    20 )
    21 ;
    XS_DATE_FORMAT LOCAL_FORMAT
    2010-10-28 28/10/2010
    {code}

  • Error when call a function in other scheme

    Hi
    I have a function in a scheme
       OWNER1.FNOMEUSERi give grant from OWNER1 TO owner2
    GRANT EXECUTE ON OWNER1.FNOMEUSER TO OWNER2;But when I call the funcion in Owner2, It show me error
    select  Owner1.FNOMEUSER('teste')    from dual
    ORA-00904: : invalid identifierSomebody Know Why ?
    Edited by: muttleychess on Nov 30, 2009 3:42 PM

    Only that after Grant in a Owner I connect in other owner for to execute SELECT return me errorClear as MUD!
    Grant in a OwnerWhich GRANT?
    Which Owner?
    I connect in other ownerOther Owner?
    as in ID10T?
    Is CUT & PASTE broken for you?
    Why do you describe using obsucre references & indefinite pronouns.
    PLEASE use CUT & PASTE of whole session so we can see totally what you do & how Oracle responds.
    SHOW us; do not tell us!

  • UTIL-PARAM STRING ERROR when calling a form from OAF Page

    Dear Experts,
    Can you please suggest, as we are getting the below error when we are calling a form from OAF page.
    "UTIL-PARAM STRING ERROR"
    We have created a button to call the same and the syntax used is as below.
    form:PA:OLNG_MOC_PROJECTS_ENGINEER:STANDARD:PA_PAXCARVW:PROJECT_NUMBER={@ProjectNumber}
    Thanks in advance,
    Satish

    Hi all,
    I have a Personalized Button, my button call a customized form (with a parameter named TAINV_PARAM). Function of customized Form is TAINV_FORM
    In OAF page, I have a text, it's values is 'TAINV', it's ID is VALUES_ATTRIBUTE (you can show source code in browser).
    In Destination URL of Personalized Button, fill code to call Customized Form:
    *javascript: var v_get_value=document.GetElementById(VALUES_ATTRIBUTE).innerHTML;openWindow(top, 'OA.jsp?OAFunc=TAINV_FORM&TAINV_PARAM'+v_get_value,null, {width:750, height:550},false, 'dialog', null);void(0);*
    Regards,
    TAINV

  • Segmentation fault when calling gpctr function from matlab mex file

    I am trying to write a simple mex file for square wave generation using counter1 of PCI-6035E. I am using matlab's native compiler to compile and link with the nidaq32 library, ver.6.9.3, with no errors. When the mex function is called from a matlab script, however, the program crashes at the first call, to reset the counter. (I can generate a square wave with the test panel.)

    Sorry for the delay in responding. I got caught up in other stuff. I am attaching my little program as requested. As you can see, I have just wrapped a mexFunction call round the example code for square wave generation. After I posted this, I tracked down a copy of BorlandC++, installed it on my computer and recompiled using that compiler and *b.* libraries. And would you know it, the program works. The question remains, though, why it doesn't work with Matlab's native lcc compiler. Plus, I have limited disk space, so if I can do without BorlandC, I can use the extra room. The runtime error was a Segmentation fault that I traced to the first call to GPCTR_Control.
    Attachments:
    pulsegen.c ‏4 KB

  • Executable created in LabVIEW 7.1 containing Call Library Function Node runs but creates error when Call Library Function Node is executed

    I have created a simplee application that controls a piece of equipment with all control via a supplied dll.  Hence, there are a number of Call Library Function Nodes within the code and a modicum of other LabVIEW code.  Everything works fine as a LabVIEW application, but when converted to an executable, although the application runs and functions, as soon as any Call Library Function Node is executed, calling from the dll, I get the C++ debug error in the attachment.
    Is this something that I can solve from within LabVIEW, or is the problem likely buried in the dll?
    Damian
    Attachments:
    CLFN error.JPG ‏22 KB

    Hi Wise,
    Try building an executable from a very simple VI that makes one call to the dll. Have you also try using the Call Library Function node on other simple dlls that you know will work?
    Regards,
    Stanley Hu
    National Instruments
    Applications Engineering
    http://www.ni.com/support

  • Error when calling a procedure from my apex application

    Hello.
    I want to create a small APEX application that can configure asynchronous change data capture (distributed hotlog) on certain tables.
    Basically, what the application should do is to simply create change tables. Everything else is set up as prerequisite.
    My problem is that when I run the following script from schema apex_cdd (using sqldeveloper) , it works; but if I run it from my apex application by calling it when pressing a button as a pl/sql process, it doen't work.
    BEGIN
    apex_cdc.enable_table_capture
         (     i_owner => 'staging_cdcpub',
              i_change_table_name     => 'g_changeTable',
              i_change_set_name     => 'Source_changeSet',
              i_change_source          => 'orcl01_cs',
              i_source_schema          => 'My_src',
              i_source_table          => 'G',
              i_column_type_list     => 'STARTDATE DATE,STATUS CHAR(1),NAME VARCHAR2(10),ENDDATE DATE,DESCRIPTION VARCHAR2(255),ID NUMBER(8,0),VALUE NUMBER(10,2)'
    END;
    If I look in the trace file, i see that the error is:
    CDCdebug:in ChangeTable.java enableDisabledTriggers: ORA-06550: line 1, column 8:
    PLS-00201: identifier 'SYS.DBMS_CDC_SYS_IPUBLISH' must be declared
    ORA-06550: line 1, column 8:
    PL/SQL: Statement ignored
    oracle.jdbc.driver.OracleSQLException: ORA-06550: line 1, column 8:
    PLS-00201: identifier 'SYS.DBMS_CDC_SYS_IPUBLISH' must be declared
    ORA-06550: line 1, column 8:
    PL/SQL: Statement ignored
    Other remarks:
    - My procedure calls: sys.DBMS_CDC_PUBLISH.CREATE_CHANGE_TABLE.
    - I gave the same rights that I gave for apex_cdc schema to flows_030200 and APEX_PUBLIC_USER schemas (just to see if it works), but it doens't.
    Is APEX calling the procedure from another schema ?
    Does anyone has an idea why this procedure crashes if called from APEX application, but works ok if called from the same schema APEX application runs on, but using SQLDeveloper ?
    Any thoughts are appreciated.
    Radian

    The procedure apex_cdc.enable_table_capture i created myself with no authid mentioned explicitly, so it uses definer rights, by default.
    BUt this procedure is simply a wrapper for sys.dbms_cdc_publish.create_change_table.
    When I look on the security model for this sys.dbms_cdc_publish, i see it runs under invoker rights. (http://www.psoug.org/reference/dbms_cdc_publish.html).
    The code is like this:
    CREATE OR REPLACE PROCEDURE enable_table_capture
              i_owner               IN VARCHAR2,
              i_change_table_name     IN VARCHAR2,
              i_change_set_name     IN VARCHAR2,
              i_change_source          IN VARCHAR2,
              i_source_schema          IN VARCHAR2,
              i_source_table          IN VARCHAR2,
              i_column_type_list     IN VARCHAR2
         IS
         BEGIN
              EXECUTE IMMEDIATE 'alter session set REMOTE_DEPENDENCIES_MODE=SIGNATURE';
              EXECUTE IMMEDIATE 'begin add_log@orcl01(i_tableName => ''G''); end;';
    sys.DBMS_CDC_PUBLISH.CREATE_CHANGE_TABLE(
    owner => i_owner,
    change_table_name => i_change_table_name,
    change_set_name => i_change_set_name,
    source_schema => i_source_schema,
    source_table => i_source_table,
    column_type_list => i_column_type_list,
    capture_values => 'both',
    rs_id => 'y',
    row_id => 'n',
    user_id => 'n',
    timestamp => 'y',
    object_id => 'n',
    source_colmap => 'n',
    target_colmap => 'y',
    options_string => NULL);
    END enable_table_capture;

  • Error when calling BPEL process from web service client

    I have created three projects here ,there're no problem when testing Composite Application(SynchronousSampleApplication) by test case inside this project.
    When I create a Java Application(SynchronousSampleApp),inside this project I've created a web service client from file WSDL of BPEL. After that, In Main class, I call an operation from web service client.But have the following error:
    Jul 17, 2008 4:48:22 PM synchronoussampleapp.Main main
    SEVERE: null
    java.rmi.RemoteException: HTTP transport error: java.net.MalformedURLException: For input string: "${HttpDefaultPort}"; nested exception is:
    HTTP transport error: java.net.MalformedURLException: For input string: "${HttpDefaultPort}"
    at SynSample.SynchronuosSamplePortType_Stub.synchronuosSampleOperation(SynchronuosSamplePortType_Stub.java:83)
    at synchronoussampleapp.Main.main(Main.java:24)
    Caused by: HTTP transport error: java.net.MalformedURLException: For input string: "${HttpDefaultPort}"
    at com.sun.xml.rpc.client.http.HttpClientTransport.invoke(HttpClientTransport.java:140)
    at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:96)
    at SynSample.SynchronuosSamplePortType_Stub.synchronuosSampleOperation(SynchronuosSamplePortType_Stub.java:67)
    ... 1 more
    Please help me soon. Thanks very much!

    Can't anyone help me? I'm using Netbean 6.1 and Glassfish server.
    Do I need any additional plugin?

  • Error when calling remote EJB from my application

    hi
    I am getting the following error when i am trying to call a remote EJB from my application.
    Can any help me out regarding this issue
    javax.naming.ConfigurationException: COS Name Service not registered with ORB under the name 'NameService'. Root exception is org.omg.CORBA.ORBPackage.InvalidName: NameService:org.omg.CORBA.COMM_FAILURE: purge_calls:1500 reason=1 state=5 vmcid: IBM minor code: 306 completed: Maybe
         at com.ibm.rmi.corba.InitialReferenceClient.resolve_initial_references(InitialReferenceClient.java:218)
         at com.ibm.rmi.corba.ORB.resolve_initial_references(ORB.java:4428)
         at com.ibm.rmi.iiop.ORB.resolve_initial_references(ORB.java:654)
         at com.ibm.CORBA.iiop.ORB.resolve_initial_references(ORB.java:3363)
         at com.sun.jndi.cosnaming.CNCtx.setOrbAndRootContext(CNCtx.java:387)
         at com.sun.jndi.cosnaming.CNCtx.initUsingIiopUrl(CNCtx.java:330)
         at com.sun.jndi.cosnaming.CNCtx.initUsingUrl(CNCtx.java:285)
         at com.sun.jndi.cosnaming.CNCtx.initOrbAndRootContext(CNCtx.java:236)
         at com.sun.jndi.cosnaming.CNCtx.<init>(CNCtx.java:84)
         at com.sun.jndi.cosnaming.CNCtxFactory.getInitialContext(CNCtxFactory.java:50)
         at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:675)
         at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:257)
         at javax.naming.InitialContext.init(InitialContext.java:233)
         at javax.naming.InitialContext.<init>(InitialContext.java:209)
         at com.ibm._jsp._invoke._jspService(_invoke.java:89)
         at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:91)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1572)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:762)
         at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:121)
         at com.ibm.ws.jsp.webcontainerext.JSPExtensionServletWrapper.handleRequest(JSPExtensionServletWrapper.java:204)
         at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3071)
         at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:236)
         at com.ibm.ws.webcontainer.VirtualHost.handleRequest(VirtualHost.java:210)
         at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1958)
         at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:109)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:472)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:411)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:288)
         at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminaters(NewConnectionInitialReadCallback.java:207)
         at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:109)
         at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:566)
         at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:619)
         at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:952)
         at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1039)
         at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1471)
    Caused by: org.omg.CORBA.COMM_FAILURE: purge_calls:1500 reason=1 state=5 vmcid: IBM minor code: 306 completed: Maybe
         at com.ibm.rmi.iiop.Connection.purge_calls(Connection.java:1499)
         at com.ibm.rmi.iiop.Connection.doReaderWorkOnce(Connection.java:2702)
         at com.ibm.rmi.transport.ReaderThread.run(ReaderPoolImpl.java:137)
    [4/26/07 19:35:11:727 IST] 00000053 SystemErr R      at com.ibm.rmi.corba.InitialReferenceClient.resolve_initial_references(InitialReferenceClient.java:218)
    [4/26/07 19:35:11:727 IST] 00000053 SystemErr R      at com.ibm.rmi.corba.ORB.resolve_initial_references(ORB.java:4428)
    [4/26/07 19:35:11:727 IST] 00000053 SystemErr R      at com.ibm.rmi.iiop.ORB.resolve_initial_references(ORB.java:654)
    [4/26/07 19:35:11:727 IST] 00000053 SystemErr R      at com.ibm.CORBA.iiop.ORB.resolve_initial_references(ORB.java:3363)
    [4/26/07 19:35:11:727 IST] 00000053 SystemErr R      at com.sun.jndi.cosnaming.CNCtx.setOrbAndRootContext(CNCtx.java:387)
    [4/26/07 19:35:11:727 IST] 00000053 SystemErr R      at com.sun.jndi.cosnaming.CNCtx.initUsingIiopUrl(CNCtx.java:330)
    [4/26/07 19:35:11:727 IST] 00000053 SystemErr R      at com.sun.jndi.cosnaming.CNCtx.initUsingUrl(CNCtx.java:285)
    [4/26/07 19:35:11:727 IST] 00000053 SystemErr R      at com.sun.jndi.cosnaming.CNCtx.initOrbAndRootContext(CNCtx.java:236)
    [4/26/07 19:35:11:727 IST] 00000053 SystemErr R      at com.sun.jndi.cosnaming.CNCtx.<init>(CNCtx.java:84)
    [4/26/07 19:35:11:727 IST] 00000053 SystemErr R      at com.sun.jndi.cosnaming.CNCtxFactory.getInitialContext(CNCtxFactory.java:50)
    [4/26/07 19:35:11:727 IST] 00000053 SystemErr R      at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:675)
    [4/26/07 19:35:11:727 IST] 00000053 SystemErr R      at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:257)
    [4/26/07 19:35:11:727 IST] 00000053 SystemErr R      at javax.naming.InitialContext.init(InitialContext.java:233)
    [4/26/07 19:35:11:727 IST] 00000053 SystemErr R      at javax.naming.InitialContext.<init>(InitialContext.java:209)
    [4/26/07 19:35:11:727 IST] 00000053 SystemErr R      at com.ibm._jsp._invoke._jspService(_invoke.java:89)
    [4/26/07 19:35:11:727 IST] 00000053 SystemErr R      at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:91)
    [4/26/07 19:35:11:727 IST] 00000053 SystemErr R      at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    [4/26/07 19:35:11:727 IST] 00000053 SystemErr R      at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1572)
    [4/26/07 19:35:11:727 IST] 00000053 SystemErr R      at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:762)
    [4/26/07 19:35:11:727 IST] 00000053 SystemErr R      at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:121)
    [4/26/07 19:35:11:727 IST] 00000053 SystemErr R      at com.ibm.ws.jsp.webcontainerext.JSPExtensionServletWrapper.handleRequest(JSPExtensionServletWrapper.java:204)
    [4/26/07 19:35:11:727 IST] 00000053 SystemErr R      at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3071)
    [4/26/07 19:35:11:727 IST] 00000053 SystemErr R      at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:236)
    [4/26/07 19:35:11:727 IST] 00000053 SystemErr R      at com.ibm.ws.webcontainer.VirtualHost.handleRequest(VirtualHost.java:210)
    [4/26/07 19:35:11:727 IST] 00000053 SystemErr R      at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1958)
    [4/26/07 19:35:11:727 IST] 00000053 SystemErr R      at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:109)
    [4/26/07 19:35:11:727 IST] 00000053 SystemErr R      at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:472)
    [4/26/07 19:35:11:727 IST] 00000053 SystemErr R      at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:411)
    [4/26/07 19:35:11:727 IST] 00000053 SystemErr R      at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:288)
    [4/26/07 19:35:11:727 IST] 00000053 SystemErr R      at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminaters(NewConnectionInitialReadCallback.java:207)
    [4/26/07 19:35:11:727 IST] 00000053 SystemErr R      at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:109)
    [4/26/07 19:35:11:727 IST] 00000053 SystemErr R      at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:566)
    [4/26/07 19:35:11:727 IST] 00000053 SystemErr R      at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:619)
    [4/26/07 19:35:11:727 IST] 00000053 SystemErr R      at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:952)
    [4/26/07 19:35:11:727 IST] 00000053 SystemErr R      at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1039)
    [4/26/07 19:35:11:727 IST] 00000053 SystemErr R      at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1471)
    [4/26/07 19:35:11:727 IST] 00000053 SystemErr R Caused by: org.omg.CORBA.COMM_FAILURE: purge_calls:1500 reason=1 state=5 vmcid: IBM minor code: 306 completed: Maybe
    [4/26/07 19:35:11:727 IST] 00000053 SystemErr R      at com.ibm.rmi.iiop.Connection.purge_calls(Connection.java:1499)
    [4/26/07 19:35:11:727 IST] 00000053 SystemErr R      at com.ibm.rmi.iiop.Connection.doReaderWorkOnce(Connection.java:2702)
    [4/26/07 19:35:11:727 IST] 00000053 SystemErr R      at com.ibm.rmi.transport.ReaderThread.run(ReaderPoolImpl.java:137)
    [4/26/07 19:35:11:727 IST] 00000054 SystemErr R javax.naming.ConfigurationException: COS Name Service not registered with ORB under the name 'NameService'. Root exception is org.omg.CORBA.ORBPackage.InvalidName: NameService:org.omg.CORBA.COMM_FAILURE: purge_calls:1500 reason=1 state=5 vmcid: IBM minor code: 306 completed: Maybe
         at com.ibm.rmi.corba.InitialReferenceClient.resolve_initial_references(InitialReferenceClient.java:218)
         at com.ibm.rmi.corba.ORB.resolve_initial_references(ORB.java:4428)
         at com.ibm.rmi.iiop.ORB.resolve_initial_references(ORB.java:654)
         at com.ibm.CORBA.iiop.ORB.resolve_initial_references(ORB.java:3363)
         at com.sun.jndi.cosnaming.CNCtx.setOrbAndRootContext(CNCtx.java:387)
         at com.sun.jndi.cosnaming.CNCtx.initUsingIiopUrl(CNCtx.java:330)
         at com.sun.jndi.cosnaming.CNCtx.initUsingUrl(CNCtx.java:285)
         at com.sun.jndi.cosnaming.CNCtx.initOrbAndRootContext(CNCtx.java:236)
         at com.sun.jndi.cosnaming.CNCtx.<init>(CNCtx.java:84)
         at com.sun.jndi.cosnaming.CNCtxFactory.getInitialContext(CNCtxFactory.java:50)
         at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:675)
         at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:257)
         at javax.naming.InitialContext.init(InitialContext.java:233)
         at javax.naming.InitialContext.<init>(InitialContext.java:209)
         at com.ibm._jsp._invoke._jspService(_invoke.java:89)
         at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:91)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1572)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:762)
         at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:121)
         at com.ibm.ws.jsp.webcontainerext.JSPExtensionServletWrapper.handleRequest(JSPExtensionServletWrapper.java:204)
         at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3071)
         at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:236)
         at com.ibm.ws.webcontainer.VirtualHost.handleRequest(VirtualHost.java:210)
         at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1958)
         at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:109)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:472)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:411)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:288)
         at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminaters(NewConnectionInitialReadCallback.java:207)
         at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:109)
         at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:566)
         at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:619)
         at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:952)
         at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1039)
         at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1471)
    Caused by: org.omg.CORBA.COMM_FAILURE: purge_calls:1500 reason=1 state=5 vmcid: IBM minor code: 306 completed: Maybe
         at com.ibm.rmi.iiop.Connection.purge_calls(Connection.java:1499)
         at com.ibm.rmi.iiop.Connection.doReaderWorkOnce(Connection.java:2702)
         at com.ibm.rmi.transport.ReaderThread.run(ReaderPoolImpl.java:137)
    [4/26/07 19:35:11:742 IST] 00000054 SystemErr R      at com.ibm.rmi.corba.InitialReferenceClient.resolve_initial_references(InitialReferenceClient.java:218)
    [4/26/07 19:35:11:742 IST] 00000054 SystemErr R      at com.ibm.rmi.corba.ORB.resolve_initial_references(ORB.java:4428)
    [4/26/07 19:35:11:742 IST] 00000054 SystemErr R      at com.ibm.rmi.iiop.ORB.resolve_initial_references(ORB.java:654)
    [4/26/07 19:35:11:742 IST] 00000054 SystemErr R      at com.ibm.CORBA.iiop.ORB.resolve_initial_references(ORB.java:3363)
    [4/26/07 19:35:11:742 IST] 00000054 SystemErr R      at com.sun.jndi.cosnaming.CNCtx.setOrbAndRootContext(CNCtx.java:387)
    [4/26/07 19:35:11:742 IST] 00000054 SystemErr R      at com.sun.jndi.cosnaming.CNCtx.initUsingIiopUrl(CNCtx.java:330)
    [4/26/07 19:35:11:742 IST] 00000054 SystemErr R      at com.sun.jndi.cosnaming.CNCtx.initUsingUrl(CNCtx.java:285)
    [4/26/07 19:35:11:742 IST] 00000054 SystemErr R      at com.sun.jndi.cosnaming.CNCtx.initOrbAndRootContext(CNCtx.java:236)
    [4/26/07 19:35:11:742 IST] 00000054 SystemErr R      at com.sun.jndi.cosnaming.CNCtx.<init>(CNCtx.java:84)
    [4/26/07 19:35:11:742 IST] 00000054 SystemErr R      at com.sun.jndi.cosnaming.CNCtxFactory.getInitialContext(CNCtxFactory.java:50)
    [4/26/07 19:35:11:742 IST] 00000054 SystemErr R      at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:675)
    [4/26/07 19:35:11:742 IST] 00000054 SystemErr R      at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:257)
    [4/26/07 19:35:11:742 IST] 00000054 SystemErr R      at javax.naming.InitialContext.init(InitialContext.java:233)
    [4/26/07 19:35:11:742 IST] 00000054 SystemErr R      at javax.naming.InitialContext.<init>(InitialContext.java:209)
    [4/26/07 19:35:11:742 IST] 00000054 SystemErr R      at com.ibm._jsp._invoke._jspService(_invoke.java:89)
    [4/26/07 19:35:11:742 IST] 00000054 SystemErr R      at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:91)
    [4/26/07 19:35:11:742 IST] 00000054 SystemErr R      at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    [4/26/07 19:35:11:742 IST] 00000054 SystemErr R      at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1572)
    [4/26/07 19:35:11:742 IST] 00000054 SystemErr R      at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:762)
    [4/26/07 19:35:11:742 IST] 00000054 SystemErr R      at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:121)
    [4/26/07 19:35:11:742 IST] 00000054 SystemErr R      at com.ibm.ws.jsp.webcontainerext.JSPExtensionServletWrapper.handleRequest(JSPExtensionServletWrapper.java:204)
    [4/26/07 19:35:11:742 IST] 00000054 SystemErr R      at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3071)
    [4/26/07 19:35:11:742 IST] 00000054 SystemErr R      at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:236)
    [4/26/07 19:35:11:742 IST] 00000054 SystemErr R      at com.ibm.ws.webcontainer.VirtualHost.handleRequest(VirtualHost.java:210)
    [4/26/07 19:35:11:742 IST] 00000054 SystemErr R      at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1958)
    [4/26/07 19:35:11:742 IST] 00000054 SystemErr R      at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:109)
    [4/26/07 19:35:11:742 IST] 00000054 SystemErr R      at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:472)
    [4/26/07 19:35:11:742 IST] 00000054 SystemErr R      at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:411)
    [4/26/07 19:35:11:742 IST] 00000054 SystemErr R      at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:288)
    [4/26/07 19:35:11:742 IST] 00000054 SystemErr R      at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminaters(NewConnectionInitialReadCallback.java:207)
    [4/26/07 19:35:11:742 IST] 00000054 SystemErr R      at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:109)
    [4/26/07 19:35:11:742 IST] 00000054 SystemErr R      at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:566)
    [4/26/07 19:35:11:742 IST] 00000054 SystemErr R      at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:619)
    [4/26/07 19:35:11:742 IST] 00000054 SystemErr R      at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:952)
    [4/26/07 19:35:11:742 IST] 00000054 SystemErr R      at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1039)
    [4/26/07 19:35:11:742 IST] 00000054 SystemErr R      at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1471)
    [4/26/07 19:35:11:742 IST] 00000054 SystemErr R Caused by: org.omg.CORBA.COMM_FAILURE: purge_calls:1500 reason=1 state=5 vmcid: IBM minor code: 306 completed: Maybe
    [4/26/07 19:35:11:742 IST] 00000054 SystemErr R      at com.ibm.rmi.iiop.Connection.purge_calls(Connection.java:1499)
    [4/26/07 19:35:11:742 IST] 00000054 SystemErr R      at com.ibm.rmi.iiop.Connection.doReaderWorkOnce(Connection.java:2702)
    [4/26/07 19:35:11:742 IST] 00000054 SystemErr R      at com.ibm.rmi.transport.ReaderThread.run(ReaderPoolImpl.java:137)
    [4/26/07 19:37:22:758 IST] 00000052 SystemErr R javax.naming.ConfigurationException: COS Name Service not registered with ORB under the name 'NameService'. Root exception is org.omg.CORBA.ORBPackage.InvalidName: NameService:org.omg.CORBA.COMM_FAILURE: purge_calls:1500 reason=1 state=5 vmcid: IBM minor code: 306 completed: Maybe
         at com.ibm.rmi.corba.InitialReferenceClient.resolve_initial_references(InitialReferenceClient.java:218)
         at com.ibm.rmi.corba.ORB.resolve_initial_references(ORB.java:4428)
         at com.ibm.rmi.iiop.ORB.resolve_initial_references(ORB.java:654)
         at com.ibm.CORBA.iiop.ORB.resolve_initial_references(ORB.java:3363)
         at com.sun.jndi.cosnaming.CNCtx.setOrbAndRootContext(CNCtx.java:387)
         at com.sun.jndi.cosnaming.CNCtx.initUsingIiopUrl(CNCtx.java:330)
         at com.sun.jndi.cosnaming.CNCtx.initUsingUrl(CNCtx.java:285)
         at com.sun.jndi.cosnaming.CNCtx.initOrbAndRootContext(CNCtx.java:236)
         at com.sun.jndi.cosnaming.CNCtx.<init>(CNCtx.java:84)
         at com.sun.jndi.cosnaming.CNCtxFactory.getInitialContext(CNCtxFactory.java:50)
         at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:675)
         at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:257)
         at javax.naming.InitialContext.init(InitialContext.java:233)
         at javax.naming.InitialContext.<init>(InitialContext.java:209)
         at com.ibm._jsp._invoke._jspService(_invoke.java:89)
         at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:91)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1572)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:762)
         at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:121)
         at com.ibm.ws.jsp.webcontainerext.JSPExtensionServletWrapper.handleRequest(JSPExtensionServletWrapper.java:204)
         at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3071)
         at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:236)
         at com.ibm.ws.webcontainer.VirtualHost.handleRequest(VirtualHost.java:210)
         at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1958)
         at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:109)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:472)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:411)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:288)
         at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminaters(NewConnectionInitialReadCallback.java:207)
         at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:109)
         at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:566)
         at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:619)
         at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:952)
         at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1039)
         at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1471)
    Caused by: org.omg.CORBA.COMM_FAILURE: purge_calls:1500 reason=1 state=5 vmcid: IBM minor code: 306 completed: Maybe
         at com.ibm.rmi.iiop.Connection.purge_calls(Connection.java:1499)
         at com.ibm.rmi.iiop.Connection.doReaderWorkOnce(Connection.java:2702)
         at com.ibm.rmi.transport.ReaderThread.run(ReaderPoolImpl.java:137)
    [4/26/07 19:37:22:758 IST] 00000052 SystemErr R      at com.ibm.rmi.corba.InitialReferenceClient.resolve_initial_references(InitialReferenceClient.java:218)
    [4/26/07 19:37:22:758 IST] 00000052 SystemErr R      at com.ibm.rmi.corba.ORB.resolve_initial_references(ORB.java:4428)
    [4/26/07 19:37:22:758 IST] 00000052 SystemErr R      at com.ibm.rmi.iiop.ORB.resolve_initial_references(ORB.java:654)
    [4/26/07 19:37:22:758 IST] 00000052 SystemErr R      at com.ibm.CORBA.iiop.ORB.resolve_initial_references(ORB.java:3363)
    [4/26/07 19:37:22:758 IST] 00000052 SystemErr R      at com.sun.jndi.cosnaming.CNCtx.setOrbAndRootContext(CNCtx.java:387)
    [4/26/07 19:37:22:758 IST] 00000052 SystemErr R      at com.sun.jndi.cosnaming.CNCtx.initUsingIiopUrl(CNCtx.java:330)
    [4/26/07 19:37:22:758 IST] 00000052 SystemErr R      at com.sun.jndi.cosnaming.CNCtx.initUsingUrl(CNCtx.java:285)
    [4/26/07 19:37:22:758 IST] 00000052 SystemErr R      at com.sun.jndi.cosnaming.CNCtx.initOrbAndRootContext(CNCtx.java:236)
    [4/26/07 19:37:22:758 IST] 00000052 SystemErr R      at com.sun.jndi.cosnaming.CNCtx.<init>(CNCtx.java:84)
    [4/26/07 19:37:22:758 IST] 00000052 SystemErr R      at com.sun.jndi.cosnaming.CNCtxFactory.getInitialContext(CNCtxFactory.java:50)
    [4/26/07 19:37:22:758 IST] 00000052 SystemErr R      at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:675)
    [4/26/07 19:37:22:758 IST] 00000052 SystemErr R      at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:257)
    [4/26/07 19:37:22:758 IST] 00000052 SystemErr R      at javax.naming.InitialContext.init(InitialContext.java:233)
    [4/26/07 19:37:22:758 IST] 00000052 SystemErr R      at javax.naming.InitialContext.<init>(InitialContext.java:209)
    [4/26/07 19:37:22:758 IST] 00000052 SystemErr R      at com.ibm._jsp._invoke._jspService(_invoke.java:89)
    [4/26/07 19:37:22:758 IST] 00000052 SystemErr R      at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:91)
    [4/26/07 19:37:22:758 IST] 00000052 SystemErr R      at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    [4/26/07 19:37:22:758 IST] 00000052 SystemErr R      at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1572)
    [4/26/07 19:37:22:758 IST] 00000052 SystemErr R      at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:762)
    [4/26/07 19:37:22:758 IST] 00000052 SystemErr R      at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:121)
    [4/26/07 19:37:22:758 IST] 00000052 SystemErr R      at com.ibm.ws.jsp.webcontainerext.JSPExtensionServletWrapper.handleRequest(JSPExtensionServletWrapper.java:204)
    [4/26/07 19:37:22:758 IST] 00000052 SystemErr R      at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3071)
    [4/26/07 19:37:22:758 IST] 00000052 SystemErr R      at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:236)
    [4/26/07 19:37:22:758 IST] 00000052 SystemErr R      at com.ibm.ws.webcontainer.VirtualHost.handleRequest(VirtualHost.java:210)
    [4/26/07 19:37:22:758 IST] 00000052 SystemErr R      at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1958)
    [4/26/07 19:37:22:758 IST] 00000052 SystemErr R      at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:109)
    [4/26/07 19:37:22:758 IST] 00000052 SystemErr R      at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:472)
    [4/26/07 19:37:22:758 IST] 00000052 SystemErr R      at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:411)
    [4/26/07 19:37:22:758 IST] 00000052 SystemErr R      at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:288)
    [4/26/07 19:37:22:758 IST] 00000052 SystemErr R      at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminaters(NewConnectionInitialReadCallback.java:207)
    [4/26/07 19:37:22:758 IST] 00000052 SystemErr R      at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:109)
    [4/26/07 19:37:22:758 IST] 00000052 SystemErr R      at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:566)
    [4/26/07 19:37:22:758 IST] 00000052 SystemErr R      at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:619)
    [4/26/07 19:37:22:758 IST] 00000052 SystemErr R      at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:952)
    [4/26/07 19:37:22:758 IST] 00000052 SystemErr R      at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1039)
    [4/26/07 19:37:22:758 IST] 00000052 SystemErr R      at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1471)
    [4/26/07 19:37:22:758 IST] 00000052 SystemErr R Caused by: org.omg.CORBA.COMM_FAILURE: purge_calls:1500 reason=1 state=5 vmcid: IBM minor code: 306 completed: Maybe
    [4/26/07 19:37:22:758 IST] 00000052 SystemErr R      at com.ibm.rmi.iiop.Connection.purge_calls(Connection.java:1499)
    [4/26/07 19:37:22:758 IST] 00000052 SystemErr R      at com.ibm.rmi.iiop.Connection.doReaderWorkOnce(Connection.java:2702)
    [4/26/07 19:37:22:758 IST] 00000052 SystemErr R      at com.ibm.rmi.transport.ReaderThread.run(ReaderPoolImpl.java:137)
    [4/26/07 19:37:36:117 IST] 00000056 SystemErr R javax.naming.ConfigurationException: COS Name Service not registered with ORB under the name 'NameService'. Root exception is org.omg.CORBA.ORBPackage.InvalidName: NameService:org.omg.CORBA.COMM_FAILURE: purge_calls:1500 reason=1 state=5 vmcid: IBM minor code: 306 completed: Maybe
         at com.ibm.rmi.corba.InitialReferenceClient.resolve_initial_references(InitialReferenceClient.java:218)
         at com.ibm.rmi.corba.ORB.resolve_initial_references(ORB.java:4428)
         at com.ibm.rmi.iiop.ORB.resolve_initial_references(ORB.java:654)
         at com.ibm.CORBA.iiop.ORB.resolve_initial_references(ORB.java:3363)
         at com.sun.jndi.cosnaming.CNCtx.setOrbAndRootContext(CNCtx.java:387)
         at com.sun.jndi.cosnaming.CNCtx.initUsingIiopUrl(CNCtx.java:330)
         at com.sun.jndi.cosnaming.CNCtx.initUsingUrl(CNCtx.java:285)
         at com.sun.jndi.cosnaming.CNCtx.initOrbAndRootContext(CNCtx.java:236)
         at com.sun.jndi.cosnaming.CNCtx.<init>(CNCtx.java:84)
         at com.sun.jndi.cosnaming.CNCtxFactory.getInitialContext(CNCtxFactory.java:50)
         at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:675)
         at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:257)
         at javax.naming.InitialContext.init(InitialContext.java:233)
         at javax.naming.InitialContext.<init>(InitialContext.java:209)
         at com.ibm._jsp._invoke._jspService(_invoke.java:89)
         at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:91)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1572)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:762)
         at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:121)
         at com.ibm.ws.jsp.webcontainerext.JSPExtensionServletWrapper.handleRequest(JSPExtensionServletWrapper.java:204)
         at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3071)
         at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:236)
         at com.ibm.ws.webcontainer.VirtualHost.handleRequest(VirtualHost.java:210)
         at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1958)
         at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:109)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:472)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:411)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:288)
         at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminaters(NewConnectionInitialReadCallback.java:207)
         at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:109)
         at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:566)
         at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:619)
         at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:952)
         at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1039)
         at com.ibm.ws.util.Th

    The procedure apex_cdc.enable_table_capture i created myself with no authid mentioned explicitly, so it uses definer rights, by default.
    BUt this procedure is simply a wrapper for sys.dbms_cdc_publish.create_change_table.
    When I look on the security model for this sys.dbms_cdc_publish, i see it runs under invoker rights. (http://www.psoug.org/reference/dbms_cdc_publish.html).
    The code is like this:
    CREATE OR REPLACE PROCEDURE enable_table_capture
              i_owner               IN VARCHAR2,
              i_change_table_name     IN VARCHAR2,
              i_change_set_name     IN VARCHAR2,
              i_change_source          IN VARCHAR2,
              i_source_schema          IN VARCHAR2,
              i_source_table          IN VARCHAR2,
              i_column_type_list     IN VARCHAR2
         IS
         BEGIN
              EXECUTE IMMEDIATE 'alter session set REMOTE_DEPENDENCIES_MODE=SIGNATURE';
              EXECUTE IMMEDIATE 'begin add_log@orcl01(i_tableName => ''G''); end;';
    sys.DBMS_CDC_PUBLISH.CREATE_CHANGE_TABLE(
    owner => i_owner,
    change_table_name => i_change_table_name,
    change_set_name => i_change_set_name,
    source_schema => i_source_schema,
    source_table => i_source_table,
    column_type_list => i_column_type_list,
    capture_values => 'both',
    rs_id => 'y',
    row_id => 'n',
    user_id => 'n',
    timestamp => 'y',
    object_id => 'n',
    source_colmap => 'n',
    target_colmap => 'y',
    options_string => NULL);
    END enable_table_capture;

  • FUNCTION NOT IMPLEMENTED error when calling C# method from SAP, why?

    Hi,
    I've build a server stub in order to get SAP calling my own methods that exist in the C# world, for that I developed several methods in a class that extends SAPServer and then implemented them...
    I added the special custom properties needed (Abap Name, length, etc) to the function and to its parameters, I've made the ABAP code required to call it...
    I've checked, every parameters that I place in ABAP (importing, exporting and tables) are also defined in C# (its 53 parameters) with the same name (in C# they are in capital letters and in a diferent order but I tried this before and it didn't matter)...
    The name of the function is the same...
    How can I get the 'FUNCTION NOT IMPLEMENT' error in SAP?
    What's going wrong when I get this error?
    Can anyone tell me?
    Is there any place in this site that has a error description and possible reasons?
    When I get a parameter wrong I get a different error (I tried to make smaller functions and they work fine).
    Thanks for the help,
    Nuno Felino
    Message was edited by: Nuno Felino

    Hi,
    I'll explain what I'm doing:
    - we have a set of services made in a C and VB that are available using an API in C#, these services must be available to SAP. So I have a program that will see what parameters the API service requires and makes a proxy so that SAP can call these services.
    To do this I must map SAP types with C#, build the function signature and then implement it. So I cannot use the wizard to do this
    Now, back to the question, what kind of customer attributes I got wrong to get that exception? The most logic is the AbapName of the function but they are equal (the one called in SAP and the one in the customer attributes of the function)...
    Thanks for the answer, can you give me any more hint?

  • Time Constraint Error when calling a Function module from Webdynpro ABAP

    Any help will be greatly appreciated - Thanks RM
    Time Constraint Error
    Information on where terminated
        Termination occurred in the ABAP program "SAPUP50R" - in
         "CHECK_TIME_CONSTRAINT_S1".
        The main program was "MP000000 ".
        In the source code you have the termination point in line 1069
        of the (Include) program "UP50RU01".
    Error occurred during batch input processing
    Source Code Extract
          l_is_inconsistent = 'X'.
        ENDIF.
      Check if there are inverted time periods.
        IF l_prelp_line-begda > l_prelp_line-endda.
          l_is_inconsistent = 'X'.
        ENDIF.
    Check if there are overlaps or gaps.
        IF NOT l_prelp_before IS INITIAL.
          l_date_difference = l_prelp_line-begda - l_prelp_before-endda.
          IF l_date_difference <> 1.
            l_is_inconsistent = 'X'.
          ENDIF.
        ENDIF.
        l_prelp_before = l_prelp_line.
      ENDLOOP.
      IF l_prelp_before-endda <> '99991231'.
        l_is_inconsistent = 'X'.
      ENDIF.
      IF l_is_inconsistent = 'X'.
        IF p_access_type = 'R'.
    490 Datenbankschiefstand Personalnummer & Infotyp &
          MESSAGE x490 WITH l_prelp_before-pernr l_prelp_before-infty.
        ELSE.
    491 Unzulässige Daten Personalnummer & Infotyp &
    Line 1069 Error occcurs >>>>  MESSAGE x491 WITH l_prelp_before-pernr l_prelp_before-infty.
        ENDIF.
      ENDIF.
    ENDFORM.                    " CHECK_TIME_CONSTRAINT_S1     "XYVN0352581
    *&      Form  clear_no_adapter_needed              new     "XREN844998
          text
    FORM clear_no_adapter_needed .
      CLEAR no_adapter_needed.
    ENDFORM.                    " clear_no_adapter_needed
    *&      Form  set_no_adapter_needed              new     "XREN844998
          text
    FORM set_no_adapter_needed .
      no_adapter_needed = 'X'.
    ENDFORM.                    " clear_no_adapter_needed

    Hi,
    Well, are you trying to do a batch input on infotype 0000? If yes you need to check that the proposed values respects the time constraint, meaning no gap, no overlaps and no inversions. Also fields SUBTY, OBJPS, SPRPS and SEQNR must remain initial when processing IT0000...
    Kr,
    Manu.

  • Using XML sequence Tag with updatexml() errors when called as function?

    Hello,
    I'm having a very difficult time with this error. I was hoping someone could shed some light onto why this is happening. It is 100% reproducible on my end. When I run the problematic code, I am given a "ORA-03113: end-of-file on communication channel" which is actually due to
    "ORA-07445: exception encountered: core dump [kolasaRead()+66] [SIGSEGV] [ADDR:0x64] [PC:0x2250968] [Address not mapped to object] []"
    Set up scripts:*
    CREATE TABLE test (id   NUMBER
                            ,xml  XMLTYPE);
    CREATE OR REPLACE FUNCTION test_replace_metadata(p_metadata                 IN XMLTYPE)
          RETURN XMLTYPE
       IS
          l_metadata_xml                          XMLTYPE;
       BEGIN
          l_metadata_xml := p_metadata;
          SELECT UPDATEXML(l_metadata_xml
                          ,'/DICOM_OBJECT/*[@tag="00100020"]/text()'
                          ,'1010101010101010101'
                          ,'xmlns="http://xmlns.oracle.com/ord/dicom/metadata_1_0"')
            INTO l_metadata_xml
            FROM DUAL;
          RETURN l_metadata_xml; 
      END test_replace_metadata;
    To select the resulting rows:*
    select rownum
               ,id
               ,xml
               --,var
               ,TO_CHAR(EXTRACTVALUE(xml
                   ,'/DICOM_OBJECT/*[@name="Patient ID"]'
                   ,'xmlns=http://xmlns.oracle.com/ord/dicom/metadata_1_0')) "PatientID"
           from test
          order by rownum desc
    The following code works:*
    DECLARE                
    l_metadata VARCHAR2(32767)
                := '<?xml version="1.0"?>
    <DICOM_OBJECT xmlns="http://xmlns.oracle.com/ord/dicom/metadata_1_0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.oracle.com/ord/dicom/metadata_1_0 http://xmlns.oracle.com/ord/dicom/metadata_1_0">
      <LONG_STRING tag="00100020" definer="DICOM" name="Patient ID" offset="816" length="6">#00100020#</LONG_STRING>
      <SEQUENCE xmlns="http://xmlns.oracle.com/ord/dicom/metadata_1_0" tag="00082218" definer="DICOM" name="Anatomic Region Sequence" offset="694" length="76">
                        <ITEM>
                          <SHORT_STRING tag="00080100" definer="DICOM" name="Code Value" offset="722" length="8">T-AA000</SHORT_STRING>
                          <SHORT_STRING tag="00080102" definer="DICOM" name="Coding Scheme Designator" offset="738" length="4">SRT</SHORT_STRING>
                          <LONG_STRING tag="00080104" definer="DICOM" name="Code Meaning" offset="750" length="4">Eye</LONG_STRING>
                        </ITEM>
                      </SEQUENCE>
    </DICOM_OBJECT>';
    l_metadata_xml XMLTYPE;
    BEGIN   
         l_metadata_xml := xmltype(l_metadata, 'http://xmlns.oracle.com/ord/dicom/metadata_1_0');
          SELECT UPDATEXML(l_metadata_xml
                          ,'/DICOM_OBJECT/*[@name="Patient ID"]/text()'
                          ,'dayodayodayo'
                          ,'xmlns="http://xmlns.oracle.com/ord/dicom/metadata_1_0"')
            INTO l_metadata_xml
            FROM DUAL;
       INSERT INTO test(id
                        ,xml)
           VALUES (7
                  ,l_metadata_xml);       
    END;    
    This code doesn't work, and gives the error mentioned:*
    DECLARE                
    l_metadata VARCHAR2(32767)
                := '<?xml version="1.0"?>
    <DICOM_OBJECT xmlns="http://xmlns.oracle.com/ord/dicom/metadata_1_0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.oracle.com/ord/dicom/metadata_1_0 http://xmlns.oracle.com/ord/dicom/metadata_1_0">
      <LONG_STRING tag="00100020" definer="DICOM" name="Patient ID" offset="816" length="6">#00100020#</LONG_STRING>
      <SEQUENCE xmlns="http://xmlns.oracle.com/ord/dicom/metadata_1_0" tag="00082218" definer="DICOM" name="Anatomic Region Sequence" offset="694" length="76">
                        <ITEM>
                          <SHORT_STRING tag="00080100" definer="DICOM" name="Code Value" offset="722" length="8">T-AA000</SHORT_STRING>
                          <SHORT_STRING tag="00080102" definer="DICOM" name="Coding Scheme Designator" offset="738" length="4">SRT</SHORT_STRING>
                          <LONG_STRING tag="00080104" definer="DICOM" name="Code Meaning" offset="750" length="4">Eye</LONG_STRING>
                        </ITEM>
                      </SEQUENCE>
    </DICOM_OBJECT>';
    l_metadata_xml XMLTYPE;
    BEGIN   
       l_metadata_xml := xmltype(l_metadata, 'http://xmlns.oracle.com/ord/dicom/metadata_1_0');
       --This is the difference from the above code                       
       l_metadata_xml := test_replace_metadata(l_metadata_xml);                                   
       INSERT INTO test(id
                        ,xml)
           VALUES (7
                  ,l_metadata_xml);       
    END;            
    This is the full text of the error message:*
    "ORA-03113: end-of-file on communication channel
    Process ID: 10847
    Session ID: 321 Serial number: 33192"Looking into the trace files, I saw this information (This is from a different occurance, but it has remained the same):
    Trace file (omitted)
    Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    ORACLE_HOME = /opt/app/oracle/product/11.1.0/db_1/
    System name:     Linux
    Node name:     (omitted)
    Release:     2.6.18-92.el5
    Version:     #1 SMP Tue Apr 29 13:16:15 EDT 2008
    Machine:     x86_64
    Instance name: (omitted)
    Redo thread mounted by this instance: 1
    Oracle process number: 53
    Unix process pid: 22883, image: (omitted)
    *** 2009-06-24 13:47:31.198
    *** SESSION ID:(omitted)
    *** CLIENT ID:(omitted)
    *** SERVICE NAME:(omitted)
    *** MODULE NAME:(omitted)
    *** ACTION NAME:(omitted)
    Exception [type: SIGSEGV, Address not mapped to object] [ADDR:0x64] [PC:0x2250968, kolasaRead()+66]
    DDE: Problem Key 'ORA 7445 [kolasaRead()+66]' was flood controlled (0x6) (incident: 70951)
    ORA-07445: exception encountered: core dump [kolasaRead()+66] [SIGSEGV] [ADDR:0x64] [PC:0x2250968] [Address not mapped to object] []
    ssexhd: crashing the process...
    Shadow_Core_Dump = PARTIAL  Why is this happening? Also, When I remove the call to the function or if I remove the SEQUENCE element from the xml everything works fine.
    Any ideas?
    Edited by: rcdev on Jun 25, 2009 2:17 PM - Added code blocks for readability.
    Edited by: rcdev on Jun 25, 2009 2:28 PM

    In short, something inside Oracle is blowing up that shouldn't be, hence the ORA-7445. I did a search on MetaLink but it didn't turn up anything for your version and the internal function that is blowing up. Given you are on 11.1.0.7, I'm going to assume you have some service contract with Oracle and so can open a SR with them. That would be your best bet for getting it resolved given the internal Oracle error you are encountering.
    The next best option would be to post this question on the {forum:id=34} forum given some of the people that watch that forum.

Maybe you are looking for

  • Xcelsius exe won't launch - Entry Point Not Found message given

    -Operating System: Windows XP -OS Patch level: SP3 -Office Version: 2007 -Flash Player version: Adobe Flash Player 10 -Xcelsius Version and Patch Level: Xcelsius 2008 5.3.0.0 -Xcelsius Build number (Help>About Xcelsius): <not accessible> -Business Ob

  • How do I use a profile in cs6?

    How do I use a profile in Photoshop 6? I have it downloaded but don't know how to set it up when printing. I'm using a PC with windows  7.

  • When I plug my iphone into the hdmi adapter my battary drops

    I got the hdmi adapter today but as soon as I plug my phone in my battary drops very fast. It is fine when I have the power also plugged in. Just wondering if this is normal

  • WBS element assigned to GL account

    Hi All, I  wanted to know how do we understand  which is WBS element assigned is to particulat GL account. Thanks Santhi

  • Conditional Join in MAP

    Hi, Is there a way to have a map with 2 tables but join them conditionally. Need to Update Table C using Table A but join TABLE B only certain condition is met. I can achieve it using PL/SQL procedure by creating Dynamic Select Statements. Can it be