Foren

Home » Liferay Portal » English » 3. Development

Kombinierte Ansicht Flache Ansicht Baumansicht
Threads [ Zurück | Nächste ]
toggle
dominick campbell
QA / Production resource issue
6. Mai 2013 06:48
Antwort

dominick campbell

Rang: Junior Member

Nachrichten: 60

Eintrittsdatum: 15. August 2012

Neue Beiträge

Hi everyone

I am getting a strange issue when migrating Liferay 6.1.1 from our QA to our Production environment (please note that these environments are VM clones of each other and should theoretically be exactly the same). The only difference between these environments is a DNS lookup entry and certificate for our production VM server.

Liferay works perfectly behind our http QA server via http and https, but when i switch to using https on our Production server, I get errors without any error messages. The error is that it seems that all the custom portlets and custom themes cannot access certain resources within themselves. For instance all custom portlets cannot access images/css/js files but they can access the xhml and jar's. What is also peculiar is that the portlets cannot access their own custom servlet-mappings such as : /<Portlet-Name>/<Servlet-Mapping>

Now when i access these certain resources i get the 404 error :
 1
 2The page cannot be found
 3
 4The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.
 5Please try the following:
 6
 7Make sure that the Web site address displayed in the address bar of your browser is spelled and formatted correctly.
 8If you reached this page by clicking a link, contact the Web site administrator to alert them that the link is incorrectly formatted.
 9Click the Back button to try another link.
10HTTP Error 404 - File or directory not found.
11Internet Information Services (IIS)
12
13Technical Information (for support personnel)
14
15Go to Microsoft Product Support Services and perform a title search for the words HTTP and 404.
16Open IIS Help, which is accessible in IIS Manager (inetmgr), and search for topics titled Web Site Setup, Common Administrative Tasks, and About Custom Error Messages.


This is causing things in the theme to not load (the default classic theme still works perfectly) and certain page requests not reaching the intended servlet

I guess my question would be, is there anyone out there that has experienced this before? Is there some setup steps that need to be done to prep liferay for an https environment? I have looked all over but I cant seem to find anything referencing any issues switching between http and https or what could cause some objects (jar, xhtml) to load but not others (jpg, css, js, gif)

thanks
Mika Koivisto
RE: QA / Production resource issue
6. Mai 2013 13:28
Antwort

Mika Koivisto

LIFERAY STAFF

Rang: Liferay Legend

Nachrichten: 1505

Eintrittsdatum: 7. August 2006

Neue Beiträge

Looks like IIS isn't configured correctly to proxy the requests to the app server.
dominick campbell
RE: QA / Production resource issue
13. Mai 2013 05:33
Antwort

dominick campbell

Rang: Junior Member

Nachrichten: 60

Eintrittsdatum: 15. August 2012

Neue Beiträge

Mika Koivisto:
Looks like IIS isn't configured correctly to proxy the requests to the app server.


Yep that was exactly it

The IIS was looking at a different isapi redirect and therefore a different uriworkermap

everything worked correctly once i added my portlet and theme paths into the worker map

thank you