Myles Penlington
unread,Sep 3, 2008, 7:41:21 AM9/3/08Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to tempo-dev
Hi,
Using the 1st sept bundle and provided instructions causes Alfesco to
die on startup with many errors. I have 2 different scenarios that
have quite different failure paths. Note that I have previously
installed other Alfresco/Liferay bundles, but all to different folders
etc. This is on a windows XP machine.
Case 1.
Use provided bundle with no mods. Fails as seen below. Complaining
about db schema upgrades and missing beans related to this. Conclusion
- very sick install.
Case 2.
Using another ApacheDS install running as a windows service on port
10389, with the dc=intalio,dc=com partition setup and populated with
the test data, still fails but seems to be much happier (far less
exceptions thrown).
Anybody got any ideas of what is wrong?
Thanks
Myles.
Logs from case 1 (Partial - no point posting another 4000 lines of
stack traces).
Starting Liferay Portal 5.1.0 (Calvin / Build 5100 / July 17, 2008)
23:24:07,262 INFO [ServerDetector:76] Detected server tomcat
23:24:07,309 INFO [HotDeployUtil:76] Initializing hot deploy manager
24675665
23:24:07,403 INFO [AutoDeployDir:76] Auto deploy scanner started for
C:\Documents and Settings\mylesp\liferay\deploy
23:24:15,774 WARN [CacheManager] Creating a new instance of
CacheManager using the diskStorePath "C:\LiferayAll\temp" which is
already used by an existing Cach
eManager.
The source of the configuration was URL of file:/C:/LiferayAll/webapps/
alfresco/WEB-INF/classes/alfresco/ehcache-transactional.xml.
The diskStore path for this CacheManager will be set to C:\LiferayAll
\temp\ehcache_auto_created_1220441055774.
To avoid this warning consider using the CacheManager factory methods
to create a singleton CacheManager or specifying a separate ehcache
configuration (ehcache
.xml) for each CacheManager instance.
23:24:30,455 ERROR [ContextLoader] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'schemaBootstrap' defined in class path
resource [alfresco/bootstrap-cont
ext.xml]: Cannot resolve reference to bean 'patch.schemaUpdateScript-
V1.4-1' while setting bean property 'preUpdateScriptPatches' with key
[0]; nested exception
is org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'patch.schemaUpdateScript-V1.4-1' defined in
file [C:\LiferayAll\weba
pps\alfresco\WEB-INF\classes\alfresco\patch\patch-services-
context.xml]: Cannot resolve reference to bean 'patchComponent' while
setting bean property 'patchSer
vice'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'patchComponent' defined in file [C:\LiferayAl
l\webapps\alfresco\WEB-INF\classes\alfresco\patch\patch-services-
context.xml]: Cannot resolve reference to bean 'descriptorComponent'
while setting bean propert
y 'descriptorService'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'descriptorComponent' defined
in class path resource [alfresco/bootstrap-context.xml]: Cannot
resolve reference to bean 'systemBootstrap' while setting bean
property 'systemBootstrap'; neste
d exception is
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'systemBootstrap' defined in class path
resource [alfresco
/bootstrap-context.xml]: Cannot resolve reference to bean
Logs from Case 2
Starting Liferay Portal 5.1.0 (Calvin / Build 5100 / July 17, 2008)
23:26:57,811 INFO [ServerDetector:76] Detected server tomcat
23:26:57,873 INFO [HotDeployUtil:76] Initializing hot deploy manager
24493807
23:26:57,951 INFO [AutoDeployDir:76] Auto deploy scanner started for
C:\Documents and Settings\mylesp\liferay\deploy
23:27:05,557 WARN [CacheManager] Creating a new instance of
CacheManager using the diskStorePath "C:\LiferayAll\temp" which is
already used by an existing Cach
eManager.
The source of the configuration was URL of file:/C:/LiferayAll/webapps/
alfresco/WEB-INF/classes/alfresco/ehcache-transactional.xml.
The diskStore path for this CacheManager will be set to C:\LiferayAll
\temp\ehcache_auto_created_1220441225542.
To avoid this warning consider using the CacheManager factory methods
to create a singleton CacheManager or specifying a separate ehcache
configuration (ehcache
.xml) for each CacheManager instance.
23:27:06,307 WARN [LDAPInitialDirContextFactoryImpl] LDAP server
supports anonymous bind ldap://localhost:10389
23:27:07,838 WARN [RmiRegistryFactoryBean] Could not detect RMI
registry - creating new one
23:27:08,775 WARN [AbstractTriggerBean] Job ehCacheTracerJob is not
active
23:27:09,743 WARN [OpenOfficeConnectionTester] A connection to
OpenOffice could not be established.
23:27:12,648 WARN [ConfigurationFactory] No configuration found.
Configuring ehcache from ehcache-failsafe.xml found in the classpath:
jar:file:/C:/LiferayAll
/webapps/alfresco/WEB-INF/lib/ehcache-1.3.0.jar!/ehcache-failsafe.xml
23:27:12,648 WARN [CacheManager] Creating a new instance of
CacheManager using the diskStorePath "C:\LiferayAll\temp" which is
already used by an existing Cach
eManager.
The source of the configuration was classpath.
The diskStore path for this CacheManager will be set to C:\LiferayAll
\temp\ehcache_auto_created_1220441232648.
To avoid this warning consider using the CacheManager factory methods
to create a singleton CacheManager or specifying a separate ehcache
configuration (ehcache
.xml) for each CacheManager instance.
23:27:14,178 ERROR [ConfigurationChecker] CONTENT INTEGRITY ERROR:
System content not found in content store.
23:27:14,178 ERROR [ConfigurationChecker] Ensure that the 'dir.root'
property is pointing to the correct data location.
23:27:14,178 ERROR [ContextLoader] Context initialization failed
org.alfresco.error.AlfrescoRuntimeException: Ensure that the
'dir.root' property is pointing to the correct data location.
at
org.alfresco.repo.admin.ConfigurationChecker.check(ConfigurationChecker.java:
312)
at org.alfresco.repo.admin.ConfigurationChecker.access
$000(ConfigurationChecker.java:72)
at org.alfresco.repo.admin.ConfigurationChecker
$1.execute(ConfigurationChecker.java:178)
at
org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:
225)
at
org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:
155)
at
org.alfresco.repo.admin.ConfigurationChecker.onBootstrap(ConfigurationChecker.java:
182)
at
org.alfresco.util.AbstractLifecycleBean.onApplicationEvent(AbstractLifecycleBean.java:
62)
... still more entries