Creating an "IVI session" using COM

I am trying to program NI's RFSG from a COM client with LabVIEW acting as the COM server.
An niRFSG initialization vi requires as one of its inputs a wire of type "resource name (IVI session of class niRFSG)". Passing the resource name as a string (e.g. "pxi1slot2") doesn't work because of type mismatch. Which COM component can I use in my client to create an object of type "resource name" from its human-readable name?
Where is information like this documented?
Thanks!
Solved!
Go to Solution.

Hello f28,
Your assertion that LabVIEW automatically casts the strings passed into the resource input of VIs which use a device’s resource name is correct, and can be noticed by the little red “coercion” dot which appears at that VI’s resource name input terminal. 
So, we must find a way for you to take strings from Python and make them “IVI session of class niRFSG” data type.  I believe that [Class Prefix]_InitWithOptions from the IVI Function Tree would get you the correct data type, but I am not completely sure (possibly something for you to try out).  Unfortunately the C API and LabVIEW API are the only ones that are documented for IVI (unless you also have Measurement Studio for .NET installed).  So, I think that the easiest (and less research-intensive) way of going about this would be to just create other VIs which will convert strings to the appropriate IVI class for you.  Attached is one such VI, which is just composed of a String Control and an IVI Class Session Indicator.  The indicator’s class was selected by right-clicking on in, and selecting Select IVI Class » IviRFSigGen » niRFSG.You could possibly use this VI (and other VIs for other IVI-specific classes) instead of calling directly into the COM component.  It may be a little easier since it looks like you are already calling into VIs in order to use the RFSG driver.  Would this meet the requirements of what you are trying to accomplish?The guide to the IVI documentation should be installed on your machine under Start » Programs » National Instruments » IVI » IVI Driver Help.  Like I mentioned though, nothing about COM in here, but LabVIEW and C instead. Also, you should beware that calling into the RFSG library from LabVIEW will not circumvent the fact that the driver is a 32 bit DLL at its core… In other words, calling it from LabVIEW will not make it a 64 bit application any more than calling the C API… unless I am missing something here…
Chris_G
Sr Test Engineer
Medtronic, Inc.
Attachments:
StringToIVIRFSigGenClass.vi ‏6 KB

