cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco & Oracle DB - probably JAVA error

unknown-user
Champ on-the-rise
Champ on-the-rise
Hello Alfresco users.

Actually I'm trying to implement an Alfresco Server (based on RedHat) in our existing network environment by an installation over PuTTy.

But there are errors in the log file, I can't really explain or solve. Maybe a more experienced user already knows those messages. It looks like some kind of JAVA dysfunction. If you need anymore information on the local systems, ask me please. Although there are a lot of log entries in the catalina.out - TOMCAT is already active and reachable. Alfresco is not.

2nd question would be, if I do need to use ImageMagick, or is it more like an extra gimmick? And if I don't need it, is it possible to suppress these error messages in the log?

alfresco.log
solved

catalina.out

solved

I'll be grateful for any kind of help. Thanks in advance.

Chris
3 REPLIES 3

kevinr
Star Contributor
Star Contributor
The error:

java.rmi.AlreadyBoundException: alfresco/jmxrmi]
java.io.IOException: Cannot bind to URL [rmi://localhost:50500/alfresco/jmxrmi]: javax.naming.NameAlreadyBoundException: alfresco/jmxrmi [Root exception is java.rmi.AlreadyBoundException: alfresco/jmxrmi]

Suggest that some other process on the server (another jboss/tomcat?) is already using port 50500 - which is used as the default JNDI port.

You do not require Imagemagik if you do not need image transformation in Alfresco.

Thanks,

Kevin

unknown-user
Champ on-the-rise
Champ on-the-rise
Hi kevinr.

Thanks for your hint. Your right, the problem was a second pending instance of tomcat. These problems are solved now.

The unpleasant result are new difficulties that I can't stop. Let's have a look at the logfile.

13:05:40,382 ERROR [org.alfresco.repo.content.transform.magick.AbstractImageMagickContentTransformer] ImageMagickContentTransformer not available: Failed to execute command: convert /opt/alfresco/tomcat/temp/Alfresco/ImageMagickContentTransformer_init_source_28718.gif  /opt/alfresco/tomcat/temp/Alfresco/ImageMagickContentTransformer_init_target_28719.png
13:05:43,419 WARN  [org.springframework.remoting.rmi.RmiRegistryFactoryBean] Could not detect RMI registry - creating new one
13:05:47,651 WARN  [org.alfresco.util.OpenOfficeConnectionTester] A connection to OpenOffice could not be established.
13:06:01,711 INFO  [org.alfresco.repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: /opt/alfresco/alf_data
13:06:01,940 ERROR [org.alfresco.repo.admin.ConfigurationChecker] CONTENT INTEGRITY ERROR: Indexes not found for 5 stores.
13:06:01,940 INFO  [org.alfresco.repo.admin.ConfigurationChecker] You may set 'index.recovery.mode=FULL' if you need to rebuild the indexes.
13:06:01,940 ERROR [org.alfresco.repo.admin.ConfigurationChecker] CONTENT INTEGRITY ERROR: System content not found in content store.
13:06:01,940 ERROR [org.alfresco.repo.admin.ConfigurationChecker] Ensure that the 'dir.root' property is pointing to the correct data location.
13:06:01,946 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.

13:06:01,950 ERROR [org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/alfresco]] Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
org.alfresco.error.AlfrescoRuntimeException: Ensure that the 'dir.root' property is pointing to the correct data location.

I already tried to solve the problem by deleting the folders in 'alf_data/lucene-indexes' and rebuilding the indexes with the ('index.recovery.mode=FULL') command. Unfortunately I received the same error (CONTENT INTEGRITY ERROR: Indexes not found for 5 stores) again, right after restarting the first time without this command. The 'dir.root' I use, is the default folder 'alf_data' which is already built by the software. The only difference is, that I changed the path in the .properties file to the full path (/opt/alfresco/alf_data). Interesting could also be that the contentstore folder at @alf_data is completely empty.

May be somebody knows how to solve these problems?

Again, I'm thankful for any hint.

Chris

unknown-user
Champ on-the-rise
Champ on-the-rise
Okay, Server is up and running. Re-Installed the whole thing and a reset of the Oracle-DB helped solving the problem.

Chris