Foren

QA / Production resource issue

dominick campbell, geändert vor 10 Jahren.

QA / Production resource issue

Junior Member Beiträge: 60 Beitrittsdatum: 15.08.12 Neueste 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 :

The page cannot be found

The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.
Please try the following:

Make sure that the Web site address displayed in the address bar of your browser is spelled and formatted correctly.
If you reached this page by clicking a link, contact the Web site administrator to alert them that the link is incorrectly formatted.
Click the Back button to try another link.
HTTP Error 404 - File or directory not found.
Internet Information Services (IIS)

Technical Information (for support personnel)

Go to Microsoft Product Support Services and perform a title search for the words HTTP and 404.
Open 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
thumbnail
Mika Koivisto, geändert vor 10 Jahren.

RE: QA / Production resource issue

Liferay Legend Beiträge: 1519 Beitrittsdatum: 07.08.06 Neueste Beiträge
Looks like IIS isn't configured correctly to proxy the requests to the app server.
dominick campbell, geändert vor 10 Jahren.

RE: QA / Production resource issue

Junior Member Beiträge: 60 Beitrittsdatum: 15.08.12 Neueste 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