cancel
Showing results for 
Search instead for 
Did you mean: 

Connection Failure to remote Alfresco JMX Server

tvaughan77
Champ in-the-making
Champ in-the-making
Hi,

I built and deployed (from the HEAD) the latest alfresco labs code v3.0.0 (c1342) and made this small change to the repository.properties:

# Changing the avm.rmi.service.port from 50501 to 50509 to de-conflict with the Virtual
# preview server RMI port.  See this forum post for more details:
# http://forums.alfresco.com/en/viewtopic.php?f=9&t=15525&p=51437#p51437
avm.rmi.service.port=50509

When I start up the virtual server, I get this error (I added an extra INFO debug line to help me out).  Can anyone help out?


SEVERE: Connection failure to remote Alfresco JMX Server: Alfresco:Name=VirtServerRegistry,Type=VirtServerRegistry
Jan 5, 2009 11:21:37 AM org.alfresco.mbeans.VirtServerRegistrationThread registerVirtServer
INFO: Connection failure to remote Alfresco JMX server may be transient.  Retrying…
Jan 5, 2009 11:21:37 AM org.alfresco.mbeans.VirtServerRegistrationThread registerVirtServer
INFO: Connection information:
   virt_url is service:jmx:rmi://ignored/jndi/rmi://127-0-0-1.ip.alfrescodemo.net:50510/alfresco/jmxrmi
   virt_fqdn is 127-0-0-1.ip.alfrescodemo.net
   virt_http_port is 8180
11 REPLIES 11

tvaughan77
Champ in-the-making
Champ in-the-making
I've searched high and low through the forums and I'm still having this problem when I start the virtual server:


SEVERE: Connection failure to remote Alfresco JMX Server: Alfresco:Name=VirtServerRegistry,Type=VirtServerRegistry
Jan 6, 2009 12:33:06 PM org.alfresco.mbeans.VirtServerRegistrationThread registerVirtServer
INFO: Connection failure to remote Alfresco JMX server may be transient.  Retrying…
Jan 6, 2009 12:33:06 PM org.alfresco.mbeans.VirtServerRegistrationThread registerVirtServer

I tried the following and nothing seems to work:
    * Added avm.remote.host=localhost and avm.remote.port=50500 to both the tomcat and virtual-tomcat alfresco-shared.properties files
    * Changed tomcat's repository.properties avm.rmi.service.port to 50509 to avoid a potential collision
Is anyone else getting this problem?  I can't believe I'm the only one. . . this is with a fresh build of the HEAD of labs3c

mrogers
Star Contributor
Star Contributor
Fixed on HEAD.

tvaughan77
Champ in-the-making
Champ in-the-making
Confirmed / updated to HEAD and re-ran "ant build-tomcat" . . . working like a champ now, thanks a lot mrogers.

goldy736
Champ in-the-making
Champ in-the-making
hi,

Am also getting the same error "Connection Failure to remote Alfresco JMX Server" …what does Fix on Head denotes. Please explain in detail am new to alfresco .

my catalina log display following :

INFO: Server startup in 3218 ms
May 14, 2009 5:22:44 PM org.alfresco.mbeans.VirtServerRegistrationThread registerVirtServer
SEVERE: Connection failure to remote Alfresco JMX Server: Exception creating connection to: 10.0.0.4; nested exception is:
   java.net.NoRouteToHostException: No route to host: connect
May 14, 2009 5:22:44 PM org.alfresco.mbeans.VirtServerRegistrationThread registerVirtServer
INFO: Connection failure to remote Alfresco JMX server may be transient.  Retrying…
May 14, 2009 5:22:50 PM org.alfresco.mbeans.VirtServerRegistrationThread registerVirtServer

mrogers
Star Contributor
Star Contributor
It means it was fixed in January.

Your problem is the "No route to host" which usually means that there is an error in the network configuration.

goldy736
Champ in-the-making
Champ in-the-making
hi,

thnaks for ur reply …I wonder what is my mistake

When i run my alf_start.bat  it shows

May 14, 2009 8:01:51 PM org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
May 14, 2009 8:01:51 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1187 ms
May 14, 2009 8:01:51 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
May 14, 2009 8:01:51 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.23
May 14, 2009 8:01:51 PM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
May 14, 2009 8:01:53 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive alfresco.war
20:02:30,703  INFO  [config.xml.XMLConfigService$PropertyConfigurer] Loading properties f
20:02:44,140  INFO  [domain.schema.SchemaBootstrap] Schema managed by database dialect or
20:02:48,187  INFO  [domain.schema.SchemaBootstrap] No changes were made to the schema.
20:02:50,609  ERROR [util.exec.RuntimeExecBootstrapBean] Bootstrap command failed:

20:03:21,015 UserSmiley Frustratedystem INFO  [service.descriptor.DescriptorService] Alfresco started (Labs): Current version 3.0.0 (c 1342) schema 1000 - Installed version 3.0.0 (c 1342) schema
20:03:21,125 UserSmiley Frustratedystem WARN  [alfresco.linkvalidation.LinkValidationServiceImpl] LinkValidationService Update is not running (virtualization server not registered or started)
May 14, 2009 8:03:44 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive share.war
20:03:49,265  INFO  [web.scripts.DeclarativeRegistry] Registered 21 Web Scripts (+0 failed), 23 URLs
20:03:49,265  INFO  [web.scripts.AbstractRuntimeContainer] Initialised Presentation Web Script Container (in 372.9291ms)
20:03:53,343  INFO  [web.scripts.DeclarativeRegistry] Registered 134 Web Scripts (+0 failed), 136 URLs
20:03:53,343  INFO  [web.scripts.AbstractRuntimeContainer] Initialised WebFramework Web Script Container (in 4062.824ms)
20:03:53,437  INFO  [web.site.FrameworkHelper] Successfully Initialized Web Framework
May 14, 2009 8:03:53 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive studio.war
20:04:33,296  INFO  [web.site.FrameworkHelper] Successfully Initialized Web Framework
May 14, 2009 8:04:33 PM org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
May 14, 2009 8:04:33 PM org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
May 14, 2009 8:04:33 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 162453 ms
20:05:21,531 UserSmiley Frustratedystem INFO  [alfresco.linkvalidation.LinkValidationServiceImpl] LinkValidationService Update is running (connected to virtualization server)

my virtual server too started but could find the virtual drive in the system. Smiley Sad  am new to alfresco so if my questions are unorthodox please dont mistake…

Thank you !

mrogers
Star Contributor
Star Contributor
Your version is 3C (c1342) which has the problem described at the beginning of this thread by tvaughan77.

Either use his suggested fix or much better use a newer version of Alfresco.

goldy736
Champ in-the-making
Champ in-the-making
hi,
i did not get his fix clear .I did not understand what does it means " :?:   Confirmed / updated to HEAD and re-ran "ant build-tomcat"  " …..
I tried Enterprise and community version but both are cost …..can u please guide which version is good to use apart from this…
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.