Wiki source code of InstallationWebSphere
Version 1.10 by Vincent Massol on 2010/02/26
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | 1 WebSphere installation | ||
2 | |||
3 | #info("These instructions cover WebSphere V6.1; other versions may differ.") | ||
4 | |||
5 | 1.1 Install XWiki application | ||
6 | |||
7 | * Start the application server if it isn't running: | ||
8 | {code} | ||
9 | $WAS_HOME/bin/startServer.sh server1 | ||
10 | {code} | ||
11 | * Start the Console. The default URLs are: | ||
12 | ** http://localhost:9060/ibm/console/logon.jsp (non-secure) | ||
13 | ** https://localhost:9043/ibm/console/logon.jsp (secure) | ||
14 | * Expand the Applications menu and click on Install New Application. | ||
15 | * Fill in the following: | ||
16 | ** Full path to [XWiki WAR>xwiki:Main.Download] (if | ||
17 | ** Context root to /xwiki. | ||
18 | * Hit Next; at this point if your WAR file is on a different machine from the server it will be copied over. | ||
19 | * Fill in each screen and hit Next on each. | ||
20 | ** Step 1: You may want to modify the Application name | ||
21 | ** Step 2: Nothing to do | ||
22 | ** 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 hit Apply. | ||
23 | ** Step 4: Nothing to do | ||
24 | ** Step 5: Hit Finish. | ||
25 | * A screen with the results is next displayed. At this point the changes have not been written to the file system. Click on the Save link to finish the installation step. | ||
26 | |||
27 | 1.1 Configure WebSphere | ||
28 | |||
29 | * 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. | ||
30 | ** In the Console, expand Environment and select Virtual Hosts | ||
31 | ** Click on the default_host link (or whatever host you installed XWiki onto) | ||
32 | ** Click on the MIME types link | ||
33 | ** Click New to add a new MIME type | ||
34 | ** Fill out the form as follows: | ||
35 | *** MIME Type: image/png | ||
36 | *** Extensions: PNG png | ||
37 | * Hit OK, Save to the configuration, and restart the server. | ||
38 | |||
39 | 1.1 Troubleshooting | ||
40 | |||
41 | * XWiki 1.0 contains a [bug>http://jira.xwiki.org/jira/browse/XWIKI-1113] that shows up as lots of messages in SystemOut.log which all say 'SRVE0238E: Resource paths should have a leading slash'. You can patch xwiki.jar or ignore them (it still works, just slower and fills up the log)") |