Topic
IC4NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
8 replies Latest Post - ‏2011-11-08T16:21:38Z by SystemAdmin
Gaurav_Singhal
Gaurav_Singhal
24 Posts
ACCEPTED ANSWER

Pinned topic Not able to Deploy/customize Omnifind 9.1 search appliaction on WAS 7.0.0.5

‏2010-08-03T12:50:42Z |
Hi,

We have Installed Omnifind version 9.1 and we want to customize its search application code that is available with OmniFind Installation.

We are using ESSearchApplication and craeting its WAR file and trying to deploy it on WAS Application Server 7.0.0.5.

When we try to use this war from remote m/c then it shows not found error on port 9080.

Even if we have used all other port available i.e 8390, 8394, 8393, but it does not work.

If it is using Jetty Server please tell me how to deploy and execute application on Jetty Server,

OF version 9.1
WAS version 7.0.0.5
Windows server 2003.
Updated on 2011-11-08T16:21:38Z at 2011-11-08T16:21:38Z by SystemAdmin
  • Jochen
    Jochen
    42 Posts
    ACCEPTED ANSWER

    Re: Not able to Deploy/customize Omnifind 9.1 search appliaction on WAS 7.0.0.5

    ‏2010-08-03T16:47:37Z  in response to Gaurav_Singhal
    Hi Gaurav,

    ESSearchApplication is the old 8.5 search app that you only want to use if you have legacy 8.5 collections that do not support the new features of 9.1.
    In 9.1 the new search app is called "search" (context root), RAD project of which is in {ES_INSTALL_ROOT}/samples/search/rad/.
    This can be deployed either on WAS or on Jetty.
    Cheers, /Jochen
    • Gaurav_Singhal
      Gaurav_Singhal
      24 Posts
      ACCEPTED ANSWER

      Re: Not able to Deploy/customize Omnifind 9.1 search appliaction on WAS 7.0.0.5

      ‏2010-08-04T06:34:44Z  in response to Jochen
      thanx jochen.. you were of great help!! :)
    • Gaurav_Singhal
      Gaurav_Singhal
      24 Posts
      ACCEPTED ANSWER

      Re: Not able to Deploy/customize Omnifind 9.1 search appliaction on WAS 7.0.0.5

      ‏2010-08-04T09:11:11Z  in response to Jochen
      Dear Jochen,

      I have tried to deploy the "search" application as sugegsted by you. But the search page does not load further other than giving the message "loading" with errors on the page that pops up in the status bar. I have copied the error log which is as follows :

      Webpage error details

      User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.0.30729; .NET CLR 3.5.30729)
      Timestamp: Wed, 4 Aug 2010 08:51:30 UTC
      Message: 'dojo' is undefined
      Line: 1475
      Char: 3
      Code: 0
      URI: http://01hw265800:9080/search1/search.do?action=index
      Message: 'dojo' is undefined
      Line: 1483
      Char: 3
      Code: 0
      URI: http://01hw265800:9080/search1/search.do?action=index
      Message: 'dojo' is undefined
      Line: 888
      Char: 2
      Code: 0
      URI: http://01hw265800:9080/search1/js/util.jsp?-12345
      Message: 'dojo' is undefined
      Line: 1576
      Char: 3
      Code: 0
      URI: http://01hw265800:9080/search1/search.do?action=index
      Kindly suggest a workaround. thanx in advance
  • Jochen
    Jochen
    42 Posts
    ACCEPTED ANSWER

    Re: Not able to Deploy/customize Omnifind 9.1 search appliaction on WAS 7.0.0.5

    ‏2010-08-04T09:39:21Z  in response to Gaurav_Singhal
    Hi Gaurav,

    it seems you are using IE8.
    I got this checklist for IE from development. Maybe it helps.
    - Confirm security zone in which search application is shown
    - Confirm JavaScript is enabled in the zone
    The javascript is enabled except security level “high” by default
    - If you use server version OS (Windows 2003/2008)
    Because default level is high, search application doesn’t work under “Internet” zone
    Add search server as “Trusted Sites” or “Local Intranet” if zone is “Internet”
    - Thumbnail doesn't pop-up if user using IE7 or IE7 compatible mode of IE8
    Cheers, J.
    • Gaurav_Singhal
      Gaurav_Singhal
      24 Posts
      ACCEPTED ANSWER

      Re: Not able to Deploy/customize Omnifind 9.1 search appliaction on WAS 7.0.0.5

      ‏2010-08-04T11:31:11Z  in response to Jochen
      Hi J,

      I appreciate your quick reply.

      We are getting this error only after deploying the .war file of our own modified version of the seach applicaion on WAS. Otherwise when we launch the new search app called "search" (context root) , it is running absolutely fine with all our collections and crawlers up and running.

      Our major concern is to modify the UI of the search application and hence we are trying to deploy the .war file.

      I have confirmed the security zone, enabled java script(which was already enabled) and also tried adding it to the internet zone 'tusted sites'.

      Regards
      Gaurav
      • Gaurav_Singhal
        Gaurav_Singhal
        24 Posts
        ACCEPTED ANSWER

        Re: Not able to Deploy/customize Omnifind 9.1 search appliaction on WAS 7.0.0.5

        ‏2010-08-04T11:36:02Z  in response to Gaurav_Singhal
        the second screen shot is enclosed with this reply. which is running fine.

        you can check the address bar for port numbers and link location.
        • vineet_k84
          vineet_k84
          1 Post
          ACCEPTED ANSWER

          Re: Not able to Deploy/customize Omnifind 9.1 search appliaction on WAS 7.0.0.5

          ‏2011-11-04T15:50:09Z  in response to Gaurav_Singhal
          Hi Gaurav,

          I am facing the same issue , can you brief me about what you had done to resolve the issue. Thanks in advance
          • SystemAdmin
            SystemAdmin
            2014 Posts
            ACCEPTED ANSWER

            Re: Not able to Deploy/customize Omnifind 9.1 search appliaction on WAS 7.0.0.5

            ‏2011-11-08T16:21:38Z  in response to vineet_k84
            Hi,

            this is caused as the search application sample code has the setting "localDebug" set to "true" in file "WEB-INF/web.xml".

            This setting makes sense if you would like to modify the DOJO widgets of the search application.

            But if you do not need to alter the DOJO widgets just use the complied DOJO that already
            includes all search application widgets:

            I assume you use RAD or Eclipse for development:

            • Copy the folder “%ES_INSTALL_ROOT%\jetty\searchapp\search\dojo” from
            the OmniFind server to “\WebContent\dojo”. The file “\WebContent\dojo\dojo\dojo.js” now should have a file size of around 789 KB (the custom dojo build from the search app).

            • Set the parameter “localDebug” in “\WebContent\WEB-INF\web.xml to “false”, otherwise
            you will get JavaScript error “ dojo is not defined”.

            Using the compiled dojo is faster, but you can not debug locally into it.

            Kind regards,
            Marcell