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

iReport with Sun Application Server(urgent!!)


2006 IR Open Discussion

Recommended Posts

By: iamlkh - iamlkh

iReport with Sun Application Server(urgent!!)

2006-05-21 02:53

Here i am using iReport 1.0 and 1.2 to generate a pdf file in Sun Application Server, but it throws the following exception. no matter i had already add

grant

{ premission java.lang.RuntimePermission "createClassLoader"

};

in server.policy file

 

Would someone can help me to solve this problem, this is urgent for me.. thanks~~

 

The exception are:

 

HTTP Status 500 -

________________________________________

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

javax.servlet.ServletException: tried to access field org.apache.commons.digester.Digester.log from class org.apache.commons.digester.SetNestedPropertiesRule$AnyChildRule

 

 

or

 

 

HTTP Status 500 -

________________________________________

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

javax.servlet.ServletException: Errors were encountered when compiling report expressions class file:

1. it.businesslogic.ireport.barcode.BcImage cannot be resolved or is not a type

value = (java.awt.Image)(it.businesslogic.ireport.barcode.BcImage.getBarcodeImage(6,((java.lang.String)field_barcode.getValue()),true,false,null,0,0));

<-------------------------------------->

2. it.businesslogic.ireport.barcode.BcImage cannot be resolved or is not a type

value = (java.awt.Image)(it.businesslogic.ireport.barcode.BcImage.getBarcodeImage(6,((java.lang.String)field_barcode.getOldValue()),true,false,null,0,0));

<-------------------------------------->

3. it.businesslogic.ireport.barcode.BcImage cannot be resolved or is not a type

value = (java.awt.Image)(it.businesslogic.ireport.barcode.BcImage.getBarcodeImage(6,((java.lang.String)field_barcode.getValue()),true,false,null,0,0));

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...