Environment
Resolution
In order to move a PlateSpin Image from one Image Server to a new one, the following steps are required:
- Ensure that the PlateSpin Image Server that you are moving the image to has been already discovered
- Copy the Image directory (i.e. c:\program files\PlateSpin Image Server\<image name>) to the c:\Program Files\PlateSpin Image Server directory (the default directory where the PlateSpin images are stored).
- Edit the config.xml file on the new PlateSpin Image Server that will contain the PlateSpin image you are moving. (You can copy the entry from the config.xml of the original PlateSpin Image Server)
- Once the changes to the config.xml have been saved, refresh the server details of your new PlateSpin Image Server. If the new PlateSpin Image is not listed, try undiscovering and rediscovering the new PlateSpin Image Server.
Example: An Image contained in the C:\Program Files\PlateSpin Image Server\COMP20 Image directory of the old server is being moved to a new Image Server.
Also note that the following line in some situations may also be formatted incorrectly causing the image server to fail to list the images defined:
Incorrect:
<catalog xmlns="http://schemas.platespin.com/athens/ws/ /">
Correct:
<catalog xmlns="http://schemas.platespin.com/athens/ws/">
Config.xml of the new Image Server (before editing):
<?xml version="1.0"?>
<MachineImageServerConfiguration xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<server xmlns="http://schemas.platespin.com/athens/ws/">
<version>1.0</version>
<type>PlateSpinMachineImageServer</type>
<defaultImagesRoot>C:\Program Files\PlateSpin Image Server</defaultImagesRoot>
</server>
<catalog xmlns="http://schemas.platespin.com/athens/ws/">
<machineImagePath>C:\Program Files\PlateSpin Image Server\COMP94 Image\COMP94 Image.xml</machineImagePath>
<machineImagePath>C:\Program Files\PlateSpin Image Server\COMP24 Image\COMP24 Image.xml</machineImagePath>
</catalog>
</MachineImageServerConfiguration>
Config.xml of the new Image Server (after editing - added entry is highlighted in red):
<?xml version="1.0"?>
<MachineImageServerConfiguration xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<server xmlns="http://schemas.platespin.com/athens/ws/">
<version>1.0</version>
<type>PlateSpinMachineImageServer</type>
<defaultImagesRoot>C:\Program Files\PlateSpin Image Server</defaultImagesRoot>
</server>
<catalog xmlns="http://schemas.platespin.com/athens/ws/">
<machineImagePath>C:\Program Files\PlateSpin Image Server\COMP94 Image\COMP94 Image.xml</machineImagePath>
<machineImagePath>C:\Program Files\PlateSpin Image Server\COMP24 Image\COMP24 Image.xml</machineImagePath>
<machineImagePath>C:\Program Files\PlateSpin Image Server\COMP20 Image\COMP20 Image.xml</machineImagePath>
</catalog>
</MachineImageServerConfiguration>
Other Considerations:
In the example above, the following assumptions are made:
- The new PlateSpin Image Server already contains PlateSpin Flexible Images
- The path location (i.e. machineImagePath) of the PlateSpin Flexible Image is the same as the original PlateSpin Image Server
For cases where one or both of these assumptions is not true, the following steps are required:
CASE 1: The New PlateSpin Image Server does not yet contain any PlateSpin Flexible Images and the machineImagePath is different:
If you are moving/copying the Image to a new Image Server that does not currently contain any existing PlateSpin Images and has a different machineImagePath location (i.e. using the D: instead of C: ), the config.xml may look like the following:
Config.xml file of the new PlateSpin Image Server where the machineImagePath location is different and there are no PlateSpin Flexible Images:
<?xml version="1.0"?>
<MachineImageServerConfiguration xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<server xmlns="http://schemas.platespin.com/athens/ws/">
<version>1.0</version>
<type>PlateSpinMachineImageServer</type>
<defaultImagesRoot>D:\Program Files\PlateSpin Image Server</defaultImagesRoot>
</server>
<catalog xmlns="http://schemas.platespin.com/athens/ws/" />
</MachineImageServerConfiguration>
In this particular case the config.xml must be edited as follows (lines that were changed are highlighted in red):
<?xml version="1.0"?>
<MachineImageServerConfiguration xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<server xmlns=" http://schemas.platespin.com/athens/ws/ ">
<version>1.0</version>
<type>PlateSpinMachineImageServer</type>
<defaultImagesRoot>D:\Program Files\PlateSpin Image Server</defaultImagesRoot>
</server>
<catalog xmlns=" http://schemas.platespin.com/athens/ws/ ">
<machineImagePath>D:\Program FIles\PlateSpin Image Server\COMP20 Image\COMP20 Image.xml</machineImagePath>
</catalog>
</MachineImageServerConfiguration>
CASE 2: The Path Location (i.e. machineImagePath) of the PlateSpin Flexible Image is different
In the example above, the path location for the COMP20 Image was originally in C:\Program Files\PlateSpin Image Server\COMP20 Image but is now located in D:\Program FIles\PlateSpin Image Server\COMP20 Image. Since the path location for the COMP20 Image is now different, the Image XML file must be edited to point to the correct location.
Using a text editor, open the D:\Program Files\PlateSpin Image Server\COMP20 Image\COMP20 Image.xmlfile and replace all references to the old path location with the new path location.
Please contact PlateSpin Technical Support at support.powerconvert@platespin.com if you have any questions regarding this article.