remote virtualization server
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2007 10:52 AM
I was hoping someone could point me to the few config files that I would need to change to get this all to work.
virt server:
<tomcat-home>/conf/alfresco-shared.properties# Name of the host running AVM#avm.remote.host=localhostavm.remote.host=10.4.4.34# AVMRemote APIavm.remote.port=50500
error log
WARNING: Could not connect to RMI service [rmi://10.4.4.34:50500/authentication] - retryingjava.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)Caused by: org.springframework.remoting.RemoteConnectFailureException: Cannot connect to remote service [rmi://10.4.4.34:50500/authentication]; nested exception is java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is: java.net.ConnectException: Connection refused at org.springframework.remoting.rmi.RmiClientInterceptorUtils.convertRmiAccessException(RmiClientInterceptorUtils.java:171) at org.springframework.remoting.rmi.RmiClientInterceptor.doInvoke(RmiClientInterceptor.java:297) at org.springframework.remoting.rmi.RmiClientInterceptor.refreshAndRetry(RmiClientInterceptor.java:280) at org.springframework.remoting.rmi.RmiClientInterceptor.handleRemoteConnectFailure(RmiClientInterceptor.java:252) at org.springframework.remoting.rmi.RmiClientInterceptor.invoke(RmiClientInterceptor.java:212) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176) at $Proxy0.authenticate(Unknown Source) at org.alfresco.jndi.AVMFileDirContext.InitAVMRemote(AVMFileDirContext.java:277) at org.alfresco.catalina.host.AVMHost.init(AVMHost.java:325) at org.alfresco.catalina.host.AVMHost.start(AVMHost.java:500) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442) at org.apache.catalina.core.StandardService.start(StandardService.java:450) at org.apache.catalina.core.StandardServer.start(StandardServer.java:709) at org.apache.catalina.startup.Catalina.start(Catalina.java:551) … 6 moreCaused by: java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is: java.net.ConnectException: Connection refused at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:574) at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185) at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171) at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:94) at org.springframework.remoting.rmi.RmiInvocationWrapper_Stub.invoke(Unknown Source) at org.springframework.remoting.rmi.RmiClientInterceptor.doInvoke(RmiClientInterceptor.java:347) at org.springframework.remoting.rmi.RmiClientInterceptor.doInvoke(RmiClientInterceptor.java:294) … 20 moreCaused by: java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) at java.net.Socket.connect(Socket.java:516) at java.net.Socket.connect(Socket.java:466) at java.net.Socket.<init>(Socket.java:366) at java.net.Socket.<init>(Socket.java:179) at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22) at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128) at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:569)
I am certain I have the username and password correct. Is there something I have to change? I don't know if I'm being all that clear, sorry about that.
Charlie
- Labels:
-
Archive
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2007 01:59 PM
My server running Alfresco is 10.4.4.34. My server running the virtualization server is 10.4.4.36.
So, should the <alf_home>/WEB-INF/classes/alfresco/alfresco-shared.properties file have:
avm.remote.host=10.4.4.34oravm.remote.host=10.4.4.36
And then, should the virtualization server's
<virt_home>/conf/alfresco-shared.properties file have:
avm.remote.host=10.4.4.34oravm.remote.host=10.4.4.36
So, should each server point at the other? Should they both point at the virtualization server's IP? Should they both point to the Alfresco server's IP?
Thanks for the help.
Charlie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2007 07:13 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2007 09:32 AM
When both alfresco-shared.properties files point to "localhost" it works fine. So, now that they are on different machines, how should they be configured?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2007 10:54 AM
Thanks!
- Gennaro
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2007 12:19 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2007 03:25 PM
This question has been asked/answered before,
but just to double-check, did you get an answer?
I'm in the midst of walking through old forum
posts looking for loose ends, and am hoping
you're all set now. If not, please let me know.
Thanks,
-Jon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2007 03:35 PM
We've been unsucessful in setting up remote virtualization this far, so we just wanted to have a look at some example .properties files where this was done. Have any examples?
Thanks!
- Gennaro
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2007 03:36 PM
Thanks Jon!
- G

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2007 04:07 PM
http://issues.alfresco.com/browse/WCM-750
you had to either start the virt server after the
alfresco webapp, or put it in a retry loop.
This has since been fixed in 2.1 ENTERPRISE,
and should make it into other branches some time
in the not too distant future.
