tracker issue : CF-3043339

select a category, or use search below
(searches all categories and all time range)
Title:

Bug 86295:(Watson Migration Closure)With the release of Coldfusion 9

| View in Tracker

Status/Resolution/Reason: Closed/Won't Fix/LowImpact

Reporter/Name(from Bugbase): Barry C / Barry C (BAZZ C)

Created: 02/09/2011

Components: Text Search, Solr

Versions: 9.0.1

Failure Type: Unspecified

Found In Build/Fixed In Build: 0000 /

Priority/Frequency: Minor / Unknown

Locale/System: English / Platforms All

Vote Count: 0

Problem:

With the release of Coldfusion 9.0.1 updater, it secures the Solr search service by locking down 'Jetty' to localhost only. (also mentioned in tech note http://kb2.adobe.com/cps/807/cpsid_80719.html as a manual workaround) This means that remote servers that need to use those collections for searching can no longer access the search collections. The trouble is, there does not seem to be a way to give other servers access even when adding an additional SocketConnector statement as it generates the error posted.
Method:

Edit the ../WEB-INF/cfusion/solr/etc/jetty.xml file (in multiserver install configuration in my case) and add something similar to below after the existing SocketConnector segment: (which is supposed to allow access from a remote IP according to the sparse ammount of documentation there is on it :))<Call name="addConnector">      <Arg>          <New class="org.mortbay.jetty.bio.SocketConnector">            <Set name="Host">130.123.108.13</Set>            <Set name="port"><SystemProperty name="jetty.port" default="8983"/></Set>            <Set name="maxIdleTime">50000</Set>            <Set name="lowResourceMaxIdleTime">1500</Set>          </New>      </Arg>    </Call>
Result:

failed SocketConnector @ 130.123.108.13:8983java.net.BindException: Cannot assign requested addressat java.net.PlainSocketImpl.socketBind(Native Method)at java.net.PlainSocketImpl.bind(Unknown Source)at java.net.ServerSocket.bind(Unknown Source)at java.net.ServerSocket.<init>(Unknown Source)at org.mortbay.jetty.bio.SocketConnector.newServerSocket(SocketConnector.java:78)at org.mortbay.jetty.bio.SocketConnector.open(SocketConnector.java:72)at org.mortbay.jetty.AbstractConnector.doStart(AbstractConnector.java:252)at org.mortbay.jetty.bio.SocketConnector.doStart(SocketConnector.java:145)at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)at org.mortbay.jetty.Server.doStart(Server.java:221)at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)at org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:929)at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)at java.lang.reflect.Method.invoke(Unknown Source)at org.mortbay.start.Main.invokeMain(Main.java:183)at org.mortbay.start.Main.start(Main.java:497)at org.mortbay.start.Main.main(Main.java:115)

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3043339

External Customer Info:
External Company:  
External Customer Name: Barry C
External Customer Email: 495F00C5470E9A5B9920154A
External Test Config: 02/09/2011

Attachments:

Comments: