Topic
4 replies Latest Post - ‏2012-12-04T11:34:44Z by knitta
SystemAdmin
SystemAdmin
197 Posts
ACCEPTED ANSWER

Pinned topic ICA 3.0 Change Admin Port

‏2012-11-05T13:30:20Z |
Hi there,

we have a running ICA 3 w/o WAS. Now (please don't ask why) we have to move the ESAdmin Port from 8390 to 9300.

I changed the Port in the root\nodeinfo\es.cfg (AdminPort=9300)
and in all jetty.xml files (masterconfig, default_config ....)

I restarted ICA (esadmin system stop/startall)
I restarted the whole Windows

but still:

The ESAdmin works fine on Port 8390

any ideas?

chris
Updated on 2012-12-04T11:34:44Z at 2012-12-04T11:34:44Z by knitta
  • SystemAdmin
    SystemAdmin
    197 Posts
    ACCEPTED ANSWER

    Re: ICA 3.0 Change Admin Port

    ‏2012-11-06T17:13:08Z  in response to SystemAdmin
    Please change the port in these files:

    1. $ES_INSTALL_ROOT/nodeinfo/es.cfg
    2. $ES_NODE_ROOT/master_config/admin/jetty.xml
    3. $ES_NODE_ROOT/master_config/admin/jetty.properties

    Especially the third one should be important.

    Marcell
  • SystemAdmin
    SystemAdmin
    197 Posts
    ACCEPTED ANSWER

    Re: ICA 3.0 Change Admin Port

    ‏2012-11-07T13:55:13Z  in response to SystemAdmin
    I don't know why I missed the jetty.properties file, but it was the answer.

    The Joke, this is the full jetty.properties:

    
    JettyPort=8390
    


    Nothing else is in this file ...

    Thanks ans SOLVED
    • SystemAdmin
      SystemAdmin
      197 Posts
      ACCEPTED ANSWER

      Re: ICA 3.0 Change Admin Port

      ‏2012-12-03T15:41:58Z  in response to SystemAdmin
      Hi!
      Can anyone help me with setting up search application by default.
      I've change port to 80 and when I open ICA in browser by domain name I have Error page with hyperlinks to search and analysis application:
      
      No context on 
      
      this server matched or handled 
      
      this request. Contexts known to 
      
      this server are: /search ---> org.mortbay.jetty.webapp.WebAppContext@34313431
      {/search,C:\IBM\es\webapps/searchapp/search
      } /analytics ---> org.mortbay.jetty.webapp.WebAppContext@5110511
      {/analytics,C:\IBM\es\webapps/searchapp/analytics
      } /api/v10 ---> org.mortbay.jetty.webapp.WebAppContext@279e279e
      {/api/v10,C:\IBM\es\webapps/searchapp/rest
      }
      

      Thanks a lot.
      • knitta
        knitta
        1 Post
        ACCEPTED ANSWER

        Re: ICA 3.0 Change Admin Port

        ‏2012-12-04T11:34:44Z  in response to SystemAdmin
        Hi,

        port number settings are stored in $ES_NODE_ROOOT/master_config/searchapp/jetty-deployment.xml like following

        <Call name="addHandler">
        <Arg>
        <New class="org.mortbay.jetty.webapp.WebAppContext">
        <Set name="contextPath">/search</Set>
        <Set name="war"><SystemProperty name="jetty.home" default="."/>/searchapp/search</Set>
        <Set name="extractWAR">false</Set>
        <Set name="copyWebDir">false</Set>
        <Set name="defaultsDescriptor"><SystemProperty name="jetty.home" default="."/>/webdefault.xml</Set>
        <!--<Set name="overrideDescriptor"><SystemProperty name="session.config.dir" default="."/>override_web.xml</Set>-->
        </New>
        </Arg>
        </Call>

        So, you can realize your requirement if you set the contextPath to "/". After save this file, restarting ICA is required.