Similar Messages

  • Error in creating GUID using com.sap.guid API's

    Hi
       i am trying to create GUID using com.sap.guid API's. I've included the guidgenerator.jar in the classpath. I ran the following code. i got the "Caused by: java.lang.NoClassDefFoundError: com/sap/guid/GUIDGeneratorFactory " error.
    the code is
    package com.portal;
    import com.sapportals.portal.prt.component.;*
    import com.sap.guid.GUIDGeneratorFactory;
    import com.sap.guid.IGUID;
    import com.sap.guid.IGUIDGenerator;
    import com.sap.guid.IGUIDGeneratorFactory;
    public class TestCompforGUID extends AbstractPortalComponent
        public void doContent(IPortalComponentRequest request, IPortalComponentResponse response)
    *          IGUIDGenerator generator = GUIDGeneratorFactory.getInstance().createGUIDGenerator();*
    *          String guid = generator.createGUID().toString();*
    *          String hexGuid = generator.createGUID().toHexString();*
    *          response.write(guid);*
    *          response.write(hexGuid);*
    can anyone created the GUID's using com.sap.guid API's and help me here.
    Do i need to specify any reference in Portalapp.xml ?
    Thanks,
    Saravanan

    difficult to reproduce. But it might be a data conversion problem.
    e.g. try
    to_char(a.num_tabs)If that's not the error comment out certain lines or xmltags and test which one is the reason for the error.
    Edited by: Sven W. on Sep 9, 2011 3:13 PM - typo correction

  • How to create a session using call transaction method.

    hi , this is nagaraju,
    How to create a session using call transaction method.

    Hi,
    About Data Transfer In R/3 System
    When a company decides to implement the SAP R/3 to manage business-critical data, it usually does not start from a no-data situation. Normally, a SAP R/3 project comes into replace or complement existing application.
    In the process of replacing current applications and transferring application data, two situations might occur:
    •     The first is when application data to be replaced is transferred at once, and only once.
    •     The second situation is to transfer data periodically from external systems to SAP and vice versa.
    •     There is a period of time when information has to be transferred from existing application, to SAP R/3, and often this process will be repetitive.
    The SAP system offers two primary methods for transferring data into SAP systems. From non-SAP systems or legacy system. These two methods are collectively called “batch input” or “batch data communication”.
    1. SESSION METHOD
    2. CALL TRANSACTION
    3. DIRECT INPUT
    First step for both the methods is to upload the data to internal table. From Internal Table, the data is transferred to database table by two ways i.e., Session method and Call transaction.
    Session is intermediate step between internal table and database table. Data along with its action is stored in session i.e., data for screen fields, to which screen it is passed, the program name behind it, and how the next screen is processed.
    When the program has finished generating the session, you can run the session to execute the SAP transactions in it. Unless session is processed, the data is not transferred to database table.
    A technique similar to SESSION method, while batch input is a two-step procedure, Call Transaction does both steps online, one after the other. In this method, you call a transaction from your program.
    SESSION METHOD
    Data is not updated in database table unless Session is processed.
    No sy-subrc is returned.
    Error log is created for error records.
    Updation in database table is always synchronous
    CALL TRANSACTION
    Immediate updation in database table.
    Sy-subrc is returned.
    Errors need to be handled explicitly
    Updation in database table can be synchronous Or Asynchronous.
    Regards,
    Sruthi.

  • I'm trying to create a Windows partition using Boot Camp. An error comes up telling me that I need to reformat my current partition(s) into one single partition. However, it's already formatted in the correct format, and is already a single partition.

    As made clear in the title:
    I'm trying to create a Windows partition using Boot Camp. An error comes up telling me that I need to reformat my current partition(s) into one single partition. However, it's already formatted in the correct format, and is already a single partition.
    My computer recently had a kernel panic, which apparently the corruption was in the system and needed to be erased and re-installed. I have a complete back-up using an external hard drive, and I am definitely not willing to do another one of those to reformat a partition that is already singular. I restarted the computer after ejecting my back-up, and after turning off time machine (thinking that boot camp was recognizing it as a secondary partition), however the error still occurs.
    Is there any way to get around this?

    diskutil list:
    /dev/disk0
       #:                       TYPE NAME                    SIZE       IDENTIFIER
       0:      GUID_partition_scheme                        *750.2 GB   disk0
       1:                        EFI                         209.7 MB   disk0s1
       2:                  Apple_HFS Macintosh HD            749.3 GB   disk0s2
       3:                 Apple_Boot Recovery HD             650.0 MB   disk0s3
    /dev/disk1
       #:                       TYPE NAME                    SIZE       IDENTIFIER
       0:                            Windows7               *2.9 GB     disk1
    diskutil cs list:
    No CoreStorage logical volume groups found
    mount:
    /dev/disk0s2 on / (hfs, local, journaled)
    devfs on /dev (devfs, local, nobrowse)
    map -hosts on /net (autofs, nosuid, automounted, nobrowse)
    map auto_home on /home (autofs, automounted, nobrowse)
    /dev/disk1 on /Volumes/Windows7 (udf, local, nodev, nosuid, read-only, noowners)
    From my very basic knowledge - it still looks as if there is only one partition (not including the windows 7 CD necessary to install the windows partition).

  • How to Create, Edit, and delet Alerts in sharepoint using COM or REST API

    I need to create,Delete and  Alerts using Client object model or REST API , I know It's available on server objetc model , but in client side how do it , 
    Anu ideas 

    Hi,
    According to your description, my understanding is that you want to create, delete and edit SharePoint alerts using Client Object Model or Rest API.
    In SharePoint Client Object Model, there is very little that you can achieve when it comes to alerts.
    For changing alerts, there is a ChangeAlert class:
    change alert class
    For Deleting alerts, you can call deletealert web service:
    DeleteAlerts
    For creating new alerts, it seems no such API support this, a workaround is call the new alert form "SubNew.aspx" using JavaScript to achieve it.
    More information:
    http://www.learningsharepoint.com/2013/09/17/client-object-model-doesnt-support-creating-sharepoint-2013-alerts/
    Thanks
    Best Regards,
    Jerry Guo
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Creating a sample report using JAVA SDK

    Hi,
    I am trying to create a sample report using JAVA SDK.
    I slelect 4 "free cells" and pass 4 different strings to it.
    I even slelect the font colour and size. When i run the class and try to view the report in Infoview, I only seeblank blocks without any data. Now if I edit the report from infoview, and save the changes, I am able to see the data.
    My issue is, Why am I not able to see the data when I run the java code.
    Please find teh code below.
    package com;
    import java.awt.Color;
    import java.io.FileOutputStream;
    import java.util.ArrayList;
    import java.util.Date;
    import java.util.List;
    import com.businessobjects.rebean.wi.BinaryView;
    import com.businessobjects.rebean.wi.DataProvider;
    import com.businessobjects.rebean.wi.DataProviders;
    import com.businessobjects.rebean.wi.DataSource;
    import com.businessobjects.rebean.wi.DataSourceObject;
    import com.businessobjects.rebean.wi.DocumentInstance;
    import com.businessobjects.rebean.wi.DocumentLocaleType;
    import com.businessobjects.rebean.wi.FontImpl;
    import com.businessobjects.rebean.wi.FreeCell;
    import com.businessobjects.rebean.wi.HTMLView;
    import com.businessobjects.rebean.wi.OutputFormatType;
    import com.businessobjects.rebean.wi.PageHeaderFooter;
    import com.businessobjects.rebean.wi.Query;
    import com.businessobjects.rebean.wi.Recordset;
    import com.businessobjects.rebean.wi.Report;
    import com.businessobjects.rebean.wi.ReportBody;
    import com.businessobjects.rebean.wi.ReportCell;
    import com.businessobjects.rebean.wi.ReportContainer;
    import com.businessobjects.rebean.wi.ReportElement;
    import com.businessobjects.rebean.wi.ReportEngine;
    import com.crystaldecisions.sdk.framework.CrystalEnterprise;
    import com.crystaldecisions.sdk.framework.IEnterpriseSession;
    import com.crystaldecisions.sdk.framework.ISessionMgr;
    import com.crystaldecisions.sdk.occa.infostore.IInfoObject;
    import com.crystaldecisions.sdk.occa.infostore.IInfoObjects;
    import com.crystaldecisions.sdk.occa.infostore.IInfoStore;
    import com.crystaldecisions.sdk.plugin.CeKind;
    public class Aug7th {
          * @param args
         public static void main(String[] args) {
              // TODO Auto-generated method stub
              String CMS = "pundl8136:6400";
              String userID = "srivas";
              String password = "morcom123";
              String auth = "secEnterprise";
              List<String> entire =new ArrayList<String>();
              List<String> country =new ArrayList<String>();
              List<String> resort =new ArrayList<String>();
              IEnterpriseSession enterpriseSession;
              try
                   ISessionMgr mySessionMgr = CrystalEnterprise.getSessionMgr();
                   enterpriseSession = mySessionMgr.logon(userID, password, CMS,auth);
                   if (enterpriseSession != null)
                   {//Create and store useful objects for the session.
                        IInfoStore iStore = (IInfoStore)enterpriseSession.getService("InfoStore");
                        ReportEngine reportEngine = (ReportEngine)enterpriseSession.getService("WebiReportEngine");
                        IInfoObject infoView = null;
                        String str = "SELECT SI_ID, SI_NAME, SI_PARENTID FROM CI_INFOOBJECTS WHERE (SI_KIND = '"+CeKind.WEBI+"' OR SI_KIND='FullClient') " +
                        "AND SI_INSTANCE = 'false' AND SI_NAME='Structure Test_001_Java' ORDER BY SI_NAME ASC ";
                        //String str = "SELECT SI_ID, SI_NAME, SI_PARENTID FROM CI_INFOOBJECTS ORDER BY SI_NAME ASC ";
                        IInfoObjects objInfoObjectsWIDs = (IInfoObjects) iStore.query(str);
                        System.out.println(objInfoObjectsWIDs.size());
                        IInfoObject objInfoObjectWID = (IInfoObject) objInfoObjectsWIDs.get(0);
                        DocumentInstance doc = reportEngine.openDocument(objInfoObjectWID.getID());
                        DataProviders dps = doc.getDataProviders();
    //                     Retrieve the 1st data provider
                        DataProvider dp = dps.getItem(0);
    //                     Retrieve the universe objects
                        DataSource ds = dp.getDataSource ();
                        Query q = dp.getQuery();
                        Recordset rs = dp.getResult(0);
    //                     0: assume query has one flow
                        rs.first();
    //                     Print the column types. They can be Integer, String,
    //                     or Date.
                        for (int i = 0; i < rs.getColumnCount(); i++) {
                        Class c = rs.getColumnType(i);
                        StringBuffer sbt = new StringBuffer();
                        if ( c.equals(Integer.class) )
                        sbt.append("Integer");
                        if ( c.equals(String.class) )
                        sbt.append("String");
                        if ( c.equals(Date.class) )
                        sbt.append("Date");
                        sbt.append(";");
                        System.out.println(sbt.toString());
                        System.out.println(rs.getColumnCount());
                        while (!rs.isLast()) {
    //                          column names
                             StringBuffer sbn = new StringBuffer();
                             StringBuffer sbd = new StringBuffer();
                             for (int j = 0; j < rs.getColumnCount(); j++) {
                             sbn.append( rs.getColumnName(j).toString() );
                             sbn.append(";");
                             System.out.println("sbn "+sbn.toString());
    //                          data
                             for (int k= 0; k< rs.getColumnCount(); k++) {
                             sbd.append( rs.getCellObject(k).toString() );
                             sbd.append(";");
                             entire.add(rs.getCellObject(k).toString());
                             System.out.println("sbd "+sbd.toString());
                             rs.next();
                        System.out.println(entire.size());
                        for(int i=0;i<entire.size();i++){
                             country.add(entire.get(i));
                             i++;
                             System.out.println("entireList "+entire.get(i));
                             resort.add(entire.get(i));
                        DataSourceObject city = ds.getClasses().getChildByName("Country");
                        DataSourceObject resorts = ds.getClasses().getChildAt(1);
                        dp.runQuery();
                        ReportContainer report = doc.createReport("Resort");
                        PageHeaderFooter header = report.getPageHeader();
                        FreeCell headerCell = header.createFreeCell("Resort Report");
                        PageHeaderFooter footer = report.getPageFooter();
                        FreeCell footerCell = footer.createFreeCell("Report Ends");
                        ReportBody body =  report.createReportBody();
                        for(int k=0;k<resort.size();k++){
                        FreeCell res=body.createFreeCell(resort.get(k));
                        res.getAttachTo();
                        res.setHeight(15d);
                        res.setWidth(30d);
                        Color c = new Color(255,255,255);
                        Color c1 = new Color(255,0,0);
                        FontImpl fnt = (FontImpl)res.getFont();
                        fnt.getDecoration().setTextColor(c1);
                        res.setFont(fnt);
                        //res.deleteAttachment();
                        //res.setAttachTo(body,VAnchorType.BOTTOM,HAnchorType.NONE);
                        doc.applyFormat();
                        doc.refresh();
                        final String l_docToken = doc.getStorageToken();
                        final DocumentInstance l_docToSave = reportEngine.getDocumentFromStorageToken(l_docToken);
                        doc.saveAs("mor31",835,null,null);
                        doc.closeDocument();
                        str = "SELECT SI_ID, SI_NAME, SI_PARENTID FROM CI_INFOOBJECTS WHERE (SI_KIND = '"+CeKind.WEBI+"' OR SI_KIND='FullClient') " +
                        "AND SI_INSTANCE = 'false' AND SI_NAME='mor31' ORDER BY SI_NAME ASC ";
                        //String str = "SELECT SI_ID, SI_NAME, SI_PARENTID FROM CI_INFOOBJECTS ORDER BY SI_NAME ASC ";
                        objInfoObjectsWIDs = (IInfoObjects) iStore.query(str);
                        System.out.println(objInfoObjectsWIDs.size());
                        objInfoObjectWID = (IInfoObject) objInfoObjectsWIDs.get(0);
                        DocumentInstance doc1 = reportEngine.openDocument(objInfoObjectWID.getID());
                        String token = doc1.getStorageToken();
                        DocumentInstance doc2 = reportEngine.getDocumentFromStorageToken(token);
                        doc2.saveAs("123123", 835, null, null);
                   //     doc.refresh();
                        //doc.save();
                   enterpriseSession.logoff();
              catch(Exception e)
                   e.printStackTrace();

    duplicate post:
    Sample report using JAVA SDK

  • How to set a variable in portal session using web dynpro java.

    Hi,
    I have created a web dynpro application, which is running inside portal. I have created a role called "R1". Inside role R1, i have created 3 workset W1, W2 and W3. and inside each workset i have some pages and iviews.
    My requirement is when user logins to the portal , and when he clicks on role R1 for the first time, a login page should come (so that we can do revalidation), and when he enters his password again in that login page , then only workset W1, W2 and W3 should be visible/accessible to him and after successful revalidation, if he clicks again on role R1, in that particular portal session, than that login page should not come.
    for this, i thought i will set a variable in portal session, whenever user successfully revalidated himself, and if after successful revalidation he clicks again on role R1, i will check in doinit method of webdynpro whether variable is set or not (which i already set on successful revalidation), and if it is set then i will do Donavigation else i will present login page to the user.
    Can anyone tells me how to set a variable in portal session using web dynpro java.
    thanks
    Arush

    Hi,
    Try this:
    WDScopeUtil.put(WDScopeType.CLIENTSESSION_SCOPE, key, value)
    WDScopeUtil.get(WDScopeType.CLIENTSESSION_SCOPE, key)
    Ex:
    WDScopeUtil.put(WDScopeType.CLIENTSESSION_SCOPE,"Key1","Value1");
    String value1=WDScopeUtil.get(WDScopeType.CLIENTSESSION_SCOPE,"Key1").toString();
    /people/william.cui/blog/2007/02/12/sharing-session-context-between-parent-and-external-windows-running-on-same-host
    Regards,
    Charan

  • To create a new session on the clcik of a button in Bsp.

    If have application A.
    On the click of the button i want to create a new session of application B.
    I used the method
    cl_http_ext_webapp=>create_url_for_bsp_application
    for calling the application B.
    but the session is maintained.
    How shall i proceed so that my application creates a new session.

    I am curious.  Both Raja and I suggest the same fix:
    >Now you probably want to add the url parameter sap-sessioncmd. There is the value open that will start a new session
    >'?sap-sessioncmd=open' and use this url for navigating.
    You said that his solution worked and mine did not.  The only difference is that I suggested that you use cl_bsp_runtime=>construct_bsp_url instead of cl_http_ext_webapp=>create_url_for_bsp_application.  This recommendation comes right from the source; cl_bsp_runtime=>construct_bsp_url is the prefered method for constructing URLs.  I am curious the other method somehow produce different results?

  • Httprequest.getSession(false) creating a NEW Session

    I am working on a web application which uses STRUTS. All the client requests are directed to loginaction class.
    Any resource in the application, is accessed thru the action class.
    Overview: In the action class, i am checking if there is any session associated with the new user using
    session = request.getSession(false);
                      if (session != null) {
          if (session.isNew()) {
          logger.info("New Session Created [" + session.getId() + "]");
          } else {
          logger.info("Session EXIST'S ["+ session.getId()
         + "], Retreiving user from session");
                       }According to the Servlets 2.2 API:
    public HttpSession getSession(boolean create) Returns the current HttpSession associated with this request or, if if there is no current session and create is true, returns a new session.
    If create is false and the request has no valid HttpSession, this method returns null.
    if (session.isNew()) ,
    this if statement should return false and be skipped, as session = request.getSession(false);wont create a new session. When i parse the logs, I see the log statement, "New Session Created ". Which makes me wonder, that a new session is being created
    Problem: When i debug, i see that container is creating a new session if the session doesnt exist. According to API mentioned above, it should not create a new session. It should return null.
    Did anyone had a similar issue? While researching i found this article that using struts, the container creates a default session.
    I found this article: http://www.theserverside.com/discussions/thread.tss?thread_id=21643
    Environment: IDE:WSAD5.1, Appserver:Websphere, Browser:IE 6.0, Struts, JSP, JSTL

    Hi,
    We have two appliactions. Our application say B is uses authentication mechanism provided by say A.
    So the user, is presented a login page by application A. Once they are authenticated, without the knowledge of user, its being forwarded to our application say B.
    Once he is in our application, he can navigate in our application, say,
    he goes from page1 to page2. page1 is the main page. Now browser caching is enabled. When he hits the back button to access page1, browser is sending a new request to our applicaiton insted of furnising form local cache( this is another issue). Even though a new request is sent, all the requests are routed thru a struts controller action class. Now in the action class, we check if its a new session or not.
    request.getSession(false). Since the user is an old user, it shouldnt create any new session.
    As per your suggestion, where should i put the directive in the jsp to not to create a default session?. In page1 which is the main page?.
    How should i implemnt the session listener interface. Do u have any templates or code snippets?.
    Any suggestions?

  • How to create an apex session in e.g. SQL*Plus?

    I would like to establish an apex session using a tool different from SQL Workshop.
    How can I achieve this using e.g. SQL*Plus or SQL Developer?
    Is there some document on the internet which addresses this question? I couldn't find it yet.

    First and foremost you need to set the Security Group ID (SGID)
    begin
    APEX_UTIL.SET_SECURITY_GROUP_ID(APEX_UTIL.FIND_SECURITY_GROUP_ID('MY_WORKSPACE'));  -- replace MY_WORKSPACE with yours
    end;
    then you might need to set an application_id for certain features to work:
    select application_id
        into apex_application.g_flow_id
        from apex_applications
       where application_name = 'my_app_name';  -- replace my_app_name with yours
    If you need to create a session id, you can get a fresh one with
    DECLARE
      VAL NUMBER;
    BEGIN
      VAL := APEX_CUSTOM_AUTH.GET_NEXT_SESSION_ID;
    END;
    Flavio
    http://oraclequirks.blogspot.com
    http://www.yocoya.com

  • Create New Service Session at Solution Manager = Product System missing

    We have installed SAP EHP 1 for SAP Solution Manager 7.0 last year but not really use it.
    We have setup in the system landscape:
    Server (ecc6sbx)
    Databases (MCD)
    Product System (MCD) => SAP ERP
    Assigned them to logical component (eg ZECC6DEV)
    RFC destination for MCD was generated
    SDCCN Administration at solutions manager display MCD with SDCCN status in green color.
    At the satellite system MCD, SDCCN Maintenance job was created and scheduled. Initial single run was also done.
    There were no issue. Connection to SDCC_OSS was fine.
    Back to the SOLUTION_MANAGER transaction, we created a new solution ECC ERP - Development.
    In the Solution Landscape => Solution Settings, we have assigned the Logical Component into the System Group.
    However when we expand the tree, and click on the Servers folder it did not display anything.
    Click on the Product Systems also did not display anything.
    We have another Solution Manager which display information on those Servers and Product Systems folder for satellite system.
    Going back to the Solution Manager for the Solution ECC ERP - Development, I tried to Create New Service Session for EarlyWatch Alert. When  I click on the Create button, I could only see SAP EarlyWatch Alert for Solutions, there is no SAP EarlyWatch Alert for the Reference Object MCD (<installation number). I could not create a session for MCD.
    Does anyone have ideas what I am missing here? I am trying to attached a document which have print screen for reference while creating this message, but there is no such function here.
    Adding to link to the document file contain print screen
    [Wihtout System and EarlyWatch Selectable.doc|http://www.easy-share.com/1915633524/Wihtout System and EarlyWatch Selectable.doc]
    [With System and EarlyWatch.doc|http://www.easy-share.com/1915633514/With System and EarlyWatch.doc]
    Edited by: Steven Foo on May 24, 2011 8:00 AM
    Edited by: Steven Foo on May 24, 2011 8:18 AM

    Anyway, in the solution manger  how to we setup earlywatch alert for the SM SID host itself (source system)?
    I have the information on the below from our solution manger
    The data for this session is overdue. Data has not yet been transferred from the associated satellite system.
    Go to the Service Data Control Center (transaction SDCCN) in the satellite system and check why the data has not been sent.
    Typical sources of errors are:
    The RFC connection for the SAP Solution Manager system is not working.
    The 'Task Processor' background job, which collects the session data, has been changed.
    Problems arose while data was being collected (see the detail log for the task that collects the session data).
    A periodic 'SDCC Maintenance Package' task has not been scheduled to check whether your SAP Solution Manager system requests session data.
    I tried to go SDCCN on the solution manager itself and look at the Maintenance Service Definitions:
    I get the information:
    No suitable RFC Destination found in SDCCN settings.
    When I click ok I get the following
    No RFC destionation to source system of service definitions available
    Delete Service Definitions (radio button selected).
    I did not continue and cancel it as I did not want to delete anything.
    I check the Task Processor background job is running at SM host itself.
    I managed to get the Maintenance Package job running. However it failed with the following
    Error refreshing service definitions from destination SM_SSMCLNT001_BACK
    Source and target system may not be identical SSM
    The source and target system is the same ==> SSM, will this be an issue?

  • 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]
              >
              

  • Avconvert: failed to create an Export Session. Check setup.

    I get the message "avconvert: failed to create an Export Session. Check setup" when i try to convert an mpeg video to mp4. Any solutions?

    here we are 4 months (give or take) and 10.7.1 did not provde a fix.  My
    "avconvert: failed tocreate an export session. Check setup"
    also comes for trying to convert avi files.
    Something else that wasn't fully tested before the release of Lion.
    I have a DivX account and can't use the player unless I wan't to stare at my desktop with whatever open files and folders that are there, listen to the video but not see it and loose ALL control of everything.  I have to efectivly cut the power to the Mac in order to be able to use it.

  • How to create an IdM session

    I am writing a standalone Java program to login to IdM, then export some objects. However I fail to create a user session. Here is my code and the error I got.
    String host = "http://localhost:8181/idm";
    URL localurl = new URL (host);
    String User = "myconfig";
    EncryptedData ed = new EncryptedData("password");
    I failed in both
    Session mySession = SessionFactory.getSession(host, User,ed);
    And
    RemoteSession mySession = new RemoteSession(localurl, User, ed);
    with error:
    Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/soap/SOAPException

    Hi,
    import com.waveset.session.Session;
    import com.waveset.session.SessionFactory;
    import com.waveset.util.EncryptedData;
    public class Test {
      public static void main(String[] args) throws Exception {
        EncryptedData ed = new EncryptedData("configurator");
        Object o = SessionFactory.getSession("http://localhost:8088/idm/servlet/rpcrouter2","Configurator",ed);
        System.out.println(o);
    }printed
    com.waveset.session.RemoteSession@18f729c
    for me.
    The error you get implies that you do not have soap.jar in the classpath of your custom application. But even if you had the url you are using should point to the rpcrouter2 servlet of your installation.
    The jars i needed to put in the classpath of my testapp
    in order for it to get a session in IDM7 were:
    activation.jar
    idm.jar
    idmclient.jar
    idmcommon.jar
    mail.jar
    soap.jar
    I think that activation, mail and possibly idm.jar should not
    be needed to get a remote session but obviously they are.
    Regards,
    Patrick

  • Setting session using pl/sql

    How to set and retrieve session using pl/sql?Can anyone help me?

    This is the wrong forum for SQL or PL/SQL questions.
    1. Post your question in the SQL and PL/SQL forum
    https://forums.oracle.com/forums/forum.jspa;jsessionid=8d92100c30d7960321c250bf4adeaa5dcac037eb147c.e34SbxmSbNyKai0Lc3mPbhmSbNaLe0?forumID=75&start=0
    2. Edit this thread and post the link to your new question.
    3. Mark this thread ANSWERED so people will follow up in the other forum.
    When you post your new question provide your 4 digit Oracle version (result of SELECT * FROM V$VERSION). You will also need to explain what you mean by 'set and retrieve' session. A session is created when a logon is successful so 'set' and 'retrieve' only have meaning in terms of trying to set or retrieve session parameters that may be in effect.

Maybe you are looking for