IBM Worklight 6.0 - SRVE0777E:javax.servlet.ServletException:未初始化Worklight项目 [英] IBM Worklight 6.0 - SRVE0777E: javax.servlet.ServletException: Worklight Project not initialized

查看:418
本文介绍了IBM Worklight 6.0 - SRVE0777E:javax.servlet.ServletException:未初始化Worklight项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚在Mac OS X Mountain Lion 10.8.4上安装了Worklight 6.0。
我正在尝试构建一个非常简单的HelloWorklight应用程序来测试已安装的环境,并且我在构建和部署它时遇到错误。

I've just installed Worklight 6.0 on Mac OS X Mountain Lion 10.8.4. I'm trying to build a very simple HelloWorklight app to test the installed environment and I'm getting errors building and deploying it.

我正在获取Eclipse控制台中的这些错误:

I'm getting these errors in Eclipse console:


[2013-07-13 02:11:21]开始构建过程:application
' HelloWorklightApp',所有环境


[2013-07-13 02:11:21]应用程序'HelloWorklightApp'与
所有环境构建完成。

[2013-07- 13 02:11:21]将所有环境部署到Worklight Server的应用程序
'HelloWorklightApp'...

[2013-07-13 02:11:21]无法将应用程序部署到
Worklight服务器:Worklight模块

HelloWorklightProject不是

成功启动。错误的完整详细信息可从

Worklight Development Server控制台获得。

[2013-07-13 02:11:21] Starting build process: application 'HelloWorklightApp', all environments
[2013-07-13 02:11:21] Application 'HelloWorklightApp' with all environments build finished.
[2013-07-13 02:11:21] Deploying application 'HelloWorklightApp' with all environments to Worklight Server...
[2013-07-13 02:11:21] Failed to deploy the application to Worklight server: Worklight module
HelloWorklightProject was not
successfully started. Full details of the error are available from the
Worklight Development Server console.

Worklight Development Server控制台我的浏览器显示:

The Worklight Development Server console in my browser shows:


应用程序错误

SRVE0777E:应用程序类抛出的异常

' com.worklight.core.auth.impl.AuthenticationFilter.doFilter:110'

javax.servlet.ServletException:未初始化Worklight项目
com.worklight.core.auth.impl上的
.AuthenticationFilter.doFilter(AuthenticationFilter.java:110)

at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:194)

at [internal class ]

Application Error
SRVE0777E: Exception thrown by application class
'com.worklight.core.auth.impl.AuthenticationFilter.doFilter:110'
javax.servlet.ServletException: Worklight Project not initialized
at com.worklight.core.auth.impl.AuthenticationFilter.doFilter(AuthenticationFilter.java:110)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:194)
at [internal classes]

我真的被卡住了。另一方面,我确信它必须是一个简单的解决方法。
有没有人知道怎么做?

I'm truly stuck. On the other hand I'm sure it must be something simple to fix it. Has anyone got an idea how?

推荐答案

所以我们遇到了2个mac这个问题,它让我们看起来很稳固一天半,全力以赴。
我们经历了很多重新配置,重新下载eclipse和worklight。

So we had this issue with 2 macs and it took us a solid day and a half to figure it all out. We went through a lot of reconfiguring, re-downloading eclipse and worklight.


  1. 确保您的配置文件来自更新是正确的。 (worklight.prop和authConfig)

  1. Make sure your config files from the update are correct. (worklight.prop and authConfig)

这是最重要的一个。 安装JDK 1.7并引用新的JRE 7 。当我们在Oracle JRE 6上运行
时,我们遇到了大量错误,甚至还有一个Java
堆内存问题。

This is the big one. Install JDK 1.7 and reference the new JRE 7. When we were running on Oracle JRE 6, we had a ton of errors and even a Java Heap memory issue.

一旦安装它,找到JRE的实际路径可能会很棘手。

Once you install it, it may to be tricky to find the actually path to the JRE.

首先,转到Eclipse > Pref>已安装的JRE>添加

然后,添加新的标准vm。单击下一个窗格上的目录并浏览到JRE的安装路径。

Then, add a new standard vm. Click Directory on the next pane and browse to the install path of JRE.

我们在[HD的名称]>库> Java> JavaVirtualMachines>中找到它jdk1.7.0_25.jdk>目录>主页> jre

它应该加载所需的一切,您可以单击新JRE的复选框。为了更好地衡量,我也将编译器更改为1.7。

It should load everything it needs and you can click the check box of the new JRE. For good measure, I changed the compiler to 1.7 as well.

根据您的更新,jdk文件夹可能略有差异名称。希望这会有所帮助。

The jdk folder may have a slightly diff name depending on what update you have. Hopefully this helps.

这篇关于IBM Worklight 6.0 - SRVE0777E:javax.servlet.ServletException:未初始化Worklight项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