Hi Isomorphic,
I have a strange problem, where after some time DataSourceLoader (v11.1p_2018-06-15) call throws an exception for a .ds.xml file. Restarting the server or touching the .ds.xml file makes the problem go away.
The only difference I can see between this file an other files is that it uses a <valueMap> with ID for two fields. There are no duplicate ID values, if that matters.
The exception is this:
Can you have a look if this means something to you? I'm a but confused about the problem only appearing after some time.
Thank you & Best regards
Blama
I have a strange problem, where after some time DataSourceLoader (v11.1p_2018-06-15) call throws an exception for a .ds.xml file. Restarting the server or touching the .ds.xml file makes the problem go away.
The only difference I can see between this file an other files is that it uses a <valueMap> with ID for two fields. There are no duplicate ID values, if that matters.
Code:
<field name="COLUMN_NAME" length="30" type="text" escapeHTML="true" required="true" > <title><fmt:message key="columnName"/></title> <valueMap> <value ID="SHORTNAME"><fmt:message key="shortname" /></value> <value ID="NAME"><fmt:message key="name" /></value> <value ID="DESCRIPTION"><fmt:message key="description" /></value> <value ID="VARCHARVALUE"><fmt:message key="valueUsed" /></value> <value ID="VARCHARVALUEDEFAULT"><fmt:message key="defaultValue" /></value> <value ID="DISPLAYNAME"><fmt:message key="displayName" /></value> <value ID="FULLNAME"><fmt:message key="fullName" /></value> </valueMap> <validators> <validator type="isOneOf"></validator> <validator type="isUnique" criteriaFields="TABLE_IDVALUE, TABLE_NAME, ISO_639_1_ALPHA_2" /> </validators> </field>
Code:
[B]javax.servlet.ServletException: DataSource 'V_TRANSLATION_USERTRANSLATION' failed to load due to an exception on the server: Instantiation of class: org.apache.commons.collections4.map.AbstractHashedMap$KeySet threw an InstantiationException - most likely cause is the class represents an abstract class, an interface, an array class, a primitive type, or void; or the class has no zero-argument constructor. See the server-side log for additional details. at com.isomorphic.servlet.DataSourceLoader.processRequest(DataSourceLoader.java:286)[/B] at com.isomorphic.servlet.DataSourceLoader.doGet(DataSourceLoader.java:107) at javax.servlet.http.HttpServlet.service(HttpServlet.java:635) at com.isomorphic.servlet.BaseServlet.service(BaseServlet.java:176) at javax.servlet.http.HttpServlet.service(HttpServlet.java:742) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at com.lmscompany.lms.server.MimeTypeFilter.doFilter(MimeTypeFilter.java:26) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at com.isomorphic.servlet.CompressionFilter._doFilter(CompressionFilter.java:260) at com.isomorphic.servlet.BaseFilter.doFilter(BaseFilter.java:93) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:595) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:80) at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:624) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:799) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1455) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Unknown Source)
Thank you & Best regards
Blama
Comment