Gatein GateIn-3.1.0 Problems With Oracle
lmono1982 Mar 10, 2011 7:08 PMHi everybody
I configured Gatein with postgresql without problems , but with oracle [11g or 10 Express] don`t work.
Here's my configuration :
File: configuration.properties
--------------------------------------------------------------------
# Data
gatein.data.dir=${jboss.server.data.dir}/gatein
# DB
gatein.db.data.dir=${gatein.data.dir}/db
# JCR
gatein.jcr.config.type=local
gatein.jcr.datasource.name=java:jdbcjcr
gatein.jcr.datasource.dialect=auto
gatein.jcr.datasource.driver=oracle.jdbc.driver.OracleDriver
gatein.jcr.datasource.url=jdbc:oracle:thin:@untitled:1521:XE
gatein.jcr.datasource.username=jdbcjcr_portal
gatein.jcr.datasource.password=jdbcjcr_portal
gatein.jcr.data.dir=${gatein.data.dir}/jcr
gatein.jcr.storage.data.dir=${gatein.jcr.data.dir}/values
gatein.jcr.cache.config=classpath:/conf/jcr/jbosscache/${gatein.jcr.config.type}/config.xml
gatein.jcr.lock.cache.config=classpath:/conf/jcr/jbosscache/${gatein.jcr.config.type}/lock-config.xml
gatein.jcr.index.data.dir=${gatein.jcr.data.dir}/lucene
gatein.jcr.index.changefilterclass=org.exoplatform.services.jcr.impl.core.query.DefaultChangesFilter
gatein.jcr.index.cache.config=classpath:/conf/jcr/jbosscache/cluster/indexer-config.xml
gatein.jcr.jgroups.config=classpath:/conf/jcr/jbosscache/cluster/udp-mux.xml
# IDM
gatein.idm.datasource.name=java:jdbcidm
gatein.idm.datasource.driver=oracle.jdbc.driver.OracleDriver
gatein.idm.datasource.url=jdbc:oracle:thin:@untitled:1521:XE
gatein.idm.datasource.username=jdbcidm_portal
gatein.idm.datasource.password=jdbcidm_portal
gatein.email.smtp.username=
gatein.email.smtp.password=
gatein.email.smtp.host=smtp.gmail.com
gatein.email.smtp.port=465
gatein.email.smtp.starttls.enable=true
gatein.email.smtp.auth=true
gatein.email.smtp.socketFactory.port=465
gatein.email.smtp.socketFactory.class=javax.net.ssl.SSLSocketFactory
--------------------------------------
The jar file is in
/usr/local/gatein/server/default/lib "ojdbc14.jar"
Before start, Remove:
gatein-sample-extension.ear gatein-sample-portal.ear gatein-sample-skin.war
When try again start , first remove
data work log tmp
But does not start
Error:
17:15:05,703 WARN [RootContainer] The portal container 'portal' doesn't not exist or it has not yet been registered, please check your PortalContainerDefinitions and the loading order.
Other errors
17:14:48,221 ERROR [STDERR] javax.jcr.RepositoryException: Repository 'repository' not found.
17:14:48,221 ERROR [STDERR] at org.exoplatform.services.jcr.impl.RepositoryServiceImpl.getRepository(RepositoryServiceImpl.java:219)
17:14:48,221 ERROR [STDERR] at org.exoplatform.services.jcr.ext.hierarchy.impl.NodeHierarchyCreatorImpl.processAddPathPlugin(NodeHierarchyCreatorImpl.java:158)
17:14:48,221 ERROR [STDERR] at org.exoplatform.services.jcr.ext.hierarchy.impl.NodeHierarchyCreatorImpl.start(NodeHierarchyCreatorImpl.java:76)
17:14:48,221 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
log attached "logGatein.log"
---------------------------------
Note:
Fedora 14
java-1.6.0-openjdk-1.6.0.0-52.1.9.7.fc14.i686
cat /root/.bash_profile
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/bin
export PATH
LD_LIBRARY_PATH=/usr/lib/oracle/11.2/client/lib/
ORACLE_HOME=/home/oracle/
TNSNAMES=/home/oracle/network/admin/tnsnames.ora
export LD_LIBRARY_PATH ORACLE_HOME TNSNAMES
---------------------
Thanks for your help.
-
logGatein.log.zip 14.4 KB