When you add a JAR file that contains OSGi files in the server/lib directory under a Worklight application and subsequently attempt to open the Worklight console in your browser, the request fails.
When you open the Worklight console, the browser displays the following error:
HTTP ERROR 404
Problem accessing /console/index.html. Reason:
This issue occurs because the eXtreme Scale client library contains OSGi framework classes that conflict with the OSGi classes in Worklight Developer Edition.
Resolving the problem
To resolve the issue, you need to modify the Java archive (JAR) file. Use the following steps:
- Expand it in any folder and then remove the org/OSGi folder.
- Issue the java cf * command in that folder.
- Re-compress the JAR file.
Complete these steps only if you are using the eXtreme Scale API in a development environment. If you are using the Worklight server on the Liberty Profile with the eXtreme Scale client feature, then you do not need the ogclient.jar library and you can remove it.
|Mobile- Speech and Enterprise Access||IBM Mobile Foundation||Server||AIX, HP-UX, Linux, Solaris, Windows||5.0.5||Consumer, Enterprise|