Wiki source code of WebSphere installation
Last modified by Vincent Massol on 2017/09/06
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | {{info}} | ||
2 | These instructions cover WebSphere V6.1; other versions may differ. | ||
3 | {{/info}} | ||
4 | |||
5 | = Install the XWiki application = | ||
6 | |||
7 | * Start the application server if it isn't running:((( | ||
8 | {{code language="none"}} | ||
9 | $WAS_HOME/bin/startServer.sh server1 | ||
10 | {{/code}} | ||
11 | ))) | ||
12 | * Start the console. The default URLs are: | ||
13 | ** http://localhost:9060/ibm/console/logon.jsp (non-secure) | ||
14 | ** https://localhost:9043/ibm/console/logon.jsp (secure) | ||
15 | * Expand the Applications menu and click on "Install New Application" | ||
16 | * Fill in the following: | ||
17 | ** Full path to [[XWiki WAR>>xwiki:Main.Download]] | ||
18 | ** Context root to /xwiki | ||
19 | * Click "Next"; at this point if your WAR file is on a different machine from the server it will be copied over. | ||
20 | * Fill in each screen and click "Next" for each of them: | ||
21 | ** Step 1: You may want to modify the application name | ||
22 | ** Step 2: Nothing to do | ||
23 | ** Step 3: The jdbc/XWikiDS is not used by XWiki, but you still need to fill it out. Simply click "Browse..." under Target Resource JNDI Name, choose the "Default Datasource" and click "Apply" | ||
24 | ** Step 4: Nothing to do | ||
25 | ** Step 5: Click "Finish" | ||
26 | * A screen with the results is displayed next. At this point the changes have not been written to the file system. Click on the "Save" button to finish the installation step. | ||
27 | |||
28 | = Configure WebSphere = | ||
29 | |||
30 | * WebSphere v6.1 does not have the PNG MIME type configured by default, so you need to do so. If you do not follow this step, you'll get a NullPointerException at com.xpn.xwiki.web.SkinAction.isJavascriptMimeType. | ||
31 | ** In the Console, expand "Environment" and select "Virtual Hosts" | ||
32 | ** Click on the default_host link (or whatever host you installed XWiki onto) | ||
33 | ** Click on the "MIME types" link | ||
34 | ** Click "New" to add a new MIME type | ||
35 | ** Fill out the form this way: | ||
36 | *** MIME Type: image/png | ||
37 | *** Extensions: PNG png | ||
38 | * Click "OK", save the configuration and restart the server |