Module has already been set - error | Jason Feingold | 2016-09-20 17:27 | |||||||||||||||||||||
Status: Closed | |||||||||||||||||||||||
I am building a continuous integration environment for our labKey development team so that we can better QA and manage our releases. I have been able to successfully compile and push (copy) the web app to the staging server along with a restoring database from production. It seems that the web-server starts up correctly; however, upon first accessing the web-app, I receive the following error message. "Module has already been set" I added the entire stack-trace below I was wondering if anyone else had a similar experience and could point in the right direction. There is a second labkey installation on the same server, but it seems to be working without issue. Thanks, Jason ---- java.lang.IllegalStateException: Module has already been set. at org.labkey.api.view.BaseWebPartFactory.setModule(BaseWebPartFactory.java:177) at org.labkey.api.module.DefaultModule.getWebPartFactories(DefaultModule.java:414) at org.labkey.api.view.Portal.getPartsToAdd(Portal.java:1178) at org.labkey.api.view.Portal.addCustomizeDropdowns(Portal.java:905) at org.labkey.api.view.Portal.populatePortalView(Portal.java:1027) at org.labkey.api.view.Portal.populatePortalView(Portal.java:950) at org.labkey.core.portal.ProjectController$BeginAction.getView(ProjectController.java:327) at org.labkey.core.portal.ProjectController$BeginAction.getView(ProjectController.java:280) at org.labkey.api.action.SimpleViewAction.handleRequest(SimpleViewAction.java:80) at org.labkey.api.action.BaseViewAction.handleRequest(BaseViewAction.java:178) at org.labkey.api.action.SpringActionController.handleRequest(SpringActionController.java:409) at org.labkey.api.module.DefaultModule.dispatch(DefaultModule.java:1281) at org.labkey.api.view.ViewServlet._service(ViewServlet.java:190) at org.labkey.api.view.ViewServlet.service(ViewServlet.java:124) at javax.servlet.http.HttpServlet.service(HttpServlet.java:731) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.labkey.api.data.TransactionFilter.doFilter(TransactionFilter.java:38) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.labkey.core.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:118) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.labkey.api.module.ModuleLoader.doFilter(ModuleLoader.java:1144) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.labkey.api.security.AuthFilter.doFilter(AuthFilter.java:205) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:218) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:956) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:442) at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:190) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:623) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316) 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) |
|||||||||||||||||||||||
| |||||||||||||||||||||||