Issues with Form based on Transient VO

Hi guys,
I have a jspx page with an ADF Form based on a programmatically View Object, with all of its attributes transient type and both options checked:
Passivate State
Including All Transient values.
After the user has entered some input I clean the form by calling a method that does something like this:
getUserInfoVO().clearCache();
Row row = getUserInfoVO().createRow();
getUserInfoVO().insertRow(row);
getUserInfoVO().last();
This works fine. The problem is that when I simulate a Production environment, by disabling Application Module Pooling, the form is created null
(just showing labels without any fields).
Is this a kind of bug? As far as I know if I have checked both options, this shouldn't been occurring. Also is causing problems if I try to restore a previously created
save point, giving exceptions of DeadViewRowAccessException or couldn't get the View Object with a fixed Id.
Greetings!

this is not a bug. I guess your application is not activation safe.
try http://blogs.oracle.com/Didier/entry/set_jboampooldoampoolingfalse_1
once you find it you need to handle activation and passivation by overridding the methods passivateState(Document doc, Element parent) and activateState(Element elem)
Also you can refer to
http://jdeveloperfaq.blogspot.com/2010/05/faq-21-how-to-passivateactivate-adf.html
Edited by: in the line of fire on Jul 7, 2011 12:15 PM

Similar Messages

  • Issue with form based Authentication in three tier sharepoint 2013 environment.

    Hi,
    We are facing issue with form based Authentication in three tier environment.
    We are able to add users to the database and in SharePoint.
    But we are not able to login with created users.
    In single tier everything working fine
    Please help , Its urgent ... Thanks in advance.
    Regards,
    Hari
    Regards, Hari

    if the environments match, then it sounds like a kerberos double-hop issue
    Scott Brickey
    MCTS, MCPD, MCITP
    www.sbrickey.com
    Strategic Data Systems - for all your SharePoint needs

  • How To Use HttpUnit With FORM-based Authentication?

    I'm just getting started with HttpUnit, and I'm having a problem:
    How does one use HttpUnit with FORM-based authentication?
    I have a Web app where I specify a number of protected URLs. When a user tries to invoke one of them in a browser, Tomcat 4.1.30 brings up a login page that I specified and asks for a username and password. The values given by the user is checked against the tomcat-users.xml file. If the user is valid, Tomcat
    forwards the response from the original request. If invalid, an error page is displayed. The user is considered valid until either the session times out or the browser is closed.
    Does HttpUnit have to log into the app every time I run a test? How does it manage subsequent pages after login?

    I don't think that's true. HttpUnit is 100% Java and based on JUnit. HttpUnit has nothing to do with Apache, AFAIK. HttpUnit is for unit testing servlets and JSPs. Apache is a Web server. It doesn't have a servlet/JSP engine, unless you bolt Tomcat on top of it.
    Perhaps we're talking about two different packages. - %

  • After the recent update I am having issues with Flash based games freezing and not responding.

    After the recent update I am having issues with flash based programs not running or loading correctly.  The programs will not load or take an extremely long time to load compared to jsut a few days ago.  This happens across the board on anything flash based.  Also, once they do load they will freeze, stop responding or need to be constantly refreshed to come back alive which is short lived at best.  I went thru the help and did all the file deleting, cache clearing, disabling hardware acceleration, removing then reinstalling flash, and even removing and reinstalling my browsers.  None of this has helped at all.  I am using Chrome and it is up to date and I checked my Flash player and it is up to date.  I am running windows 7 64bit.

    Here's what you're up against guys,
    Adobe writes the base code for Flash Player, and then hands it off to Google, who adapt it to a PPAPI plug-in (it's NPAPI when Adobe writes it). It's then "PepperFlash" and Google embeds it in their Chrome browser. While Google is pushing a "webwide" move to PPAPI Flash Content, a reinvention of the wheel so to speak, not everyone "got the memo", and Google is slowly making it so that PepperFlash will block NPAPI Flash content from running properly, and you have to disable PepperFlash to force the NPAPI plug-in to work, which sometimes fixes it, sometimes not. I have a feeling this is only going to get worse. HTML5 will eventually resolve the video end but game developers need to come up with something that won't require a plug-in.
    And to the first post:  Since PepperFlash is embedded in Chrome by Google, you can uninstall and reinstall Flash Player from here until your hard drive literally seizes up.... guess what? It has NO EFFECT at all on the PepperFlash plug-in in Chrome because it's a separate file in a separate folder and the uninstaller & installers don't have anything to do with it.

  • TREX Indexing issue. Form based publishing XML files.

    In order to test my TREX indexing functionality, I have created a lot of test XML files (with form based publishing) containg test words.
    What I experiments is that TREX only index the words that is presented on the 'Show' form of the xml document. The template created in the XML Forms Builder that is used to present the document. But thing is, that I only want to index the words from the XML source file, not from the 'Show' form template. Because on that i only have a static label with constant text.
    How do I set TREX to index the source XML file and not the show form template representation of the file?

    Hi Flemming,
    this works as designed. If you want index the whole XML data, you have to store your XMLForms items in a repository on which no "XMLFormsResourceFilter" is defined.
    But if you do that, all the items are rendered as XML and not as HTML. So the SearchResult only gives you links pointing to XML files.
    The only way to index more informations (from my point of view) is to store your additional information into ResourceProperties (you have to design your XMLFormsProject). These properties can be found by the search, if they are set to "indexable=yes".
    Hope this helps
    --Matthias

  • Issue with forms in Safari

    I have a feeling this is an issue with the underlying programming, but I thought I would ask. I use a website that has a textbox for entering form data. As part of that textbox, when I use in my computer there are several icons for inserting an image url, inserting urls and several others.
    On the safari app in ipad and iphone these icons do not appear. Anyone have any suggestions on work arounds?
    Thanks

    Well, completely borrowed from a prior related submission by one who certainly appears to know his web design stuff ..... You have to use the 'touch' related JavaScript command set vice the mouse-based ones.

  • Using Windows Vista and IE7 with Forms based applications

    A user has Vista & iexplorer 7 installed on their machine and when they attempt to access the Professional Buyer responsibility (forms based) they receive an error message stating that 'Internet Explorer has stopped working'. When they attempt the same thing using a machine with Windows XP Pro and IE6 they do not have a problem. Could anyone tell me if they have experienced a similar issue and how do you work around it whilst still using Internet Explorer?? Also we are using
    j-initiator version 1.3.1.18

    Microsoft IE 7 on Vista is certified with Apps 11i provided that you meet the following requirements:
    - Applications 11.5.10 plus Maintenance Pack 11.5.10 CU2 or later
    - Oracle Developer 6i Patchset 18 (6.0.8.27.x) or later (Metalink Note 125767.1)
    - Oracle Applications Technology 11i.ATG_PF.H Rollup 4 (RUP 4) (patch 4676589) or later
    - Microsoft Vista desktop clients running Internet Explorer 7
    - Sun Java plug-in (JRE) 1.5.0_12
    Windows Vista + IE7 Certified with E-Business Suite
    http://blogs.oracle.com/stevenChan/2007/11/windows_vista_ie7_certified_wi.html

  • Performance issues with Forms 10G 10.1.2.3.0

    Hi,
    we are on the way to change our application server back to a smaller machine. At the moment we run the AS on a XEON Quadcore machine running at ~2 GHz with 4 GB memory, let's say AS-Quad. This is the case because we needed an intermediate platform.
    Now we want to go to the originally planned harware which is a single Core but Hyperthreaded XEON running between ~2.8 and 3.6 GHz with 12 GB memory, let's say AS-Single.
    OS is Windows Server 2003 SP2 64bit on both machines.
    Hard Disk is on a SAN for both machines.
    Both AS are not loaded right now because were still at the beginning of migrating from Client-Server.
    After installing the AS-Single, and copying/moving/changing the configuration files (formsweb.cfg, default.env, ...) from AS-Quad we think we have now 2 Application Servers which are nearly the same.
    But we see a big difference which hopefully can be solved :
    If we connect to AS-Quad the menu(Tree) and the first Form is displayed in approx 2 seconds, after that a reaction on keystrokes is immediately.
    If we connect to AS-Single the menu(Tree) and the first Form is displayed in approx 4 seconds, after that a reaction on keystrokes is very slow for a couple of time.
    If we start a form which just displays some records from a table, scrolling through the data on AS-Quad is working fine when we keep KEY-DOWN pressed, the rows flow though the screen quite continually. Only very rarely the scroll stops for a few milliseconds which is acceptable.
    On AS-Single doing the same thing, (holding down the Cursor-Down Key) the Rows flow as well, but after some Rows (5 or 10 or maybe 50-100) the screen stops for half a second up to 2 seconds until it continue.
    I know, this is not a benchmark which has to be much more complicate and detailed, but it gives a feeling, that the AS-Single might be not performing quite well and thinking about ~ 400 Sessions on 2 of those Servers when running productive we want to eliminate any problems or changes before getting productive.
    If anybody has ideas, your welcome.
    We also have another question regarding a specific Form comparing Client-Server with Web-Based.
    Running that Form on Client-Server doing an execute query and junping to the last record takes ~ 5-10 Minutes. This is due to the fact that it is a complicated form doing a couple of Master-Detail and also Post-Query on some of those data-blocks.
    the point is that running on CS the CPU-Load (seen in Windows Task-Manager) is nearly 0. Running the migrated Form on the Application-Server and doing the same, Execute and jump to the last Record, the CPU-Load is ~30-40%. Doing the sam on 4 sessions the Load goes up to 100%.
    Is there an explanation for it or do we have to find a reason for it. And if we have to do, where can we start searching for the reason of the CPU-Load.
    Thanks again for your ideas.
    Mark

    Hi,
    we are on the way to change our application server back to a smaller machine. At the moment we run the AS on a XEON Quadcore machine running at ~2 GHz with 4 GB memory, let's say AS-Quad. This is the case because we needed an intermediate platform.
    Now we want to go to the originally planned harware which is a single Core but Hyperthreaded XEON running between ~2.8 and 3.6 GHz with 12 GB memory, let's say AS-Single.
    OS is Windows Server 2003 SP2 64bit on both machines.
    Hard Disk is on a SAN for both machines.
    Both AS are not loaded right now because were still at the beginning of migrating from Client-Server.
    After installing the AS-Single, and copying/moving/changing the configuration files (formsweb.cfg, default.env, ...) from AS-Quad we think we have now 2 Application Servers which are nearly the same.
    But we see a big difference which hopefully can be solved :
    If we connect to AS-Quad the menu(Tree) and the first Form is displayed in approx 2 seconds, after that a reaction on keystrokes is immediately.
    If we connect to AS-Single the menu(Tree) and the first Form is displayed in approx 4 seconds, after that a reaction on keystrokes is very slow for a couple of time.
    If we start a form which just displays some records from a table, scrolling through the data on AS-Quad is working fine when we keep KEY-DOWN pressed, the rows flow though the screen quite continually. Only very rarely the scroll stops for a few milliseconds which is acceptable.
    On AS-Single doing the same thing, (holding down the Cursor-Down Key) the Rows flow as well, but after some Rows (5 or 10 or maybe 50-100) the screen stops for half a second up to 2 seconds until it continue.
    I know, this is not a benchmark which has to be much more complicate and detailed, but it gives a feeling, that the AS-Single might be not performing quite well and thinking about ~ 400 Sessions on 2 of those Servers when running productive we want to eliminate any problems or changes before getting productive.
    If anybody has ideas, your welcome.
    We also have another question regarding a specific Form comparing Client-Server with Web-Based.
    Running that Form on Client-Server doing an execute query and junping to the last record takes ~ 5-10 Minutes. This is due to the fact that it is a complicated form doing a couple of Master-Detail and also Post-Query on some of those data-blocks.
    the point is that running on CS the CPU-Load (seen in Windows Task-Manager) is nearly 0. Running the migrated Form on the Application-Server and doing the same, Execute and jump to the last Record, the CPU-Load is ~30-40%. Doing the sam on 4 sessions the Load goes up to 100%.
    Is there an explanation for it or do we have to find a reason for it. And if we have to do, where can we start searching for the reason of the CPU-Load.
    Thanks again for your ideas.
    Mark

  • Adobe 9 issues with forms in Acrobat Reader 7

    I've been reading up on this forum as to why the adobe rights are disabled after a user saves their data in Reader.  I have been adding form fields in Adobe Standard 9 then save the file,  test it in Reader, then Extend the Forms Fill-In for Adobe Reader and save the file with a slightly different name. The only usage rights that are allowed is to Save Form Data.  When I test the file in Reader 7, I can save the data but when I go into the document to make sure my data is there, I get that dreaded and popular message "Adobe Rights have changed and are no longer valid dialog box...
    I never changed the original extended file to cause this..even when I don't add data but save to a new file anyway I lose the writable functionality.
    A side note, I do not use LiveCycle and have been asked not to when creating these forms.
    I did not have any problems with the forms that I had other people create and extend in Adobe Pro 8.  It seems to be a Standard 9 and Pro 9 problem.  Or, it could very well be me!
    I use Reader 7 to test because these forms are for a volunteer organization and there are users on some early versions of Reader.  II do not use earlier versions of Reader.  This doesn't seem to be an issue in Reader 9.  I cannot vouch for Reader 8.
    I just had one of my form writers take my form that was done in Standard 9 and Extend Forms Fill-In via Adobe Pro 8.  She initally received a message stating that the file appears to use a new format and it may not open or display correctly.  I then got that same message when opening the extended version of the file.  The document rights on the new form allow me to add comments and markup, a digital signature and save form data. Once I fill out the fields and try to save, also get another dialog box telling me that I need Adobe Standard or Professional to save (in this case it was 7 since I'm testing in Reader 7).
    The forms that I am creating are initally PDFed by another party.  The orignal forms are created in QuarkXpress 4.1 and PDFed using Acrobat Distiller 4.0 for Macintosh.  I retrieve the files from a web site and save them to my hard drive to work on them.  They are shared via email.
    Any help would be greatly appreciated.  I've spent the last week researching but no anwers to help me solve this particular issue with 9.

    Interesting.  I did just do the Reduce File Size and extended the document and there were no dialog boxes when I saved my data.  The file size got larger instead of smaller and I received the message at the end of the Reduce File Size cycle that said " Enforcement of compatability to an earlier version of Acrobat has increased the size of some images".  There is an image in the file, not one that I added, but from the original document.  No change to the image either.  No biggie to me.  As long as my users can fill out the form and come back to it later to make changes, I'm happy!
    Thank you.  I think that solved it!

  • Issue with frames-based sites in Sf-3(L); Looking for confirmation

    Is anyone else having issues with Safari 3 (Leopard) and frames-based sites? Specifically, frame sizes not being obeyed?
    For example, phpMyAdmin's left Navi frame is, in most themes, supposed to be about 180px wide; if need be, the frame is coded to show scrollbars (again, in all the themes I've used so far anyway).
    However, Safari 3.0.4 on Leopard apparently ignores this and resizes the left Navi frame to an unusably narrow width (for reasons unknown - it's not the the right frame is especially full or anything), with no scroll bars either! However, the very same phpMyAdmin site works fine in Firefox 2, where frame widths show up exactly as they are supposed to.
    Is anyone else having or can duplicate this issue?

    I've been having this problem for months, Safari 3 beta and now Safari 3 on Tiger as well as Leopard.

  • Performance issue with form after 10g upgrade

    Hi Team,
    Last week we have upgraded our systems to 10g database.
    Ever since we did an upgrade there is a huge performance issues with the custom forms and this is causing a major setback to our business. Before the upgrade the forms were running with our any performance issues.
    Can anyone please help me in finding out the reason behind the performance issue(May be a tar or performance tuning).
    Many Thanks in Advance.
    Regards
    Kumar

    Like Jan said,
    You must supply more information so we can help you, like where the degradation happens?, in processing? in navigation? in forms loading?? where?
    You may also do a little test. Create a one button form, just a canvas and a button, you can include a message in when-button-pressed trigger.
    run it and see what happens.
    Tony

  • Validation issues with form (was: Validation)

    I am having validation issues with my form.  Even after I put in a name and last name it says the entries are invalid.  Could this be a hosting problem?  www.bussmanncomputers.net/Nx

    Below is mail form from my isp, which is Godaddy:
    This is the form that I am having some problems with configuring.
    <?php
    if ( !isset($_SERVER['SPI'])) {
            die();
    if (!isset($_SERVER['DOCUMENT_ROOT'])) {
            echo("CRITICAL: we seem to be running outside of the norm.\n");
            header("Location: http://".$_SERVER["HTTP_HOST"]."/");
            die("CRITICAL: Document root unavailable.\n");
    $request_method = $_SERVER["REQUEST_METHOD"];
    if($request_method == "GET") {
            $query_vars = $_GET;
    elseif ($request_method == "POST") {
            $query_vars = $_POST;
    reset($query_vars);
    function customsort($a,$b) {
            // $a is array for form vars, $b is comma seperated case sensitive field order
            // this is case sensitive -- good idea to hrc that.
            $data = array();
            if ( strstr($b,',') == FALSE )  {
                    $b = $b.",";
            $ordering = split(',',$b);
            foreach ($ordering as $orderitem) {
                    if ( ($orderitem != null) && ($orderitem != "") ) {
                            if (isset($a[$orderitem])) {
                                    $data[$orderitem] = $a[$orderitem];
            foreach ($a as $key=>$val) {
                    $data[$key] = $a[$key];
            return $data;
    function xmlentities($string) {
            return str_replace ( array('&', '"', "'", '<', '>'), array('&amp;', '&quot;', '&apos;', '&lt;', '&gt;'), $string);
    $t = date("U");
    $formhomedir = preg_replace('/.*\/home\/content/','',$_SERVER['DOCUMENT_ROOT']);
    $formhomedir = explode('/',$formhomedir);
    if (count($formhomedir) <= 4) {
            $formhome="/home/content/".$formhomedir[1]."/".$formhomedir[2]."/data/";
    else {
            $formhome="/home/content/".$formhomedir[1]."/".$formhomedir[2]."/".$formhomedir[3]."/".$f ormhomedir[4]."/data/";
    $file_order = ".default";
    $file_format = ".text";
    $file_interval = ".15m";
    $field_order = "";
    if (isset($query_vars['form_order'])) {
            if ($query_vars['form_order'] != "alpha") {
                    $field_order=$query_vars['form_order'];
                    $file_order=".custom";
                    $query_vars = customsort($query_vars,$field_order);
            else {
                    switch ($query_vars['form_order']) {
                            case "alpha":
                                    uksort($query_vars,'strnatcasecmp');
                                    $file_order=".alpha";
                            break;
                            default:
                                    $file_order=".default";
                            break;
    if (isset($query_vars['form_format'])) {
            switch ($query_vars['form_format']) {
                    case "csv":
                            $file_format = ".csv";
                    break;
                    case "html":
                            $file_format = ".html";
                    break;
                    case "xml":
                            $file_format = ".xml";
                    break;
                    case "text":
                    case "default":
                    default:
                            $file_format = ".text";
                    break;
    if (isset($query_vars['form_delivery'])) {
            switch ($query_vars['form_delivery']) {
                    case "hourly":
                            $file_interval = ".60m";
                    break;
                    case "hourly_digest":
                            $file_interval = ".60mc";
                    break;
                    case "daily":
                            $file_interval = ".24h";
                    break;
                    case "daily_digest":
                            $file_interval = ".24hc";
                    break;
                    case "digest":
                            $file_interval = ".15mc";
                    break;
                    case "default":
                    default:
                            $file_interval = ".15m";
                    break;
    $file = $formhome."form_".$t.$file_order.$file_format.$file_interval;
    $fp = fopen($file,"w");
    reset($query_vars);
    switch ($file_format) {
            case ".csv":
                    $csvkeys = "";
                    $csvvals= "";
                    $firsttime = "";
                    while (list ($key, $val) = each ($query_vars)) {
                            if ( ($key == "form_order") ||
                                    ($key == "form_format") ||
                                    ($key == "form_delivery") ||
                                    ($key == "redirect") ) {
                            else {
                                    if ($csvkeys != "") {
                                            $firsttime=",";
                                    $tmpkey=escapeshellcmd($key);
                                    $csvkeys = $csvkeys.$firsttime."'".$tmpkey."'";
                                    $tmpval=escapeshellcmd($val);
                                    $csvvals = $csvvals.$firsttime."'".$tmpval."'";
                    fputs($fp,"$csvkeys\n");
                    fputs($fp,"$csvvals\n");
            break;
            case ".html":
                    fputs($fp,"<table border=\"1\" cellspacing=\"1\" cellpadding=\"2\">\n");
            break;
            case ".xml":
                    fputs($fp,"<form>\n");
            break;
    reset($query_vars);
    while (list ($key, $val) = each ($query_vars)) {
            if ($key == "redirect") {
                    $landing_page = $val;
            if ( ($key == "form_order") ||
                    ($key == "form_format") ||
                    ($key == "form_delivery") ||
                    ($key == "redirect") ) {
            else {
                    switch ($file_format) {
                            case ".html":
                                    fputs($fp,"\t<tr>\n");
                                    fputs($fp,"\t\t<td><b>$key</b></td>\n");
                                    fputs($fp,"\t\t<td>$val</td>\n");
                                    fputs($fp,"\t</tr>\n");
                            break;
                            case ".csv":
                                    // content is already output
                            break;
                            case ".xml":
                                    fputs($fp,"\t<field>\n");
                                    fputs($fp,"\t\t<fieldname>".xmlentities($key)."</fieldname>\n");
                                    fputs($fp,"\t\t<fieldvalue>".xmlentities($val)."</fieldvalue>\n");
                                    fputs($fp,"\t</field>\n");
                            break;
                            case ".text":
                            default:
                                    fputs($fp,$key.": ".$val."\n");
                            break;
    switch ($file_format) {
            case ".html":
                    fputs($fp,"</table>\n");
            break;
            case ".xml":
                    fputs($fp,"</form>\n");
            break;
    fclose($fp);
    if ($landing_page != "") {
            header("Location: http://".$_SERVER["HTTP_HOST"]."/$landing_page");
    else {
            header("Location: http://".$_SERVER["HTTP_HOST"]."/");
    ?>

  • Ask for help with form based authentication & authorization

    Hi:
    I encountered the following problem when I tried the form based authentication & authorization (see the attached part of the config files, web.xml, weblogic.xml & weblogic.properties)
    1. authorization seems not invoked against the rules specfied, it doesn't go the login error page as long as the user/pwd match, even though the user does not have the necessary role
    in the example below, user3 should be denied to access the signin page, but seems no login error page returned, actually I never see any page / error message which complain about the authorization / access control error
    2. after authenticate correctly, always get redirected to the / (context root) url, instead of the url prior the login page, for e.g., signin page
    Any idea ?
    Thanks in advance.
    HaiMing
    attach config files
    web.xml
    <security-constraint>
    <web-resource-collection>
    <web-resource-name>MySecureBit1</web-resource-name>
    <description>no description</description>
    <url-pattern>/control/signin</url-pattern>
    <http-method>POST</http-method>
    <http-method>GET</http-method>
    </web-resource-collection>
    </security-constraint>
    <login-config>
    <auth-method>FORM</auth-method>
    <realm-name>default</realm-name>
    <form-login-config>
    <form-login-page>/control/formbasedlogin</form-login-page>
    <form-error-page>/control/formbasedloginerror</form-error-page>
    </form-login-config>
    </login-config>
    <security-role>
    <description>the customer role</description>
    <role-name>customer</role-name>
    </security-role>
    weblogic.xml
    <security-role-assignment>
    <role-name>
    customer
    </role-name>
    <principal-name>
    customer_group
    </security-role-assignment>
    weblogic.properties
    weblogic.password.user1=user1pass
    weblogic.password.user2=user2pass
    weblogic.password.user3=user3pass
    weblogic.security.group.customer_group=user1,user2

    Hi, Paul:
    Thanks a lot for your reply.
    Firstly let me just correct a little in the attachment I put previously, I think I missed following lines :
    <auth-constraint>
    <description>no description</description>
    <role-name>customer</role-name>
    </auth-constraint>
    So, user1 & user2 are in the customer group, but user3 not, and /control/singin is protected by this security constraint, as a result, when anyone click the link to /control/singin, he was led to the login page, if he tries to login as user1 & user2, he should pass & led to original page (in this case /control/singin, and my code's logic, once /control/signin is used, means that he already login successfully & redirected to the login success page), but if he tries to login as user3, he should only pass the authentication check, but fail the authorization check, and led to login error page.
    What not happen are :
    1. user1 & user2 pass, but redirect to /
    2. user3 also pass, because I see that debug message shows also get redirected to /, instead of login error page
    (login error page will be displayed, only if I try to login as a user with either wrong userid, or wrong password)
    3. one more thing I notice after I first time post the message, the container does not remember the principal, after 1. is done, not even for a while
    And the similar configuration works under Tomcat 3.2.1, for all 3. mentioned above.
    Any idea ?
    HaiMing
    "Paul Patrick" <[email protected]> wrote:
    If I understand what your trying to do, everyone should get access to the
    login page since roles are not
    associated with principals until after they authenticate. If I follow what
    you specified in the XML files,
    authenticated users user1 and user2 are members of a group called
    customer_group.
    The principal customer_group (and therefore its members) is mapped in the
    weblogic.xml file to the role
    customer.
    I can't speak to the reason your being redirected to the document root.
    Paul Patrick
    "HaiMing" <[email protected]> wrote in message
    news:[email protected]...
    Hi:
    I encountered the following problem when I tried the form basedauthentication & authorization (see the attached part of the config files,
    web.xml, weblogic.xml & weblogic.properties)
    1. authorization seems not invoked against the rules specfied, itdoesn't go the login error page as long as the user/pwd match, even though
    the user does not have the necessary role
    in the example below, user3 should be denied to access the signinpage, but seems no login error page returned, actually I never see any page
    / error message which complain about the authorization / access control
    error
    2. after authenticate correctly, always get redirected to the / (contextroot) url, instead of the url prior the login page, for e.g., signin page
    Any idea ?
    Thanks in advance.
    HaiMing
    attach config files
    web.xml
    <security-constraint>
    <web-resource-collection>
    <web-resource-name>MySecureBit1</web-resource-name>
    <description>no description</description>
    <url-pattern>/control/signin</url-pattern>
    <http-method>POST</http-method>
    <http-method>GET</http-method>
    </web-resource-collection>
    </security-constraint>
    <login-config>
    <auth-method>FORM</auth-method>
    <realm-name>default</realm-name>
    <form-login-config>
    <form-login-page>/control/formbasedlogin</form-login-page>
    <form-error-page>/control/formbasedloginerror</form-error-page>
    </form-login-config>
    </login-config>
    <security-role>
    <description>the customer role</description>
    <role-name>customer</role-name>
    </security-role>
    weblogic.xml
    <security-role-assignment>
    <role-name>
    customer
    </role-name>
    <principal-name>
    customer_group
    </security-role-assignment>
    weblogic.properties
    weblogic.password.user1=user1pass
    weblogic.password.user2=user2pass
    weblogic.password.user3=user3pass
    weblogic.security.group.customer_group=user1,user2

  • Rating with Form-Based Publishing

    Hi everybody,
    i'm trying to get the Portal rating service to work with XML form-based publishing. The items to be rated are news, which are in a folder on which i already activated the repository service. Then I modified the layout set, adding in the resource renderer the appropriate command group to be displayed.
    The result is that i now have a command bar below the news, which can be clicked by users to rate it.
    Now I have to make the mean rating to be displayed, but it is more difficult than i thought. Here is a picture of what i would like:
    [Image|http://www.mypicturehost.com/show.php/57948_Immagine.jpg.html]
    where the red circle is the part still missing.
    Do you have any idea on what to do? I suppose that if i want to display the data, i have to add something to the XML, and to the XLST rendering it, too. I just don't know where to get that data, and how.
    Thank you in advance.

    Hello,
    I assume your layout set is rendering one of the forms you developed on a xml form project,
    open you project and check your Data Model, under Properties > Collaboration you might find
    the property Rating.
    If you can't see this property there, go on portal
    Content Management > Metadata > Property Metadata > Properties
    and search for cm_rating, make sure the Hidden+ parameter is uncheked, if it isn't, do so,
    save, refresh your data model and it should be visible.
    You can then assign it to a Control Selector and based on its values display the stars properly,
    or just assign it to a label and display as integer, doesn't really matter, once you have the Rating value
    you can work the way it suits you better
    kind regards,
    Rafael

  • Tomcat problem with form based login

    Hi,
    I have a page for form-based login, but the problem is that the image and css files dont load on the login page request. What I gather from other discussions is that this is because these are still protected when the page is requested. How do I exclude them from being protected.
    Nirav

    Hi tolmank,
    Earlier I just filtered out the login page and images based on the extension, but now I am trying the second approach i.e. making a protected directory, but my application does not start. When i start it from the tomcat manager, it gives me this error,
    FAIL - Application at context path /<app dir> could not be started
    <web-resource-collection>
         <web-resource-name><app dir></web-resource-name>
         <url-pattern>/protected/*.jsp</url-pattern>
    </web-resource-collection>
    <login-config>
         <auth-method>FORM</auth-method>
         <form-login-config>
              <form-login-page>Login.jsp</form-login-page>
              <form-error-page>Error.jsp</form-error-page>
         </form-login-config>
    </login-config>
    what could be wrong?

Maybe you are looking for

  • How can I create more than one different signatures for one account or for one address?

    I want to vreate 2 jr more signatures for one account. For example, in different languages, with different text, etc.

  • Gray InfoObjects in Infoset

    I am trying to enable reporting on InfoObjects on my InfoSet in BI 7.0, but whenever I open the InfoSet I cannot check the box next to the InfoObject name because it is grayed out. Can anybody explain how to remedy this? I will award points.

  • Trying to generate a pdf with jasper

    Fellas, i hav trying to generate a pdf with jasper reports, but i cant. I create a file .jasper with iReports. This is my code: emite.java package utilitarios; //import net.sf.jasperreports import net.sf.jasperreports.engine.*; import net.sf.jasperre

  • Need info regarding HANA DB  & MaxDB/SAPDB

    Hi All, I have a requirement where in I need to get the following information in regard to HANA DB & MaxDB/SapDB. Kindly suggest. This info I need to get from ECC or similar Box. Please let me know in which SAP table we can get this info. Information

  • Restoring data from Z10 to Q10

    Hi, I was just forced to buy a Q10 as my Z10 got bricked and is unusable. SInce i bought it from Indonesia i have to wait till i go back there to get it fixed.  Anyway, i was shocked to find out that i cannot restore my Z10 data to my new Q10. The be