Jump to content
JasperReports Library 7.0 is now available ×

Recommended Posts

By: Muralidhar bp - pmurli

Urgent help

2003-01-27 04:15



I have developed the application and deployed in weblogic server. When I compile the application, it is not able to create a jasper file.

So plzz let me know what is the problem, because it is difficult to debug also.

My doubt is whether it is a xml file problem or servlet or built file or ..........

Thanx in advance








By: Chuck Deal - cdeal

RE: Urgent help

2003-01-27 06:09

You will have to be a bit more specific on how you are attempting to accomplish your task so that someone will be able to find where your problem may be.


I will explain my setup and you can decide if it is helpful.


In my application environment (webapp) I am able to make a few assumptions:

1. Not using dynamic reports, this means that I can have precomplied .jasper files available.

2. Users prefer PDF output.


Therefore, I put all of my .jasper files into a location on the webserver. When a report is requested, I load a separate browser window and (after processing any criteria) call JasperRunManager.runReportToPdf(). This basically fills the report and streams the output back to the window (which is set to receive PDF). In this case I don't require anything but the .jasper file path, HashMap of parameters, and a Connection object.


I have had much success in this scenario and there are probably multiple ways to accomplish this same scenario as well.


Maybe you could start your search for answers by identifing your working environment's parameters...target audience, static or dymanic reports, target brower, target format, etc. Then works towards those goals.





By: Muralidhar bp - pmurli

RE: Urgent help

2003-01-27 07:56



Thanks for the reply, this works fine when not using the dynamic reports, but for my requirment it is a dynamic reports.

But the same reports works fine as a standalone.

But when I try to deploy in the web, i am getting this error.

Is there any thing else which I can try out.

Please help me.

Thanx in advance








By: Chuck Deal - cdeal

RE: Urgent help

2003-01-27 08:19

I think that we can assume that JasperReports creates the .jasper file in the same location as the XML file. If this is the case, verify that your wenbserver will let the application WRITE to this directory.


I don't know if there is a setting to allow you to specify where the .jasper files will be written.


I had a similar need to write files from my web application and I specifically had to configure iPlanet to allow write access.





By: Teodor Danciu - teodord

RE: Urgent help

2003-01-27 09:39




If we are still talking about this error:


<Jan 27, 2003 11:59:17 AM IST> <Error> <HTTP>


tOfCustomer,/ListOfCustomer)] Servlet failed with Exception


at java.util.Hashtable.put(Hashtable.java:375)

at java.util.Properties.setProperty(Properties.java:97)

at java.lang.System.setProperty(System.java:637)

at servlets.ListOfCustomerServlet.service(ListOfCustomerServlet.java:33)


at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm


at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm


at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe


at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm


at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)

at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)



Can we see the line 33 of the

ListOfCustomerServlet.java file ?


Thank you,


Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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...