Compliation problem

hi,
experts yesterday i had no problem with codes.
this code given by vinod sir.
but now some are problem raised.
DCIteratorBinding dciter;
BindingContainer bindings = BindingContext.getCurrent().getCurrentBindingsEntry();
dciter = (DCIteratorBinding) bindings.get("CrmControlView1Iterator"); // your table iterator in the pagedef
CollectionModel model = (CollectionModel)CrmControl.getValue();
ViewObject vo = (ViewObject)model.getRowData();
Integer value = Integer.valueOf(vo.getCurrentRow().getAttribute("crmctrlProsNextId")) + 1;
vo.getCurrentRow().setAttribute("crmctrlProsNextId", value);
dciter.getDataControl().commitTransaction();
Error(36,58): cannot find method getValue()
Error(38,30): cannot find method valueOf(java.lang.Object)
Error(38,38): operator + cannot be applied to java.lang.Integer.valueOf,int
how to solve this?

hey,
DCIteratorBinding dciter;
BindingContainer bindings = BindingContext.getCurrent().getCurrentBindingsEntry();
dciter = (DCIteratorBinding) bindings.get("CrmControlView1Iterator");
Integer value = Integer.valueOf(dciter.getCurrentRow().getAttribute("crmctrlProsNextId").toString()) + 1; // Note the change to this line
dciter.getCurrentRow().setAttribute("crmctrlProsNextId", value);
dciter.getDataControl().commitTransaction();
i paste this code in my backing bean which is automatically created by jspx.
no problem. with this and am also clear with is.
n ur codes working fine and i got the exact output.am happy.
i found the following comment on your post.
Incase if your usecase is to increment the id by 1 on commit,
I suggest you to do it in model(probably in setter method of the attribtue in ViewRowImpl) instead of doing it in bean.
how can i do the following:
I suggest you to do it in model(probably in setter method of the attribtue in ViewRowImpl) // how can i do here that increment operation.
if you don mine can u tel using setter method of viewrowimpl to do that increment operation.
please.

