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


    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Duplicate
    • Affects Version/s: 3.2
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Environment:
      Windows 2003, OracleXE 10.2, Glassfish 3.1.1, XE 3.2
    • Similar issues:


      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.


        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



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


                • Created:
                  Date of First Response: