Cflogin doesn't persist

I use cflogin to login users. When the form submits I login
fine and I get the protected page. When I go to the next page I'm
asked to login again. Please help.

nope. Still doesn't work.
hmm
What happens when you modify the code as follows.
1) Change the username, password field names in the login
form to j_username, j_password, respectively. Coldfusion will then
automatically create a built-in cflogin structure containing two
variables, cflogin.name and cflogin.password.
2) Use cflogin in the rest of the code
PS:
- [typo: cfquery in place of cfqery]
- corrected the cflogin logic

Similar Messages

  • CF11 : cflogin doesn't "stuck" after session/login timeout

    Hi,
    Since migrating from CFMX7 to CF11 we are experiencing some weird failure with cflogin (using session or cookie storage).
    Basically when we log-in on the application after a session/client timeout the first login doesn't last for longer than the login submit request.
    The second login however is OK
    I made a very simple application.cfc/index.cfm with short timeouts to check this:
    <cfcomponent
    output="false"
    hint="I define the application settings and event handlers.">
            <!--- Define the application settings. --->
            <cfset this.name = hash( getCurrentTemplatePath() ) />
            <cfset this.applicationTimeout = createTimeSpan( 0, 0, 10, 0 ) />
            <cfset this.sessionTimeout = createTimeSpan( 0, 0, 0, 10 ) />
            <!--- Set up the application. --->
            <cfset THIS.SessionManagement = true />
            <cfset THIS.ClientManagement = true />
            <cfset THIS.SetClientCookies = true />
            <cfset THIS.loginStorage = "Session" />
            <cfset THIS.clientStorage = "sidys" />
            <!--- Define the request settings. --->
            <cfsetting showdebugoutput="false" />
            <cffunction
                    name="OnRequestStart"
                    access="public"
                    returntype="boolean"
                    output="true"
                    hint="Fires at first part of page processing.">
                    <!--- Define arguments. --->
                    <cfargument
                    name="TargetPage"
                    type="string"
                    required="true"
                    />
                    <cfset SetLocale("fr_FR") />
                    <cfif IsDefined("Form.logout") or IsDefined("URL.logout")>
                            <cflogout />
                    </cfif>
                    <cflogin idletimeout="20">
                            <cfdump var="#Session#">
                            <cfinclude template="form.inc" />
    <cfif not isDefined("cflogin") or (cflogin.name IS "" OR cflogin.password IS "")>
            <cfoutput>
                    <form method="post">
                    <b>login :</b>
                    <input type="text" name="j_username" size="24" class="champ" />
                    <b>passwordnbsp;:</b>
                    <input type="password" name="j_password" size="15" class="champ" />
                    <input type="submit" value="Login" class="button" name="submit" />
                    </form>
            </cfoutput>
            <cfabort>
    <cfelse>
            <cflock timeout="10" scope="Session" type="exclusive">
                    <cfloginuser name="#cflogin.name#" Password="#cflogin.password#" roles="role">
                    <cfset Session.id=cflogin.name />
            </cflock>
    </cfif>
                    </cflogin>
                    <cfdump var="#Session#">
                    <cfif GetAuthUser() NEQ "">
                            <cfoutput>
                                    <form method="Post">
                                    <input type="submit" Name="Logout" value="Logout">
                                    </form>
                            </cfoutput>
                    </cfif>
                     <cfreturn true />
            </cffunction>
    </cfcomponent>

    I created a directory and copied your code to it. The exception was that I set THIS.ClientManagement to false and commented out the lines <cfset THIS.clientStorage = "sidys" /> and <cfinclude template="form.inc" />.
    The code worked as expected. The files I used in the test are shown below.
    index.cfm
    We are in index.cfm<br>
    <cfdump var="#session#">
    Application.cfc
    <cfcomponent>
    <!--- Define the application settings. --->
    <cfset this.name = hash(getCurrentTemplatePath()) />
    <cfset this.applicationTimeout = createTimeSpan( 1, 0, 0, 0 ) />
    <cfset this.sessionTimeout = createTimeSpan( 0, 0, 0, 10 ) />
    <!--- Set up the application. --->
    <cfset THIS.SessionManagement = true />
    <cfset THIS.ClientManagement = false />
    <cfset THIS.SetClientCookies = true />
    <cfset THIS.loginStorage = "Session" />
    <!--- <cfset THIS.clientStorage = "sidys" /> --->
    <!--- Define the request settings. --->
    <cfsetting showdebugoutput="false" />
    <cffunction
                    name="OnRequestStart"
                    access="public"
                    returntype="boolean"
                    output="true"
                    hint="Fires at first part of page processing.">
                    <!--- Define arguments. --->
                    <cfargument
                    name="TargetPage"
                    type="string"
                    required="true"
                    />
                    <cfset SetLocale("fr_FR") />
                    <cfif IsDefined("Form.logout") or IsDefined("URL.logout")>
                            <cflogout />
                    </cfif>
                       <cflogin idletimeout="10">
                      <!--- <cfinclude template="form.inc" /> --->
                       <cfif isDefined("cflogin.name") AND cflogin.name IS NOT "" AND cflogin.password IS NOT "">
                             <!--- login form submitted, with username and password filled in --->
                             <cfloginuser name="#cflogin.name#" Password="#cflogin.password#" roles="role">
                             <cfset Session.id=cflogin.name />
                      <cfelseif getAuthUser() IS "">
                              <!--- User not yet logged in --->
                              <cfinclude template="loginForm.cfm">
                              <cfabort>
                     </cfif>
                    </cflogin>
            <cfif getAuthUser() NEQ "">
                <cfinclude template="logoutForm.cfm">
                <!--- <cfabort> --->
            </cfif>
        <cfreturn true />
        </cffunction>
    </cfcomponent>
    loginform.cfm
    <div>
    <form method="post">
    <b>login :</b>
    <input type="text" name="j_username" size="24" class="champ" />
    <b>password :</b>
    <input type="password" name="j_password" size="15" class="champ" />
    <input type="submit" value="Login" class="button" name="submit" />
    </form>
    </div>
    logoutform.cfm
    <div>
    <form method="Post">
    <input type="submit" Name="Logout" value="Logout">
    </form>
    </div>
    You will observe that, like you, I set the session and cflogin timeout to a low test value, 10 seconds. When I first opened the URL to index.cfm in the browser, the login form was duly displayed. I entered a name and password and submitted the form.
    I got the index.cfm page again. That time it had the logout button and a dump of the session scope. The dump contained an id (my username), confirming that login was still active. When I re-requested index.cfm, repeatedly in the browser, within around 4 or 5 seconds, its contents remained unchanged.  I then waited for about 15 to 20 seconds, for the login and session to time out.
    I then repeated the procedure of logging in and re-requesting index.cfm every 4 or 5 seconds. I got the same result: its contents remained unchanged. That is the expected behaviour of cflogin and session.

  • Preferences Change in DNG Converter 4.6 Doesn't Persist

    I am using DNG Converter v4.6.0.30 on a Mac running OS X 10.6.2 and I'm noticing that preference changes do not persist in the next session.  I'm trying to change "embed original RAW file" and the next time I run the program, the setting is unchecked.  I've uninstalled and reinstalled the program (moving the preference file to a difference location).  After reinstalling the application, there is no preference file in the ~/library/preferences folder.
    I checked the contents of the com.adobe.DNGConverter.plist file and it only contained items pertaining to Default Folder X (for example, one of the items was DefaultFolderX:NSNavOpenPanel:column.width).  I relaunched DNG Converter and the preference file was created, but it only contained one item - bplist00—_&NSNavBrowserPreferedColumnContentWidth#@g@.  I reopened DNG Converter and selected "embed original RAW file" and then closed the application.  I checked the preference file and it still did not have anything pertaining to "embed original RAW file."
    How can I get DNG Converter to "remember" the preferences I selected?
    Thanks,
    Rocky

    You do need ACR 8.4 for the A5000.   I would buy Elements from Adobe not the Mac app store so upgrades work better.
    The DNG Converter should work, though.  You need to single-click on the folder with the raw files in it, rather than open it to reveal the raw files.  They are grayed out because the DNGC needs to work with a FOLDER not a file, so if you can see the files, then you’ve clicked down into the folder and go back up one, and just select the folder name.

  • Mail.app sorting preference doesn't persist

    I've been using Mail.app for years. I'm currently using the most recent version 4.5 on Mac OS X 10.6.7. At some point recently (perhaps with the 10.6.7 update), my sorting preference no longer persists between selecting Smart Folders.
    For example, I like having a Smart Folder for email sent to me by my boss. I like the sorting preference to be arranged by date. But periodically, when I return to this Smart Folder, it's sorted by Subject instead. I change the setting back, but at some point in the future, either after Mail.app has been restarted, or perhaps some time later, it reverts back. I do not synchronize any Mail.app settings via MobileMe.
    It's maddening. Anyone with a suggested solution?

    Well, is there a way to redirect unwanted mail back to the sender ? Or, a way to have unwanted mail go directly to rash?

  • TopLink JPA doesn't persist Clob field when useStringBinding

    I'm using Toplink JPA on a JSF application deploying on Tomcat.
    Everything works fine except the table with Clob field.
    When insert data with size larger than 4KB, the error will occur.
    I did some searching and I fixed this by using SessionCustomizer.
    In my persistence.xml I put this
    <property name="toplink.session.customizer" value="com.my.sessions.MySessionCustomizer"/>
    and MySessionCustomizer is like this
    public class MySessionCustomizer implements SessionCustomizer {
         public void customize(Session session) throws Exception {
              DatabaseLogin login = session.getLogin();
              login.useStringBinding();
              login.setShouldBindAllParameters(false);
              login.dontCacheAllStatements();
    Things seem to work fine now but I found that Toplink does not persist the field that useStringBinding in database (Oracle 9i)
    eg. when I update an object into a table which has 1 clob field and some other field like VARCHAR2, all the data in non-clob fields are stored perfectly in Oracle but the data in Clob field just gone blank. It just gone blank in the database but in my application, it's still there. I mean as long as my session is still alive, everything seems to work fine from the application side. But when I start a new session, the data in the Clob is lost because it's not in the database.
    Why is this happening? Do I need to do anything extra when useStringBinding?
    It seems to me that the field with StringBinding just don't get into the database.
    Could somebody help me with this?

    This is an issue with the Oracle thin JDBC driver in that it has a 4k limit for LOBS. The best workaround is to use the Oracle OCI JDBC driver, which does not have this limitation (I think this limitation was also improved in the Oracle 10.2 thin JDBC driver).
    If you are using TopLink 10.1.3 a workaround to the JDBC issue is provided by using the Oracle9Platform and configuring the mapping for the CLOB to have a field-classification of java.sql.Clob.class.
    If you are using TopLink Essentials unfortunately this support is not currently available. I believe there is already an issue logged for this in Glassfish. If you cannot use the OCI driver you may need to insert the CLOB data using direct JDBC code.

  • Bookmarks toolbar keeps disappearing, site zoom doesn't persist

    Two problems with FF4 RC1.
    It starts up with the standard windows title bar, and the bookmarks toolbar is empty until I turn it off and back on.
    Page zooms weren't imported either, and they keep resetting after I close firefox.
    I didn't have these problems with the FF4 Betas.

    After a week of thinking I had solved the problem, it has come back - my bookmarks toolbar doesn't always load (occasionally does). I can always get it to load when it hasn't done by using 'Customize' and unticking Bookmarks Toolbar and then re-ticking it. Most annoying.

  • Cookies doesn't persist in JSF application

    We have a Search Form , in which users can search on selected fields.
    So there are multiple boolean checkboxes which users will select and we have a requeriment to store user selected checkboxes into Cookie. So that next time user visits the page he can search on selected fields
    I am able to store checkbox selection into Cookie and it works for single browser instance in Mozilla Firefox 3.0 and ofcourse in tabbed browser instances of Firefox Mozilla 3.0. But it never works in IE 6.0
    But if close the browser and open new instance the cookies are lost.
    Here are the code snippets
    //Action method invoked on click of Advance Search Link
    public String onAdvanceSearch()
            logger.debug("In onAdvSearch");
                    checkCookie();
            return null;
         * Check if cookie is there
        private void checkCookie()
            FacesContext context = FacesContext.getCurrentInstance();
            Cookie cookie[] = ((HttpServletRequest)context.getExternalContext().getRequest()).getCookies();
            if(cookie!=null && cookie.length>0 )
                for(int i=0;i<cookie.length;i++)
                    if(cookie.getName().equals("bldg"))
    //flagBldg is value binding component to h:selectBooleanCheckBox
    this.flagBldg = true;
    if(cookie[i].getName().equals("floor"))
    this.flagFloor = true;
    }else{
    logger.debug("Cookie not found");
    * Action method to Save choose fields.
    * @return the string
    public String saveChooseFields()
    FacesContext context = FacesContext.getCurrentInstance();
    if(flagBldg == true){
    Cookie bldg = new Cookie("bldg","true");
    ((HttpServletResponse)context.getExternalContext().getResponse()).addCookie(bldg);
    bldg.setMaxAge(SECONDS_PER_YEAR);
    if(flagFloor == true){
    Cookie floor = new Cookie("floor","true");
    ((HttpServletResponse)context.getExternalContext().getResponse()).addCookie(floor);
    floor.setMaxAge(SECONDS_PER_YEAR);
    return null;
    Any pointers/suggestions will be greatly appreciated                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Just in case someone else is looking at this for me the problem was not setting the path.
        private static final int SECONDS_IN_A_YEAR = 60 * 60 * 24 * 365;
       Cookie cookie = new Cookie(userName + SHOW_TOOLTIP_DEBUG_INFO, "false"); // default to false
       cookie.setPath("/"); // NB: Don't forget to set this or the Expires won't be set properly (tested in Fire Fox on Linux)
       cookie.setMaxAge(SECONDS_IN_A_YEAR);
       getCurrentResponse().addCookie(cookie);Cheers,
    Philip
    Edited by: JoeBlogs on 28-Apr-2010 14:11

  • Combo Box doesn't persist data insertion settings

    Hi,
    I'm simply trying to setup a combo box that places the selected label into a destination table cell. I've tried about every combination possible to simply add a data insertion series. Please note, I AM clicking the plus button to add it to the list shown to the left of the settings. Unfortunately, everytime I have the series added and I click away from the selected combo box it loses the settings I just provided.
    Has anybody else had these frustrating issues with the combo box component?
    Thank you.

    Greg,
    The combo box component can be a bit fiddly at times. It would help if you let me know which version of Xcelsius you are using.
    In any case if you are simply trying to insert the label to a destination you dont need to bother with the series at all. Try it in this order:
    1) Drag a combo box component
    2) In combo box properties pane and click on the range select button beside Labels
    3) Select the range in your excel sheet that has the labels and click OK
    4) Go back to the properties pane and choose Insertion Type: Label
    5) Click the range select button beside Destination and select a cell
    6) To test it drag a Text -> Label compoent in and point it to the destination cell you selected in step 5.
    7) Preview to see if all is in order
    Let me know how you get on.
    Cheers,
    Ryan

  • Changing domain-defined Timestamp data type to logical Date doesn't persist

    Hi:
    Version 3.1.0.691 on Windows 7 Enterprise 64-bit SP1
    I imported a domain from Designer, and then imported a schema from a database, all into the same model, in that order. I then changed the data type on several columns from non-domain, logiical Date data types to Domain-defined Timestamp Wth Time Zone data types. After having done this, I decided that I wanted to leave them as they were and tried to change them back. I went into the relational model section for each table/column and de-selected the domain radio button, chose Logical, and then set the data type to Date. I clicked apply, OK, and then saved the entire model. I closed Data Modeler, re-opened it, and then checked the data type change. I found that the change from domain to logical was saved, but the data type remained as Timestamp With Time Zone instead of remaining as Date like I'd set it. I've tried changing from Timestamp With Time Zone to other data types and then to Date but it didn't work.
    Am I doing something wrong or is this a bug?
    Thanks!
    Doc

    Hi:
    One final comment. I set the domain back to unknown and clicked appy, but left the Column Properties dialog box open. I then clicked the button next to Datatype (which showed UNKNOWN{Unknown}, changed the radio button from Domain to Logical Type, and then selected Date from the list box and clicked OK. Immediately after having clicked OK, the Logical Type dialog box remained open and the Logical Type value within the Logical Type dialog box reverted back to Unknown. I re-selected Date from the list box, clicked OK, and after this second try it kept the change without the "double clutch."
    Doc

  • Perferences Subnode Doesn't Persist

    I have a little program for which I'm using java.util.preferences for the first time. It works fine when saving to the root user node. But I recently tried to create a child node to save a list of files previously loaded. Writing to it works OK. I restart, and I see the files I loaded on the previous run. I can have a menu item to clear the list. That works at first. The menu clears and I can fetch the nodes to see that they've been removed. But when I restart the full list is back.
    Here is the code the loads the preferences:
    Preferences prefs = parrot.getPrefs().node(PROP_SEND_FILE);
    try
    for (String sKey: prefs.keys())
    String sConfigString = prefs.get(sKey, null);
    if ((null != sConfigString) && (0 < sConfigString.length()))
    new SendFile(sConfigString);
    catch (BackingStoreException bse)
    Parrot.reportException("While loading send file prefs", bse);
    Here is the code that sets the entries on exit:
    Preferences prefs = m_parrot.getPrefs().node(PROP_SEND_FILE);
    for (int i=0; i<10; i++)
    SendFile sendFile = null;
    if (i < m_lSendFiles.size())
    sendFile = m_lSendFiles.get(i);
    if (null != sendFile)
    prefs.put(sendFile.getTitle(), sendFile.getConfigString());
    Here is the code that clears the preferences:
    for (JMenuItem item: m_hSendFiles.keySet())
    m_sendMenu.remove(item);
    Preferences prefs = m_parrot.getPrefs().node(PROP_SEND_FILE);
    try
    prefs.clear();
    prefs.flush();
    catch (Exception e) { Parrot.reportException(e); }
    m_hSendFiles = new HashMap<JMenuItem, SendFile>();
    m_nSendFileIndex = 0;
    I've tried varous methods here, removing the node, removing each node separately and finally clearing the node as seen above. All yield approximately the same results. It's like the storage fails. Is there place that prefs storage errors get trapped?
    Thanks in advance for the help, Dan

    In case some other pilgrim has issues, here is a more detailed explanation.
    Open System Preferences, follow the steps below and see what happens.
    Preferences>Print & Fax, click on +, Add Printer window opens, click on printer to be added, then below the following items show up,
    Name: HP DESKJET 840C
    Location: MyMac or whatever, program supplies, don’t mess with
    Print Using: Here you get to select Gutenprint or installed
    Go into the Name: box, and put an A in front of the printer name that you want to be the first printer on whatever dropdown shows up when you want to print.
    I renamed my HP LASERJET 1200 TO AHP LASERJET 1200 and my HP DESKJET 840C to BHP DESKJET 840C
    NOW, if all is right, I should get the printers in the order I want!
    C'mon Apple, this is bug not a feature!

  • App connection doesn't persist

    I have 4.5.0.77 and a number of apps are failing to stay connected. They will all connect very briefly and then cite an unexpected internal err. They all will then disconnect. The only exception to this is VNCen which throws an exception: "java.io.IOException:" Bad socket id
    Browser, email, gmail app, bbim all work.
    After researching this, and following due diligence I deleted all the service books and resent them to no avail. Then (for hardware failure) I replaced the device. Once the initial service books were in place, I tried again, and again, no success. Tried again after a wipe/hard reset. No success.
    I contacted VZW tech support to insure provisioning was correct. It is. They are unable to assist any further.
    the following is a list of the apps that are failing:
    VNCen 1.0
    BBTran 1.5
    RDM+ 3.7.7
    MobileFileManager 2.5.36
    AOL Instant Messenger 2.1.41 (from the blackberry site)
    One thing I think is important to note is that I think they all connect at least for a short period of time. For example MobileFileManager has a FTP client and it will create a connection to my FTP server, I can see it in the log. VNCen will actually display my pc desktop for a little bit before it croaks. AIM begins to tease me with my buddy list before it withers. All the apps point to some unhanded exception. Sun.com seems to shed some light:
    I have 4.5.0.77 and a number of apps are failing to stay connected. They will all connect very briefly and then cite an unexpected internal err. They all will then disconnect. The only exception to this is VNCen which throws an exception: "java.io.IOException:" Bad socket id
    Browser, email, gmail app, bbim all work.
    After researching this, and following due diligence I deleted all the service books and resent them to no avail. Then (for hardware failure) I replaced the device. Once the initial service books were in place, I tried again, and again, no success. Tried again after a wipe/hard reset. No success.
    I contacted VZW tech support to insure provisioning was correct. It is. They are unable to assist any further.
    the following is a list of the apps that are failing:
    VNCen 1.0
    BBTran 1.5
    RDM+ 3.7.7
    MobileFileManager 2.5.36
    AOL Instant Messenger 2.1.41 (from the blackberry site)
    One thing I think is important to note is that I think they all connect at least for a short period of time. For example MobileFileManager has a FTP client and it will create a connection to my FTP server, I can see it in the log. VNCen will actually display my pc desktop for a little bit before it croaks. AIM begins to tease me with my buddy list before it withers. All the apps point to some unhanded exception. Sun.com seems to shed some light:
    http:\\forums.sun.com\thread.jspa?threadID=604802
    "Java Errors and Error Handling - Error: java.io.IOException: open HTTP connection failed"
    Which seems to say that perhaps there is an issue with a proxy, but if that's the case, why the duce did it connect in the first place?
    I am at my wit's end.
    At this point, I've had the phone since the 11th, and I'm planning on returning the phone if it will not allow me to geek out sufficiently. Any help is greatly appreciated.
    "Java Errors and Error Handling - Error: java.io.IOException: open HTTP connection failed"
    Which seems to say that perhaps there is an issue with a proxy, but if that's the case, why the duce did it connect in the first place?
    I am at my wit's end.
    At this point, I've had the phone since the 11th, and I'm planning on returning the phone if it will not allow me to geek out sufficiently. Any help is greatly appreciated.

    I'm experiencing the exact same problem with a custom MIDlet on the Nextel 8350i (OS V4.6.1.28).
    Socket connections (client sockets and server sockets) work good for about 5 minutes. Then suddenly, the network interface goes south.  The coverage icon on the titlebar goes from 3 bars to 0 bars and the label changes from "NXTL" to "SOS". Then the network layer throws "java.io.IOException: Bad socket id".  After a minute or so, the device obtains coverage again, and the cycle repeats.
    The problem only occurs when the MIDlet is running.  The built-in BlackBerry apps, such as the web browser, do not trigger the problem. 
    I captured the problem with the debugger.  Everything is humming along fine, then without warning:
       ** Determining Coverage **
       Last Coverage = 17
       New Coverage = 16
       New Coverage Text = NXTl 
       [MyApplication] Caught Exception! E=java.io.IOException: Bad socket id 
    This problem did not occur on earlier Nextel BlackBerries.
    Any thoughts or help appreciated. 
    --Joe

  • ALT+TAB doesn't work properly in Windows 8.1

    Holding ALT+TAB will activate the flip 2D to switch from a window to another. The problem is that this function remains active for a very short time and I'm not able to select the window I want in the foreground. I also noticed that
    when I put the cursor on an icon on the taskbar, the live preview thumbnail disappears quickly.
    With a safe mode restart the problem is no longer there, all is fine! With a clean install of Windows 8.1(no driver and applications installed) the problem is here again; obviously disappears with a safe mode restart also in this situation. What's the problem?
    A Windows process or service?
    Details: OS Windows 8.1 Pro 64bit | Laptop Dell
    UPDATE: I tried(casually) to deactivate the charging of the battery from the manufacturer software and all works fine! When I active the charging the problem returns. Any suggestions? I can't remove manually the battery from the laptop bacause
    it's unibody.

    If behavior doesn’t persist in safe mode, it indicates that a third party program or service is preventing-You did the right thing to go through Clean Boot.Have you disabled all
    the services and checked or went through one by one method?I shall suggest you to disable each service one after another to find out which specific service is trying to prevent the process.
    S.Sengupta, Windows Entertainment and Connected Home MVP

  • Persistent Resource Config in Non-global Zones

    I'm trying to figure out how I can make zone-based resource allocations persist across reboots.
    For instance I'm trying --
    #prctl -s -t privileged -n zone.max-shm-memory -v 1024MB -i zone z01After making this change, the configuration is verified via prctl. However, it doesn't persist across reboots of the zone.
    The project file (/etc/project) is for project SRM configs -- can I put in zone configuration in it. If so, how?

    The problem being described was config in the global zone.
    However the fix i found out was to put these entries in the zonecfg of the NGZ being configured.
    Example --
    add rctl
    set name=zone.max-swap
    add value (priv=privileged,limit=536870912,action=deny)
    end
    add rctl
    set name=zone.max-locked-memory
    add value (priv=privileged,limit=268435456,action=deny)
    end
    add rctl
    set name=zone.cpu-shares
    add value (priv=privileged,limit=4,action=none)
    end
    add rctl
    set name=zone.max-sem-ids
    add value (priv=privileged,limit=256,action=deny)
    end
    add rctl
    set name=zone.max-shm-ids
    add value (priv=privileged,limit=100,action=deny)
    end
    add rctl
    set name=zone.max-shm-memory
    add value (priv=privileged,limit=4294967296,action=deny)
    end

  • Multiple ethernet networks show and the internet doesn't function on T400 with windows 7 64bit

    Hello all we are having an issue with several T400 notebooks which i hope someone can help with.
    the first symptom is no internet connection on the wired port-wireless has been turned off so it doesn't interfere with testing.
    the network and sharing center shows multiple networks on the local area connection, one work (a domain), one public why the public one is there i don't know.
    ipconfig shows it is getting an ip and dns through dchp and they are proper but two gateways are showing up one proper the other 0.0.0.0 this is where it is dying (i think)
    i've done a route -p delete 0.0.0.0 but it doesn't persist through reboots for some reason.
    so every reboot you have to run the route -p delete (administrative cmd prompt required) and then a release and renew and it works properly until it is next rebooted.
    Does anyone know a way to get rid of the 2nd network?  Beside the "public network" shows local area connection same as beside the work network if i disable one it disables the adapter and neither works.
    Thanks for any help you can offer.
    Stephen

    Hi, I found a solution which worked for me. After installing vs2008 I got some extended error messages which stated that the lenove config databases are currupt. So I removed all database and xml files of the lenovo directorty where the pc-doctor
    wolle wrote:
    Hello, I'm using a T410 with Windows 7 professional german 64bit.
    All Lenovo drivers/bios, MS hotfix are up2date.
    When the Thinkvantage Tool is starting up I get two different messages.
    The first nonsense error message stated:
    "Das ursprüngliche Systemprofil wurde unter Einsatz von Deutsch zusammengestellt, aber ihr Computer
    benutzt derzeit Deutsch. Dies kann einen unzutreffenden Bericht zur Folge haben. Um einen fehlerfreien Bericht zu gewährleisten, stellen Sie bitte Ihre ursprüngliche regionalen Einstellungen ein: Deutsch".
    After clicking on the button "diagnostic" and waiting ~30sec. a message will appear, that the program doesn't function correctly and close pcdr5cuiw32.exe.
    I reinstalled the Lenovo Toolbox many times, dis- and enabled the .net framework 3.51.
    Any idea? Thanks.
    Wolle
    Fehlerbucket 1042642550, Typ 5
    Ereignisname: CLR20r3
    Antwort: Nicht verfügbar
    CAB-Datei-ID: 0
    Problemsignatur:
    P1: pcdr5cuiw32.exe
    P2: 6.0.5450.12
    P3: 4b7c85d1
    P4: libAsapiCSharp
    P5: 0.0.0.0
    P6: 4b066e59
    P7: e18
    P8: 30
    P9: System.ApplicationException
    P10:
    Angefügte Dateien:
    C:\Users\wolle\AppData\Local\Temp\WER3AC0.tmp.WERInternalMetadata.xml
    Diese Dateien befinden sich möglicherweise hier:
    C:\ProgramData\Microsoft\Windows\WER\ReportArchive\AppCrash_pcdr5cuiw32.exe_8cd648aeacc4a6bcff206ecfb8786fd35bf8737d_0972952e
    Analysesymbol:
    Es wird erneut nach einer Lösung gesucht: 0
    Berichts-ID: 2f06e5da-3142-11df-a9dd-00a0c6000000
    Berichtstatus: 0
    is saving his results. Now the hardware check is working fine without any error message, regards Wolle

  • How to copy (edited) voice memos from iphone to itunes

    This is a similar question to one that I have already asked, perhaps simpler, though. Imagine I have just recorded a voice memo on iphone: how do I copy it to itunes? Is it done via backup or via sync, and with what options turned on/off? Does it work even if I edit (trim and/or rename) the voice memo on the phone before copying it?
    Thank you.

    I was having a similar issue and I if I understand correctly, I think this is a solution for others..
    in itunes with iphone plugged in, go to summary tab. click "manually manage music.." and apply. Then go to "on this phone tab" and you can actually physically delete the voice memo playlist or individual voice memos. This appears to have finally worked for me..or at least the voice memos playlist doesn't persist under the "on this phone tab" anymore....not sure it made a huge difference in my iphone available space.

Maybe you are looking for

  • TRIED EVERYTHING!!! computer will not recognize IPOD and no charging

    Tried changing cords; tried reinstalling all software; tried to determine if conflicting software; ran ipod out of power and my computer still will not recognize when I plug it in. Backlight initially lights up but ipod does not show up in device man

  • Need to find impact of Vertex O series upgrade on ECC and changes required?

    Hello experts, My client is upgrading Vertex series to O from Q. As part of Q series, additional fields such street will be used to identify correct tax jurisdiction code in system.  Also, zip code used will be 9 digits (zip+4) instead of 5 digits. W

  • Steps to create adobe form in WD

    hi could any body send me the step by  step procedure to create Adobe Form generation using RFC (BAPI) in Web Dynpros regards mmukesh

  • How do I get past region screen on app store

    Hello, I just bought an iphone 5s and when I tap the "app store" app it opens up to the Accounts Settings Country or Region screen. I choose the United States and it says to "tap next". The problem I encounter is there is no "next" to tap, it is just

  • IC Issue

    Hi All, I am facing one issue related to posting of AP document for Intercompany Invoice. The IDOC (Status 51) for AP side is in error because of system is asking for Trading Partner for GL Account because of Substitution rule written. Now My issue i