Similar Messages

  • Rmi compliation problem

    when i try to compile my server i get the following errors
    D:\JAVA_P~1\SIMPLE~1>javac -classpath . PhoneDirServer.java
    PhoneDirServer.java:6: package PhoneDirectory does not exist
    import PhoneDirectory.PhoneDirImpl;
    ^
    .\PhoneDirImpl.java:34: class, interface, or enum expected
    ^
    .\PhoneDirImpl.java:12: cannot find symbol
    symbol: class PhoneDirInterface
    implements PhoneDirInterface {
    ^
    PhoneDirServer.java:29: cannot access PhoneDirImpl
    bad class file: .\PhoneDirImpl.java
    file does not contain class PhoneDirImpl
    Please remove or make sure it appears in the correct subdirectory of the classpa
    th.
    PhoneDirImpl myObject = new PhoneDirImpl();
    ^
    4 errors
    here is my server code
    import java.util.Properties;
    import javax.naming.InitialContext;
    import javax.rmi.PortableRemoteObject;
    import PhoneDirectory.PhoneDirImpl;
    * Creates a Server and binds the RMI Servant with the IIOP Registry
    public class PhoneDirServer {
      static final String CONTEXT_NAME = "java.naming.factory.initial";
      static final String IIOP_STRING  = "com.sun.jndi.cosnaming.CNCtxFactory";
      static final String URL_NAME = "java.naming.provider.url";
      static final String IIOP_URL_STRING  = "iiop://localhost:1000";
       * Entry Point to this application
      public static void main(String[] args) {
        try {
          // Create the Object
          PhoneDirImpl myObject = new PhoneDirImpl();
          // Create the IIOP Initial Context
          Properties iiopProperties = new Properties();
          iiopProperties.put( PhoneDirServer.CONTEXT_NAME,
                              PhoneDirServer.IIOP_STRING );
          iiopProperties.put( PhoneDirServer.URL_NAME,
                              PhoneDirServer.IIOP_URL_STRING );
          InitialContext iiopContext = new InitialContext( iiopProperties );
          // Bind the object to the IIOP registry
          iiopContext.rebind( "Phone Directory", myObject );
          System.out.println( "Hello from server, ready for action..." );
        catch ( Exception exception ) {
          exception.printStackTrace ();
    }they are all in the same directory ..
    PhoneDirImpl.java
    PhoneDirInterface.java
    PhoneDirServer.java

    sorry the code is
    import java.rmi.*;
    import java.rmi.server.*;
    import java.io.BufferedReader;
    import java.io.FileReader;
    import java.util.HashMap;
    import java.util.Map;
    public class PhoneDirServer extends UnicastRemoteObject
    implements PhoneDirInterface {
    private Map pbMap = new HashMap();
        public PhoneDirServer () throws RemoteException
            super();
    try {     
              BufferedReader br = new BufferedReader(new FileReader("numbers.txt"));     
              String line;     
              while ((line = br.readLine()) != null)
                   String[] info = line.split(":", 2);       
                   pbMap.put(info[0], info[1]);    
              catch (Exception exc) {       
             exc.printStackTrace();       
              System.exit(1);    }
    public String getPhoneNumber(String name) {   
              return (String) pbMap.get(name);  } 
    public boolean addPhoneNumber(String name, String num) {  
              if (pbMap.containsKey(name)) return false;   
              pbMap.put(name, num);    return true;  }       
    public boolean replacePhoneNumber(String name, String num) {   
              if (!pbMap.containsKey(name)) return false;   
              pbMap.put(name, num);    return true; 
        public static void main ( String args[] ) throws Exception
            // Assign a security manager, in the event that dynamic
         // classes are loaded
            if (System.getSecurityManager() == null)
                System.setSecurityManager ( new RMISecurityManager() );
            // Create an instance of our service server ...
            PhoneDirServer server = new PhoneDirServer();
            // ... and bind it with the RMI Registry
            Naming.bind ("PhoneBook",server);
            System.out.println ("Service bound....");
    }and the interface is
    import java.rmi.Remote;
    import java.rmi.RemoteException;
    * This is an interface to a component that looks up
    public interface PhoneDirInterface extends Remote {
      public String getPhoneNumber(String name) throws RemoteException;
      public boolean addPhoneNumber(String name, String num) throws RemoteException;
      public boolean replacePhoneNumber(String name, String num)throws RemoteException;
    }

  • How to give for a text field 'max+1' value instead of sequence .

    HI All,
    I have a requirement like ,
    For my text field i applied sequence by using groovy expression.Now i need to change that to 'max+' value of table Grid and display in the text field. Can please suggest me how can i implement .(JDev 11.1.1.3 v)
    Regards,
    Sindhu.

    hi user,
    if you want perform some increment operation . in auto means. donot prefer these thread given below..
    there is lot thread of for creating sequence. based on the sequence it works perfect.
    if i understud correctly means follow this
    Increment operation // it perfoms some increment operation. not using sequennce.
    button press
    compliation problem // have a look at this
    if cumes under cirumstance for multiple user on that scree or ui . probabaly this idea(max)or (some increment) will fails.
    i i will prefer sequqnecs._
    IN ADDITION INFO TO USER
    JOHN SAYIGN EXACTLY
    Edited by: Erp on Sep 25, 2011 9:46 PM

  • Weblogic 10 jsp compliation thread block problem

    hi
    i am using weblogic 10 and jdk1.5.
    My application is deployed in ear format, with 2 wars, and 20 ejbs.
    The ear works ok with weblogic 8.1.
    In the application , one war passes the request to another war, that's the workflow....
    Now when the request is passed on the second war, a jsp is supposed to open....but the application get stuck there.
    The call is like this in a servlet....
         reqDisp = req.getRequestDispatcher("/newIndex.jsp");
    reqDisp.forward(req, res);
    The new index jsp is not opened....there is no problem with it it comiples ok....i check with weblogic appc...and it is working on weblogic 8.1.
    when i stop the server...the log gives me following exception info.
    "ExecuteThread: '12' for queue: 'default'" daemon prio=6 tid=0x2b8edad0 nid=0xc1
    0 in Object.wait() [0x2da1e000..0x2da1fb64]
    at java.lang.Object.wait(Native Method)
    - waiting on <0x07f94608> (a javelin.client.JobWaiter)
    at java.lang.Object.wait(Object.java:474)
    at javelin.client.JobWaiter.blockUntilFinished(JobWaiter.java:45)
    - locked <0x07f94608> (a javelin.client.JobWaiter)
    at javelin.client.ClientUtilsImpl.build(ClientUtilsImpl.java:838)
    at weblogic.servlet.jsp.JavelinxJSPStub.compilePage(JavelinxJSPStub.java:248)
    at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:200)
    at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:164)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:235)
    - locked <0x07ef8220> (a weblogic.servlet.jsp.JavelinxJSPStub)
    at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:391)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:309)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
    at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:503)
    at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:245)
    at LCDisplayController.handleProcessing(Unknown Source)
    at DisplayControllerServlet.doPost(Unknown Source)
    at DisplayControllerServlet.doGet(Unknown Source) at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
    at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:503)
    at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:245)
    at com.orbitech.workflow.servlet.WFAppListController.openWorkitem(WFAppListController.java:793)
    at com.orbitech.workflow.servlet.WFAppListController.processRequest(WFAppListController.java:102)
    at com.orbitech.workflow.servlet.WFAppController.doProcessRequest(WFAppController.java:97)
    at com.orbitech.workflow.servlet.WFAppController.doGet(WFAppController.java:64) at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
    i think the there is thread blocking and the jsp is not getting compiled or smthing....
    i am unable to understnd the exception....
    any help, suggestion ? thanks in advance.

    We are using jBPM and Hibernate in our application which runs fine on other java application servers. On Weblogic we were getting an error:
    org.hibernate.HibernateException: Errors in named queries: GraphSession...........
    By adding:
    <container-descriptor>
    <prefer-web-inf-classes>true</prefer-web-inf-classes>
    </container-descriptor>
    to our weblogic.xml, Weblogic used our Hibernate3 and antl-2.7.6 .jar files which resolved this issue but created multiple CompilationException errors in many .jsp's. (as follows)
    Error 500--Internal Server Error
    weblogic.servlet.jsp.CompilationException: Failed to compile JSP /WEB-INF/jsp/struts/dashboards/portfolio_chart.jsp
    portfolio_chart.jsp:1:1: The validator class: "org.apache.taglibs.standard.tlv.JstlCoreTLV" has failed with the following exception: "java.lang.ClassCastException: weblogic.xml.jaxp.RegistrySAXParserFactory".
    <%@ taglib uri="/jstl-core" prefix="c" %>
    ^---------------------------------------^
    portfolio_chart.jsp:1:1: The validator class: "com.primavera.pvweb.taglib.JSMessageTagLibraryValidator" has failed with the following exception: "java.lang.ClassCastException: weblogic.xml.jaxp.RegistrySAXParserFactory".
    <%@ taglib uri="/jstl-core" prefix="c" %>
    ^---------------------------------------^
         at weblogic.servlet.jsp.JavelinxJSPStub.compilePage(JavelinxJSPStub.java:298)
         at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:216)
         at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:165)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:235)
         at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:394)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:309)
    Is this a Weblogic bug ?

  • A big problem of Generate report with PDF format....Urgent

    I want to generate a report with pdf format through one java file, it have two page 1)gen_report.jsp 2) report_gen.java , the compliation was failed. However, i don't what the problem is .... i hope anyone can help me as it is very argent for me ....Thanks a lot
    1)gen_report.jsp
    <table  id="AutoNumber1">
       <tr>
         <td background="images/top5movie.png">
         <p align="center"> </p>
        </td>
       </tr>
       <tr>
       <td >
          <div align="center">
            <table id="AutoNumber2" >
                  <form method="GET" action="../report_gen" name="report_gen" target="_blank" onSubmit="javascript:return checkr1(this)">
                    <tr>
                      <td ><b>Report Description:</b></td>
                      <td >This report is to show the top five popular movies in cinemix for a period </td>
                    </tr>
                    <tr>
                      <td><b>Data scope:</b></td>
                      <td >Start from
                      <input type="text" name="start" value="2003-1-1" >to
                      <input type="text" name="end" value="2006-1-1" ></td>
                     </tr>
                     <tr>
                      <td><b>Data processing:</b></td>
                      <td >Show
                        <select name="order_by">
                          <option value="desc" selected>top</option>
                          <option value="asc">bottom</option>
                        </select>
                      5 films</td>
                    </tr>
                    <tr>
                      <td> <p align="center">
                          <input type="submit" value="View_Report" name="subm">
                        </p></td>
                    </tr>
                    <input type="hidden" name="report" value="r1">
                  </form>
                  <form method="GET" action="../report_gen" name="report_gen" target="_blank" onSubmit="javascript:return checkr2(this)">
                    <input type="hidden" name="report" value="r2">
                  </form>
                </table>
         </div>
          </td>
        </tr>
      </table>Then my java code is here
    report_gen.java
    import java.io.*;
    import java.net.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.util.*;
    import java.sql.*;
    // chart and pdf out
    import java.awt.Graphics2D;
    import java.awt.geom.Rectangle2D;
    import java.io.FileNotFoundException;
    import java.io.FileOutputStream;
    import org.jfree.chart.ChartFactory;
    import org.jfree.chart.JFreeChart;
    import org.jfree.chart.plot.PlotOrientation;
    import org.jfree.data.category.DefaultCategoryDataset;
    import org.jfree.data.xy.*;
    import org.jfree.data.xy.XYBarDataset;
    import org.jfree.data.general.DefaultPieDataset;
    import org.jfree.data.statistics.SimpleHistogramDataset;
    import org.jfree.data.xy.XYSeries;
    import org.jfree.data.xy.XYSeriesCollection;
    import com.lowagie.text.Document;
    import com.lowagie.text.DocumentException;
    import com.lowagie.text.Rectangle;
    import com.lowagie.text.pdf.DefaultFontMapper;
    import com.lowagie.text.pdf.PdfContentByte;
    import com.lowagie.text.pdf.PdfTemplate;
    import com.lowagie.text.pdf.PdfWriter;
    import com.lowagie.text.*;
    import com.lowagie.text.pdf.*;
    import com.lowagie.text.pdf.PdfPCell;
    public class report_gen extends HttpServlet
       private final String titles[] = {"Top Five popular movies ",
                        "Financial cirumstance of cinemas",
                        "Distribution of time segment",
                        "Distribution of favourite movie type"
       private final String descs[] = {"This report is to show the top five  popular movies in cinemix for a period ",
                   "This report is to show the financial circumstance of each cinema site ",
                   "This report is to analysis the customer when is the most visit time ",
                   "This report is to analysis the customer which type of movie do they watch the most"
        private final String bigTitle = "Cinemix";
        private final String driver = "org.gjt.mm.mysql.Driver";
        private final String url= "jdbc:mysql://localhost:3306/cinemix";
        private final String userID = "abc";
        private final String passwd = "abc";     
        public void init(ServletConfig config) throws ServletException
          super.init(config);
       protected void doGet(HttpServletRequest request, HttpServletResponse response)
       throws ServletException, IOException
          final int width = 550;
         final int height = 200;
    / title font (centre and report title)
         final Font fTitle0 = FontFactory.getFont("Helvetica", 42, Font.BOLD);
         final Font fTitle1 = FontFactory.getFont("Helvetica", 30, Font.BOLD);
              // centre name:
        final String title0 = bigTitle;
       // Default category for DefaultCategoryDataset
       final String cat = "data";
       Connection conn;
      JFreeChart chart;
       String title1     = "xyz Report";
       String chartDesc = "description";
       String notes[] = new String[4];
       String chartTitle = "so bad this is title";
       String chartXTitle = "this is x";
       String chartYTitle = "this is y.";
       String report = request.getParameter("report");     
       int max=-10000;
       int min=10000;
       int j=0;          
      // do some basic checking
       if (report == null || report.equals(""))
         report = "-1";  // this course unknow report error message
         String start   = request.getParameter("start");
         String end  = request.getParameter("end");
         String order_by  = request.getParameter("order_by");  // ToDo: check invalid string
           int topN  = 5;
        String order = (order_by.equals("desc")) ? "Top" : "Last";
       String inv[] = {"08:30", "09:30", "10:30", "11:30", "12:30", "11:30", "12:30", "13:30", "14:30", "15:30", "16:30", "17:30","18:30","19:30","20:30","21:30","22:30","23:30"};
         int inv_val[] = new int[inv.length - 1];
         try
            Class.forName(driver).newInstance();
             catch(Exception e)
            printE("Cannot load mysql database driver!", response);
              e.printStackTrace();
               return;
           try
                 conn = DriverManager.getConnection(url, userID, passwd);
                  if (report.equals("r1")) {  // report 1
               DefaultCategoryDataset dataset = new DefaultCategoryDataset();
              Statement stmt = conn.createStatement();
              String sql = "select *,count(f.Name),f.Name from film f, filmDetail fd, ticket t where f.startDate > '" + start + "' and f.endDate <  '" + end + "'and fd.filmID = f.filmID and fd.filmDetailID = t.filmDetailID group by f.name order by fd.filmDetailID asc limit '" +topN+"'";
              ResultSet rs = stmt.executeQuery(sql);
            while (rs.next())
           if (rs.getInt("fd.filmDetailID") > max) max = rs.getInt("fd.filmDetailID");
         if (rs.getInt("fd.filmDetailID") < min) min = rs.getInt("fd.filmDetailID");
          j++;
           ataset.setValue(rs.getInt("fd.filmDetailID"), cat,rs.getString("f.Name"));
           title1     = titles[0];
         chartDesc  = descs[0];
         chartTitle = order + " " + topN + " popular movie";
          chartYTitle = "Box Office record";
          chartXTitle = "Film Name";
          gender = " ";
          chart = ChartFactory.createBarChart(chartTitle, chartXTitle,   chartYTitle, dataset,PlotOrientation.VERTICAL, false, true, false);
        else
              print("Error: I don't inderstand your request!", response);
         return;
           catch (SQLException e)
         printE("Cannot open database connection? <br>", response);
         // printE(e.toString);
      e.printStackTrace();
      return;
         response.setContentType("application/pdf");
         Document document = new Document(PageSize.A4, 5, 5, 5, 5);
        try
             PdfWriter writer;
         writer = PdfWriter.getInstance(document, response.getOutputStream());
        HeaderFooter footer = new HeaderFooter(new Phrase("Page: "), true);
         footer.setBorder(Rectangle.NO_BORDER);
    document.setFooter(footer);
                   footer.setAlignment(Element.ALIGN_CENTER);
                   // step 3
                   document.open();
                   document.add(getHeader(title0, title1, start, end, gender, order, topN, chartDesc));
                   document.add(printChart(chart, writer));
                   document.add(getFooter(notes));
              catch(DocumentException de)
                   de.printStackTrace();
              // step 5
              document.close();
              return;
         }// end doGet()
         /** Handles the HTTP <code>POST</code> method.
          * @param request servlet request
          * @param response servlet response
         protected void doPost(HttpServletRequest request, HttpServletResponse response)
              throws ServletException, IOException
              // processRequest(request, response);
         /** Returns a short description of the servlet.
         public String getServletInfo()
              return "Generate reports for " + bigTitle;
         /* To print en error and exit(?) */
         private void printE(Object obj, HttpServletResponse response) throws IOException
              response.setContentType("text/html");
              PrintWriter out;
              out = response.getWriter();
              out.print(obj.toString());
              out.close();
              // To-Do: how to force exiting?
         // create data chart
         private PdfPTable getHeader(String title0, String title1, String start, String end, String sex, String order, int topN, String desc)
              Font fTitle0 = FontFactory.getFont("Helvetica", 42, Font.BOLD);
              Font fTitle1 = FontFactory.getFont("Helvetica", 24, Font.BOLD);
              Font fTitle3 = FontFactory.getFont("Helvetica", 12, Font.BOLD);
              Font fValue = FontFactory.getFont("Helvetica", 12, Font.UNDERLINE);
              Paragraph parStartEnd = new Paragraph();
              parStartEnd.add(new Phrase("Data start from:                  ", fTitle3));
              parStartEnd.add(new Phrase(start, fValue));
              parStartEnd.add(new Phrase("     to     ", fTitle3));
              parStartEnd.add(new Phrase(end, fValue));
              Paragraph parGenerateDate = new Paragraph();
              parGenerateDate.add(new Phrase("Report generated at:         ", fTitle3));
              parGenerateDate.add(new Phrase(new java.util.Date().toString(), fValue));
              Paragraph parGender = new Paragraph();
              parGender.add(new Phrase("Current show gender:       ", fTitle3));
              parGender.add(new Phrase(sex, fValue));
              Paragraph parTopN = new Paragraph();
              parTopN.add(new Phrase("Now is showing                 ", fTitle3));
              parTopN.add(new Phrase(order, fValue));
              parTopN.add(new Phrase("  ", fValue));
              parTopN.add(new Phrase(new Integer(topN).toString(), fValue));
              parTopN.add(new Phrase("   record(s)", fTitle3));
              // Start main table
              PdfPTable tblMain = new PdfPTable(1);
              tblMain.getDefaultCell().setBorder(0);
              // Print title
              tblMain.getDefaultCell().setHorizontalAlignment(Element.ALIGN_CENTER);
              tblMain.addCell(new Paragraph(title0, fTitle0));
              tblMain.addCell(new Paragraph(title1, fTitle1));
              tblMain.addCell("");
              tblMain.addCell("");
              tblMain.addCell("");
              // Print headers data
              //tblMain.getDefaultCell().setHorizontalAlignment(Element.ALIGN_RIGHT);
              //tblMain.addCell(parInvoiceNum);
              //tblMain.addCell("");
              tblMain.getDefaultCell().setHorizontalAlignment(Element.ALIGN_LEFT);
              tblMain.addCell(parStartEnd);
              tblMain.addCell("");
              tblMain.addCell(parGenerateDate);
              tblMain.addCell("");
              if (sex != " ")
                   tblMain.addCell(parGender);
              else if(order != null && topN > 0)
                   tblMain.addCell(parTopN);
              else
                   tblMain.addCell(" \n");
              tblMain.addCell("");
              tblMain.setWidthPercentage(96);
              tblMain.addCell(new Paragraph("Description of this report:", fTitle3));
              tblMain.addCell(desc);
              tblMain.addCell("\n");
              // Finish main table
              return tblMain;
         // print a chart _directly_ to pdf and return a empty Pdftable...
         public PdfPTable printChart(JFreeChart chart, PdfWriter writer)
              PdfContentByte cb = writer.getDirectContent();
              int width = 550;
              int height = 450;
              PdfTemplate tp = cb.createTemplate(width, height);
              Graphics2D g2d = tp.createGraphics(width, height, new DefaultFontMapper());
              Rectangle2D r2d = new Rectangle2D.Double(0, 0, width, height); //->,
              chart.draw(g2d, r2d);
              g2d.dispose();
              cb.addTemplate(tp, 20, 170);
              // quick method to push down the footer text
              // the only things this method return
              PdfPTable tblDownDown = new PdfPTable(1);
              tblDownDown.getDefaultCell().setBorder(0);
              tblDownDown.addCell(" \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n");
              tblDownDown.addCell(" \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n");
              tblDownDown.addCell(" \n \n \n \n \n \n");
              return tblDownDown;
         public PdfPTable getFooter(String notes[])
              Font fNote = FontFactory.getFont("Helvetica", 14, Font.UNDERLINE);
              Font fComment = FontFactory.getFont("Helvetica", 12, Font.ITALIC);
              Font fTitle1 = FontFactory.getFont("Helvetica", 30, Font.ITALIC);
              // Start footer table
              PdfPTable tblFooter = new PdfPTable(1);
              tblFooter.getDefaultCell().setBorder(0);
              if (notes != null)
                   tblFooter.addCell(new Paragraph("Notes:", fNote));
                   tblFooter.addCell("");
                   tblFooter.addCell("");
                   tblFooter.getDefaultCell().setHorizontalAlignment(Element.ALIGN_LEFT);
                   for (int i=0;i<notes.length;i++)
                        if (notes[i] != null)
                             tblFooter.addCell(new Paragraph("" + (i+1) + ". " + notes[i] + "", fComment));
                             tblFooter.addCell("");
                             tblFooter.addCell("");
                        tblFooter.getDefaultCell().setHorizontalAlignment(Element.ALIGN_CENTER);
                        tblFooter.addCell(new Paragraph("- End of report -", fComment));
                        return tblFooter;
    }

    Go to the cache directory and see if you can open the report directly from here (not in IE).
    I have seen posts on problems with Acrobat Reader Plugin for IE (I believe it was version 6 of Reader).

  • Dups, sharing problems and lost files on NAS drive

    I have been trying ot set up a "shared library" on a network storage drive.  The process has been painful to say the least I have over 17k music files and 400+ audio books.
    My first problem was creating duplicate files when pointing a new PC to iTunes media files. After trying multiple 3rd party software product unsucessfullly I finally bite the bullet and used the iTunes feature display duplicates feature.  Because I did not want to delete compliations and greatest hits dups I had to browse dups by album and manally sort through over 7,000 songs. Took me a week to complet but I did it. The larger problem I am now facing is lost files. 
    I sucessfully had both compurter pointed to the same media folder and everything was working great until I accidentally selected all of my file (yes 17,000+) and proceeded to delete them. I was trying to deleted all of the songs in a album that was duplicates... I caught my error only after a few secs but I am afraid the damage is done. The weird part is the songs are still in the library in iTunes but I now have close to 5,000 missing files icons and when I look for the files in the album folder, they are missing.  What is more irritating is not every song from every album is missing. so If I reimport from the original cd (I hope they are not too scratched) it creates dups of the file that are already there and I have go through and do a manual dup clean up again!!!
    Anyone have a thought as to where the missing files are (they are not in the trash under deleted files).
    Anyone know of a better way to share a large library between mutliple computers and iOS devices without haveing to have multiple copies to sync(i.e. Home sharing).
    ANY HELP WOULD BE GREATLY APPRECIATED!!!

    Hi Rajnish,
    As you mentioned "quota limit", it is set via FSRM or specific function on NAS?
    Meanwhile could you confirm the number 185GB is accurate? Sometimes a part of used space is just not calculated. You can confirm with checking the total space on NAS locally.
    If the number is correct and quota is set via FSRM, check if it is the Disk Quota which not re-calculated the released space. Try to clear the Quota setting and reconfig with 300GB limitation and see if issue still exists.
    If you have any feedback on our support, please send to [email protected]

  • I am having 2 big problems with itunes match / icloud - i welcome any advice!

    So I finally have all my music itunes match / icloud and for the most part I am satisfied but I have 2 huge glaring problems I can't seem to fix. I emailed Apple and awaiting a reply but not holding out much hope there...
    1. Compliation don't work right via itunes match / icloud - I have a few large compilations albums & they display correct on my local itunes library. I have the tags set right, I have normalized the album artists, made sure my genre's are clean, etc. but when I let this match / upload to itunes match / icloud - my compilations are repeated via icloud many times. I have a large compilations called "singles" & it displays perfect on my local itunes. But via icloud it's listed 5 times. I have tripled checked my tags and reset them again and again. No matter what I do, I can't get my compliation abums to show up just a single time in my icloud list.
    Th problem is now that I am allowing my iphone and ipad's music to be managed by itunes match / icloud, these compliations are showing up on those devices 3-5 times for each. So my album list is one huge jumble of repeated Albums.
    Any advice??
    2. Album artwork missing - On my local itunes, I have good album artwork for all albums, but when I let these match and upload via itunes match / icloud, several albums lose their artwork when displaying or downloading to my IOS devices. So I end up with a lot of blank songs / albums. Also very annoying.
    So, on the whole I like the itunes match / icloud service, but I really wish I could figure out how to solve these two problems. Any advice?

    Stephen Banks wrote:
    1. Compliation don't work right via itunes match / icloud...
    If you have not already done so, I suggest set an Album Artist of "Various Artists" and make sure the "part of a compilation" option is selected in the metadata for the album. See if that helps the display.
    Stephen Banks wrote:
    2. Album artwork missing - On my local itunes, I have good album artwork for all albums, but when I let these match and upload via itunes match / icloud, several albums lose their artwork when displaying or downloading to my IOS devices. So I end up with a lot of blank songs / albums. Also very annoying.
    Do a search on the forum. There are already several threads discussing this issue.

  • Importing CD problems

    I have a new Dell desktop running win 7 pro with the latest ver of Itunes. I am in the process of loading my entire library (2000 CD's) into Itunes. Sometimes Itunes stops accepting CD's(CD is inserted but nothing happens..no error codes or notices)  When this happens, I find that if I leave the CD in the drive and exit Itunes then start Itunes, I then see the "Quierying Gracenote..." message in the Itunes info box and the track info appears and I can start the import manually. Sometimes I will have to do this method for a few seccesive CD's and then everything works normally. Another odd thing also happens quite often: My import speed will usually be between 25x and 30x . The cd will start to import at 4x to 6x for about 5 seconds then stop for a second and ramp up to the 25x speed. For some reason this ramp up to 25x stops working. The CD's will still import but at a very slow rate 6x to 8x. I read in the support blogs that my CD's must be dirty or scratched or I must have error checking on. This is not the case, error checking is off and I have checked the CD's and they are pristeen. I can eventually get the high speed import to start working by shutting down or rebooting (doesn't work every time). It almost seems that certain CD's cause the drive to go into a "slow mode" and getting back to a "fast mode" is not always happening. I copied the diagnostic data right after I encountered the "not seeing the CD" problem.
    Microsoft Windows 7 x64 Business Edition Service Pack 1 (Build 7601)
    Dell Inc. Inspiron 620
    iTunes 10.6.1.7
    QuickTime 7.7.1
    FairPlay 1.14.37
    Apple Application Support 2.1.7
    iPod Updater Library 10.0d2
    CD Driver 2.2.0.1
    CD Driver DLL 2.1.1.1
    Apple Mobile Device 5.1.1.4
    Apple Mobile Device Driver 1.59.0.0
    Bonjour 3.0.0.10 (333.10)
    Gracenote SDK 1.9.5.502
    Gracenote MusicID 1.9.5.115
    Gracenote Submit 1.9.5.143
    Gracenote DSP 1.9.5.45
    iTunes Serial Number 0035ADFC0B28ACB0
    Current user is not an administrator.
    The current local date and time is 2012-04-09 12:00:28.
    iTunes is not running in safe mode.
    WebKit accelerated compositing is enabled.
    HDCP is not supported.
    Core Media is supported.
    Video Display Information
    Intel Corporation, Intel(R) HD Graphics Family
    **** External Plug-ins Information ****
    No external plug-ins installed.
    Genius ID: a02ad02a6cce3678c74b38787d2bd16c
    iPodService 10.6.1.7 (x64) is currently running.
    iTunesHelper 10.6.1.7 is currently running.
    Apple Mobile Device service 3.3.0.0 is currently running.
    **** CD/DVD Drive Tests ****
    LowerFilters: PxHlpa64 (2.0.0.0),
    UpperFilters: GEARAspiWDM (2.2.0.1),
    D: TSSTcorp DVD+-RW TS-H653J, Rev D200
    Audio CD in drive.
    Found 11 songs on CD, playing time 52:23 on Audio CD.
    Track 1, start time 00:02:00
    Track 2, start time 03:59:02
    Track 3, start time 08:20:47
    Track 4, start time 13:19:15
    Track 5, start time 17:54:25
    Track 6, start time 21:55:10
    Track 7, start time 26:32:00
    Track 8, start time 30:40:37
    Track 9, start time 35:21:60
    Track 10, start time 39:10:15
    Track 11, start time 45:16:30
    Audio CD reading succeeded.
    Get drive speed succeeded.
    The drive CDR speeds are:   4 8 16 24 32 40 48.
    The drive CDRW speeds are:   4.
    The drive DVDR speeds are:   4.
    The drive DVDRW speeds are:   4.
    Any help will be appreciated

    I'm experiencing the same slow import for my DVD drive too for iTunes music -- it slows down to 2-4x read speed on some CDs when error correction is turned on. The max I've seen is 38x import speed, with error correction off.  I imported a 2CD compliation with error correction on and then off for disk 1/2: disk 1 max 9x vs Disk 2 max 38x. I think error correction is the problem.
    My import settings are AAC 320kps. Sometimes iTunes would complete freeze when importing with error correction and i need to do a reboot.  I just did a complete fresh install of my whole system less than a week ago... It's running very clean.
    I'm using Win7 64bit and interestingly enough nearly the identical drive:  TSSTcorp DVD+-RW TS-H653F, Rev DW10
    Here my iTunes Diagnostics, with error correction turned on:
    Microsoft Windows 7 x64 Business Edition Service Pack 1 (Build 7601)
    Dell Inc. Precision WorkStation T3500
    iTunes 10.6.1.7
    QuickTime 7.7.2
    FairPlay 1.14.37
    Apple Application Support 2.1.7
    iPod Updater Library 10.0d2
    CD Driver 2.2.0.1
    CD Driver DLL 2.1.1.1
    Apple Mobile Device 5.1.1.4
    Apple Mobile Device Driver 1.59.0.0
    Bonjour 3.0.0.10 (333.10)
    Gracenote SDK 1.9.5.502
    Gracenote MusicID 1.9.5.115
    Gracenote Submit 1.9.5.143
    Gracenote DSP 1.9.5.45
    iTunes Serial Number 00D0B06409DF2xxx
    Current user is not an administrator.
    The current local date and time is 2012-05-28 09:54:31.
    iTunes is not running in safe mode.
    WebKit accelerated compositing is enabled.
    HDCP is supported.
    Core Media is supported.
    Video Display Information
    NVIDIA, NVIDIA Quadro FX 580
    **** External Plug-ins Information ****
    No external plug-ins installed.
    **** CD/DVD Drive Tests ****
    No drivers in LowerFilters.
    UpperFilters: GEARAspiWDM (2.2.0.1),
    D: TSSTcorp DVD+-RW TS-H653F, Rev DW10
    Audio CD in drive.
    Found 9 songs on CD, playing time 57:01 on Audio CD.
    Track 1, start time 00:02:32
    Track 2, start time 05:06:15
    Track 3, start time 11:02:55
    Track 4, start time 17:05:57
    Track 5, start time 23:12:35
    Track 6, start time 28:26:02
    Track 7, start time 33:31:07
    Track 8, start time 45:46:30
    Track 9, start time 52:32:52
    Audio CD reading succeeded.
    Get drive speed succeeded.
    The drive CDR speeds are: 4 8 16 24 32 40 48.
    The drive CDRW speeds are: 4.
    The drive DVDR speeds are: 4.
    The drive DVDRW speeds are: 4.
    Error Correction is turned on for importing audio CDs.
    **** Device Connectivity Tests ****
    iPodService 10.6.1.7 (x64) is currently running.
    iTunesHelper 10.6.1.7 is currently running.
    Apple Mobile Device service 3.3.0.0 is currently running.
    Universal Serial Bus Controllers:
    Intel(R) ICH10 Family USB Universal Host Controller - 3A34. Device is working properly.
    Intel(R) ICH10 Family USB Universal Host Controller - 3A35. Device is working properly.
    Intel(R) ICH10 Family USB Universal Host Controller - 3A36. Device is working properly.
    Intel(R) ICH10 Family USB Universal Host Controller - 3A37. Device is working properly.
    Intel(R) ICH10 Family USB Universal Host Controller - 3A38. Device is working properly.
    Intel(R) ICH10 Family USB Universal Host Controller - 3A39. Device is working properly.
    Intel(R) ICH10 Family USB Enhanced Host Controller - 3A3A. Device is working properly.
    Intel(R) ICH10 Family USB Enhanced Host Controller - 3A3C. Device is working properly.
    FireWire (IEEE 1394) Host Controllers:
    LSI 1394 OHCI Compliant Host Controller. Device is working properly.
    Most Recent Devices Not Currently Connected:
    iPhone 4S running firmware version 5.1.1
    Serial Number: blah blah blah

  • Sequential Access Problem - Nothing is being written to file.

    Okay, quick introduction. I am a student and am in an intro Java class. I am understanding most of it; however, I am having one issue with an exercise that I am working on.
    Here is the purpose:
    To create a simple car reservation application that stores the reservation information in a sequential access file.
    In the code what I need to happen is when the user clicks the Reserve Car button, the application needs to first check to see if there are cars already reserved for that day (there is a limit of 4 which is taken care of in the While statement). If the file content is null, it skips this while first.
    If the content is null, then I need to open the file for writing, which is taken care of using FileWriter. The program is then to write the date information using the currentDate variable created before the while statement. Next, it is supposed to write the name entered and display a message box stating that the car has been reserved (which it does display).
    However, I can add an infinate amount of reservations without getting the error message box stating that the max has been reached. So, I checked the reservations.txt file (which was intially created as a blank file) and I see that nothing at all is getting written to it. Here is the code, can anyone offer any insight into what I am missing. I am not getting any compliation or run-time errors, so I am sure this is just a simple problem I am overlooking. Thanks!
    // This application allows users to input their names and
    // reserve cars on various days.
    import java.awt.*;
    import java.awt.event.*;
    import java.io.*;
    import java.util.Date;
    import javax.swing.*;
    import javax.swing.event.*;
    public class CarReservation extends JFrame
       // JLabel and JSpinner to display date
       private JLabel selectDateJLabel;
       private JSpinner dateJSpinner;
       // JLabel and JTextField to display name
       private JLabel nameJLabel;
       private JTextField nameJTextField;
       // JButton to reserve car
       private JButton reserveCarJButton;
       // Printwriter to write to files
       private PrintWriter output;
       //BufferedReader to read data from file
       private BufferedReader input;
       // file user will select
       private File reserveFile;
       // no-argument constructor
       public CarReservation()
          createUserInterface();
       // create and position GUI components
       public void createUserInterface()
          // get content pane for attaching GUI components
          Container contentPane = getContentPane();
          // enable explicit positioning of GUI components
          contentPane.setLayout( null );
          // set up selectDateJLabel
          selectDateJLabel = new JLabel();
          selectDateJLabel.setBounds( 16, 16, 96, 23 );
          selectDateJLabel.setText( "Select the date:" );
          contentPane.add( selectDateJLabel );
          // set up dateJSpinner
          dateJSpinner = new JSpinner( new SpinnerDateModel() );
          dateJSpinner.setBounds( 16, 43, 250, 23 );
          dateJSpinner.setEditor( new JSpinner.DateEditor(
             dateJSpinner, "MM/dd/yyyy" ) );
          contentPane.add( dateJSpinner );
          dateJSpinner.addChangeListener(
             new ChangeListener() // anonymous inner class
                // event handler called when dateJSpinner is changed
                public void stateChanged( ChangeEvent event )
                   dateJSpinnerChanged( event );
             } // end anonymous inner class
          ); // end call to addActionListener           
          // set up nameJLabel
          nameJLabel = new JLabel();
          nameJLabel.setBounds( 16, 70, 100, 23 );
          nameJLabel.setText( "Name: " );
          contentPane.add( nameJLabel );
          // set up nameJTextField
          nameJTextField = new JTextField();
          nameJTextField.setBounds( 16, 97, 250, 23 );
          contentPane.add( nameJTextField );
          // set up reserveCarJButton
          reserveCarJButton = new JButton();
          reserveCarJButton.setBounds( 16, 130, 250, 23 );
          reserveCarJButton.setText( "Reserve Car" );
          contentPane.add( reserveCarJButton );
          reserveCarJButton.addActionListener(
             new ActionListener() // anonymous inner class
                // event handler called when reserveCarJButton is clicked
                public void actionPerformed( ActionEvent event )
                   reserveCarJButtonActionPerformed( event );
             } // end anonymous inner class
          ); // end call to addActionListener
          // set properties of application's window
          setTitle( "Car Reservation" ); // set title bar string
          setSize( 287, 190 );           // set window size
          setVisible( true );            // display window
       } // end method createUserInterface
       // write reservation to a file
       private void reserveCarJButtonActionPerformed( ActionEvent event )
       try
           // get file
           reserveFile = new File( "reservations.txt" );
           // open file
           FileReader currentFile = new FileReader( reserveFile );
           input = new BufferedReader( currentFile );
           // get date from dateJSpinner and format
           Date fullDate = ( Date ) dateJSpinner.getValue();
           String currentDate = fullDate.toString();
           String monthDay = currentDate.substring( 0 , 10 );
           String year = currentDate.substring( 24, 27 );
           currentDate = ( monthDay + " " + year );
           // declare variable to store number of people who reserve a car
           int dateCount = 1;
           // read a line from the file and store
           String contents = input.readLine();
           // while loop to read file data
           while ( contents != null )
               // if contents equal currentDate
               if ( contents.equals( currentDate ) )
                   // check reservation number
                   if ( dateCount <4 )
                       dateCount++;
                   else
                       // display error message
                       JOptionPane.showMessageDialog( this,
                          "There are no more cars available for this day!",
                          "All Cars Reserved", JOptionPane.ERROR_MESSAGE );
                       // disable button
                       reserveCarJButton.setEnabled( false );
                       // exit the method
                       return;
                   } // end else                
               } // end if
             // read next line of file
             contents = input.readLine();
           } // end while
           // close the file
           input.close();
           FileWriter outputFile = new FileWriter( reserveFile, true );
           output = new PrintWriter( outputFile );
           // write day to file
           output.println( currentDate );
           // write reserved name to file
           output.println( nameJTextField.getText() );
           // display message that car has been reserved
           JOptionPane.showMessageDialog( this, "Your car has been reserved",
                   "Thank You", JOptionPane.INFORMATION_MESSAGE);
       } // end try
       catch ( IOException exception )
           JOptionPane.showMessageDialog( this, "Please make sure the file exists " +
                   "and is of the right format.", "I/O Error",
                   JOptionPane.ERROR_MESSAGE );
           // disable buttons
           dateJSpinner.setEnabled( false );
           reserveCarJButton.setEnabled( false );
       } // end catch
       // clear nameJTextField
       nameJTextField.setText( "" );
       } // end method reserveCarJButtonActionPerformed
       // enable reserveCarJButton
       private void dateJSpinnerChanged( ChangeEvent event )
          reserveCarJButton.setEnabled( true );
       } // end method dateJSpinnerChanged
       // main method
       public static void main( String[] args )
          CarReservation application = new CarReservation();
          application.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
       } // end method main

    Thank you. Sorry about all the code. I have never posted in this forum before and was unsure what all you needed.
    This was the problem though. Right after I posted my question, I went back and looked at the code over again and realized that I left that part out! I added it in and it works perfectly. I came back to update my post but you had already answered it!
    I really appreciate the quick response.
    Mike

  • Nitro3 kernel and menuconfig and ctrl+alt+fX problem

    Hi, im having the stranges occurrences.
    I tried 2 use this PKGBUILD of nitro in here http://bbs.archlinux.org/viewtopic.php? … ight=nitro, but changed the nitrover = 3.
    it downloaded fine, and it goes to the choice menu :
    ==> How do you want to configure the kernel:
    ==> ----------------------------------------
    ==> (for ArchLinux defaults, use 'not_at_all (1)')
    ==>
    1) not_at_all
    2) menuconfig
    3) xconfig
    4) oldconfig
    5) config
    when i choose '2', it goes into menuconfig ok, but once i get there, the only keys i can use is enter and esc. when i press the arrow keys to try to move, it already ask you if you want to save the config. I find this very strange since I compiled nitro2 thru menuconfig the last time and it operated normally.
    Since menuconfig is out of wack, i tried xconfig, and it operated normally. But strange thing is that after it starts compiling, in the middle of the compliation, i get this error :
    if [ -r System.map ]; then /sbin/depmod -ae -F System.map -b /var/abs/local/kernel26/pkg -r 2.6.9-nitro3-ARCH; fi
    WARNING: /var/abs/local/kernel26/pkg/lib/modules/2.6.9-nitro3-ARCH/kernel/drivers/video/vesafb-tng.ko needs unknown symbol vesafb_setup
    ./PKGBUILD: line 133: cd: /var/abs/local/kernel26/pkg/lib/modules/2.6.9-nitro3: No such file or directory
    ==> ERROR: Build Failed. Aborting...
    which I am stoked as what it means.
    I am also having problem with switching to console mode after I have started X, like startx or startxfce4.  It seems that after it's started I can't switch back to console thru ctrl+alt+f3.
    thanks
    dammit

    Peasantoid wrote:
    You sure it's on tty7?
    If so, try `chvt 7`.
    Also: you don't need to apologize for your English.
    'chvt 7' likes Ctrl+Alt+F7, it draws a black full screen (but I can switch to tty1 again by Ctrl+Alt+F1) Also when I logout from xfce, xdm doesn't "appear" -  a black full screen
    Thank you anyway. Other suggestion ?

  • Deployment problem on Oracle AS10.1.2

    Hello,
    I have a problem with an application which can be deployed on Oracle application server 10.1.2 running on Windows 2003 corectly, but durring the deployment on Linux (RedHat AS 3.0 Update 6), same application server version, it generates an error:
    The system is out of resources.
    Consult the following stack trace for details.
    java.lang.OutOfMemoryError: Java heap space
    This is happening durring the ejb compliation/loading stage of the deployment.
    Does anybody had this kind of problem? Do you know a solution to it.
    Thank you,
    Flavius

    I have the similar problem. when i use "Remote DCM" to establish oracle9i AS connection, it gives me the error:
    C:\DevSuiteHome\jdk\jre\bin\javaw.exe -Djava.protocol.handler.pkgs=HTTPClient -jar C:\DevSuiteHome\jdev\lib\oc4j_remote_deploy.jar http://192.168.2.166:1810/Oc4jDcmServletAPI/ ias_admin **** listApplications /opt/oraAS
    Initializing log
    Servlet interface for OC4J DCM commands
    Command timeout defined at 600 seconds
    Executing DCM command...
    Executing command listApplications /opt/oraAS UNDEFINED UNDEFINED UNDEFINED
    Command = LISTAPPLICATIONS
    Opening connection to Oc4jDcmServlet
    Setting userName to ias_admin
    Sending command to DCM servlet
    HTTP response code = 200, HTTP response msg = OK
    Command was successfully sent to Oc4jDcmServlet
    Receiving session id from servlet to check command status
    Session id = 7f00000171257cfda7294764ab49decb2611e0d3268
    Please, wait for command to finish...
    Checking command status...
    Setting userName to ias_admin
    Setting Cookie to JSESSIONID=7f00000171257cfda7294764ab49decb2611e0d3268
    Checking command status
    HTTP response code = 200, HTTP response msg = OK
    Command has finished
    Receiving command exit value
    Receiving command output
    **** No output was received from command
    Closing connection to Oc4jDcmServlet
    #### DCM command did not complete successfully (-2)
    #### Invalid Oracle Home directory

  • Java package Access Problem

    Hi
    i created 2 packages with different name
    1st package
    package user.book;
    public class bookStore
         public String departmentCode = "";
         public String departmentName = "";
         public bookStore ()
              System.out.println("bookStore initialised");
    2nd package
    when i call first package here i got compliation error package user.bookSold not found. Can any one hep me about this topic.
    package user.bookSold;
    import package user.book.bookStore;
    import java.sql.*;
    import java.util.*;
    public class bookSold
         Connection con;
         PreparedStatement psStatement;
         Statement stmt = null;
         ResultSet rsSet;
         public String errmsg = "";
         public bookSold()
              System.out.println("bookSold initialised");
    Thanks in advance

    I really don't know why you would get a "package user.book.bookStore does not
    exist" error when you change the import to "import user.book.bookStore". After all
    the import statement refers to a class not a package...
    Is there some reason why you are using two packages? And why is the bookStore
    class being imported when it isn't used in the bookSold class?
    Perhaps you could simplify your code - remove stuff which is simply doing nothing
    at the moment, and post a minimal example of the problem you are facing at the
    moment. Say what the files are called, what directories they are in, and what
    commands you are using to compile them (and from what directory you issue those
    commands). Copy, paste and post commands and error messages, as the exact
    wording often matters a great deal.

  • ATI Card Radeon 9600 Pro freeze problem

    I've got some problems with this drivers...
    My card is: ATI Card Radeon 9600 Pro
    Kernel: 2.6.15-ARCH
    Installation (or compliation) of this package goes very well
    My xorg.conf looks like
    Section "Module"
    Load "dbe" # Double buffer extension
    SubSection "extmod"
    Option "omit xfree86-dga" # don't initialise the DGA extension
    EndSubSection
    Load "type1"
    Load "freetype"
    Load "glx" # libglx.a
    Load "dri" # libdri.a
    EndSection
    Section "Device"
    Identifier "ATI Graphics Adapter"
    Driver "fglrx"
    # ### generic DRI settings ###
    # === disable PnP Monitor ===
    #Option "NoDDC"
    # === disable/enable XAA/DRI ===
    Option "no_accel" "no"
    Option "no_dri" "no"
    # === misc DRI settings ===
    Option "mtrr" "off" # disable DRI mtrr mapper, driver has its own code for mtrr
    # ### FireGL DDX driver module specific settings ###
    # === Screen Management ===
    Option "DesktopSetup" "(null)"
    Option "ScreenOverlap" "0"
    Option "GammaCorrectionI" "0x06419064"
    Option "GammaCorrectionII" "0x06419064"
    # === OpenGL specific profiles/settings ===
    Option "Capabilities" "0x00000000"
    Option "CapabilitiesEx" "0x00000000"
    # === Video Overlay for the Xv extension ===
    Option "VideoOverlay" "on"
    # === OpenGL Overlay ===
    # Note: When OpenGL Overlay is enabled, Video Overlay
    # will be disabled automatically
    Option "OpenGLOverlay" "off"
    # === Center Mode (Laptops only) ===
    Option "CenterMode" "off"
    # === Pseudo Color Visuals (8-bit visuals) ===
    Option "PseudoColorVisuals" "off"
    # === QBS Management ===
    Option "Stereo" "off"
    Option "StereoSyncEnable" "1"
    # === FSAA Management ===
    Option "FSAAEnable" "no"
    Option "FSAAScale" "1"
    Option "FSAADisableGamma" "no"
    Option "FSAACustomizeMSPos" "no"
    Option "FSAAMSPosX0" "0.000000"
    Option "FSAAMSPosY0" "0.000000"
    Option "FSAAMSPosX1" "0.000000"
    Option "FSAAMSPosY1" "0.000000"
    Option "FSAAMSPosX2" "0.000000"
    Option "FSAAMSPosY2" "0.000000"
    Option "FSAAMSPosX3" "0.000000"
    Option "FSAAMSPosY3" "0.000000"
    Option "FSAAMSPosX4" "0.000000"
    Option "FSAAMSPosY4" "0.000000"
    Option "FSAAMSPosX5" "0.000000"
    Option "FSAAMSPosY5" "0.000000"
    # === Misc Options ===
    Option "AGPMode" "8"
    Option "UseFastTLS" "0"
    Option "BlockSignalsOnLock" "on"
    Option "UseInternalAGPGART" "no"
    Option "ForceGenericCPU" "no"
    BusID "PCI:1:0:0" # vendor=1002, device=4150
    Screen 0
    EndSection
    But here the horror begins... Any time I switch to virtual console (Alt+Ctrl+Fn), then goes back to X and try to move a window everything freeze except mouse. The only way out is hard reset. By the way, I've notcied that it happens when loading "dri" module. But without "dri" there is no direct rendering. Is there any way to have "dri" and non-freezeing X-server?

    Ive got nearly the same problem:
    Maybe its a bug in combination of the ATI drivers and the Kernel 2.6.15
    See following thread:
    http://bbs.archlinux.org/viewtopic.php?t=18456
    phxx

  • Compilation album problem at iOS 7!!!  [HELP]

    (Sorry for inappropriate English, i'm not Native Speaker.)
    So i used to edit some albums within various artists as compilation albums when i used iOS 6 numbering versions.
    It was all good, the albums was all sorted and i could find which artists are participated, if i press A artist, the Music App showed me A's several songs in
    compilation album A artist participated.
    after i used iOS 7, when i press A artist, the Music App does not show me only A's songs, but all of songs in compilation album A artist participated,
    It making me seriously annoying, because, after iOS 7, The Music App doesn't show me what artists has made the song in the pannel of what songs in some Compilation album.
    As you see, the image shows you guys Songs pannel though, when i see inside of some Compilation album, i
    can see what artists has made the songs But IT WAS iOS 6
    I couldn't find any fitting image so i captured my iPhone, anyway, as you see, the image shows you guys inside of some Compilation album,
    and none of those songs shows me what artists has made!! How Could i find it when i want to what artists has made what songs?
    The Problem is not just it, sometimes, no, often when i Press A artist who participated, the Music App shows me only A's song at Compliation album,
    and then i press the Compliation album, still only A's song remain, but all of other artist's songs are gone!! and these songs can be search -.-
    all those problems were not exist when i used iOS 6, after i use iOS 7, technically when i changed the phone to 5s from 4, all those Copilation album problems came up, I need some help desperately!
    (Sorry for inappropriate English agian.)

    Thanks for all your help ...
    The playlist option is viable, but it doesn't show up on the "browse section" and it wouldn't appear as an album ...
    And copying songs again to another location is simply wasting space.
    Is there any other way ?
    What about creating a symbolic link ? Would that help ?
    MBP, 20.GHz, 2GB RAM Mac OS X (10.4.8)

  • Problems with "Various Artists"

    Hi I have a 2 disc album that I want to list as "various artists" it's easy with first disc as there are 3 or 4 different artists on that CD that when "Compilation Album" is ticked come up as "VA" however the 2nd CD is all the same artist (Blank & Jones) so of course that will be filed under "B" I have selected all of CD 2 and ticked "part of a compilation" but this does not work, i could fudge it a bit by putting a space in one track but i'd rather not do that, so any help welcome I am using 10.6.2.35 within Win 7 U 64bit.
    All1

    Well i have been able to solve this and just thought i'd post back in case it helps someone else, as i say i have an album (Double CD) where the first CD is all "Blank & Jones" and the second CD is all "Blank & Jones" but 2 tracks, now marking both of them as part of a compliation did not solve my problem, you see i wanted them both to come up as Various Artists this would not work with CD 1 unless i changed the artiists name from "Blank & Jones" to "Various Artists" which of course is not right.
    However just playing around the other morning i highlighted whole of CD 1, right click/get info/ of course it showed Artist as being "Blank & Jones" but i put "Various Artists" into the Album Artist section (2nd one down) and applied and it worked, it turned that album into Various Artists in my line despite all the artist being B&J.
    I know i know it's old news to 99% of you but it was new to me so hope it will help others.
    All1

Maybe you are looking for

  • Scheduling a report in Portal

    I want to implement delivering reports (9i) through portal. One of the requirements is to have the user the ability to schedule the report to run at any given time. I heard that 9iAS portal has this ability. If somebody knows how to do it please resp

  • Get error message "this "**" file cannot be attached until the files already attached are finished uploading" even when attaching 1 file

    I attached multiples .pdf files to an email. Tried to attach the next file before the previous 1 finished attaching. Got error message "this "**" file cannot be attached until the files already attached are finished uploading". Was never able to atta

  • Connecting 5th gen. ipod to new LG stereo with USB port. Functionality?

    Hi, I recently got a new LG "micro hi-fi system" (model LFU850) with a USB port for MP3 players. The problem is when I connect the ipod via USB, I lose all the functionality of the ipod database. In other words, the stereo numerically lists about hal

  • Q10 bluetooth ability

    I just upgraded from a Blackberry Bold to the Q10. The keyboard is essential for any smartphone. I download podcast's every day and listen in car on my commute. With the BB Bold I plugged in with the audio cable and listened. When a call came in, the

  • Problem with creating blocks

    Hi,I place in an outline a simple formula: a = 100 and calculate database, Essbase doesn't create new blocks. The member 'a' is in the sparse dimension. I've marked "Create Blocks on Equations" option of course. The same problem I had on the other ma