일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 |
Tags
- IPTV
- Linux
- Audacity
- java
- 작성중
- IT 키워드
- 기술사
- 태터수정
- conemu
- 주식
- Qmail
- 알고리즘
- KOSPI
- UX
- uml example
- LDAP
- Android
- 도서
- adb
- ubuntu
- Eclipse
- 우분투
- eclipse35
- unix
- 코스피
- Algorithm
- 안드로이드
- 보안
- 공매도
Archives
- Today
- Total
Do diffence
Install XWiki on Oracle 본문
http://www.xwiki.org/xwiki/bin/view/AdminGuide/Oracle
Oracle support
An Oracle database can be used with XWiki but requires extra setup work to complete. The following changes are required:
- in hibernate.cfg.xml :
- Change the hibernate dialect to "OracleDialect" .... DO NOT USE Oracle9Dialect as this reduces the ability to correctly identify mappings using clob/blob elements.
- Change the connection.drivers_class to "oracle.jdbc.driver.OracleDriver"
- Add the ojdbc14.jar to the lib directory.
Oracle 10g
- Create the database and user.
- Import the schema- xwiki-db-0.9.2-oracleDDL.sql
- Configure the database properties as described above. Out of the
box, you will probably experience problems with foreign key relations
or deadlocks (from the OSCaching) resulting from database errors. - Add the hibernate user type class from http://www.hibernate.org/56.html?
and then change the type on any large objects (more than 4K) to the
ClobType above. There were six of these though not exactly a
one-for-one match to the six clob instances in the schema. The schema
for xwikiclasses has two attributes, one of which is a clob, that
aren't reflected in the hibernate configuration. Second, the hibernate
configuration maps two types to the xwikilargestrings. - Since you have an empty database, in xwiki.cfg you should setup
"xwiki.superadminpassword=toto" to activate the "superadmin" user with
password "toto". You can use this account to setup rights. - Unknown steps needed to get attachments working.