Display WebI Reports in JSP pages

Post Author: merciless
CA Forum: JAVA
Hello,we are using Business Objects Enterprise 11.5 Release 2with SP1 on Windows 2003. We want to integrate a report viewer into our portal, based on J2EE and JSP running on Tomcat. We tried to use the WebIntelligence RE SDK JSP Tutorials Release 110.000.00000, but it seams that this tutorial is designed von BO Enterprise 11, and we found no easy way to get it working. Most JSP samples from BOusing the CrystalReportViewer, but we want to use aviewer for WebI reports only. We also need the possibilityto securely pass filters to the reports (openDocument.jspis no solution). The filters should be set in Java codeto prevent URL manipulation. Can anybody help us? A link to a working tutorial would be fine.Another problem we have: Is it possible to solve our problem, if the Java code is running on Linux 64bit with BO on Windows 32bit? Does anybody made some experiences with that?Many Thanks!merciless

Hi,
Visit the following URL http://java.sun.com/docs/books/tutorial/i18n/ .
It will help you.
bye for now
sat

Similar Messages

  • How do i display jasper reports using jsp

    Can anyone help me to display jasper reports in jsp pages
    Thanx in advance

    hi
    Thank you for such a great answer.
    I have a problem here,
    When i generate report using this code all other report formats are generated very good, but the html report is not generated properly. i get nullpx in the img src e.g
    <td><img alt="" src="nullpx" style="width: 20px; height: 1px;"/></td>
    Please help me
    and
    Thanks in advance
    snkr
    Following is the html code of the generated report.
    start--------------------------------------
    =======================================================
    <html>
    <head>
    <title></title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <style type="text/css">
    a {text-decoration: none}
    </style>
    </head>
    <body text="#000000" link="#000000" alink="#000000" vlink="#000000">
    <table width="100%" cellpadding="0" cellspacing="0" border="0">
    <tr><td width="50%"> </td><td align="center">
    <a name="JR_PAGE_ANCHOR_0_1"/>
    <table style="width: 620px" cellpadding="0" cellspacing="0" border="0" bgcolor="white">
    <tr>
    <td><img alt="" src="nullpx" style="width: 200px; height: 1px;"/></td>
    <td><img alt="" src="nullpx" style="width: 10px; height: 1px;"/></td>
    <td><img alt="" src="nullpx" style="width: 200px; height: 1px;"/></td>
    <td><img alt="" src="nullpx" style="width: 10px; height: 1px;"/></td>
    <td><img alt="" src="nullpx" style="width: 135px; height: 1px;"/></td>
    <td><img alt="" src="nullpx" style="width: 45px; height: 1px;"/></td>
    <td><img alt="" src="nullpx" style="width: 20px; height: 1px;"/></td>
    </tr>
    <tr valign="top">
    <td colspan="8"><img alt="" src="nullpx" style="width: 640px; height: 30px;"/></td>
    </tr>
    <tr valign="top">
    <td><img alt="" src="nullpx" style="width: 20px; height: 60px;"/></td>
    <td colspan="5" valign="middle" style="text-align: center;"><span style="font-family: sansserif; font-size: 20.0px; font-weight: bold;">
                       Report Background Demo
    </span></td>
    <td colspan="2"><img alt="" src="nullpx" style="width: 65px; height: 60px;"/></td>
    </tr>
    <tr valign="top">
    <td><img alt="" src="nullpx" style="width: 20px; height: 24px;"/></td>
    <td><span style="font-family: Times; font-size: 13.0px; font-weight: bold;">Parent_ID</span></td>
    <td><img alt="" src="nullpx" style="width: 10px; height: 24px;"/></td>
    <td><span style="font-family: Times; font-size: 13.0px; font-weight: bold;">Product_ID:</span></td>
    <td><img alt="" src="nullpx" style="width: 10px; height: 24px;"/></td>
    <td colspan="3"><span style="font-family: Times; font-size: 13.0px; font-weight: bold;">Name:</span></td>
    </tr>
    <tr valign="top">
    <td colspan="8"><img alt="" src="nullpx" style="width: 640px; height: 6px;"/></td>
    </tr>
    <tr valign="top">
    <td><img alt="" src="nullpx" style="width: 20px; height: 24px;"/></td>
    <td><span style="font-family: Times; font-size: 15.0px; font-weight: bold;">0</span></td>
    <td><img alt="" src="nullpx" style="width: 10px; height: 24px;"/></td>
    <td><span style="font-family: Times; font-size: 15.0px; font-weight: bold;">001</span></td>
    <td><img alt="" src="nullpx" style="width: 10px; height: 24px;"/></td>
    <td colspan="3"><span style="font-family: Times; font-size: 15.0px; font-weight: bold;">Colour Cosmetcis</span></td>
    </tr>
    <tr valign="top">
    <td colspan="8"><img alt="" src="nullpx" style="width: 640px; height: 6px;"/></td>
    </tr>
    <tr valign="top">
    <td><img alt="" src="nullpx" style="width: 20px; height: 24px;"/></td>
    <td><span style="font-family: Times; font-size: 15.0px; font-weight: bold;">001</span></td>
    <td><img alt="" src="nullpx" style="width: 10px; height: 24px;"/></td>
    <td><span style="font-family: Times; font-size: 15.0px; font-weight: bold;">001-001</span></td>
    <td><img alt="" src="nullpx" style="width: 10px; height: 24px;"/></td>
    <td colspan="3"><span style="font-family: Times; font-size: 15.0px; font-weight: bold;">Lipsticks</span></td>
    </tr>
    <tr valign="top">
    <td colspan="8"><img alt="" src="nullpx" style="width: 640px; height: 6px;"/></td>
    </tr>
    <tr valign="top">
    <td><img alt="" src="nullpx" style="width: 20px; height: 24px;"/></td>
    <td><span style="font-family: Times; font-size: 15.0px; font-weight: bold;">001</span></td>
    <td><img alt="" src="nullpx" style="width: 10px; height: 24px;"/></td>
    <td><span style="font-family: Times; font-size: 15.0px; font-weight: bold;">001-321</span></td>
    <td><img alt="" src="nullpx" style="width: 10px; height: 24px;"/></td>
    <td colspan="3"><span style="font-family: Times; font-size: 15.0px; font-weight: bold;">Eye Shadow</span></td>
    </tr>
    <tr valign="top">
    <td colspan="8"><img alt="" src="nullpx" style="width: 640px; height: 6px;"/></td>
    </tr>
    <tr valign="top">
    <td><img alt="" src="nullpx" style="width: 20px; height: 24px;"/></td>
    <td><span style="font-family: Times; font-size: 15.0px; font-weight: bold;">001</span></td>
    <td><img alt="" src="nullpx" style="width: 10px; height: 24px;"/></td>
    <td><span style="font-family: Times; font-size: 15.0px; font-weight: bold;">001-322</span></td>
    <td><img alt="" src="nullpx" style="width: 10px; height: 24px;"/></td>
    <td colspan="3"><span style="font-family: Times; font-size: 15.0px; font-weight: bold;">Shankar</span></td>
    </tr>
    <tr valign="top">
    <td colspan="8"><img alt="" src="nullpx" style="width: 640px; height: 6px;"/></td>
    </tr>
    <tr valign="top">
    <td><img alt="" src="nullpx" style="width: 20px; height: 24px;"/></td>
    <td><span style="font-family: Times; font-size: 15.0px; font-weight: bold;">001-322</span></td>
    <td><img alt="" src="nullpx" style="width: 10px; height: 24px;"/></td>
    <td><span style="font-family: Times; font-size: 15.0px; font-weight: bold;">001-322-001</span></td>
    <td><img alt="" src="nullpx" style="width: 10px; height: 24px;"/></td>
    <td colspan="3"><span style="font-family: Times; font-size: 15.0px; font-weight: bold;">test</span></td>
    </tr>
    <tr valign="top">
    <td colspan="8"><img alt="" src="nullpx" style="width: 640px; height: 6px;"/></td>
    </tr>
    <tr valign="top">
    <td><img alt="" src="nullpx" style="width: 20px; height: 24px;"/></td>
    <td><span style="font-family: Times; font-size: 15.0px; font-weight: bold;">001-322</span></td>
    <td><img alt="" src="nullpx" style="width: 10px; height: 24px;"/></td>
    <td><span style="font-family: Times; font-size: 15.0px; font-weight: bold;">001-322-002</span></td>
    <td><img alt="" src="nullpx" style="width: 10px; height: 24px;"/></td>
    <td colspan="3"><span style="font-family: Times; font-size: 15.0px; font-weight: bold;">Parikchya</span></td>
    </tr>
    <tr valign="top">
    <td colspan="8"><img alt="" src="nullpx" style="width: 640px; height: 6px;"/></td>
    </tr>
    <tr valign="top">
    <td><img alt="" src="nullpx" style="width: 20px; height: 24px;"/></td>
    <td><span style="font-family: Times; font-size: 15.0px; font-weight: bold;">001</span></td>
    <td><img alt="" src="nullpx" style="width: 10px; height: 24px;"/></td>
    <td><span style="font-family: Times; font-size: 15.0px; font-weight: bold;">001-323</span></td>
    <td><img alt="" src="nullpx" style="width: 10px; height: 24px;"/></td>
    <td colspan="3"><span style="font-family: Times; font-size: 15.0px; font-weight: bold;">test</span></td>
    </tr>
    <tr valign="top">
    <td colspan="8"><img alt="" src="nullpx" style="width: 640px; height: 6px;"/></td>
    </tr>
    <tr valign="top">
    <td><img alt="" src="nullpx" style="width: 20px; height: 24px;"/></td>
    <td><span style="font-family: Times; font-size: 15.0px; font-weight: bold;">001</span></td>
    <td><img alt="" src="nullpx" style="width: 10px; height: 24px;"/></td>
    <td><span style="font-family: Times; font-size: 15.0px; font-weight: bold;">001-324</span></td>
    <td><img alt="" src="nullpx" style="width: 10px; height: 24px;"/></td>
    <td colspan="3"><span style="font-family: Times; font-size: 15.0px; font-weight: bold;">first</span></td>
    </tr>
    <tr valign="top">
    <td colspan="8"><img alt="" src="nullpx" style="width: 640px; height: 6px;"/></td>
    </tr>
    <tr valign="top">
    <td><img alt="" src="nullpx" style="width: 20px; height: 24px;"/></td>
    <td><span style="font-family: Times; font-size: 15.0px; font-weight: bold;">001-324</span></td>
    <td><img alt="" src="nullpx" style="width: 10px; height: 24px;"/></td>
    <td><span style="font-family: Times; font-size: 15.0px; font-weight: bold;">001-324-001</span></td>
    <td><img alt="" src="nullpx" style="width: 10px; height: 24px;"/></td>
    <td colspan="3"><span style="font-family: Times; font-size: 15.0px; font-weight: bold;">first</span></td>
    </tr>
    <tr valign="top">
    <td colspan="8"><img alt="" src="nullpx" style="width: 640px; height: 6px;"/></td>
    </tr>
    <tr valign="top">
    <td><img alt="" src="nullpx" style="width: 20px; height: 24px;"/></td>
    <td><span style="font-family: Times; font-size: 15.0px; font-weight: bold;">0</span></td>
    <td><img alt="" src="nullpx" style="width: 10px; height: 24px;"/></td>
    <td><span style="font-family: Times; font-size: 15.0px; font-weight: bold;">002</span></td>
    <td><img alt="" src="nullpx" style="width: 10px; height: 24px;"/></td>
    <td colspan="3"><span style="font-family: Times; font-size: 15.0px; font-weight: bold;">hair Cleaner</span></td>
    </tr>
    <tr valign="top">
    <td colspan="8"><img alt="" src="nullpx" style="width: 640px; height: 6px;"/></td>
    </tr>
    <tr valign="top">
    <td><img alt="" src="nullpx" style="width: 20px; height: 24px;"/></td>
    <td><span style="font-family: Times; font-size: 15.0px; font-weight: bold;">002</span></td>
    <td><img alt="" src="nullpx" style="width: 10px; height: 24px;"/></td>
    <td><span style="font-family: Times; font-size: 15.0px; font-weight: bold;">002-001</span></td>
    <td><img alt="" src="nullpx" style="width: 10px; height: 24px;"/></td>
    <td colspan="3"><span style="font-family: Times; font-size: 15.0px; font-weight: bold;">Kumar</span></td>
    </tr>
    <tr valign="top">
    <td colspan="8"><img alt="" src="nullpx" style="width: 640px; height: 6px;"/></td>
    </tr>
    <tr valign="top">
    <td><img alt="" src="nullpx" style="width: 20px; height: 24px;"/></td>
    <td><span style="font-family: Times; font-size: 15.0px; font-weight: bold;">002</span></td>
    <td><img alt="" src="nullpx" style="width: 10px; height: 24px;"/></td>
    <td><span style="font-family: Times; font-size: 15.0px; font-weight: bold;">002-002</span></td>
    <td><img alt="" src="nullpx" style="width: 10px; height: 24px;"/></td>
    <td colspan="3"><span style="font-family: Times; font-size: 15.0px; font-weight: bold;">Magilla Gorilla</span></td>
    </tr>
    <tr valign="top">
    <td colspan="8"><img alt="" src="nullpx" style="width: 640px; height: 6px;"/></td>
    </tr>
    <tr valign="top">
    <td><img alt="" src="nullpx" style="width: 20px; height: 24px;"/></td>
    <td><span style="font-family: Times; font-size: 15.0px; font-weight: bold;">002</span></td>
    <td><img alt="" src="nullpx" style="width: 10px; height: 24px;"/></td>
    <td><span style="font-family: Times; font-size: 15.0px; font-weight: bold;">002-003</span></td>
    <td><img alt="" src="nullpx" style="width: 10px; height: 24px;"/></td>
    <td colspan="3"><span style="font-family: Times; font-size: 15.0px; font-weight: bold;">astrigent</span></td>
    </tr>
    <tr valign="top">
    <td colspan="8"><img alt="" src="nullpx" style="width: 640px; height: 6px;"/></td>
    </tr>
    <tr valign="top">
    <td><img alt="" src="nullpx" style="width: 20px; height: 24px;"/></td>
    <td><span style="font-family: Times; font-size: 15.0px; font-weight: bold;">0</span></td>
    <td><img alt="" src="nullpx" style="width: 10px; height: 24px;"/></td>
    <td><span style="font-family: Times; font-size: 15.0px; font-weight: bold;">003</span></td>
    <td><img alt="" src="nullpx" style="width: 10px; height: 24px;"/></td>
    <td colspan="3"><span style="font-family: Times; font-size: 15.0px; font-weight: bold;">test1</span></td>
    </tr>
    <tr valign="top">
    <td colspan="8"><img alt="" src="nullpx" style="width: 640px; height: 96px;"/></td>
    </tr>
    <tr valign="top">
    <td colspan="8"><img alt="" src="nullpx" style="width: 640px; height: 170px;"/></td>
    </tr>
    </table>
    </td><td width="50%"> </td></tr>
    </table>
    </body>
    </html>
    end------------------------------
    ========================================================

  • How to print report in jsp page?

    excuse me,i am new to jsp
    may i know how to pritn report in jsp page or html?
    tq

    here is a hacked up example.. i ripped out a lot, so it may not compile, but you get the idea... the full version is really long and not much new info.. just all awt/display stuff...
    package rowe;
    import javax.swing.*;
    import java.util.*;
    import java.awt.*;
    import java.awt.image.*;
    import java.awt.event.*;
    import java.sql.*;
    import utility.*;
    import java.awt.print.*;
    public class rowePrint extends JFrame implements ActionListener, Printable{
         String printType = "";
         static JButton j = new JButton("Print");
         FontMetrics fm;
         String jID, promotion, product, jComments;
         public void getInfo(int jid) {
              ResultSet rs;
              try {
                   Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
                   Connection conn = DriverManager.getConnection("jdbc:odbc:rowe");
                   Statement stmt = conn.createStatement();
                   rs = stmt.executeQuery("select j.id as jID, j.comments, p.title as pTitle, p.product, p.packagingCartonCost, p.foldingQuarterCostPerM, p.foldingQuarterCostPerM, j.customizationOption as setupFee, p.perMcost, p.qtyCarton, d.name as dName, d.contact as dContact, d.email as dEmail, d.address as dAddress, d.city as dCity, d.state as dState, d.zip as dZip, d.phone as dPhone, d.fax as dFax, r.name as rName, j.totalQty, j.orderIn, j.estFreight, j.miscCost, j.coverSelection, j.imprintSelection from jobs j, promotions p, dealers d, reps r where j.promotion = p.id and j.dealer = d.id and j.rep = r.id and j.id = " + jid);
                   rs.next();
                   jID = rs.getString("jID");
                   jComments = rs.getString("comments");
                   promotion = rs.getString("pTitle");
                   product = rs.getString("product");
              } catch (Exception e) {
                   System.out.println("getinfo: " + e);
       public void actionPerformed(ActionEvent e) {
            if (e.getSource() instanceof JButton) {  
                   wookie();
         public void wookie() {
              PrinterJob printJob = PrinterJob.getPrinterJob();
              Paper paper = new Paper();
              PageFormat page = new PageFormat();
              paper.setImageableArea(0, 0, 600, 780);            
              page.setPaper(paper);
              printJob.setPrintable(this, page);
              try{
                   //printJob.pageDialog(page);
              //     if (printJob.printDialog()) {
                        printJob.print();
              } catch (Exception e) {
                   System.out.println("wookie1" + e);
         public static void main(String[] args) {
              rowePrint at = new rowePrint("Invoice");
              at.getInfo((new Integer(args[0])).intValue());
              at.drawShapes();
         //     at.wookie();
         public void drawShapes() {
              setBounds(0, 0, 670, 550);
              addWindowListener(new WindowAdapter() {public void windowClosing(WindowEvent e) {System.exit(0);}});
              j.setBounds(10, 10, 10, 10);
              j.addActionListener(this);
              getContentPane().setLayout(null);
              getContentPane().add(l);
              getContentPane().add(j);
              show();
         public rowePrint(String s){
              printType = s;
         public void paint(Graphics g) {
              g.setFont(new Font("Serif", Font.BOLD, 18));
              g.drawString(promotion, 20, 30);
              g.setFont(new Font("SansSerif", Font.PLAIN, 4));
              g.drawString("" + new java.util.Date(), 20, 37);
              g.setFont(new Font("Serif", Font.BOLD, 21));
              g.drawString("Rowe Furniture", 440, 35);
              g.fillRect(440, 40, 145, 25);
              g.setColor(Color.white);
              fm = g.getFontMetrics(new Font("Serif", Font.BOLD, 21));
              g.drawString(printType, 512 - (fm.stringWidth(printType) / 2), 60);
        public int print(Graphics g, PageFormat pf, int pi) throws PrinterException {
            if (pi >= 1) {
                return Printable.NO_SUCH_PAGE;
              paint(g);
            return Printable.PAGE_EXISTS;
    }

  • How to call RDF report from JSP page

    Dear all,
    I want to call a RDF report from JSP page. I am creating the JSP page using j developer 10G.
    Can anyone help me out in this case. Is there any tag or procedure or any other way by of that i can perform this work.
    please help and send the reply on [email protected],[email protected]
    thanks
    Ashok

    Hi Ashok,
    You can use rwservlet - nothing really to do with JDeveloper. Once you have report server up and running (hint: read http://download-uk.oracle.com/docs/cd/B14099_19/bi.1012/b14048/toc.htm), you can call a report like this:
    http://server:port/rwservlet?report=my_report.rdf&destype=cache&desformat=html&p_my_parameter=xxx etcHope this helps,
    John

  • How to call the crystal report in jsp page

    dear friends
    i want to run or call the crystal report in jsp page.
    if u know that can u send sample code for that to my id
    [email protected]

    Hi Sudhakar,
    Could you please be more speicific about the task you want to accomplish?
    Cheers
    Giri :-)

  • How to print report from JSP Page

    Hi Everybody,
    I am developing a simple project in JSP with MS Access. I hav some tables and reports for them. I hav a JSP page which gets inputs from user and save it in the table. Its working fine. But my problems are,
    1) I hav a button called "SAVE & PRINT" in that bottom of the page, if i click that button, the currently entered data has to save in the table and the same data has to print from the MS Access report. I dont know how to print this report from JSP page.
    2) Another button called "REPRINT". If i click that button, it has to ask a number to print the report page, that number is nothing but a field in that report.
    Could anyone help me to solve this problem.

    Hi Everybody,
    I am developing a simple project in JSP with MS Access. I hav some tables and reports for them. I hav a JSP page which gets inputs from user and save it in the table. Its working fine. But my problems are,
    1) I hav a button called "SAVE & PRINT" in that bottom of the page, if i click that button, the currently entered data has to save in the table and the same data has to print from the MS Access report. I dont know how to print this report from JSP page.
    2) Another button called "REPRINT". If i click that button, it has to ask a number to print the report page, that number is nothing but a field in that report.
    Could anyone help me to solve this problem.

  • How to display uploaded image in jsp page.

    Hello,
    I am using struts 1.2.9 and and have uploaded image on the server. Now what I want to do display the image in jsp page after clicking on one link in jsp. I have tried many thing to display image in jsp page. But I am getting an error during displaying image in jsp. I have displayed absolute path in servlet. and used InputStream and outputstream to display image in jsp page.
    Can any one help.
    Thanks in advance
    Manveer Singh

    Follow this. This topic is very popular recently on the forum.

  • Error in displaying web reports converted to jsp

    I have created a JSP page which contains embedded Oracle web reports build using Oracle Report Builder. I am using 10gAS version
    I have deployed the JSP created above to the Oracle Application Server
    but when i try to open the JSP file it gives the following error:
    500 Internal Server Error
    javax.servlet.jsp.JspException: rwlib-1: REP-1202: ORACLE logon not specified. at oracle.reports.jsp.ObjectsTag.doEndTag(ObjectsTag.java:206) at testing.test1._jspService(_test1.java:75) [SRC:/testing/test1.jsp:0] at com.orionserver[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].http.OrionHttpJspPage.service(OrionHttpJspPage.java:56) at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:567) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:302) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65) at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source) at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:604) at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317) at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790) at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:208) at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:125) at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192) at java.lang.Thread.run(Thread.java:534)
    can anybody help regarding this
    this is of high priority to me
    thanks and regards
    Subhajit

    I think the problem is in your read loop. Try:
    String line = null;
    while ((line  = bf.readLine()) != null) {
           out.write(line);
    }

  • Javax.servlet..ServletException in jaser report in jsp page

    Hi all,
    In my web application i am using jasperreport 3.0. to generate reports in excel format
    My Application is configured in apache-tomcat-5.5.26 in Mac Server.
    I have placed the following jar files in webapps/xxxx/WEB-INF/lib.
    jasperreports-3.0.0.jar,commons-digester-1.7.jar,itext-1.3.1.jar,commons-logging-1.1.jar,commons-beanutils-1.7.jar,commons-collections-3.2.jar,poi-3.0.1-FINAL-20070705.jar
    The reports are generated automatically and stored inside the webappss/xxxx/Reports/ folder. And i have given link to the generated excel file dynamically in JSP page.
    When i load the jsp pag, i am getting javax.servlet.servletExcetion displayed in jsp page and the following display in catalina.out file
    Nov 9, 2009 12:02:01 PM org.apache.tomcat.util.http.Parameters processParameters
    WARNING: Parameters: Invalid chunk ignored.
    Nov 9, 2009 12:02:01 PM org.apache.commons.digester.Digester startElement
    SEVERE: Begin event threw error
    java.lang.NoClassDefFoundError
         at net.sf.jasperreports.engine.xml.JRAbstractStyleFactory.createObject(JRAbstractStyleFactory.java:166)
         at org.apache.commons.digester.FactoryCreateRule.begin(FactoryCreateRule.java:389)
         at org.apache.commons.digester.Digester.startElement(Digester.java:1361)
         at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
         at org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(Unknown Source)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
         at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
         at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
         at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
         at org.apache.commons.digester.Digester.parse(Digester.java:1647)
         at net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:239)
         at net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:226)
         at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:214)
         at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:168)
         at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:152)
         at net.sf.jasperreports.engine.JasperCompileManager.compileReport(JasperCompileManager.java:150)
         at org.apache.jsp.source.admin.DateReport_jsp._jspService(DateReport_jsp.java:85)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
         at java.lang.Thread.run(Thread.java:613)Please help me how to overcome this problem.
    Thanks in advance.

    yes the class mentioned in the stack trace is found in the jar file placed in web-inf/lib folder. can you tel what else can be the reason for this.

  • Displaying WebI report parts via openDocument in BI 4.1 SP 3 Update

    1) We are using SAP BO 4.1 SP3 Update version.
    2) We have a requirement to display PARTS of webi report which has prompts as well.
    3) We referred the Opendocument PDF and used the below functionality to get what we need:
    sRefresh=Y&mode=part&sReportPart=UIREF:RID=1:BID=1
    The problem with this is we have a Prompt X which has a value say  A B C.
    So our final URL would be:
    http://[servername]:[port]/BOE/OpenDocument/opendoc/openDocument.jsp?sIDType=CUID&iDocID=[CUID of WebI doc]&lsSX=A B C&mode=part&sReportPart=[Reference to the report part to be shown].
    4) Our problem is that if we pass parameters in Prompt X which has a SPACE (Like we have in A B C) the functionality goes for a toss. Also if we pass Dates like 01/01/2012-12/31/2012, the function doesnt work.
    5) This is the problem with VIEWING PARTS OF WEBI report only. Works fine if we wanna view full report.
    6) Is it a known issue ?

    Hi Ankit,
    For special characters like space, colon you have to use ASCII characters in URL. For e.g. if you want to write prompt as
    Enter Year:
    then it should be like :
    Enter%20Year%3A
    Please refer page 9 of below document :
    https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=4&ved=0CD4QFjAD&url=http%3A%2F%2Fwww.pieterverstraeten.com…
    Cheers
    Sahil

  • Cannot view Crystal Report in JSP page ( error loading ? )

    Hi,
              Can someone please help or pass on any suggestions,
              I am trying to view my crystal report (test.rpt) in my JSP page but get the following error and im having trouble sorting it out. I am using Crystal 10 with weblogic. My report is just a simple report ( no data connection needed) with just some hard coded text. I simply want to view it through a JSP page. Can anyone shed any light on the error. The error message is shown below. In my browser i get the message
              An error has occurred:
              Error loading C:/Bea/user_projects/applications/crystaltest/crystaltestWeb/WEB-INF/test.rpt
              the important part of the full error message below i guess is :
              Root cause of ServletException.
              com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Error loading C:/Bea/user_projects/applications/crystaltest/crystaltestWeb/WEB-INF/test.rpt ---- Error code:-2147215356 Error code name:fileNotOpened
              at com.crystaldecisions.sdk.occa.report.lib.ReportSDKException.throwReportSDKException(Unknown Source) etc
              Full error message is here ->
              ####<11/08/2004 11:56:10 AM EST> <Debug> <HTTP> <TAS0707> <cgServer> <ExecuteThread: '0' for queue: 'weblogic.socket.Muxer'> <<WLS Kernel>> <> <BEA-101147> <HttpServer(32071428,null default ctx,cgServer) Found no context for "/". This request does not match the context path for any installed Web applications, and there is no default Web application configured.>
              ####<11/08/2004 11:56:12 AM EST> <Notice> <WebLogicServer> <TAS0707> <cgServer> <main> <<WLS Kernel>> <> <BEA-000331> <Started WebLogic Admin Server "cgServer" for domain "workshop" running in Development Mode>
              ####<11/08/2004 11:56:12 AM EST> <Notice> <WebLogicServer> <TAS0707> <cgServer> <main> <<WLS Kernel>> <> <BEA-000360> <Server started in RUNNING mode>
              ####<11/08/2004 11:56:12 AM EST> <Debug> <HTTP> <TAS0707> <cgServer> <ExecuteThread: '0' for queue: 'weblogic.socket.Muxer'> <<WLS Kernel>> <> <BEA-101147> <HttpServer(32071428,null default ctx,cgServer) Found no context for "/wlwdir". This request does not match the context path for any installed Web applications, and there is no default Web application configured.>
              ####<11/08/2004 11:56:12 AM EST> <Info> <Management> <TAS0707> <cgServer> <ExecuteThread: '0' for queue: 'weblogic.admin.RMI'> <<WLS Kernel>> <> <BEA-140009> <Configuration changes for the domain have been saved to the repository.>
              ####<11/08/2004 11:56:12 AM EST> <Info> <Configuration Management> <TAS0707> <cgServer> <ExecuteThread: '0' for queue: 'weblogic.admin.RMI'> <<WLS Kernel>> <> <BEA-150007> <The booted configuration .\config.xml has been backed up at C:\Bea\WEBLOG~1\samples\domains\workshop\.\config.xml.booted.>
              ####<11/08/2004 11:58:29 AM EST> <Info> <HTTP> <TAS0707> <cgServer> <ExecuteThread: '13' for queue: 'weblogic.kernel.Default'> <<anonymous>> <> <BEA-101047> <[ServletContext(id=1439407,name=crystaltestWeb,context-path=/crystaltestWeb)] /ensureAppDeployment: init>
              ####<11/08/2004 11:58:53 AM EST> <Info> <HTTP> <TAS0707> <cgServer> <ExecuteThread: '13' for queue: 'weblogic.kernel.Default'> <<anonymous>> <> <BEA-101047> <[ServletContext(id=1439407,name=crystaltestWeb,context-path=/crystaltestWeb)] /wlwdir: init>
              ####<11/08/2004 11:59:02 AM EST> <Info> <HTTP> <TAS0707> <cgServer> <ExecuteThread: '13' for queue: 'weblogic.kernel.Default'> <<anonymous>> <> <BEA-101047> <[ServletContext(id=1439407,name=crystaltestWeb,context-path=/crystaltestWeb)] *.jsp: init>
              ####<11/08/2004 11:59:02 AM EST> <Info> <HTTP> <TAS0707> <cgServer> <ExecuteThread: '13' for queue: 'weblogic.kernel.Default'> <<anonymous>> <> <BEA-101047> <[ServletContext(id=1439407,name=crystaltestWeb,context-path=/crystaltestWeb)] *.jsp: param verbose initialized to: true>
              ####<11/08/2004 11:59:02 AM EST> <Info> <HTTP> <TAS0707> <cgServer> <ExecuteThread: '13' for queue: 'weblogic.kernel.Default'> <<anonymous>> <> <BEA-101047> <[ServletContext(id=1439407,name=crystaltestWeb,context-path=/crystaltestWeb)] *.jsp: param packagePrefix initialized to: jsp_servlet>
              ####<11/08/2004 11:59:02 AM EST> <Info> <HTTP> <TAS0707> <cgServer> <ExecuteThread: '13' for queue: 'weblogic.kernel.Default'> <<anonymous>> <> <BEA-101047> <[ServletContext(id=1439407,name=crystaltestWeb,context-path=/crystaltestWeb)] *.jsp: param compilerclass initialized to: com.sun.tools.javac.Main>
              ####<11/08/2004 11:59:02 AM EST> <Info> <HTTP> <TAS0707> <cgServer> <ExecuteThread: '13' for queue: 'weblogic.kernel.Default'> <<anonymous>> <> <BEA-101047> <[ServletContext(id=1439407,name=crystaltestWeb,context-path=/crystaltestWeb)] *.jsp: param compileCommand initialized to: javac>
              ####<11/08/2004 11:59:02 AM EST> <Info> <HTTP> <TAS0707> <cgServer> <ExecuteThread: '13' for queue: 'weblogic.kernel.Default'> <<anonymous>> <> <BEA-101047> <[ServletContext(id=1439407,name=crystaltestWeb,context-path=/crystaltestWeb)] *.jsp: param compilerval initialized to: com.sun.tools.javac.Main>
              ####<11/08/2004 11:59:02 AM EST> <Info> <HTTP> <TAS0707> <cgServer> <ExecuteThread: '13' for queue: 'weblogic.kernel.Default'> <<anonymous>> <> <BEA-101047> <[ServletContext(id=1439407,name=crystaltestWeb,context-path=/crystaltestWeb)] *.jsp: param pageCheckSeconds initialized to: 1>
              ####<11/08/2004 11:59:02 AM EST> <Info> <HTTP> <TAS0707> <cgServer> <ExecuteThread: '13' for queue: 'weblogic.kernel.Default'> <<anonymous>> <> <BEA-101047> <[ServletContext(id=1439407,name=crystaltestWeb,context-path=/crystaltestWeb)] *.jsp: param encoding initialized to: null>
              ####<11/08/2004 11:59:02 AM EST> <Info> <HTTP> <TAS0707> <cgServer> <ExecuteThread: '13' for queue: 'weblogic.kernel.Default'> <<anonymous>> <> <BEA-101047> <[ServletContext(id=1439407,name=crystaltestWeb,context-path=/crystaltestWeb)] *.jsp: param superclass initialized to weblogic.servlet.jsp.JspBase>
              ####<11/08/2004 11:59:02 AM EST> <Info> <HTTP> <TAS0707> <cgServer> <ExecuteThread: '13' for queue: 'weblogic.kernel.Default'> <<anonymous>> <> <BEA-101047> <[ServletContext(id=1439407,name=crystaltestWeb,context-path=/crystaltestWeb)] *.jsp: param srcCompiler initialized to weblogic.jspc>
              ####<11/08/2004 11:59:02 AM EST> <Info> <HTTP> <TAS0707> <cgServer> <ExecuteThread: '13' for queue: 'weblogic.kernel.Default'> <<anonymous>> <> <BEA-101047> <[ServletContext(id=1439407,name=crystaltestWeb,context-path=/crystaltestWeb)] *.jsp: param workingDir initialized to: C:\Bea\weblogic81\samples\domains\workshop\cgServer\.wlnotdelete\extract\cgServer_crystaltest_crystaltestWeb>
              ####<11/08/2004 11:59:04 AM EST> <Info> <HTTP> <TAS0707> <cgServer> <ExecuteThread: '13' for queue: 'weblogic.kernel.Default'> <<anonymous>> <> <BEA-101047> <[ServletContext(id=1439407,name=crystaltestWeb,context-path=/crystaltestWeb)] *.jsp: initialization complete>
              ####<11/08/2004 12:04:14 PM EST> <Info> <HTTP> <TAS0707> <cgServer> <ExecuteThread: '13' for queue: 'weblogic.kernel.Default'> <<anonymous>> <> <BEA-101047> <[ServletContext(id=1439407,name=crystaltestWeb,context-path=/crystaltestWeb)] /*: init>
              ####<11/08/2004 12:04:15 PM EST> <Info> <HTTP> <TAS0707> <cgServer> <ExecuteThread: '13' for queue: 'weblogic.kernel.Default'> <<anonymous>> <> <BEA-101047> <[ServletContext(id=1439407,name=crystaltestWeb,context-path=/crystaltestWeb)] /*: Using standard I/O>
              ####<11/08/2004 12:18:03 PM EST> <Error> <HTTP> <TAS0707> <cgServer> <ExecuteThread: '12' for queue: 'weblogic.kernel.Default'> <<WLS Kernel>> <> <BEA-101017> <[ServletContext(id=1439407,name=crystaltestWeb,context-path=/crystaltestWeb)] Root cause of ServletException.
              com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Error loading C:/Bea/user_projects/applications/crystaltest/crystaltestWeb/WEB-INF/test.rpt ---- Error code:-2147215356 Error code name:fileNotOpened
              at com.crystaldecisions.sdk.occa.report.lib.ReportSDKException.throwReportSDKException(Unknown Source)
              at com.crystaldecisions.reports.reportengineinterface.JPEReportSource.<init>(Unknown Source)
              at com.crystaldecisions.reports.reportengineinterface.JPEReportSource.a(Unknown Source)
              at com.crystaldecisions.reports.reportengineinterface.JPEReportSourceFactory.createReportSource(Unknown Source)
              at jsp_servlet.__index._jspService(index.jsp:27)
              at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
              at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:996)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
              at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
              at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
              at com.bea.wlw.netui.pageflow.PageFlowJspFilter.doFilter(PageFlowJspFilter.java:208)
              at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
              at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:316)
              at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.superForward(PageFlowRequestProcessor.java:1301)
              at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor$DefaultHttpRedirector.forward(PageFlowRequestProcessor.java:1317)
              at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.doForward(PageFlowRequestProcessor.java:1199)
              at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.processForwardConfig(PageFlowRequestProcessor.java:1093)
              at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
              at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestProcessor.java:650)
              at com.bea.wlw.netui.pageflow.AutoRegisterActionServlet.process(AutoRegisterActionServlet.java:527)
              at com.bea.wlw.netui.pageflow.PageFlowActionServlet.process(PageFlowActionServlet.java:152)
              at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
              at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:996)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
              at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:318)
              at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.superForward(PageFlowRequestProcessor.java:1301)
              at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor$DefaultHttpRedirector.forward(PageFlowRequestProcessor.java:1317)
              at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.doForward(PageFlowRequestProcessor.java:1199)
              at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestProcessor.java:637)
              at com.bea.wlw.netui.pageflow.AutoRegisterActionServlet.process(AutoRegisterActionServlet.java:527)
              at com.bea.wlw.netui.pageflow.PageFlowActionServlet.process(PageFlowActionServlet.java:152)
              at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
              at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:996)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
              at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6456)
              at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
              at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
              at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3661)
              at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2630)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)

    I am getting the same error... Is there any one who can help us... Or is the problem solved, if so please let me know How did you do that...
              Thanks
              Hara

  • Not able to compile an xml file using jasper reports through jsp page

    hi,
    i have compiled an xml file and got html,pdf etc using jasperreports but that was from an java application and now i want to convert this application to an jsp page so i have copied these jar files "commons-beanutils-1.5.jar","commons-collections-2.1.jar","commons-digester-1.3.jar","itext-1.01.jar","jasperreports-0.5.2.jar" to the folder "C:\Program Files\Apache Tomcat 4.0\webapps\examples\WEB-INF\lib" and have set classpath to these jar files.
    my application(java class invoked by a servlet) is in C:\Program Files\Apache Tomcat 4.0\webapps\examples\WEB-INF\classes.
    i m using this API "JasperCompileManager.compileReportToFile(fileName);"
    but i m getting following error:
    type Exception report
    message Internal Server Error
    description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request.
    exception
    javax.servlet.ServletException: Invoker service() exception
         at org.apache.catalina.servlets.InvokerServlet.serveRequest(InvokerServlet.java:504)
         at org.apache.catalina.servlets.InvokerServlet.doGet(InvokerServlet.java:180)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at filters.ExampleFilter.doFilter(ExampleFilter.java:149)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at filters.ExampleFilter.doFilter(ExampleFilter.java:149)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2312)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:163)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1011)
         at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1106)
         at java.lang.Thread.run(Thread.java:536)
    root cause
    java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
         at org.apache.commons.digester.Digester.(Digester.java:345)
         at dori.jasper.engine.xml.JRXmlDigester.(JRXmlDigester.java:115)
         at dori.jasper.engine.xml.JRXmlLoader.prepareDigester(JRXmlLoader.java:446)
         at dori.jasper.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:384)
         at dori.jasper.engine.xml.JRXmlLoader.load(JRXmlLoader.java:371)
         at dori.jasper.engine.xml.JRXmlLoader.load(JRXmlLoader.java:339)
         at dori.jasper.engine.xml.JRXmlLoader.load(JRXmlLoader.java:323)
         at dori.jasper.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:102)
         at jasper_interact.file_exporter(jasper_interact.java:44)
         at reportcontroller.doGet(reportcontroller.java:59)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.servlets.InvokerServlet.serveRequest(InvokerServlet.java:446)
         at org.apache.catalina.servlets.InvokerServlet.doGet(InvokerServlet.java:180)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at filters.ExampleFilter.doFilter(ExampleFilter.java:149)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at filters.ExampleFilter.doFilter(ExampleFilter.java:149)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2312)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:163)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1011)
         at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1106)
         at java.lang.Thread.run(Thread.java:536)
    i have one folder "C:\Program Files\Apache Tomcat 4.0\org\apache\commons\logging" containing some LogFactory calsses but i dont know where to put this folder so that tomcat can find them.
    please help me..
    i know i may not be clear to u but plz give me some way out i m totally stucked.
    manish

    hi,
    thanx for your reply.
    ya i have "commons-logging-1.0.2.jar" file but when i tried to put it with other jar files and set the class path and run the application thru tomcat then it automatically stops the tomact.and when i removed this perticular logging jar file then tomcat works normally but gives the error which i mentioned before.
    i have also tried the second option u suggested, by putting the LogFactory class files in "C:\Program Files\Apache Tomcat 4.0\webapps\examples\WEB-INF\classes\org\apache\commons\logging" but that was not working.shud i set some classpath for them? or shud i have to import these packages........ but when i copied this folder "org" to C:\Program Files\Apache Tomcat 4.0\webapps\examples\WEB-INF\classes and in program wrote import org.* then copilation error occured "no such package found.
    what to do now.
    manish

  • How to retrieve records from a database and display it in a jsp page.Help!!

    Hello everyone ! im very new to this forum.Please help me to solve my problem
    First i ll explain what is my requirement or needed.
    Actually in my web page i have text box to enter start date and end date
    and one list box to select the month .If user select or enter the dates in text box
    accordingly the data from ms access database has to display in a jsp page.
    Im using jsp and beans.
    I tried returning ResultSet from bean but i get nothing display in my web page
    instead it goes to error page (ErrorPage.jsp) which i handle in the jsp.
    I tried many things but nothing work out please help me to attain a perfect
    solution. I tried with my bean individually to check whether the result set has
    values but i got NullPointerException . But the values which i passed or
    available in the database.
    I dint get any reply for my last post please reply atleast to this.
    i get the date in the jsp page is by this way
    int Year=Integer.parseInt(request.getParameter("year"));
    int Month=Integer.parseInt(request.getParameter("month"));
    int Day=Integer.parseInt(request.getParameter("day"));
    String startdate=Day+"/"+Month+"/"+Year;
    int Year1=Integer.parseInt(request.getParameter("year1"));
    int Month1=Integer.parseInt(request.getParameter("month1"));
    int Day1=Integer.parseInt(request.getParameter("day1"));
    String enddate=Day1+"/"+Month1+"/"+Year1;But this to check my bean whether it return any result!
    public void databaseConnection(String MTName,String startDate,String endDate)
    try
             java.text.SimpleDateFormat dateFormat=new java.text.SimpleDateFormat("dd/MM/yyyy");
             java.util.Date fromDate=dateFormat.parse(startDate);
            java.util.Date tillDate=dateFormat.parse(endDate);          
            java.sql.Date sqlFromDate=new java.sql.Date(fromDate.getTime());
            java.sql.Date sqlTillDate=new java.sql.Date(tillDate.getTime());
              String query1="select MTName,Date,MTLineCount from Main where MTName='"+MTName+"'  and Date between '"+sqlFromDate+"' and '"+sqlTillDate+"' " ;
            System.out.println(query1);
              Class.forName(driver);
             DriverManager.getConnection(url);
             preparedStatement=connection.prepareStatement(query1);
             preparedStatement.setString(1,"MTName");
              preparedStatement.setDate(2,sqlFromDate);
              preparedStatement.setDate(3,sqlTillDate);
              resultSet=preparedStatement.executeQuery();           
               while(resultSet.next())
                        System.out.println(resultSet.getString(1));
                        System.out.println(resultSet.getDate(2));
                        System.out.println(resultSet.getInt(3));
            catch (Exception e)
             e.printStackTrace();
    I Passed value from my main method is like thisl
    databaseConnection("prasu","1/12/2005","31/12/2005");Please provide solutions or provide some sample codes!
    Help!
    Thanks in advance for replies

    Thanks for ur reply Mr.Rajasekhar
    I tried as u said,
    i tried without converting to sql date ,but still i din't get any results
    java.text.SimpleDateFormat dateFormat=new java.text.SimpleDateFormat("dd/MM/yyyy");
             java.util.Date fromDate=dateFormat.parse(startDate);
            java.util.Date tillDate=dateFormat.parse(endDate);          
              String query1="select MTName,Date,MTLineCount from linecountdetails where mtname='"+MTName+"'  and Date >='"+fromDate+"' and Date <='"+tillDate+"' " ;
            System.out.println(query1);
    //From main method
    databaseConnection("prasu","1/12/2005","31/12/2005");I got the output as
    ---------- java ----------
    select MTName,Date,MTLineCount from linecountdetails where mtname='prasu'  and Date >='Thu Dec 01 00:00:00 GMT+05:30 2005' and Date <='Sat Dec 31 00:00:00 GMT+05:30 2005'
    java.lang.NullPointerException
    null
    null
    java.lang.NullPointerException
    Output completed (4 sec consumed) - Normal TerminationThanks
    Prasanna.B

  • Webi report link to other webi report opening blank page

    I have put the hyperlink to link to the other webi report. But once I click on the links. It open the report with blank page. I have tried it in View mode or Edit mode, the browser will open up another blank page. Following is my links:
    <a href="http://server_name:28080/OpenDocument/opendoc/openDocument.jsp?sType=wid&sRefresh=Y&sWindow=Same" title="Page1" nav="web">Link to Page2</a>
    any advice? Thanks

    http://server_name:8080/OpenDocument/opendoc/openDocument.jsp?iDocID=AciEzxbPmxdHtQwnB4RHaCo&sType=wid&sIDType=CUID&sWindow=New
    Make sure the followings:
    1. The webserver runs at port 8080 (if not, use the correct port)
    2. the CUID is correctly copied.
    3. the target report here is a webi report. (sType=wid)
    4. the server name is correctly mentioned.
    5. you are using JAVA environment.
    If still this does not work, then please let us know :
    Are you getting any error? if yes, what error you are getting.?

  • How to remove blank pages from WebI Report in view page layout option

    Hi,
             I am working in Business Objects XIR2 environment. I have a WebI report with several sections. I need to show the report as a book with 69 sections (each section on new page). there are 69 sections on cost center and each cost center section has almost 10 sections embedded in it. When i see in regular view - I only see 69 pages but when I try to see in "View Page Lay out" option, there is one blank page added after each results page.
    Please let me know how to remove this blank page. I need to give users the option to download the book as PDF on to their machine. Now, when I download to my machine, I see one blank page after each results page.
    Thanks in advance.

    Jus convert your report in Page Layout mode and see if your first pafe is getting expand in the second page.
    Now check if there are any cell going into second page.
    - if there are any blank cell which is there after table.
    you have to check formating very carefull.

