The Shared Demo Folder

Please do not use to report errors- use your regional help desk.
Please mark posts as being for RPG or RDMLX (LANSA) developer.
To subscribe by email, display this forum, scroll to the end and select ‘Subscribe Forum’.
Post Reply
Bueti
Posts: 7
Joined: Fri May 25, 2012 6:11 am
Location: Zurich, Switzerland

The Shared Demo Folder

Post by Bueti »

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)
Pablo
Posts: 11
Joined: Thu Apr 19, 2012 12:32 pm

Re: The Shared Demo Folder

Post by Pablo »

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
Bueti
Posts: 7
Joined: Fri May 25, 2012 6:11 am
Location: Zurich, Switzerland

Re: The Shared Demo Folder

Post by Bueti »

Thanks,Pablo.
And sorry: Next time I'll apply the rule "search more / post less" ...
Regards, René
Bueti
Posts: 7
Joined: Fri May 25, 2012 6:11 am
Location: Zurich, Switzerland

Re: The Shared Demo Folder

Post by Bueti »

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é.
Paul

Re: The Shared Demo Folder

Post by Paul »

In LongRange Studio is the folder /'?
Bueti
Posts: 7
Joined: Fri May 25, 2012 6:11 am
Location: Zurich, Switzerland

Re: The Shared Demo Folder

Post by Bueti »

Paul wrote:In LongRange Studio is the folder /'?
Hi Paul,
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é
Post Reply