Uploaded image for project: '{RETIRED} XWiki Enterprise'
  1. {RETIRED} XWiki Enterprise
  2. XE-1032

Error at first-time starting after upgrade to XE 3.2: $Proxy148 cannot be cast to oracle.sql.CLOB

    XMLWordPrintable

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

        1. catalina.out
          6 kB
        2. error_log.txt
          59 kB
        3. hibernate.cfg.xml
          3 kB
        4. thomask_hbm_files.zip
          7 kB
        5. tomcat.log
          11 kB
        6. xwiki.cfg
          29 kB
        7. xwiki.properties
          16 kB

        Issue Links

          Activity

            People

              vmassol Vincent Massol
              ecolesnicov Eugen Colesnicov
              Votes:
              3 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: