Jump to content
We've recently updated our Privacy Statement, available here ×

SETTURGOPI

Members
  • Posts

    51
  • Joined

  • Last visited

 Content Type 

Profiles

Forum

Events

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Downloads

Everything posted by SETTURGOPI

  1. error message. The defaukt itext.jar in WEB-INF doesnt work and doesnt diplay chinese chars. net.sf.jasperreports.engine.JRRuntimeException: Could not load the following font : pdfFontName : STSong-Light pdfEncoding : UniGB-UCS2-H isPdfEmbedded : true Solution URL --> http://www.voidcn.com/article/p-yjfqxujc-bqt.html --> is in chinsese language. Solutions is transalated and pasted below. When using jasperreport to do the report, the following error occurred, tossing for a long time, online check a lot of information, and finally solved net.sf.jasperreports.engine.JRRuntimeException: Could not load the following font : pdfFontName : STSong-Light pdfEncoding : UniGB-UCS2-H(Chinese Siplified) isPdfEmbedded : true The cause of this problem is that the itext-asian.jar package has been updated and its package name has been changed to com.itextpdf.text.pdf.fonts. But the font file found in the jasperreport package is still the path com.lowagie.text.pdf.fonts. My solution: Copy all the files in the itext-asian.jar package, modify the package name, and repackage it into the custom-fonts.jar package. Just introduce it. Dramatically, after solving the problem, I found a solution that is particularly similar to myself, with more detailed explanations, supplementing its link: http://blog.csdn.net/sanqima/article/details/50374151 Also set the default font, add the following configuration in jrxml, do not have to set each control ======================= The font and encoding files in iText5.x and above are loaded from String RESOURCE_PATH = "com/itextpdf/text/pdf/fonts/", and the package name of isotasian1.5.x.jar is com.lowagie.text. Pdf.fonts, the package name is inconsistent, resulting in a path error. The solution is as follows: 1. Unzip the itextasian1.5.x.jar and find the lowagie file in itextasian1.5.x/com. The lowagie name is: itextpdf, as shown in Figure (1): 2. Click [start] - "cmd -" in the lower right corner of the desktop to enter the itextasian folder and type: jar cvf iTextAsian_1 .5 .2 .jar com /itextpdf/text/pdf/fonts /* The folder itostasin can be packaged into iTextAsian_1.5.2.jar. In the cmd window, go to the ittextasian folder and use the package command: jar cvf iTextAsian_1.5.2.jar com/itextpdf/text/pdf/fonts/* The code for pdf operation using itext.jar and iterasian.jar is as follows: //shuiyin.java package com .pdf ; import java .io .File ; import java .io .FileNotFoundException ; import java .io .FileOutputStream ; import java .io .IOException ; import com .itextpdf .text .Document ; import com .itextpdf .text .DocumentException ; import com .itextpdf .text .Image ; import com .itextpdf .text .Paragraph ; import com .itextpdf .text .pdf .BaseFont ; import com .itextpdf .text .pdf .PdfContentByte ; import com .itextpdf .text .pdf .PdfReader ; import com .itextpdf .text .pdf .PdfStamper ; import com .itextpdf .text .pdf .PdfWriter ; public class Shuiying { public static void main(String[] args) { Document document = new Document() ; try { PdfWriter .getInstance (document, new FileOutputStream( "src/pdfwen/shuiyinTmp.pdf" )) ; document .open () ; document .add (new Paragraph( " " )) ; document .close () ; PdfReader reader = new PdfReader( "src/pdfwen/shuiyinTmp.pdf" ) ; PdfStamper stamper = new PdfStamper(reader, new FileOutputStream( "src/pdfwen/shuiyin.pdf" )) ; Image img = Image .getInstance ( "src/img/watermark.jpg" ) ; img .setAbsolutePosition ( 50 , 385 ) ; PdfContentByte under = stamper .getUnderContent ( 1 ) ; //获得第一页的内容 under .addImage (img) ; //添加图片,完成水印功能 BaseFont chinese = BaseFont .createFont ( "STSong-Light" , "UniGB-UCS2-H" , BaseFont .NOT _EMBEDDED) ; under .beginText () ; //标记文本开始 under .setFontAndSize (chinese, 42 ) ; under .setTextMatrix ( 70 , 550 ) ; under .showText ( "下面是添加的水印图片." ) ; under .endText () ; //标记文本结束 stamper .close () ; //水印结束 File file = new File( "src/pdfwen/shuiyinTmp.pdf" ) ; file .delete () ; //删除临时文件 System .out .print ( "添加水印成功!" ) ; } catch (FileNotFoundException e) { e .printStackTrace () ; }catch (DocumentException e1) { e1 .printStackTrace () ; }catch (IOException e2) { e2 .printStackTrace () ; } } } The effect is as follows: Corrected itextasian.jar: http://download.csdn.net/detail/sanqima/9371147
  2. TOMcat must be restarted to load the new version of java. Please shutdown and clean server cache and restart
  3. Check the tomcat/bin/setenv.sh for JAVA_HOME and JRE_HOME path and set to correct path of upgraded version of JAVA. If not, create a file setenv.sh and populate it with variables. -bash-3.2$ cat setenv.sh JAVA_HOME=/opt/jdk1.8.0_172/ JRE_HOME=/opt/jdk1.8.0_172/jre CATALINA_PID="$CATALINA_BASE/tomcat.pid" #CATALINA_OPTS="-server -Xms1024m -XX:+UseParallelGC -Xmx2024m -XX:MaxPermSize=512m -XX:PermSize=1024m -Djava.awt.headless=true" CATALINA_OPTS="-server -Xms1024m -XX:+UseParallelGC -Xmx2048m -XX:PermSize=1024m -XX:MaxPermSize=512m -XX:+CMSClassUnloadingEnabled -Djava.awt.headless=true" export JRE_HOME export JAVA_HOME export CATALINA_OPTS
  4. Hi Team, we would like to POST a JRXML to JAsper reports 7.1 using the REST v2 servcies URL. we would like to check if there a piece of code in java that we can use to POST the JRXML to the jasper.
  5. Hi team, we are trying to post JRXML uing the below java code but it fails with 404 error code. Please let us know how to add JSON also as a prt of request. MultipartEntity multipartEntity = null;HttpPost generateReport = new HttpPost("http://serverip:port/applnname/rest_v2/resources");multipartEntity = new MultipartEntity(HttpMultipartMode.BROWSER_COMPATIBLE);System.out.println(" fileRd "+fileRd);String requestXml = IOUtils.toString(new FileInputStream("/reports/filename.jrxml"));// System.out.println(" requestXml "+requestXml);multipartEntity.addPart("ResourceDescriptor", new StringBody(requestXml));multipartEntity.addPart("http://serverip:port/applnname/rest_v2/resources", new FileBody(new File("/reports/filename.jrxml")));generateReport.setEntity(multipartEntity); String enc = "jasperadmin" + ":" + "jasperadmin";generateReport.addHeader("Authorization", "Basic " + new BASE64Encoder().encode(enc.getBytes()));generateReport.addHeader("Content-Type", " application/x-www-form-urlencoded");generateReport.addHeader("User-Agent", "Jakarta Commons-HttpClient/3.1");HttpResponse httpResponse = httpClient.execute(generateReport, httpContext);httpResponse.setHeader("Content-Disposition", "attachment;filename="" +"CCM_008_01" +".pdf";PdfVersion=1.3");int statusCode = httpResponse.getStatusLine().getStatusCode();[/code]
  6. Most likey problem is where the Themes are loading from 1. database 2. theme folder in WAR file. check in WEB-INF/application-context-themes.xml. and force the application to load from file system. not from database. or backup that file and replace the contents with this below , clear cache of server and restart. ============================= <?xml version="1.0" encoding="UTF-8"?> <!-- ~ Copyright © 2005 - 2018 TIBCO Software Inc. ~ http://www.jaspersoft.com. ~ ~ This program is free software: you can redistribute it and/or modify ~ it under the terms of the GNU Affero General Public License as published by ~ the Free Software Foundation, either version 3 of the License, or ~ (at your option) any later version. ~ ~ This program is distributed in the hope that it will be useful, ~ but WITHOUT ANY WARRANTY; without even the implied warranty of ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ~ GNU Affero General Public License for more details. ~ ~ You should have received a copy of the GNU Affero General Public License ~ along with this program. If not, see <https://www.gnu.org/licenses/>. --> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:util="http://www.springframework.org/schema/util" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.1.xsd http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-3.1.xsd"> <!-- To run the theme from the file system, uncomment the two beans below and comment out the three following beans Notes: 0. this mode is convenient for designing/debugging a theme 1. in this mode you cannot change themes dynamically 2. you must have a directory under /webapp/themes/[themeName] with a name that matches the value for the property 'defaultTheme' 3. you must have the file /main/webappAdditions/classes/themes/[themeName].properties where there is a correct name/value pair for each required theme file, e.g. theme.css=themes/[themeName]/theme.css --> <bean id="themeResolver" class="org.springframework.web.servlet.theme.FixedThemeResolver"> <property name="defaultThemeName" value="default"/> </bean> <bean id="themeSource" class="org.springframework.ui.context.support.ResourceBundleThemeSource"> <property name="basenamePrefix" value="themes."/> </bean> <!-- To run the themes from the repository, uncomment the three beans below and comment out the two beans above <bean id="themeResolver" class="com.jaspersoft.jasperserver.war.themes.JSThemeResolver"> <property name="defaultThemeName"> <util:property-path path="configurationBean.themeDefaultName"/> </property> <property name="delegate" ref="jsThemeResolver"/> </bean> <bean id="jsThemeResolver" class="com.jaspersoft.jasperserver.war.themes.MTThemeResolver"> <property name="defaultThemeName"> <util:property-path path="configurationBean.themeDefaultName"/> </property> <property name="tenantService" ref="${bean.hibernateTenantService}" /> </bean> <bean id="themeSource" class="com.jaspersoft.jasperserver.war.themes.RepositoryFolderThemeSourceImpl"> <property name="themeCache" ref="themeCache"/> </bean> --> <bean id="themeUtils" class="com.jaspersoft.jasperserver.war.themes.ThemeUtils"> <property name="configurationBean" ref="configurationBean" /> </bean> <bean id="themeCache" class="com.jaspersoft.jasperserver.war.themes.ThemeCache"> <property name="repositoryService" ref="unsecureRepositoryService"/> <property name="configurationBean" ref="configurationBean" /> <property name="tenantService" ref="${bean.hibernateTenantService}" /> <property name="refreshThemeAfterUpdateInSeconds" value="5" /> <property name="themeUtils" ref="themeUtils" /> </bean> <bean id="themeService" class="com.jaspersoft.jasperserver.war.themes.ThemeServiceImpl"> <property name="tenantService" ref="${bean.tenantService}" /> <property name="configurationBean" ref="configurationBean" /> <property name="repositoryService" ref="${bean.repositoryService}" /> <property name="resourceFactory" ref="mappingResourceFactory" /> </bean> <bean id="themeContextFilter" class="com.jaspersoft.jasperserver.war.themes.ThemeContextFilter"> <property name="themeResolver" ref="themeResolver" /> <property name="themeSource" ref="themeSource" /> </bean> </beans>
  7. Hi team,when we try to preview the report from console we get the below expcetion in jasperserver.log. WE HAVE DISABLED THE language=groovy in the jrxml 2018-09-19 13:29:07,158 ERROR EngineServiceImpl,http-nio-8080-exec-2:2151 - error compiling report net.sf.jasperreports.engine.JRException: Errors were encountered when compiling report expressions class file: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: at net.sf.jasperreports.compilers.JRGroovyCompiler.compileUnits(JRGroovyCompiler.java:109) at net.sf.jasperreports.engine.design.JRAbstractCompiler.compileReport(JRAbstractCompiler.java:203) at net.sf.jasperreports.engine.JasperCompileManager.compile(JasperCompileManager.java:357) at net.sf.jasperreports.engine.JasperCompileManager.compileReport(JasperCompileManager.java:617) at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.EngineServiceImpl.compileReport(EngineServiceImpl.java:2148) at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.EngineServiceImpl.compileReport(EngineServiceImpl.java:2811) at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.CacheableCompiledReports.getData(CacheableCompiledReports.java:55) at com.jaspersoft.jasperserver.api.metadata.common.service.impl.hibernate.HibernateRepositoryCache.saveData(HibernateRepositoryCache.java:254) at com.jaspersoft.jasperserver.api.metadata.common.service.impl.hibernate.HibernateRepositoryCache.getCachedItem(HibernateRepositoryCache.java:109) at com.jaspersoft.jasperserver.api.metadata.common.service.impl.hibernate.HibernateRepositoryCache.cache(HibernateRepositoryCache.java:68) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at com.sun.proxy.$Proxy41.cache(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at com.jaspersoft.jasperserver.api.common.util.spring.ReattemptMethodInterceptor.invoke(ReattemptMethodInterceptor.java:48) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at com.sun.proxy.$Proxy42.cache(Unknown Source) at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.EngineServiceImpl.getCompiledReport(EngineServiceImpl.java:2157) at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.EngineServiceImpl.getJasperReport(EngineServiceImpl.java:1757) at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.EngineServiceImpl.getReportInputControlsInformation(EngineServiceImpl.java:2665) at com.jaspersoft.jasperserver.war.cascade.CachedEngineService.getReportInputControlsInformation(CachedEngineService.java:82) at com.jaspersoft.jasperserver.war.cascade.GenericInputControlLogic.getReportInputControlsInformation(GenericInputControlLogic.java:186) at com.jaspersoft.jasperserver.war.cascade.GenericInputControlLogic.getInputControlsStructure(GenericInputControlLogic.java:84) at com.jaspersoft.jasperserver.war.cascade.InputControlsLogicServiceImpl$3.callByContainer(InputControlsLogicServiceImpl.java:115) at com.jaspersoft.jasperserver.war.cascade.InputControlsLogicServiceImpl$3.callByContainer(InputControlsLogicServiceImpl.java:107) at com.jaspersoft.jasperserver.war.cascade.InputControlsLogicServiceImpl.callControlLogic(InputControlsLogicServiceImpl.java:245) at com.jaspersoft.jasperserver.war.cascade.InputControlsLogicServiceImpl.getInputControlsStructure(InputControlsLogicServiceImpl.java:107) at com.jaspersoft.jasperserver.war.cascade.InputControlsLogicServiceImpl.getInputControlsWithValues(InputControlsLogicServiceImpl.java:125) at com.jaspersoft.jasperserver.jaxrs.report.InputControlsJaxrsService$1.call(InputControlsJaxrsService.java:98) at com.jaspersoft.jasperserver.jaxrs.report.InputControlsJaxrsService$1.call(InputControlsJaxrsService.java:90) at com.jaspersoft.jasperserver.jaxrs.report.ReportsServiceCallTemplate.callRemoteService(ReportsServiceCallTemplate.java:46) at com.jaspersoft.jasperserver.remote.common.RemoteServiceWrapper.callRemoteService(RemoteServiceWrapper.java:41) at com.jaspersoft.jasperserver.jaxrs.report.InputControlsJaxrsService.internalGetReportInputParameters(InputControlsJaxrsService.java:90) at com.jaspersoft.jasperserver.jaxrs.report.InputControlsJaxrsService.getReportInputParametersViaPost(InputControlsJaxrsService.java:79) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81) at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144) at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161) at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160) at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99) at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389) at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347) at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102) at org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326) at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271) at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267) at org.glassfish.jersey.internal.Errors.process(Errors.java:315) at org.glassfish.jersey.internal.Errors.process(Errors.java:297) at org.glassfish.jersey.internal.Errors.process(Errors.java:267) at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317) at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305) at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154) at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:473) at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:427) at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:388) at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:341) at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:228) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:106) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.owasp.csrfguard.CsrfGuardFilter.doFilter(CsrfGuardFilter.java:88) at com.jaspersoft.jasperserver.api.security.csrf.JSCsrfGuardFilter.doFilter(JSCsrfGuardFilter.java:69) at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:343) at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:260) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at com.jaspersoft.jasperserver.api.security.csrf.CrossDomainCommunicationFilter.doFilter(CrossDomainCommunicationFilter.java:113) at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:343) at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:260) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at com.jaspersoft.jasperserver.war.NullFilter.doFilter(NullFilter.java:40) at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:343) at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:260) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330) at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:118) at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) at com.jaspersoft.jasperserver.api.metadata.user.service.impl.MetadataAuthenticationProcessingFilter.doFilter(MetadataAuthenticationProcessingFilter.java:140) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) at com.jaspersoft.jasperserver.war.util.RequestParameterAuthenticationFilter.doFilter(RequestParameterAuthenticationFilter.java:96) at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:343) at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:260) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:201) at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:343) at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:260) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) at com.jaspersoft.jasperserver.war.UserPreferencesFilter.doFilter(UserPreferencesFilter.java:234) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:199) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) at com.jaspersoft.jasperserver.war.NullFilter.doFilter(NullFilter.java:40) at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:343) at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:260) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) at com.jaspersoft.jasperserver.war.UserPreferencesFilter.doFilter(UserPreferencesFilter.java:234) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) at com.jaspersoft.jasperserver.api.logging.filter.BasicLoggingFilter.doFilter(BasicLoggingFilter.java:54) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) at com.jaspersoft.jasperserver.api.security.WebAppSecurityFilter.doFilter(WebAppSecurityFilter.java:160) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) at com.jaspersoft.jasperserver.war.NullFilter.doFilter(NullFilter.java:40) at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:343) at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:260) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) at com.jaspersoft.jasperserver.api.security.encryption.EncryptionFilter.doFilter(EncryptionFilter.java:147) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192) at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160) at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:343) at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:260) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at com.jaspersoft.jasperserver.war.util.SessionDecoratorFilter.doFilter(SessionDecoratorFilter.java:60) at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:343) at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:260) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at com.jaspersoft.jasperserver.war.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:64) at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:343) at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:260) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at com.jaspersoft.jasperserver.war.httpheaders.ResourceHTTPHeadersFilter.doFilter(ResourceHTTPHeadersFilter.java:74) at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:343) at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:260) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at com.jaspersoft.jasperserver.war.SessionXssNonceSetterFilter.doFilter(SessionXssNonceSetterFilter.java:64) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at com.jaspersoft.jasperserver.war.P3PFilter.doFilter(P3PFilter.java:40) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at com.jaspersoft.jasperserver.war.ProxyUrlFilter.doFilter(ProxyUrlFilter.java:71) at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:343) at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:260) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:621) at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:650) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81) at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:650) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:803) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:790) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1459) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:748) Caused by: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: 12 errors at org.codehaus.groovy.control.ErrorCollector.failIfErrors(ErrorCollector.java:310) at org.codehaus.groovy.control.CompilationUnit.applyToSourceUnits(CompilationUnit.java:946) at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:593) at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:542) at net.sf.jasperreports.compilers.JRGroovyCompiler.compileUnits(JRGroovyCompiler.java:102) ... 191 more
  8. Hi Team, we are using Jasper 7.1 on tomcat 8.5.27 and trying to post JRXML. How ever it is not access ful. Please review the code we use and advise if anything is missing. MultipartEntity multipartEntity = null; HttpPost generateReport = new HttpPost("http://localhost:8080/app/rest_v2/resources"); multipartEntity = new MultipartEntity(HttpMultipartMode.BROWSER_COMPATIBLE); System.out.println(" fileRd "+fileRd); String requestXml = IOUtils.toString(new FileInputStream(fileRd)); // System.out.println(" requestXml "+requestXml); multipartEntity.addPart(REQUEST_PARAMENTER_RD, new StringBody(requestXml)); multipartEntity.addPart("http:// localhost:8080/app/rest_v2/resources", new FileBody(new File("resources/reports/DDD/DDD_008_01.jrxml"))); generateReport.setEntity(multipartEntity); HttpResponse httpResponse = httpClient.execute(generateReport, httpContext);[/code]
  9. THe WEB_INF/lib will be populatd with all necessary jar files. if not please check of the deployment happend properly. you need to keep ojdbc6.jar in tomcat/lib hve the DB conenction settings in tomcat/conf/context.xml. Then try restarting tomcat.
  10. FOUND aNSWER FROM THE QUESTION. https://community.jaspersoft.com/questions/1102831/soap-web-services-url-not-working-v710-jasperserverservicesrepositorywsdl
  11. Hi All, when we acess http://145.12.87.123:8080/jasperserver/services/repository it gves the theme page and says Specified page not found is the link is changed from older versions fofr the repository?
  12. Hi Johnson, Please tell me what is CMS? Is it somehting i need to do to fix?
  13. Hi All, the CSS for the Jasper 7.1 gives error. The CSS files are not getting executed . as a result the login page or any page in UI is garbled in display. The acess log in tomcat shows that after login.html. all the udnerlying CSS failed to load. 127.0.0.1 - - [17/Sep/2018:10:56:24 +0800] "GET /jasperserver HTTP/1.1" 302 - 127.0.0.1 - - [17/Sep/2018:10:56:29 +0800] "GET /jasperserver/ HTTP/1.1" 200 1204 127.0.0.1 - - [17/Sep/2018:10:56:29 +0800] "GET /jasperserver/home.html HTTP/1.1" 302 - 127.0.0.1 - - [17/Sep/2018:10:56:43 +0800] "GET /jasperserver/runtime/E14C344C/themes/reset.css HTTP/1.1" 200 1200 127.0.0.1 - - [17/Sep/2018:10:56:45 +0800] "GET /jasperserver/login.html HTTP/1.1" 200 59354 127.0.0.1 - - [17/Sep/2018:10:56:46 +0800] "GET /jasperserver/_themes/C3589B36/jasper-ui/jasper-ui.css HTTP/1.1" 404 48863 127.0.0.1 - - [17/Sep/2018:10:56:46 +0800] "GET /jasperserver/_themes/C3589B36/jquery-ui/jquery-ui.css HTTP/1.1" 404 48863 127.0.0.1 - - [17/Sep/2018:10:56:46 +0800] "GET /jasperserver/_themes/C3589B36/panel.css HTTP/1.1" 404 48863 127.0.0.1 - - [17/Sep/2018:10:56:46 +0800] "GET /jasperserver/_themes/C3589B36/menu.css HTTP/1.1" 404 48863 127.0.0.1 - - [17/Sep/2018:10:56:46 +0800] "GET /jasperserver/_themes/C3589B36/simpleColorPicker.css HTTP/1.1" 404 48863 127.0.0.1 - - [17/Sep/2018:10:56:46 +0800] "GET /jasperserver/_themes/C3589B36/themeMinimal.css HTTP/1.1" 404 48863 127.0.0.1 - - [17/Sep/2018:10:56:46 +0800] "GET /jasperserver/_themes/C3589B36/webPageView.css HTTP/1.1" 404 48863 127.0.0.1 - - [17/Sep/2018:10:56:46 +0800] "GET /jasperserver/_themes/C3589B36/pagination.css HTTP/1.1" 404 48863 127.0.0.1 - - [17/Sep/2018:10:56:46 +0800] "GET /jasperserver/_themes/C3589B36/attributes.css HTTP/1.1" 404 48863 127.0.0.1 - - [17/Sep/2018:10:56:46 +0800] "GET /jasperserver/_themes/C3589B36/importExport.css HTTP/1.1" 404 48863 127.0.0.1 - - [17/Sep/2018:10:56:46 +0800] "GET /jasperserver/_themes/C3589B36/manageTenants.css HTTP/1.1" 404 48863 127.0.0.1 - - [17/Sep/2018:10:56:46 +0800] "GET /jasperserver/_themes/C3589B36/notifications.css HTTP/1.1" 404 48863 127.0.0.1 - - [17/Sep/2018:10:56:46 +0800] "GET /jasperserver/_themes/C3589B36/overrides_custom.css HTTP/1.1" 200 683 127.0.0.1 - - [17/Sep/2018:10:56:46 +0800] "GET /jasperserver/_themes/C3589B36/dashboard/toolbar.css HTTP/1.1" 404 48863 127.0.0.1 - - [17/Sep/2018:10:56:46 +0800] "GET /jasperserver/_themes/C3589B36/dashboard/canvas.css HTTP/1.1" 404 48863 127.0.0.1 - - [17/Sep/2018:10:56:46 +0800] "GET /jasperserver/_themes/C3589B36/dashboard/designer.css HTTP/1.1" 404 48863 ------------------------------------ by default, the themes are loaded from WEB-INF/application-context-themes.xml ahs two options 1. Load themes from DB and 2. Load from Themes in physical file system. we commented out the load themes from DB and the forced the applciation to load themes from physical file system and the issue fixed and all CSS / Jsp oads fine. PLEASE USE THE BELOW APPLCIATIONCONTEXT-THEMES.XML AND REPLACE THE ORIGINAL CONTENT. ========================== <?xml version="1.0" encoding="UTF-8"?> <!-- ~ Copyright © 2005 - 2018 TIBCO Software Inc. ~ http://www.jaspersoft.com. ~ ~ This program is free software: you can redistribute it and/or modify ~ it under the terms of the GNU Affero General Public License as published by ~ the Free Software Foundation, either version 3 of the License, or ~ (at your option) any later version. ~ ~ This program is distributed in the hope that it will be useful, ~ but WITHOUT ANY WARRANTY; without even the implied warranty of ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ~ GNU Affero General Public License for more details. ~ ~ You should have received a copy of the GNU Affero General Public License ~ along with this program. If not, see <https://www.gnu.org/licenses/>. --> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:util="http://www.springframework.org/schema/util" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.1.xsd http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-3.1.xsd"> <!-- To run the theme from the file system, uncomment the two beans below and comment out the three following beans Notes: 0. this mode is convenient for designing/debugging a theme 1. in this mode you cannot change themes dynamically 2. you must have a directory under /webapp/themes/[themeName] with a name that matches the value for the property 'defaultTheme' 3. you must have the file /main/webappAdditions/classes/themes/[themeName].properties where there is a correct name/value pair for each required theme file, e.g. theme.css=themes/[themeName]/theme.css --> <bean id="themeResolver" class="org.springframework.web.servlet.theme.FixedThemeResolver"> <property name="defaultThemeName" value="default"/> </bean> <bean id="themeSource" class="org.springframework.ui.context.support.ResourceBundleThemeSource"> <property name="basenamePrefix" value="themes."/> </bean> <!-- To run the themes from the repository, uncomment the three beans below and comment out the two beans above <bean id="themeResolver" class="com.jaspersoft.jasperserver.war.themes.JSThemeResolver"> <property name="defaultThemeName"> <util:property-path path="configurationBean.themeDefaultName"/> </property> <property name="delegate" ref="jsThemeResolver"/> </bean> <bean id="jsThemeResolver" class="com.jaspersoft.jasperserver.war.themes.MTThemeResolver"> <property name="defaultThemeName"> <util:property-path path="configurationBean.themeDefaultName"/> </property> <property name="tenantService" ref="${bean.hibernateTenantService}" /> </bean> <bean id="themeSource" class="com.jaspersoft.jasperserver.war.themes.RepositoryFolderThemeSourceImpl"> <property name="themeCache" ref="themeCache"/> </bean> --> <bean id="themeUtils" class="com.jaspersoft.jasperserver.war.themes.ThemeUtils"> <property name="configurationBean" ref="configurationBean" /> </bean> <bean id="themeCache" class="com.jaspersoft.jasperserver.war.themes.ThemeCache"> <property name="repositoryService" ref="unsecureRepositoryService"/> <property name="configurationBean" ref="configurationBean" /> <property name="tenantService" ref="${bean.hibernateTenantService}" /> <property name="refreshThemeAfterUpdateInSeconds" value="5" /> <property name="themeUtils" ref="themeUtils" /> </bean> <bean id="themeService" class="com.jaspersoft.jasperserver.war.themes.ThemeServiceImpl"> <property name="tenantService" ref="${bean.tenantService}" /> <property name="configurationBean" ref="configurationBean" /> <property name="repositoryService" ref="${bean.repositoryService}" /> <property name="resourceFactory" ref="mappingResourceFactory" /> </bean> <bean id="themeContextFilter" class="com.jaspersoft.jasperserver.war.themes.ThemeContextFilter"> <property name="themeResolver" ref="themeResolver" /> <property name="themeSource" ref="themeSource" /> </bean> </beans>
  14. Hi Team, we tried to access jasper UI 7.1 and the tomcat 8.5.27 doesnt load and the CSS files fails to load. login.html:84 GET http://192.168.204.223:8080/pujs/_themes/632CD0E2/themeMinimal.css net::ERR_ABORTED 404login.html:99 GET http://192.168.204.223:8080/pujs/_themes/632CD0E2/jquery-ui/jquery-ui.css net::ERR_ABORTED 404login.html:98 GET http://192.168.204.223:8080/pujs/_themes/632CD0E2/jasper-ui/jasper-ui.css net::ERR_ABORTED 404login.html:101 GET http://192.168.204.223:8080/pujs/_themes/632CD0E2/panel.css net::ERR_ABORTED 404login.html:102 GET http://192.168.204.223:8080/pujs/_themes/632CD0E2/menu.css net::ERR_ABORTED 404login.html:103 GET http://192.168.204.223:8080/pujs/_themes/632CD0E2/simpleColorPicker.css net::ERR_ABORTED 404login.html:104 GET http://192.168.204.223:8080/pujs/_themes/632CD0E2/webPageView.css net::ERR_ABORTED 404login.html:105 GET http://192.168.204.223:8080/pujs/_themes/632CD0E2/notifications.css net::ERR_ABORTED 404login.html:106 GET http://192.168.204.223:8080/pujs/_themes/632CD0E2/attributes.css net::ERR_ABORTED 404login.html:108 GET http://192.168.204.223:8080/pujs/_themes/632CD0E2/manageTenants.css net::ERR_ABORTED 404login.html:113 GET http://192.168.204.223:8080/pujs/_themes/632CD0E2/dashboard/canvas.css net::ERR_ABORTED 404login.html:112 GET http://192.168.204.223:8080/pujs/_themes/632CD0E2/dashboard/viewer.css net::ERR_ABORTED 404login.html:114 GET http://192.168.204.223:8080/pujs/_themes/632CD0E2/dashboard/toolbar.css net::ERR_ABORTED 404login.html:109 GET http://192.168.204.223:8080/pujs/_themes/632CD0E2/pagination.css net::ERR_ABORTED 404login.html:107 GET http://192.168.204.223:8080/pujs/_themes/632CD0E2/importExport.css net::ERR_ABORTED 404login.html:111 GET http://192.168.204.223:8080/pujs/_themes/632CD0E2/dashboard/designer.css net::ERR_ABORTED 404[/code]pLEASE CHECK FRO SOLUTION --> https://community.jaspersoft.com/questions/1105616/solved-jasper71-css-access-gives-404-error
  15. Search Welcome to Jaspersoft Getting Started Jaspersoft Quick Start Guide Free Jaspersoft Documentation Self-service subscriptions Find the right edition for you Contact us What's new in Jaspersoft Version 7? Report Publishing Numerous improvements when publishing reports to the JasperReports Server Data Adapters Jaspersoft Studio UI support for parametrizable data adapters and ability to define a custom data adapter UI by using the JSON-based UI framework Data Snapshots The ability to save a data snapshot in Jaspersoft Studio to more quickly develop and test reports Custom Visualization Component Improved to support export of visualizations as a raster image Login Login User ID: Password: Show locale & time zone Locale: Time Zone: Login Need help logging in? Login Help Login as: jasperadmin to manage a single organization joeuser/joeuser to see an end user's view If you are still unable to login, contact your site administrator for help. OK About TIBCO JasperReports Server Copyright © 2005-2018 TIBCO Software Inc. Organization Full Name Full Name Organization Name: Path: Save As Name (required): Description: Save Cancel Please Wait Loading… Cancel Error Details Close Heartbeat Data Collection Please help us build better products by opting in to the Heartbeat. By allowing the Heartbeat to collect data, you confirm consent, where relevant, from all individual users in your organization. The Heartbeat enables TIBCO Jaspersoft to collect anonymous system information and may be disabled at any time. The Heartbeat data is used for the purposes set forth in the TIBCO Jaspersoft Heartbeat Privacy Policy web page at www.jaspersoft.com/heartbeat. Our privacy policy is at www.jaspersoft.com/privacy. Opt in for JasperReports Server Heartbeat OK About TIBCO JasperReports Server Product Version: 7.1.0 Build: 20180504_1307 Close
  16. Hi Team, we are using Jasper server 7.1 on tomcat 8.5.27 and getting the below error. The http://serverip:port/jasperserver/login.html doesnt load. properly.
  17. Hi Team, we have below error in the jasperserver.log continuously. Please help check and advice. we are using ojdbc6.jar for DB connection. 2018-09-12 19:36:26,411 ERROR LocalDataSourceJobStore,quartzScheduler_QuartzSchedulerThread:3641 - Couldn't rollback jdbc connection. Closed Connection java.sql.SQLRecoverableException: Closed Connection at oracle.jdbc.driver.PhysicalConnection.rollback(PhysicalConnection.java:3948) at sun.reflect.GeneratedMethodAccessor138.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.tomcat.jdbc.pool.ProxyConnection.invoke(ProxyConnection.java:126) at org.apache.tomcat.jdbc.pool.JdbcInterceptor.invoke(JdbcInterceptor.java:108) at org.apache.tomcat.jdbc.pool.interceptor.AbstractCreateStatementInterceptor.invoke(AbstractCreateStatementInterc eptor.java:79) at org.apache.tomcat.jdbc.pool.JdbcInterceptor.invoke(JdbcInterceptor.java:108) at org.apache.tomcat.jdbc.pool.DisposableConnectionFacade.invoke(DisposableConnectionFacade.java:81) at com.sun.proxy.$Proxy27.rollback(Unknown Source) at sun.reflect.GeneratedMethodAccessor138.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) nvocationHandler.java:73) at com.sun.proxy.$Proxy82.rollback(Unknown Source) at org.quartz.impl.jdbcjobstore.JobStoreSupport.rollbackConnection(JobStoreSupport.java:3639) at org.quartz.impl.jdbcjobstore.JobStoreSupport.executeInNonManagedTXLock(JobStoreSupport.java:3808) at org.quartz.impl.jdbcjobstore.JobStoreSupport.acquireNextTriggers(JobStoreSupport.java:2751) at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:264) 2018-09-12 19:35:33,381 ERROR LocalDataSourceJobStore,quartzScheduler_QuartzSchedulerThread:3641 - Couldn't rollback jdbc connection. No more data to read from socket java.sql.SQLRecoverableException: No more data to read from socket at oracle.jdbc.driver.T4CMAREngine.unmarshalUB1(T4CMAREngine.java:1157) at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:350) at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:227) at oracle.jdbc.driver.T4C7Ocommoncall.doOROLLBACK(T4C7Ocommoncall.java:68) at oracle.jdbc.driver.T4CConnection.doRollback(T4CConnection.java:725) at oracle.jdbc.driver.PhysicalConnection.rollback(PhysicalConnection.java:3970) at sun.reflect.GeneratedMethodAccessor138.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.tomcat.jdbc.pool.ProxyConnection.invoke(ProxyConnection.java:126) at org.apache.tomcat.jdbc.pool.JdbcInterceptor.invoke(JdbcInterceptor.java:108) at org.apache.tomcat.jdbc.pool.interceptor.AbstractCreateStatementInterceptor.invoke(AbstractCreateStatementInterc eptor.java:79) at org.apache.tomcat.jdbc.pool.JdbcInterceptor.invoke(JdbcInterceptor.java:108) at org.apache.tomcat.jdbc.pool.DisposableConnectionFacade.invoke(DisposableConnectionFacade.java:81) at com.sun.proxy.$Proxy27.rollback(Unknown Source) at sun.reflect.GeneratedMethodAccessor138.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.quartz.impl.jdbcjobstore.AttributeRestoringConnectionInvocationHandler.invoke(AttributeRestoringConnectionI nvocationHandler.java:73) at com.sun.proxy.$Proxy82.rollback(Unknown Source) at org.quartz.impl.jdbcjobstore.JobStoreSupport.rollbackConnection(JobStoreSupport.java:3639) at org.quartz.impl.jdbcjobstore.JobStoreSupport.executeInNonManagedTXLock(JobStoreSupport.java:3808) at org.quartz.impl.jdbcjobstore.JobStoreSupport.acquireNextTriggers(JobStoreSupport.java:2751) at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:26
  18. Hi Team, we are using Jasper 7.1 on tomcat 8.5.27 and the jasper admin console doesnt display any graphics and the diplay is very messy. Please let us know if there is any solution.
  19. Hi, we are using jasperreports 6.2 on tomcat 8. after running the tomcat for some time, This error happens and jasper UI is not acessible and tomcat ahs to be restarted before 2018-09-12 09:26:39,240 ERROR LocalDataSourceJobStore,quartzScheduler_QuartzSchedulerThread:3641 - Couldn't rollback jdbcconnection. Closed Connectionjava.sql.SQLRecoverableException: Closed Connection at oracle.jdbc.driver.PhysicalConnection.rollback(PhysicalConnection.java:3948) at sun.reflect.GeneratedMethodAccessor286.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.tomcat.jdbc.pool.ProxyConnection.invoke(ProxyConnection.java:126) at org.apache.tomcat.jdbc.pool.JdbcInterceptor.invoke(JdbcInterceptor.java:108) at org.apache.tomcat.jdbc.pool.interceptor.AbstractCreateStatementInterceptor.invoke(AbstractCreateStatementInterceptor.java:79) at org.apache.tomcat.jdbc.pool.JdbcInterceptor.invoke(JdbcInterceptor.java:108) at org.apache.tomcat.jdbc.pool.DisposableConnectionFacade.invoke(DisposableConnectionFacade.java:81) at com.sun.proxy.$Proxy15.rollback(Unknown Source) at sun.reflect.GeneratedMethodAccessor286.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.quartz.impl.jdbcjobstore.AttributeRestoringConnectionInvocationHandler.invoke(AttributeRestoringConnectionInvocationHandler.java:73) at com.sun.proxy.$Proxy82.rollback(Unknown Source) at org.quartz.impl.jdbcjobstore.JobStoreSupport.rollbackConnection(JobStoreSupport.java:3639) at org.quartz.impl.jdbcjobstore.JobStoreSupport.executeInNonManagedTXLock(JobStoreSupport.java:3808) at org.quartz.impl.jdbcjobstore.JobStoreSupport.acquireNextTriggers(JobStoreSupport.java:2751) at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:264)2018-09-12 09:27:04,550 ERROR LocalDataSourceJobStore,QuartzScheduler_quartzScheduler-SCANSAS921536652051806_MisfireHandler:3641 - Couldn't rollback jdbc connection. Closed Connectionjava.sql.SQLRecoverableException: Closed Connection at oracle.jdbc.driver.PhysicalConnection.rollback(PhysicalConnection.java:3948) at sun.reflect.GeneratedMethodAccessor286.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.tomcat.jdbc.pool.ProxyConnection.invoke(ProxyConnection.java:126)"jasperserver.log" 5603 lines, 500488 characters at sun.reflect.GeneratedMethodAccessor286.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.quartz.impl.jdbcjobstore.AttributeRestoringConnectionInvocationHandler.invoke(AttributeRestoringConnectionInvocationHandler.java:73) at com.sun.proxy.$Proxy82.rollback(Unknown Source) at org.quartz.impl.jdbcjobstore.JobStoreSupport.rollbackConnection(JobStoreSupport.java:3639) at org.quartz.impl.jdbcjobstore.JobStoreSupport.executeInNonManagedTXLock(JobStoreSupport.java:3808) at org.quartz.impl.jdbcjobstore.JobStoreSupport.acquireNextTriggers(JobStoreSupport.java:2751) at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:264)2018-09-12 10:27:59,340 ERROR LocalDataSourceJobStore,quartzScheduler_QuartzSchedulerThread:3641 - Couldn't rollback jdbcconnection. Closed Connectionjava.sql.SQLRecoverableException: Closed Connection at oracle.jdbc.driver.PhysicalConnection.rollback(PhysicalConnection.java:3948) at sun.reflect.GeneratedMethodAccessor286.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.tomcat.jdbc.pool.ProxyConnection.invoke(ProxyConnection.java:126) at org.apache.tomcat.jdbc.pool.JdbcInterceptor.invoke(JdbcInterceptor.java:108) at org.apache.tomcat.jdbc.pool.interceptor.AbstractCreateStatementInterceptor.invoke(AbstractCreateStatementInterceptor.java:79) at org.apache.tomcat.jdbc.pool.JdbcInterceptor.invoke(JdbcInterceptor.java:108) at org.apache.tomcat.jdbc.pool.DisposableConnectionFacade.invoke(DisposableConnectionFacade.java:81) at com.sun.proxy.$Proxy15.rollback(Unknown Source) at sun.reflect.GeneratedMethodAccessor286.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.quartz.impl.jdbcjobstore.AttributeRestoringConnectionInvocationHandler.invoke(AttributeRestoringConnectionInvocationHandler.java:73) at com.sun.proxy.$Proxy82.rollback(Unknown Source) at org.quartz.impl.jdbcjobstore.JobStoreSupport.rollbackConnection(JobStoreSupport.java:3639) at org.quartz.impl.jdbcjobstore.JobStoreSupport.executeInNonManagedTXLock(JobStoreSupport.java:3808)[/code]
  20. The UI console for jasperrepors display is not consistant. The Librabry and View buttions are displayud but unable to click. Any help would be appreciated
  21. we fixed this after implementing the solution mentioned in thus blog. http://www.jdev.it/encrypting-passwords-in-tomcat/
  22. Hi Team, we are running jasper reports 6.2 on Tomcat 8.055 on Solaris platform and DB is Oracle. Currently we have pain text password in context.xml for DB conenction. We would like to encrypt the password such that tomcat can decypt and connect to DB each time it starts. Please help if there simple steps to implement that. Thanks, Gopi Krishna S
  23. Yes we fixed this issue. The setting does exist. we need to uncomment <mime-mapping> <extension>png</extension> <mime-type>image/png</mime-type> </mime-mapping> ========== add these below========================= <security-constraint> <web-resource-collection> <web-resource-name>JasperServerWebApp</web-resource-name> <url-pattern>/*</url-pattern> </web-resource-collection> <user-data-constraint> <!-- SSL disabled --> <transport-guarantee>NONE</transport-guarantee> <!-- SSL enabled --> <transport-guarantee>CONFIDENTIAL</transport-guarantee> </user-data-constraint> </security-constraint> ============================================================= <!-- This constraint disables the listed HTTP methods, which are not used by JS <security-constraint> <web-resource-collection>
×
×
  • Create New...