cancel
Showing results for 
Search instead for 
Did you mean: 

Installing a few of alfresco instances

sf_urzl
Champ in-the-making
Champ in-the-making
Hello everyone,

i want to install a few of alfresco systems on the same machine. Is this possible or supported? My problem is the changing of all ports alfresco use. Where can i do this?

Thank you for helping me.

Regards,
SF
5 REPLIES 5

mrogers
Star Contributor
Star Contributor
Yes its possible to run more than one instance of alfresco on the same IP address.

The first file to change is your application server.
In tomcat's case the conf/server.xml.   Search for the word "port".   There are four ports that you may need to change to have two instances of tomcat running independently.

These are my settings in my second instance of alfresco-global.properties.
You will need to make sure each instance has its own database (db.name) and content store (dir.root).

alfresco.rmi.services.port=60500
avm.rmi.service.port=60501
avmsync.rmi.service.port=60502
attribute.rmi.service.port=60503
authentication.rmi.service.port=60504
repo.rmi.service.port=60505
action.rmi.service.port=60506
deployment.rmi.service.port=60507

You will also need to turn off or move the cifs, ftp, email, imap subsystems.

sf_urzl
Champ in-the-making
Champ in-the-making
Thank you. I have done the changes, but i have some problems.

At first, i can not login in alfresco share on the first instance (there is no valid password or username…).

And the second instance throw this exception:

INFO: Deploying web application archive studio.war
Exception in thread "AlfrescoJbpmJobExecutor:127.0.0.2:1" java.lang.NullPointerException
        at org.jbpm.job.executor.JobExecutorThread.run(JobExecutorThread.java:80)


Regards,
SF

sf_urzl
Champ in-the-making
Champ in-the-making
Additional:
If i reconfig the port 8080 in file server.xml i can start the server and i can call the login screen but i can't login. I get everytime the message that the remote server isn't available…?

Please help!

Thx, regards,
SF

PS: Why there exist no documentation about this topic?

Additional 2:
I can log in to alfresco, but not into alfresco share! This means i need to specify a port for alfresco share, isn't it?

sf_urzl
Champ in-the-making
Champ in-the-making
Last update:

Both instances of alfresco running. I have set the vti ports and so i can start Alfresco ECM.

BUT: What can i do if i want to use alfresco share?

Regards,
SF

ssaravanan
Champ in-the-making
Champ in-the-making
For Share, you might need to edit one of the configs in the /tomcat/shared…. web-extension folder, to point to your correct port of Alfresco.