Hi all,

I'm writing a process that must start when a PDF file comes to a folder, and then, use this file (PDF ) in a Dialog to show it to the user -I guess that I can reference in a a-href HTML tag the file to open it by clicking on the link, but I'm not sure if that it's the best way to do it-. I have implemented a ch.ivyteam.ivy.process.eventstart.beans.FilePickupStartEventBean start, and this is working fine. Then, in a script step, I'm trying to put the file in context in order to use it later in forms the way I've explained. So I've got a subprocess like:

alt text

alt text

With this code inside script step:

import ch.ivyteam.ivy.workflow.document.IDocumentService;

File file = new File(in.pdfPath,true);
ivy.case.documents().add(file.getName());

But now, I'm getting this error:

IvyScriptMethodNotFoundException: Method add(String) for class ch.ivyteam.ivy.workflow.internal.document.LegazyCaseDocumentService of classloader org.eclipse.osgi.internal.loader.EquinoxClassLoader@6eae3730[ch.ivyteam.ivy.workflow:6.6.0.201704281153(id=100)] not found    IvyScriptRuntimeException: IvyScript Runtime Exception in       Instruction:            ivy.case.documents().add(file.getName())        Block:          es.jcd.axonivy.altapersonal.AltaEmpleadoData out;           out = in;           File file = new File(in.pdfPath, true);             ivy.case.documents().add(file.getName());   BpmError: ivy:error:script  RequestException: ivy:error:script  Process Start Event Bean ch.ivyteam.ivy.process.eventstart.beans.FilePickupStartEventBean [class=ch.ivyteam.ivy.process.eventstart.beans.FilePickupStartEventBean, path=15BECE1340C42A33/eventLink.ivp] fire has been failed

[errorId=15CB194B8537DCC2, request=Business Processes/02_Alta_Personal_Impl.mod/eventLink.ivp(4.4.0.0), session=0 (SYSTEM), task=4, application=2147483647, requestId=76, executionContext=SYSTEM, pmv=designer$JCD_Alta_Personal$1]
ch.ivyteam.ivy.request.RequestException: ivy:error:script
    at ch.ivyteam.ivy.request.RequestException$RequestExceptionBuilder.build(RequestException.java:166)
    at ch.ivyteam.ivy.bpm.engine.internal.BpmEngine.handleNormalRequest(BpmEngine.java:194)
    at ch.ivyteam.ivy.bpm.engine.internal.BpmEngine.handleRequestWithinContext(BpmEngine.java:140)
    at ch.ivyteam.ivy.request.impl.ContextAwareRequestHandler.handleRequest(ContextAwareRequestHandler.java:32)
    at ch.ivyteam.ivy.process.eventstart.internal.ProcessStartEventBeanEngine.handleRequest(ProcessStartEventBeanEngine.java:442)
    at ch.ivyteam.ivy.process.eventstart.internal.ProcessStartEventBeanRuntime.fireProcessStartEventRequest(ProcessStartEventBeanRuntime.java:229)
    at ch.ivyteam.ivy.process.eventstart.internal.ProcessStartEventBeanRuntime.fireProcessStartEventRequestAsSystem(ProcessStartEventBeanRuntime.java:202)
    at ch.ivyteam.ivy.process.eventstart.internal.ProcessStartEventBeanRuntime$3.call(ProcessStartEventBeanRuntime.java:142)
    at ch.ivyteam.ivy.process.eventstart.internal.ProcessStartEventBeanRuntime$3.call(ProcessStartEventBeanRuntime.java:1)
    at ch.ivyteam.ivy.security.internal.SecurityManager.executeAsSystem(SecurityManager.java:1313)
    at ch.ivyteam.ivy.process.eventstart.internal.ProcessStartEventBeanRuntime.fireProcessStartEventRequest(ProcessStartEventBeanRuntime.java:137)
    at ch.ivyteam.ivy.process.eventstart.beans.FilePickupStartEventBean.processFile(FilePickupStartEventBean.java:160)
    at ch.ivyteam.ivy.process.eventstart.beans.FilePickupStartEventBean.findAndReadFiles(FilePickupStartEventBean.java:111)
    at ch.ivyteam.ivy.process.eventstart.beans.FilePickupStartEventBean.poll(FilePickupStartEventBean.java:362)
    at ch.ivyteam.ivy.process.eventstart.internal.ProcessStartEventBeanHolder.pollInContext(ProcessStartEventBeanHolder.java:163)
    at ch.ivyteam.ivy.process.eventstart.internal.ProcessStartEventBeanHolder.pollInternal(ProcessStartEventBeanHolder.java:148)
    at ch.ivyteam.ivy.process.eventstart.internal.ProcessStartEventBeanHolder$PollJob.execute(ProcessStartEventBeanHolder.java:559)
    at ch.ivyteam.ivy.job.internal.JobManager$1.call(JobManager.java:382)
    at ch.ivyteam.ivy.job.internal.JobManager$1.call(JobManager.java:1)
    at ch.ivyteam.util.callable.ExecutionContextContainer$ContainerExecutionContext.call(ExecutionContextContainer.java:92)
    at ch.ivyteam.ivy.security.internal.SecurityManager.executeInContext_aroundBody0(SecurityManager.java:1365)
    at ch.ivyteam.ivy.security.internal.SecurityManager.executeInContext_aroundBody1$advice(SecurityManager.java:41)
    at ch.ivyteam.ivy.security.internal.SecurityManager.executeInContext(SecurityManager.java:1)
    at ch.ivyteam.util.callable.ExecutionContextContainer$ContainerExecutionContext.call(ExecutionContextContainer.java:88)
    at ch.ivyteam.util.callable.ExecutionContextContainer.executeInContext(ExecutionContextContainer.java:27)
    at ch.ivyteam.ivy.job.internal.JobManager.execute(JobManager.java:376)
    at ch.ivyteam.ivy.job.internal.Job.run(Job.java:56)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)