Maybe you are looking for

  • *How to debug a XI scenario*

    I have developed one scenario File to File.In this scenario From the sorce it takes PO_No. Taking that PO No. as Primary Key it goes to database and fetches all the other records from two tables PO_Header and PO_Details. At last all these records are

  • How to keep a playlist in sync with iPhone over iCloud

    I love being able to store all my music in the cloud with iCloud. The only problem is that I want to use iCloud to keep a selected playlist in sync with my iPhone because I only want about 500 of my 2000 songs stored on my iPhone. It is easy to do th

  • Nomad Jukebox Zen Non respons

    I have Nomad jukebox Zen,and I have a big problem, it powers up but will not go past the startup page. I went to the rescue mode and performed all of the tasks and nothing . I tried to reinstall the os firware but it will not install I get a firmware

  • Objects running on threads

    Hi everyone, I have an engine that I have coded that provides a set of services to various applications. Currently the engine is single-threaded, meaning that if more than one person where to access the same instance of the engine there would be shar

  • Any way to not get leading zeros in dates?

    When displaying a date or time, I'm always getting leading zeros. Is there a simple way to not have them? For example: SELECT TO_CHAR(SYSDATE,'HH:MI PM') FROM dual; Will show 02:07 PM. I'd like it just to be 2:07 PM The flip side, that I don't want t