일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- uml example
- 도서
- java
- 기술사
- LDAP
- IT 키워드
- 알고리즘
- Eclipse
- adb
- 안드로이드
- 주식
- Audacity
- 공매도
- eclipse35
- UX
- unix
- 태터수정
- 보안
- 작성중
- conemu
- Linux
- Qmail
- Algorithm
- 우분투
- ubuntu
- IPTV
- KOSPI
- 코스피
- Android
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.