Details
-
Bug
-
Resolution: Duplicate
-
Critical
-
None
-
3.2
-
None
-
None
-
Windows 2003, OracleXE 10.2, Glassfish 3.1.1, XE 3.2
Description
When I did upgrade XE from 3.1 to 3.2, at first-time starting after upgrade I got error:
javax.servlet.ServletException: com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main XWiki context
Wrapped Exception: Error number 3201 in 3: Exception while saving document xwiki:XWiki.XWikiPreferences
Wrapped Exception: $Proxy148 cannot be cast to oracle.sql.CLOB
...
(full text of error from logs look at attached file)
Also, as I see in logs, same problem not only with XWiki.XWikiPreferences, but also with some other pages (Scheduler.WatchListHourlyNotifier, ... and some user-created pages).
All modifications in hibernate.cfg.xml I made as described (same as in my previous well-working XE 3.1).
Also in hibernate.cfg.xml exists two lines about clobs in Oracle:
<property name="hibernate.connection.SetBigStringTryClob">true</property>
<property name="hibernate.jdbc.batch_size">0</property>
This is not my first upgrade on Oracle (I succesfully upgraded XE from version to version starting from 2.0), and before all was ok.
Attachments
Issue Links
- duplicates
-
XWIKI-7254 Invalid mapping with Oracle 11g and Hibernate 3.6
- Closed