How is the File Activity connection configured?

 6 Replies
 2 Subscribed to this topic
 52 Subscribed to this forum
Sort:
Author
Messages
mikeP
Veteran Member
Posts: 151
Veteran Member

    New to IPA and trying to configure a File Activity connection.  We are trying to access files that were fairly simple to access in Process Flow using the LAWDIR variable. Now, with IPA running on a Landmark server and pointing to our Lawson server, LAWDIR is not defined, and it appears I need to define it in a File Activity connection. 

    If someone can post the format of these entries, it would be a great help.  E.g., I don't know if I should use the full domain name of the Lawson server, and if that's what they call the "LSF Web/RMI Root"  (As far my needs go, the web server doesn't play into it, I just want to access a folder where external systems interface text files are dropped.)

     

    The connection wants this info:

     

    LSF Connection Parameters  
        Remote Checkbox ( I assume this should be checked)
        LSF Web/ RMI Root    
        Web user    
        Web password    
        RMI timeout    

    LSF Variables  
        GENDIR   
        LAWDIR 

    Tim Cochrane
    Veteran Member
    Posts: 154
    Veteran Member
      for our local setup:
      Remote = Yes
      LSF/RMI - rmi://lsfprod...:16003
      webuser & PW is whichever super user has access
      gendir - D:lsfprod\gen
      lawdir - D:lsfprod\law

      make sure your node references the configuration where you've added the file access info
      Tim Cochrane - Principal LM/IPA Consultant
      mikeP
      Veteran Member
      Posts: 151
      Veteran Member
        Thanks, Tim. The "rmi://" URI was what we were missing. I'm shocked, shocked, that there was no reference to this in the IPA Admin guide, and the single KB that mentions it is in the context of a dbSecurity error.
        Lance Jurgensen
        Advanced Member
        Posts: 36
        Advanced Member
          Being new to both Lawson and IPA this is frustrating.

          I have IPA (Landmark) on Windows and my LSF server is a unix box. I need to setup a file activity connection to my LSF server.
          The server name is onhpvm68.domain.org, how do I determine what my rmi:// url is and what port ?

           

          EDIT: I think it must be rmi://onhpvm68.domain.org:16003 is that correct ?

          mikeP
          Veteran Member
          Posts: 151
          Veteran Member
            Based on Tim's post the domain name of our lsf server was, e.g.:
            rmi://lsfserver.domain.edu:16003
            I got the port number from Tim's post.

            While you can define LSF variables in the connection for GENDIR and LAWDIR, they can only be used in a File Access node that specifies the connection.

            We found it was more flexible to create properties on the in the System configuration set that point to shares on the LSF server, and can be used anywhere in any node, e.g.:
            Property name: LSF_LAWDIR
            Value: \\lsfserver.domain.edu\LAWDIR

            Where LAWDIR is a share on the lsf server.

            Lance Jurgensen
            Advanced Member
            Posts: 36
            Advanced Member
              Got the connection working but when I test for a file (lawtest/YRENDHelp.txt) that I know is in the /appl/law/lawtest directory the flow is ONLY checking the GENDIR folders.

              lastReturnMessage = File /appl/gen/bpm/lawtest/YRENDHelp.txt not found.

              My LSF Variables in my file activity connection are:
              GENDIR = /appl/gen
              LAWDIR = /appl/law

              How do I tell my file activity node to check in $LAWDIR ?
              Lance Jurgensen
              Advanced Member
              Posts: 36
              Advanced Member

                We found those LSF variables to be useless (because we don't understand them) and ended up giving the full path to the file (/appl/law/lawtest/YRENDHelp.txt) and it worked...