- Deploy using the Web Console
- Deploy Using the Hot Deploy Folder
- Deploy Using the Command Line
Start the server and navigate to this address: http://localhost:8080/console
Enter the username and password
On the left handed menu, under Applications, click on Deploy New
At this page, select the appropriate file to be deploy into the server as shown below:
Click install after selecting the folder and it will displays its status whether if it is deploy successfully or vice versa.
Deploy Using the Hot Deploy Folder Geronimo
- Navigate to the geronimo home directory
- Navigate to the deploy directory
- Copy the EJB file into the deployment folder
- Open the browser and type the localhost and context root address
Deploy Using the Command Line Geronimo
For my commands as show above, I copy my .ear file into geronimo home folder. cd into the geronimo home folder and execute this command:
This should concludes the 3 different ways of deploying Java .war or .ear files into the Geronimo.
No comments:
Post a Comment