New HttpSession always created instead of re-used

Hi,
          I've noticed there are a lot of questions about the use of HttpSessions
          in WL 5.1 and
          I'm also having problems.
          I have a servlet that is creating an HttpSession like this;
          HttpSession session = request.getSession(true);
          The first time I call this servlet it creates a new session - however in
          this servlet's
          page I allow the user to look at what is contained in their session
          object (their envelope
          of shopping items). Every time the user invokes the servlet again by
          selecting their
          'envelope' instead of looking in their current session object a new one
          is created.
          Therefore I can't maintain state of the servlet containing the envelope
          items.
          It sounds like other folks are having this problem as well. My servlet
          is in a web application.
          My weblogic.properties file has these entries;
          weblogic.httpd.session.enable=true
          weblogic.httpd.session.persistence=false
          // I've tried it with persistence=true also
          The problems with sessions occurs on both Netscape and IE although both
          of them
          have cookies enabled.
          Any ideas what the problem is? Is there some setting in
          weblogic.properties I need to
          add to get sessions to be persistent between servlet invocations?
          Thanks,
          Susan Cline
          [email protected]
          

And does the servlet which is run from the envelope use getSession( true )?
          or getSession( false )?
          If you're using true all the time, you're destroying the session.
          "Susan Cline" <[email protected]> wrote in message
          news:[email protected]...
          > Hi,
          >
          > I've noticed there are a lot of questions about the use of HttpSessions
          > in WL 5.1 and
          > I'm also having problems.
          >
          > I have a servlet that is creating an HttpSession like this;
          >
          > HttpSession session = request.getSession(true);
          >
          > The first time I call this servlet it creates a new session - however in
          > this servlet's
          > page I allow the user to look at what is contained in their session
          > object (their envelope
          > of shopping items). Every time the user invokes the servlet again by
          > selecting their
          > 'envelope' instead of looking in their current session object a new one
          > is created.
          > Therefore I can't maintain state of the servlet containing the envelope
          > items.
          >
          > It sounds like other folks are having this problem as well. My servlet
          > is in a web application.
          > My weblogic.properties file has these entries;
          >
          > weblogic.httpd.session.enable=true
          > weblogic.httpd.session.persistence=false
          > // I've tried it with persistence=true also
          >
          > The problems with sessions occurs on both Netscape and IE although both
          > of them
          > have cookies enabled.
          >
          > Any ideas what the problem is? Is there some setting in
          > weblogic.properties I need to
          > add to get sessions to be persistent between servlet invocations?
          >
          > Thanks,
          >
          > Susan Cline
          > [email protected]
          >
          

