Web.xml Security LoginPage / LoginTF does not work

Hi Guys,
In JDev 11.1.1.5, using the WebCenter extension we get some strange behaviour I cannot explain.
I have a feeling I am missing some small step, but I cannot see what step, so I thought to ask :).
Here are the steps we took:
We use:
-     JDeveloper 11.1.1.5
-     WebCenter extension
Steps we took, within an WebCenter Portal application:
1.     Create an index.html which is the default start point of the application.
2.     index.html redirects to faces/pages_home.
3.     In pages.xml our home is an landingPage.
4.     This landingPage is configured for authenticated-role only in pages.xml.
5.     Configure a custom login-TF with .jspx loginPage on it.
6.     In the web.xml on the security tab, we configure Form-Based Authentication with our custom login-TF as Login Page.
7.     In the jazn-data.xml we configure this TF and grant the anonymous-role.
8.     Run the application, we get an 404.
I would expect the following:
1. Application tries to reach the home page.
2. The home page is only available for authenticated users.
3. The login mechanism (from the web.xml) starts to work.
4. The TF/page configured in the web.xml gets launched.
Some how, as said we get a 404 instead of our loginTF/Page.
In an Jdevelloper 11.1.1.2 application, this seems to work fine with the same configuration, but now in 11.1.1.5 we get a 404 error.
Did we miss a configuration / Overlook some setting?
Why does this not work?
If anybody has any tips on where to look or what to do, this would be helpful :)
I have a test case in which I can reproduce this problem, both within an WCP application as in a pure ADF application.
I can provide this if anyone is interested :)
Regards,
Richard Olrichs

Hmmm, apparently you have to put “/faces/adf.task-flow?adf.tfId=login-TF&adf.tfDoc=/” in front of the TF, which results in the following web.xml tag:
<login-config>
<auth-method>FORM</auth-method>
<form-login-config>
<form-login-page>/faces/adf.task-flow?adf.tfId=login-TF&amp;adf.tfDoc=/WEB-INF/login-TF.xml</form-login-page>
<form-error-page>/WEB-INF/error.html</form-error-page>
</form-login-config>
</login-config>
I don't know why, but now it redirects correctly to our custom login-TF.
Can someone explain this behaviour?
Anyhow, help is not needed anymore :P
Cheers,
Richard
Edited by: Richard Olrichs on Feb 21, 2012 8:41 AM

