I sent the following to the Dataverse Google group. One WARNING is about the zippreviewer, which I think Jim can help with. But the other is an "offending code" warning.
https://groups.google.com/g/dataverse-community/c/Sewgonwd_HM
====================
We are getting this error in our server.log:
[2025-03-07T13:59:43.727+0000] [Payara 6.2024.6] [WARNING] [] [edu.harvard.iq.dataverse.util.BundleUtil] [tid: _ThreadID=88 _ThreadName=http-thread-pool::jk-connector(2)] [timeMillis: 1741355983727] [levelValue: 900] [[
ย Could not find key "externaltools.zipPreviewer.displayname" in bundle file: ]]
We do have zipPreviewer installed as an external previewer. I looked at the Bundle.properties file and see this line for Data Curation Tool:
externaltools.dct.displayname=Data Curation Tool
Do I need to add a similar one for zipPreviewer? To get rid of the warnings?
We are also getting LOTS of these warnings causing our server.log file to rollover many times a day - so we have about 10 or so server log files for a day. Here's that Warning:
[2025-03-07T14:21:47.495+0000] [Payara 6.2024.6] [WARNING] [] [] [tid: _ThreadID=88 _ThreadName=http-thread-pool::jk-connector(2)] [timeMillis: 1741357307495] [levelValue: 900] [[
ย Response has already been committed, and further write operations are not permitted. This may result in an IllegalStateException being triggered by the underlying application. To avoid this situation, consider adding a Rule.when(Direction.isInbound().and(Response.isCommitted())).perform(Lifecycle.abort()), or figure out where the response is being incorrectly committed and correct the bug in the offending code.]]
Thanks for posting on the google group as well! It looks like Jim already replied and I agree with his take.
Fixed the zipPreviewer warning by adding this line to our Bundle.properties file:
externaltools.zipPreviewer.displayname=Zip Previewer
Great. I wonder... do we document this somewhere? If not, we probably should!
I couldn't find it documented. Plus this was the only Previewer that is giving WARNINGS. I have other preveiwers installed, but only a warning for zipPreviewer was in the log file. I'm not sure why this one previewer needed a bundle property? :shrug:
Maybe it just needs to be added to the core Bundle.properties file. There is an #externaltools section in that file that comes with definitions for the Data Curation Tool:
#externaltools
externaltools.dct.displayname=Data Curation Tool
externaltools.dct.description=Data Curation Tool for curation of variables
externaltools.explorer.displayname=Data Explorer
externaltools.explorer.description=The Data Explorer provides a GUI which lists the variables in a tabular data file allowing searching, charting and cross tabulation analysis.
Right, it's a bit messy. I wonder if we should remove externaltools.dct.displayname=Data Curation Tool and the rest and treat all tools the same way. That is, if you add a tool, you have to edit Bundle.properties.
Last updated: Oct 30 2025 at 06:21 UTC