Last modified by Thomas Mortagne on 2023/10/10

<
From version < 9.1 >
edited by tbkdan
on 2010/07/23
To version < 10.2 >
edited by Philipp Roessler
on 2010/09/03
>
Change comment: Added comment

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.tbkdan
1 +XWiki.tapaya
Content
... ... @@ -34,10 +34,12 @@
34 34   <property name="statement_cache.size">2</property>
35 35   <mapping resource="xwiki.mssql.hbm.xml"/>
36 36   <mapping resource="feeds.hbm.xml"/>
37 + <mapping resource="activitystream.hbm.xml"/>
37 37  
38 38  {code}
39 39  
40 40  
42 +
41 41  1.1 Troubleshooting
42 42  
43 43  1.1.1 Fix search function
XWiki.XWikiComments[6]
Author
... ... @@ -1,0 +1,1 @@
1 +xwiki:XWiki.tapaya
Comment
... ... @@ -1,0 +1,17 @@
1 +To get XWiki Enterprise 2.2.1 running in GlassFish 2.1.1 (Java 6) with MSSQL Server 2005, we found these infos very helpful:
2 +
3 +* [http://xwiki.475771.n2.nabble.com/XWiki-Glassfish-2-1-1-cglib-td4186341.html]
4 +* the Microsoft JDBC driver <tt>sqljdbc-2.0.1803.jar</tt> works great
5 +* hibernate.cfg.xml:{code:type=xml}<property name="connection.url">jdbc:sqlserver://localhost:1433;DatabaseName=xwiki</property>
6 +<property name="connection.username">xwiki</property>
7 +<property name="connection.password">xwiki</property>
8 +<property name="connection.driver_class">com.microsoft.sqlserver.jdbc.SQLServerDriver</property>
9 +<property name="dialect">org.hibernate.dialect.SQLServerDialect</property>
10 +<property name="connection.provider_class">com.xpn.xwiki.store.DBCPConnectionProvider</property>
11 +<property name="connection.pool_size">2</property>
12 +<property name="statement_cache.size">2</property>
13 +<mapping resource="xwiki.mssql.hbm.xml"/>
14 +<mapping resource="feeds.hbm.xml"/>
15 +<mapping resource="activitystream.hbm.xml"/>{code}
16 +* create C:/Programme/glassfish/glassfish/domains/xwiki/applications/j2ee-modules/xwiki-enterprise-web-2.2.1/WEB-INF/classes/xwiki.mssql.hbm.xml
17 +* set <tt>xwiki.store.hibernate.updateschema=1</tt> and <tt>xwiki.store.migration=1</tt> in <tt>xwiki.cfg</tt>
Date
... ... @@ -1,0 +1,1 @@
1 +2010-09-03 12:49:22.391

Get Connected