[errorId=15CB194B8537DCC2, request=Business Processes/02_Alta_Personal_Impl.mod/eventLink.ivp(4.4.0.0), session=0 (SYSTEM), task=4, application=2147483647, requestId=76, executionContext=SYSTEM, pmv=designer$JCD_Alta_Personal$1, processElement=15BECE1340C42A33-S40-f15]
Caused by: BpmError ivy:error:script
 Unique ID: 15CB194B8537DCC2
 Process Element: Subir PDF al proceso <15BECE1340C42A33-S40-f15>
    at ch.ivyteam.ivy.bpm.error.BpmErrorBuilder.build(BpmErrorBuilder.java:204)
    at ch.ivyteam.ivy.bpm.engine.restricted.error.BpmErrorConverter.toBpmError(BpmErrorConverter.java:30)
    at ch.ivyteam.ivy.bpm.exec.restricted.scripting.BpmIvyScriptExecutor.executionException(BpmIvyScriptExecutor.java:117)
    at ch.ivyteam.ivy.scripting.restricted.execution.AbstractIvyScriptExecutor.execute(AbstractIvyScriptExecutor.java:167)
    at ch.ivyteam.ivy.bpm.exec.restricted.scripting.BpmIvyScriptExecutor.execute(BpmIvyScriptExecutor.java:84)
    at ch.ivyteam.ivy.bpm.exec.internal.activity.script.ScriptExecutor.execute(ScriptExecutor.java:31)
    at ch.ivyteam.ivy.bpm.exec.internal.activity.script.ScriptExecutor.execute(ScriptExecutor.java:1)
    at ch.ivyteam.ivy.bpm.engine.internal.model.bpmn.SimpleActivityExecutorAdapter.execute(SimpleActivityExecutorAdapter.java:36)
    at ch.ivyteam.ivy.bpm.engine.internal.model.ProcessElement.lambda$0(ProcessElement.java:215)
    at ch.ivyteam.ivy.bpm.engine.internal.model.ProcessElement.executeInElementContext(ProcessElement.java:286)
    at ch.ivyteam.ivy.bpm.engine.internal.model.ProcessElement.execute(ProcessElement.java:215)
    at ch.ivyteam.ivy.bpm.engine.internal.core.ProcessElementExecution.execute(ProcessElementExecution.java:37)
    at ch.ivyteam.ivy.bpm.engine.internal.core.RequestProcessor.handleExecution(RequestProcessor.java:140)
    at ch.ivyteam.ivy.bpm.engine.internal.core.RequestProcessor.processRequest(RequestProcessor.java:130)
    at ch.ivyteam.ivy.bpm.engine.internal.core.RequestProcessor.handleRequest(RequestProcessor.java:95)
    at ch.ivyteam.ivy.bpm.engine.internal.core.RequestProcessor.handleRequest(RequestProcessor.java:77)
    at ch.ivyteam.ivy.bpm.engine.internal.BpmEngine.handleNormalRequest(BpmEngine.java:190)
    ... 30 more
