Hi.
I'm checking currently the LongRange Demo --> Programming Examples --> Document Library Examples --> The Shared Demo Folder.
Any ideas how to get rid of the error message "Missing path value" using one of the synchronizes functions "Refresh file list from server" or "Upload all changes to server"?
Are there any configuration changes/enhancements needed?
The licensed LongReach server (newest download/update today: V1.2 in documentation, but V1R1 in WRKLICINF after installation) is up and running correctly (same IBM i user used as for the LongRange Demo).
Thanks for any help and regards,
René
(IBM i with V6.1 as server, iPad 2 with iOS 5.1.1 as client)
The Shared Demo Folder
Re: The Shared Demo Folder
Hi Rene,
Please look at the Folder property of the Documents element in the applicable Programming LongRange guide (RPG or LANSA).
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Usage Notes: Follow these steps to configure LongRange and LongReach to execute the Documents View example EXAM0029.
• To use the Documents element you need a LongReach server installed, configured and active on your server.
• Locate the LongReach configuration file httpd.xml. This file is typically located in the IFS at this location:
<IFS root>\longreach\jsm\instance\system
• Open httpd.xml using a text editor.
VALUES ARE CASE SENSITIVE!!
Locate the parameter that sets the path of the shared folder. It should look something like this:
<parameter name="service.folder.shared" value="/longreachdata/shared"/>
Change the value to:
<parameter name="service.folder.shared" value="/<axesroot>/LongRange/demo/doclib"/>
This is telling LongReach what the alias /SharedBox really means.
• Save httpd.xml.
• Restart LongReach for the change to take effect.
• Locate the LongRange client.xml file. This file is typically located in the IFS at this location:
<axes root>/LongRange/config
• Open client.xml using a text editor.
• Locate the <url> node and change its value to point to the LongReach server. For example:
<url>http://<ip address>:6563/service/longreach.jsp</url>
The above port number is the default one.
Regards,
Pablo
Please look at the Folder property of the Documents element in the applicable Programming LongRange guide (RPG or LANSA).
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Usage Notes: Follow these steps to configure LongRange and LongReach to execute the Documents View example EXAM0029.
• To use the Documents element you need a LongReach server installed, configured and active on your server.
• Locate the LongReach configuration file httpd.xml. This file is typically located in the IFS at this location:
<IFS root>\longreach\jsm\instance\system
• Open httpd.xml using a text editor.
VALUES ARE CASE SENSITIVE!!
Locate the parameter that sets the path of the shared folder. It should look something like this:
<parameter name="service.folder.shared" value="/longreachdata/shared"/>
Change the value to:
<parameter name="service.folder.shared" value="/<axesroot>/LongRange/demo/doclib"/>
This is telling LongReach what the alias /SharedBox really means.
• Save httpd.xml.
• Restart LongReach for the change to take effect.
• Locate the LongRange client.xml file. This file is typically located in the IFS at this location:
<axes root>/LongRange/config
• Open client.xml using a text editor.
• Locate the <url> node and change its value to point to the LongReach server. For example:
<url>http://<ip address>:6563/service/longreach.jsp</url>
The above port number is the default one.
Regards,
Pablo
Re: The Shared Demo Folder
Thanks,Pablo.
And sorry: Next time I'll apply the rule "search more / post less" ...
Regards, René
And sorry: Next time I'll apply the rule "search more / post less" ...
Regards, René
Re: The Shared Demo Folder
Hi again.
After applying the changes to "httpd.xml" (LongReach) and "client.xml" (LongRange), the LongReach application does synchronize the "SharedBox" folder/document structure correctly from the LongRange application folder "<axesroot>/LongRange/demo/doclib". But using the synchronize function "Refresh file list from server" inside LongRange does still display the error message "Missing path value" (and yes, server address / ports are correct and both servers have been restarted on the IBM i). What else could I have missed/overlooked/misunderstood?
Thanks in advance and regards, René.
After applying the changes to "httpd.xml" (LongReach) and "client.xml" (LongRange), the LongReach application does synchronize the "SharedBox" folder/document structure correctly from the LongRange application folder "<axesroot>/LongRange/demo/doclib". But using the synchronize function "Refresh file list from server" inside LongRange does still display the error message "Missing path value" (and yes, server address / ports are correct and both servers have been restarted on the IBM i). What else could I have missed/overlooked/misunderstood?
Thanks in advance and regards, René.
Re: The Shared Demo Folder
Hi Paul,Paul wrote:In LongRange Studio is the folder /'?
Thanks for the response. I saw that too and changed the value through LongRange Studio.
But any change of the schema with the LongRange Studio does not be loaded by the client application (see next thread about this topic).
Regards, René