HP Integrity NonStop J-Series User Manual

Page 39

Advertising
background image

Copying Spring Runtime Libraries from Windows to NonStop

To copy the Spring runtime libraries from a Windows system to a NonStop system, complete the
following steps:
1.

Go to <Spring Home> and create JAR files of <Spring Home>\dist and <Spring
Dependency Home
>

directories on the Windows system:

command prompt> cd <Spring Home>

command prompt> jar -cvf spring_dist.jar dist

command prompt> cd <Spring Dependency Home>

command prompt> jar -cvf spring_dependency.jar *

For example:

command prompt> cd C:\spring-framework-3.0.2.RELEASE
command prompt> jar -cvf spring_dist.jar dist
command prompt> cd C:\spring-framework-3.0.2.RELEASE\dependencies
command prompt> jar -cvf spring_dependency.jar *

2.

Create the <NonStop Spring Home> directory in the OSS environment on the NonStop
system:

OSS> mkdir -p <NonStop Spring Home>

For example, create a directory structure /usr/tandem/sash/spring_3.0.2.

OSS> mkdir -p /usr/tandem/sash/spring_3.0.2

3.

Transfer the spring_dist.jar file from <Spring Home> to <NonStop Spring Home>
and extract it:

OSS> cd <NonStop Spring Home>

OSS> jar -xvf spring_dist.jar

4.

Create the <NonStop Spring Dependency Home> directory in the OSS environment on
the NonStop system:

OSS> mkdir -p <NonStop Spring Dependency Home>

For example, create /usr/tandem/sash/spring_3.0.2.-dependencies directory
structure:

OSS> mkdir -p /usr/tandem/sash/spring_3.0.2.-dependencies

5.

Copy the spring_dependency.jar file from <Spring Dependency Home> to
<NonStop Spring Dependency Home>

and extract it:

OSS> cd <NonStop Spring Dependency Home>
OSS> jar -xvf spring_dependency.jar

After extraction, <NonStop Spring Home> must have the <NonStop Spring
Home
>/dist

sub-directory and <NonStop Spring Dependency Home> must have the

dependency JAR files.

NOTE:

The sub-directories on the NonStop system must contain the same list of files as those

in the <Spring Home>\dist and <Spring Dependency Home> directories on the
Windows system.

The Spring runtime libraries are installed on the NonStop system. You can use these libraries to
develop and run Spring applications on a NonStop system.

Deploying and Running Sample Spring Applications on NonStop

The sample Spring applications are included in the SAMPLES.zip file and require modifications
to make them compatible with NonStop systems.

Deploying and Running Sample Spring Applications on NonStop

39

Advertising
This manual is related to the following products: