Geoportal Search page redirects to home ?

3680
3
07-03-2014 03:00 AM
deleted-user-AYsXjhkrwuAA
New Contributor III
Hi

I'm in the process of deploying a new geoportal 1.2.5 installation, hosted on Oracle Glassfish server. 

http://inspire.dundeecity.gov.uk/geoportal/catalog/main/home.page

There seems to be a problem with the search functions and search page, whenever you try to navigate to the search page I'm redirected back to the home page. There is no error logged on the container, only warnings about mime-types not being defined.

I have tried deleting the lucene index files and setting a new directory for them. When doing this and publishing layers I can see the new index files being created, but still can't see the search page.

Does anyone have any suggestions on how I can fix this, or identify what the problem is ?

Everything worked well on 1.2.4, and I've been merging the look and feel and settings into the new version - however nothing is different on the search configuration or jsp's. 

Thanks

Andrew
0 Kudos
3 Replies
deleted-user-AYsXjhkrwuAA
New Contributor III
In the end I reinstalled geoportal from scratch and merged in the configuration and customisations again - this time it retained the search.

I'll leave the old, broken, pages up for a wee while at http://inspire.dundeecity.gov.uk/geoportal_broken/ in case anyone wants to check them out.

Don't know why the search page failed but if anyone experiences the same I'd suggest just reinstalling a new application.
0 Kudos
MartenHogeweg
Esri Contributor

thanks for keeping the broken portal up. I hope we can figure out still why it's broken. I see the behavior on the search tab as you point out, but the browse tab does work. I opened the 'live map services' folder in the browse tab and noticed some broken images (they should appear next to the title).

the image element is:

<img title="Live Map Services" alt="Live Map Services" src="/inspire.dundeecity.gov.uk/catalog/images/ContentType_liveData.png">

also: the link on the item to the preview page is:

http://inspire.dundeecity.gov.uk/inspire.dundeecity.gov.uk/catalog/search/resource/livedata-preview....

notice the double domain and lack of 'geoportal_broken' in the URL. this should give a hint as to what's wrong in the configuration. check that reverseProxy.baseContextPath is set to the user-face full URL, not a relative URL.

0 Kudos
deleted-user-AYsXjhkrwuAA
New Contributor III

Hi Marten

Thanks for that - I updated the baseContextPath and that helped improve things and I can access the browse tabs.

Andrew

0 Kudos