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.

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

  • 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

  • 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.

  • 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}

  • 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

  • Xml is invalid but no errors when calling schemaValidate()

    Hi,
    I'm validating my xmls against xsd and regular expression is used in xsd restriction.
    Problem is that if the element value is missing then xml have to
    be invalid (in regular expression min length is 1) but no error is raised.
    Here is my xsd:
    <?xml version="1.0" encoding="UTF-8"?>
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="urn:iso:std:iso:20022:tech:xsd:msgid" targetNamespace="urn:iso:std:iso:20022:tech:xsd:msgid" elementFormDefault="qualified">
      <xs:element name="Document" type="Document"/>
      <xs:complexType name="Document">
        <xs:sequence>
          <xs:element name="MsgId" type="S2SCTId7"/>
        </xs:sequence>
      </xs:complexType>
      <xs:simpleType name="S2SCTId7">
        <xs:restriction base="xs:string">
          <xs:pattern value="([A-Za-z0-9]|[+|\?|/|\-|:|\(|\)|\.|,|']){1,35}"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:schema>Here is my xml:
    <Document xmlns="urn:iso:std:iso:20022:tech:xsd:msgid"><MsgId></MsgId></Document>When validating this xml, there are no errors.
    SQL> declare
      2    l_xml XMLType:=XMLType('<Document xmlns="urn:iso:std:iso:20022:tech:xsd:msgid"><MsgId></MsgId></Document>');
      3  begin
      4    l_xml:=l_xml.createSchemaBasedXML('http://xmlns.oracle.com/xdb/urn:iso:std:iso:20022:tech:xsd:msgid');
      5    l_xml.schemaValidate();
      6  end;
      7  /
    PL/SQL procedure successfully completed.
    SQL> spool off;Oracle version is 10.2.0.1
    Thanks
    Ants
    Message was edited by:
    Ants Hindpere

    Funny to see that "search" and "advanced search" on metalink are different.
    I have read the bug you have found. I guess that you are stuck. The bug report doesn't give me any indication that the problem mentioned there has been solved. On the other hand, the internals between that and your problem don't have to be related.
    Apparently you got support, so if I were you, I would create a service request. The bug mentioned by you is from 2007, so maybe you are lucky and if it is related they have a solution in the meanwhile and/or a workaround.

  • 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.

  • 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!

  • Time Constraint Error when calling a Function Module

    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.

  • Error when calling webutil functions in a library.

    I have installed and configured webutil on my Linux machine and I can successfully run the webutil_demo.
    I have a form with webutil library attached and object group added calling webutil_file.File_save_dialog successfully.
    But when I want another form to a procedure in a PL/SQL library (pll_window.pll ) which call webutil_file_transfer.as_to_client,, It reports an error saying
    The WEBUTIL object group is not available in this Form. WebUtil cannot work
    and pop out a small alert "Please acknowledge"
    When I click OK, it says FRM_40734: Internal Error: PL/SQL error occurred
    So what might be the problem ? I had webutil.pll attached to my library file pll_window.pll also.

    frank1018 wrote:
    I have installed and configured webutil on my Linux machine and I can successfully run the webutil_demo.
    I have a form with webutil library attached and object group added calling webutil_file.File_save_dialog successfully.
    But when I want another form to a procedure in a PL/SQL library (pll_window.pll ) which call webutil_file_transfer.as_to_client,, It reports an error saying
    The WEBUTIL object group is not available in this Form. WebUtil cannot work
    and pop out a small alert "Please acknowledge"
    When I click OK, it says FRM_40734: Internal Error: PL/SQL error occurred
    So what might be the problem ? I had webutil.pll attached to my library file pll_window.pll also.Do you subclass from webutil.olb to your form ?
    Hope this helps

  • T:tabChangeListener tag not recognized error when using in facelets

    I am trying to use tomahawk's TabChangeListener with PanelTabbedPane, but when I add the tabChangeListener tag in the body of the <t:panelTabbedPane /> , I get an error: "<t:tabChangeListener> Tag Library supports namespace: http://myfaces.apache.org/tomahawk, but no tag was defined for name: tabChangeListener". I have used many other tomahawk components with no problem. Do I have to configure my tomahawk taglib to include that tag? I am using tomahawk in facelets.
    Here is facelets source:
    <ui:composition xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core" xmlns:c="http://java.sun.com/jstl/core"
        xmlns:t="http://myfaces.apache.org/tomahawk" xmlns:fn="http://java.sun.com/jsp/jstl/functions" xmlns:fr="http://myproject.com/test/jsf">
    <t:panelTabbedPane selectedIndex="#{coverageDisplay.startIndex}" serverSideTabSwitch="#{true}">
              <t:panelTab label="#{lbls.vehCovDetailsTab1}" rendered="#{vehiclesBean.vehicles.rowCount > 0}" >
                  <fr:vehCovSummTab />
              </t:panelTab>
              <t:panelTab label="#{lbls.vehCovDetailsTab2}" rendered="#{vehiclesBean.vehicles.rowCount > 3}" >
                  <fr:vehCovSummTab />
              </t:panelTab>
              <t:panelTab label="#{lbls.vehCovDetailsTab3}" rendered="#{vehiclesBean.vehicles.rowCount > 6}" >
                  <fr:vehCovSummTab />
              </t:panelTab>
              <t:tabChangeListener type="myproject.MyTabChangeListener" />
    </t:panelTabbedPane>My tomahawk.taglib.xml:
        <tag>
            <tag-name>panelTabbedPane</tag-name>
            <component>
                <component-type>org.apache.myfaces.HtmlPanelTabbedPane</component-type>
                <renderer-type>org.apache.myfaces.TabbedPane</renderer-type>
            </component>
        </tag>My tomahawk.tld:
            <!-- panelTabbedPane -->
        <tag>
            <name>panelTabbedPane</name>
            <tag-class>org.apache.myfaces.custom.tabbedpane.HtmlPanelTabbedPaneTag</tag-class>
            <body-content>JSP</body-content>
                    <!-- UIPanel attributes -->
            <!-- UIComponent attributes -->
            <attribute>
                <name>id</name>
                <required>false</required>
                <rtexprvalue>false</rtexprvalue>
                <type>java.lang.String</type>
                <description>Every component may have an unique id. Automatically created if omitted.</description>
            </attribute>
            <attribute>
                <name>rendered</name>
                <required>false</required>
                <rtexprvalue>false</rtexprvalue>
                <type>java.lang.String</type>
                <description>If false, this component will not be rendered.</description>
            </attribute>
            <attribute>
                <name>binding</name>
                <required>false</required>
                <rtexprvalue>false</rtexprvalue>
                <type>java.lang.String</type>
                <description>Component binding.</description>
            </attribute>
            <!-- HTML 4.0 universal attributes -->
            <attribute><name>dir</name>     <required>false</required>  <rtexprvalue>false</rtexprvalue></attribute>
            <attribute><name>lang</name>    <required>false</required>  <rtexprvalue>false</rtexprvalue></attribute>
            <attribute><name>style</name>   <required>false</required>  <rtexprvalue>false</rtexprvalue></attribute>
            <attribute><name>title</name>   <required>false</required>  <rtexprvalue>false</rtexprvalue></attribute>
            <attribute>
                <name>styleClass</name>
                <required>false</required>
                <rtexprvalue>false</rtexprvalue>
                <description>Corresponds to the HTML class attribute.</description>
            </attribute>
            <!-- HTML 4.0 event-handler attributes -->
            <attribute><name>onclick</name>    <required>false</required>  <rtexprvalue>false</rtexprvalue></attribute>
            <attribute><name>ondblclick</name> <required>false</required>  <rtexprvalue>false</rtexprvalue></attribute>
            <attribute><name>onmousedown</name><required>false</required>  <rtexprvalue>false</rtexprvalue></attribute>
            <attribute><name>onmouseup</name>  <required>false</required>  <rtexprvalue>false</rtexprvalue></attribute>
            <attribute><name>onmouseover</name><required>false</required>  <rtexprvalue>false</rtexprvalue></attribute>
            <attribute><name>onmousemove</name><required>false</required>  <rtexprvalue>false</rtexprvalue></attribute>
            <attribute><name>onmouseout</name> <required>false</required>  <rtexprvalue>false</rtexprvalue></attribute>
            <attribute><name>onkeypress</name> <required>false</required>  <rtexprvalue>false</rtexprvalue></attribute>
            <attribute><name>onkeydown</name>  <required>false</required>  <rtexprvalue>false</rtexprvalue></attribute>
            <attribute><name>onkeyup</name>    <required>false</required>  <rtexprvalue>false</rtexprvalue></attribute>
            <!-- HTML 4.0 table attributes -->
            <attribute><name>align</name>           <required>false</required>  <rtexprvalue>false</rtexprvalue></attribute>
            <attribute><name>border</name>          <required>false</required>  <rtexprvalue>false</rtexprvalue></attribute>
            <attribute><name>bgcolor</name>         <required>false</required>  <rtexprvalue>false</rtexprvalue></attribute>
            <attribute><name>cellpadding</name>     <required>false</required>  <rtexprvalue>false</rtexprvalue></attribute>
            <attribute><name>cellspacing</name>     <required>false</required>  <rtexprvalue>false</rtexprvalue></attribute>
            <attribute><name>datafld</name>         <required>false</required>  <rtexprvalue>false</rtexprvalue></attribute>
            <attribute><name>datasrc</name>         <required>false</required>  <rtexprvalue>false</rtexprvalue></attribute>
            <attribute><name>dataformatas</name>    <required>false</required>  <rtexprvalue>false</rtexprvalue></attribute>
            <attribute><name>frame</name>           <required>false</required>  <rtexprvalue>false</rtexprvalue></attribute>
            <attribute><name>rules</name>           <required>false</required>  <rtexprvalue>false</rtexprvalue></attribute>
            <attribute><name>summary</name>         <required>false</required>  <rtexprvalue>false</rtexprvalue></attribute>
            <attribute><name>width</name>           <required>false</required>  <rtexprvalue>false</rtexprvalue></attribute>
            <!-- MyFaces extension: user role attributes -->
            <attribute>
                <name>enabledOnUserRole</name>
                <required>false</required>
                <rtexprvalue>false</rtexprvalue>
                <description>
                    If user is in given role, this component will be rendered
                    normally. If not, no hyperlink is rendered but all nested
                    tags (=body) are rendered.
                </description>
            </attribute>
            <attribute>
                <name>visibleOnUserRole</name>
                <required>false</required>
                <rtexprvalue>false</rtexprvalue>
                <description>
                    If user is in given role, this component will be rendered
                    normally. If not, nothing is rendered and the body of this tag
                    will be skipped.
                </description>
            </attribute>
            <attribute>
                <name>selectedIndex</name>
                <required>false</required>
                <rtexprvalue>false</rtexprvalue>
                <description>
                    Index of tab that is selected by default.
                </description>
            </attribute>
            <attribute>
                <name>activeTabStyleClass</name>
                <required>false</required>
                <rtexprvalue>false</rtexprvalue>
                <description>
                    Style class of the active tab cell.
                </description>
            </attribute>
            <attribute>
                <name>inactiveTabStyleClass</name>
                <required>false</required>
                <rtexprvalue>false</rtexprvalue>
                <description>
                    Style class of the inactive tab cells.
                </description>
            </attribute>
            <attribute>
                <name>disabledTabStyleClass</name>
                <required>false</required>
                <rtexprvalue>false</rtexprvalue>
                <description>
                    Style class of the disabled tab cells.
                </description>
            </attribute>
            <attribute>
                <name>activeSubStyleClass</name>
                <required>false</required>
                <rtexprvalue>false</rtexprvalue>
                <description>
                    Style class of the active tab sub cell.
                </description>
            </attribute>
            <attribute>
                <name>inactiveSubStyleClass</name>
                <required>false</required>
                <rtexprvalue>false</rtexprvalue>
                <description>
                    Style class of the inactive tab sub cells.
                </description>
            </attribute>
            <attribute>
                <name>tabContentStyleClass</name>
                <required>false</required>
                <rtexprvalue>false</rtexprvalue>
                <description>
                    Style class of the active tab content cell.
                </description>
            </attribute>
        </tag>
        <!-- tab change listener -->
        <tag>
            <name>tabChangeListener</name>
            <tag-class>org.apache.myfaces.custom.tabbedpane.TabChangeListenerTag</tag-class>
            <body-content>empty</body-content>
            <attribute>
                <name>type</name>
                <required>true</required>
                <rtexprvalue>false</rtexprvalue>
            </attribute>
        </tag>Message was edited by:
    citress
    Message was edited by:
    citress

    I have the same question. Does someone have a solution for this?

  • Using a custom tag with a 2.3 servlet descriptor BUG?

    Hi,
    I just developed a Custom Tag and I'd like to use in my jsps.
    If I add the jsp in my JDev project with the custom tag when I try to build the project I got this error:
    Error(11): oracle.xml.parser.v2.XMLParseException: Invalid element 'listener' in content of 'web-app', expected elements '[context-param, servlet, servlet-mapping, session-config, mime-mapping, welcome-file-list, error-page, taglib, resource-ref, security-constraint, login-config, security-role, env-entry, ejb-ref]'.
    It seems like when the jsp parser encounters the line with taglib it tries to parse the web.xml against a 2.2 version of the dtd. My web.xml begins with the correct dtd version (2.3). Can anyone tell me if this is a bug and eventually tell me how to solve it?
    thanks,
    Giovanni

    I repost this issue again, now with a simple test case.
    If I wrote a simple custom tag:
    import java.io.IOException;
    import javax.servlet.jsp.tagext.TagSupport;
    public class MyCustomTag extends TagSupport {
    public int doStartTag() {
    try {
    pageContext.getOut().print("FOO");
    } catch (IOException ioe) {
    pageContext.getServletContext().log(ioe.getMessage(),ioe);
    return(SKIP_BODY);
    with the associated tld:
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <taglib>
    <tlibversion>1.0</tlibversion>
    <jspversion>1.2</jspversion>
    <shortname>try</shortname>
    <uri>try</uri>
    <info>A short description...</info>
    <tag>
    <name>mytag</name>
    <tagclass>MyCustomTag</tagclass>
    <bodycontent>EMPTY</bodycontent>
    </tag>
    </taglib>
    and a jsp using the custom tag:
    <%@ page contentType="text/html;charset=windows-1252"%>
    <HTML>
    <HEAD>
    <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
    <TITLE>
    Hello World
    </TITLE>
    </HEAD>
    <BODY>
    <H2>
    The current time is:
    </H2>
    <P>
    <% out.println((new java.util.Date()).toString()); %>
    <%@ taglib uri="try.tld" prefix="try" %>
    <try:mytag />
    </P>
    </BODY>
    </HTML>
    all runs fine if I have a web.xml with the dtd version 2.2
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
    <web-app>
    <description>Empty web.xml file for Web Application</description>
    <session-config>
    <session-timeout>30</session-timeout>
    </session-config>
    <mime-mapping>
    <extension>html</extension>
    <mime-type>text/html</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>txt</extension>
    <mime-type>text/plain</mime-type>
    </mime-mapping>
    <welcome-file-list>
    <welcome-file>index.jsp</welcome-file>
    <welcome-file>index.html</welcome-file>
    </welcome-file-list>
    </web-app>
    but if I use the version 2.3 because I want filters,context listeners and so on:
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/j2ee/dtds/web-app_2_3.dtd">
    <web-app>
    <description>Empty web.xml file for Web Application</description>
    <filter>
    <filter-name>FilterRedirector</filter-name>
    <filter-class>org.apache.cactus.server.FilterTestRedirector</filter-class>
    </filter>
    <!-- Filter Redirector URL mapping -->
    <filter-mapping>
    <filter-name>FilterRedirector</filter-name>
    <url-pattern>/FilterRedirector/</url-pattern>
    </filter-mapping>
    <session-config>
    <session-timeout>30</session-timeout>
    </session-config>
    <mime-mapping>
    <extension>html</extension>
    <mime-type>text/html</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>txt</extension>
    <mime-type>text/plain</mime-type>
    </mime-mapping>
    <welcome-file-list>
    <welcome-file>index.jsp</welcome-file>
    <welcome-file>index.html</welcome-file>
    </welcome-file-list>
    </web-app>
    I get the error I report in my last post. (the jsp doesn't compile) If I remove the custom tag from my jsp all works fine (filters, listeners,etc). In my project settings I use the 2.3 version of servlet.jar instead of the ServletRuntime that comes with JDeveloper.
    Can anyone tell me how to resolve this issue (Using simple custom tag with a web application using the 2.3 servlet specs)?
    Thanks in advance,
    Giovanni
    If I remove the filter secion all

  • Hi, I have quick question about use of USEBEAN tag in SP2. When I specify a scope of SESSION for the java bean, it does not keep the values that I set for variable in the bean persistent.Thanks,Sonny

     

    Make sure that your bean is implementing the serializable interface and that
    you are accessing the bean from the session with the same name.
    Bryan
    "Sandeep Suri" <[email protected]> wrote in message
    news:[email protected]..
    Hi, I have quick question about use of USEBEAN tag in SP2. When I
    specify a scope of SESSION for the java bean, it does not keep the
    values that I set for variable in the bean persistent.Thanks,Sonny
    Try our New Web Based Forum at http://softwareforum.sun.com
    Includes Access to our Product Knowledge Base!

  • Error when calling the sample code with client

    The start samples are really good and useful.
    However I get an error when connecting to the API App on Azure. The code generated when "adding the reference" has a file called Values.cs. I get an error on line 219:
    resultModel = StringCollection.DeserializeJson(responseDoc);
    The correct line should be
    resultModel = MyContactsListConsole.Models.
    StringCollection.DeserializeJson(responseDoc);
    I guess there is a naming issue. The StringCollection defined in Contactlists/Models cannot be inferred without a fully qualified path since StringCollection is already in
    System.Collections.Specialized
    When I update the code to point to MyContactsListConsole.Models then it works.
    //Mikael Sand (MCTS, ICC 2011) -
    Blog Logica Sweden

    Sorry you had to discover this bug, Michael. It is a known issue we outlined in the release notes, and have since repaired it in the upcoming release. This is only an issue when your API returns an array of strings, as is the case for the default ValuesController
    file. Sorry about that, but know that we've fixed it. 

Maybe you are looking for

  • How do I restore emails on iCloud?

    I have a Mac Air (main compuiter), a MacBook Pro (which I am phasing out),  and an iPhone 4, all running the latest available software.  I have an iCloud account.  I used to have a mobile.me account. I have had a dot mac mail account for ages.  Then

  • Problem in playing back mp3 which was recorded as wav file

    Hi all, I have recorded sound using my program. It uses classes like AudioSystem. And it's able to record and play also. but in my site I have an mp3 player. So i thought of converting the recorded wav file into mp3. For this i used LAME utility in L

  • E-Rec Application: ERC_C_REQ_MGMT_UI Questionnaire view Usage

    Hi All,    I have come across an scenario where I configured by own custom application configuration for component ERC_C_APPL_GRP_UI  and in that I included various standard and custom component as UIBB. Now in the recent developments  the client wan

  • Perfomance of select

    Hi , here i am using inner join for 3 data base tables in below code , SELECT crco~objid     "Object ID          crco~endda     "End date          crco~begda     "Start date          cssl~lstar     "Activity type          cost~tkg001    "Activity Uni

  • FCP can't open .ipr (LiveType)

    The First: i can speak in english very little, sorry. My problem: My FCP can't open the livetype project (.ipr) WHY????? The message: "Wrong Type" I have: FCP 4.1 retail LiveType 1.0 (1.1.1 is problem too) Pro Application Support 2.1 QuickTime 6.5.2