ibm mobilefirst - IBM Worklight 6.0 - Custom authentication - custom java code doesn't seem to be found -


environment config : windows server 2008 r2 entreprise websphere application server v7 worklight server v6 database derby (default install trough worklight server install)

my application contains in server/conf/authenticationconfig.xml customlogin module use 2 java class located in server/java/com/authentication/

after deploying , starting application on worklight server, when try reach using following url : http://ip_address:9080/context_root/console

i have error in websphere systemout.log :

com.ibm.ws.webcontainer.webapp.webapp logerror srve0293e: [servlet error]-[worklight project not initialized]: javax.servlet.servletexception: worklight project not initialized     @     com.worklight.core.auth.impl.authenticationfilter.dofilter(authenticationfilter.java:110)     @     com.ibm.ws.webcontainer.filter.filterinstancewrapper.dofilter(filterinstancewrapper.java:188)     @     com.ibm.ws.webcontainer.filter.webappfilterchain.dofilter(webappfilterchain.java:116)     @     com.ibm.ws.webcontainer.filter.webappfilterchain._dofilter(webappfilterchain.java:77) 

and when comment custom loginmodule, in authenticationconfig.xml, don't have problem reach console.

it seems custom authentication java classes not defined (despite fact added "server/java" folder in deployment assembly of worklight project)

thank in advance time , help

regards

  1. did change port 9080?
    default worklight port in worklight 6.0 10080. anyway...

  2. i know in worklight 6.0.0.0, @ least in eclipse, make work need to:
    • right-click on project >> properties >> java build path >> libraries >> add library... >> server runtime >> worklight development server >> clean project >> re-build application.

Comments

Popular posts from this blog

design - Custom Styling Qt Quick Controls -

Unable to remove the www from url on https using .htaccess -