在运行wladm时,键' deviceProvisioningRealm':null的非法JSON值

时间:2016-10-03 18:25:10

标签: ibm-mobilefirst worklight-server

对同一版本服务器运行 Worklight Admin命令行工具版本6.3.0.00.20141127-1357时,我收到错误消息。运行"列表应用程序"命令和一些其他特定于应用程序的查询。

/app/IBM/MobileFirst_Platform_Server/shortcuts/wladm --configfile=/app/IBM/bldsrvwladmconfig.txt
  

访问时出错   http://localhost:9080/worklightadmin/management-apis/1.0/runtimes/worklight/applications?pageSize=1000000000&locale=en_US:   HTTP / 1.1 500内部服务器错误FWLSE3000E:服务器错误是   检测。密钥' deviceProvisioningRealm':null

的非法JSON值

直接成功获取URL的内容将返回数据。

APAR PI33197引用了类似的错误,但未解释原因或解决方案。

authenticationConfig.xml:

     <?xml version="1.0" encoding="UTF-8"?>
    <tns:loginConfiguration xmlns:tns="http://www.worklight.com/auth/config" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <!-- Licensed Materials - Property of IBM 5725-G92 (C) Copyright IBM Corp.
                2006, 2013. All Rights Reserved. US Government Users Restricted Rights -
                Use, duplication or disclosure restricted by GSA ADP Schedule Contract with
                IBM Corp. -->
        <staticResources>
            <resource id="subscribeServlet" securityTest="SubscribeServlet">
                            <urlPatterns>/subscribeSMS*;/receiveSMS*;/ussd*</urlPatterns>
                    </resource>
        </staticResources>
        <securityTests>
            <customSecurityTest name="SubscribeServlet">
                <test realm="wl_directUpdateRealm" step="1"/>
                <test isInternalUserID="true" realm="SubscribeServlet"/>
            </customSecurityTest>
            <customSecurityTest name="ISAMforWorklight-web-securityTest">
                    <test realm="wl_antiXSRFRealm" />
                    <test realm="WASLTPARealm" isInternalUserID="true" step="1"/>
             </customSecurityTest>
            <customSecurityTest name="ISAMforWorklight-Step-up-securityTest">
                <test realm="wl_directUpdateRealm" step="1"/>
                <test isInternalDeviceID="false" isInternalUserID="true" realm="WASLTPARealm"/>
        </customSecurityTest>
        </securityTests>
        <realms>
             <realm loginModule="WASLTPAModule" name="WASLTPARealm">
                    <className>com.worklight.core.auth.ext.WebSphereFormBasedAuthenticator</className>
                    <parameter name="login-page" value="/login.html"/>
                    <parameter name="error-page" value="/loginError.html"/>
            </realm>
            <realm loginModule="rejectAll" name="SubscribeServlet">
                <className>com.worklight.core.auth.ext.HeaderAuthenticator</className>
            </realm>
            <realm name="WorklightConsole" loginModule="requireLogin">
                    <className>com.worklight.core.auth.ext.FormBasedAuthenticator</className>
                    <onLoginUrl>/console</onLoginUrl>
            </realm>
            <realm name="deviceProvisioningRealm" loginModule="rejectAll">
                    <className>com.worklight.core.auth.ext.HeaderAuthenticator</className>
            </realm>
        </realms>
        <loginModules>
            <loginModule name="rejectAll">
                <className>com.worklight.core.auth.ext.RejectingLoginModule</className>
            </loginModule>
            <loginModule name="WASLTPAModule">
                            <className>com.worklight.core.auth.ext.WebSphereLoginModule</className>
                    </loginModule>
        </loginModules>
    </tns:loginConfiguration>

1 个答案:

答案 0 :(得分:0)

此APAR已在版本6.3.0.00.20150305-1844中修复。请下载Fix Central.提供的最新修补程序。我们的修补程序是累积性的,因此最新修补程序将包含此APAR的修复程序。