Log in

entries friends calendar profile The Pædantic Programmer Previous Previous Next Next
MaxDB Synch Manager, Part the third: Installing Java - The Pædantic Programmer's LiveJournal
MaxDB Synch Manager, Part the third: Installing Java

This series began at Part the First, which is still in rough draft form. Be sure to read the first article before continuing with this article.

The following sync programs were installed with the MySQL MaxDB
server in the first article:

$ file `sudo find /opt/sdb/ -iname "*sync*" | head -4`
/opt/sdb/programs/bin/syncmanjconf: Bourne shell script text executable
/opt/sdb/programs/bin/syncservice:  Bourne shell script text executable
/opt/sdb/programs/bin/syncmanacc:   Bourne shell script text executable
/opt/sdb/programs/bin/syncmangui:   Bourne shell script text executable

These applications require the j2ee sdk in order to run. You can
download the version presented in this article from java.sun.com. I
have shortened the process, however, to the steps below:

$ cd /tmp
$ wget -O j2eesdk-1_4_02_2005Q2-linux.bin http://xrl.us/g3hw # Be sure to read the license! - j2ee from sun.java.com
$ chmod a+rx j2eesdk-1_4_02_2005Q2-linux.bin
$ sudo ./j2eesdk-1_4_02_2005Q2-linux.bin # run as root to install system-wide

If any of these fail for you, tell me and I'll either write an article on
using the installer with X, or direct you to a good one.

Select the following when configuring j2eesdk.

Installation Directory [/opt/SUNWappserver]
Admin User [admin]
Admin User's Password (8 chars minimum): MSGSERVERADMIN
Admin Port [4848]
HTTP Port [8080]
HTTPS Port [8181]
Do you want to create samples server [no] yes
Do you want to upgrade from previous Application Server version [no]
What would you like to do [1] (install now)

After the installation completes, ensure that each of the following
lines exists in your /etc/profile file.

$ sudo editor /etc/profile


When these modifications have been made to your /etc/profile file,
log out and log back in, or re-source the profile file. Next, we will test the installation of the J2EE environment

$ sudo asadmin start-domain domain1

Start the Admin Console by opening a browser and entering the
following into the location field. If you are not installing on
localhost, substitute the hostname of the system for localhost.


Try the sample apps


To continue the series, see Part the Fourth (rough draft).

Tags: , , ,

Leave a comment