ims-maxims / openmaxims Goto Github PK
View Code? Open in Web Editor NEWHome of the openMAXIMS PAS and EPR
License: GNU Affero General Public License v3.0
Home of the openMAXIMS PAS and EPR
License: GNU Affero General Public License v3.0
Hi,
The "Readme - Further Details.txt" document talks about updating Maxims_RefDataMSQ05.sql default user:
INSERT INTO core_appuser(id, vstp, rie, username,c_passwo, encodedpas,theme,isactive)
VALUES(1,0,0, 'xxxxxxxxxx','xxxxxxxxxxxxxxxxxxx', 'xxxxxxxxxxxxxxxxxxxxxxxxx', 'blue', 1)
INSERT INTO core_appuser(id, vstp, rie, username,c_passwo, encodedpas,theme,isactive)
VALUES(2,0,0, 'xxxxxxxxxx','xxxxxxxxxxxxxxxxxxxxxxxx', 'xxxxxxxxxxxxxxxxxxxxxxxxx', 'blue', 1)
I am unclear what goes into the 'encodedpas' field?
Any advice?
Regards,
Rob Paterson
I have managed to build WAR file. It would be good idea to say that Zip64 mode for WAR ant build should be enabled (due to more than 65535 entries). Now when I deploy WAR on tomcat it is giving me this errors in logs:
catalina.log
Aug 11, 2016 2:01:03 PM org.apache.catalina.startup.ContextConfig beforeStart
SEVERE: Exception fixing docBase for context [/openMAXIMS]
java.util.zip.ZipException: invalid CEN header (bad signature)
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.(ZipFile.java:127)
at java.util.jar.JarFile.(JarFile.java:136)
at java.util.jar.JarFile.(JarFile.java:73)
at sun.net.www.protocol.jar.URLJarFile.(URLJarFile.java:72)
at sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:48)
at sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:80)
at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:104)
at sun.net.www.protocol.jar.JarURLConnection.getJarFile(JarURLConnection.java:71)
at org.apache.catalina.startup.ExpandWar.expand(ExpandWar.java:111)
at org.apache.catalina.startup.ContextConfig.fixDocBase(ContextConfig.java:736)
at org.apache.catalina.startup.ContextConfig.beforeStart(ContextConfig.java:861)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:389)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:394)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:144)
at org.apache.catalina.manager.ManagerServlet.start(ManagerServlet.java:1312)
at org.apache.catalina.manager.HTMLManagerServlet.start(HTMLManagerServlet.java:690)
at org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:216)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:650)
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.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:136)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
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:614)
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.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1082)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:623)
at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2517)
at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2506)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:662)
Aug 11, 2016 2:01:03 PM org.apache.catalina.core.StandardContext resourcesStart
SEVERE: Error starting static Resources
java.lang.IllegalArgumentException: Invalid or unreadable WAR file : invalid CEN header (bad signature)
at org.apache.naming.resources.WARDirContext.setDocBase(WARDirContext.java:136)
at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:5228)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5417)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
at org.apache.catalina.manager.ManagerServlet.start(ManagerServlet.java:1312)
at org.apache.catalina.manager.HTMLManagerServlet.start(HTMLManagerServlet.java:690)
at org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:216)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:650)
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.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:136)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
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:614)
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.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1082)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:623)
at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2517)
at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2506)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:662)
Aug 11, 2016 2:01:04 PM org.apache.catalina.startup.ContextConfig beforeStart
SEVERE: Exception fixing docBase for context [/openMAXIMS]
java.util.zip.ZipException: invalid CEN header (bad signature)
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.(ZipFile.java:127)
at java.util.jar.JarFile.(JarFile.java:136)
at java.util.jar.JarFile.(JarFile.java:73)
at sun.net.www.protocol.jar.URLJarFile.(URLJarFile.java:72)
at sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:48)
at sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:80)
at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:104)
at sun.net.www.protocol.jar.JarURLConnection.getJarFile(JarURLConnection.java:71)
at org.apache.catalina.startup.ExpandWar.expand(ExpandWar.java:111)
at org.apache.catalina.startup.ContextConfig.fixDocBase(ContextConfig.java:736)
at org.apache.catalina.startup.ContextConfig.beforeStart(ContextConfig.java:861)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:389)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:394)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:144)
at org.apache.catalina.manager.ManagerServlet.start(ManagerServlet.java:1312)
at org.apache.catalina.manager.HTMLManagerServlet.start(HTMLManagerServlet.java:690)
at org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:216)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:650)
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.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:136)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
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:614)
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.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1082)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:623)
at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2517)
at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2506)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:662)
Aug 11, 2016 2:01:04 PM org.apache.catalina.core.StandardContext resourcesStart
SEVERE: Error starting static Resources
java.lang.IllegalArgumentException: Invalid or unreadable WAR file : invalid CEN header (bad signature)
at org.apache.naming.resources.WARDirContext.setDocBase(WARDirContext.java:136)
at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:5228)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5417)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
at org.apache.catalina.manager.ManagerServlet.start(ManagerServlet.java:1312)
at org.apache.catalina.manager.HTMLManagerServlet.start(HTMLManagerServlet.java:690)
at org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:216)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:650)
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.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:136)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
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:614)
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.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1082)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:623)
at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2517)
at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2506)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:662)
manager.log (from tomcat manager)
Aug 11, 2016 2:01:03 PM org.apache.catalina.core.ApplicationContext log
INFO: HTMLManager: start: Starting web application '/openMAXIMS'
Aug 11, 2016 2:01:03 PM org.apache.catalina.core.ApplicationContext log
SEVERE: FAIL - Application at context path /openMAXIMS could not be started
org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/openMAXIMS]]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:153)
at org.apache.catalina.manager.ManagerServlet.start(ManagerServlet.java:1312)
at org.apache.catalina.manager.HTMLManagerServlet.start(HTMLManagerServlet.java:690)
at org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:216)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:650)
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.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:136)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
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:614)
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.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1082)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:623)
at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2517)
at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2506)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:662)
Caused by: org.apache.catalina.LifecycleException: Error in resourceStart()
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5418)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
... 29 more
Aug 11, 2016 2:01:03 PM org.apache.catalina.core.ApplicationContext log
INFO: HTMLManager: list: Listing contexts for virtual host 'localhost'
Aug 11, 2016 2:01:04 PM org.apache.catalina.core.ApplicationContext log
INFO: HTMLManager: start: Starting web application '/openMAXIMS'
Aug 11, 2016 2:01:04 PM org.apache.catalina.core.ApplicationContext log
SEVERE: FAIL - Application at context path /openMAXIMS could not be started
org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/openMAXIMS]]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:153)
at org.apache.catalina.manager.ManagerServlet.start(ManagerServlet.java:1312)
at org.apache.catalina.manager.HTMLManagerServlet.start(HTMLManagerServlet.java:690)
at org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:216)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:650)
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.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:136)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
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:614)
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.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1082)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:623)
at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2517)
at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2506)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:662)
Caused by: org.apache.catalina.LifecycleException: Error in resourceStart()
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5418)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
... 29 more
Aug 11, 2016 2:01:04 PM org.apache.catalina.core.ApplicationContext log
INFO: HTMLManager: list: Listing contexts for virtual host 'localhost'
The ant file recompiles .java files that have not changed on each run, with 13.8K files in ValueObjects, this seems like an excessive waste of time.
Would be better if it didn't recompile files that haven't changed.
I'm talking about DDL-scripts-ref147-openMAXIMS.sql
For example appentityevent doesnt have targetMethod columns.
Trying to get it working on my laptop to review the software?
Using SQL Server 2008 R2, Windows 7, followed all the notes, but still doesn't work.
If anyone got the default app built in VirtualBox environment, any chance they would share that?
It's a shame that with all the good intentions that IMS-Maxims had by releasing the source code, that the Open Source version hasn't been updated for so long.
Obviously any closed source project being released as open source will have it's teething problems, especially with any particular coding styles, or configuration programs used that don't get released, however it's been 2 years since the last update. Improvements, extra features, and most importantly security fixes can be found by the community, if only IMS-Maxims would keep the open source codebase up to date.
Commitment by the community can only be given when the project maintainers keep up their side of it too.
Line 14:
Line 15:
Line 150:
Suggest this is added to README.txt as build fails if these are not changed:
BUILD FAILED
X:\GitHub\openMAXIMS\Source Library\openmaxims_workspace\WebApp\build_common.xml
:150: \webapps\BuildNumbers\DevBuildNumber doesn't exist and new file can't be
created.
Error 1 - DevBuildNumber
BUILD FAILED
X:.. \OpenMaxims\openmaxims_workspace\WebApp\build_common.xml:150: \web
apps\BuildNumbers\DevBuildNumber doesn't exist and new file can't be created.
Fix 1 - DevBuildNumber
Create a folder on disk (I created in the root of the openMAXIMS directory) called BuildNumbers. Add an empty text file in here called DevBuildNumber.
In openmaxims_workspace\WebApp\build_common.xml, change line 150 to point to the DevBuildNumber file you have created.
Error 2 – javax.xml.soap
Admin:
[javac] Compiling 1535 source files to X:..\OpenMaxims\openmaxims_w
orkspace\Admin\bin
[javac] error: compiler message file broken: key=compiler.err.file javax\xml
\soap\Detail.class not found arguments={0}, {1}, {2}, {3}, {4}, {5}, {6}, {7}
[javac] 1 error
BUILD FAILED
X:..\OpenMaxims\openmaxims_workspace\WebApp\build_common.xml:197: Compi
le failed; see the compiler error output for details.
Fix 2 - javax.xml.soap
Download a copy of javax-xml-soap-1.6.0.jar and add to:
openmaxims_workspace\WebApp\WEB-INF\lib
Possible to download from the following URL but pretty sure this isn’t any way official: http://www.java2s.com/Code/JarDownload/javax-xml/javax-xml-soap-1.6.0.jar.zip
In openmaxims_workspace\WebApp\build_common.xml, add the following to the classpath attribute on line 197:
${libdir}javax-xml-soap-1.6.0.jar;
Error 3 – String.isEmpty()
Clinical:
[javac] Compiling 2152 source files to X:..\OpenMaxims\openmaxims_w
orkspace\Clinical\bin
[javac] X:..\OpenMaxims\openmaxims_workspace\Clinical\src\ims\clini
cal\forms\summaryclinicalinformation\Logic.java:211: cannot find symbol
[javac] symbol : method isEmpty()
[javac] location: class java.lang.String
[javac] if (authoringError != null && !authoringError.isEmpty())
[javac] ^
[javac] 1 error
BUILD FAILED
X:..\OpenMaxims\openmaxims_workspace\WebApp\WebAppBuild.xml:69: Compile
failed; see the compiler error output for details.
Fix 3 – String.isEmpty()
The String.isEmpty() method is not available in Java 1.5.
Therefore rewrite line 211 of openmaxims_workspace\Clinical\src\ims\clinical\forms\summaryclinicalinformation\Logic.java as:
if (authoringError != null && !("".equals(authoringError)))
Error 4 - CAREUK
BUILD FAILED
X:..\OpenMaxims\openmaxims_workspace\WebApp\WebAppBuild.xml:189: srcdir
"X:..\OpenMaxims\openmaxims_workspace\CAREUK\src" does not exist!
Fix 4 - CAREUK
For some reason, the CareUK source has not been distributed. Therefore we need to remove references to it from the code:
• Comment out lines 180-190 in openmaxims_workspace \WebApp\WebAppBuild.xml (i.e. the whole <target name="CAREUK" block).
• Remove the string CAREUK from the depends attribute value in line 285.
• Comment the following lines of openmaxims_workspace\WebApp\src\ims\webservice\ MAXIMSWebService.java:
o Lines 639;641-645;647;648;650
o Lines 672;674-677
o Lines 702;704-707
Hi guys and congrats on the open source release.
I'm making good progress getting this to compile in a Linux server environment, but have hit a wall with a missing directory of source files:
openmaxims_workspace/CAREUK/src
the compiler fails after creating CAREUK/bin but there is no CAREUK/src directory for it to compile the contents of.
Either this package needs to be shipped in the code, or I need to remove it from the build (If the latter, a few pointers on how to do it would be greatly helpful as I am not a Java programmer!)
I'm getting the compiler error below when building.
I've tried forcing the encoding to UTF-8 and UTF-16 by passing into javac via ANT with no luck. Considering batch updating the source file encodings, but just wondering if anyone else has encountered this?
My system locale is set to British (United Kingdom).
Admin:
[javac] Compiling 1535 source files to X:\GitHub\openMAXIMS\Source Library\o
penmaxims_workspace\Admin\bin
[javac] error: compiler message file broken: key=compiler.err.file javax\xml
\soap\Detail.class not found arguments={0}, {1}, {2}, {3}, {4}, {5}, {6}, {7}
[javac] Note: * uses or overrides a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 1 error
BUILD FAILED
X:\GitHub\openMAXIMS\Source Library\openmaxims_workspace\WebApp\build_common.xml
:197: Compile failed; see the compiler error output for details.
All contents of files under jscn/ are overwritten by the contents of one single "MaximsWebService" file.
Hi all,
build fails, seems to be due to several errors in "MAXIMSWebService.java",
e.g. [javac] C:\ng\openMAXIMS-master\Source Library\openmaxims_workspace\WebApp\src\ims\webservice\MAXIMSWebService.java:628: package ims.careuk.vo does not exist
This is the 1st August 2014 version.
The old version had a comment about careuk being fixed "The issue around the 'CAREUK' module has been resolved, this module is now called RefMan (Referral Management) and is included in this updated release."
Any ideas for a quick fix?
I've built openMAXIMS, deployed the WAR to Tomcat, created the database according to the PDF instructions, and added a resource to the tomcat context:
<Resource name="jdbc/sqlserver"
auth="Container"
type="javax.sql.DataSource"
username="openmaxims"
password="_______"
driverClassName="com.microsoft.sqlserver.jdbc.SQLServerDriver"
url="jdbc:sqlserver://localhost:1433"
maxActive="20"
maxIdle="10"
validationQuery="select 1" />
When I run the application in IE at:
http://127.0.0.1:8080/openMAXIMS/
I constantly get the "Application is loading, please wait..." message.
I've checked maxims.log and nothing particularly jumps out at me:
2014-09-24 22:31:26,467 WARN CNHost:211 - Starting CNHost servlet for SALES context on Apache Tomcat/5.5.9... 2014-09-24 22:31:26,791 WARN ContextReferences:79 - 3 context reference(s) loaded. 2014-09-24 22:31:33,423 WARN EhCacheProvider:86 - Could not find configuration [ims.core.admin.domain.objects.ProviderSystem]; using defaults. 2014-09-24 22:31:33,821 WARN EhCacheProvider:86 - Could not find configuration [ims.core.resource.place.domain.objects.LocationServiceActivity]; using defaults. 2014-09-24 22:31:34,026 WARN EhCacheProvider:86 - Could not find configuration [ims.core.hl7interface.domain.objects.OutboundTriggers]; using defaults. 2014-09-24 22:31:35,523 WARN EhCacheProvider:86 - Could not find configuration [ims.core.generic.domain.objects.ScreenHint]; using defaults. 2014-09-24 22:31:35,802 WARN EhCacheProvider:86 - Could not find configuration [ims.core.resource.place.domain.objects.LocationServiceFunction]; using defaults. 2014-09-24 22:31:35,893 WARN EhCacheProvider:86 - Could not find configuration [ims.core.configuration.domain.objects.ConfigFlag]; using defaults. 2014-09-24 22:31:36,583 WARN EhCacheProvider:86 - Could not find configuration [ims.core.configuration.domain.objects.ConfigFlagGroup]; using defaults. 2014-09-24 22:31:36,863 WARN EhCacheProvider:86 - Could not find configuration [ims.core.clinical.domain.objects.ActivityContextPricingDetails]; using defaults. 2014-09-24 22:31:41,201 WARN HibernateConfiguration:135 - Registered Forms loaded successfully 2014-09-24 22:31:41,273 WARN HibernateConfiguration:169 - Registered Images loaded successfully 2014-09-24 22:31:41,376 WARN HibernateConfiguration:102 - Class ims.configuration.DbVersion does not have method called getCollectionFields 2014-09-24 22:31:41,623 WARN HibernateConfiguration:114 - Class Configuration loaded successfully 2014-09-24 22:31:41,628 WARN HibernateConfiguration:314 - Pathway Entity Events loaded successfully 2014-09-24 22:31:41,693 WARN DroolsRulesEngine:45 - Loading internal rules... 2014-09-24 22:31:41,695 WARN DroolsRulesEngine:68 - Loading internal rule 'appointmentBookedEventCheck' from ims/rules/core/appointmentBookedEventCheck.drl 2014-09-24 22:31:41,696 WARN DroolsRulesEngine:68 - Loading internal rule 'appointmentCancelledEventCheck' from ims/rules/core/appointmentCancelledEventCheck.drl 2014-09-24 22:31:41,697 WARN DroolsRulesEngine:68 - Loading internal rule 'appointmentSeenEventCheck' from ims/rules/core/appointmentSeenEventCheck.drl 2014-09-24 22:31:41,697 WARN DroolsRulesEngine:68 - Loading internal rule 'appointmentDNAEventCheck' from ims/rules/core/appointmentDNAEventCheck.drl 2014-09-24 22:31:41,698 WARN DroolsRulesEngine:68 - Loading internal rule 'appointmentUndoDNAEventCheck' from ims/rules/core/appointmentUndoDNAEventCheck.drl 2014-09-24 22:31:41,699 WARN DroolsRulesEngine:68 - Loading internal rule 'newPauseEventCheck' from ims/rules/core/newPauseEventCheck.drl 2014-09-24 22:31:41,699 WARN DroolsRulesEngine:68 - Loading internal rule 'pauseStopEventCheck' from ims/rules/core/pauseStopEventCheck.drl 2014-09-24 22:31:41,700 WARN DroolsRulesEngine:77 - 7 internal rule(s) loaded, 0 internal rule(s) ignored. 2014-09-24 22:31:41,710 WARN DroolsRulesEngine:88 - Loading user rules... 2014-09-24 22:31:41,727 WARN DroolsRulesEngine:107 - 0 user rule(s) loaded. 2014-09-24 22:31:42,013 WARN DroolsRulesEngine:55 - Starting Drools rules engine...
Is there something obvious I'm missing?
Many thanks,
Jonny.
So content in WEB-INF/server-config.wsdd
is not correct
Looks like openmaxims_workspace-archive has working alternative?
Hi all.
Tried building openMAXIMS on a Windows Server 2008 R2 VM, with SQL Server 2012.
I followed the steps stated in the instructions, to fall at a few hurdles, get up over them, and then fell at some more.
JDK 1.5 as supplied will not compile the project, as some lib files are version 50.0, not 49.0.
Upgrading JDK to 1.6 will then compile the project (changing the camel case problem listed elsewhere).
When attempting to run the project, I cannot get it to run past a "500 error". The logs from Tomcat seem to indicate an error with the SQL implementation, but i'm not really sure.
Can we get an idea of what versions of tools we definitely need to compile this source code now?
Regards,
There appears to be no database schema provided with the source.
Has Hibernate been configured to allow generation of the schema? If so how to we get it to generate the schema?
Thanks.
Can anyone help with the user/setup manual for this application.
/vagrant/openMAXIMS_01_MAY_2014_Source/openmaxims_workspace/WebApp/WebAppBuild.xml:280: srcdir "/vagrant/openMAXIMS_01_MAY_2014_Source/openmaxims_workspace/Racpc/src" does not exist!
Racpc/src not is source package archive
M
Hi,
Looking to send some data to the IMS system via an API. It mentions HL7, but is there any more information on integrating it?
Thanks
This is a build using the latest (10.5.1) version of openMAXIMS.
Output:
X:\Code\OpenMaxims\Source Library\openmaxims_workspace\WebApp>ant -f WebAppBuild.xml
Buildfile: WebAppBuild.xml
display:
[echo] ant.file = X:\Code\OpenMaxims\Source Library\openmaxims_workspace\WebApp\WebAppBuild.xml
[echo] ant.home = X:\Java\apache-ant-1.6.5\bin\..
[echo] ant.project.name = openMAXIMS
[echo] ant.java.version = 1.5
[echo] ant.version = Apache Ant version 1.6.5 compiled on June 2 2005
[echo] basedir = X:\Code\OpenMaxims\Source Library\openmaxims_workspace\WebApp
[echo] user.name = jonny
[echo] user.home = C:\Users\jonny
[echo] java.home = C:\Program Files (x86)\Java\jdk1.5.0_22\jre
init:
Alerts:
[javac] Compiling 10 source files to X:\Code\OpenMaxims\Source Library\openmaxims_workspace\Alerts\bin
[javac] X:\Code\OpenMaxims\Source Library\openmaxims_workspace\Alerts\src\ims\alerts\FormHelper.java:27: cannot access ims.framework.FormName
[javac] bad class file: X:\Code\OpenMaxims\Source Library\openmaxims_workspace\WebApp\WEB-INF\lib\base.jar(ims/framework/FormName.class)
[javac] class file has wrong version 50.0, should be 49.0
[javac] Please remove or make sure it appears in the correct subdirectory of the classpath.
[javac] public final class FormHelper extends ims.framework.FormName
[javac] ^
[javac] 1 error
BUILD FAILED
X:\Code\OpenMaxims\Source Library\openmaxims_workspace\WebApp\build_common.xml:187: Compile failed; see the compiler error output for details.
Total time: 1 second
Hi,
We managed to debug some issues and had some initial success in running the app. Is there in demo data/settings available to see if all the functions are responding correctly?
Thanks,
S
The presence of win-1252 chars in the code causes problems with compilations on platforms that prefer utf8.
This should be fixed by #15
Any chance you could include instructions on how to set this up on a MySQL database?
Build message:
BUILD FAILED:
MappingFiles:
WebAppFiles:
WebAppSource:
WarDependencies:
[echo] All War File Dependencies have now been executed
openMAXIMSwarfile:
BUILD FAILED
C:\openMAXIMS-master\WebApp\WebAppBuild.xml:289: Deployment descriptor: C:\openM
AXIMS-master\WebAppWebApp\WEB-INF\web.xml does not exist.
Total time: 0 seconds
C:\openMAXIMS-master\WebApp>
in the webappbuild.XML file I think it is linked to:
Environment details:
display:
[echo] ant.file = D:\Maxims\openMAXIMS-master\Source Library\openmaxims_workspace\WebApp\WebAppBuild.xml
[echo] ant.home = D:\Program Files (x86)\apache-ant-1.6.5\bin\..
[echo] ant.project.name = openMAXIMS
[echo] ant.java.version = 1.5
[echo] ant.version = Apache Ant version 1.6.5 compiled on June 2 2005
[echo] basedir = D:\Maxims\openMAXIMS-master\Source Library\openmaxims_workspace\WebApp
Build Error:
ValueObjects:
[javac] Compiling 18147 source files to D:\Maxims\openMAXIMS-master\Source Library\openmaxims_workspace\ValueObjects\bin
[javac] D:\Maxims\openMAXIMS-master\Source Library\openmaxims_workspace\ValueObjects\src\ims\emergency\vo\beans\emergencyepisodeliteVoBean.java:31: error: class EmergencyEpisodeLiteVoBean is public, should be declared in a file named EmergencyEpisodeLiteVoBean.java
[javac] public class EmergencyEpisodeLiteVoBean extends ims.vo.ValueObjectBean
[javac] ^
[javac] D:\Maxims\openMAXIMS-master\Source Library\openmaxims_workspace\ValueObjects\src\ims\emergency\vo\domain\emergencyepisodeliteVoAssembler.java:43: error: class EmergencyEpisodeLiteVoAssembler is public, should be declared in a file named EmergencyEpisodeLiteVoAssembler.java
[javac] public class EmergencyEpisodeLiteVoAssembler
[javac] ^
[javac] D:\Maxims\openMAXIMS-master\Source Library\openmaxims_workspace\ValueObjects\src\ims\emergency\vo\emergencyepisodeliteVo.java:34: error: class EmergencyEpisodeLiteVo is public, should be declared in a file named EmergencyEpisodeLiteVo.java
[javac] public class EmergencyEpisodeLiteVo extends ims.core.admin.vo.EmergencyEpisodeRefVo implements ims.vo.ImsCloneable, Comparable
[javac] ^
[javac] D:\Maxims\openMAXIMS-master\Source Library\openmaxims_workspace\ValueObjects\src\ims\emergency\vo\emergencyepisodeliteVoCollection.java:40: error: class EmergencyEpisodeLiteVoCollection is public, should be declared in a file named EmergencyEpisodeLiteVoCollection.java
[javac] public class EmergencyEpisodeLiteVoCollection extends ims.vo.ValueObjectCollection implements ims.vo.ImsCloneable, Iterable<EmergencyEpisodeLiteVo>
[javac] ^
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 4 errors
BUILD FAILED
D:\Maxims\openMAXIMS-master\Source Library\openmaxims_workspace\WebApp\build_common.xml:182: Compile failed; see the compiler error output for details.
Solution:
The solution to this problem is to fix the file names so that it's using CamelCase notation.
For example:
emergencyepisodeliteVoCollection.java
to
EmergencyEpisodeLiteVoCollection.java
Dear Maintainers,
My name is Matthew Vita, a programmer in the healthcare industry. I am trying to help build up the high impact "List of open-source health software" Wikipedia page (https://en.wikipedia.org/wiki/List_of_open-source_health_software) and would love to add your software to the list. However, it appears that your project does not have a page on Wikipedia so I ask you to consider the following:
(If you’re already on Wikipedia, my search-fu wasn’t working when I looked you up so please consider doing only step 2 above)
Thanks,
Matthew
Following javascript files/libs are corrupted
forminit.js
jscn.js.gz
This means application wont init on the browser
So this is a feafure request;
openMAXIMS should run on standard browsers, not just outdated IEs (8 or lower)
Its not clear what are these SQL scripts.
Creating the openMAXIMS database.pdf
doesnt mention these files.
Does MAXIMS_RefDataMSQ05.sql include newer reference/demo data and should be used instead of Reference-Data-scripts-rel147-openMAXIMS.sql?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.