Wiki source code of WebSphere installation
Last modified by Vincent Massol on 2017/09/06
Hide last authors
author | version | line-number | content |
---|---|---|---|
![]() |
2.3 | 1 | {{info}} |
2 | These instructions cover WebSphere V6.1; other versions may differ. | ||
3 | {{/info}} | ||
![]() |
1.1 | 4 | |
![]() |
2.3 | 5 | = Install the XWiki application = |
![]() |
1.5 | 6 | |
![]() |
2.2 | 7 | * Start the application server if it isn't running:((( |
![]() |
3.1 | 8 | {{code language="none"}} |
9 | $WAS_HOME/bin/startServer.sh server1 | ||
10 | {{/code}} | ||
![]() |
2.2 | 11 | ))) |
![]() |
2.3 | 12 | * Start the console. The default URLs are: |
![]() |
1.1 | 13 | ** http://localhost:9060/ibm/console/logon.jsp (non-secure) |
14 | ** https://localhost:9043/ibm/console/logon.jsp (secure) | ||
![]() |
2.3 | 15 | * Expand the Applications menu and click on "Install New Application" |
![]() |
1.1 | 16 | * Fill in the following: |
![]() |
2.2 | 17 | ** Full path to [[XWiki WAR>>xwiki:Main.Download]] |
![]() |
2.3 | 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 | ||
![]() |
1.1 | 22 | ** Step 2: Nothing to do |
![]() |
2.3 | 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" |
![]() |
1.1 | 24 | ** Step 4: Nothing to do |
![]() |
2.3 | 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. | ||
![]() |
1.1 | 27 | |
![]() |
2.2 | 28 | = Configure WebSphere = |
![]() |
1.5 | 29 | |
![]() |
2.1 | 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. |
![]() |
2.3 | 31 | ** In the Console, expand "Environment" and select "Virtual Hosts" |
![]() |
1.5 | 32 | ** Click on the default_host link (or whatever host you installed XWiki onto) |
![]() |
2.3 | 33 | ** Click on the "MIME types" link |
34 | ** Click "New" to add a new MIME type | ||
35 | ** Fill out the form this way: | ||
![]() |
1.5 | 36 | *** MIME Type: image/png |
37 | *** Extensions: PNG png | ||
![]() |
2.3 | 38 | * Click "OK", save the configuration and restart the server |