cancel
Showing results for 
Search instead for 
Did you mean: 

Tomcat run error

angfal
Champ in-the-making
Champ in-the-making
1). I have source for Alfresco 2.0, how version of Tomcat I must to use for development?

2). What's a "root directory"? This is any directory?
13 REPLIES 13

gavinc
Champ in-the-making
Champ in-the-making
You can use any available 5.5.x version of Tomcat, I believe the latest is 5.5.23.

Yes, the "root" directory is just a directory, it's the location to use for all Alfresco's data files and content.

angfal
Champ in-the-making
Champ in-the-making
Thanks!!!

angfal
Champ in-the-making
Champ in-the-making
Another one problem:


When I'm started Tomcat, I'm have next message:

ERROR org.alfresco.repo.content.transform.magick.AbstractImageMagickContentTransformer] ImageMagickContentTransformer not available: Failed to execute command: imconvert "D:\centric_environment\Tomcat 5.5\temp\Alfresco\ImageMagickContentTransformer_init_source_54736.gif"  "D:\centric_environment\Tomcat 5.5\temp\Alfresco\ImageMagickContentTransformer_init_target_54737.png"

WARN  [org.springframework.remoting.rmi.RmiRegistryFactoryBean] Could not detect RMI registry - creating new one

WARN  [org.alfresco.util.OpenOfficeConnectionTester] A connection to OpenOffice could not be established.

INFO  [org.alfresco.repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: c:\temp\alfresco

ERROR [org.alfresco.repo.admin.ConfigurationChecker] CONTENT INTEGRITY ERROR: Indexes not found for 5 stores.

INFO  [org.alfresco.repo.admin.ConfigurationChecker] You may set 'index.recovery.mode=FULL' if you need to rebuild the indexes.

ERROR [org.alfresco.repo.admin.ConfigurationChecker] CONTENT INTEGRITY ERROR: System content not found in content store.

ERROR [org.alfresco.repo.admin.ConfigurationChecker] Ensure that the 'dir.root' property is pointing to the correct data location.

ERROR [org.springframework.web.context.ContextLoader] Context initialization failed
org.alfresco.error.AlfrescoRuntimeException: Ensure that the 'dir.root' property is pointing to the correct data location.

Whats the problem?

gavinc
Champ in-the-making
Champ in-the-making
I would guess that you have deleted the c:\temp\alfresco folder. The contents of this folder need to remain in place as it holds all the index files and content for the repository.

If this is the case the best thing to do would be to point dir.root to somewhere other than c:\temp then re-create your database and restart Alfresco.

sofie24
Champ in-the-making
Champ in-the-making
Hi

I have the same problem:


13:07:40,546 WARN  [org.springframework.remoting.rmi.RmiRegistryFactoryBean] Could not detect RMI registry - creating new one
13:07:55,968 INFO  [org.alfresco.repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: c:\Alfresco\alf_data
13:07:56,171 ERROR [org.alfresco.repo.admin.ConfigurationChecker] CONTENT INTEGRITY ERROR: Indexes not found for 5 stores.
13:07:56,171 INFO  [org.alfresco.repo.admin.ConfigurationChecker] You may set 'index.recovery.mode=FULL' if you need to rebuild the indexes.
13:07:56,171 ERROR [org.alfresco.repo.admin.ConfigurationChecker] CONTENT INTEGRITY ERROR: System content not found in content store.
13:07:56,171 ERROR [org.alfresco.repo.admin.ConfigurationChecker] Ensure that the 'dir.root' property is pointing to the correct data location.
13:07:56,171 ERROR [org.springframework.web.context.ContextLoader] Context initialization failed
org.alfresco.error.AlfrescoRuntimeException: Ensure that the 'dir.root' property is pointing to the correct data location.

But the dir.root, in this case C:\Alfresco\alf_data, is not removed.

Anyone who knows how to solve this??

Thanks in advance

Sofie

mruflin
Champ in-the-making
Champ in-the-making
Delete all indexes (alf_data/lucene-indexes), then add

index.recovery.mode=FULL

to custom-repository.properties and restart Alfresco. Alfresco will then regenerate the indexes for you. After successful recreation, remove the above line.

For a complete description see http://wiki.alfresco.com/wiki/Upgrading_to_1.4.0#Upgrading_to_1.4.x_After_Index_Rebuilds

sofie24
Champ in-the-making
Champ in-the-making
No that didn't help. There was a problem with the virtual machine on which I installed Alfresco. So no solution would have helped.

But thanks anyway

Sofie

angfal
Champ in-the-making
Champ in-the-making
I did solve this problem!

Thanks for all!!!

srao
Champ in-the-making
Champ in-the-making
I did solve this problem!

Thanks for all!!!


How did you solve this problem?  BTW. I am using Linux server.  so what does c:/temp mean to me?

Thanks for the help in advance.
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.