cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco won't start

pedroparamo
Champ in-the-making
Champ in-the-making
I've installed Afresco 3.1  Final (Mac version) but it will not start when I click on the Alfresco icon.   the app gets hung up at

"org.apache.catalina.startup.Catalina start INFO: Server startup in 25475 ms"

What can I do to fix this and get this app running?

Thanks.

Pedro
9 REPLIES 9

mikeh
Star Contributor
Star Contributor
It looks like the server has started. You need to point a web browser at http://localhost:8080/alfresco or http://localhost:8080/share

Mike

pedroparamo
Champ in-the-making
Champ in-the-making
when i point my browser to

http://localhost:8080/alfresco

I get the message "The requested resource () is not available.  Apache Tomcat/6.0.18

My company firewall may be blocking TCP access and it may be difficult for me to get my IT department to allow all my ports to be open.   I have noticed that the server number is different each time I've tried to start the app–Is there a way to set the Alfresco preferences so that it uses the same port all the time?  My IT department may allow that.

Is there a way to run this app without TCP access?  I'd like to test it.

Thanks.

Pedro

mrogers
Star Contributor
Star Contributor
You can control all of Alfresco's TCP ports.   And they will already be the same for each time you run the app.

However if you are having issues with Tomcat's 8080 port then that's the first issue to look at.

BTW what do you mean by a "server number"?

pedroparamo
Champ in-the-making
Champ in-the-making
So how would I resolve this issue with Tomcat?

thanks.

Pedro

nadaoneal
Champ in-the-making
Champ in-the-making
You can set the port that tomcat is using (8080 or whatever) in $CATALINA_HOME/conf/server.xml . (Search for 8080 to find the right sections.) If nothing else is running on the server, you could switch tomcat to using another port, like 80.

~alternately~

If you have Apache running on the machine, you could also edit Apache's configuration to provide a "proxy pass" 80 to 8080, approximately like so:
<VirtualHost *:80>
        [… blah blah blah …]

   ProxyPass / https://127.0.0.1:8080/
   ProxyPassReverse / https://127.0.0.1:8080/
   ProxyPreserveHost on
</VirtualHost>

Use one or the other method! Don't change tomcat's port AND use a proxy pass; you'll be very sad if you do.

Either of the above methods will allow your browser to talk to tomcat on, say, port 80. However, I think that 8080 will still need to be open in the server's firewall (e.g., in iptables for a linux server) - can you open that up yourself or do you need your IT dept to do it?

I'm also curious what you mean by a "server number". Are you looking at the "server startup in 1234567 ms" line? That's just an indication of how long the server took to start up, it's not identifying information.

jpsalter
Champ in-the-making
Champ in-the-making
I have the same problem using OS 10.5.7.

I followed the Mac install video tutorial exactly and it didn't work. After trying to start and stop Alfresco multiple times – it suddenly stated working. One reboot later and I'm back to the same problem. It does seem like something is grabbing port 8080 before tomcat. Changing the port in the server.xml file didn't work.

jpsalter
Champ in-the-making
Champ in-the-making
Okay - a fresh restart and the Alfresco startup app gets it going.

If you then startup MAMP http://www.mamp.info/en/index.html it kills Alfresco. Also, the startup app is confusing since it looks like it is hanging after the web server is launched. But, I guess it just doesn't know how to quit once the script is finished.

mautidavis
Champ in-the-making
Champ in-the-making
I've installed Afresco 3.1  Final (Mac version) but it will not start when I click on the Alfresco icon.   the app gets hung up at

"org.apache.catalina.startup.Catalina start INFO: Server startup in 25475 ms"

What can I do to fix this and get this app running?

Thanks.

Pedro

Dear all,

I'm sort of having the same problem such that when I point the browser to http://localhost:8080/alfresco the browser just runs continuously but displays nothing. What might be the problem?

Please help.
Regards,
Davis

mrogers
Star Contributor
Star Contributor
You need to find and look for errors in your Alfreco.log file before anyone can help.