Getting Started with Sun Application Server

Note: This guide refers to Sun Application Server 8.
  1. Extract searchblox.war, using for example the Java jar tool or a regular unzip command. On Windows, applications like WinZip work as well. Extract the files into a directory or sub-directory named searchblox, for example C:\xxxx\searchblox
  2. Login to the Application Server Admin Console.
  3. In the left pane of the Console, expand the Applications branch and click on the Web Applications folder. The Web Applications page will now be displayed in the right pane of the console.
  4. Click on the Deploy... button on the Web Applications Page. The Deployment Page will now be displayed on the right pane.
  5. Set the Upload File radio button to NO. In the "File or Directory" text box, enter the name of the directory where you have extracted the searchblox.war file.
  6. Click on the Next button. The Deploy Web Module page will now be displayed on the right pane.
  7. In the text boxes for Application Name and Context Root, enter searchblox. Select the Precompile JSP checkbox.
  8. Click on the OK button. After a few seconds, the right pane will display the Web Applications page with the message Deployed Web Applications (1 items). The searchblox application will now be listed on the page.
  9. Go to http://yourhost/searchblox/admin/main.jsp in your browser and Login using username : admin / password : admin
  10. Go to Collections Tab and Click on Add Collection to create a new collection.
  11. Choose whether it is a HTTP or FileSystem based collection, assign a unique name and choose the language for this collection. And Click Add to finish creating the collection.
  12. Click on Root Sub-Tab and Type in RootURL / Filepath and click OK.
  13. Go to Indexer Sub-Tab and click Index button to start indexing.
  14. Click on the DashBoard Sub-Tab under Collections to view indexing status.
  15. Go to http://yourhost/searchblox/search.jsp to start searching.