Java
The Joyent Java image is a SmartOS base64 image preconfigured for Java development. It includes the following components:
- Java JDK
- Apache
- Apache Tomcat
- Apache Ant
- Apache Maven
The following environment variables are set up by default for all users:
JAVA_HOME
CATALINA_HOME
ANT_HOME
- Logging in to your Java instance
- Configuration file locations
- Installing common Java web archives
- Metadata keys
- 15.x.x
- 14.x.x
- 13.x.x
Logging in to your Java instance
Log in to your Joyent Java Instance the same way you log into a standard SmartOS instance:
ssh root@<PUBLIC-IP>
You can log in to the Apache Tomcat web interface through the public IP of your Java instance:
Use this URL | To connect to |
---|---|
http:// |
Apache/Tomcat |
http:// |
Tomcat Virtual Host Manager |
http:// |
Tomcat Virtual Host Manager |
The login name for the application and virtual host manager is always tomcat
. You can find the password for this account in the Credentials section of the Instance Details page on https://my.joyent.com/.

Configuration file locations
Files | Location |
---|---|
Java Home | $JAVA_HOME |
Apache TomCat configuration files | $CATALINA_HOME/conf/ |
Apache TomCat logs | $CATALINA_HOME/logs/ |
Apache Maven configuration files | $ANT_HOME/etc/maven/ |
Installing common Java web archives (.war)
- Download the war file via http://mirrors.jenkins-ci.org/war/latest/jenkins.war and upload it to your Java Instance (
/home/admin/
is a good location) - In the Manager App (http://
/manager/html), enter a suitable Context Path (e.g., /jenkins
). You will be able to access Jenkins via your Java Instance Public IP and the context path (e.g., if you chose/jenkins
as the context path, the URL to access Jenkins would behttp://<PUBLIC_IP>/jenkins
- For WAR or Directory URL enter the full path to where you uploaded the Jenkins Java Web Archive (e.g.,
/home/admin/jenkins.war
- Click Deploy
Jenkins should now be accessible via http://
![]() |
Uploading a War file this way tends to be quicker and more reliable than using the WAR file to deploy feature where you upload the war file via the browser. |
---|
- Download the war file via http://www.getrailo.org/index.cfm/download/(you will want the War archive file under Railo Custom) and upload it (via SFTP or scp) to your Java Instance (
/home/admin/
is a good location) - In the Manager App (http://
/manager/html), enter a suitable Context Path (e.g., /railo
). You will be able to access Railo via your Java Instance Public IP and the context path (e.g., if you chose/railo
as the context path, the URL to access Jenkins would behttp://<PUBLIC_IP>/railo
) - For WAR or Directory URL enter the full path to where you uploaded the Railo Java Web Archive (e.g.,
/home/admin/railo-4.0.4.001.war
- Click Deploy
Railo should now be accessible via http://
![]() |
Uploading a War file this way tends to be quicker and more reliable than using the WAR file to deploy feature where you upload the war file via the browser. |
---|
Metadata keys
With the Java image are metadata keys that can be pre-defined during provision to provide additional customization to the instance.
Metadata Key | Description |
---|---|
tomcat_password | Tomcat password to set for webui |
Version 15.x.x
15.1.1
Name | java |
Description | A SmartOS 64-bit image with OpenJDK7 (1.7.76), Apache (2.4.12), Apache Tomcat (7.0.59), Apache Ant (1.9.4) and Apach |
e Maven (3.2.3) installed and configured as well as the common Java ENV variables (JAVA_HOME, CATALINA_HOME, ANT_HOME) setup for all users. | | UUID | 5def51f0-0935-11e5-8f92-8f7758e4560d | | Based on | base-64 15.1.1 | | Pkgsrc | 2015Q1 |
What's New In This Image
- Base image is base-64-15.1.1 (2015Q1)
- OpenJDK7 version is 1.7.76
- Apache version is 2.4.12
- Apache Tomcat version is 7.0.59
- Apache Ant version is 1.9.4
- Apache Maven version is 3.2.3
Software Included In This Image
Software installed as pkgsrc packages:
apache-2.4.12
apache-ant-1.9.4nb1
apache-maven-3.2.3
apache-tomcat-7.0.59
apachetop-0.12.5nb2
bzip2-1.0.6nb1
curl-7.42.0
db4-4.8.30
dtracetools-0.7
gcc47-libs-4.7.4nb1
git-2.3.2
git-base-2.3.2
git-docs-2.3.2
git-gitk-2.3.2
gtar-base-1.28nb1
htop-1.0.1
nodejs-0.12.4
openssl-1.0.2a
perl-5.20.2
pkgin-0.8.0
postfix-2.11.4
python27-2.7.9nb1
smtools-20150312
sqlite3-3.8.10
sudo-1.7.10p9
unzip-6.0nb4
wget-1.16.3
zip-3.0nb2
zoneinit-1.6.8
Software installed as npm packages:
json@9.0.3
manta@1.5.1
smartdc@7.3.1
Version 14.x.x
14.4.0
Name | java |
Description | A SmartOS 64-bit image with OpenJDK7 (1.7.71), Apache (2.4.10), Apache Tomcat (7.0.57), Apache Ant (1.9.4) and Apache Maven (3.2.3) installed and configured as well as the common Java ENV variables (JAVA_HOME, CATALINA_HOME, ANT_HOME) setup for all users. |
UUID | fe2bb3a6-ce49-11e4-b951-f715b1f58603 |
Based on | base-64-lts 14.4.0 |
Pkgsrc | 2014Q4 |
What's new in this image
- Base image is base-64-lts-14.4.0 (2014Q4)
- OpenJDK7 version is 1.7.71
- Apache version is 2.4.10
- Apache Tomcat version is 7.0.57
- Apache Ant version is 1.9.4
- Apache Maven version is 3.2.3
- Metadata key 'tomcat_password' can be pre-defined during provision to set the tomcat password
Software included in this image
Software installed as pkgsrc packages:
apache-2.4.10nb3
apache-ant-1.9.4nb1
apache-maven-3.2.3
apache-tomcat-7.0.57
apachetop-0.12.5nb2
bzip2-1.0.6nb1
curl-7.39.0nb1
db4-4.8.30
dtracetools-0.7
gcc47-libs-4.7.3nb7
git-2.2.1
git-base-2.2.1
git-docs-2.2.1
git-gitk-2.2.1
gtar-base-1.28
htop-1.0.1
nodejs-0.12.0
openssl-1.0.1k
perl-5.20.1
pkgin-0.7.0
postfix-2.11.3
python27-2.7.9
smtools-20150226
sqlite3-3.8.7.4
sudo-1.7.10p9
unzip-6.0nb2
wget-1.16.1
zip-3.0nb2
zoneinit-1.6.8
Software installed as npm packages:
json@9.0.3
manta@1.5.0
smartdc@7.3.1
14.3.0
Name | java |
Description | A SmartOS 64-bit image with OpenJDK7 (1.7.65), Apache (2.4.10), Apache Tomcat (7.0.54), Apache Ant (1.9.4) and Apache Maven (3.2.1) installed and configured as well as the common Java ENV variables (JAVA_HOME, CATALINA_HOME, ANT_HOME) setup for all users. |
UUID | fb670f9c-7b03-11e4-9a27-23991bcc197f |
Based on | [base64 14.3.0](SmartMachine Base.html) |
Pkgsrc | 2014Q3 |
What's new in this image
- Base image is base64-14.3.0 (2014Q3)
- OpenJDK7 version is 1.7.65
- Apache version is 2.4.10
- Apache Tomcat version is 7.0.54
- Apache Ant version is 1.9.4
- Apache Maven version is 3.2.1
Software included in this image
Software installed as pkgsrc packages:
apache-2.4.10nb1
apache-ant-1.9.4nb1
apache-maven-3.2.1
apache-tomcat-7.0.54
apachetop-0.12.5nb2
bzip2-1.0.6nb1
curl-7.38.0
db4-4.8.30
gcc47-libs-4.7.3nb7
git-2.1.0
git-base-2.1.0
git-docs-2.1.0
git-gitk-2.1.0
gtar-base-1.28
nodejs-0.10.33
openssl-1.0.1j
perl-5.20.0nb2
pkgin-0.6.4nb7
postfix-2.11.1nb1
python27-2.7.8nb1
smtools-20141114
sqlite3-3.8.6
sudo-1.7.10p8
unzip-6.0nb1
wget-1.16
zip-3.0nb2
zoneinit-1.6.8
Software installed as npm packages
manta@1.4.5
smartdc@7.3.0
14.2.0
Name | java |
Description | A SmartOS 64-bit image with OpenJDK7 (1.7.60), Apache (2.4.9), Apache Tomcat (7.0.54), Apache Ant (1.9.4) and Apache Maven (3.2.1) installed and configured as well as the common Java ENV variables (JAVA_HOME, CATALINA_HOME, ANT_HOME) setup for all users. |
UUID | 15673bee-27a6-11e4-a09e-1f6cb6c3cf57 |
Based on | [base64 14.2.0](Base Instance.html) |
pkgsrc | 2014Q3 |
What's new in this image
- Base image is base64-14.2.0 (2014Q2)
- OpenJDK7 version is 1.7.60
- Apache version is 2.4.10
- Apache Tomcat version is 7.0.54
- Apache Ant version is 1.9.4
- Apache Maven version is 3.2.1
Software included in this image
Software installed as pkgsrc packages:
apache-2.4.10
apache-ant-1.9.4
apache-maven-3.2.1
apache-tomcat-7.0.54
apachetop-0.12.5nb2
bzip2-1.0.6nb1
curl-7.37.0nb1
db4-4.8.30
gcc47-libs-4.7.3nb4
gtar-base-1.27.1nb1
libarchive-2.8.4nb4
nodejs-0.10.30
openssl-1.0.1h
perl-5.20.0nb1
pkgin-0.6.4nb7
postfix-2.11.1nb1
python27-2.7.7nb2
smtools-20140728
sqlite3-3.8.5
sudo-1.7.10p8
unzip-6.0nb1
wget-1.15nb2
zip-3.0nb2
zoneinit-1.6.8
Software installed as npm packages
jsontool@7.0.2
manta@1.4.2
smartdc@7.3.0
14.1.0
Name | java |
Description | A SmartOS 64-bit image with OpenJDK7 (1.7.51), Apache (2.4.9), Apache Tomcat (7.0.53), Apache Ant (1.9.2) and Apache Maven (3.0.5) installed and configured as well as the common Java ENV variables (JAVA_HOME, CATALINA_HOME, ANT_HOME) setup for all users. |
UUID | bb41287c-e02a-11e3-aa6b-db678b82f5fc |
Based on | [base64 14.1.0](Base Instance.html) |
pkgsrc | 2014Q1 |
What's new in this image
- Base image is base64-14.1.0 (2014Q1)
- root, admin metadata passwords removed (accounts are ssh key only)
- /etc/product file includes description of image
- OpenJDK7 version is 1.7.51
- Apache version is 2.4.9
- Apache Tomcat version is 7.0.53
- Apache Ant version is 1.9.2
- Apache Maven version is 3.0.5
- Npm Manta installed by default
Software included in this image
Software installed as pkgsrc packages:
apache-2.4.9
apache-ant-1.9.2
apache-maven-3.0.5
apache-tomcat-7.0.53
apachetop-0.12.5nb2
bzip2-1.0.6nb1
curl-7.36.0
db4-4.8.30
duo-unix-1.9.7
gcc47-libs-4.7.3nb3
gtar-base-1.27.1nb1
nodejs-0.10.28
openssl-1.0.1g
perl-5.18.2nb1
pkgin-0.6.4nb5
postfix-2.11.0nb1
python27-2.7.6nb3
smtools-20140509
sqlite3-3.8.4.1
sudo-1.7.10p8
unzip-6.0nb1
wget-1.15nb1
zip-3.0nb2
zoneinit-1.6.7
Software installed as npm packages
jsontool@7.0.2
manta@1.2.7
smartdc@7.2.1
Version 13.x.x
13.3.1
Name | java |
Description | A SmartOS 64-bit image with OpenJDK7 (1.7.25), Apache (2.4.6), Apache Tomcat (7.0.42), Apache Ant (1.9.2) and Apache Maven (3.0.5) installed and configured as well as the common Java ENV variables (JAVA_HOME, CATALINA_HOME, ANT_HOME) setup for all users. |
UUID | c56ed646-82d8-11e3-849e-eb2c0535bf06 |
Based on | [base64 13.3.1](Base Instance.html) |
pkgsrc | 2013Q3 |
What's new in this release
The major change in this release is the switch to OpenJDK.
- Base image is base64-13.3.1 (2013Q3)
- Change java from sun-jdk to openjdk
- OpenJDK version is 1.7.25
- Apache version is 2.4.6
- Apache Tomcat version is 7.0.42
- Apache Ant version is 1.9.2
- Apache Maven version is 3.0.5
Software included in this release
apache-2.4.6
apache-ant-1.9.2
apache-maven-3.0.5
apache-tomcat-7.0.42nb1
bzip2-1.0.6nb1
curl-7.32.0
db4-4.8.30
duo-unix-1.9.6
gcc47-libs-4.7.3nb3
gtar-base-1.26nb2
mysql-client-5.5.33nb1
nodejs-0.10.24
openjdk7-1.7.25nb2
openssl-1.0.1enb2
perl-5.18.1nb1
pkgin-0.6.4nb1
postfix-2.9.8
postgresql91-client-9.1.9
python27-2.7.5nb3
smtools-20140102
sqlite3-3.8.0.2
sudo-1.7.10p7
unzip-6.0nb1
wget-1.14nb3
zip-3.0nb2
zoneinit-1.6.7
13.1.0
Name | java |
Description | A SmartOS 64-bit image with Java JDK (1.6.0_26), Apache (2.4.4), Apache Tomcat (7.0.35), Apache Ant (1.8.4) and Apache Maven (3.0.5) installed and configured as well as the common Java ENV variables (JAVA_HOME, CATALINA_HOME, ANT_HOME) setup for all users. |
UUID | 48489174-e351-11e2-88c0-a31eb2b342ee |
Based on | [base64 13.1.0](Base Instance.html) |
pkgsrc | 2013Q1 |
What's new in this release
- Initial release
- Base image is base64-13.1.0
- JDK version is 1.6.0_26
- Apache version is 2.4.4
- Apache Tomcat version is 7.0.35
- Apache Ant version is 1.8.4
- Apache Maven version is 3.0.5
- Default configuration of Apache/Tomcat on http://public.ip and uses tomcat user/password in portal
- Java ENV variables setup for all users (
JAVA_HOME
,CATALINA_HOME
,ANT_HOME
)
Software included in this release
apache-2.4.4
apache-ant-1.8.4
apache-maven-3.0.5
apache-tomcat-7.0.35
bzip2-1.0.6
gtar-base-1.26nb2
nodejs-0.10.12
openssl-1.0.1e
pkgin-0.6.3.1.1
postfix-2.9.6nb1
python27-2.7.3nb3
smtools-20130621
sqlite3-3.7.15.2nb2
sudo-1.7.10p7
sun-jdk6-6.0.26nb1
sun-jre6-6.0.26