many thanks Giancarlo
I had localhost on my author instance. The public instance had the ip address 
and was fine.
I hadnt considered that the public instance was going to communicate back with 
the author instance and hence needed a real ip address instead of localhost.

I replaced localhost with the real ip address and it all works fine now.


BTW magnoliaPublic/.magnolia is the default that allows GUI access into the 
public instance.
The mime mapping hasnt been done and hence the error. I dont believe it has any 
impact on activation though.

Also any clue on why public instance(magnoliaPublic/.magnolia - look at 
config/subscriber) has subscriber configuration details. I am not sure why that 
feature is available. When is it required.

regards
Vivek


> Giancarlo F. Berner <[email protected]> wrote:
> 
> Hi Vivekpande
> 
> Check my comments in-line.
> 
> /giancarlo
> 
> vivekpande wrote:
> 
> >I have been activating from author to public successfully on my local 
> installation (both public and author on the same machine)
> >
> >Recently i moved to an environment where the author and public instance 
> are on seperate machines.
> >I get a "connection refused" error .. error log beneath.
> >
> >- in the author instance - config/subscriber/sbuscriberconfig/address - 
> I am pointing to the ip address of the public instance
> >  
> >
> How does that address look like? According to the error-message it 
> sounds like you have something like ".magnolia".
> 
> >- I have set request confirmation to false
> >- I am using the same username/password on both author and public.
> >  
> >
> What have you set for property "senderURL"? This is an important 
> setting, since the instance, you replicate to, will need this address to 
> 
> call back. Make sure that it's set correct and pointing to the current 
> (Author-) instance (e.g. http://192.168.88.33:8080/magnoliaAuthor, [note 
> 
> the leading "http"]).
> 
> Notice to: If you are replicating from dynamic ip-address (e.g. notebook 
> 
> connected over a provider to the internet), you can not replicate! In 
> this case make an XML-export, switch to the receiving instance and 
> import the XML.
> 
> 
> >I also noticed that the magnoliaPubic/.magnolia public instance GUI has 
> similar conf/subcriber details. Is this relevant. Not sure where this 
> would be used. 
> >
> >
> >Any help much appreciated
> >Vivek
> >
> >-----------
> >INFO   info.magnolia.cms.beans.config.MIMEMapping 
> MIMEMapping.java(getMIMEType:163) 19.10.2005 13:05:23  Cannot find MIME 
> type for extension "magnolia"
> >INFO   info.magnolia.cms.beans.config.MIMEMapping 
> MIMEMapping.java(getMIMEType:163) 19.10.2005 13:05:23  Cannot find MIME 
> type for extension "magnolia"
> >ERROR  info.magnolia.cms.exchange.simple.SimpleExchangeServlet 
> SimpleExchangeServlet.java(doGet:140) 19.10.2005 13:29:36  Connection 
> refused: connect
> >java.net.ConnectException: Connection refused: connect
> >     at java.net.PlainSocketImpl.socketConnect(Native Method)
> >     at java.net.PlainSocketImpl.doConnect(Unknown Source)
> >     at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
> >     at java.net.PlainSocketImpl.connect(Unknown Source)
> >     at java.net.Socket.connect(Unknown Source)
> >     at java.net.Socket.connect(Unknown Source)
> >     at sun.net.NetworkClient.doConnect(Unknown Source)
> >     at sun.net.www.http.HttpClient.openServer(Unknown Source)
> >     at sun.net.www.http.HttpClient.openServer(Unknown Source)
> >     at sun.net.www.http.HttpClient.<init>(Unknown Source)
> >     at sun.net.www.http.HttpClient.New(Unknown Source)
> >     at sun.net.www.http.HttpClient.New(Unknown Source)
> >     at 
> sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown 
> Source)
> >     at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown 
> Source)
> >     at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
> >     at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown 
> Source)
> >     at 
> info.magnolia.cms.exchange.simple.SimpleExchangeServlet.activate(SimpleEx
> changeServlet.java:201)
> >     at 
> info.magnolia.cms.exchange.simple.SimpleExchangeServlet.doGet(SimpleExcha
> ngeServlet.java:119)
> >     at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> >     at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> >     at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicat
> ionFilterChain.java:252)
> >     at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilte
> rChain.java:173)
> >     at 
> info.magnolia.cms.filters.SecurityFilter.doFilter(SecurityFilter.java:73)
> 
> >     at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicat
> ionFilterChain.java:202)
> >     at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilte
> rChain.java:173)
> >     at 
> info.magnolia.cms.filters.MultipartRequestFilter.doFilter(MultipartReques
> tFilter.java:80)
> >     at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicat
> ionFilterChain.java:202)
> >     at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilte
> rChain.java:173)
> >     at 
> info.magnolia.cms.filters.ContentTypeFilter.doFilter(ContentTypeFilter.ja
> va:65)
> >     at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicat
> ionFilterChain.java:202)
> >     at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilte
> rChain.java:173)
> >     at 
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve
> .java:213)
> >     at 
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve
> .java:178)
> >     at 
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:
> 126)
> >     at 
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:
> 105)
> >     at 
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.j
> ava:107)
> >     at 
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:14
> 8)
> >     at 
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856
> )
> >     at 
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processCo
> nnection(Http11Protocol.java:744)
> >     at 
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.
> java:527)
> >     at 
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowe
> rWorkerThread.java:80)
> >     at 
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.
> java:684)
> >     at java.lang.Thread.run(Unknown Source)
> >
> >----------------------------------------------------------------
> >for list details see
> >http://www.magnolia.info/en/magnolia/developer.html
> >----------------------------------------------------------------
> >
> >
> >
> >  
> >
> 
> 
> ----------------------------------------------------------------
> for list details see
> http://www.magnolia.info/en/magnolia/developer.html
> ----------------------------------------------------------------

Vivek Pande
0402438654

----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------

Reply via email to