You have reached a page that contains content normally viewed in the following parent document(s):
Some of the information in this page may have a different meaning or application depending on context, and not all scripts will run correctly without the parent. We strongly recommend that you view this information using a document listed above.
Edit the following parameters in leasepak.xml
, located in the mpower/WEB-INF/envs
directory:
<TCP_IP_ADDRESS>leasepak_server</TCP_IP_ADDRESS> <ENVIRONMENT>leasepak_environment</ENVIRONMENT> <PORT>mPowerd_port</PORT>
where leasepak_server is the IP address or name of your LeasePak server, leasepak_environment is the name of the LeasePak environment, and mPowerd_port is the TCP port number for the mPowerd daemon (not the leasepakd daemon).
Edit the web.xml
file, located in the mpower/WEB-INF
directory.
First, find the following element group:
<!-- this is time in minutes, and cannot be set to less than 5 minutes --> <env-entry> <env-entry-name>LPCODES_UPDATE_INTERVAL</env-entry-name> <env-entry-value>value</env-entry-value> <env-entry-type>java.lang.String</env-entry-type> </env-entry>
For Web Services API/LinkIT users (most mPower users), the value of LPCODES_UPDATE_INTERVAL
must be 0, despite the comment at the beginning of the element group. LinkIT does not use this interval, and setting value to anything other than 0 can create performance issues.
ChannelIT users only: set the value of LPCODES_UPDATE_INTERVAL
to 5 (minutes) or more to specify the interval at which the program updates LeasePak codes (the LPCODES.TXT
file). NetSol recommends a minimum of 60 minutes. If you add or change LeasePak codes frequently, you can set this number lower, but no lower than 5 (minutes).
Next, find the customization section of the file and edit as needed:
<!-- ************************************** --> <!-- site customize here --> <!-- ************************************** --> <!-- note these two may need site customization --> <!-- this is the API username --> <env-entry> <env-entry-name>apiuid</env-entry-name> <env-entry-value>api_username_value</env-entry-value> <env-entry-type>java.lang.String</env-entry-type> </env-entry> <!-- this is the API password --> <env-entry> <env-entry-name>apipwd</env-entry-name> <env-entry-value>api_password_value</env-entry-value> <env-entry-type>java.lang.String</env-entry-type> </env-entry> <!-- this is the URL to the DocGen web service --> <env-entry> <env-entry-name>docgen_endpoint</env-entry-name> <env-entry-value>http://host:port/dxGen-ver_vnna/services/DocGenWsdl</env-entry-value> <env-entry-type>java.lang.String</env-entry-type> </env-entry> <!-- if you are using the customer self service and want the email to work, set this to the smtp mail host. After setting this tomcat must be restarted. --> <env-entry> <env-entry-name>smtp_mail_host</env-entry-name> <env-entry-value>mail_host.domain.suffix</env-entry-value> <env-entry-type>java.lang.String</env-entry-type> </env-entry> <!-- ************************************** --> <!-- site customize ends here --> <!-- ************************************** -->
where the API username is the account you have designated for use with the mPower server and the API password is the LeasePak client string password created for the account.