Description of problem:
Form modeler doesn't load on Weblogic due to a CompilationException:
javax.servlet.ServletException: weblogic.servlet.jsp.CompilationException: Failed to compile JSP /formModeler/fieldHandlers/CreateDynamicObject/input.jsp
input.jsp:30:2: The code of method _jspService(HttpServletRequest, HttpServletResponse) is exceeding the 65535 bytes limit
<i18n:bundle id="bundle" baseName="org.jbpm.formModeler.core.processing.fieldHandlers.messages" locale="<%=LocaleManager.currentLocale()%>"/>
See e.g. http://futuretask.blogspot.cz/2005/01/java-tip-5-avoid-64kb-method-limit-on.html
This doesn't happen with other tested containers (different jsp compilers).
Version-Release number of selected component (if applicable):
Can you attach your repo to see your model & forms?
(In reply to Pere Fernàndez from comment #2)
> Can you attach your repo to see your model & forms?
Repo can be found here:
Project is 'formmodeler'.
I tried a bit more manually. The issue depends on the 'size' of the form. This means that on the one hand, we don't hit it all the time on WLS, on the other hand though, with a bit of luck, we can hit it on other containers as well.
If you try with e.g. DefaultValueTest.form, it will take some time, but in the end, the form will load.
If you try FormWithAllFieldTypes.form, it will not load and you will get the exception mentioned above.
(Switch to 'Add fields by...' tabs)
Splitted the components that were causing the issue into smaller ones.
Sent Pull Requests.
Commit (master): https://github.com/droolsjbpm/jbpm-form-modeler/commit/cef8c65d7211c744dc7f9d413ddf29361ab0e5a1
Commit (6.3.x): https://github.com/droolsjbpm/jbpm-form-modeler/commit/b10a4483949cc70be1290e25b6a74d6b9eee8c8d