• Welcome to KonaKart Community Forum. Please login or sign up.
 

Error on modules load in konakartadmin v8.1

Started by bharatkasodariya, May 13, 2016, 12:10:58 pm

Previous topic - Next topic

bharatkasodariya

following exception occurred on module click from konakartadmin 8.1

WEB-INF/classes/konakartadmin.properties
java.lang.ClassNotFoundException: com.konakartadmin.modules.others.uspsaddrvalfacebooklogin.USPSAddrValFacebookLogin
        at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1332)
        at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1166)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:264)
        at com.konakartadmin.bl.AdminModulesMgr.getModuleInstanceByName(Unknown Source)
        at com.konakartadmin.bl.AdminModulesMgr.loadModules(Unknown Source)
        at com.konakartadmin.bl.AdminModulesMgr.fetchModules(Unknown Source)
        at com.konakartadmin.bl.AdminModulesMgr.refreshConfigs(Unknown Source)
        at com.konakartadmin.bl.AdminModulesMgr.<init>(Unknown Source)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
        at com.konakartadmin.bl.AdminMgrFactory.instantiateAdminModulesMgr(Unknown Source)
        at com.konakartadmin.bl.AdminMgrFactory.getAdminModulesMgr(Unknown Source)
        at com.konakartadmin.bl.KKAdminBase.getModulesMgr(Unknown Source)
        at com.konakartadmin.bl.KKAdmin.getModules(Unknown Source)
        at com.konakartadmin.server.KKAdminGWTServiceImpl.getModules(Unknown Source)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:497)
        at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:587)
        at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:333)
        at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:303)
        at com.konakartadmin.server.KKRemoteServiceServlet.processCall(Unknown Source)
        at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:373)
        at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:648)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518)
        at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1091)
        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:673)
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1526)
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1482)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
        at java.lang.Thread.run(Thread.java:745)

Brian

It looks like you've removed the space between the module names:  USPSAddrValFacebookLogin

Check your konakartadmin.properties file to make sure the modules have spaces separating them as in this example:

konakart.modules.others=FacebookLogin GooglePlusLogin LiferayLogin Ldap USPSAddrVal


Only include the modules that you have jars for in your system

bharatkasodariya

I haven't touched any file. Its default konakart setup

Brian

It's not the default set-up.

You may not think you touched that file but actually I think your actions caused it to be changed in this way.

I think your properties file will have this line:

konakart.modules.others=FacebookLogin GooglePlusLogin Ldap USPSAddrValFacebookLogin GooglePlusLogin Ldap USPSAddrVal

Notice how the modules are doubled up?

This can happen if you install the Enterprise version twice.  If that's what you did, that's what caused you the problem.  You shouldn't install it twice in the same place like that.  Was there a reason for doing that?

Just remove the second set of modules and you should be fine.