Buenas tardes.
Me encuentro pasando un servidor de aplicaciones JBoss 4.2.3 GA de un servidor Windows a un servidor Debian. En dicho servidor de aplicaciones se encuentran varias aplicaciones Webm, que en este momento se encuentran funcionando perfecto, en el nuevo servidor Debian. Ya he probado todas las opciones del los aplicativos con respuesta satisfactoria.
El problema que tengo es al intentar descargar unos informes desde uno de los aplicativos. Los informes o reportes fueron creados en Ireport 1.2.7, cada reporte cuenta con un Scriptlet, para el manejo de la lógica.
Al intentar descargar un reporte que no tienen Scriptlet todo funciona perfectamente y descarga con satisfacción. Lo que me indica que el problema es con los Scriptlet.
Al depurar el aplicativo me encuentro con que la excepción sale desde esta linea.
JasperPrint print = JasperFillManager.fillReport(jr, params, test);
donde jr es un objeto JasperReport, params es un objeto Map y test es un objeto Connection.
La excepción que arroja esta linea es:
17:09:27,272 ERROR [STDERR] net.sf.jasperreports.engine.JRException: Error loading scriptlet class : reporteConsolidadoTiemposScriptlet
17:09:27,273 ERROR [STDERR] at net.sf.jasperreports.engine.fill.JRFillDataset.cre ateScriptlet(JRFillDataset.java:459)
17:09:27,273 ERROR [STDERR] at net.sf.jasperreports.engine.fill.JRFillDataset.set ParameterValues(JRFillDataset.java:572)
17:09:27,273 ERROR [STDERR] at net.sf.jasperreports.engine.fill.JRBaseFiller.setP arameters(JRBaseFiller.java:1195)
17:09:27,273 ERROR [STDERR] at net.sf.jasperreports.engine.fill.JRBaseFiller.fill (JRBaseFiller.java:833)
17:09:27,273 ERROR [STDERR] at net.sf.jasperreports.engine.fill.JRBaseFiller.fill (JRBaseFiller.java:782)
17:09:27,273 ERROR [STDERR] at net.sf.jasperreports.engine.fill.JRFiller.fillRepo rt(JRFiller.java:63)
17:09:27,273 ERROR [STDERR] at net.sf.jasperreports.engine.JasperFillManager.fill Report(JasperFillManager.java:402)
17:09:27,273 ERROR [STDERR] at co.edu.uniandes.cronos.ejbs.reports.ReportsBusines sDelegate.srvFillAndReturnReport(ReportsBusinessDe legate.java:578)
17:09:27,273 ERROR [STDERR] at co.edu.uniandes.cronos.ejbs.reports.ReportsSession Bean.srvFillAndReturnReport(ReportsSessionBean.jav a:84)
17:09:27,273 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor199.invoke(Unkn own Source)
17:09:27,273 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
17:09:27,273 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:592)
17:09:27,273 ERROR [STDERR] at org.jboss.invocation.Invocation.performCall(Invoca tion.java:359)
17:09:27,273 ERROR [STDERR] at org.jboss.ejb.StatelessSessionContainer$ContainerI nterceptor.invoke(StatelessSessionContainer.java:2 37)
17:09:27,273 ERROR [STDERR] at org.jboss.resource.connectionmanager.CachedConnect ionInterceptor.invoke(CachedConnectionInterceptor. java:158)
17:09:27,273 ERROR [STDERR] at org.jboss.ejb.plugins.StatelessSessionInstanceInte rceptor.invoke(StatelessSessionInstanceInterceptor .java:169)
17:09:27,273 ERROR [STDERR] at org.jboss.ejb.plugins.CallValidationInterceptor.in voke(CallValidationInterceptor.java:63)
17:09:27,273 ERROR [STDERR] at org.jboss.ejb.plugins.AbstractTxInterceptor.invoke Next(AbstractTxInterceptor.java:121)
17:09:27,273 ERROR [STDERR] at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTran sactions(TxInterceptorCMT.java:350)
17:09:27,273 ERROR [STDERR] at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxIn terceptorCMT.java:181)
17:09:27,273 ERROR [STDERR] at org.jboss.ejb.plugins.SecurityInterceptor.invoke(S ecurityInterceptor.java:168)
17:09:27,273 ERROR [STDERR] at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInt erceptor.java:205)
17:09:27,273 ERROR [STDERR] at org.jboss.ejb.plugins.ProxyFactoryFinderIntercepto r.invoke(ProxyFactoryFinderInterceptor.java:138)
17:09:27,273 ERROR [STDERR] at org.jboss.ejb.SessionContainer.internalInvoke(Sess ionContainer.java:648)
17:09:27,273 ERROR [STDERR] at org.jboss.ejb.Container.invoke(Container.java:960)
17:09:27,273 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor188.invoke(Unkn own Source)
17:09:27,273 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
17:09:27,273 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:592)
17:09:27,273 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invok e(ReflectedDispatcher.java:155)
17:09:27,273 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation .java:94)
17:09:27,273 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.j ava:86)
17:09:27,273 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(Ab stractMBeanInvoker.java:264)
17:09:27,273 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanSe rverImpl.java:659)
17:09:27,273 ERROR [STDERR] at org.jboss.invocation.local.LocalInvoker$MBeanServe rAction.invoke(LocalInvoker.java:169)
17:09:27,273 ERROR [STDERR] at org.jboss.invocation.local.LocalInvoker.invoke(Loc alInvoker.java:118)
17:09:27,273 ERROR [STDERR] at org.jboss.invocation.InvokerInterceptor.invokeLoca l(InvokerInterceptor.java:209)
17:09:27,273 ERROR [STDERR] at org.jboss.invocation.InvokerInterceptor.invoke(Inv okerInterceptor.java:195)
17:09:27,273 ERROR [STDERR] at org.jboss.proxy.TransactionInterceptor.invoke(Tran sactionInterceptor.java:61)
17:09:27,273 ERROR [STDERR] at org.jboss.proxy.SecurityInterceptor.invoke(Securit yInterceptor.java:70)
17:09:27,273 ERROR [STDERR] at org.jboss.proxy.ejb.StatelessSessionInterceptor.in voke(StatelessSessionInterceptor.java:112)
17:09:27,273 ERROR [STDERR] at org.jboss.proxy.ClientContainer.invoke(ClientConta iner.java:100)
17:09:27,274 ERROR [STDERR] at $Proxy297.srvFillAndReturnReport(Unknown Source)
17:09:27,274 ERROR [STDERR] at co.edu.uniandes.cronos.reports.delegate.ReportsDel egate.srvFillAndReturnReport(ReportsDelegate.java: 107)
17:09:27,274 ERROR [STDERR] at co.edu.uniandes.cronos.reports.action.ShowReportAc tion.execute(ShowReportAction.java:123)
17:09:27,274 ERROR [STDERR] at org.apache.struts.action.RequestProcessor.processA ctionPerform(RequestProcessor.java:484)
17:09:27,274 ERROR [STDERR] at org.apache.struts.action.RequestProcessor.process( RequestProcessor.java:274)
17:09:27,274 ERROR [STDERR] at org.apache.struts.action.ActionServlet.process(Act ionServlet.java:1482)
17:09:27,274 ERROR [STDERR] at org.apache.struts.action.ActionServlet.doPost(Acti onServlet.java:525)
17:09:27,274 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet .java:710)
17:09:27,274 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet .java:803)
17:09:27,274 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:290)
La verdad no conozco mucho de scriptlet, espero de su ayuda, Gracias!