[errorId=15CB194B8537DCC2, request=Business Processes/02_Alta_Personal_Impl.mod/eventLink.ivp(4.4.0.0), session=0 (SYSTEM), task=4, application=2147483647, requestId=76, executionContext=0 (SYSTEM), pmv=designer$JCD_Alta_Personal$1, processElement=15BECE1340C42A33-S40-f15]
Caused by: ch.ivyteam.ivy.scripting.exceptions.runtime.IvyScriptRuntimeException: IvyScript Runtime Exception in
    Instruction:
        ivy.case.documents().add(file.getName())
    Block:
        es.jcd.axonivy.altapersonal.AltaEmpleadoData out;
        out = in;
        File file = new File(in.pdfPath, true);
        ivy.case.documents().add(file.getName());
    at ch.ivyteam.ivy.scripting.internal.language.IvyScriptEnginePerformer.wrapException(IvyScriptEnginePerformer.java:1672)
    at ch.ivyteam.ivy.scripting.internal.language.IvyScriptEnginePerformer.visitControlInstructionInvoke(IvyScriptEnginePerformer.java:678)
    at ch.ivyteam.ivy.scripting.internal.language.ControlInstructionInvoke.acceptControlInstructionVisitor(ControlInstructionInvoke.java:98)
    at ch.ivyteam.ivy.scripting.internal.language.ControlInstruction.acceptInstructionVisitor(ControlInstruction.java:55)
    at ch.ivyteam.ivy.scripting.internal.language.IvyScriptEnginePerformer.execute(IvyScriptEnginePerformer.java:170)
    at ch.ivyteam.ivy.scripting.internal.language.IvyScriptEnginePerformer.execute(IvyScriptEnginePerformer.java:126)
    at ch.ivyteam.ivy.scripting.internal.language.IvyScriptEngine.executeInternal(IvyScriptEngine.java:312)
    at ch.ivyteam.ivy.scripting.internal.language.IvyScriptEngine.execute(IvyScriptEngine.java:281)
    at ch.ivyteam.ivy.scripting.restricted.execution.AbstractIvyScriptExecutor.executeInstruction(AbstractIvyScriptExecutor.java:197)
    at ch.ivyteam.ivy.bpm.exec.restricted.scripting.BpmIvyScriptExecutor.lambda$0(BpmIvyScriptExecutor.java:90)
    at ch.ivyteam.ivy.security.internal.SecurityContext.executeAs(SecurityContext.java:1289)
    at ch.ivyteam.ivy.bpm.exec.restricted.scripting.BpmIvyScriptExecutor.executeSecurely(BpmIvyScriptExecutor.java:103)
    at ch.ivyteam.ivy.bpm.exec.restricted.scripting.BpmIvyScriptExecutor.executeInstruction(BpmIvyScriptExecutor.java:90)
    at ch.ivyteam.ivy.scripting.restricted.execution.AbstractIvyScriptExecutor.execute(AbstractIvyScriptExecutor.java:158)
    ... 43 more
[errorId=15CB194B8537DCC2, request=Business Processes/02_Alta_Personal_Impl.mod/eventLink.ivp(4.4.0.0), session=0 (SYSTEM), task=4, application=2147483647, requestId=76, executionContext=0 (SYSTEM), pmv=designer$JCD_Alta_Personal$1, processElement=15BECE1340C42A33-S40-f15]
Caused by: ch.ivyteam.ivy.scripting.exceptions.invocation.IvyScriptMethodNotFoundException: Method add(String) for class ch.ivyteam.ivy.workflow.internal.document.LegazyCaseDocumentService of classloader org.eclipse.osgi.internal.loader.EquinoxClassLoader@6eae3730[ch.ivyteam.ivy.workflow:6.6.0.201704281153(id=100)] not found
    at ch.ivyteam.ivy.scripting.internal.language.IvyScriptEnginePerformer.visitControlInstructionInvoke(IvyScriptEnginePerformer.java:631)
    ... 55 more

