-1

我安装了 Maximo Anywhere 7.5.1.2。我们有 Worklight 6.1.0.2。我在 Worklight 控制台上收到以下错误。按照 IBM 知识中心的说明,我已经更新了 web.xml 中的 Maximo OSLC Web 资源。我很感激任何帮助

[2/22/15 20:09:40:922 EST] 0000002e TpaeCustomAut I   processRequest() - Request URI=/worklight/apps/services/preview/WorkApproval/common/0/default/js/platform/ui/control/css/large-landscape-controls.css
[2/22/15 20:10:39:606 EST] 0000002b TpaeCustomAut I   processRequest() - Request URI=/worklight/apps/services/api/WorkApproval/common/query
[2/22/15 20:10:39:639 EST] 0000002a TpaeCustomAut I   processRequest() - Request URI=/worklight/apps/services/api/WorkApproval/common/query
[2/22/15 20:10:39:688 EST] 0000002a TpaeCustomAut I   processRequest() - Request URI=/worklight/apps/services/api/WorkApproval/common/query
[2/22/15 20:10:39:719 EST] 0000002a ServletWrappe E com.ibm.ws.webcontainer.servlet.ServletWrapper service SRVE0068E: Uncaught exception created in one of the service methods of the servlet GadgetAPIServlet in application IBM_Worklight_Console. Exception created : com.worklight.server.auth.api.WorkLightAuthenticationException
    at com.worklight.core.auth.impl.AuthenticationContext.checkAuthentication(AuthenticationContext.java:548)
    at com.worklight.core.auth.impl.AuthenticationContext.processRealms(AuthenticationContext.java:414)
    at com.worklight.core.auth.impl.AuthenticationContext.pushCurrentResource(AuthenticationContext.java:391)
    at com.worklight.core.auth.impl.AuthenticationServiceBean.accessResource(AuthenticationServiceBean.java:75)
    at com.worklight.integration.services.impl.DataAccessServiceImpl.invokeProcedureInternal(DataAccessServiceImpl.java:384)
    at com.worklight.integration.services.impl.DataAccessServiceImpl.invokeProcedure(DataAccessServiceImpl.java:112)
    at com.worklight.gadgets.serving.handler.BackendQueryHandler.getContent(BackendQueryHandler.java:184)
    at com.worklight.gadgets.serving.handler.BackendQueryHandler.doPost(BackendQueryHandler.java:75)
    at com.worklight.gadgets.serving.GadgetAPIServlet.doGetOrPost(GadgetAPIServlet.java:141)
    at com.worklight.gadgets.serving.GadgetAPIServlet.doPost(GadgetAPIServlet.java:103)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:738)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
    at com.ibm.ws.cache.servlet.ServletWrapper.serviceProxied(ServletWrapper.java:307)
    at com.ibm.ws.cache.servlet.CacheHook.handleFragment(CacheHook.java:576)
    at com.ibm.ws.cache.servlet.CacheHook.handleServlet(CacheHook.java:250)
    at com.ibm.ws.cache.servlet.ServletWrapper.service(ServletWrapper.java:259)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1661)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1602)
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:149)
    at com.worklight.core.auth.impl.AuthenticationFilter$1.execute(AuthenticationFilter.java:191)
    at com.worklight.core.auth.impl.AuthenticationServiceBean.accessResource(AuthenticationServiceBean.java:76)
4

1 回答 1

0

我遇到了类似的问题。以下清单解决了我的问题。

  • 假设您已安装 Maximo EAM 的 Maximo Anywhere 组件,请验证已创建安全组 ANYWHERE_TECHNICIAN 和 ANYWHERE_APPROVER 并将用户分配给这些组
  • 验证是否可以从浏览器 http://host:port/maximo/oslc/os/oslcwodetail?_lid=replaceduserid&_lpwd=replacepassword发出 OSLC 请求

  • 通过触摸 app.xml 文件来清理构建项目

  • 部署 OSLCGenericAdapter
  • 从 Eclipse 在 WorklightDevelopment 服务器上部署应用程序

    AnywhereWorkManager->apps->WorkApproval->Run As -> Run on Worklight Development Server

  • 打开chrome浏览器并清理缓存

  • 从应用程序预览应用程序 -> WorkApproval -> Common
于 2015-02-25T18:25:22.417 回答