-
Notifications
You must be signed in to change notification settings - Fork 495
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with uploading files #3644
Comments
@nwoodward thanks for the detailed info. Let me do some checking and I'll get you an answer ASAP. |
No, I don't think your upload issues were related to the JHOVE errors. These JHOVE errors are not fatal. This message means that there's something wrong with JHOVE configuration. And that in turn means that your Dataverse cannot use JHOVE for detecting content types of the files you are uploading - but it still tries to determine the type, it just ends up being less accurate. How to fix: No, you don't need to install JHOVE separately. It is just a library that the Dataverse application is built with. But it has its own configuration. I'm guessing this Dataverse installation is an older version that was upgraded to 4.6, correct? (this config file was changed 2 or 3 releases back; for newer installations the above would be done by our installer script automatically. however, older installations needed to apply this fix manually. we published an upgrade instruction - but it may have ended up buried in the release notes...) |
As for the main issue you reported - upload just stopped working - unfortunately, I can't immediately think of an explanation. The error message just says that the file failed to upload - but with no clues as to why... |
Thank you both for the help. You are correct that this instance was an older version of Dataverse that has been upgraded a few times and is now at 4.6. We'll update our JHOVE configuration since it can't hurt, and as for the failing uploads we'll just keep an eye on things and speak up if it happens again and we see more information in the logs. |
@nwoodward any news? Should we leave this issue open? You could always open a fresh one if the problem resurfaces. |
We've been monitoring the issue, and we haven't seen uploads fail again. There's still no explanation for how it happened, but if we see it again I can open a new issue and hopefully include more information. Please feel free to close this one. Thanks! |
@nwoodward thanks. @djbrooke and I discussed this issue this morning and went ahead and closed it. Please do open a new issue if it resurfaces. |
FWIW - we just saw the same RuntimeException at QDR on v4.10.1 - although in our case the underlying cause was org.jboss.weld.context.ContextNotActiveException: WELD-001303: No active contexts for scope type javax.enterprise.context.SessionScoped. We had to kill/restart glassfish to recover. My guess is that this was somehow related to an old browser window, but so far we can't reproduce it. (I don't think it's worth a new issue but thought I'd add a note here since this issue came up when I searched on the exception...) |
Me too. I just searched for "java.lang.RuntimeException: Error in multipart initialization at org.apache.catalina.fileupload.Multipart.init" and this issue was the first hit. The current problem we're seeing is captured in a couple places:
In the current problem the "caused by" is different. It's this: Caused by: java.io.IOException: java.lang.InterruptedException at org.glassfish.grizzly.nio.transport.TCPNIOTransportFilter.handleRead(TCPNIOTransportFilter.java:92) |
Yesterday the upload files form on our Dataverse (v. 4.6) stopped working. We tested with different types of relatively small files, trying to upload them one at a time. In the logs (below) it looks like an error with the form's action.
After we rebooted the VM, file uploads started working again. Any possible explanations for this behavior? One other thing, in the logs I see an occasional JHOVE config error.
Any chance this is related? In config/jhove.conf, the directory specified in 'jhoveHome' doesn't exist. Should we have installed JHOVE as part of the Dataverse installation process?
I looked at issues #2619 and #951, but I'm not sure how they were eventually resolved.
The text was updated successfully, but these errors were encountered: