Closed GoogleCodeExporter closed 8 years ago
Fixed in Connector Manager revision r878
The previous incarnation attempted to handle feed host/port
changes by shutting down the webapp and trying to restart it.
As it is, only one thing cared about the feed host and port
(outside of the Context) - GsaFeedConnection. So I added a
setter method to GsaFeedConnection that takes the host and port
and call that from Context.setConnectorManagerConfig(). The
next document pushed will be pushed to the new feed host/port.
No shutting down of the web app or restarting Tomcat is neccessary.
Change Log:
----------
M source/java/com/google/enterprise/connector/pusher/GsaFeedConnection.java
- New setFeedHostAndPort() method regenerates the feed URL used.
M source/java/com/google/enterprise/connector/manager/Context.java
- setConnectorManagerConfig() calls GsaFeedConnection.setFeedHostAndPort()
(and also refreshes the Context's cached gsaFeedHost variable),
rather than shutting down and restarting.
Original comment by Brett.Mi...@gmail.com
on 3 Jul 2008 at 8:09
Original comment by mgron...@gmail.com
on 3 Jul 2008 at 4:56
Original issue reported on code.google.com by
jeffreyl...@gmail.com
on 21 May 2008 at 11:08