You can migrate SAP Mobile Platform 2.3 Agentry applications to
SAP Mobile Platform 3.0.
Prerequisites
- Install SAP Mobile Platform SDK and
SAP Mobile Platform Server.
- Modify the file references within the Java Synchronization logic for any
Agentry applications that contain a Java system connection.
- Ensure you have access to the previous Agentry Editor version and Eclipse
workspace in which the Agentry application project exists.
- Install the Agentry Editor plug-in as provided in the
SAP Mobile Platform SDK to Eclipse.
Task- In an Agentry perspective in the SAP Mobile Platform 2.3 Agentry Editor,
export the entire Agentry application project.
The resulting file name contains the extension .agx
or .agxz.
- In an Agentry perspective in the SAP Mobile Platform 3.0 Agentry Editor,
right-click in Project Explorer view and select
Import.
- Follow the wizard to complete the import process.
During the import process, you can associate the project with the development
server.
Once the import process is complete, the new Agentry application project
for the mobile application exists in the Eclipse workspace and is listed in the
Project Explorer view.
- Make sure the Network Connect Type is WebSockets over
HTTPS for all transmit configurations.
- (Optional) Migrate the associated Java back-end project to the Eclipse workspace.
- Publish the application as a Production version.
- Click the Publish button, then browse to the
location where you want to publish (save) the ZIP file.
- (Optional) Right-click within Publish Folder Structure to add auxiliary
project files, which may include Java resource files,
application-specific DLL files, JAR files for the back end, and other
back-end configuration files.
- Click Next, then
Finish.
- In Management Cockpit, create an Agentry application definition in
Management Cockpit.
- Under Quick Links, select Configure
Application.
- In Applications, click New, enter the
information for the application definition.
Select Agentry for the type, then click
Save.
- In App Specific Settings, under Publish, browse to the Agentry
application zip file, then click Open.
- In Back End, enter the back-end connection information for the back-end
connection type.
It may be helpful to have the previous Agentry.ini
file as a reference when entering the back-end
information.
- In Authentication, indicate the security profile or create a new
one.
- Set any other applicable configuration options.
- Click Save.
Once you save the application definition, if you change any
application-specific configuration options preceded with an "i," stop
and restart the SAP Mobile Platform Server.
- For Java System connections, add the
com.sap.mobile.platform.server.agentry.application
directory to the system path.
- On Windows, edit Server/bin/setenv.bat. At the end
of the file, add set
PATH=%SMP_HOME%\configuration\com.sap.mobile.platform.server.agentry.application;%PATH%
- On UNIX, edit Server/bin/setenv.sh. At the end of
the file, add
LD_LIBRARY_PATH=$SMP_HOME/configuration/com.sap.mobile.platform.server.agentry.application:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
- Perform full end-to-end testing.
When this is complete, upgrade the Agentry
Client installations
within the implementation environment to migrate all mobile users to the new
environment.
- Have all users perform a final transmit
to verify all information stored on the device has been updated
to the back end system.
- All users should shut down their clients prior to
upgrading them.
- Install the Agentry
Client provide with the
SAP Mobile Platform for the client device type.
- Each user should start the new Agentry
Client, login, and perform an initial transmit.
Next
At some point after the completion of fully migrating all mobile users to the new environment,
you can uninstall the previous version of the Agentry
Client from the mobile
devices, provided there are two separate versions of the client. For platforms, the
Agentry
Client may be upgraded
in place, resulting in only one Agentry
Client executable existing
on the device at any given time.