Replies: 14 comments
-
The exception:
is more related to an invalid web session. Try to start a new browser instance and login in again. If you work with the JSF-Example you can also upgrade the imixs-workflow-version to 5.1.4 - this can be an issue too. So in your pom.xml change
Just in the moment I did a test by myself and the fileupload works. (I hope you are testing with a small file?) |
Beta Was this translation helpful? Give feedback.
-
Hi, did it work for your? |
Beta Was this translation helpful? Give feedback.
-
Unfortunately no I have not been able to fix this issue because When I try to update the workflow version to 5.1.4 I get the following issue: 14:51:15,156 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC000001: Failed to start service jboss.deployment.unit."biocompace-request-1.0.0.war".WeldStartService: org.jboss.msc.service.StartException in service jboss.deployment.unit."biocompace-request-1.0.0.war".WeldStartService: Failed to start service Caused by: org.jboss.weld.exceptions.DeploymentException: Exception List with 2 exceptions: Exception 1 : I tried to empty my deployments folder like you suggested here #606 (comment), but I am still getting the same error. |
Beta Was this translation helpful? Give feedback.
-
Ok, I guess you missed the additional depndency in your pom.xml needed since 5.1 ..
|
Beta Was this translation helpful? Give feedback.
-
Yes that worked in order to update to the newer version of the workflow. Thank you |
Beta Was this translation helpful? Give feedback.
-
I am still however having the issue where I am still getting the same error when I try to upload a file, even if I'm using a very small file. Here is the entire error I am getting:
|
Beta Was this translation helpful? Give feedback.
-
ok but again the The FileUploadController bean is @ConversationScoped and also is the WorkflowController. I can not analyze it form the data I can see if you are working with additional custom controllers using a request scope or session scope? |
Beta Was this translation helpful? Give feedback.
-
I tested the fileupload from your imixs-jsf-example application and am getting the same the error and so it must be an error from my server. |
Beta Was this translation helpful? Give feedback.
-
This is very very strange. I know this error message only in conjunction with a outdated session. This conversion ID named in the error message can sometimes be seen in the browser URL constructed by the JSF Framework. And Ajax is a field which can in some cases lead into a problem with the url extensions. If you google for the error message you will find different discussions about this. But we use this fileupload in so many projects and I never had a user complaining about this kind of problem. How is you JSF framework setup? Do you store session information on server side (default) or did you change this to client side? Do you have a chance to debug this in more detail? In your stack-trace no Imixs classes can be seen so it should in deed be a server problem... |
Beta Was this translation helpful? Give feedback.
-
Hello Ralph, I spent the last few days updating my application to include some of the new elements you have included in your imixs-jsf-example application from over the last year and it seems as though all the errors I had with my file upload button have gone away. I wasn't able to pinpoint what was causing the error as it seems odd that updating jsf UI elements and css styling would help fix my errors. I have not been able to replicate the errors that I was getting, but if I do get the errors again I will make sure to let you know and let you know why I was getting those errors. |
Beta Was this translation helpful? Give feedback.
-
Yes we updated a lot of the JSF stuff because it was very old and JSF 2.2 allows improvements. https://www.imixs.org/doc/webtools/index.html Also the recommended way how to deal with views has changed. Take a look here: |
Beta Was this translation helpful? Give feedback.
-
Hello Ralph, one more question about the fileUpload tag. Is it possible to only have the imixsfileuploadtable visible, so that there is no file upload button and the only thing visible is the data table containing the links for all of the files uploaded to that workitem? |
Beta Was this translation helpful? Give feedback.
-
Hi, this should work if you set the CSS class 'imixsFileUpload_control' with display:none:
|
Beta Was this translation helpful? Give feedback.
-
Thank you! That worked great |
Beta Was this translation helpful? Give feedback.
-
Hello Ralph,
I am currently using IMIXS-workflow version 5.0.0 and have a question about the following problem:
I am using
<i:imixsFileUpload id="file_upload_id" />
in order to upload a file into my workitem, however when a user presses fileUpload and selects a file, a popup that says "The file cannot be added because the maximum file size was exceeded appear" pops up, and the console reads the following error:UT005023: Exception handling request to /biocompace/fileupload/: org.jboss.weld.contexts.NonexistentConversationException: WELD-000321: No conversation found to restore for id 1
I tried adding the web.xml settings that you suggested from https://www.imixs.org/doc/webtools/fileupload.html, however I am still receiving the same error.
Do you have any other suggestions on how to fix this error?
Beta Was this translation helpful? Give feedback.
All reactions