Any idea?

TIA

This question is marked "community wiki".

asked 16.06.2017 at 11:48

jirazazabal's gravatar image

jirazazabal
267712
accept rate: 0%

edited 19.06.2017 at 02:43

Reguel%20Wermelinger's gravatar image

Reguel Werme... ♦♦
7.8k11549


Could you try with the latest version 6.6.1.54532? In its Release Notes:

+ XIVY-1910 Bug          ivy.case.documents() not accessible in ivyScript

Did you consistently reproduce this error (even after re-build and re-start the Ivy Designer engine). If so, I think this may be a bug in the internal API.

A side node to your implementation: I assume in.pdfPath is the absolute path to the PDF file, then you may want to implement like this:

import java.nio.file.*;

Path pdfFile = Paths.get(in.pdfPath);

// You may actually want to add the document
// to the actual `ICase` of the real business case instead of
// using `ivy.case` which is always bound to the _current_ case of the _current_ process.

ivy.case.documents().add(pdfFile.getFileName())
    .write().writeContentFrom(Files.newInputStream(pdfFile));
link

answered 18.06.2017 at 03:02

Genzer%20Hawker's gravatar image

Genzer Hawker
471212535
accept rate: 66%

It seems that it was a Bug. I've installed last designer version and now it's working without any error.

Thanks

BR

(19.06.2017 at 05:48) jirazazabal jirazazabal's gravatar image

When referencing the file through the Dialog, now I'm getting this error:

