Changes for page ReleaseNotesXWiki10Beta5

Last modified by Thomas Mortagne on 2017/03/24

From version 1.2
edited by Vincent Massol
on 2007/02/16
Change comment: There is no comment for this version
To version 1.3
edited by Vincent Massol
on 2007/03/01
Change comment: There is no comment for this version

Summary

Details

Page properties
Parent
... ... @@ -1,1 +1,0 @@
1 -Main.ReleaseNotes
Content
... ... @@ -13,6 +13,40 @@
13 13  
14 14  * [Bugs we know about>http://jira.xwiki.org/jira/secure/IssueNavigator.jspa?reset=true&&type=1&pid=10010&resolution=-1&sorter/field=updated&sorter/order=DESC]
15 15  
16 +1.1 Migration notes from all previous versions
17 +
18 +This is only for users using a custom ~~web.xml~~ file. We have changed slightly the way to configure XWiki. Namely we have changed the way XWiki is initialized. Before we were initializing Velocity by using the ~~VelocityViewServlet~~ in ~~web.xml~~. This has been removed and we've added a ~~InitializationServletContextListener~~ class to perform all required XWiki initializations (right now we're only initializing Velocity). Thus you'll need to do the following starting from 1.0 beta 5 onwards:
19 +
20 +# Remove the VelocityViewServlet from your web.xml
21 +# Add the following 2 elements to your web.xml: context-param, listener. Here's an example:
22 +
23 +{code:xml}
24 +<web-app>
25 +...
26 + <description>XWiki Application</description>
27 +
28 + <!-- Define context level parameters for XWiki's initialization -->
29 + <context-param>
30 + <param-name>org.apache.velocity.properties</param-name>
31 + <param-value>/WEB-INF/velocity.properties</param-value>
32 + <description>Velocity's configuration</description>
33 + </context-param>
34 +
35 + <filter>
36 +...
37 + </filter-mapping>
38 +
39 + <!-- XWiki's initialization is done in a Servlet Context Listener. This is where we set up
40 + everything that should be initialized prior to XWiki servicing requests. For example this
41 + is where we initialize Velocity. -->
42 + <listener>
43 + <listener-class>com.xpn.xwiki.web.InitializationServletContextListener</listener-class>
44 + </listener>
45 +
46 + <servlet>
47 +...
48 +{code}
49 +
16 16  1.1 Migration from 1.0 Beta 2, Beta 3 or Beta 4
17 17  
18 18  * Start by making a backup of your current database.

Get Connected