AnsweredAssumed Answered

Configure an alfresco instance with existing db

Question asked by dkmorb on Oct 28, 2008
Latest reply on Oct 30, 2008 by dkmorb
Hi all, i'm new here.
I should configure a new Alfresco installation possibly on a existing SQL server 2005 database. I try to copy the original folder alf_data from "source" machine and change paths in custom-repository.properties, but at the end, i obtain this error:

16:14:28,968 INFO  [STDOUT] 16:14:28,968 User:System INFO  [domain.schema.SchemaBootstrap] No changes were made to the schema.
16:14:30,546 INFO  [STDOUT] 16:14:30,546 User:System WARN  [node.index.FullIndexRecoveryComponent] The indexes are not synchronized with the database.
16:14:30,546 INFO  [STDOUT] 16:14:30,546 User:System INFO  [repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: C:\jbossAlfresco\alf_data
16:14:30,593 INFO  [STDOUT] 16:14:30,593 User:System INFO  [admin.patch.PatchExecuter] Checking for patches to apply …
16:14:31,062 INFO  [STDOUT] 16:14:31,062 User:System INFO  [repo.module.ModuleServiceImpl] Found 0 module(s).
16:14:31,562 INFO  [STDOUT] 16:14:31,562  ERROR [quartz.core.JobRunShell] Job DEFAULT.userUsageBootstrapDetail threw an unhandled Exception:
java.lang.NullPointerException
   at org.alfresco.repo.usage.UserUsageTrackingComponent$4.execute(UserUsageTrackingComponent.java:308)
   at org.alfresco.repo.usage.UserUsageTrackingComponent$4.execute(UserUsageTrackingComponent.java:279)
   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:236)
   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:185)
   at org.alfresco.repo.usage.UserUsageTrackingComponent.recalculateUsage(UserUsageTrackingComponent.java:324)
   at org.alfresco.repo.usage.UserUsageTrackingComponent.execute(UserUsageTrackingComponent.java:195)
   at org.alfresco.repo.usage.UserUsageBootstrapJob.execute(UserUsageBootstrapJob.java:54)
   at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
   at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)
16:14:31,562 INFO  [STDOUT] 16:14:31,562  ERROR [quartz.core.ErrorLogger] Job (DEFAULT.userUsageBootstrapDetail threw an exception.
org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.NullPointerException]
   at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
   at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)
Caused by: java.lang.NullPointerException
   at org.alfresco.repo.usage.UserUsageTrackingComponent$4.execute(UserUsageTrackingComponent.java:308)
   at org.alfresco.repo.usage.UserUsageTrackingComponent$4.execute(UserUsageTrackingComponent.java:279)
   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:236)
   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:185)
   at org.alfresco.repo.usage.UserUsageTrackingComponent.recalculateUsage(UserUsageTrackingComponent.java:324)
   at org.alfresco.repo.usage.UserUsageTrackingComponent.execute(UserUsageTrackingComponent.java:195)
   at org.alfresco.repo.usage.UserUsageBootstrapJob.execute(UserUsageBootstrapJob.java:54)
   at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
   … 1 more

Any suggestion accepted!!
Thanks in advance,
Dkmorb.

Outcomes