Jump to content

xwcheng

Members
  • Posts

    30
  • Joined

  • Last visited

 Content Type 

Forum

Downloads

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Security Advisories

Events

Profiles

Posts posted by xwcheng

  1. Deploy jasperserver in a cluster environment error:

     

     

    java.lang.IllegalArgumentException: Attribute [com.tonbeller.wcf.controller.RequestContextFactory] is not serializable

     

    it's seems that that some property not implement

    serializable

     

     

    cluster environment:

    2 tomcat v5.5.20

    jdk5

    two cluster machine share the same database

     

     

    others:

    run anyone tomcat of the cluster there is no error.

  2. Dear all,

    Did you all have the experience of the cluster jasperserver v1.2.1? When we cluster it we get the following error

     

     

    Deploy jasperserver in a cluster environment error:

     

     

    java.lang.IllegalArgumentException: Attribute [com.tonbeller.wcf.controller.RequestContextFactory] is not serializable

     

    it's seems that that some property not implement

    serializable

     

     

    cluster environment:

    2 tomcat v5.5.20

    jdk5

    two cluster machine share the same database

     

     

    others:

    run anyone tomcat of the cluster separately there is no error.

     

    the attachment is the detail error message

     

    Thank you anyway!

     

    Post edited by: Cheng.Ken, at: 2007/07/16 07:18 [file name=error.html size=4155]http://www.jasperforge.org/components/com_joomlaboard/uploaded/files/error.html[/file]

    Post edited by: Cheng.Ken, at: 2007/07/16 07:51

  3. error incrementing crosstab dataset

     

    This is a common error when generate a corsstab report. you should not place the corsstab in the detail secion,

    you should place it in the summary section

     

    hope to help you!

  4. As far as i know we can set the default report style(font,color,backcolor,forecolor)...etc.

    in other words if you have set the default style then all the report element will apply it when you don't change it.

     

    you can achieve this by the styles library of ireport

     

    good luck

     

    Cheng.kenB)

  5. I have the same problem with you! The reason is the classpath.below is the error message:

     

    java.lang.Exception: 1 - net.sf.jasperreports.engine.JRException: Errors were encountered when compiling report expressions class file: 1. Only a type can be imported. it.businesslogic.ireport.IReportScriptlet resolves to a package import it.businesslogic.ireport.IReportScriptlet; <---------------------------------------> 1 errors at com.jaspersoft.jasperserver.irplugin.wsclient.WSClient.runReport(WSClient.java:382) at com.jaspersoft.jasperserver.irplugin.wsclient.WSClient.runReport(WSClient.java:299) at com.jaspersoft.jasperserver.irplugin.ReportRunner.run(ReportRunner.java:73) at java.lang.Thread.run(Unknown Source)

     

     

    :sick: solution:

     

    You just need to put the ireport.jar to the %jasperserver_home%/WEB-INF/lib

     

    good luck!

     

    Also you can refer http://www.jasperforge.org/index.php?option=com_joomlaboard&Itemid=&func=view&catid=9&id=12474#12474

    Post edited by: Cheng.Ken, at: 2007/06/26 08:22

  6. SELECT ProductName, Product_Id, DeliveryDate, SUM(Quantity), UnitPrice FROM customer_order GROUP BY Product_Id, Month(DeliveryDate) ORDER BY DeliveryDate;

     

     

    in fact your sql syntax can not compile. a correct one is like this

    Code:

    SELECT
    ProductName,
    Product_Id,
    DeliveryDate,
    SUM(Quantity),
    UnitPrice
    FROM
    customer_order
    GROUP BY ProductName,
    Product_Id, DeliveryDate, UnitPrice
    ORDER BY DeliveryDate;

    you can adjust your sql as need like above

    Hope to help you.

    Post edited by: Cheng.Ken, at: 2007/06/26 01:06

×
×
  • Create New...