Preview not working on MobileFirst Platform Founda

2019-03-06 23:08发布

问题:

On the MobileFirst Server Platform Foundation 7.0, the Preview is not working in the console. On the Eclipse development side, all is working well.

The error message is the following:

Here is the error in the log:

[4/10/15 12:12:55:267 CEST] 00000027 org.apache.wink.server.internal.RequestProcessor             I The following error occurred during the invocation of the handlers chain: WebApplicationException (404 - Not Found) with message 'null' while processing GET request sent to http://10.3.20.64:9080/catalogmanagerfull/authorization/v1/clients/preview

The application can use the server without any issue. It's really only the Preview in the console that is not working. The Application Server is a WAS Liberty profile running on Linux.

In a MobileFirst Server V6.3, the same project has no issue.

回答1:

Preview is not meant to work in a production environment, however the preview button was still there in the GM release of MFPF 7.0.

I think you might have hit APAR PI37266:

MFP OPERATIONS CONSOLE: PREVIEW OF COMMON RESOURCES BUTTON MUST BE HIDDEN IN PRODUCTION ENVIRONMENT

So, you should update your installation to the latest available 7.0 iFix, whereh the preview button is not longer available.