12:46:24.619 ERROR [runtimelog.designer.JCD_Alta_Personal.html_dialog] [http-nio-8082-exec-17] [request=/ivy/faces/instances/15CBFF55BB1CA7E8/files/Default/5/Documents/Solicitud%20de%20Contrataci%C3%B3n%20Aprobada%20por%20DocuSign.pdf, session=3 (Developer), task=7, application=2147483647, requestId=216, executionContext=SYSTEM, pmv=designer$JCD_Alta_Personal$1, hd=es.jcd.axonivy.altapersonal.InitDatosNuevoAltaForm] Error during rendering of html dialog 'es.jcd.axonivy.altapersonal.InitDatosNuevoAltaForm' java.lang.NoClassDefFoundError: javax/servlet/jsp/jstl/core/Config at org.apache.myfaces.view.jsp.JspViewDeclarationLanguage.buildView(JspViewDeclarationLanguage.java:91) at org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:78) at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:267) at org.apache.myfaces.extensions.validator.core.startup.ExtValLifecycleWrapper.render(ExtValLifecycleWrapper.java:77) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:200) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) at org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:120) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) at ch.ivyteam.ivy.dialog.execution.jsf.controller.rest.IvyRestServiceFilter.doFilter(IvyRestServiceFilter.java:70) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) at ch.ivyteam.ivy.webserver.restricted.jsf.IvyFacesFilter.filter(IvyFacesFilter.java:66) at ch.ivyteam.ivy.webserver.restricted.jsf.IvyFacesFilter.doFilter(IvyFacesFilter.java:36) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) at org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) at ch.ivyteam.ivy.webserver.internal.exception.IvyExceptionFilter.doFilter(IvyExceptionFilter.java:49) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) at ch.ivyteam.ivy.webserver.internal.IvyExecuteAsSystemFilter$1.call(IvyExecuteAsSystemFilter.java:45) at ch.ivyteam.ivy.webserver.internal.IvyExecuteAsSystemFilter$1.call(IvyExecuteAsSystemFilter.java:1) at ch.ivyteam.ivy.security.internal.SecurityManager.executeAsSystem(SecurityManager.java:1313) at ch.ivyteam.ivy.webserver.internal.IvyExecuteAsSystemFilter.doFilter(IvyExecuteAsSystemFilter.java:39) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) at ch.ivyteam.ivy.webserver.internal.startup.IvyEngineUnavailableFilter.doFilter(IvyEngineUnavailableFilter.java:46) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:89) at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:120) at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:135) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) at ch.ivyteam.ivy.webserver.internal.PerformanceLogValve.invoke(PerformanceLogValve.java:55) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:528) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1099) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:672) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1520) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1476) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.ClassNotFoundException: javax.servlet.jsp.jstl.core.Config cannot be found by ch.ivyteam.tomcat_6.6.1.201705151238 at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:432) at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:345) at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:337) at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:160) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 53 more 12:46:24.621 ERROR [ch.ivyteam.ivy.webserver.internal.exception] [http-nio-8082-exec-17] [requestId=216, executionContext=SYSTEM] Problem while processing request 'http://localhost:8082/ivy/faces/instances/15CBFF55BB1CA7E8/files/Default/5/Documents/Solicitud%20de%20Contrataci%C3%B3n%20Aprobada%20por%20DocuSign.pdf' java.lang.NoClassDefFoundError: javax/servlet/jsp/jstl/core/Config at org.apache.myfaces.view.jsp.JspViewDeclarationLanguage.buildView(JspViewDeclarationLanguage.java:91) at org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:78) at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:267) at org.apache.myfaces.extensions.validator.core.startup.ExtValLifecycleWrapper.render(ExtValLifecycleWrapper.java:77) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:200) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) at org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:120) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) at ch.ivyteam.ivy.dialog.execution.jsf.controller.rest.IvyRestServiceFilter.doFilter(IvyRestServiceFilter.java:70) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) at ch.ivyteam.ivy.webserver.restricted.jsf.IvyFacesFilter.filter(IvyFacesFilter.java:66) at ch.ivyteam.ivy.webserver.restricted.jsf.IvyFacesFilter.doFilter(IvyFacesFilter.java:36) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) at org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) at ch.ivyteam.ivy.webserver.internal.exception.IvyExceptionFilter.doFilter(IvyExceptionFilter.java:49) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) at ch.ivyteam.ivy.webserver.internal.IvyExecuteAsSystemFilter$1.call(IvyExecuteAsSystemFilter.java:45) at ch.ivyteam.ivy.webserver.internal.IvyExecuteAsSystemFilter$1.call(IvyExecuteAsSystemFilter.java:1) at ch.ivyteam.ivy.security.internal.SecurityManager.executeAsSystem(SecurityManager.java:1313) at ch.ivyteam.ivy.webserver.internal.IvyExecuteAsSystemFilter.doFilter(IvyExecuteAsSystemFilter.java:39) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) at ch.ivyteam.ivy.webserver.internal.startup.IvyEngineUnavailableFilter.doFilter(IvyEngineUnavailableFilter.java:46) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:89) at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:120) at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:135) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) at ch.ivyteam.ivy.webserver.internal.PerformanceLogValve.invoke(PerformanceLogValve.java:55) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:528) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1099) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:672) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1520) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1476) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.ClassNotFoundException: javax.servlet.jsp.jstl.core.Config cannot be found by ch.ivyteam.tomcat_6.6.1.201705151238 at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:432) at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:345) at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:337) at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:160) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 53 more 12:47:26.179 ERROR [runtimelog.designer.JCD_Alta_Personal.html_dialog] [http-nio-8082-exec-19] [request=/ivy/faces/instances/15CBFF691DE40B3F/files/Default/4/Documents/Solicitud%20de%20Contrataci%C3%B3n%20Aprobada%20por%20DocuSign.pdf, session=4 (Developer), task=5, application=2147483647, requestId=252, executionContext=SYSTEM, pmv=designer$JCD_Alta_Personal$1, hd=es.jcd.axonivy.altapersonal.InitDatosNuevoAltaForm] Error during rendering of html dialog 'es.jcd.axonivy.altapersonal.InitDatosNuevoAltaForm' java.lang.NoClassDefFoundError: javax/servlet/jsp/jstl/core/Config at org.apache.myfaces.view.jsp.JspViewDeclarationLanguage.buildView(JspViewDeclarationLanguage.java:91) at org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:78) at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:267) at org.apache.myfaces.extensions.validator.core.startup.ExtValLifecycleWrapper.render(ExtValLifecycleWrapper.java:77) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:200) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) at org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:120) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) at ch.ivyteam.ivy.dialog.execution.jsf.controller.rest.IvyRestServiceFilter.doFilter(IvyRestServiceFilter.java:70) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) at ch.ivyteam.ivy.webserver.restricted.jsf.IvyFacesFilter.filter(IvyFacesFilter.java:66) at ch.ivyteam.ivy.webserver.restricted.jsf.IvyFacesFilter.doFilter(IvyFacesFilter.java:36) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) at org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) at ch.ivyteam.ivy.webserver.internal.exception.IvyExceptionFilter.doFilter(IvyExceptionFilter.java:49) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) at ch.ivyteam.ivy.webserver.internal.IvyExecuteAsSystemFilter$1.call(IvyExecuteAsSystemFilter.java:45) at ch.ivyteam.ivy.webserver.internal.IvyExecuteAsSystemFilter$1.call(IvyExecuteAsSystemFilter.java:1) at ch.ivyteam.ivy.security.internal.SecurityManager.executeAsSystem(SecurityManager.java:1313) at ch.ivyteam.ivy.webserver.internal.IvyExecuteAsSystemFilter.doFilter(IvyExecuteAsSystemFilter.java:39) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) at ch.ivyteam.ivy.webserver.internal.startup.IvyEngineUnavailableFilter.doFilter(IvyEngineUnavailableFilter.java:46) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:89) at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:120) at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:135) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) at ch.ivyteam.ivy.webserver.internal.PerformanceLogValve.invoke(PerformanceLogValve.java:55) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:528) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1099) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:672) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1520) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1476) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745) 12:47:26.181 ERROR [ch.ivyteam.ivy.webserver.internal.exception] [http-nio-8082-exec-19] [requestId=252, executionContext=SYSTEM] Problem while processing request 'http://localhost:8082/ivy/faces/instances/15CBFF691DE40B3F/files/Default/4/Documents/Solicitud%20de%20Contrataci%C3%B3n%20Aprobada%20por%20DocuSign.pdf' java.lang.NoClassDefFoundError: javax/servlet/jsp/jstl/core/Config at org.apache.myfaces.view.jsp.JspViewDeclarationLanguage.buildView(JspViewDeclarationLanguage.java:91) at org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:78) at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:267) at org.apache.myfaces.extensions.validator.core.startup.ExtValLifecycleWrapper.render(ExtValLifecycleWrapper.java:77) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:200) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) at org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:120) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) at ch.ivyteam.ivy.dialog.execution.jsf.controller.rest.IvyRestServiceFilter.doFilter(IvyRestServiceFilter.java:70) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) at ch.ivyteam.ivy.webserver.restricted.jsf.IvyFacesFilter.filter(IvyFacesFilter.java:66) at ch.ivyteam.ivy.webserver.restricted.jsf.IvyFacesFilter.doFilter(IvyFacesFilter.java:36) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) at org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) at ch.ivyteam.ivy.webserver.internal.exception.IvyExceptionFilter.doFilter(IvyExceptionFilter.java:49) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) at ch.ivyteam.ivy.webserver.internal.IvyExecuteAsSystemFilter$1.call(IvyExecuteAsSystemFilter.java:45) at ch.ivyteam.ivy.webserver.internal.IvyExecuteAsSystemFilter$1.call(IvyExecuteAsSystemFilter.java:1) at ch.ivyteam.ivy.security.internal.SecurityManager.executeAsSystem(SecurityManager.java:1313) at ch.ivyteam.ivy.webserver.internal.IvyExecuteAsSystemFilter.doFilter(IvyExecuteAsSystemFilter.java:39) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) at ch.ivyteam.ivy.webserver.internal.startup.IvyEngineUnavailableFilter.doFilter(IvyEngineUnavailableFilter.java:46) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:89) at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:120) at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:135) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) at ch.ivyteam.ivy.webserver.internal.PerformanceLogValve.invoke(PerformanceLogValve.java:55) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:528) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1099) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:672) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1520) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1476) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745)

We need help to solve this!

TIA!

link

answered 19.06.2017 at 06:50

jirazazabal's gravatar image

jirazazabal
267712
accept rate: 0%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×17
×16

Asked: 16.06.2017 at 11:48

Seen: 715 times

Last updated: 19.06.2017 at 06:50