Similar Messages

  • URGENT: xml:dml commit="yes" does not work

    Hello!
    Im using XDK 9.0.1.1.0A with Tomcat 4.0 and Oracle 9.0.1.1.1 on
    NT. I have a problem with commiting an xsql:dml action. I tried
    to set the commit-attribute like
    <?xml version="1.0"?>
    <page connection="demo" xmlns:xsql="urn:oracle-xsql">
    <xsql:dml commit="yes" >
    INSERT INTO dept(deptno, dname) VALUES ({@dept}, '{@dname}')
    </xsql:dml>
    </page>
    and I tried to set the autocommit tag in XMLConfig connection
    definition, but that does not work. The result was
    <?xml version="1.0" ?>
    - <page>
    <xsql-status action="xsql:dml" rows="1" />
    </page>
    The only way is to use
    <?xml version="1.0"?>
    <page connection="demo" xmlns:xsql="urn:oracle-xsql">
    <xsql:dml commit="yes" >
    BEGIN
    INSERT INTO dept(deptno, dname) VALUES ({@dept}, '{@dname}');
    COMMIT;
    END;
    </xsql:dml>
    </page>
    Shouldn't that be fixed?
    Any help would be very welcome!
    Thanks
    Stefan
    (I know there were a lot of discussion on this topic here, but I
    could not sort all the search results by date, so...)

    Using XDK 9.0.2C and Tomcat 4.0.1 I performed the following test.
    [list=1]
    [*]Created the page test.xsql
    <page connection="demo-no-commit" xmlns:xsql="urn:oracle-xsql">
      <xsql:dml>
        insert into testtable(a,b) values (testtabseq.nextval,1)
      </xsql:dml>
    </page>
      [*]Edited my XSQLConfig.xml file (which I put in
    <tomcathome>\common\classes) to contain the section
        <connection name="demo-no-commit">
          <username>scott</username>
          <password>tiger</password>
          <dburl>jdbc:oracle:thin:@localhost:1521:ORCL</dburl>
          <driver>oracle.jdbc.driver.OracleDriver</driver>
          <autocommit>false</autocommit>
        </connection>[*]I deleted all rows from TESTTABLE in SQLPLUS
    [*]I created TESTTABLESEQ sequence
    [*]I requested the test.xsql page 10 times through my browser
    [*]I selected from the TESTTAB table and found zero rows
    [*]I edited my XSQL page to add commit="yes" like this
    <page connection="demo-no-commit" xmlns:xsql="urn:oracle-xsql">
      <xsql:dml commit="yes">
        insert into testtable(a,b) values (testtabseq.nextval,1)
      </xsql:dml>
    </page>[*]I re-requested the XSQL page through the browser
    [*]I selected rows from the TESTTABLE table, and now found
    one row:
    SQL> select * from testtable;
             A          B
             11         1[list]
    So using 9.0.2C with autocommit off and commit="yes" this
    works as advertised.

  • Consuming Web Services in 11.2 does not work ??

    Hello,
    Did anyone manage to call a Web Service from Oracle 11.2 database?
    We wanted to call a web service from Oracle, so for example if I execute:
    SELECT add_numbers(1, 5) FROM dual;
    from my database, I get the result 6.
    Cool thing is that the add_numbers function is not in my database, but in a database somewhere in the cloud, and I access the function as a web service.
    Oracle provides step-by-step documentation how to do it, but we couldn't make it working by following the docs. It was done on a clean Oracle 11.2 database install.
    We followed the instructions from: http://www.oracle.com/technology/sample_code/tech/java/jsp/callout_users_guide.htm
    The main part of the job is to:
    1) Load the java classes into the Oracle database by issuing the following command: % loadjava -u sys\<password> -r -v -f -genmissing dbwsclientws.jar dbwsclientdb11.jar
    2) Install the UTL_DBWS package into the database (it is not installed by default in 11g):
    SQL> @?/sqlj/lib/utl_dbws_decl.sql
    SQL> @?/sqlj/lib/utl_dbws_body.sql
    We loaded the classes into the SYS user and installed the UTL_DBWS package into the SYS user as well.
    3) Create a function that uses UTL_DBWS package to call a web service: http://www.oracle-base.com/articles/10g/utl_dbws10g.php
    However, when we tried to run the add_numbers function, it returned an error from the UTL_DBWS package, from the create_service function (line 190), the function returned that the java class that it calls does not exist:
    ORA-29532: Java call terminated by uncaught Java exception: java.lang.IllegalAccessException: java.lang.NoClassDefFoundError
    ORA-06512: at "SYS.UTL_DBWS", line 193
    ORA-06512: at "SYS.UTL_DBWS", line 190
    ORA-06512: at "SYS.ADD_NUMBERS", line 25
    Line 193 in UTL_DBWS package goes like this:
    function create_service_proxy(wsdl_Document_Location VARCHAR2, service_Name VARCHAR2) return SERVICE
    as language java
    name 'oracle.jpub.runtime.dbws.DbwsProxy.createService(java.lang.String,java.lang.String) return long';
    However, this makes no sense because the class is loaded:
    select dbms_java.longname(object_name), status, object_type from all_objects where
    object_name like '%DbwsProxy%'
    and object_type = 'JAVA CLASS'
    Output:
    oracle/jpub/runtime/dbws/DbwsProxy$1;VALID;JAVA CLASS
    oracle/jpub/runtime/dbws/DbwsProxy$CallProxy;VALID;JAVA CLASS
    oracle/jpub/runtime/dbws/DbwsProxy$ServiceProxy;VALID;JAVA CLASS
    oracle/jpub/runtime/dbws/DbwsProxy;VALID;JAVA CLASS
    Anyone knows the cause of the exception?
    Edited by: user8938058 on Feb 1, 2011 2:08 AM

    I had the same problem. For me below code works:
    CREATE OR REPLACE FUNCTION SYS.add_numbers (p_int_1 IN NUMBER,
    p_int_2 IN NUMBER)
    RETURN NUMBER
    AS
    l_service UTL_DBWS.service;
    l_call UTL_DBWS.call;
    l_wsdl_url VARCHAR2(32767);
    l_namespace VARCHAR2(32767);
    l_service_qname UTL_DBWS.qname;
    l_port_qname UTL_DBWS.qname;
    l_operation_qname UTL_DBWS.qname;
    l_xmltype_in SYS.XMLTYPE;
    l_xmltype_out SYS.XMLTYPE;
    l_return NUMBER;
    BEGIN
    l_wsdl_url := 'http://www.oracle-base.com/webservices/server.php?wsdl';
    l_namespace := 'http://www.oracle-base.com/webservices/';
    l_service_qname := UTL_DBWS.to_qname(l_namespace, 'Calculator');
    l_port_qname := UTL_DBWS.to_qname(l_namespace, 'CalculatorPort');
    l_operation_qname := UTL_DBWS.to_qname(l_namespace, 'ws_add');
    l_service := UTL_DBWS.create_service (
    service_name => l_service_qname);
    l_call := UTL_DBWS.create_call (
    service_handle => l_service);
    utl_dbws.set_target_endpoint_address(l_call, 'http://www.oracle-base.com/webservices/server.php');
    utl_dbws.set_property( l_call, 'OPERATION_STYLE', 'rpc');
    l_xmltype_in := SYS.XMLTYPE('<?xml version="1.0" encoding="utf-8"?>
    <ws_add xmlns="' || l_namespace || '">
    <int1>' || p_int_1 || '</int1>
    <int2>' || p_int_2 || '</int2>
    </ws_add>');
    l_xmltype_out := UTL_DBWS.invoke(call_Handle => l_call,
    request => l_xmltype_in);
    UTL_DBWS.release_call (call_handle => l_call);
    UTL_DBWS.release_service (service_handle => l_service);
    l_return := l_xmltype_out.extract('//return/text()').getNumberVal();
    RETURN l_return;
    END;
    It seems that the problem is with class oracle.jpub.runtime.dbws.DbwsProxy.createService(java.lang.String,java.lang.String) return long
    I rewrite your example that it uses oracle.jpub.runtime.dbws.DbwsProxy.createService(java.lang.String) return long
    In the database log I get this stacktrace:
    *** 2011-06-03 11:22:37.390
    ServiceFacotory: oracle.j2ee.ws.client.ServiceFactoryImpl@3b689a27
    WSDL: http://www.oracle-base.com/webservices/server.php?wsdl
    ERROR: java.lang.ExceptionInInitializerError
    java.lang.ExceptionInInitializerError
         at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.readDocument(WSDLReaderImpl.java:309)
         at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:275)
         at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:462)
         at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:440)
         at oracle.j2ee.ws.common.processor.modeler.wsdl.WSDLModeler.buildModel(WSDLModeler.java:161)
         at oracle.j2ee.ws.common.processor.config.ModelInfo.buildModel(ModelInfo.java:167)
         at oracle.j2ee.ws.client.dii.ServiceInfoBuilder.getModel(ServiceInfoBuilder.java:196)
         at oracle.j2ee.ws.client.dii.ServiceInfoBuilder.getModel(ServiceInfoBuilder.java:181)
         at oracle.j2ee.ws.client.dii.ServiceInfoBuilder.buildServiceInfo(ServiceInfoBuilder.java:114)
         at oracle.j2ee.ws.client.dii.ConfiguredService.<init>(ConfiguredService.java:54)
         at oracle.j2ee.ws.client.ServiceFactoryImpl.createService(ServiceFactoryImpl.java:43)
         at oracle.jpub.runtime.dbws.DbwsProxy$ServiceProxy.<init>(Unknown Source)
         at oracle.jpub.runtime.dbws.DbwsProxy$ServiceProxy.<init>(Unknown Source)
         at oracle.jpub.runtime.dbws.DbwsProxy.createService(Unknown Source)
    Caused by: java.util.MissingResourceException: Can't find oracle.j2ee.ws.wsdl.ORAWSDLMessageBundle bundle
         at java.util.logging.Logger.setupResourceInfo(Logger.java:1285)
         at java.util.logging.Logger.<init>(Logger.java:203)
         at java.util.logging.Logger.getLogger(Logger.java:271)
         at oracle.j2ee.ws.wsdl.ORAWSDLMessages.<clinit>(ORAWSDLMessages.java:14)
         ... 14 more
    java.lang.IllegalAccessException: java.lang.ExceptionInInitializerError
         at oracle.jpub.runtime.dbws.DbwsProxy.createService(Unknown Source)
    ServiceFacotory: oracle.j2ee.ws.client.ServiceFactoryImpl@3b689a27
    WSDL: http://www.oracle-base.com/webservices/server.php?wsdl
    ERROR: java.lang.NoClassDefFoundError
    java.lang.NoClassDefFoundError
         at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.readDocument(WSDLReaderImpl.java:309)
         at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:275)
         at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:462)
         at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:440)
         at oracle.j2ee.ws.common.processor.modeler.wsdl.WSDLModeler.buildModel(WSDLModeler.java:161)
         at oracle.j2ee.ws.common.processor.config.ModelInfo.buildModel(ModelInfo.java:167)
         at oracle.j2ee.ws.client.dii.ServiceInfoBuilder.getModel(ServiceInfoBuilder.java:196)
         at oracle.j2ee.ws.client.dii.ServiceInfoBuilder.getModel(ServiceInfoBuilder.java:181)
         at oracle.j2ee.ws.client.dii.ServiceInfoBuilder.buildServiceInfo(ServiceInfoBuilder.java:114)
         at oracle.j2ee.ws.client.dii.ConfiguredService.<init>(ConfiguredService.java:54)
         at oracle.j2ee.ws.client.ServiceFactoryImpl.createService(ServiceFactoryImpl.java:43)
         at oracle.jpub.runtime.dbws.DbwsProxy$ServiceProxy.<init>(Unknown Source)
         at oracle.jpub.runtime.dbws.DbwsProxy$ServiceProxy.<init>(Unknown Source)
         at oracle.jpub.runtime.dbws.DbwsProxy.createService(Unknown Source)
    java.lang.IllegalAccessException: java.lang.NoClassDefFoundError
         at oracle.jpub.runtime.dbws.DbwsProxy.createService(Unknown Source)
    Maybe somebody explain why if I use function create_service(wsdl_Document_Location URITYPE, service_Name QNAME)
    RETURN SERVICE it throws ORA-29532: Java call terminated by uncaught Java exception: java.lang.IllegalAccessException: java.lang.NoClassDefFoundError
    and when I use function create_service(service_Name QNAME) RETURN SERVICE it works ?
    Please help
    Edited by: user10200937 on 2011-06-03 03:14

  • Virtual-mapping in jrun-web.xml file for CFIDE is not working

    I have put virtual-mapping for my web root into jrun-web.xml
    file. It looks like this:
    <virtual-mapping>
    <resource-path>/*</resource-path>
    <system-path>E:/WebSites/mywebroot</system-path>
    </virtual-mapping>
    So I need give virtual-mapping for my CFIDE too. It looks
    like this:
    <virtual-mapping>
    <resource-path>/CFIDE/*</resource-path>
    <system-path>E:/Apps/JRun4/servers/myserver/cfusion-ear/cfusion-war/CFIDE</system-path>
    </virtual-mapping>
    It is now working for me. When I use following url:
    http://localhost:8002/CFIDE/administrator
    I am getting "HTTP 404 - File not found". I have set it for
    other servers they are working on same server. What I did wrong
    this time?
    Thanks ahead.
    Mikenj

    Hi John,
    i did some some changes in Account dimension in my Planning Dev server. When i was migrating it to QA using LCM in shared services it is howing this error: Import failed for the following reason - Error parsing the deployment xml.
    First i define migration in Dev for export and the migration was successful.Then i went into QA shared services and started migration, i got this error for importing.
    Could you help me out on this?
    Regards,
    Shilpa

  • Juniper Java Secure Application Manager does not work with Snow Leopard

    Anyone else having issues as well? I'm not using a client - its basically the Java based application manager for VPN connections to work (so I can remote desktop to my work PC).
    Once logged in, it gives a "Restart your browser" error.
    Thanks for your help

    OK - so I got it to work. Here's what I did. Let me know if it works for you:
    I wasn't able to follow the instructions exactly as noted in the original link I posted above.
    The terminal command, specifically wget would not work - there is no wget.
    I manually downloaded the Java 1.5 version, by following the link (just clicked on it). I 'unzipped' it and moved it into the library/frameworks/JavaVM.framework/versions folder.
    So now the 1.5.0 is not an alias (as it is by default in SL), but the older version of Java.
    I then followed the instruction related to changing the order in JAVA PREFERENCES.
    The final stop - and I think this is key, is that I forced Safari to start in 32 bit mode. You can do this by going to Applications, highlighting Safari and hitting CMD-I. Then check the 32 bit option.
    Start Safari, go to the appropriate URL and login. The Java Secure Application Manager should then start as it used to do in Leopard. You should be all set.
    Hope this helps - let me know if someone has questions.

  • Web Service Test in SE80 does not work with internal Table

    Hello,
    I have created a web server based on a function module. It works fine when the server is invoked from outside (.Net or SOAPUI).
    However, when I test it in SE80, (open the Server and then F8), it shows error message:
         Access to the table ref. node 'Y02VSI_CAE_CONDITIONITEM' outside a loop
    (Germany Zugriff auf den Tabellen-Ref-Node 'Y02VSI_CAE_CONDITIONITEM' außerhalb einer Schleife )
    The test xml is generated from SAP, I just fill the data as following:
    This XML is absolute correct. Why item ('Y02VSI_CAE_CONDITIONITEM) is outside a loop?
    Is it a bug from SAP?
    Thanks in advance!
    Regards
    Dianlong

    Hi Dianlong,
    Please check if SAP note 1132501 is relevant for your ECC release. If you apply the note, you may have to re-generate the web service from the function module.
    Regards, Trevor

  • RFC works but web service for that RFC does not work..weird??

    hi all,
    I created an RFC enabled function module to create a Sales Order in SAP CRM for both for Varinat Configurable and Normal Materials.
    The RFC Works well...if i test it..it creates an order and if i go and check the sales order in CRM GUI. i find that sales order is perfect with the configuration data for the configurable items..
    Now i created a Web service for this RFC by calling the Web service creation wizard.
    Now i am testing the Web service in SOAMANGER T-code and the sales order is created and weird thing the configuration data is missing for Varinat configurable item..
    But i dont encounter this problem if i am testing the RFC directly
    What could be wrong...why is my web service behaving weird?
    I am dying to find this out..did any body enocunter this situation befor ..please help

    Sure Oliver..
    I put a break point using external debugger and when i was testing the Web service in SOAMANAGER..
    i could then land into ABAP debugger.
    There in my RFC i put a logic such that i diffenetiate between VC and Non-VC items and fill the Charateristic Values only if it is aVC item.
    I saw that the IF condition was not executing as they suddenly changed the material structure in ECC and it reflected in CRM.
    SO i am inputting 18 digits of material no like '000000000000000001' for '1'...but the if condition was checking against 1 =1 so that loop never executed and chara values are not getting filled.
    But if i test RFC in se37 ..it works as i am inputting 1...
    Since Web service works with XML (WSDL) need to be very careful with the format in which data is inputted and the format in which the logic we wrote in RFC works.
    Once again ..thanks to all people who helped me with the answers...
    Regards,
    Jessica Sam

  • How do i remove my old apple id from an old iphone...i cannot access via email nor security questions, pw does not work.

    I got rid of my old iphone and opened new apple id and pw on this new ip4s. I cannot access the old apple ID via usual
    access ie., security questions, password or email verification. The email never arrives and when I answer the security it states incorrect answer.
    I just want to delete that old apple id account for security reasons, hackers, thieves, potential unknown risks.
    Please advise.
    Thanks.
    C.

    The Apple ID exists. The email address you used to create it may not, but the Apple ID does. Call AppleCare and ask to speak to someone in account security.

  • Consuming Web Services in 11.2 does not work (UTL_DBWS)

    Hello
    i read some documents for consuming web services on the internet , but i get an error when i call add_numbers function as follows:
    i connected on WSUSER , then
    SQL> select add_numbers(1,3) from dual;
    The Error message is:
    ERROR at line 1:
    ORA-29532: Java call terminated by uncaught Java exception:
    java.lang.IllegalAccessException: java.lang.ExceptionInInitializerError
    ORA-06512: at "WSUSER.UTL_DBWS", line 193
    ORA-06512: at "WSUSER.UTL_DBWS", line 190
    ORA-06512: at "WSUSER.ADD_NUMBERS", line 25"
    I use the following steps to setup the UTL_DBWS :
    1-     Create new user 'WSUSER'
    2-     Run the UTL_DBWS scripts ( utl_dbws_decl.sql , utl_dbws_body.sql) on WSUSER.
    3-     Execute this command
    loadjava -u scott/tiger -r -v -f -genmissing dbwsclientws.jar dbwsclientdb11.jar
    4-     Log in as sys and grant these privileges to our new user:
    execute dbms_java.grant_permission('WSUSER','SYS:java.util.PropertyPermission','http.proxySet','write');
    execute dbms_java.grant_permission('WSUSER','SYS:java.util.PropertyPermission','http.proxyHost', 'write');
    execute dbms_java.grant_permission('WSUSER','SYS:java.util.PropertyPermission','http.proxyPort', 'write');
    execute dbms_java.grant_permission('WSUSER','SYS:java.lang.RuntimePermission', 'accessClassInPackage.sun.util.calendar','');
    execute dbms_java.grant_permission('WSUSER','SYS:java.lang.RuntimePermission','getClassLoader','');
    execute dbms_java.grant_permission('WSUSER','SYS:java.net.SocketPermission','*','connect,resolve');
    execute dbms_java.grant_permission('WSUSER','SYS:java.util.PropertyPermission','*','read,write');
    execute dbms_java.grant_permission('WSUSER','SYS:java.lang.RuntimePermission','setFactory','');
    execute dbms_java.grant_permission('WSUSER','SYS:java.lang.RuntimePermission', 'createClassLoader', '' )
    5-     Create add_numbers function on wsuser to test utl_dbws:
    CREATE OR REPLACE FUNCTION add_numbers (p_int_1 IN NUMBER,
    p_int_2 IN NUMBER)
    RETURN NUMBER
    AS
    l_service UTL_DBWS.service;
    l_call UTL_DBWS.call;
    l_wsdl_url VARCHAR2(32767);
    l_namespace VARCHAR2(32767);
    l_service_qname UTL_DBWS.qname;
    l_port_qname UTL_DBWS.qname;
    l_operation_qname UTL_DBWS.qname;
    l_xmltype_in SYS.XMLTYPE;
    l_xmltype_out SYS.XMLTYPE;
    l_return NUMBER;
    BEGIN
    l_wsdl_url := 'http://www.oracle-base.com/webservices/server.php?wsdl';
    l_namespace := 'http://www.oracle-base.com/webservices/';
    l_service_qname := UTL_DBWS.to_qname(l_namespace, 'Calculator');
    l_port_qname := UTL_DBWS.to_qname(l_namespace, 'CalculatorPort');
    l_operation_qname := UTL_DBWS.to_qname(l_namespace, 'ws_add');
    l_service := UTL_DBWS.create_service (
    wsdl_document_location => URIFACTORY.getURI(l_wsdl_url),
    service_name => l_service_qname);
    l_call := UTL_DBWS.create_call (
    service_handle => l_service,
    port_name => l_port_qname,
    operation_name => l_operation_qname);
    l_xmltype_in := SYS.XMLTYPE('<?xml version="1.0" encoding="utf-8"?>
    <ws_add xmlns="' || l_namespace || '">
    <int1>' || p_int_1 || '</int1>
    <int2>' || p_int_2 || '</int2>
    </ws_add>');
    l_xmltype_out := UTL_DBWS.invoke(call_Handle => l_call,
    request => l_xmltype_in);
    UTL_DBWS.release_call (call_handle => l_call);
    UTL_DBWS.release_service (service_handle => l_service);
    l_return := l_xmltype_out.extract('//return/text()').getNumberVal();
    RETURN l_return;
    END;
    6-     Test the function
    Select add_numbers(1,2) from dual
    on the test i get the error message :
    ERROR at line 1:
    ORA-29532: Java call terminated by uncaught Java exception:
    java.lang.IllegalAccessException: java.lang.ExceptionInInitializerError
    ORA-06512: at "WSUSER.UTL_DBWS", line 193
    ORA-06512: at "WSUSER.UTL_DBWS", line 190
    ORA-06512: at "WSUSER.ADD_NUMBERS", line 25
    anyone have an idea to resolve this error .
    thanks alot

    Hi.
    Looking at the code, it seems it is my article you are asking about.
    http://www.oracle-base.com/articles/10g/utl_dbws10g.php
    I've just run through it on an 11.2 instance and it works fine for me.
    Make sure your server has access to the Internet and make sure the java classes are loaded successfully.
    Cheers
    Tim...

  • My Secure Empty Transh does not work, How can I fix it?

    When I open Trash, it displays all the files that are there to be deleted. However, when I select from Actions the Secure Empty Transh, the computer launches the application to empty trash, it asks me if I want to delete unlocked items or all items. Independently of what option I select, the program closes and all the files are where they were before. Any ideas on what to do?

    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
    View ▹ Show Log List
    from the menu bar.
    Click the Clear Display icon in the toolbar. Then try the action that you're having trouble with again. Select any messages that appear in the Console window. Copy them to the Clipboard (command-C). Paste into a reply to this message (command-V).
    When posting a log extract, be selective. In most cases, a few dozen lines are more than enough.
    Please do not indiscriminately dump thousands of lines from the log into this discussion.
    Important: Some private information, such as your name, may appear in the log. Anonymize before posting.

  • Require Logon Using Secure Password Authentication does not work with plaintextlogin on the server side

    Hi All ;
    We are in the middle of a migration Project but we stuck with this pop3 setting. Most of the mailboxes uses pop3 to connect Exchange 2010 with the setting spa + port 110 on the client side. We want to give same authentication options for the pop3 settings
    on 2013 side but when spa is selected the pop3 rejects the connection with the following error.
    Your e-mail server rejected your login with SPA.
    So both settings for pop3 protocol is same but the client cannot connect from 2013 server.
    Where can i enable this feature from Exchange 2013 .

    Hi,
    Please make sure that we have enabled Outlook Anywhere and 2 pop3 services in Exchange 2013.
    More details in the following article:
    Enable POP3 in Exchange 2013
    http://technet.microsoft.com/en-us/library/bb124934(v=exchg.150).aspx
    Please make sure port 110, port 587, port 25 are available.
    Please try to disable the NTLM authentication on Exchange 2013 server for testing.
    Please also try to run Outlook client under safe mode to avoid some AVs and add-ins.
    Please also try to re-create new profile to refresh the caches for testing.
    Thanks
    Mavis
    Mavis Huang
    TechNet Community Support

  • HT5559 Java web start does not work

    I have followed the instructions in this article, including the last step about web start, but it still does not work, neither applets or web start. When I try to launch a JWS application by double clicking it I get the dreaded warning dialog:
    To open this Web Start application, you need to download the Java Runtime Environment.
    Click “More Info…” to visit the website for the Java Runtime Environment.
    I do have a JRE installed, 1.6, since I for compatibility reasons can't upgrade.
    Trying to launch a web start application from the commandline looks like this:
    $ javaws /tmp/airview.jnlp
    Java Web Start splash screen process exiting ...
    Can not find message file: No such file or directory
    Regular Java-programs work fine.
    $ java -version
    java version "1.6.0_37"
    Java(TM) SE Runtime Environment (build 1.6.0_37-b06-434-11M3909)
    Java HotSpot(TM) 64-Bit Server VM (build 20.12-b01-434, mixed mode)

    Read this thread https://discussions.apple.com/thread/4789691?tstart=0
    This fixed the issue for me:
    sudo /usr/libexec/PlistBuddy -c "Delete :JavaWebComponentVersionMinimum" /System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/XProtect.meta. plist
    In the comments to the linked article someone suggests to comment out the node in stead of deleting it. Probably safer (it's explained further down how to do that). Anyway I already spent to much time on this nonsense, deleted it and it worked, so I'm happy.

  • INSTALLED BUT DOES NOT WORK

    FASAYER IINSTALLED BUT DOES NOT WORK. IT SAYS TO INSTAL IT AGAIN WHEN I TRY TO USE IT.

    What is your operating system & version?
    What is your web browser?
    What exactly does "not work" mean?

  • Remote pairing setting does not work on 10.8.2

    As the title suggests, the pairing option in Security & Privacy simply does not work. If I pair my mac, other remotes still work, if I turn the reciever off, other remotes still work.
    Is there a kext that I can delete to really disable the reciever?

    Hi,
    here are some more informations about the problem.
    The root CA certificate is imported as trusted in the system keychain of the server and the client. A certificate evaluation returns "valid certificates, trusted ...".
    The client bind fails with this messages, e.g. Kerio Control is able the use LDAPS, so it seams just the problem with the trustability of the certificates. Keychain trusts the certificates, OD client bind not, this is not so consistent.
    Any idee?
    Thanks
    Henri
    2013-03-14 19:39:02.776804 CET - Trigger - notified opendirectoryd:nodes;lastServerChanged;/LDAPv3/ldaps://macpro....:636
    2013-03-14 19:39:02.793467 CET - 71825.330426.330427, Module: AppleODClientLDAP - unable to create connection to LDAP server - ldap_search_ext_s for the ro
    otDSE failed with error 'server connection failed' (-1) error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed (self signed cert
    ificate in certificate chain)
    2013-03-14 19:39:02.793501 CE
    CONNECTED(00000003)
    depth=1 /C=DE/...
    Certificate chain
    0 s:/CN=macpro...
       i:/C=DE//OU=IT/CN=*.office.../emailAddress=admin@...
    verify error:num=19:self signed certificate in certificate chain
    verify return:0

  • WEB.SHOW_DOCUMENT does not work on local drive

    Hi.
    I have used WEB.SHOW_DOCUMENT in the past. I have a situation where I can do the following web.show_document('file://p:\some-directory\foo.txt'). However, as soon as I try to read something off my local hard drive web.show_document('file://c:\some-directory\foo.txt') it does not work. This is very frustrating. There is nothing special security wise and the path and file names are correct. If it works for one, it should work for the other.
    Thanks,
    BradW

    So, looks like this is an IE issue. I need to add the form server site to my list of Trusted Sites. Once I did that, everything started to work fine. Thought I'd share in case anyone is really interested.....

Maybe you are looking for

  • Start up disc problems and my imac will not boot from the cd.

    Hi All, I have a start up disc that needs repaired, according to ONYX so then reading the apple support guide it seems I boot from my OSX CD that came with my iMac and use First Aid. However when I insert my OSX CD my imac reads it fine, as it does w

  • When I click on my firefox icon on my windows desktop or in my programs menu, nothing happens. Why?

    Firefox had been working just fine. Then a few days ago, I noticed the Firefox desktop icon would not open into the program. I uninstalled the program and re-installed it and yesterday it was working but now again the icon, or clicking on other icons

  • Sending file data through a buffer

    Hi there, I am new to using sockets, file/buffered input/output streams etc. What I want to do is create an application that listens on a port for (a request) from a remote host on a socket. It should receive the request as a string. Now lets say the

  • Mac support photosmart

    I have a Macbook Air running MAC OS X Yosemite V10.10 with an HP C7280 which prints and scans OK using the Apple provided software, however I can not get it to select the photo tray to print on photo paper. The Apple software is not very elegant, unl

  • Form buttons look different depending on how I open the script

    When running my script from within the ISE editor, buttons on forms display correctly as per the image When running the same script from either the command window, the powershell module or from another script (which is how I need to run this) the but