JDBC NullPointerException - help, I'm stuck!

import java.sql.*;
import java.io.*;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import java.util.*;
public class capito extends JFrame implements ItemListener{
          public Vector comb(String tab) throws SQLException, IOException, NullPointerException{
              try
                  { Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");  }
             catch (ClassNotFoundException e)
                    System.out.println ("Could not load the driver.");
          String url = "jdbc:odbc:dizionarioJDBC";
              Connection conn = DriverManager.getConnection(url,"", "");
          Vector vettoreLemmi = new Vector();
              Statement stmt = conn.createStatement();
              ResultSet rset = stmt.executeQuery ("select * from "+tab);
          int me;
          //this.addItem("seleziona il lemma");
          while(rset.next()){
            String ueo = rset.getString("lemma");
            if (ueo!=null){
            if (ueo.length()<20) {
                 me = ueo.length()-1;
            } else {
                   me = 20;
            vettoreLemmi.add(ueo.substring(0,me));
          return vettoreLemmi;
     Font carattere = new Font("Verdana", Font.BOLD, 10);
     JTextField oeo = new JTextField(20);
     String tab = "A";
     Vector vs = comb(tab);
     String[] tabelle ={"A","BaBe","C","D","E","F","G","H","IeJ","K","L","M","N","O","P","Q","R","S","T","U","V","X","Y","Z"};
     JComboBox lettere = new JComboBox(tabelle);
     JComboBox lemmi = new JComboBox(vs);
     public void itemStateChanged(ItemEvent evt){
          Object src = evt.getItem();
          String h = src.toString();
          this.tab = h;
          oeo.setText(h);
          try{
               Vector vetto = comb(this.tab);
               lemmi.removeAllItems();
               for(int k=0;k<vetto.size();k++){
               lemmi.addItem(vetto.elementAt(k).toString());
          } catch (SQLException e){} catch(IOException g){}catch(NullPointerException u){}
     capito(String title,int w,int h) throws SQLException, IOException{
          super(title);
          Toolkit kit = Toolkit.getDefaultToolkit();
          Dimension scrw = kit.getScreenSize();
          setSize(scrw.width,scrw.height);
          setResizable(false);
          setUndecorated( true );
          oeo.setFont(carattere);
          cornice pannello = new cornice();
          //JPanel pannello = new JPanel();
          setContentPane(pannello);
          pannello.setLayout(new FlowLayout());
          this.lettere.setFont(carattere);
          pannello.add(this.lettere);
          lettere.addItemListener(this);
          pannello.add(lemmi);
          oeo.setEditable(false);
          pannello.add(oeo);
          setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
          setVisible(true);
     public class cornice extends JPanel{
          Toolkit kit = Toolkit.getDefaultToolkit();
          Dimension scrw = kit.getScreenSize();
          public void paintComponent(Graphics comp){
          Color culo = new Color(88,131,180);
          Graphics2D gra = (Graphics2D)comp;
          gra.setColor(culo);
          //gra.drawRoundRect(5,5,530,360,10,10);
          gra.fillRoundRect(5,5,(scrw.width-15),(scrw.height-15),10,10);
public static void main(String[] args) throws SQLException, IOException{
capito fede = new capito("ricerca",550,400);
}above is the code..
I'm a real newB and it'll probably look like a sloppy, buggy code, but still:
On some of the tables in my DB (tables BaBe,C,O,M,R) i keep gettin a NullPointerException. Other tables work fine.
I read about this kind of exception but I can't figure out where the problem is! the tables r all filled with data, so the String field "lemma" ain't null..
Any clue?

btw I'm learning Java with this book and most of the
examples extend swing classes, so I thought it was
ok..
I started coding 4 days ago and your advice is really
useful at this point.
I'll try and use swing classes as they are unless I
really mean to add functionalities.
The matter is that I really HAVE to find a way of
queryin a huge database (this ain't a school project)
in few seconds and I wanted to check Java speed on
doin it.
Plus I WANNA LEARN! :-)You don't have to be perfect right away, but think about what I said and try to figure out why it's beneficial as you learn. At first it porbably won't make sense but then one day it will click.
For now, pull out the capito method and create a new class. What you will be doing is creating a DAO (dabase access object) that you will use from other parts of the code. This means that if next week, you need to make a web version of this program, you won't need to rewrite that part of the code.
public class YourClassNameHere
   public Vector comb(String tab) throws SQLException, IOException, NullPointerException
      try {
         Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
      } catch (ClassNotFoundException e) {
         System.out.println ("Could not load the driver.");
      String url = "jdbc:odbc:dizionarioJDBC";
      Connection conn = DriverManager.getConnection(url,"", "");
      List vettoreLemmi = new ArrayList();
      Statement stmt = conn.createStatement();
      ResultSet rset = stmt.executeQuery ("select * from "+tab);
      int me;
      while(rset.next()){
         String ueo = rset.getString("lemma");
         if (ueo!=null){
            if (ueo.length()<20) {
               me = ueo.length()-1;
            } else {
               me = 20;
            vettoreLemmi.add(ueo.substring(0,me));
      return vettoreLemmi;          
}

Similar Messages

  • My iphone 4s wont turn on with out being pluged in and when i unplug it it dies instantly i pluged it in put it in dfu mode and tried to restore it hoping it might help but its stuck in dfu and has restore error 21 help!!!

    my iphone 4s wont turn on with out being pluged in and when i unplug it it dies instantly i pluged it in put it in dfu mode and tried to restore it hoping it might help but its stuck in dfu and has restore error 21 help!!!

    Hey jestinsinclairr,
    Thanks for using Apple Support Communities.
    After reviewing your post, it sounds like you had one issue and then got a second trying to resolve the first. A frustrating situation for sure. The first article linked has what to do if it is not powering on unless plugged in. The second article addresses the error you are receiving when trying to restore.
    iPhone: Hardware troubleshooting
    http://support.apple.com/kb/TS2802
    Will not turn on, will not turn on unless connected to power, or unexpected power off
    Resolve iOS update and restore errors
    http://support.apple.com/kb/TS3694#10
    Check for hardware issues
    Related errors: 1, 3, 10, 11, 12, 13, 14, 16, 20, 21, 23, 26, 27, 28, 29, 34, 35, 36, 37, 40, 1000, 1002, 1004, 1011, 1012, 1014, 1667, or 1669.
    Have a nice day,
    Mario

  • Pls.help my iphone stuck in recovery mode and itunes wont recognize it..i tried the other options that posted here,,,pls tell me what to do..

    pls. help my iPhone stuck in recovery mode and iTunes wont recognize it..i tried the other options that posted here,,,pls tell me what to do..before it was just stuck in an apple logo but when i tried recovery mode to itunes then it stuck..

    Hi awison,
    If your iPhone is not recognized by iTunes on your Windows computer you may want to use the steps in this article to troubleshoot -
    iOS: Device not recognized in iTunes for Windows
    http://support.apple.com/kb/TS1538
    This may also resolve your recovery mode issue. If it does not, use the steps in this article to resolve it -
    Use iTunes to restore your iOS device to factory settings
    http://support.apple.com/kb/HT1414
    Thanks for using Apple Support Communities.
    Best,
    Brett L

  • I have an ipod 2g , The keyboard won't work! Or at least some of it's letters and numbers won't. please help i'm stuck with emojis

    i have an ippd touch 2g , a part of my keyboard won't work , i can type letters but i can't type numbers . please help i'm stuck with emojis keyboard

    Try restarting the iPod by holding down the lock and home button together and then slide the power button to turn it off and then wait 10 seconds and start it up again. If it is not a reset issue then it may be a hardware issue. Is your iPod damaged or have you dropped it recently? If it is a hardware problem then you may not be able to fix it. If your iPod has multitasking options like the new iOS devices, close out the app and then try again, it should reset your device to letters instead of emojis.

  • JDBC URL helper class

    Hi,
    Was trying use third party(Caucho) jdbc type 4 driver for MySQL. I updated the
    jdbcdrivers.xml to include the details for the new driver. However, when using
    Config wizard, how (or where) do i provide a JDBC url helper class, so that the
    config wizard can connect the database using the jdbc url?
    Amit.

    Amit wrote:
    Joe Weinstein <[email protected]> wrote:
    Actually, all you need to do is get the driver you want into the weblogic
    classpath, and then tell the pool the class name you want for the driver,
    and give it the URL and properties it needs.
    Joe
    Hi. In order to implement a custom default, you would need to have
    a URLHelper class, as the other entries refer. I don't know that we
    offer a way to create Defaults, but you should be able to create a pool
    from the console by specifically typing in the class name and the URL.
    Is that not true?
    Joe
    >
    >
    Thanks Joe,
    But i wanted to see the jdbc url changed in the config wizard screen (as pointed
    in the pic). Caucho jdbc driver has url like "jdbc:mysql-caucho://hostname:port/database".
    Others mysql drivers have url like "jdbc:mysql://hostname:port/database. So where
    exactly could i tweek that property, since all that is editable is hostname, port,
    and database?

  • I deleted my keynote and downloaded it again but the installer says: You already have an eligible Keynote in the folder: /Applications/iwork 09, I didn't find any keynote. Please someone help me Im stuck in this mess.

    I deleted my keynote and downloaded it again but the installer says: You already have an eligible Keynote in the folder: /Applications/iwork 09, I didn't find any keynote. Please someone help me Im stuck in this mess.

    SkyDaughter29 wrote:
    My current situation: I have soooo many texts on my iphone and I haven't deleted many because I need the information contained in them for future reference and for legal purposes.  I would really like to find a means and way to save them other than on the phone itself. I've done searches for various apps yet I'm not finding what I think I would need.  It appears Apple does not sync the texts between the iphone and my MacBook Pro.
    Try the computer apps PhoneView (Mac) or TouchCopy (Mac & PC):
    http://www.ecamm.com/mac/phoneview/
    http://www.wideanglesoftware.com/touchcopy/index.php
    Best of luck.

  • Setting jdbc classpath in xp, completely stuck

    I must be going crazy cause i could swear i posted my msg but it never showed up later on, on the forum so here i go again
    Plateform: XP
    java file: ConTest.java
    I am trying to add a classpath to a jdbc drvier (lets calls it jdbcdriver.jar in d:\temp). I set it in environment variable. I create a classpath variable and set the value to d:\temp\jdbcdriver.jar
    java is already set in Path, so that part work. Now when i go to run my code, i get an error Exception in thread "main" java.lang.NoClassDefFoundError: ConTest
    now if i remove the classpath, i offcourse get "no suitable driver found" exception
    I've tested and made sure that my code works. It works fine and gets a db connection when i run in eclipse, since you can tell eclipse where the jdbc driver and eclipse creates its own classpath and stuff. so the code is fine, just a problem with setting the path
    I am completely stuck on this and i've spent past 3-4 hours on just trying to fix this stupid problem rather then working on my project.
    I'll really really appreciate if any of you kind :) people can help me on this. I am totally stuck on this and can't move on until i get this working
    thank you very much

    When you set your classpath you need to set ALL the classpath including in your case your working directory where your program is. You include the directory you launch your progam from with a .
    so something like...
    java -cp .;d:\temp\jdbcdriver ConTestshould work for you...
    Hope that helps you out.
    Yonge and Eglinton

  • Jdbc-servlet help!!!!!!!!

    excuse my english.
    hey folks, i got this problem:
    i`m trying to do a simple servlet that`s throw a html with a result, but i always got this error:
    java.lang.NullPointerException
    at ConsultaServlet.doPost(ConsultaServlet.java:45)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    THIS IS THE CODE I HAVE:
    import java.io.*;
    import java.sql.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class HolaServlet extends HttpServlet {
    private Connection con;
    private PrintWriter out;
    private Statement stmt;
    public void init(ServletConfig conf)
    throws ServletException {
    super.init(conf);
    try{
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    con =DriverManager.getConnection("jdbc:odbc:MS Access Database");
    }catch(Exception e) {
    System.err.println(e);
    public void service(HttpServletRequest req,
    HttpServletResponse res)
    throws ServletException, IOException {
    res.setContentType("text/html");
    try {   
    out = res.getWriter();
    out.println("<html>");
    out.println("<head>");
    out.println("<title> Sample JDBC Servlet Demo" +
    "</title>");
    out.println("</head>");
    out.println("<body>");
    stmt = con.createStatement();
    ResultSet rs = stmt.executeQuery("select * from empleados");
    out.println("<UL>");
    while(rs.next()) {
    out.println("<LI>" + rs.getString("nombre"));
    out.println("</UL>");
    rs.close();
    stmt.close();
    } catch(SQLException e) {
    out.println("An SQL Exception was thrown.");
    } catch(IOException e) {
    System.err.println("An IOException was thrown.");
    out.println("</body>");
    out.println("</html>");
    out.close();
    public void destroy(){
    try{
    con.close();
    }catch(SQLException e) {
    Can someone tell me what i`m doing wrong.
    THANK.

    Hi,
    I have intalled the Javawebserver2.0
    Its been installed on C:\javawebserver2.0.
    After this I have set the autoexec.bat path as
    PATH C:\WINDOWS;C:\WINDOWS\COMMAND;C:\ORAWIN95\bin;c:\Oracle\Ora81\bin;"C:\ProgramFiles\Oracle\jre\1.1.7\bin";c:\j2sdk1.4.2_04\bin;c:\JavaWebServer2.0\bin;c:\Jsdk2.0\bin
    rem - By Windows 98 Network for Netware Upgrade - c:\windows\odihlp.exe
    set classpath=.;c:\j2dsk1.4.2_04\jre\lib;c:\j2dsdk1.4.2_04\lib;c:\j2sdk1.4.2_04\bin;c:\JavaWebServer2.0\lib;c:\Jsdk2.0\lib
    rem -;c:\jsdk2.1\src ;c:\jsdk2.1\lib;c:\Jsdk2.0\src
    After doing this I wrote my first servlet program in the servlets directory of javawebserver2.0 saved and when I went to compile its not compiling throwing an error showing that it is unable to locate all the servlet packages. So in I thought might be there are 2 things one is either I have not imported javax.servlet.* and javax.servlet.httpServlet.* package, but I had included it, the next thing was to check the autoexec.bat path. I included in that javawebserver2.0 path. Now first I am not able to compile the servlet program. Can you help me with it.
    I had downloaded jsdk2 from net and have given its path also in the autoexec but nothing is happening. I am using the following package to write and develop Java programs "j2sdk1.4.2_04". Can you explain to where I am going wrong. Please its a bit urgent.
    Following is the program:
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.io.*;
    public class helloWorld extends HttpServlet
    public void doGet(HttpServletRequest req, HttpServletResponse res) throws IOException, ServletException
    res.setContentType("text/html");
    PrintWriter out=res.getWriter();
    out.println("<html>");
    out.println("<head><Title>Hello World</title></head>");
    out.println("<body><big>Hello World</big>");
    out.println("</body>");
    out.println("</html>");
    Help!!!!!!!!

  • Help =( Mac got stuck on gray screen

    Hi
    Update went ok a couple of days ago.
    Tonight it suddently got "stuck" and after rebooting it, it is now stuck on a gray screen.
    Impossible to reboot from the installation disk or from my Lacie disk or from the HD.
    When attempting to reboot from the Leopard installation disk, I then get a message telling me that the Mac needs to be restarted, but when I restart, I get stuck again on the gray screen with the Apple logo in the middle.
    I am at a loss as to what to do.
    Help, please!!! I am now on a friend's computer to access help. So a quick response from someone would be fantastic.
    Anyone?

    update on current situation:
    i took my macbook to be repaired first thing this morning.
    it is apparently a small part that is damaged and therefore preventing the macbook to reboot.
    hence why the hardware test indicated that it found no problems and that when attempting to reboot from a disk or a drive, it finds them, but cannot reboot from either.
    the part should be here tomorrow afternoon and i should get my macbook back either tomorrow or thursday.
    apparently, it is nothing serious and no loss of data should occurr.
    but they will only know this for sure once the part has been replaced and they can actually reboot it. they say this is not linked with the leopard update.
    just sheer bad luck from a defective part.

  • HELP! CD stuck in drive. Try to restart brings up blue loading screen. Can't get the disc out and we've tried everything!

    Imac Intel totally stuck with this CD in the drive,
    Seriously. Every forum tells us to restart - but we can't because SOMEHOW this burned music CD (that we've had forever) has caused it to freeze on a never-ending blue loading screen.
    Help please. Nothing's working. Only every now and then will the drive make some sounds to eject and then fails.
    What has happened??

    Greetings Ruth,
    It sounds like the disk has become stuck in the drive and when it attempts to eject it becomes stuck on the inside of the drive housing or the optical drive itself has failed in some fashion.
    Follow all the steps under "The drive doesn't eject discs or discs eject slowly".
    If the steps don't help then follow the last step which is to take the system in for service / evaluation.
    Best of luck to you.

  • Jdbc NullPointerException calling pl/sql procedure from java

    Hi.
    Getting the following exception calling a plsql procedure from jdbc.
    - Jdbc version is 10.2.0.2, but it also happens running several other variants, including 10.1.0.5.0.
    - Application is running in Weblogic 8.1.3 (8.1 SP 3).
    The procedure call itself has 2 in/out parameters which are tables (actually just 1 dimensional arrays), which I'm suspecting has something to do with the problem. I can successfully call this procedure using a plsql developer tool with the same bind parameters.
    Any ideas?
    Exception encountered while executing PL/SQL procedure MVT_Web_Inquiry.ShowInquiry:
    java.lang.NullPointerException at oracle.jdbc.driver.T4CTTIiov.processRXD([Loracle.jdbc.driver.Accessor;I[B[C[SILoracle.jdbc.driver.DBConversion;[B[B[[Ljava.io.InputStream;[[[B[[Loracle.jdbc.oracore.OracleTypeADT;Loracle.jdbc.driver.OracleStatement;[B[C[S)[Loracle.jdbc.driver.Accessor;(T4CTTIiov.java:139)
    at oracle.jdbc.driver.T4C8Oall.receive()V(T4C8Oall.java:521)
    at oracle.jdbc.driver.T4CCallableStatement.doOall8(ZZZZ)V(T4CCallableStatement.java:215)
    at oracle.jdbc.driver.T4CCallableStatement.executeForRows(Z)V(T4CCallableStatement.java:1119)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout()V(OracleStatement.java:1278)
    at oracle.jdbc.driver.OraclePreparedStatement.executeInternal()I(OraclePreparedStatement.java:3446)
    at oracle.jdbc.driver.OraclePreparedStatement.execute()Z(OraclePreparedStatement.java:3552)
    at oracle.jdbc.driver.OracleCallableStatement.execute()Z(OracleCallableStatement.java:5261)
    at weblogic.jdbc.wrapper.PreparedStatement.execute()Z(PreparedStatement.java:70)
    at
    [snip]

    OK... I figured it out.
    Apparently, this error happens when you forget to register the output part of an in/out parameter. I would have hoped for better error messaging, but oh well.
    -ed-

  • HELP! Mail stuck in the queue.

    Hey All,
    We just noticed that none of us here recieved any mail today and that all of our messages incoming/outgoing have been stuck in the queue all day.
    We seem to be able to view old messages with our mail clients as well as any folders. But any new messages that we send or recieve just go to the server and sit there.
    It's quite puzzeling because we haven't changed anything on it, the server has just been quietly humming along for a while now.
    However, this seems to have started happening after we restarted the box this morning because a web app we were building on it ended up in an infinite loop.
    I tried re-starting the box, restarting the mail service, resending the queue and nothing, messages hit the queue and fail to be delivered to mailboxes.
    Looking at my logs I saw this:
    Nov 9 16:56:28 resserver imap[4733]: DBERROR: critical database situation
    Nov 9 17:00:07 resserver imap[4833]: DBERROR: critical database situation
    Nov 9 17:15:56 resserver reconstruct[5700]: DBERROR: critical database situation
    Nov 9 17:16:02 resserver reconstruct[5726]: DBERROR: critical database situation
    In the queue some messages say this at the end:
    host 127.0.0.1[127.0.0.1] said: 421 4.3.2 Service shutting down, closing channel (in reply to end of DATA command
    Looking in my resources and in other places on the forums I've tried the following so far in hopes to narrow down and fix the problem:
    - rebuilt with mailbfr (as per petrobytes suggestion with someone else)
    - turned on and off content filtering
    - confirmed that the machine has the same IP
    - confirmed that it resolves forward and backward to it's hostname/IP
    I can post any conf files you need, I'm desperate to get this fixed! Any help or insight anyone could provide would be well appreciated!
    eMac, iBook, iMac, xServe, PowerBook   Mac OS X (10.4.3)  

    I'm noticing some interesting stuff happening in the logs can someone make sense of this?
    solutionim.com /usr/bin/amavisd[7872]: (07872-01) Requesting process rundown after fatal error
    Nov 9 18:47:15 resserver.resolutionim.com /usr/bin/amavisd[7872]: (07872-01) SMTP shutdown: Error writing a SMTP response to the socket: Bad file descriptor at (eval 36) line 760.\n
    Nov 9 18:47:15 resserver.resolutionim.com /usr/bin/amavisd[7873]: (07873-01) TROUBLE in check_mail: mime_decode-1 FAILED: parsing file(1) results - missing last 2 results at (eval 41) line 150.
    Nov 9 18:47:15 resserver.resolutionim.com /usr/bin/amavisd[7873]: (07873-01) PRESERVING EVIDENCE in /var/amavis/amavis-20061109T184715-07873
    Nov 9 18:47:15 resserver.resolutionim.com /usr/bin/amavisd[7873]: (07873-01) TIMING [total 350 ms] - SMTP EHLO: 23 (7%), SMTP pre-MAIL: 2 (1%), mkdir tempdir: 1 (0%), create email.txt: 2 (0%), SMTP pre-DATA-flush: 9 (3%), SMTP DATA: 9 (3%), body_hash: 3 (1%), mkdir parts: 3 (1%), mime_decode: 72 (21%), rundown: 226 (65%)
    Nov 9 18:47:15 resserver.resolutionim.com /usr/bin/amavisd[7873]: (07873-01) TROUBLE in process_request: Error writing a SMTP response to the socket: Broken pipe at (eval 36) line 760, <GEN4> line 568.
    Nov 9 18:47:15 resserver.resolutionim.com /usr/bin/amavisd[7873]: (07873-01) Requesting process rundown after fatal error
    Nov 9 18:47:15 resserver.resolutionim.com /usr/bin/amavisd[7873]: (07873-01) SMTP shutdown: Error writing a SMTP response to the socket: Bad file descriptor at (eval 36) line 760.\n
    Nov 9 18:47:15 resserver.resolutionim.com /usr/bin/amavisd[7876]: (07876-01) ESMTP::10024 /var/amavis/amavis-20061109T184715-07876: <[email protected]> -> <[email protected]> Received: SIZE=50687 from resolutionim.com ([127.0.0.1]) by localhost (resserver.resolutionim.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 07876-01 for <[email protected]>; Thu, 9 Nov 2006 18:47:15 -0500 (EST)
    Nov 9 18:47:15 resserver.resolutionim.com /usr/bin/amavisd[7876]: (07876-01) Checking: [216.46.146.115] <[email protected]> -> <[email protected]>
    Nov 9 18:47:15 resserver.resolutionim.com /usr/bin/amavisd[7876]: (07876-01) p004 1 Content-Type: multipart/mixed
    Nov 9 18:47:15 resserver.resolutionim.com /usr/bin/amavisd[7876]: (07876-01) p005 1/1 Content-Type: multipart/alternative
    Nov 9 18:47:15 resserver.resolutionim.com /usr/bin/amavisd[7876]: (07876-01) p001 1/1/1 Content-Type: text/plain, size: 259 B, name:
    Nov 9 18:47:15 resserver.resolutionim.com /usr/bin/amavisd[7876]: (07876-01) p002 1/1/2 Content-Type: text/html, size: 2227 B, name:
    Nov 9 18:47:15 resserver.resolutionim.com /usr/bin/amavisd[7876]: (07876-01) p003 1/2 Content-Type: application/vnd.ms-excel, size: 33280 B, name: Emploment Application.xls
    Nov 9 18:47:15 resserver.resolutionim.com /usr/bin/amavisd[7879]: (07876-01) run_command: child process [7879]: Can't close main::stdin: Bad file descriptor at /usr/bin/amavisd line 1589.\n
    Nov 9 18:47:15 resserver.resolutionim.com /usr/bin/amavisd[7879]: (07876-01) SMTP shutdown: tempdir is being removed: /var/amavis/amavis-20061109T184715-07876
    Nov 9 18:47:15 resserver.resolutionim.com /usr/bin/amavisd[7876]: (07876-01) TROUBLE in check_mail: mime_decode-1 FAILED: parsing file(1) results - missing last 3 results at (eval 41) line 150.
    Nov 9 18:47:15 resserver.resolutionim.com /usr/bin/amavisd[7876]: (07876-01) PRESERVING EVIDENCE in /var/amavis/amavis-20061109T184715-07876
    Nov 9 18:47:16 resserver.resolutionim.com /usr/bin/amavisd[7876]: (07876-01) TIMING [total 366 ms] - SMTP EHLO: 24 (7%), SMTP pre-MAIL: 3 (1%), mkdir tempdir: 2 (0%), create email.txt: 2 (1%), SMTP pre-DATA-flush: 25 (7%), SMTP DATA: 31 (8%), body_hash: 3 (1%), mkdir parts: 3 (1%), mime_decode: 95 (26%), rundown: 178 (49%)
    Nov 9 18:47:16 resserver.resolutionim.com /usr/bin/amavisd[7876]: (07876-01) TROUBLE in process_request: Error writing a SMTP response to the socket: Broken pipe at (eval 36) line 760, <GEN4> line 771.
    Nov 9 18:47:16 resserver.resolutionim.com /usr/bin/amavisd[7876]: (07876-01) Requesting process rundown after fatal error
    Nov 9 18:47:16 resserver.resolutionim.com /usr/bin/amavisd[7876]: (07876-01) SMTP shutdown: Error writing a SMTP response to the socket: Bad file descriptor at (eval 36) line 760.\n
    Nov 9 18:48:33 resserver.resolutionim.com /usr/bin/amavisd[7759]: Net::Server: 2006/11/09-18:48:33 Server closing!
    Nov 9 18:48:36 resserver.resolutionim.com /usr/bin/amavisd[7927]: starting. /usr/bin/amavisd at resserver.resolutionim.com amavisd-new-2.2.0 (20041102), Unicode aware
    Nov 9 18:48:36 resserver.resolutionim.com /usr/bin/amavisd[7927]: user=, EUID: 0 (0); group=, EGID: 0 0 (0 0)
    Nov 9 18:48:36 resserver.resolutionim.com /usr/bin/amavisd[7927]: Perl version 5.008006
    Nov 9 18:48:36 resserver.resolutionim.com /usr/bin/amavisd[7927]: Net::Server: 2006/11/09-18:48:36 Amavis (type Net::Server::PreForkSimple) starting! pid(7927)
    Nov 9 18:48:36 resserver.resolutionim.com /usr/bin/amavisd[7927]: Net::Server: Binding to UNIX socket file /var/amavis/amavisd.sock using SOCK_STREAM
    Nov 9 18:48:36 resserver.resolutionim.com /usr/bin/amavisd[7927]: Net::Server: Binding to TCP port 10024 on host 127.0.0.1
    Nov 9 18:48:36 resserver.resolutionim.com /usr/bin/amavisd[7927]: Net::Server: Setting gid to "82 82"
    Nov 9 18:48:36 resserver.resolutionim.com /usr/bin/amavisd[7927]: Net::Server: Setting uid to "82"
    Nov 9 18:48:36 resserver.resolutionim.com /usr/bin/amavisd[7927]: Module Amavis::Conf 2.033
    Nov 9 18:48:36 resserver.resolutionim.com /usr/bin/amavisd[7927]: Module Archive::Tar 1.22
    Nov 9 18:48:36 resserver.resolutionim.com /usr/bin/amavisd[7927]: Module Archive::Zip 1.14
    Nov 9 18:48:36 resserver.resolutionim.com /usr/bin/amavisd[7927]: Module Compress::Zlib 1.33
    Nov 9 18:48:36 resserver.resolutionim.com /usr/bin/amavisd[7927]: Module Convert::TNEF 0.17
    Nov 9 18:48:36 resserver.resolutionim.com /usr/bin/amavisd[7927]: Module Convert::UUlib 1.03
    Nov 9 18:48:36 resserver.resolutionim.com /usr/bin/amavisd[7927]: Module DB_File 1.810
    Nov 9 18:48:36 resserver.resolutionim.com /usr/bin/amavisd[7927]: Module MIME::Entity 5.416
    Nov 9 18:48:36 resserver.resolutionim.com /usr/bin/amavisd[7927]: Module MIME::Parser 5.416
    Nov 9 18:48:36 resserver.resolutionim.com /usr/bin/amavisd[7927]: Module MIME::Tools 5.416
    Nov 9 18:48:36 resserver.resolutionim.com /usr/bin/amavisd[7927]: Module Mail::Header 1.65
    Nov 9 18:48:36 resserver.resolutionim.com /usr/bin/amavisd[7927]: Module Mail::Internet 1.65
    Nov 9 18:48:36 resserver.resolutionim.com /usr/bin/amavisd[7927]: Module Mail::SpamAssassin 3.001005
    Nov 9 18:48:36 resserver.resolutionim.com /usr/bin/amavisd[7927]: Module Net::Cmd 2.26
    Nov 9 18:48:36 resserver.resolutionim.com /usr/bin/amavisd[7927]: Module Net::DNS 0.58
    Nov 9 18:48:36 resserver.resolutionim.com /usr/bin/amavisd[7927]: Module Net::SMTP 2.29
    Nov 9 18:48:36 resserver.resolutionim.com /usr/bin/amavisd[7927]: Module Net::Server 0.94
    Nov 9 18:48:36 resserver.resolutionim.com /usr/bin/amavisd[7927]: Module Time::HiRes 1.65
    Nov 9 18:48:36 resserver.resolutionim.com /usr/bin/amavisd[7927]: Module Unix::Syslog 0.99
    Nov 9 18:48:36 resserver.resolutionim.com /usr/bin/amavisd[7927]: Amavis::DB code NOT loaded
    Nov 9 18:48:36 resserver.resolutionim.com /usr/bin/amavisd[7927]: Amavis::Cache code NOT loaded
    Nov 9 18:48:36 resserver.resolutionim.com /usr/bin/amavisd[7927]: Lookup::SQL code NOT loaded
    Nov 9 18:48:36 resserver.resolutionim.com /usr/bin/amavisd[7927]: Lookup::LDAP code NOT loaded
    Nov 9 18:48:36 resserver.resolutionim.com /usr/bin/amavisd[7927]: AMCL-in protocol code loaded
    Nov 9 18:48:36 resserver.resolutionim.com /usr/bin/amavisd[7927]: SMTP-in protocol code loaded
    Nov 9 18:48:36 resserver.resolutionim.com /usr/bin/amavisd[7927]: ANTI-VIRUS code loaded
    Nov 9 18:48:36 resserver.resolutionim.com /usr/bin/amavisd[7927]: ANTI-SPAM code loaded
    Nov 9 18:48:36 resserver.resolutionim.com /usr/bin/amavisd[7927]: Unpackers code loaded
    Nov 9 18:48:36 resserver.resolutionim.com /usr/bin/amavisd[7927]: Found $file at /usr/bin/file
    Nov 9 18:48:36 resserver.resolutionim.com /usr/bin/amavisd[7927]: No $arc, not using it
    Nov 9 18:48:36 resserver.resolutionim.com /usr/bin/amavisd[7927]: Found $gzip at /usr/bin/gzip
    Nov 9 18:48:36 resserver.resolutionim.com /usr/bin/amavisd[7927]: Found $bzip2 at /usr/bin/bzip2
    Nov 9 18:48:36 resserver.resolutionim.com /usr/bin/amavisd[7927]: No $lzop, not using it
    Nov 9 18:48:36 resserver.resolutionim.com /usr/bin/amavisd[7927]: No $lha, not using it
    Nov 9 18:48:36 resserver.resolutionim.com /usr/bin/amavisd[7927]: No $unarj, not using it
    Nov 9 18:48:36 resserver.resolutionim.com /usr/bin/amavisd[7927]: Found $uncompress at /usr/bin/uncompress
    Nov 9 18:48:36 resserver.resolutionim.com /usr/bin/amavisd[7927]: No $unfreeze, not using it
    Nov 9 18:48:36 resserver.resolutionim.com /usr/bin/amavisd[7927]: No $unrar, not using it
    Nov 9 18:48:36 resserver.resolutionim.com /usr/bin/amavisd[7927]: No $zoo, not using it
    Nov 9 18:48:36 resserver.resolutionim.com /usr/bin/amavisd[7927]: Found $cpio at /usr/bin/cpio
    Nov 9 18:48:36 resserver.resolutionim.com /usr/bin/amavisd[7927]: No $ar, not using it
    Nov 9 18:48:36 resserver.resolutionim.com /usr/bin/amavisd[7927]: No $rpm2cpio, not using it
    Nov 9 18:48:36 resserver.resolutionim.com /usr/bin/amavisd[7927]: No $cabextract, not using it
    Nov 9 18:48:36 resserver.resolutionim.com /usr/bin/amavisd[7927]: No $dspam, not using it
    Nov 9 18:48:36 resserver.resolutionim.com /usr/bin/amavisd[7927]: Found secondary av scanner Clam Antivirus - clamscan at /usr/bin/clamscan
    Nov 9 18:48:36 resserver.resolutionim.com /usr/bin/amavisd[7927]: SpamControl: initializing Mail::SpamAssassin
    Nov 9 18:48:44 resserver.resolutionim.com /usr/bin/amavisd[7927]: SpamControl: done
    SMTP response to the socket: Broken pipe at (eval 36) line 760, <GEN4> line 350.
    Nov 9 19:41:44 resserver.resolutionim.com /usr/bin/amavisd[9584]: (09584-01) Requesting process rundown after fatal error
    Nov 9 19:41:44 resserver.resolutionim.com /usr/bin/amavisd[9584]: (09584-01) SMTP shutdown: Error writing a SMTP response to the socket: Bad file descriptor at (eval 36) line 760.\n
    Nov 9 19:41:44 resserver.resolutionim.com /usr/bin/amavisd[9586]: (09586-01) ESMTP::10024 /var/amavis/amavis-20061109T194144-09586: <[email protected]> -> <[email protected]>,<[email protected]> Received: SIZE=236428 from resolutionim.com ([127.0.0.1]) by localhost (resserver.resolutionim.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 09586-01; Thu, 9 Nov 2006 19:41:44 -0500 (EST)
    Nov 9 19:41:44 resserver.resolutionim.com /usr/bin/amavisd[9586]: (09586-01) Checking: [192.168.1.121] <[email protected]> -> <[email protected]>,<[email protected]>
    Nov 9 19:41:44 resserver.resolutionim.com /usr/bin/amavisd[9587]: (09587-01) ESMTP::10024 /var/amavis/amavis-20061109T194144-09587: <[email protected]> -> <[email protected]> Received: SIZE=2799147 from resolutionim.com ([127.0.0.1]) by localhost (resserver.resolutionim.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 09587-01 for <[email protected]>; Thu, 9 Nov 2006 19:41:44 -0500 (EST)
    Nov 9 19:41:44 resserver.resolutionim.com /usr/bin/amavisd[9586]: (09586-01) p008 1 Content-Type: multipart/alternative
    Nov 9 19:41:44 resserver.resolutionim.com /usr/bin/amavisd[9586]: (09586-01) p001 1/1 Content-Type: text/plain, size: 1103 B, name:
    Nov 9 19:41:44 resserver.resolutionim.com /usr/bin/amavisd[9586]: (09586-01) p009 1/2 Content-Type: multipart/mixed
    Nov 9 19:41:44 resserver.resolutionim.com /usr/bin/amavisd[9586]: (09586-01) p002 1/2/1 Content-Type: text/html, size: 4971 B, name:
    Nov 9 19:41:44 resserver.resolutionim.com /usr/bin/amavisd[9586]: (09586-01) p003 1/2/2 Content-Type: application/vnd.ms-excel, size: 16384 B, name: Feed Locations.xls
    Nov 9 19:41:44 resserver.resolutionim.com /usr/bin/amavisd[9586]: (09586-01) p004 1/2/3 Content-Type: application/octet-stream, size: 15355 B, name: Example of Feed Locations.pdf
    Nov 9 19:41:44 resserver.resolutionim.com /usr/bin/amavisd[9586]: (09586-01) p005 1/2/4 Content-Type: image/jpeg, size: 68882 B, name: zurlftoct06.JPG
    Nov 9 19:41:44 resserver.resolutionim.com /usr/bin/amavisd[9586]: (09586-01) p006 1/2/5 Content-Type: image/jpeg, size: 65599 B, name: extrrtlondsoct06.JPG
    Nov 9 19:41:44 resserver.resolutionim.com /usr/bin/amavisd[9586]: (09586-01) p007 1/2/6 Content-Type: text/html, size: 184 B, name:
    Nov 9 19:41:44 resserver.resolutionim.com /usr/bin/amavisd[9588]: (09586-01) run_command: child process [9588]: Can't close main::stdin: Bad file descriptor at /usr/bin/amavisd line 1589.\n
    Nov 9 19:41:44 resserver.resolutionim.com /usr/bin/amavisd[9588]: (09586-01) SMTP shutdown: tempdir is being removed: /var/amavis/amavis-20061109T194144-09586
    Nov 9 19:41:44 resserver.resolutionim.com /usr/bin/amavisd[9586]: (09586-01) TROUBLE in check_mail: mime_decode-1 FAILED: parsing file(1) results - missing last 7 results at (eval 41) line 150.
    Nov 9 19:41:44 resserver.resolutionim.com /usr/bin/amavisd[9586]: (09586-01) PRESERVING EVIDENCE in /var/amavis/amavis-20061109T194144-09586
    Nov 9 19:41:44 resserver.resolutionim.com /usr/bin/amavisd[9586]: (09586-01) TIMING [total 435 ms] - SMTP EHLO: 22 (5%), SMTP pre-MAIL: 3 (1%), mkdir tempdir: 1 (0%), create email.txt: 2 (0%), SMTP pre-DATA-flush: 10 (2%), SMTP DATA: 45 (10%), body_hash: 6 (1%), mkdir parts: 3 (1%), mime_decode: 158 (36%), rundown: 185 (42%)
    Nov 9 19:41:44 resserver.resolutionim.com /usr/bin/amavisd[9586]: (09586-01) TROUBLE in process_request: Error writing a SMTP response to the socket: Broken pipe at (eval 36) line 760, <GEN4> line 3144.
    Nov 9 19:41:44 resserver.resolutionim.com /usr/bin/amavisd[9586]: (09586-01) Requesting process rundown after fatal error
    Nov 9 19:41:44 resserver.resolutionim.com /usr/bin/amavisd[9586]: (09586-01) SMTP shutdown: Error writing a SMTP response to the socket: Bad file descriptor at (eval 36) line 760.\n
    Nov 9 19:41:44 resserver.resolutionim.com /usr/bin/amavisd[9589]: (09589-01) ESMTP::10024 /var/amavis/amavis-20061109T194144-09589: <[email protected]> -> <[email protected]> Received: SIZE=2244 from resolutionim.com ([127.0.0.1]) by localhost (resserver.resolutionim.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 09589-01 for <[email protected]>; Thu, 9 Nov 2006 19:41:44 -0500 (EST)
    Nov 9 19:41:44 resserver.resolutionim.com /usr/bin/amavisd[9589]: (09589-01) Checking: [65.54.246.141] <[email protected]> -> <[email protected]>
    Nov 9 19:41:44 resserver.resolutionim.com /usr/bin/amavisd[9589]: (09589-01) p001 1 Content-Type: text/plain, size: 1084 B, name:
    Nov 9 19:41:44 resserver.resolutionim.com /usr/bin/amavisd[9590]: (09589-01) run_command: child process [9590]: Can't close main::stdin: Bad file descriptor at /usr/bin/amavisd line 1589.\n
    Nov 9 19:41:44 resserver.resolutionim.com /usr/bin/amavisd[9590]: (09589-01) SMTP shutdown: tempdir is being removed: /var/amavis/amavis-20061109T194144-09589
    Nov 9 19:41:45 resserver.resolutionim.com /usr/bin/amavisd[9589]: (09589-01) TROUBLE in check_mail: mime_decode-1 FAILED: parsing file(1) results - missing last 1 results at (eval 41) line 150.
    Nov 9 19:41:45 resserver.resolutionim.com /usr/bin/amavisd[9589]: (09589-01) PRESERVING EVIDENCE in /var/amavis/amavis-20061109T194144-09589
    Nov 9 19:41:45 resserver.resolutionim.com /usr/bin/amavisd[9589]: (09589-01) TIMING [total 240 ms] - SMTP EHLO: 19 (8%), SMTP pre-MAIL: 2 (1%), mkdir tempdir: 1 (1%), create email.txt: 2 (1%), SMTP pre-DATA-flush: 8 (3%), SMTP DATA: 2 (1%), body_hash: 2 (1%), mkdir parts: 3 (1%), mime_decode: 36 (15%), rundown: 165 (69%)
    Nov 9 19:41:45 resserver.resolutionim.com /usr/bin/amavisd[9589]: (09589-01) TROUBLE in process_request: Error writing a SMTP response to the socket: Broken pipe at (eval 36) line 760, <GEN4> line 67.
    Nov 9 19:41:45 resserver.resolutionim.com /usr/bin/amavisd[9589]: (09589-01) Requesting process rundown after fatal error
    Nov 9 19:41:45 resserver.resolutionim.com /usr/bin/amavisd[9589]: (09589-01) SMTP shutdown: Error writing a SMTP response to the socket: Bad file descriptor at (eval 36) line 760.\n
    Nov 9 19:41:45 resserver.resolutionim.com /usr/bin/amavisd[9591]: (09591-01) ESMTP::10024 /var/amavis/amavis-20061109T194145-09591: <[email protected]> -> <[email protected]> Received: SIZE=2799145 from resolutionim.com ([127.0.0.1]) by localhost (resserver.resolutionim.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 09591-01 for <[email protected]>; Thu, 9 Nov 2006 19:41:45 -0500 (EST)
    Nov 9 19:41:45 resserver.resolutionim.com /usr/bin/amavisd[9587]: (09587-01) Checking: [65.54.246.171] <[email protected]> -> <[email protected]>
    Nov 9 19:41:45 resserver.resolutionim.com /usr/bin/amavisd[9591]: (09591-01) Checking: [65.54.246.173] <[email protected]> -> <[email protected]>
    Nov 9 19:41:45 resserver.resolutionim.com /usr/bin/amavisd[9587]: (09587-01) p003 1 Content-Type: multipart/mixed
    Nov 9 19:41:45 resserver.resolutionim.com /usr/bin/amavisd[9587]: (09587-01) p001 1/1 Content-Type: text/html, size: 6064 B, name:
    Nov 9 19:41:45 resserver.resolutionim.com /usr/bin/amavisd[9587]: (09587-01) p002 1/2 Content-Type: video/x-ms-wmv, size: 2025860 B, name: JBSklip.wmv
    Nov 9 19:41:45 resserver.resolutionim.com /usr/bin/amavisd[9592]: (09587-01) run_command: child process [9592]: Can't close main::stdin: Bad file descriptor at /usr/bin/amavisd line 1589.\n
    Nov 9 19:41:45 resserver.resolutionim.com /usr/bin/amavisd[9592]: (09587-01) SMTP shutdown: tempdir is being removed: /var/amavis/amavis-20061109T194144-09587
    Nov 9 19:41:46 resserver.resolutionim.com /usr/bin/amavisd[9587]: (09587-01) TROUBLE in check_mail: mime_decode-1 FAILED: parsing file(1) results - missing last 2 results at (eval 41) line 150.
    Nov 9 19:41:46 resserver.resolutionim.com /usr/bin/amavisd[9587]: (09587-01) PRESERVING EVIDENCE in /var/amavis/amavis-20061109T194144-09587
    Nov 9 19:41:46 resserver.resolutionim.com /usr/bin/amavisd[9587]: (09587-01) TIMING [total 1950 ms] - SMTP EHLO: 22 (1%), SMTP pre-MAIL: 4 (0%), mkdir tempdir: 1 (0%), create email.txt: 2 (0%), SMTP pre-DATA-flush: 9 (0%), SMTP DATA: 868 (44%), body_hash: 34 (2%), mkdir parts: 3 (0%), mime_decode: 610 (31%), rundown: 397 (20%)
    Nov 9 19:41:46 resserver.resolutionim.com /usr/bin/amavisd[9587]: (09587-02) ESMTP::10024 /var/amavis/amavis-20061109T194146-09587: <[email protected]> -> <[email protected]> Received: SIZE=14124 from resolutionim.com ([127.0.0.1]) by localhost (resserver.resolutionim.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 09587-02 for <[email protected]>; Thu, 9 Nov 2006 19:41:46 -0500 (EST)
    Nov 9 19:41:46 resserver.resolutionim.com /usr/bin/amavisd[9587]: (09587-02) Checking: [64.233.166.181] <[email protected]> -> <[email protected]>
    Nov 9 19:41:46 resserver.resolutionim.com /usr/bin/amavisd[9587]: (09587-02) p003 1 Content-Type: multipart/alternative
    Nov 9 19:41:46 resserver.resolutionim.com /usr/bin/amavisd[9587]: (09587-02) p001 1/1 Content-Type: text/plain, size: 2089 B, name:
    Nov 9 19:41:46 resserver.resolutionim.com /usr/bin/amavisd[9587]: (09587-02) p002 1/2 Content-Type: text/html, size: 9454 B, name:
    Nov 9 19:41:46 resserver.resolutionim.com /usr/bin/amavisd[9593]: (09587-02) run_command: child process [9593]: Can't close main::stdin: Bad file descriptor at /usr/bin/amavisd line 1589.\n
    Nov 9 19:41:46 resserver.resolutionim.com /usr/bin/amavisd[9593]: (09587-02) SMTP shutdown: tempdir is being removed: /var/amavis/amavis-20061109T194146-09587

  • Help! Disc Stuck in iMac!

    I have a iMac blueberry 333mhz, and a CD is stuck in the slot. I've read through this area and have tried the following but with no success:
    1.Restart with Mouse button held down
    2.Open firmware and type in eject CD
    The drive makes a whirring sound as if it is trying to eject the disc, but it doesn't come out. Is there a hole that I can put a paperclip in to eject the disc?
    Are there other ways to get the disc out?
    Thanks for any help!

    Hi Kathy
    Apple tells you to put RAM in through the little door - that's why it's there.
    Just open the door, held the RAM carefully (without touching the gold strips) and press it into the slot untill the 2 tabs click in at either end. Then try and pull it out. If it doesn't come out it's in and seated properly. Takes about 30 seconds.
    The other reeason for the door is to fit an airport card and card adaptor.
    It's only the battery where you are told to open the computer up. Although there are quite a few on the list who say that it can be done through the door, it's very easy to break the battery holder getting the old battery out if it is reluctant to come out.
    If you check the help files for upgrading your mac it should show you how to add more memory.

  • APEX Calendar Help - I'm stuck!

    Hello,
    First let me preface this by saying I am not an APEX expert and have been learning on the fly for the past few weeks. As a trainer for my organization it was important to have a dynamic training and events calendar with some specific features. I found a pre-packaged [Sample Calendar|http://www.oracle.com/technetwork/developer-tools/apex/application-express/packaged-apps-090453.html] application, uploaded that and have modified it to fit about 90% of my needs. Here is where I am stuck:
    1. I need to change how the events sort. I need alpha sorting, ideally.
    2. I currently have two different calendar groupings, soon to be three. Meaning, I have some events labelled as Training & Events and others labelled as Birthdays. I would like to color code these on my calendar so that it is clear to users what is what. I know how to change the highlighting color of all events, but not how to specify based on an identifiable column in my table.
    3. I created a page to reflect event details. When you click on a given event, it redirects to another page and shows the name, date, start time, web conference and dial-in details. The problem is the latter two items are showing blank when there is data in my table. Ideas?
    Any help or guidance is greatly appreciated. I am using APEX 4.2.
    Thank you,
    Christina

    Hi,
    1. I need to change how the events sort. I need alpha sorting, ideally. - The current calendar design overrides your sorting and uses the Calendar date column instead. There is a workaround for this provided your Calendar is SQL based.
    select display_column, cast(date_column as timestamp) + numtodsinterval('0.00' || rownum,'SECOND') shift_date, sort_column from
    (select display_column, date_column, sort_column
    from your_table
    order by sort_column desc)
    http://sathishkumarjs.blogspot.in/2013/05/trick-to-sort-apex-calendar-data-based.html
    2. I currently have two different calendar groupings, soon to be three. Meaning, I have some events labelled as Training & Events and others labelled as Birthdays. I would like to color code these on my calendar so that it is clear to users what is what. I know how to change the highlighting color of all events, but not how to specify based on an identifiable column in my table. -
    To acheive this yo need to modify the SQL statement with additional case statement to get the color of your choice and modify the display column as custom and add the column value as background/foreground color of your choice this needs some custom HTML / this also can be achieved by Modifying the Calendar Template. if needed will blog this with practical example.
    3. I created a page to reflect event details. When you click on a given event, it redirects to another page and shows the name, date, start time, web conference and dial-in details. The problem is the latter two items are showing blank when there is data in my table. Ideas? -
    If you mean some data columns displays correctly will others does not show data, want you to check the data source of those columns, whether it is similar to columns which work fine, if not want to know does the columns which does not display the value is in anyway related to display / date column used by calendar.
    thanks
    Sathish

  • Need urgent help on Sawtooth stucked at Open Firmware screen

    Hello.
    I've got a G4 Graphite Sawtooth Powermac running a Newertech MaxPower 2.0MHZ processor upgrade for about 3 years. It is running Leopard (10.5.8) system.
    I've also installed a Seritek 1S2 card with a 500GB Sata disk.
    Some days ago I've started to notice that sometimes when I did Log Off or Shut down the Mac cleaned all the desktop icons but then nothing happens.
    Also, it started to freeze sometimes doing some tasks like open apps or working on Photoshop.
    Today the Mac refused to boot on the main system disk (I have a secondary 80GB disk with Tigger installed on it).
    Then I ran TechTool Pro Disck scan and it gave me an error on scanning the main disk.
    I've booted into the Tiger disk (a 80GB one) and think to myself if this could be something to do with the Seriteck card or driver, or something related to it...
    I've loaded the Seritek install CD and click the install firmware of the Seriteck disk, then I've booted and... it stucked on Open Firmware forever.
    It is on the welcome screen of the open firmware and I can't do anything.
    It says" To continue booting, type "mac-boot" and press return", but I can't type anything because it looks freezed. My keyboard don't respond.
    I've tryed the firmware boot (that one with the long beep pressing the programmer button) at no avail.
    I'm desesperate. I'm a freelancer and I've goot importante work to deliver to clients and I can't get my Mac to to boot into the system.
    At this point I just want to boot normally into Tiger, Leopard, whatever.
    I just need to boot and recover my works.
    See screenshot of Open Firmware screen here:
    http://img19.imageshack.us/i/dscn3061q.jpg/
    Can someone please help?
    Thank you for your time,
    Macjaime

    I ran TechTool Pro Disk scan and it gave me an error on scanning the main disk.
    If you did a "Surface Scan", and not a "Volume Structures Repair", it is telling you there is a Bad Block on the Hard Drive.
    There are two cases: It could be temporary, or it could be permanent. There are two sub-cases of each: It could be important or it could be unimportant.
    When you run the test, and it tells you the Surface Scan has detected an error, you are supposed to ask it figure out what file is involved, and write it down. Then you can decide whether to delete that file and replace it with a good copy.
    Bad blocks may mean your drive will not be working properly in six months, if you continue to use it full time. It could also die this afternoon -- no one knows. If you can re-initialize with Zero all Data (one pass) the drive will substitute some of its stash of spare blocks for any that remain bad after the zeroing. But of course all your data will be lost, and it takes a few hours to complete.
    Some readers suggest that a drive that has had spare blocks substituted may last a long time at light duty, such as making an occasional backup.
    The only article that comes up with a search for "default catch" has to do with drives that are really wacked out. It suggests you back up everything and re-initialize the drive.

Maybe you are looking for