2015-07-21 59 views
-1

找到我们安装的软件的上述没有运行时可以在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 

我们创建application serverruntime environment通过Server configuration tool提及,但我们面对的错误

没有运行时可以发现

我们尝试了很多来自堆栈溢出和其他问卷的选项,但没有任何成效。

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

请帮助我们解决这个问题

我们看到以下日志异常,但不知道这些异常是否是根源

[[email protected] 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. 
+0

抱歉,忘了添加我的名字'sathish kumar' –

+0

请添加messages.log文件和您的server.xml文件 - 将它们上传到Dropbox或Google文档或pastebin或其他任何地方。 –

+0

http://pastebin.com/rzYqf86u - server.xml http://pastebin.com/iKuM6La7 - messages.log –

回答

0

基于在messages.log文件无法找到工作灯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

相关问题