cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco in RedHat...

afdiaz
Champ in-the-making
Champ in-the-making
Hi!…
Well… I've installed Alfresco successfully in a RedHat 5.4 version. Of course, it's a server with a fix IP and ready to share documents and resources!.

I've started alfresco.sh, then I've tried to access in http://myIP:8080/share, I've entered the username 'admin' ans password 'admin' but I get the following message:

Failed to Login
The remote server may be unavailable or your authentication details have not been recognized.

No other application is running in port 8080, so what can be the problem?

Thank you!
15 REPLIES 15

gronfelt
Champ in-the-making
Champ in-the-making
Are there any errors in alfresco.log or catalina.out?

afdiaz
Champ in-the-making
Champ in-the-making
Thank you…

in alfresco.log

11:12:00,799 INFO  [org.alfresco.config.JndiPropertiesFactoryBean] Loading properties file from class path resource [alfresco/repository.properties]
11:12:00,802 INFO  [org.alfresco.config.JndiPropertiesFactoryBean] Loading properties file from class path resource [alfresco/domain/transaction.properties]
11:12:00,802 INFO  [org.alfresco.config.JndiPropertiesFactoryBean] Loading properties file from URL [file:/opt/Alfresco/tomcat/shared/classes/alfresco-global.properties]
11:12:01,113 INFO  [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
11:12:18,015 ERROR [org.springframework.web.context.ContextLoader] Context initialization failed

and in catalina.out

CompilerOracle: exclude org/apache/lucene/index/IndexReader$1.doBody
CompilerOracle: exclude org/alfresco/repo/search/impl/lucene/index/IndexInfo$Merger.mergeIndexes
CompilerOracle: exclude org/alfresco/repo/search/impl/lucene/index/IndexInfo$Merger.mergeDeletions
Sep 25, 2009 8:34:58 AM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Sep 25, 2009 8:34:58 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1021 ms
Sep 25, 2009 8:34:58 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Sep 25, 2009 8:34:58 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.18
Sep 25, 2009 8:34:58 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive share.war
08:35:16,756  INFO  [web.site.FrameworkHelper] Successfully Initialized Web Framework
Sep 25, 2009 8:35:16 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive alfresco.war
Sep 25, 2009 8:35:25 AM org.apache.catalina.core.StandardContext addApplicationListener
INFO: The listener "org.apache.myfaces.webapp.StartupServletContextListener" is already configured for this context. The duplicate definition has been ignored.
08:35:45,138  INFO  [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from class path resource [alfresco/repository.properties]
08:35:45,140  INFO  [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from class path resource [alfresco/domain/transaction.properties]
08:35:45,140  INFO  [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from URL [file:/opt/Alfresco/tomcat/shared/classes/alfresco-global.properties]
08:35:46,000  INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
08:36:07,005  ERROR [web.context.ContextLoader] Context initialization failed

:roll: ?

dward
Champ on-the-rise
Champ on-the-rise
Are there no lines in alfresco.log after that?

Make sure you are using Sun JDK 1.6 and Tomcat 6 (not the pre-packaged Red Hat one).

afdiaz
Champ in-the-making
Champ in-the-making
Yes… I've installed the latest repo of JDK and I've updated the the Tomcat through the yum.

The  alfresco.log file doesn't contain more information.

gronfelt
Champ in-the-making
Champ in-the-making
Have you tried installing using the Alfresco installer? If you don't want to do that for some reason, you might want to try to install an Alfresco thats bundled with tomcat, like this:

http://process.alfresco.com/ccdl/?file=release/community/build-2039/alfresco-community-tomcat-3.2.ta...

Also make sure that JAVA_HOME points to the Sun JDK.

afdiaz
Champ in-the-making
Champ in-the-making
Well… I'll unistall the current Alfresco and re-install it with the link that you provided me.

May I assume that a default installation of JAVA through yum in linux is pointing out to the Sun JDK?

Thank you.

gronfelt
Champ in-the-making
Champ in-the-making
I think that Sun's JDK is called java-1.6.0-sun-devel in RedHat, but I don't think its available in the standard repo, you need to use the supplementary channel, or download it from Sun's website. Beginning with RHEL 5.3 I believe that OpenJDK (which is not compatible with Alfresco) is the standard JDK.

If you have several JDK versions (OpenJDK and Sun JDK for instance) installed you could use the alternatives command to switch between them, however, in my opinion the easiest solution is to make sure that the JAVA_HOME environment variable points to the Sun JDK location before launching Alfresco. I'm not sure what that location would be in RHEL, but in CentOS it's normally /usr/java/default, when Sun JDK is installed with a RPM from the Sun website.

If you install Alfresco using the installer (http://wiki.alfresco.com/wiki/Download_Community_Edition) a startup script is installed, where JAVA_HOME may be defined, so that Alfresco is always using the correct JDK.

dward
Champ on-the-rise
Champ on-the-rise
The yum-installed Tomcat probably won't work. You need to download and extract the Tomcat 6 .tar.gz or use the Alfresco-bundled one.

afdiaz
Champ in-the-making
Champ in-the-making
Hi..

Thank you gain by your useful help!… I found something during the fresh installation. In the Database configuration I get a error message: "No database selected (#3D000).  I've read that it's possible to uncheck the "Connect to database server and create a new database" option an them create this manually. Should I make that or something can be wrong?

Thank you.