This post discusses the traditional way of installing JOSSO using jar installer.
Main Article Reference: http://www.josso.org/install.html
Following post covers:
A. Prerequisites
B. Installation
C. Login to Atricore Console
A. Prerequisites for JOSSO:
(1) Java version 8 (For installing JOSSO)
(a) We will use Server JRE 8 for deploying web applications.
1. Go to https://www.oracle.com/technetwork/java/javase/downloads/index.html
2. Go to Java SE 8u221 and download Server JRE. Extract it.
(You will need oracle account to download)
3. Create a Folder Java and place jdk1.8.0_221 folder extracted above.
4. Create Enviroment Variable JAVA_HOME and add to PATH
Eg.,
JAVA_HOME=C:\Java\jdk1.8.0_221
PATH=C:\Java\jdk1.8.0_221\bin (add this path to existing ones)
Reason behind using this Server JRE8 is JDK > 8 have problems with endorsed standards.
Ultimately, JOSSO commands can't be executed.
(b) If you have JAVA 8 in your system, Server JRE 8 is not needed.
Set JAVA_HOME and PATH for jdk1.8.xx present in your system as above
(2) Web Server (For working with JOSSO)
We will use Tomcat 7.0.94 in modelling web appliances in JOSSO
1. Go to https://tomcat.apache.org/index.html
(Tomcat 6.0.34 / Tomcat 7.0.94 / Tomcat 8.5.43 will be JOSSO Compatible)
2. Install and Start the service
(Install in the same drive as Java, also mention the jre path during installation)
3. Test http://localhost:8080 to check if it opens to Tomcat page (default port: 8080)
(3) JOSSO Installer
1. JOSSO Community Edition 2.4.3 is available at https://sourceforge.net/projects/josso/files/latest/download?source=files
2. Save the jar installer
B. Installation of JOSSO (in Windows OS):
Way-1:
Double-click josso-ce-2.4.3-34-windows.jar (if jar is associated with java by default)
Way-2:
1. Go to Command Prompt (Run as Administrator)
2. Go to the Folder where you have downloaded JOSSO Installer
3. Execute the following: java -jar josso-ce-2.4.3-34-windows.jar
Proceed with the screenshots:
1. Go to Command Prompt
2. Go to the JOSSO installed path
In my case, I have installed in F:\atricore\josso-ce-2.4.3-SNAPSHOT\bin
3. Execute the command atricore
Eg., F:\atricore\josso-ce-2.4.3-SNAPSHOT\bin> atricore
4. You will see something like this:
We have to access JOSSO using:
URL: http://localhost:8081/atricore-console
Username: admin
Password: atricore (password 'admin' doesnt work for JOSSO 2.4 versions)
(Some browsers don't have flash enabled, it may ask for your confirmation to run flash)
6. After you login, JOSSO Environment will look like:
This is the place where we model, build and deploy our appliances.
Comments
Post a Comment