Similar Messages

  • How to create a notification for new virtual machines created on Hyper-v Using SCOM or another way?

    Hi ,
    We need to  to create a notification for new virtual machines created on Hyper-v Using SCOM or another way
    thanks

    http://sincealtair.blogspot.com/2010/04/how-to-ask-questions-in-technical-forum.html
    Not nearly enough information.
    If you are asking about SCOM, it is better to ask in the SCOM forum -
    http://social.technet.microsoft.com/Forums/en-US/home?forum=operationsmanagergeneral
    .:|:.:|:. tim

  • Developer-Online New Tutorial Released: Create a Flickr gallery using jquery and JSON

    Create a Flickr gallery using jquery and JSON
    Hello everyone, In this tutorial I'll show how is simple to build your Flickr photo gallery using jQuery framework and JSON. We'll see how to setup thumbnail's numbers, convert your RSS Flickr in a JOSOn format and display theme. Thank You for your attention!
    Posted on:                                       2010-01-11 10:20:48
    Author: patrizio Quatrini
    Best Regards
    Waleed Barakat

    Heya,
    When I first read your post I originally thought you were posting a tutorial about whether a chosen username has already been resigtered or not on the signup page like this tutorial:
    http://DwFAQ.info/signup_demo.php
    Spry Check Username Availability
    Date Created: Sunday, July 5, 2009 2:29 PM
    Then after looking at the page you've linked to and trying to understand the objective of the tutorial I've noticed that you are talking about something like this:
    http://DwFAQ.info/home.php?id=7
    Spry Search
    Date Created: Sunday, March 1, 2009 8:51 PM
    It's pretty simple to do with the link I've referenced. Simply create your database with populated tables, use the mentioned script to convert the database data into xml syntax, then enter your dynamic database script as the location of the xmlDataSet in the spry page linked.
    View source on this page which shows the non-destructive filter in action to see how it's done! You can also spice it up a little for products, etc. by using this method. The key is to create a dynamic xml syntax from your database and then use the dynamic xml script location as your xmlDataSet in the search page.
    I have an example of the auto suggest search on my homepage http://DwFAQ.info
    On the top-left side of the page click on the link that says Search Tutorials to reveal the search form. Then start typing characters into the search box to see the entries instantly filter according to the characters that are typed. You can also filter further by clicking on the category checkboxes to filter by keywords AND category.
    You can view the source code on my homepage to see the location of the dynamic xml syntax referenced as the xmlDataSet location and how it was implemented into the site.

  • New Objects always created in $TMP

    All my new objects/transfer rules/etc are created in $TMP. How do I tell BW to prompt for a package when activating?

    Hi Jim,
    Please check your settings :
    Goto RSA1-> Select Menu GOTO --> Select Transport Connection -->Select Menu EDIT -->Select Transport -->Switch on standard or switch off standard. This will basically influence whether you will be promopted for package or not.
    For already stored objects, and if you want to change the package, simpliy go to EXTRAS->Object Directory Entry, change the settings as required.
    Please reward with points if htis helps you and let us know if you need any further assistance.
    Regards,
    Ashish

  • Dreamweaver CC for Mac strange new files always created

    Hi,
    I bought iMac and this is my first Apple product. Now I have installed Dreamweaver and few other apps I use for web design and eveyr time i save a file, whether its, PHP, HTML, CSS, PSD, PNG i get the same file name created next to source file. For example if I save file called EXAMPLE.PHP another file called ._EXAMPLE.PHP is also created. Is there any way to turn this off or these files needs to be saved for Mac?
    Thanks and sorry of this sounds like a noob question, but never used Mac OS X.

    You should be able to turn off your hidden files to make them go away.
    Files starting with a . are supposed to be hidden on the Mac, they're the "users shouldn't need to futz with these" files.
    http://guides.macrumors.com/Viewing_hidden_files_on_a_Mac
    Show hidden files (like htaccess) in Mac OS X | Alex Turnwall

  • Re: creating new HttpSession

    IE is process-based. Ctrl-N does not create a new process, thus
    non-persistent cookies are shared. Running it from the Start menu creates a
    new process, so that IE gets its own non-persistent cookies. That matters
    because WL (and most J2EE platforms) implement sessions using non-persistent
    cookies.
    Cameron Purdy
    [email protected]
    http://www.tangosol.com
    WebLogic Consulting Available
    "Leo Lam" <[email protected]> wrote in message
    news:39bcf972$[email protected]..
    I'm using a stateful session bean to maintain a client's state. I'mstoring
    the
    reference to my stateful session bean in the client's HttpSession. Is it
    possible to create a new HttpSession whenever a new browser gets
    created? I noticed that using ctrl-n in Internet Explorer creates a new
    browser but not a new HttpSession but if I select Internet Explorer
    from my start menu, then a new HttpSession gets created. I also noticed
    that Netscape doesn't generate a new HttpSession regardless of how the
    browser was created.

    Yes u can store it as a Handle instead of ref..which is much more better..
    This thread may be helpful
    http://newsgroups.bea.com/cgi-bin/dnewsweb?cmd=article&group=weblogic.developer.interest.servlet&item=5330&utag=
    zille wrote:
    can u plz explain me that how can we store the reference to the stateful sessionbean to the httpsession i need urgent response plz

  • Is it possible to change proxy settings for all profiles that´s created instead of the standard options. We need to change "use systems proxy" into "automatic"

    Proxy Problems
    We need to be able to change the default settings for the proxy for all profiles on our computers that´s created for new users.
    Standard is that firefox takes the option "use the system options" for the proxy. We would like it to use the option "automatic" instead like IE and Chrome does.
    Considering that we have over 500 computers doing this manually isn´t an option, because a new profile is created everytime someone logs on to a computer they haven´t used before.

    You can use a mozilla.cfg file in the Firefox program folder to lock prefs or specify new default values.
    Place a file local-settings.js in the defaultspref folder where you also find the file channel-prefs.js to specify using mozilla.cfg.
    pref("general.config.filename", "mozilla.cfg");
    pref("general.config.obscure_value", 0); // use this to disable the byte-shift
    See:
    *http://kb.mozillazine.org/Locking_preferences
    You can use these functions in mozilla.cfg:
    defaultPref(); // set new default value
    pref(); // set pref, but allow changes in current session
    lockPref(); // lock pref, disallow changes
    This will work for all existing and newly created profiles.

  • Oracle Coherence 3.7.1, It's  always creating a new cluster in linux m/c.

    Hi ,
    I am facing an issue with Oracle Coherence 3.7.1 in linux m/c , where it’s always creating a new cluster, even if I start a new member provided with same cluster name as argument. -Dtangosol.coherence.cluster=name
    It’s not joining the existing cluster , it’s always creating a new cluster with same name in Linux m/c.
    But when I tried the same thing in windows m/c , it working fine , even If I start N number cache server’s it joining the same cluster as one more member.
    Please someone help me, why it’s always creating a new cluster in linux m/c with same name ? why new VM’s are not joining the existing cluster? , Is there anything extra setup I need to do for Linux m/c.
    Thanks in Advance.
    <coherence>
    <cluster-config>
    <member-identity>
    <cluster-name>My_cluster</cluster-name>
    </member-identity>
    </cluster-config>
    <configurable-cache-factory-config>
    <init-params>
    <init-param>
    <param-type>java.lang.String</param-type>
    <param-value system-property="tangosol.coherence.cacheconfig">coherence-cache-config.xml</param-value>
    </init-param>
    </init-params>
    </configurable-cache-factory-config>
    </coherence>
    12-10-01 10:20:06.544/0.420 Oracle Coherence 3.7.1.0 <Info> (thread=main, member=n/a): Loaded operational configuration from "jar:file:/data/Informatica/nas/sdgshared/MyApputils/coherence/lib/coherence.jar!/tangosol-coherence.xml"
    2012-10-01 10:20:06.608/0.484 Oracle Coherence 3.7.1.0 <Info> (thread=main, member=n/a): Loaded operational overrides from "jar:file:/data/Informatica/nas/sdgshared/MyApputils/coherence/lib/coherence.jar!/tangosol-coherence-override-dev.xml"
    2012-10-01 10:20:06.609/0.485 Oracle Coherence 3.7.1.0 <Info> (thread=main, member=n/a): Loaded operational overrides from "jar:file:/data/Informatica/nas/sdgshared/MyApputils/coherence/MyAppCache/lib/MyAppCoherenceCache.jar!/tangosol-coherence-override.xml"
    2012-10-01 10:20:06.613/0.489 Oracle Coherence 3.7.1.0 <D5> (thread=main, member=n/a): Optional configuration override "/custom-mbeans.xml" is not specified
    Oracle Coherence Version 3.7.1.0 Build 27797
    Grid Edition: Development mode
    Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.
    2012-10-01 10:20:06.831/0.707 Oracle Coherence GE 3.7.1.0 <Info> (thread=main, member=n/a): Loaded cache configuration from "file:/data/Informatica/nas/sdgshared/MyApputils/coherence/MyAppCache/config/coherence-cache-config.xml"; this document does not refer to any schema definition and has not been validated.
    2012-10-01 10:20:07.328/1.204 Oracle Coherence GE 3.7.1.0 <D4> (thread=main, member=n/a): TCMP bound to /10.176.4.105:8088 using SystemSocketProvider
    2012-10-01 10:20:10.711/4.587 Oracle Coherence GE 3.7.1.0 <Info> (thread=Cluster, member=n/a): Created a new cluster "MyCache_cluster" with Member(Id=1, Timestamp=2012-10-01 10:20:07.397, Address=10.176.4.105:8088, MachineId=44371, Location=site:,machine:ctrel9014-12,process:19922, Role=CoherenceServer, Edition=Grid Edition, Mode=Development, CpuCount=16, SocketCount=4) UID=0x0AB004690000013A1CE9ADE5AD531F98
    2012-10-01 10:20:10.713/4.589 Oracle Coherence GE 3.7.1.0 <Info> (thread=main, member=n/a): Started cluster Name=MyCache_cluster
    Group{Address=224.3.7.0, Port=37000, TTL=4}
    MasterMemberSet(
    ThisMember=Member(Id=1, Timestamp=2012-10-01 10:20:07.397, Address=10.176.4.105:8088, MachineId=44371, Location=site:,machine:ctrel9014-12,process:19922, Role=CoherenceServer)
    OldestMember=Member(Id=1, Timestamp=2012-10-01 10:20:07.397, Address=10.176.4.105:8088, MachineId=44371, Location=site:,machine:ctrel9014-12,process:19922, Role=CoherenceServer)
    ActualMemberSet=MemberSet(Size=1
    Member(Id=1, Timestamp=2012-10-01 10:20:07.397, Address=10.176.4.105:8088, MachineId=44371, Location=site:,machine:ctrel9014-12,process:19922, Role=CoherenceServer)
    MemberId|ServiceVersion|ServiceJoined|MemberState
    1|3.7.1|2012-10-01 10:20:10.711|JOINED
    RecycleMillis=1200000
    RecycleSet=MemberSet(Size=0
    TcpRing{Connections=[]}
    IpMonitor{AddressListSize=0}
    2012-10-01 10:20:10.736/4.612 Oracle Coherence GE 3.7.1.0 <D5> (thread=Invocation:Management, member=1): Service Management joined the cluster with senior service member 1
    2012-10-01 10:20:10.918/4.794 Oracle Coherence GE 3.7.1.0 <D5> (thread=DistributedCache:HBaseMyCache, member=1): Service HBaseMyCache joined the cluster with senior service member 1
    2012-10-01 10:20:10.942/4.818 Oracle Coherence GE 3.7.1.0 <Info> (thread=main, member=1):
    Edited by: user10092089 on Oct 2, 2012 8:35 AM

    Hi,
    For unicast, you need to define the override file as under:
    <?xml version='1.0'?>
    <coherence>
         <cluster-config>
              <member-identity>
                   <cluster-name system-property="tangosol.coherence.cluster">LPACache_cluster</cluster-name>
              </member-identity>
              <unicast-listener>
                  <well-known-addresses>
                   <socket-address id="1">
                       <address system-property="tangosol.coherence.wka1">coherence-node1-ip</address>
                       <port system-property="tangosol.coherence.wka1.port"> coherence-node1-port</port>
                   </socket-address>
                   <socket-address id="2">
                       <address system-property="tangosol.coherence.wka2"> coherence-node2-ip </address>
                       <port system-property="tangosol.coherence.wka2.port"> coherence-node2-port</port>
                   </socket-address>
                  </well-known-addresses>
              <port-auto-adjust system-property="tangosol.coherence.localport.adjust">false</port-auto-adjust>
              </unicast-listener>
         </cluster-config>
         <configurable-cache-factory-config>
               <class-name>com.tangosol.net.DefaultConfigurableCacheFactory</class-name>
               <init-params>
                  <init-param>
                      <param-type>java.lang.String</param-type>
                      <param-value system-property="tangosol.coherence.cacheconfig">coherence-cache-config.xml</param-value>
                  </init-param>
              </init-params>
        </configurable-cache-factory-config>   
        <logging-config>
               <severity-level system-property="tangosol.coherence.log.level">5</severity-level>
               <character-limit system-property="tangosol.coherence.log.limit">0</character-limit>
        </logging-config>
    </coherence>Use the property -Dtangosol.coherence.localhost=coherence-node1-ip and -Dtangosol.coherence.localport=coherence-node1-port for coherence server1 and -Dtangosol.coherence.localhost=coherence-node2-ip and -Dtangosol.coherence.localport=coherence-node2-port for Coherence server 2. Once you start the servers with these changes, you should not see the below message:
    Group{Address=224.3.7.0, Port=37000, TTL=4}
    HTH
    Cheers,
    _NJ                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • How to create a new variant and a job sheduled to use it for the ......

    How to create a new variant and a job sheduled to use it for the exisisting programs

    Hi
    1. The ALV Grid Control is a tool with which you can output non-hierarchical lists in a
    standardized format. The list data is displayed as a table on the screen.
    The ALV Grid Control offers a range of interactive standard list functions that users need
    frequently (find, sort, filter, calculate totals and subtotals, print, print preview, send list,
    export list (in different formats), and so on. These functions are implemented in the
    proxy object class. You as the programmer have the possibility to turn off functions not
    needed. In most cases the implementations of the standard functions provided by the
    control are sufficient. However, if required, you can adjust these implementations to
    meet application-specific needs.
    You can add self-defined functions to the toolbar, if necessary.
    The ALV Grid Control allows users to adjust the layout of lists to meet their individual
    requirements (for example, they can swap columns, hide columns, set filters for the
    data to be displayed, calculate totals, and so on). The settings (list customizing) made
    by a specific user are called a display variant. Display variants can be saved on a userspecific
    or on a global basis. If such display variants exist for a list, they can be offered
    to the user for selection. If a display variant is set as the default variant, the associated
    list is always displayed based on the settings of this variant.
    2. REUSE_ALV_LIST_DISPLAY
    REUSE_ALV_GRID_DISPLAY
    REUSE_ALV_FIELDCATALOG_MERGE
    REUSE_ALV_COMMENTARY_WRITE
    3. Use of Field Catalog is to determines the technical properties & add formating information of the column.
    6. all the definition of internal table, structure, constants are declared in a type-pool called SLIS.
    7.fieldcat-fieldname
    fieldcat-ref_fieldname
    fieldcat-tabname
    fieldcat-seltext_m
    5. Form user_command using r_ucomm like sy-ucomm rs_selfield type slis_selfield.
    Sap provides a set of ALV (ABAP LIST VIEWER) function modules which can be put into use to embellish the output of a report. This set of ALV functions is used to enhance the readability and functionality of any report output. Cases arise in sap when the output of a report contains columns extending more than 255 characters in length.
    In such cases, this set of ALV functions can help choose selected columns and arrange the different columns from a report output and also save different variants for report display. This is a very efficient tool for dynamically sorting and arranging the columns from a report output.
    The report output can contain up to 90 columns in the display with the wide array of display options.
    <b>The commonly used ALV functions used for this purpose are;</b>
    1. REUSE_ALV_VARIANT_DEFAULT_GET
    2. REUSE_ALV_VARIANT_F4
    3. REUSE_ALV_VARIANT_EXISTENCE
    4. REUSE_ALV_EVENTS_GET
    5. REUSE_ALV_COMMENTARY_WRITE
    6. REUSE_ALV_FIELDCATALOG_MERGE
    7. REUSE_ALV_LIST_DISPLAY
    8. REUSE_ALV_GRID_DISPLAY
    9. REUSE_ALV_POPUP_TO_SELECT
    Purpose of the above Functions are differ not all the functions are required in all the ALV Report.
    But either no.7 or No.8 is there in the Program.
    <b>
    How you call this function in your report?</b>
    After completion of all the data fetching from the database and append this data into an Internal Table. say I_ITAB.
    Then use follwing function module.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
    I_CALLBACK_PROGRAM = 'Prog.name'
    I_STRUCTURE_NAME = 'I_ITAB'
    I_DEFAULT = 'X'
    I_SAVE = 'A'
    TABLES
    T_OUTTAB = I_ITAB.
    IF SY-SUBRC <> 0.
    WRITE: 'SY-SUBRC: ', SY-SUBRC .
    ENDIF.
    ENDFORM. " GET_FINAL_DATA
    The object F_IT_ALV has a field, the activity ACTVT, which can
    contain four permitted values: 01, 02, 03 and 70. Each of the
    activities 01, 02 and 70 controls the availability of particular
    functions (in the menu and the toolbar) of the ALV line item list:
    a) 01: "Settings -> Display variant -> Save..."
    b) 02: "Settings -> Display variant -> Current..." and
    "Settings -> Display variant -> Current header rows "
    c) 70: "Settings -> Display variant -> Administration..."
    Activity 03 corresponds to the minimum authorization, which is the
    most restricted one: The user can only select layouts which have
    been configured already. In particular, all of the other functions
    named above are inactive with activity 03.
    Now if you want to permit a user to change the column selection and
    the headers as well as to save the layout thus created, for example,
    but if you do not want to permit the user to administrate the
    layouts, you grant him or her the authorization for activities 01
    and 02.
    Check this link it will be mosty usefull for u
    http://www.sap-img.com/fu017.htm
    Reward all helpfull answers
    Regards
    Pavan

  • StoreEvents always creating new event?

    Hey all,
    Our university recently upgraded to the newest version of the calendar server and so I've been going back to some old code I wrote that should now function correctly. However, I'm having an issue. The part of my program I'm currently dealing with fetches all the unconfirmed appointments from a user's oracle calendar and then asks the user if they would like to accept/decline/ignore those events. It then writes the events back to the server accordingly. However, despite my best efforts, a new appointment is always created rather than the old one being updated to reflect the new participation status.
    Here is an example of an event received from the server:
    BEGIN:VCALENDAR
    VERSION:2.0
    PRODID:-//ORACLE//NONSGML CSDK 9.0.4.2//EN
    BEGIN:VEVENT
    X-ORACLE-IMEETING-SENDEMAILNOTIFICATION:TRUE
    X-ORACLE-EVENTINSTANCE-GUID:I1+611984+101+1+445722372
    X-ORACLE-EVENT-GUID:E1+611984+101+445722372
    X-ORACLE-EVENTTYPE:APPOINTMENT
    UID:20050214T194612Z-95690-65-589f-Oracle
    TRANSP:OPAQUE
    SUMMARY:Unconfirmed Number 1
    STATUS:CONFIRMED
    SEQUENCE:0
    PRIORITY:5
    ORGANIZER;CN=Derek Miller:mailto:[email protected]
    DTSTART:20050214T170000Z
    DTSTAMP:20050221T192636Z
    DTEND:20050214T173000Z
    CREATED:20050214T194612Z
    CLASS:PUBLIC
    ATTENDEE;CUTYPE=INDIVIDUAL;RSVP=FALSE;CN=Derek Miller;PARTSTAT=NEEDS-ACTIO
    N:mailto:[email protected]
    END:VEVENT
    END:VCALENDAR
    And here is what I send back to the server:
    Content-Class: urn:content-classes:calendarmessage
    Content-Type:text/calendar;
    method=REQUEST;
    charset="utf-8"
    Content-Transfer-Encoding: 7bit
    BEGIN:VCALENDAR
    VERSION:2.0
    PRODID:-//ORACLE//NONSGML CSDK 9.0.4.2//EN
    BEGIN:VEVENT
    X-ORACLE-IMEETING-SENDEMAILNOTIFICATION:TRUE
    X-ORACLE-EVENTINSTANCE-GUID:I1+611984+101+1+445722372
    X-ORACLE-EVENT-GUID:E1+611984+101+445722372
    X-ORACLE-EVENTTYPE:APPOINTMENT
    UID:20050214T194612Z-95690-65-589f-Oracle
    TRANSP:OPAQUE
    SUMMARY:Unconfirmed Number 1
    STATUS:CONFIRMED
    SEQUENCE:0
    PRIORITY:5
    ORGANIZER;CN=Derek Miller:mailto:[email protected]
    DTSTART:20050214T170000Z
    DTSTAMP:20050221T192636Z
    DTEND:20050214T173000Z
    CREATED:20050214T194612Z
    CLASS:PUBLIC
    ATTENDEE;CUTYPE=INDIVIDUAL;RSVP=FALSE;CN=Derek Miller;PARTSTAT=ACCEPTED:mailto:[email protected]
    END:VEVENT
    END:VCALENDAR
    The only thing that I see that could be different is that when I fetch the event from the server, there are some strange line breaks in the attendee property which somehow magically disappear in my processing of the string (my function only swaps the NEEDS-ACTION with ACCEPTED so I don't know how those other line breaks go away). But the fact that a new event is created and all the properties are set correctly, I have my doubts as to this being the cause.
    Also, I have tried both the CAPI_FLAG_STORE_MODPROPS and CSDK_FLAG_STORE_MODIFY flags but neither seem to change what happens.
    Anyone see any obvious mistakes that I'm making?
    Thanks in advance!

    Glad to be of help! I wouldn't have known either except for a forum thread a few pages back titled "jni source code available" (or something like that) where one of the replies stated that the CSDK and CAPI handled the UIDs differently. Then I compiled the C example and noticed the UIDs looked very different from the ones I was getting from the Java SDK. Then I used your original post to help figure out what I needed to send back to the server (other than the UID) to get my code to work... so we kind of helped each other! Thanks!
    --Ron D.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Canot erase my macbook air ssd..always create a extended partition with about 5G used space

    I cant erase my air ssd, always create about 5G used extended partition..

    Try booting the fallback kernel, there is a problem with the AHCI driver concerning new Macbooks. When you've booted, add ata_generic to the modules in /etc/mkinitcpio.conf and rebuild the initrd with mkinitcpio -p kernel26.

  • Using New-SCSMRelationshipObject to create System.WorkItemRelatesToRequestOffering

    I'm trying to use New-SCSMRelationshipObject to create a System.WorkItemRelatesToRequestOffering relationship object. When I remove the management pack that contains all of my request offerings incidents that had relationships with those objects lose them.
    I'd like to keep these relationships, so I'm writing a script that pulls all the data for all objects in our system, and then makes my management pack changes, and fixes any data loss that occurred; I have it working for everything except this relationship.
    I found this example of someone creating a relationship for the createdby relationship:
    https://social.technet.microsoft.com/forums/systemcenter/en-US/9c0e0ee5-f14c-4399-9012-c488f05afb75/how-to-use-scsmnewrelationshipobject-with-smlets
    From that example I gleaned this:
    $CreatedByRelClass = Get-SCSMRelationshipClass System.WorkItemCreatedByUser$
    $CRClass = Get-SCSMClass -Name System.WorkItem.ChangeRequest
    $ChangeReq = Get-SCSMObject $CRClass -Filter "Id -eq CR45"
    $UserClass = Get-SCSMClass -Name System.Domain.User
    $CreatedByUser = Get-SCSMObject $UserClass -Filter "UserName -eq stestuser"
    New-SCSMRelationshipObject -RelationShip $CreatedByRelClass -Source $ChangeReq -Target $CreatedByUser -Bulk
    Using this example, I tried this:
    $RelationshipObjectClass = Get-SCSMRelationshipClass -name System.WorkItemRelatesToRequestOffering
    $SRClass = Get-SCSMClass -Name System.WorkItem.ServiceRequest
    $ServiceReq = Get-SCSMObject $SRClass -Filter "Id -eq SR39"
    $RequestOff = Get-SCSMClass -Name System.RequestOffering
    $RelatedRequestOff = Get-SCSMObject $RequestOff -Filter "DisplayName -eq 'Finance Service Request'"
    New-SCSMRelationshipObject -RelationShip $RelationshipObjectClass -Source $ServiceReq -Target $RelatedRequestOff -Bulk
    However, I'm getting an error:
    New-SCSMRelationshipObject : Cannot process extension elements as EnterpriseManagementObject. User EnterpriseManagementObjectProjection for all
    extension element CRUD operations.
    At line:1 char:1
    + New-SCSMRelationshipObject -RelationShip $RelationshipObjectClass -Source $Servi ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : InvalidOperation: (Microsoft.Enter...ationshipObject:CreatableEnterp...ationshipObject) [New-SCSMRelationshipObject],
       InvalidOperationException
        + FullyQualifiedErrorId : Relationshipship Error,SMLets.NewSCSMRelationshipObject
    This made me think that perhaps I should be using the projections, so I switched my "source" and "target" object to be the projections, and go this error instead:
    New-SCSMRelationshipObject : Cannot bind parameter 'Source'. Cannot convert the
    "@{__base=Microsoft.EnterpriseManagement.Common.EnterpriseManagementObjectProjection; Object=SR39 ..." (I abbreviated this, but it basically spits out the entire object.)
    value of type "EnterpriseManagementObjectProjection#System.WorkItem.ServiceRequestProjection" to type "Microsoft.EnterpriseManagement.Common.EnterpriseManagementObject".
    At line:1 char:75
    + New-SCSMRelationshipObject -Relationship $RelationshipObjectClass -Source $Sourc ...
    +                                                                          
    ~~~~~~
        + CategoryInfo          : InvalidArgument: (:) [New-SCSMRelationshipObject], ParameterBindingException
        + FullyQualifiedErrorId : CannotConvertArgumentNoMessage,SMLets.NewSCSMRelationshipObject
    I double checked that the target and source class types are all correct, I noticed the relationship's source class type is "System.Workitem", but if you look at an actual relationship object, the source class type is "System.Workitem.ServiceRequest",
    however this is also the case with the example above too. I can't any examples of people creating this particular relationship, so if anyone has, I'd love to see your examples, I'm confused why I can't get it to work.

    Damn, close, almost thought that was it. I did a little investigation, looks like the source of his problem was that the relationship type he was trying to create was the base type "System.Membership", this little snippit leads be to believe the
    one I'm trying to create is "System.Reference". Take a look at the snippit and let me know if you agree. I think other than that, my code in the initial post is correct?
    $ContainsActivityRelationshipClass = Get-SCSMRelationshipClass -name System.WorkItemContainsActivity
    $RelatesToRequestOffRelationshipClass = Get-SCSMRelationshipClass -name System.WorkItemRelatesToRequestOffering
    $CreatedByRelClass = Get-SCSMRelationshipClass System.WorkItemCreatedByUser$
    $ContainsActivityRelationshipClass.GetBaseType() | fl *
    PropertyCollection : {}
    Base               : ManagementPackElementUniqueIdentifier=189f4500-7a70-db53-9566-feea4695da29
    Source             : IsMemberOf
    Target             : Member
    XmlTag             : RelationshipType
    Abstract           : True
    Accessibility      : Public
    ManagementGroup    : Hitachi-SolutionsDEV_SCSM
    ManagementGroupId  : 0b99cd7a-80c4-2a04-38c9-55bff6b15f47
    Identifier         : 1|System.Library/31bf3856ad364e35|1.0.0.0|System.Membership||
    Name               : System.Membership
    Id                 : c89ea3f4-bcc3-a4ab-89c0-c58c2cd88c84
    DisplayName        : Membership
    Description        : Membership
    LanguageCode       : ENU
    Comment            :
    Status             : Unchanged
    LastModified       : 2014-09-05 10:15:49 PM
    TimeAdded          : 2014-09-05 10:13:18 PM
    InstanceName       :
    $RelatesToRequestOffRelationshipClass.GetBaseType() | fl *
    PropertyCollection : {}
    Base               :
    Source             : RefersTo
    Target             : IsReferredBy
    XmlTag             : RelationshipType
    Abstract           : True
    Accessibility      : Public
    ManagementGroup    : Hitachi-SolutionsDEV_SCSM
    ManagementGroupId  : 0b99cd7a-80c4-2a04-38c9-55bff6b15f47
    Identifier         : 1|System.Library/31bf3856ad364e35|1.0.0.0|System.Reference||
    Name               : System.Reference
    Id                 : 5996b276-2d7f-7ca5-68e7-09186d9462d5
    DisplayName        : Reference
    Description        : Defines the basic properties of directed relationships
    LanguageCode       : ENU
    Comment            :
    Status             : Unchanged
    LastModified       : 2014-09-05 10:15:49 PM
    TimeAdded          : 2014-09-05 10:13:18 PM
    InstanceName       :
    $CreatedByRelClass.GetBaseType() | fl *
    PropertyCollection : {}
    Base               :
    Source             : RefersTo
    Target             : IsReferredBy
    XmlTag             : RelationshipType
    Abstract           : True
    Accessibility      : Public
    ManagementGroup    : Hitachi-SolutionsDEV_SCSM
    ManagementGroupId  : 0b99cd7a-80c4-2a04-38c9-55bff6b15f47
    Identifier         : 1|System.Library/31bf3856ad364e35|1.0.0.0|System.Reference||
    Name               : System.Reference
    Id                 : 5996b276-2d7f-7ca5-68e7-09186d9462d5
    DisplayName        : Reference
    Description        : Defines the basic properties of directed relationships
    LanguageCode       : ENU
    Comment            :
    Status             : Unchanged
    LastModified       : 2014-09-05 10:15:49 PM
    TimeAdded          : 2014-09-05 10:13:18 PM
    InstanceName       :

  • When I attempt to send a text from the new iPad, a dialog box appears with the option to either sign in with Apple ID Password or Create New Account. I try signing in using my Apple ID password but IMessage informs me that email address cannot be verified

    When I attempt to send a text from the new iPad, a dialog box appears with the option to either sign in with Apple ID Password or Create New Account. I try signing in using my Apple ID password but IMessage informs me that email address cannot be verified because it is already in use ??? What am I doing wrong?

    settings -> iTunes & App Store
    click on apple ID listed there
    select Sign Out
    sign in with the proper account
    from then on, when the store ask for your password it should be with the correct ID

  • I am new to IPAD and I want o use facetime, how can I use it to communicate with my mac at home, do I need to create another account with a different email account

    I am new to IPAD and I want o use facetime, how can I use it to communicate with my mac at home, do I need to create another account with a different email account

    do I need to create another account with a different email account
    Yes, the email addresses need to be unique to each device. You may use the same Apple ID on each device, but the email address used by each device needs to be different.

  • How do I stop Firefox from opening a new tab when I click a link or navigation button (such as "home") instead of redirecting using the currently open tab?

    Any time I click on a link within a page, such as the "home" link in Facebook, or the various links on the Mozilla page that I needed to follow to get to this screen, Firefox opens a new tab instead of redirecting using the tab I'm on. Also, Firefox doesn't go to the new tab, it just opens it. So if I want to actually go to the page I've just clicked on, I have to then also find and click on the new tab that just opened.

    Hello,
    In safe mode link still open in new tabs?
    *[http://mzl.la/MwuO4X Firefox in safe mode]
    Go to '''about:config''' and search for:
    *'''browser.tabs.loadInBackground''' change its value to '''false'''.
    If in safe mode the links still open in new tabs try go to '''about:config''' and search for:
    *'''browser.link.open_newwindow''' change its value to '''3'''.
    *[http://kb.mozillazine.org/About:config about:config]

Maybe you are looking for