Hi, I have installed the OpenGrok 0.8.1 package on Solaris 10 with ClearCase V7.1 installed.
I have installed the SUNWjavadb and started it via "$JAVA_HOME/bin/java -Dderby.system.home=$DATA_ROOT/derby -jar /opt/SUNWjavadb/lib/derbynet.jar start". I am indexing using the below command: /usr/jdk/instances/jdk1.6.0/bin/java -Xmx2048m -Dorg.opensolaris.opengrok.history.ClearCase=cleartool -Djava.util.logging.convar/opengrok/logging.properties -jar /usr/opengrok/bin/opengrok.jar -R /var/opengrok/etc/configuration.xml -U localhost:2424 My configuration.xml is as below. My source root is /view/opengrok_tcent.81_latest/vobs, where opengrok_tcent.81_latest is Dynamic View. <?xml version="1.0" encoding="UTF-8"?> <java version="1.6.0_18" class="java.beans.XMLDecoder"> <object class="org.opensolaris.opengrok.configuration.Configuration"> <void property="ctags"> <string>/tools/bin/exctags</string> </void> <void property="dataRoot"> <string>/usr/opengrok/data</string> </void> <void property="databaseDriver"> <string>org.apache.derby.jdbc.ClientDriver</string> </void> <void property="databaseUrl"> <string>jdbc:derby://localhost/cachedb;create=true</string> </void> <void property="historyCacheInDB"> <boolean>true</boolean> </void> <void property="projects"> <void method="add"> <object class="org.opensolaris.opengrok.configuration.Project"> <void property="description"> <string>tms</string> </void> <void property="path"> <string>/tms</string> </void> </object> </void> </void> <void property="repositories"> <void method="add"> <object class="org.opensolaris.opengrok.history.RepositoryInfo"> <void property="datePattern"> <string>yyyyMMdd.HHmmss</string> </void> <void property="directoryName"> <string>/view/opengrok_tcent.81_latest/vobs</string> </void> <void property="type"> <string>ClearCase</string> </void> <void property="working"> <boolean>true</boolean> </void> </object> </void> </void> <void property="sourceRoot"> <string>/view/opengrok_tcent.81_latest/vobs</string> </void> <void property="verbose"> <boolean>true</boolean> </void> </object> </java> The indexer cribs for the history with the below message. My SRC_ROOT is /view/opengrok_tcent.81_latest/vobs INFO: Starting indexExecution Mar 26, 2010 8:48:04 PM org.opensolaris.opengrok.history.HistoryGuru createCache INFO: Create historycache for /view/opengrok_tcent.81_latest/vobs (ClearCaseRepository) Mar 26, 2010 8:48:04 PM org.opensolaris.opengrok.history.HistoryGuru createCache WARNING: An error occured while creating cache for /view/opengrok_tcent.81_latest/vobs (ClearCaseRepository) org.opensolaris.opengrok.history.HistoryException: Failed to get history for: "/view/opengrok_tcent.81_latest/vobs" Exit code: 1 at org.opensolaris.opengrok.history.ClearCaseHistoryParser.parse(ClearCaseHistoryParser.java:50) at org.opensolaris.opengrok.history.ClearCaseRepository.getHistory(ClearCaseRepository.java:340) at org.opensolaris.opengrok.history.Repository.getHistory(Repository.java:97) at org.opensolaris.opengrok.history.Repository.createCache(Repository.java:174) at org.opensolaris.opengrok.history.HistoryGuru.createCache(HistoryGuru.java:419) at org.opensolaris.opengrok.history.HistoryGuru.ensureHistoryCacheExists(HistoryGuru.java:544) at org.opensolaris.opengrok.index.IndexDatabase.update(IndexDatabase.java:320) at org.opensolaris.opengrok.index.IndexDatabase$1.run(IndexDatabase.java:142) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Mar 26, 2010 8:48:04 PM org.opensolaris.opengrok.history.HistoryGuru createCache INFO: Creating historycache for /view/opengrok_tcent.81_latest/vobs took (200ms) Kindly help me on this. Thanks, Sachin -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/opengrok-discuss/attachments/20100326/4c2c0399/attachment.html>