Worklight服务器 - 错误500:找不到所需的过滤器类 - com.worklight.core.auth.impl.AuthenticationFilter.class

时间:2014-03-07 08:55:53

标签: ibm-mobilefirst websphere-8 worklight-server

我在我的移动应用项目中使用worklight 6.1。我的问题是,当我尝试将war文件上传到worklight服务器时,我收到此错误消息。我已经将worklight服务器安装到我的websphere中。

Error 500: javax.servlet.ServletException: Filter [authenticationFilter]: Could not find required filter class - com.worklight.core.auth.impl.AuthenticationFilter.class

这些是将war文件上传到worklight服务器的步骤。

1.从IBM Worklight Studio v6.1构建project_name.war文件。 enter image description here

2.将.war文件部署到IBM Websphere Integrated Solutions Console v8.5.5.0。 enter image description here

3.打开WebSphere企业应用程序,然后单击“安装”。 enter image description here

4.从worklight项目目录中选择project.war文件。 enter image description here

5.单击下一步按钮以获得快速路径。 enter image description here

6.单击下一步按钮。 enter image description here

enter image description here

7.选择服务器1。 enter image description here

8.选择目标JNDI。 enter image description here

9.将虚拟主机设置为default_host。 enter image description here

10.设置上下文根。 enter image description here

11.单击完成按钮。 enter image description here

12.直接保存到主配置。 enter image description here

13.启动应用程序。 enter image description here

enter image description here

14.打开服务器URL以进入wroklight服务器以部署应用程序,适配器等,但无法使用此错误和错误日志打开服务器URL,如下所示。 enter image description here

[3/6/14 10:18:50:442 MYT] 0000009e webapp        E com.ibm.ws.webcontainer.webapp.WebApp logServletError SRVE0293E: [Servlet Error]-[com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor]: java.lang.ClassNotFoundException: class java.lang.ClassNotFoundException: com.worklight.core.auth.impl.AuthenticationFilter
at java.beans.Beans.instantiate(Beans.java:195)
at java.beans.Beans.instantiate(Beans.java:80)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager._loadFilter(WebAppFilterManager.java:533)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.loadFilter(WebAppFilterManager.java:475)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.getFilterInstanceWrapper(WebAppFilterManager.java:308)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.getFilterChain(WebAppFilterManager.java:380)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:892)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1025)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3761)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:304)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:976)
at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1662)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:200)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:459)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:526)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:312)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:283)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:175)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1862)

我在2014年3月10日发布的最新错误消息

Error 500: javax.servlet.ServletException: Worklight Console initialization failed.Logged Exception: java.lang.RuntimeException: FWLSE0206E: The project /rmbp failed to initialize, because the project database schema for data source jdbc:db2://192.168.1.80:50001/APPCNTR is from version N/A, which is not supported by the server from version 6.1.0.00.20131126-0630. Use the Worklight ant tasks to upgrade the project database schema. 

1 个答案:

答案 0 :(得分:1)

您可能需要查看此类似帖子以获取建议:

IBM Worklight 6.0 - Worklight Console does not show up after installing WL 6.0 server on Liberty profile - Error 500

重要的是“你需要确保你的worklight-jee-library.jar在应用程序类加载器中。”像上面提到的Idan一样,您可以轻松使用我们提供的ant脚本,以便以更自动化的方式实现这一目标:

https://pic.dhe.ibm.com/infocenter/wrklight/v6r1m0/index.jsp?topic=%2Fcom.ibm.worklight.deploy.doc%2Fdevref%2Ft_transporting_apps_and_adapters.html