cancel
Showing results for 
Search instead for 
Did you mean: 

Error connecting to virtualization server

klwalker
Champ in-the-making
Champ in-the-making
I have Alfresco Community 2.1 installed on a remote JBoss server, and the Tomcat virtual server is installed on that same server.  The "Preview Website" feature is working fine, but I still get an error message that prints in the server.log about every 5 seconds that says:

Could not connect to virtualization server: service:jmx:rmi://ignored/jndi/rmi://10-1-15-246.ip.alfrescodemo.net:50501/alfresco/jmxrmi

The avm.remote.host property in $VIRTUAL_TOMCAT_HOME/conf/alfresco-shared.properties is set to localhost and the alfresco.virtserver.domain property in  $VIRTUAL_TOMCAT_HOME/conf/alfresco-virtserver.properties is set to 10-1-15-246.ip.alfrescodemo.net.

Does anyone know why I'm getting these error messages, even though it seems to be working fine?  This doesn't happen on my local installation, where I left the alfresco.virtserver.domain property set to 127-0-0-1…
3 REPLIES 3

jcox
Champ in-the-making
Champ in-the-making
Make sure the RMI ports are not blocked,
double check the IP address,  and be certain
to restart the virt server if you modify the
alfresco.virtserver.domain property within
$VIRTUAL_TOMCAT_HOME/conf/alfresco-virtserver.properties

See also: 
http://wiki.alfresco.com/wiki/Virtualization_Server_FAQ#What_ports_does_the_virtualization_server_ne...

jcox
Champ in-the-making
Champ in-the-making
On the community branch, the java property names for the
alfresco RMI host & port were changed, but not all of the
spring config files were updated accordingly.   This can cause
difficulties connecting.

As of  http://issues.alfresco.com/browse/CHK-2084 on HEAD,
the problem has been resolved.

jcox
Champ in-the-making
Champ in-the-making
This issue has also been corrected on the 2.2E branch as of
http://issues.alfresco.com/browse/CHK-2093

In case you need to refer to the closed bug number, it's:
http://issues.alfresco.com/browse/WCM-1034