SearchBlox - Getting started with Oracle Application Server.

Note: This guide refers to using SearchBlox with OC4J Standalone (9.0.4).
    1. Create a new directory named searchblox in the $OC4J-HOME/j2ee/home/applications folder.
    2. Extract searchblox.war into the /searchblox directory, using for example the Java jar tool or a regular unzip command. On Windows, applications like WinZip work as well.
    3. Edit the file $OC4J-HOME/j2ee/home/config/application.xml and add the following descriptor within the <orion-application> element.

    <web-module id="searchblox" path="../../home/applications/searchblox"/>

    4. Edit the file $OC4J-HOME/j2ee/home/config/http-web-site.xml and add the following descriptor within the <web-site> element.

    <web-app load-on-startup="true" application="default" name="searchblox" root="/searchblox" />

    5. Place a copy of the file $OC4J-HOME/j2ee/home/applications/searchblox/WEB-INF/lib/dom4j.jar in the directory $OC4J-HOME/j2ee/home/applib
    6. Edit the file $OC4J-HOME/j2ee/home/applications/searchblox/WEB-INF/web.xml so that the element <security-constraint> contains only the elements shown below:

    <security-constraint>
    <web-resource-collection>
    <web-resource-name>Forbidden</web-resource-name>
    <url-pattern>/config.xml</url-pattern>
    <url-pattern>/license.xml</url-pattern>
    <url-pattern>/index/*</url-pattern>
    <url-pattern>/docs/*</url-pattern>
    <url-pattern>/ext/*</url-pattern>
    <url-pattern>/publish/*</url-pattern>
    <url-pattern>/stylesheets/*</url-pattern>
    <url-pattern>/stopwords/*</url-pattern>
    <url-pattern>/logs/*</url-pattern><auth-constraint />
    </security-constraint>

    7. Start OC4J
    8. Go to http://yourhost/searchblox/admin/main.jsp in your browser and Login using username : admin / password : admin
    9. Go to Collections Tab and Click on Add Collection to create a new collection.
    10. 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.
    11. Click on Root Sub-Tab and Type in RootURL / Filepath and click OK.
    12. Go to Indexer Sub-Tab and click Index button to start indexing.
    13. Click on the DashBoard Sub-Tab under Collections to view indexing status.
    14. Go to http://yourhost/searchblox/search.jsp to start searching.
>>>>>>> 1.1.94.2