Ibm mobilefirst 在Mobilefirst中找不到运行时

Ibm mobilefirst 在Mobilefirst中找不到运行时,ibm-mobilefirst,Ibm Mobilefirst,我们安装了上面提到的软件 (a) WAS Liberty Profile 8.5.5.6 (b) Mobile First Server 6.3 (c) MySQL 5.1.73-community (d) JDK 1.7 我们通过服务器配置工具创建了应用服务器和运行时环境,但我们面临错误 找不到运行时 我们尝试了堆栈溢出和其他调查问卷中的许多选项,但没有任何效果 我们真的被卡住了,不知道接下来应该做什么,以及如何检查运行时环境的部署是否成功(通过服务器配置工具) 请帮助我们解决此问题 我

我们安装了上面提到的软件

(a) WAS Liberty Profile 8.5.5.6
(b) Mobile First Server 6.3
(c) MySQL  5.1.73-community 
(d) JDK 1.7
我们通过
服务器配置工具
创建了
应用服务器
运行时环境
,但我们面临错误

找不到运行时

我们尝试了堆栈溢出和其他调查问卷中的许多选项,但没有任何效果

我们真的被卡住了,不知道接下来应该做什么,以及如何检查运行时环境的部署是否成功(通过服务器配置工具)

请帮助我们解决此问题

我们在日志中看到以下异常,但不确定这些异常是否是根本原因

[root@oc3855733574 Liberty]# cat ./usr/servers/simpleServer/logs/messages.log | grep "E " 
java.runtime = Java(TM) SE Runtime Environment (pxa6470sr9-20150417_01 (SR9))
[7/21/15 14:48:29:124 IST] 0000001d com.ibm.ws.config.internal.xml.ConfigUpdater                 E CWWKG0031E: The value worklight/ibm.worklight.admin.environmentid specified for unique attribute jndiName is already in use.
[7/21/15 14:48:38:826 IST] 00000019 com.ibm.ws.webcontainer.webapp                               E SRVE0283E: Exception caught while initializing context: java.lang.NoClassDefFoundError: com.worklight.common.i18n.MessageCatalog
[7/21/15 14:48:39:042 IST] 00000019 org.apache.wink.server.internal.servlet.RestServlet          E com.worklight.authorization.endpoint.AuthorizationServerRestApplication
[7/21/15 14:48:39:114 IST] 00000019 com.ibm.ws.webcontainer.webapp                               E SRVE0276E: Error while initializing Servlet [OAuthAuthorizationServer]: javax.servlet.UnavailableException: com.worklight.authorization.endpoint.AuthorizationServerRestApplication
[7/21/15 14:48:39:269 IST] 00000019 com.ibm.ws.webcontainer.servlet                              E Uncaught.init.exception.thrown.by.servlet 
[7/21/15 14:48:39:274 IST] 00000019 com.ibm.ws.webcontainer.webapp                               E SRVE0266E: Error occured while initializing servlets: javax.servlet.ServletException: SRVE0207E: Uncaught initialization exception created by servlet
[7/21/15 14:48:39:372 IST] 00000019 com.ibm.ws.webcontainer.filter                               E SRVE0321E: The [OAuthServletFilter] filter did not load during start up.
[7/21/15 14:48:39:474 IST] 00000019 com.ibm.ws.webcontainer.filter                               E SRVE0321E: The [authorizationServerFilter] filter did not load during start up.

根据messages.log文件中的错误,它找不到Worklight JEE.jar文件

基于server.xml文件,该文件不会放置在安装过程设置的通常默认位置

您需要验证server.xml文件中显示的位置是否与文件系统中的位置匹配

<application id="worklight" name="worklight" location="clsapp.war" type="war">
    <classloader delegation="parentLast">
        <privateLibrary id="worklightlib_worklight">
            <fileset dir="${shared.resource.dir}/lib" includes="worklight-jee-library.jar"/>
            <fileset dir="${wlp.install.dir}/lib" includes="com.ibm.ws.crypto.passwordutil_1.0.1.jar"/>
        </privateLibrary>
    </classloader>
</application> 


通常位置是
${shared.resource.dir}/lib/worklight
(或者不是“worklight”,而是您的上下文根…。

抱歉,忘记添加我的名字“sathish kumar”,请添加messages.log文件和server.xml文件-将它们上载到dropbox或google docs或pastebin或其他任何地方。-server.xml-messages.log