Keep login value after validation

Hi,
i'm learning Dreamweaver and doing a login page.
Is it possible, when I submit my Login Form, to keep the
value I entered in the login texfield and display a error message?
Ex: Form method="post"
If it's valid, redirect to page x
If not, redirect to the same form, display the message"
Invalid password" and keep the wonrg value in the Login field.
thanks,
Rosline

Hi,
yes of course,
can you post the link, or the source code where is the
problem,
T

Similar Messages

  • JSF keeps displaying old values after Validation Phase fails

    Hi all,
    I would like to ask some help in understanding a particular behaviour that JSF shows when Validation Phase fails.
    I'm using:
    - Tomcat 7.0.2
    - JSF 1.2_12
    - RichFaces 3.3.3
    Problem description.
    I wrote a form with 4 input fields: an inputText and 3 selectOneMenu. The inputText is required while the selectOneMenus don't require any validation.
    Attached to the first selectOneMenu (row 32), is an a4j:support tag so that, whenever the change event is fired, the list of items of the second
    and the third selectOneMenu (row 44 and 58) are correctly filled (note that the mandatory of the inputText is ignored thanks to the ajaxSingle attribute).
    In particular, after loading the two lists of items, the actionListener forces the value of the second and the third selectOneMenu to null.
    This mechanism seems to work fine until I submit the whole form without filling the input text: as expected, JSF validation fails but if I change the value of
    the first selectOneMenu again (causing a new submit), the page keeps displaying the values specified before JSF validation failed for the second and the third
    selectOneMenu (note that the actionListener is still called and the values of the second and the third selectOneMenu are still forced to null).
    Since I'm using a simple PhaseListener, I noticed the following: before JSF validation fails, every time I change the value of the first selectOneMenu, JSF life
    cycle always calls the get method for the second and the third selectOneMenu during the Render Response Phase. In this way, JSF is able to "see" that
    those values have been set to null during the Invoke Application Phase.
    After validation fails, JSF stops calling those getters when I change the value of the first selectOneMenu.
    I hope my explanation was clear enough, thanks a lot for your help.
    Regards,
    Nico
    Web Page
    <?xml version='1.0' encoding='UTF-8' ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
                          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml"
          xmlns:f="http://java.sun.com/jsf/core"
          xmlns:h="http://java.sun.com/jsf/html"
          xmlns:a4j="http://richfaces.org/a4j"
          xmlns:rich="http://richfaces.org/rich">
    <head>
      <title>Prove Rich</title>
    </head>
    <body>
      <h2>Prove Rich</h2>
      <f:view>
      <a4j:outputPanel ajaxRendered="true">
        <h:messages style="color:red" />
      </a4j:outputPanel>
      <h:form>
      <p>
         Input required: <h:inputText value="#{provaProbReplyBean.inputRequired}" required="true" />
      </p>
      <p>
           <h:outputText value="Scegli il canale:" />
           <h:selectOneMenu value="#{provaProbReplyBean.canale}">
            <f:selectItem itemLabel="--" itemValue="" />
            <f:selectItem itemLabel="Profamily" itemValue="Profamily" />
            <f:selectItem itemLabel="Captive" itemValue="Captive" />
            <a4j:support event="onchange" action="#{provaProbReplyBean.caricaProcBanche}"
                                  ajaxSingle="true" reRender="procedure, banche" />
         </h:selectOneMenu>
      </p>
      <p>
           <h:outputText value="Scegli la procedura:" />
           <h:selectOneMenu id="procedure" value="#{provaProbReplyBean.procedura}">
            <f:selectItem itemLabel="--" itemValue="" />
            <f:selectItems value="#{provaProbReplyBean.procedureList}" />
            <!-- immediately save the current value -->
            <a4j:support event="onchange" ajaxSingle="true" />
         </h:selectOneMenu>
      </p>
      <p>
           <h:outputText value="Scegli la banca:" />
           <h:selectOneMenu id="banche" value="#{provaProbReplyBean.banca}">
            <f:selectItem itemLabel="--" itemValue="" />
            <f:selectItems value="#{provaProbReplyBean.bancheList}" />
            <!-- immediately save the current value -->
            <a4j:support event="onchange" ajaxSingle="true" />
         </h:selectOneMenu>
      </p>
      <p><h:commandButton value="Submit" /></p>
      </h:form>
      </f:view>
    </body>
    </html>
    Bean
    public class ProvaProbReply {
         private String inputRequired;
         private String canale;
         private String procedura;
         private String banca;
         private Map<String, List<SelectItem>> canaliProc = new HashMap<String, List<SelectItem>>();
         private Map<String, List<SelectItem>> canaliBanche = new HashMap<String, List<SelectItem>>();
         private List<SelectItem> procedureList = new ArrayList<SelectItem>();
         private List<SelectItem> bancheList = new ArrayList<SelectItem>();
         public ProvaProbReply() {
              List<SelectItem> l = new ArrayList<SelectItem>();
              l.add(new SelectItem("Cessione del quinto"));
              l.add(new SelectItem("Credito al consumo"));
              l.add(new SelectItem("Mutui"));
              canaliProc.put("Profamily", l);
              l = new ArrayList<SelectItem>();
              l.add(new SelectItem("Credito al consumo"));
              canaliProc.put("Captive", l);
              l = new ArrayList<SelectItem>();
              canaliBanche.put("Profamily", l);
              l = new ArrayList<SelectItem>();
              l.add(new SelectItem("BDL"));
              l.add(new SelectItem("BM"));
              l.add(new SelectItem("BPM"));
              l.add(new SelectItem("CRA"));
              canaliBanche.put("Captive", l);
         public String getInputRequired() {
              return inputRequired;
         public void setInputRequired(String ir) {
              inputRequired = ir;
         public String getCanale() {
              return canale;
         public void setCanale(String c) {
              canale = c;
         public String getProcedura() {
              System.out.println("\ngetProcedura called\n");
              return procedura;
         public void setProcedura(String p) {
              procedura = p;
         public String getBanca() {
              System.out.println("\ngetBanca called\n");
              return banca;
         public void setBanca(String b) {
              banca = b;
         public List<SelectItem> getProcedureList() {
              return procedureList;
         public List<SelectItem> getBancheList() {
              return bancheList;
         public String caricaProcBanche() {
              System.out.println("\nListener called\n");
              procedureList.clear();
              bancheList.clear();
              if(canale != null && !canale.equals("")) {
                   procedureList.addAll(canaliProc.get(canale));
                   bancheList.addAll(canaliBanche.get(canale));
              System.out.println("BEFORE setting:\n");
              System.out.println("\nProcedura: "+procedura+"\n");
              System.out.println("Banca: "+banca+"\n");
              procedura = null;
              banca = null;
              System.out.println("\n\n\nAFTER setting:\n");
              System.out.println("\nProcedura: "+procedura+"\n");
              System.out.println("Banca: "+banca+"\n");
              return "";
    }Edited by: 869000 on 28-giu-2011 14.05

    I'm thinking this has to do with the fact that the UIComponents use the localValue after validation fails. This prevents the values from being overwritten when re-rendering the page, i.e. the inputs keep the value set by the user.
    The solution is to manipulate the components directly during the AJAX request when the first pull down is changed. Use the binding attribute to place them into your bean and clear the value directly. That way it will not matter that the expression is not evaluated.

  • Keep the value  after a event

    I am designing a page .on its left i place some condition for searching and a button named search. on its right one table for result.
    when i click the search button ,it trigger a event which do a searching according to those conditions.Then ,the table display result.
    but,those condition which is in the textinput,choice,...disappear.
    I want to keep these value .
    Please help me!

    I don't understand, both questions seem to be about saving selected state, which Attila answered nicely. You can save and bind to the selected value as a page property.
    Did I misunderstand, do you have another question?
    Here's a working example from a page, which looks almost exactly like Attila's post:
    the ui nodes:
    <bc4j:rootAppModuleScope name="EmpAppModule" >
    <contents>
    <header text="Search" >
    <contents>
    <form name="search" >
    <contents>
    <inlineMessage prompt="Search" vAlign="middle" >
    <contents>
    <bc4j:viewObjectScope name="EmpView" >
    <contents>
    <flowLayout>
    <contents>
    <choice name="attrName"
    data:selectedValue="attrName@ctrl:page"
    shortDesc="Search Column">
    <contents>
    <bc4j:region automatic="true" >
    <bc4j:attrStamp>
    <option>
    <boundAttribute name="text" >
    <bc4j:attrDefProperty name="name" />
    </boundAttribute>
    <boundAttribute name="value" >
    <bc4j:attrDefProperty name="name" />
    </boundAttribute>
    </option>
    </bc4j:attrStamp>
    </bc4j:region>
    </contents>
    </choice>
    <textInput name="attrValue" columns="20"
    data:text="attrValue@ctrl:page"
    shortDesc="Search"/>
    </contents>
    </flowLayout>
    </contents>
    </bc4j:viewObjectScope>
    </contents>
    <end>
    <submitButton text="Go" ctrl:event="search" />
    </end>
    </inlineMessage>
    </contents>
    </form>
    </contents>
    </header>
    and the event handler
    <event name="search" >
    <!-- using the ApplicationModule causes it to be checked out from the
    ApplicationPool. It is released using stateful mode. -->
    <bc4j:findRootAppModule name="EmpAppModule" >
    <!-- establish the ViewObject scope -->
    <bc4j:findViewObject name="EmpView" >
    <!-- search for the view criteria -->
    <bc4j:findByExample>
    <bc4j:exampleRow ignoreCase="true" >
    <bc4j:exampleAttribute comparison="equals" >
    <bc4j:nameBinding><bc4j:parameter name="attrName" /></bc4j:nameBinding>
    <bc4j:valueBinding><bc4j:parameter name="attrValue" /></bc4j:valueBinding>
    </bc4j:exampleAttribute>
    </bc4j:exampleRow>
    </bc4j:findByExample>
    <bc4j:executeQuery/>
    <!-- store the current search criteria as page properties -->
    <bc4j:setPageProperty name="attrName" >
    <bc4j:parameter name="attrName" />
    </bc4j:setPageProperty>
    <bc4j:setPageProperty name="attrValue" >
    <bc4j:parameter name="attrValue" />
    </bc4j:setPageProperty>
    </bc4j:findViewObject>
    </bc4j:findRootAppModule>
    </event>

  • Checkboxes that keep their value after a refresh

    Hi
    I am trying to work with Checkboxes in an HTML region which will make another region appear or disappear when they are checked or unchecked. As I understand it I need to submit the page to make regions appear or disappear - but when I do this by default the checkbox forgets its value.
    My checkbox is based on the static love: STATIC2:;Y which should make it ticked when the value is 'Y' and unticked when it is 'N'. I have set its default value to Y.
    I have read online about how to make a checkbox remember its value by putting a computation on it that will set the value of the checkbox to 'N' when it is null. Unfortunately when I refresh the page - if the checkbox is ticked then everything is fine (as it was before) - but if it is unticked then I suddenly get two checkboxes - both of which are ticked and one of which has an 'N' after it.
    Does anyone have any idea what I'm doing wrong? It's driving me mad trying to achieve something that that I'd expect to just work without any effort.
    I am using Apex 4.1.1.00.23
    Thanks
    Dan

    user5476823 wrote:
    HiWelcome to the forum: please read the FAQ and forum sticky threads (if you haven't done so already)), and update your forum profile with a real handle instead of "user5476823".
    When you have a problem you'll get a faster, more effective response by including as much relevant information as possible upfront. This should include:
    <li>Full APEX version
    <li>Full DB/version/edition/host OS
    <li>Web server architecture (EPG, OHS or APEX listener/host OS)
    <li>Browser(s) and version(s) used
    <li>Theme
    <li>Template(s)
    <li>Region/item type(s) (making particular distinction as to whether a "report" is a standard report, an interactive report, or in fact an "updateable report" (i.e. a tabular form)
    With APEX we're also fortunate to have a great resource in apex.oracle.com where we can reproduce and share problems. Reproducing things there is the best way to troubleshoot most issues, especially those relating to layout and visual formatting. If you expect a detailed answer then it's appropriate for you to take on a significant part of the effort by getting as far as possible with an example of the problem on apex.oracle.com before asking for assistance with specific issues, which we can then see at first hand.
    I am trying to work with Checkboxes in an HTML region which will make another region appear or disappear when they are checked or unchecked. As I understand it I need to submit the page to make regions appear or disappear - but when I do this by default the checkbox forgets its value.
    My checkbox is based on the static love: STATIC2:;Y which should make it ticked when the value is 'Y' and unticked when it is 'N'. I have set its default value to Y.
    I have read online about how to make a checkbox remember its value by putting a computation on it that will set the value of the checkbox to 'N' when it is null. Unfortunately when I refresh the page - if the checkbox is ticked then everything is fine (as it was before) - but if it is unticked then I suddenly get two checkboxes - both of which are ticked and one of which has an 'N' after it.
    Does anyone have any idea what I'm doing wrong? It's driving me mad trying to achieve something that that I'd expect to just work without any effort.Don't set the checkbox value to "N". Leave the default as null, and check that the value is "Y" or null as necessary.
    APEX checkboxes probably don't work in the way you expect: a checkbox is displayed for each value in the LOV. With the checkbox item LOV Display Extra Values property set to Yes, extra values that are not included in the LOV definition&mdash;like your "N" default&mdash;will be displayed as additional checkboxes.
    See +{message:id=10738376}+ for a similar situation.

  • ICloud keeping login details after uninstall from PC

    Recently in order to deal with an issue I had with iCloud and Outlook, I uninstalled iCloud completly. Before uninstalling I opened the control panel and signed out of iCloud, I then proceeded to uninstall.
    After uninstalling, I re-downloaded iCloud and installed it. Once the installation was complete I opened iCloud (from the last page of the installation). When it opened, it was SIGNED IN before I had provided my credentials!
    Apple, your attention please!!

    DanboZ wrote:
    Thank you @Csound1 for showing us how much you know (or don't know) about Windows in general and software development in particular!
    Does anyone else have more knowledgable input?
    Well, you are the Windows user, maybe you should tell us who is responsible for the content of the Programs and Features pane in Windows? or did you uninstall some other way?

  • Keeping element value after re-launch

    Hi,
    I restart my wf through an event (using SWE_EVENT_CREATE). There is an element that contains a string that is filled in by the user the first time, and I want to reuse it when the workflow starts again.
    However, it is initialized automatically when the wf is relaunched. How can I keep it so I don`t have to ask it again to the user?
    Thank you very much for your time,
    Ivson

    Hi Ivson,
    You are using a custom program to "retrigger" a workflow, right?
    That means that a new workitem will get created, with no knowledge of the previous workitem with the same key.
    You can try changing the custom program, to retrieve some of the info and paas that on in the event-->WF binding, or you can somehow create a custom table with all of the containerelements you want to use, in that case, in the custom program you retrieve all of that data and pass that on to a buffer/transparent table and as the first step of the workflow you retrieve that data, plus in every step you have to create conditions which checks if this is a new workflow, or if this has been retriggered.
    All in all quite some work, maybe it's better for the users to live with the inconvenience.
    What is the reason exactly for retriggering the workflow?
    I did this some time ago, but before retriggering the flows, I made sure that no user interaction took place and that no master data was altered, only then it was safe to retrigger them.
    Kind regards, Rob Dielemans

  • Retain all form field values after input text field validation failure

    Hi,
    I have a form with 1 input text field, one Command button and one h:selectManyListbox. when User enteres some values in input field and clicks on command button named Add, the value is validated. If input is invalid, then an error message appears next to the field. If input is valid, then the value is added into h:selectManyListbox. Adding to list box is done using Ajax4Jsf.
    Probelm:
    Let's assume user entered 3 valid values one after another and all are added into the list box. When he enters a wrong value, and error message appears. however, the entered values in list box goes away. Is there a way to retain the values even after validation failure.
    Code is given below;
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
    <%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
    <%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
    <h:panelGroup>
         <h:outputLabel for="inputEmailId1" value="Email Id: " />
         <t:inputText value="#{bean.newEmailId}" id="inputEmailId1" maxlength="100" size="40" immediate="true">
              <t:validateEmail message="Enter a valid Email Id." />
         </t:inputText>
         <t:message for="inputEmailId1" styleClass="errorStyleClass" />
    </h:panelGroup>
    <t:panelGroup style="text-align: left;" >
         <a4j:commandButton value="Add" styleClass="buttonsSub" action="#{bean.addSharedEmails}"
              reRender="inputEmailId1, selectedSharedEmails" />
    </t:panelGroup>
    <t:panelGroup style="text-align: left;">
         <h:selectManyListbox id="selectedSharedEmails" size="8" style="width:100%;" immediate="true">
              <f:selectItems value="#{bean.sharedEmails}" />
         </h:selectManyListbox>
    </t:panelGroup>
    Thanks in advance,

    Use the attribute "binding" instead of a "value". This will remember the value. You can also make sure that you dont have anything in your constructor or class level that initialises that value to "" or null. Because if JSF is remembering your value but your initialization that gets triggered before the page loading resets it to default values then you need to change that part of the code.

  • Error Status 'U'  with error code value set validation error in ValueSet_Validate() from  INV_ITEM_CATEGORY_PUB.Create_Category  API

    HELLO Experts, Please help ,after running the the below anonymous block I am geeting error mentioned in the subject :-
    I am not able to understand why 'U' is coming what is the main cause for this??
    DECLARE
    l_category_rec    INV_ITEM_CATEGORY_PUB.CATEGORY_REC_TYPE;
    l_return_status  VARCHAR2(80);
    l_error_code      NUMBER; l_msg_count      NUMBER;
    l_msg_data        VARCHAR2(80);
    l_out_category_id NUMBER;
    BEGIN  insert into gkaur values ('Before'); COMMIT;
    l_category_rec.segment1 := 'DECAF TEST'; --l_category_rec.structure_id := 50440;
    SELECT f.ID_FLEX_NUM    INTO l_category_rec.structure_id  FROM FND_ID_FLEX_STRUCTURES f
    WHERE f.ID_FLEX_STRUCTURE_CODE = 'XXINV_COST_ACCOUNTING'; l_category_rec.description := 'ABC'; l_category_rec.web_status      := NULL;     l_category_rec.supplier_enabled_flag := NULL;
    insert into gkaur values ('Before RUNNING API');
    COMMIT;
    INV_ITEM_CATEGORY_PUB.Create_Category     ( p_api_version  =>1.0,      
                                                                                                 p_init_msg_list =>FND_API.G_TRUE,        
                                                                                                  p_commit        =>FND_API.G_TRUE,  
                                                                                 x_return_status =>l_return_status,
             x_errorcode    =>l_error_code,          x_msg_count    =>l_msg_count,          x_msg_data      =>l_msg_data,          p_category_rec  =>l_category_rec, --p_category_rec.structure_id =>l_category_rec.structure_id, x_category_id  =>l_out_category_id          );  insert into gkaur values ('After running API'); COMMIT; IF l_return_status = fnd_api.g_ret_sts_success or l_return_status <> fnd_api.g_ret_sts_success
    THEN
    insert into gkaur values ('Hi After status validation');
    insert into gkaur values (l_return_status||'-'||l_error_code||'-'||l_msg_count||'-'||l_msg_data);
    COMMIT;
    DBMS_OUTPUT.put_line ('Creation of Item Category is Successful : '||l_out_category_id);
    ELSE  insert into gkaur values ('Bye');
    DBMS_OUTPUT.put_line ('Creation of Item Category Failed with the error :'||l_error_code);  
    ROLLBACK;
    END IF;
    exception when NO_DATA_FOUND
    then
    insert into gkaur values ('oho');
    commit;
    END;

    HELLO Experts, Please help ,after running the the below anonymous block I am geeting error mentioned in the subject :-
    I am not able to understand why 'U' is coming what is the main cause for this??
    DECLARE
    l_category_rec    INV_ITEM_CATEGORY_PUB.CATEGORY_REC_TYPE;
    l_return_status  VARCHAR2(80);
    l_error_code      NUMBER; l_msg_count      NUMBER;
    l_msg_data        VARCHAR2(80);
    l_out_category_id NUMBER;
    BEGIN  insert into gkaur values ('Before'); COMMIT;
    l_category_rec.segment1 := 'DECAF TEST'; --l_category_rec.structure_id := 50440;
    SELECT f.ID_FLEX_NUM    INTO l_category_rec.structure_id  FROM FND_ID_FLEX_STRUCTURES f
    WHERE f.ID_FLEX_STRUCTURE_CODE = 'XXINV_COST_ACCOUNTING'; l_category_rec.description := 'ABC'; l_category_rec.web_status      := NULL;     l_category_rec.supplier_enabled_flag := NULL;
    insert into gkaur values ('Before RUNNING API');
    COMMIT;
    INV_ITEM_CATEGORY_PUB.Create_Category     ( p_api_version  =>1.0,      
                                                                                                 p_init_msg_list =>FND_API.G_TRUE,        
                                                                                                  p_commit        =>FND_API.G_TRUE,  
                                                                                 x_return_status =>l_return_status,
             x_errorcode    =>l_error_code,          x_msg_count    =>l_msg_count,          x_msg_data      =>l_msg_data,          p_category_rec  =>l_category_rec, --p_category_rec.structure_id =>l_category_rec.structure_id, x_category_id  =>l_out_category_id          );  insert into gkaur values ('After running API'); COMMIT; IF l_return_status = fnd_api.g_ret_sts_success or l_return_status <> fnd_api.g_ret_sts_success
    THEN
    insert into gkaur values ('Hi After status validation');
    insert into gkaur values (l_return_status||'-'||l_error_code||'-'||l_msg_count||'-'||l_msg_data);
    COMMIT;
    DBMS_OUTPUT.put_line ('Creation of Item Category is Successful : '||l_out_category_id);
    ELSE  insert into gkaur values ('Bye');
    DBMS_OUTPUT.put_line ('Creation of Item Category Failed with the error :'||l_error_code);  
    ROLLBACK;
    END IF;
    exception when NO_DATA_FOUND
    then
    insert into gkaur values ('oho');
    commit;
    END;

  • [Photoshop CC (Win7 64bit)]  Adjustment Layer keeps old value when I made undo.

    Undo in Adjustment layer in Photoshop CC doesn't work well.
    When I made undo, the photo would go back, but "Properties Panel" doesn't go back. It still keeps the same value before undoing.
    Properties Panel would go correct value, after I select a another layer and select adjustment layer again.
    I checked all of adjustment layers, and I found that most of them has the same behavior. (Between Brightness/Contrast... and Selective Color...)
    Are there any solution?
    What version of Photoshop : 14.0
    Have you installed the recent updates?: Yes
    What operating system? : Windows7 64bit
    What kind(s) of image file(s)? : any kind
    If you are getting error message(s), what is the full text of the error message(s)? : no message
    What were you doing when the problem occurred? undo
    Has this ever worked before? no (CS6 works well)
    What other software are you running? Google Chrome
    Tell us about your computer hardware. RAM16GB Free space on C: 80GB
    Has this ever worked before? : no

    I'm moving this post from this forum for photoshop-dot-com (an online portal) to the correct forum for Photoshop pro users like yourselves, where your question can be answered.
    FYI, the correct forum URL is: http://forums.adobe.com/community/photoshop
    Since you've posted in this forum for Photoshop.com, you may receive additional posts in this forum unless you update your profile.  After signing in on these forums, go to Your Stuff > Forums, and disable any forum you don't want to watch.
    Kind regards,
    Charlie

  • Not able to keep defualt value in UDF Field

    Hello Frnds,
    I have one question to you, I want to keep default value in one of the UDF field which is ContNo which is exist in A/R invoice.
    I want to keep default value =9999999
    So to do this I have followed the following process:-
    First I went to ToolsUser-Defined FieldsManage User FieldsMarketing DocumentsTitleContNo
    then pressing update button there is an option to enter Default value and press OK button.
    After that its taking some 30 mins and giving error of "SEWSY"
    Please help me to let me know the solution.
    Regards,

    Hello Gordon,
    Please note that as per your suggestion now im not updating the udf  by the sql query.
    As i was already trying to update it from as a exclusive user of B1, but its not updating.
    Its always give the error of SEWSY.  At the time of updating there is not user logged on SAP also im updating with the adminstrator role.
    Please suggest me.

  • ZCC Login failed after Migration from 11.3.1 FRU1 to 11.3.2

    Hey,
    System: 6 Primary Server Sless 11 SP3
    LDAP: EDIR
    Primary: 11.3.2
    Sats: 11.3.1 FRU1
    After Migration from 11.3.1 FRU1 to 11.3.2
    i'll try to login in ZCC
    Message ZCC
    Error: Login Error: com.novell.zenworks.datamodel.exceptions.InternalD ataModelException: javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: Certificates does not conform to algorithm constraints
    See the ZENworks Control Center log file (zcc.log) for the full stack trace.
    I tryed with default admin and see that the USERSource is not reachable.
    I take a look in the configuration / usersource and there is an Error like: Unable to read contexts. One or more of your connections don't support non-SSL.
    ZCC.log sayed
    [javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: Certificates does not conform to algorithm constraints] [] [com.novell.zenworks.datamodel.exceptions.InternalD ataModelException] [ZENServer]
    [DEBUG] [12/30/2014 09:54:02.417] [3547] [ZENServer] [72] [zenworks] [ZCC] [] [Form.java CSRF TOKEN:d1b804076c63e7393af1a72442ced4b5 for the PageId:authoritativeSourceDetails] [] [] [] [ZENServer]
    [DEBUG] [12/30/2014 09:54:03.144] [3547] [ZENServer] [85] [zenworks] [ZCC] [] [QuickTask build tasks called in createChildControls, normal flow before ajax] [] [] [] [ZENServer]
    [DEBUG] [12/30/2014 09:54:03.348] [3547] [ZENServer] [69] [zenworks] [ZCC] [] [com.novell.zenworks.datamodel.exceptions.InternalD ataModelException: javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: Certificates does not conform to algorithm constraints
    at com.novell.zenworks.datamodel.services.Certificate ManagerImpl.getCertificates(CertificateManagerImpl .java:179)
    at com.novell.zenworks.datamodel.utils.ldap.LDAPUtil. validateCertificateExpiry(LDAPUtil.java:1162)
    at com.novell.zenworks.datamodel.utils.ldap.LDAPUtil. getLDAPConnectionInfo(LDAPUtil.java:774)
    at com.novell.zenworks.datamodel.utils.ldap.LDAPUtil. getLDAPConnectionInfo(LDAPUtil.java:559)
    at com.novell.zenworks.datamodel.utils.ldap.LDAPUtil. getLDAPConnectionInfo(LDAPUtil.java:386)
    at com.novell.zenworks.datamodel.utils.ldap.LDAPUtil. getLDAPConnectionInfo(LDAPUtil.java:359)
    at com.novell.zenworks.datamodel.utils.ldap.LDAPUtil. getLDAPConnectionInfo(LDAPUtil.java:325)
    at com.novell.zenworks.datamodel.utils.ldap.LDAPUtil. getLDAPConnectionInfo(LDAPUtil.java:311)
    at com.novell.zenworks.core.web.internal.UserSourceSt atusAJAX.getImageData(UserSourceStatusAJAX.java:77 )
    at com.novell.web.ajax.ImageAJAX.service(ImageAJAX.ja va:38)
    at com.novell.web.ajax.AJAXDataHandler.service(AJAXDa taHandler.java:40)
    at com.novell.web.AjaxServlet.serviceImpl(AjaxServlet .java:100)
    at com.novell.web.AjaxServlet.service(AjaxServlet.jav a:74)
    at com.novell.zenworks.fw.web.internal.ZENworksAjaxSe rvlet.service(ZENworksAjaxServlet.java:47)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:727)
    at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:303)
    at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:208)
    at com.patchlink.sapphire.web.pages.vulnerability.ses sion.HibernateSessionFilter.doFilter(HibernateSess ionFilter.java:75)
    at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:241)
    at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:208)
    at org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:220)
    at org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:122)
    at org.apache.catalina.authenticator.AuthenticatorBas e.invoke(AuthenticatorBase.java:501)
    at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:171)
    at com.googlecode.psiprobe.Tomcat70AgentValve.invoke( Tomcat70AgentValve.java:39)
    at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:103)
    at org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:116)
    at com.novell.zenworks.tomcat.ZENRequestValve.invoke( ZENRequestValve.java:1346)
    at org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:408)
    at org.apache.coyote.http11.AbstractHttp11Processor.p rocess(AbstractHttp11Processor.java:1070)
    at org.apache.coyote.AbstractProtocol$AbstractConnect ionHandler.process(AbstractProtocol.java:611)
    at org.apache.tomcat.util.net.JIoEndpoint$SocketProce ssor.run(JIoEndpoint.java:316)
    at java.util.concurrent.ThreadPoolExecutor.runWorker( ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:615)
    at org.apache.tomcat.util.threads.TaskThread$Wrapping Runnable.run(TaskThread.java:61)
    at java.lang.Thread.run(Thread.java:745)
    Caused by: javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: Certificates does not conform to algorithm constraints
    at sun.security.ssl.Alerts.getSSLException(Alerts.jav a:192)
    at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl .java:1884)
    at sun.security.ssl.Handshaker.fatalSE(Handshaker.jav a:276)
    at sun.security.ssl.Handshaker.fatalSE(Handshaker.jav a:270)
    at sun.security.ssl.ClientHandshaker.serverCertificat e(ClientHandshaker.java:1439)
    at sun.security.ssl.ClientHandshaker.processMessage(C lientHandshaker.java:209)
    at sun.security.ssl.Handshaker.processLoop(Handshaker .java:878)
    at sun.security.ssl.Handshaker.process_record(Handsha ker.java:814)
    at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocke tImpl.java:1016)
    at sun.security.ssl.SSLSocketImpl.performInitialHands hake(SSLSocketImpl.java:1312)
    at sun.security.ssl.SSLSocketImpl.startHandshake(SSLS ocketImpl.java:1339)
    at sun.security.ssl.SSLSocketImpl.startHandshake(SSLS ocketImpl.java:1323)
    at com.novell.zenworks.security.certificates.Certific ateUtility.getCertChain(CertificateUtility.java:12 1)
    at com.novell.zenworks.datamodel.services.Certificate ManagerImpl.getCertificates(CertificateManagerImpl .java:175)
    ... 35 more
    Caused by: java.security.cert.CertificateException: Certificates does not conform to algorithm constraints
    at sun.security.ssl.AbstractTrustManagerWrapper.check AlgorithmConstraints(SSLContextImpl.java:946)
    at sun.security.ssl.AbstractTrustManagerWrapper.check AdditionalTrust(SSLContextImpl.java:872)
    at sun.security.ssl.AbstractTrustManagerWrapper.check ServerTrusted(SSLContextImpl.java:814)
    at sun.security.ssl.ClientHandshaker.serverCertificat e(ClientHandshaker.java:1421)
    SR has been created.
    Any Tipps /Hints for me ?
    Thank You

    Originally Posted by robpet
    Should have said kind of the same problem...
    That was sort of my gut feelings so I checked our certificates beforehand and they are using certs with sha1 fingerprint. But we are not using SSL - our connections are made using port 389. And the communication status is green.
    But I cannot add SSL because it complains about "unable to obtain a valid certificate for SSL communication information. Please verify that the adress and port are correct and that the LDAP directory has been configured with a valid certificate.
    So I cannot understand why users cannot authenticate with zenagent.
    There's a TID about zcc login failures after 11.3 upgrade.
    https://www.novell.com/support/kb/doc.php?id=7014716
    We ran into the above.

  • Is it possible to maintain the last AO value after the DAQmx task is done on device DAQ USB-6341 ?

    Hi all,
    I use the device DAQ USB-6341 to generate the desired voltage waveform by the "finite samples" sample mode.
    I notice that the channel resets to zero volts after the DAQmx task is done and the DAQ USB-6341 does not have 
    the property AO.idleOutputBehavior to select "Maintain Existing Value".
    How can I maintain the last AO value after the DAQmx task is done on device DAQ USB-6341 ?
    Thanks.
    Godel

    How many computers do you have in the network?
    What is the IP address and default gateway number on your computer?
    In order to connect to the wireless network, WVC80N should get valid IP address from the access point.
    If the access point has capacity to assign a private IP address to the computers and devices then I think you can use WVC80N.

  • After validation want to state maintain of h:outputText /

    Hi,
    I have some fields with validation,
    after validation want to state maintain of <h:outputText />
    <h:outputText id="form_title" value="#{viewCDBean.form_title}"/>
    <h:outputText id="output1" value="Title"/><h:inputTextarea id="cd_title" value="#{viewCDBean.cd_title}" rows="2" cols="40" required="true"></h:inputTextarea><h:message for="cd_title" style="color:red"/>

    Add a h:inputHidden component which saves the h:outputText value for the next request.

  • Exception Aggregation (Average) displaying incorrect values after EHP1 Upgr

    Hi All,
    Exception Aggregation (Average) displaying incorrect values after EHP1 Upgrade in our BW system
    We have recently upgraded the system to EHP1. After the upgrade some of the queries where we are using Exception Aggregation (Average) started giving the incorrect values.
    Eg. We are displaying three Key Figures KF1, KF2 and KF3 (=KF1 %A KF2) against Store Hierarchy. In KF3 we are using Exception Aggregation (Average) on a characteristic 0PLANT.
    There are 14 rows against 0PLANT and out of those 2 rows are blank for KF1, so for KF3. When it is calculating the average of these key figures its dividing the total value by 12 instead of 14 which is not correct in our case. Earlier it was dividing the total by 14.       
    So in this case 'Average' and "Average of all values <>0" are behaving the same way.
    Kindly provide some inputs on this.
    Best Regards,
    Sachin Verma
    +44 7506740018

    Hi,
    Thanks for viewing the thread. And happy to let you know that the issue was resolved.
    The solution was:
    Two formulas (local) were created, one including the formula variable with replacement path for ZD1, with exception aggregation on ZD1, and the other with formula variable with replacement path for ZD2, with exception aggregation on ZD2. Both these formulas are hidden.
    Another formula (local) was created for u2018time takenu2019 = formula with ZD1 u2013 formula with ZD2, with exception aggregation total on u2018ZDOCNOu2019.
    For the second instance, when one requires exception aggregation on records that has multiple values for keys, a nesting of formulas can be done displaying only the ones required.
    For e.g. a formula with exception aggregation on say characteristic u2018item no.u2019 can be hidden, and included in another formula for exception aggregation on characteristic u2018document no.u2019. This is a typical case where one can achieve calculation before aggregation for a calculated key figure, formula or a counter.
    Hope it might help someone, and saves time and effort for a similar issue posted.
    Also would like to keep this thread open for exploring better solutions.   
    Regards,
    Vijay

  • Computation after Validation -  possible?

    I there any way to set that computation is triggered after validation.
    I have status field that is set as Draft when users submit form computation changes its value to Submitted.
    The problem is that I have also few fields that should be present before form is submitted.
    What happens is that because status has been changed to submitted, my button disappears also (its condition is to show when status field is Draft only).
    Any suggestions.
    Thanks

    Any process on submit (after computations and validations) is equal to a computation on submit. Only the process point is different. There is no computation after validation.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

Maybe you are looking for

  • Assign unique id to client of socket server

    HI I am in the process of developing a xml socket server application and have hit on a problem. I have managed to create a server that listens for connections and once a request is recieved creates a new client on a seperate thread with the reference

  • IPod Touch Music Syncing Issue

    Using iTunes 10.7, I'm trying to add music to my 4G iPod touch running 6.1.2.  The files appear within the iPod sidebar Music tab, greyed out with the sync icon next to them but they never finish copying; they just stay grey and nothing happens.  I a

  • JDBC DRIVER COMPATIBILITY PROBLEM

    hi all, im using windows 98 ,jdk 1.3, and oracle 9i on compiling the program i'm getting the error cannot resolve symbol class OracleDriver() package driver DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver() the error which it is givi

  • Save an excel in specific loaction

    Iam exporting my report from crystal report to excel by using a button and formatting this excel sheet using macro by clicking another button.When i export to excel this opens the excel sheet in the browser.i don't want to be seen in the browser but

  • Column security

    Hi, What is the best way to implement a column level security in Oracle Database 11g Standard edition, so even the SYS , SYSTEM and users with DBA privilege cant see it . Only the schema owner can view the column data. thanks