Jump to content
Changes to the Jaspersoft community edition download ×

rsuddhala

Members
  • Posts

    84
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

rsuddhala's Achievements

  1. Hi, I got it ..answer by displaying text boxs with custom conditions Thanks, Raviraj
  2. Hi, I am using piechart in my report but it has shadow that we dont want. How can i get rid of this shadow? thanks, Raviraj
  3. Hi , Have you found any solution ? If Please mail me .. Thanks, Raviraj
  4. Hi , Is is possible to display report as attachment , you will find the horizontal bars based on values assign from highest to lowest , in normal report not charts. Thanks, Raviraj
  5. Hi KKriplani, I have already given "java.util.date" ...It is not hard bounded..It is working fine when i run the report saperately . But not in Dashboard , Please check below code <parameter name="cal" class="java.util.Calendar"> <defaultValueExpression><![CDATA[Calendar.getInstance()]]></defaultValueExpression> </parameter> <parameter name="endDate" class="java.util.Date"> <defaultValueExpression><![CDATA[( $P{cal}.set(new Date().getYear()+1900, new Date().getMonth(), new Date().getDate()) || $P{cal}.add(Calendar.MONTH, -1) || $P{cal}.set(Calendar.DAY_OF_MONTH, $P{cal}.getActualMaximum(Calendar.DAY_OF_MONTH)) ) ? null : $P{cal}.getTime()]]></defaultValueExpression> </parameter> <parameter name="beginDate" class="java.util.Date"> <defaultValueExpression><![CDATA[( $P{cal}.set(new Date().getYear()+1900, new Date().getMonth(), new Date().getDate()) || $P{cal}.add(Calendar.MONTH, -13) || $P{cal}.set(Calendar.DAY_OF_MONTH, 1) ) ? null : $P{cal}.getTime()]]></defaultValueExpression> </parameter>
  6. Hi, I have created Dashboard with reports, It is worked fine when i work last day.But today when i try to run the input conrtol of Dashboard shows previous date not todays date. But when i run report saperately not in dashboard the input contols shows todays date and work correctly .The same input control used in Dashboard but it shows previous date, The date which i created Dashboard not todays date. Please let me know any solution for this questions...Thank you... Thanks, Raviraj
  7. Hi Jeevesh, Have you got solution for your question.Now i am facing same problem, If you get any solution please let me know .. Thanks, Raviraj
  8. Yes , You need to descrese the hight of brand same as hight of Fields and check it once. Thanks, Raviraj
  9. Hi, Keep condition. Print when group2 details !=null or empty Thanks, Raviraj
  10. Hi All, I am facing issue while upgrading from Jasper server 5.6.1 to 6.1.0 . I am seeing below error in tomcat log.So could you please help me to what are the files need to modify for Spring Security 3.x of Jasper server 6.1.0 Thanks, Raviraj org.springframework.web.context.ContextLoaderListener java.lang.NoClassDefFoundError: org/springframework/security/Authentication at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Class.java:2398) at java.lang.Class.getDeclaredConstructors(Class.java:1838) at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.determineCandidateConstructors(AutowiredAnnotationBeanPostProcessor.java:231) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.determineConstructorsFromBeanPostProcessors(AbstractAutowireCapableBeanFactory.java:1004) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:977) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:487) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:191) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:636) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:934) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479) at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:410) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3934) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4429) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:630) at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:556) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:491) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1206) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:314) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) at org.apache.catalina.core.StandardHost.start(StandardHost.java:722) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:516) at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) at org.apache.catalina.startup.Catalina.start(Catalina.java:583) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) Caused by: java.lang.ClassNotFoundException: org.springframework.security.Authentication at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1387) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233) ... 42 more 09-08-2015 05:16:40 PM ERROR org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/jrs] - Exception sending context initialized event to listener instance of class com.jaspersoft.jasperserver.war.util.SpringBeanServletContextPlublisher java.lang.NoClassDefFoundError: org/springframework/security/Authentication at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Class.java:2398) at java.lang.Class.getDeclaredConstructors(Class.java:1838) at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.determineCandidateConstructors(AutowiredAnnotationBeanPostProcessor.java:231) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.determineConstructorsFromBeanPostProcessors(AbstractAutowireCapableBeanFactory.java:1004) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:977) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:487) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:191) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:636) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:934) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479) at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:410) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3934) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4429) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:630) at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:556) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:491) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1206) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:314) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) at org.apache.catalina.core.StandardHost.start(StandardHost.java:722) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:516) at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) at org.apache.catalina.startup.Catalina.start(Catalina.java:583) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) Caused by: java.lang.ClassNotFoundException: org.springframework.security.Authentication at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1387) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233) ... 42 more
  11. Hi hozawa, As per the webservices document it says that need to use POSTPOST http://<host>:<port>/jasperserver[-pro]/rest_v2/import?<arguments>As per your suggestion I kept Put Method and I got HTTP/1.1 405 Method Not Allowed [server: Apache-Coyote/1.1, Pragma: No-cache, Cache-Control: no-cache, Expires: Thu, 01 Jan 1970 05:30:00 IST, P3P: CP="ALL", Allow: POST,GET,OPTIONS,HEAD, Content-Type: text/html;charset=utf-8, Content-Length: 1034, Date: Fri, 26 Jun 2015 12:01:35 GMT] Thanks,Raviraj
  12. Hi, Can you send pics to find out exact problem.I think you need to remove all Brands under Detail1 of subreport1 and remove all Brands above subreport2 then you can print only data. Thanks, Raviraj
  13. Hi All, I have written following code to update reports in webservices.The update is not working but responseCode is getting correct.I also checked status I got state as finished. But when i delete the report from the jasper server and run the below code then i can see the new report is uploaded. I mean when deleting report it works fine but it is not working fine when report alredy exits in jasper server . Is there any changes need to be done for updating existing reports for following code ? as Jasper webservices document says you need to put argument "update=true" but it is not working. Please help me thank you ... HttpClient httpClient = new DefaultHttpClient(); HttpPost request = new HttpPost("http://localhost:8082/jasperserver/rest_v2/import?update=true");request.setHeader("Cookie", jSessionId);request.setHeader("Accept", "application/json");request.setHeader("update", "true"); File fis = new File("D:\test\Reports.zip");MultipartEntity mpEntity = new MultipartEntity();ContentBody fbody = new InputStreamBody(new FileInputStream(fis), fis.getName());mpEntity.addPart("file", fbody);request.setEntity(mpEntity); HttpResponse response = httpClient.execute(request);int responseCode = response.getStatusLine().getStatusCode();System.out.println("responseCode " + responseCode); Thanks, Raviraj
  14. Hi All, I like to know how to redirect to custom page if Jasper server session timout.What are changes need to done ? I am using Jasper server 5.6.1. and also need to get login page automatically when session timeout. Thanks, Raviraj
  15. Hi, I think you need to set the calendar date format as per the requirement in "jasperserver_config.properties" which in "jrsWEB-INFbundlesjasperserver_config.properties" Thanks, raviraj
×
×
  • Create New...