felipeh
felipeh

Reputation: 88

IBM Worklight 6.0.0.1 - Can't initialize Worklight Project when deploying to production server

I'm trying to deploy a project to WebSphere Application Server V8.5 Liberty Profile. After added the war to server/apps folder I configured server.xml as shown on the page below:

http://pic.dhe.ibm.com/infocenter/wrklight/v6r0m0/index.jsp?topic=%2Fcom.ibm.worklight.help.doc%2Fdeploy%2Fc_deploy_custom_war_file_to_app_server.html

But when I try to open it on the browser I get this error:

 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 using JRE6 both to compile and on server.

Upvotes: 0

Views: 1189

Answers (2)

L. Vandendriessche
L. Vandendriessche

Reputation: 140

This seems to be a common exception that is thrown.

More detailed info can be found in the log files in your was liberty folder.

For us it was the following:

  • jre 6 was used instead of 7
  • in the xml configuration file several jars are referenced but did not exist on the referenced location
  • added jndi references to the configuration file (3 references to 3 different db's)
  • worklight databases weren't set up properly

It took us 1,5 day for figuring out why it didn't work.

There is a big document of several 100's of pages available somewhere which describes all steps you have to follow to configure the server. It contains sql scripts to execute on the db, description of the server.xml file and so on.

Good luck!

Upvotes: 4

Related Questions