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

saharhassan

Members
  • Posts

    9
  • Joined

  • Last visited

saharhassan's Achievements

Apprentice

Apprentice (3/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. I am trying to schedule a report in Jasper server 4.5.0 32 bit. In the first step, when I clicked on Next button after filling the report name and start on immediately, it is showing the message as "The server has encountered an error.Please excuse the inconvenience. An error has occurred. Please contact your system administrator. (5321)." The error log also is also shown. Code:2012-04-09 17:36:56,396 WARN SingletonEhCacheProvider,Thread-1:92 - Could not find a specific ehcache configuration for cache named [org.hibernate.cache.UpdateTimestampsCache]; using defaults.2012-04-09 17:36:56,411 WARN SingletonEhCacheProvider,Thread-1:92 - Could not find a specific ehcache configuration for cache named [org.hibernate.cache.StandardQueryCache]; using defaults.2012-04-09 17:36:56,896 WARN PermissionsListProtectionDomainProvider,Thread-1:61 - A security manager has not been configured for the JVM. The protection domain set for the reports will NOT be effective.2012-04-09 17:36:58,583 WARN ChainedTilesRequestContextFactory,Thread-1:105 - Cannot find TilesRequestContextFactory class org.apache.tiles.portlet.context.PortletTilesRequestContextFactory2012-04-09 17:37:00,349 WARN XmlaServlet,Thread-1:615 - Use default character encoding from HTTP client2012-04-09 17:37:13,067 WARN JSESAPISecurityConfiguration,http-8080-5:652 - SUCCESSFULLY LOADED ESAPI.properties via the CLASSPATH from 'esapi/' using current thread context class loader!2012-04-09 17:37:13,098 WARN JSESAPISecurityConfiguration,http-8080-5:652 - SUCCESSFULLY LOADED validation.properties via the CLASSPATH from 'esapi/' using current thread context class loader!2012-04-09 17:37:13,504 WARN LoggerListener,http-8080-5:60 - Authentication event AuthenticationSuccessEvent: jasperadmin; details: org.springframework.security.ui.WebAuthenticationDetails@957e: RemoteIpAddress: 127.0.0.1; SessionId: 95E855EE055D697C71D067B32F6EC4BB2012-04-09 17:37:13,520 WARN LoggerListener,http-8080-5:60 - Authentication event InteractiveAuthenticationSuccessEvent: jasperadmin; details: org.springframework.security.ui.WebAuthenticationDetails@957e: RemoteIpAddress: 127.0.0.1; SessionId: 95E855EE055D697C71D067B32F6EC4BB2012-04-09 17:37:16,551 WARN ValidatorImpl,http-8080-1:259 - No rule for parameter [navAppVersion]. Using default validation on input=[4.0 (compatible; MSIE 8.0; Windows NT 5.2; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)].2012-04-09 17:37:38,909 WARN ValidatorImpl,http-8080-2:518 - Please make sure your web application server is set to URIEncoding=UTF-8.2012-04-09 17:37:38,940 WARN IntrusionDetector,http-8080-2:449 - [sECURITY FAILURE Anonymous:null@unknown -> /ExampleApplication/IntrusionDetector] Invalid input: context=trigger.timezone-ViewRepository_Schedule_OutputSettings_context, type(AlphaUnderscoreForward)=^[\p{L}\p{M}\p{Pc}\/]*$, input=GMT 05:30org.owasp.esapi.errors.ValidationException: trigger.timezone-ViewRepository_Schedule_OutputSettings_context: Invalid input. Please conform to regex ^[\p{L}\p{M}\p{Pc}\/]*$ with a maximum length of 100 at org.owasp.esapi.reference.validation.StringValidationRule.checkWhitelist(StringValidationRule.java:144) at org.owasp.esapi.reference.validation.StringValidationRule.checkWhitelist(StringValidationRule.java:160) at org.owasp.esapi.reference.validation.StringValidationRule.getValid(StringValidationRule.java:284) at org.owasp.esapi.reference.DefaultValidator.getValidInput(DefaultValidator.java:213) at com.jaspersoft.jasperserver.api.security.validators.ValidatorImpl.validate(ValidatorImpl.java:345) at com.jaspersoft.jasperserver.api.security.validators.ValidatorImpl.validate(ValidatorImpl.java:251) at com.jaspersoft.jasperserver.api.security.WebAppSecurityFilter.validate(WebAppSecurityFilter.java:175) at com.jaspersoft.jasperserver.api.security.WebAppSecurityFilter.doFilter(WebAppSecurityFilter.java:82) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411) at com.jaspersoft.jasperserver.war.MultipartRequestWrapperFilter.doFilter(MultipartRequestWrapperFilter.java:90) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411) at org.springframework.security.context.HttpSessionContextIntegrationFilter.doFilterHttp(HttpSessionContextIntegrationFilter.java:235) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411) at org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:188) at org.springframework.security.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:99) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.jaspersoft.jasperserver.war.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:67) at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:236) at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:558) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:859) at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:579) at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1555) at java.lang.Thread.run(Thread.java:619)2012-04-09 17:37:38,972 WARN JSCommonController,http-8080-2:202 - There was a security error
  2. My use case is similar to sending payslips. That is, Jasper report should be scheduled in such a way that at the end of every month, it runs and sends payslips to different email ids based on the employee ids. i.e, How can I make the JR server understand that send "abc" report to "abc@somedomain.com" and "pqr" report to "pqr@somedomain.com" where abc has employeeid 123 and pqr has employeeid 456. How would I do this?
  3. I found a solution myself. Create option is available only on Jasper Server professional.
  4. Hi. I have solved the issue myself. I gave the value for Latitude as 12.58f and Longitude as 77.38f. Voila! It works and gave me Bangalore's Map. Post Edited by xaharhassan at 03/16/2012 12:49
  5. I have a Map component on my detail band. I have set the Latitude as 12.58 (Just plain value, no Java expression) and 77.38 as Longitude. When I click Preview button, it is throwing me this exception: Error filling print... java.math.BigDecimal cannot be cast to java.lang.Float Setting up the file resolver... java.lang.ClassCastException: java.math.BigDecimal cannot be cast to java.lang.Float at net.sf.jasperreports.components.map.MapFillComponent.evaluateMap(MapFillComponent.java:69) at net.sf.jasperreports.components.map.MapFillComponent.evaluate(MapFillComponent.java:63) at net.sf.jasperreports.engine.fill.JRFillComponentElement.evaluate(JRFillComponentElement.java:88) at net.sf.jasperreports.engine.fill.JRFillElementContainer.evaluate(JRFillElementContainer.java:257) at net.sf.jasperreports.engine.fill.JRFillBand.evaluate(JRFillBand.java:473) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillColumnBand(JRVerticalFiller.java:2021) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillDetail(JRVerticalFiller.java:755) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReportStart(JRVerticalFiller.java:265) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:128) at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:836) at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:746) at net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:58) at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:417) at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:247) at com.jaspersoft.ireport.designer.compiler.IReportCompiler.run(IReportCompiler.java:879) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997) Print not filled. Try to use an EmptyDataSource...
  6. I want to schedule my jasper report so that at a particular time, it will send the report to the mentioned id. I'm using Jasper Server 4.5.0 and I have scheduled a sample report to be sent to my gmail id. However, it's not been sent to the mail id and it doesn't show any Last Ran time too. My js.quartz file and applicationContext-report-scheduling.xml files are attached. Also the logs. Post Edited by xaharhassan at 03/14/2012 06:46
  7. Hi.. I am new to Jasper Server. I design reports using iReport designer 4.5.0 and I run it on Jasper Server 4.5.0. Now, my requirement is to create an Ad Hoc report. When I searched on net, I could see that I have to create it from Jasper Server. Unfortuntely, I couldn't see the Create option in the server. There are only View and Manage options. Please help.
  8. "and then rigth click "Run both Report Units". How can I run both report units and where exactly to right click? I am using Jasper Server 4.5.0 Post Edited by xaharhassan at 03/06/2012 05:43 Post Edited by xaharhassan at 03/06/2012 05:45
  9. I am getting ClassCast Exception as: net.sf.jasperreports.engine.JRException: java.lang.ClassCastException: net.sf.jasperreports.engine.design.JRDesignBand cannot be cast to net.sf.jasperreports.engine.design.JRDesignElement Code: public String reportAction() throws FileNotFoundException,NamingException, SQLException, IOException, JRException, ClassNotFoundException, InstantiationException, IllegalAccessException { InputStream input = new FileInputStream(new File("D:/jdev libs/report1.jrxml")); JasperDesign design; design = JRXmlLoader.load(input); JasperReport report = JasperCompileManager.compileReport(design); Map parameters = new HashMap(); InitialContext initalContext = new InitialContext(); String dbUrl = (String)initalContext.lookup("jdbc:oracle:thin:@hoax4:1533:loansuat"); Class.forName("com.oracle.jdbc.Driver").newInstance(); Connection conn = DriverManager.getConnection(dbUrl, "ilpa", "ilpa"); JasperPrint print = JasperFillManager.fillReport(report, parameters, conn); ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream(); JasperExportManager.exportReportToPdfStream(print, byteArrayOutputStream); FacesContext.getCurrentInstance().responseComplete(); return null; }
×
×
  • Create New...