Executing a Browser-Client Program on the GigaSpaces Middleware via the Tomcat Web Requester (Magic xpa 3.x)
To execute a Browser-Client program on the GigaSapces middleware via the Tomcat Web requester, you need to access the MagicBCCache alias in the following way:
-
Check if the MagicScripts folder is available in the \webapps\ folder.
-
If it is not available, copy the MagicScripts.war file from the \GigaSpaces-xpa\apache-tomcat\ folder to the \webapps\ folder and start Apache.
-
Try to browse it using the browser.
-
Check that the MagicScripts folder was generated successfully.
You now need to create symbolic links.
-
Create a symbolic link named MagicBCCache from the CATALINA_HOME\webapps\ folder to the MAGIC_XPA_HOME\Browser_Client_Cache folder using the following syntax, for example:
mklink /D "C:\Program Files (x86)\apache-tomcat\webapps\MagicBCCache" "C:\Program Files (x86)\MSE\Magic xpa 3.2\Browser_Client_Cache"
-
Check that the MagicBCCache folder is generated in the \webapps\ folder.
-
Create symbolic links from the CATALINA_HOME\webapps\MagicScripts\ folder to the required MAGIC_XPA_HOME\Scripts files. For example:
mklink "C:\Program Files (x86)\apache-tomcat\webapps\MagicScripts\MGBC032_00_000CS.cab" "c:\Program Files (x86)\MSE\Magic xpa 3.2\Scripts\MGBC031_00_000CS.cab"
mklink "c:\Program Files (x86)\apache-tomcat\webapps\MagicScripts\MGBCL032_00ENG.xml" "c:\Program Files (x86)\MSE\Magic xpa 3.2\Scripts\MGBCL032_00ENG.xml"
mklink "c:\Program Files (x86)\apache-tomcat\webapps\MagicScripts\MGBC032_00_000CS.js" "c:\Program Files (x86)\MSE\Magic xpa 3.2\Scripts\MGBC032_00_000CS.js"
-
Check that the links are generated for the MGBC032_00_000CS.js, MGBCL032_00ENG.xml and MGBC032_00_000CS.cab files.
See also: Executing RIA Applications via ClickOnce Using the Tomcat Web Requester
Since version: 3.2