deployment - error when accessing worklight server deployed on tomcat -
i deploy war file , adapter file tomcat,everything fine,but when try access worklight server,the request
[http://10.30.3.11:8080/nantian/apps/services/api/attendance/android/query]
and logcat appear error
[http://10.30.3.11:8080/nantian/apps/services/api/attendance/android/query]failure. state: 500, response: server unable process request application. please try again later.[http://10.30.3.11:8080/nantian/apps/services/api/attendance/android/query]cannot read property 'errors' of undefined
and tomcat appear following error:
java.lang.runtimeexception: unique constrain: found 2 beans implementing inteface com.worklight.server.report.api.gadgetreportsservice (in 4 spring application contexts). @ com.worklight.server.bundle.api.servicemanager.getserviceconsumer(servicemanager.java:133) @ com.worklight.core.bundle.coreservicemanager.getgadgetsreportservice(coreservicemanager.java:47) @ com.worklight.core.auth.impl.authenticationcontext.logloginactivity(authenticationcontext.java:337) @ com.worklight.core.auth.impl.authenticationcontext.checkauthentication(authenticationcontext.java:495) @ com.worklight.core.auth.impl.authenticationcontext.processrealms(authenticationcontext.java:396) @ com.worklight.core.auth.impl.authenticationcontext.pushcurrentresource(authenticationcontext.java:373) @ com.worklight.core.auth.impl.authenticationservicebean.accessresource(authenticationservicebean.java:63) @ com.worklight.core.auth.impl.authenticationfilter.dofilter(authenticationfilter.java:162) @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:243) @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:210) @ org.apache.catalina.core.standardwrappervalve.invoke(standardwrappervalve.java:222) @ org.apache.catalina.core.standardcontextvalve.invoke(standardcontextvalve.java:123) @ org.apache.catalina.authenticator.authenticatorbase.invoke(authenticatorbase.java:472) @ org.apache.catalina.core.standardhostvalve.invoke(standardhostvalve.java:171) @ org.apache.catalina.valves.errorreportvalve.invoke(errorreportvalve.java:99) @ org.apache.catalina.valves.accesslogvalve.invoke(accesslogvalve.java:936) @ org.apache.catalina.core.standardenginevalve.invoke(standardenginevalve.java:118) @ org.apache.catalina.connector.coyoteadapter.service(coyoteadapter.java:407) @ org.apache.coyote.http11.abstracthttp11processor.process(abstracthttp11processor.java:1004) @ org.apache.coyote.abstractprotocol$abstractconnectionhandler.process(abstractprotocol.java:589) @ org.apache.tomcat.util.net.aprendpoint$socketprocessor.run(aprendpoint.java:1852) @ java.util.concurrent.threadpoolexecutor$worker.runtask(threadpoolexecutor.java:886) @ java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor.java:908) @ java.lang.thread.run(thread.java:619)
i sure deploy 1 war file tomcat,but have try deploying war file again , again test app,of course,undeploy file before deploy it.and worklight server 5.0.5,mysql 5.1.47,tomcat 7.0.37.any help?thanks in advance.
is installation using ibm installation mananger? if you've used install worklight on tomcat has deployed worklight.war file during installation.
make sure undeploy .war file via tomcat manager view (typically http://localhost:8080/manager
). go file system , make sure no other files remain (the .war file, worklight.home, ...).
next, deploy own .war file (probably nantian.war or alike).
Comments
Post a Comment