Nullpointerexception when using servlet with Mysql on a cobalt Raq3 Server

I'm a student and i have to use servlets and Mysql to make a Database application. Our school has a Cobalt Raq3 server and has installed Java Dev Kit 1.3a.
First problem they can't tell me their driver manager for Mysql.
Second problem when i try my servlet it gives a NullpointerException
import java.sql.*;
import javax.servlet.*;
import javax.servlet.http.*;
import java.io.*;
public class Testingo2 extends HttpServlet {
// Hier word een Statement en Connectie object aangemaakt die later zullen worden gebruikt om een database aan te spreken
Statement stm;
Connection con;
     // Hier word de servlet geinitialiseerd
public void init() throws ServletException {
     try {
          // Hier wordt de database driver geladen
          Class.forName("org.gjt.mm.mysql.Driver");
          /** Hier gaan we gebruik maken van het Connection Object om verbinding te maken met de database CFP door een           * jdbc.odbc bridge en dit zonder username en passwoord
          con = DriverManager.getConnection("jdbc:mysql://cfp.ehsal.be:3306/cfp","bjorn","disaronno");
          // Hier zorgen we ervoor dat als er een zich een fout voordoet dat deze getoond wordt
               catch (ClassNotFoundException cnfe ) {
               System.out.println(cnfe.toString());
               catch (SQLException e) {
               System.out.println(e.toString());
// Als de servlet het einde van zijn levenscyclus heeft bereikt gaat het connectie object worden afgesloten
public void destroy() {
     try { con.close();}
     catch (SQLException e) {}
public void doGet (HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException {
try {
     /** Hier gaat men met het Connectie object een statement aanmaken,welk dan later zal worden gebruikt voor het           * uitvoeren van query's
     stm = con.createStatement();
     /** Hier gaat men de query "selecteer alles van de tabel projecten" uitvoeren op de cfp database dankzij het      * statement en connection object. Deze gegevens worden dan opgeslagen in de Resultset rs.
     ResultSet rs = stm.executeQuery("SELECT project,land,titel,omschrijving,budget,informatie FROM PROJECTEN ");
     /** Hier gaat men informatie, over de gegevens die in de ResultSet rs zijn opgeslagen, opslaan in ResultSetMetaData      * meta.
     ResultSetMetaData meta = rs.getMetaData();
     // Hiergaat men het aantal kolommen van de tabel tellen en opslagen in de Integer kolom
     int kolom;
     kolom = meta.getColumnCount();
     // Hier declareerd men welk soort meta type we naar browser sturen, hier dus HTML tekst
     res.setContentType("text/html");
     // Hier gaan we een PrintWriter object out aanmaken dat gebruikt zal worden om de html tekst naar de client te sturen
     PrintWriter out = res.getWriter();
     // De basis html code voor deze pagina
     out.println("<HTML >");
     out.println("<BODY BGCOLOR =fd8017>");
     out.println("<H1> <B><CENTER><FONT COLOR='#00008b'> Overzicht van de projecten </FONT></CENTER></B></H1>");
     /** Hier defini�ren we een tabel die van de hoogte en breedte van het scherm volledig gebruik maakt, waarvan de boord      * van de tabel een dikte van 1 heeft, de ruimte tussen de cellen in de tabel en tussen de randen van een cel en de      * inhoud is gelijk aan 2 (in pixels) en een achtergrondkleur fd8017
     out.println("<TABLE HEIGHT='100%' WIDTH='100%' BORDER=1 CELLPADDING = 2 CELLSPACING = 2 BGCOLOR =fd8017>");
          // begintag voor een nieuwe rij
          out.println("<TR>");
          /** Hier creeren we een lus om de kolom hoofden naar de client te sturen. Deze lus begint als j=1 en gaat           * door tot j = aantal kolommen en na elke loop wordt j verhoogd met 1. Normaal werden alle kolom hoofden           * uit de database opgehaald en afgebeeld, maar vermits MySQL geen kolom hoofden aanvaard waar spaties           * inzitten heb ik gekozen om hier de kolom hoofden die uit meer dan 1 woord bestaan op te halen en aan te           * passen. Dit voor estetische redenen, voor het functioneren van de servlet heeft dit echter geen belang
for(int j=1;j<=kolom;j++){
          if (meta.getColumnName(j).equals("project")) {
          out.println("<TH><FONT COLOR='#00008b'> project nr </TH>");
          else if (meta.getColumnName(j).equals("budget")) {
          out.println("<TH><FONT COLOR='#00008b'> budget (in 1000 �) </TH>");
          else if (meta.getColumnName(j).equals("informatie")) {
          out.println("<TH><FONT COLOR='#00008b'> meer informatie ? </TH>");
          else {
          out.println("<TH><FONT COLOR='#00008b'>");     
          out.println(meta.getColumnName(j)+" ");
          out.println("</TH>");
          // Hier wordt de tag voor een nieuwe rij afgesloten
          out.println("</TR>");
          // Hier initialiseren we een Integer en String die later zullen worden gebruikt
          int k = 0;
          String nummer ="";
// Dit deel van de programma code gaan we uitvoeren zolang er nog een volgende rij in de database bestaat
while (rs.next()) {
          // Voor elke nieuwe rij wordt k verhoogd met 1
          k =k +1;
          // De tag voor een nieuwe rij
          out.println("<TR>");
     // Dit deel van de code wordt uitgevoerd zolang Integer i kleiner is dan het aantal kolommen
     for(int i=1;i <= kolom;i++) {
          // Een nieuwe cel waarin de data worden afgebeeld in de kleur #00008b
          out.println("<TD ALIGN='left' VALIGN ='top'>");
          out.println("<FONT COLOR='#00008b'> ");
          /** Hier halen we de kolomnaam op van kolom i en slagen we deze op in de String kolomnaam. Dan gaan we van           * deze naam de overtollige spaties (links en rechts van de naam) wegwerken.
          String kolomnaam = meta.getColumnName(i);
          kolomnaam = kolomnaam.trim();
          /** Als de kolomnaam gelijk is aan "project" dan gaan we de data van deze cel opslagen in de String nummer en           * deze dan doorsturen naar de client. Anders gaan we voort in onze programma code.
          if (kolomnaam.equals("project")) {
          nummer = rs.getString(i);
          out.println(nummer);
          /** Als het vorige niet waar is dan gaan we zien of de kolomnaam gelijk is aan "informatie", als dat zo is           * dan gaan we de data van de cel opslaan in de String celwaarde.
          else if ( kolomnaam.equals("informatie")) {
               String celwaarde = rs.getString(i);
               char punt = '.';
               char under ='_';
               nummer = nummer.replace(punt,under);               
               /** Als deze String celwaade gelijk is aan "Y" dan gaan we een hyperlink afbeelden die opgebouwd is                * uit drie delen : de naam "project", de String nummer (de data uit de cel van project waar het                * "." is vervangen door "_" ) en de extensie ".html"
               if (celwaarde.equals("Y") ){
               out.println("<A HREF=project" + nummer + ".html> Project" +" "+ k +" </A>");     
               /** Als de celwaarde niet gelijk is aan "Y" dan gaan we gewoon de naam "Project" en de Integer k                * afbeelden
               else {
               out.println("Project" +" " + k);
          else {
          out.println(rs.getString(i));
          out.println("</FONT>");
          out.println("</TD>");
          out.println("</TR>");
     out.println(" </TABLE>");
     out.println("</BODY>");
     out.println("</HTML>");
     // Hier wordt het object Satement afgesloten vermts we het niet meer nodig hebben
     stm.close();
// Als er bij het uitvoeren van de programma code een fout zich voordoet dan wordt er een foutmelding weergegeven
catch (SQLException e) {
System.out.println(e.toString());

The exception is thrown in the Doget method namely stm = con.createStatement();
But i think that when i run my servlet that the init method is not used. I believe the problem is the access to the database.
Thanks for the answer because i'm beginning to hate the cobalt server at my school

Similar Messages

  • Java.lang.NullPointerException when using readTemplate with WLST offline

    I imported WLST offline as a module in to jython script and tried
    wlstOffline.readTemplate('../wls.jar')
    It gives me a java.lang.NullPointerException.
    Here is the entire stack trace
    Traceback (innermost last):
      File "testOffline.py", line 3, in ?
      File "E:\wlst\wlstOffline.py", line 78, in readDomain
    java.lang.NullPointerException
            at com.bea.plateng.domain.script.jython.WLScriptContext.handleException(
    Ljava/lang/Exception;Ljava/lang/String;)V(WLScriptContext.java:897)
            at com.bea.plateng.domain.script.jython.WLScriptContext.readDomain(Ljava
    /lang/String;)V(WLScriptContext.java:244)
            at jrockit.reflect.NativeMethodInvoker.invoke0(Ljava/lang/Object;ILjava/
    lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;(Unknown Source)
            at jrockit.reflect.NativeMethodInvoker.invoke(Ljava/lang/Object;[Ljava/l
    ang/Object;)Ljava/lang/Object;(Unknown Source)
            at jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava/lang/Object;[
    Ljava/lang/Object;)Ljava/lang/Object;(Unknown Source)
            at java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;
    I)Ljava/lang/Object;(Unknown Source)
            at org.python.core.PyReflectedFunction.__call__(Lorg/python/core/PyObjec
    t;[Lorg/python/core/PyObject;[Ljava/lang/String;)Lorg/python/core/PyObject;(PyRe
    flectedFunction.java:???)
            at org.python.core.PyMethod.__call__([Lorg/python/core/PyObject;[Ljava/l
    ang/String;)Lorg/python/core/PyObject;(PyMethod.java:???)
            at org.python.core.PyObject.__call__(Lorg/python/core/PyObject;)Lorg/pyt
    hon/core/PyObject;(PyObject.java:???)
            at org.python.core.PyInstance.invoke(Ljava/lang/String;Lorg/python/core/
    PyObject;)Lorg/python/core/PyObject;(PyInstance.java:???)
            at wlstOffline$py.readDomain$16(Lorg/python/core/PyFrame;)Lorg/python/co
    re/PyObject;(E:\wlst\wlstOffline.py:78)
            at wlstOffline$py.call_function(ILorg/python/core/PyFrame;)Lorg/python/c
    ore/PyObject;(E:\wlst\wlstOffline.py:???)
            at org.python.core.PyTableCode.call(Lorg/python/core/PyFrame;Lorg/python
    /core/PyObject;)Lorg/python/core/PyObject;(PyTableCode.java:???)
            at org.python.core.PyTableCode.call(Lorg/python/core/PyObject;Lorg/pytho
    n/core/PyObject;[Lorg/python/core/PyObject;Lorg/python/core/PyObject;)Lorg/pytho
    n/core/PyObject;(PyTableCode.java:???)
            at org.python.core.PyFunction.__call__(Lorg/python/core/PyObject;)Lorg/p
    ython/core/PyObject;(PyFunction.java:???)
            at org.python.core.PyObject.invoke(Ljava/lang/String;Lorg/python/core/Py
    Object;)Lorg/python/core/PyObject;(PyObject.java:???)
            at org.python.pycode._pyx0.f$0(Lorg/python/core/PyFrame;)Lorg/python/cor
    e/PyObject;(testOffline.py:3)
            at org.python.pycode._pyx0.call_function(ILorg/python/core/PyFrame;)Lorg
    /python/core/PyObject;(testOffline.py:???)
            at org.python.core.PyTableCode.call(Lorg/python/core/PyFrame;Lorg/python
    /core/PyObject;)Lorg/python/core/PyObject;(PyTableCode.java:???)
            at org.python.core.PyCode.call(Lorg/python/core/PyFrame;)Lorg/python/cor
    e/PyObject;(PyCode.java:???)
            at org.python.core.Py.runCode(Lorg/python/core/PyCode;Lorg/python/core/P
    yObject;Lorg/python/core/PyObject;)Lorg/python/core/PyObject;(Py.java:???)
            at org.python.core.__builtin__.execfile_flags(Ljava/lang/String;Lorg/pyt
    hon/core/PyObject;Lorg/python/core/PyObject;Lorg/python/core/CompilerFlags;)V(__
    builtin__.java:???)
            at org.python.util.PythonInterpreter.execfile(Ljava/lang/String;)V(Pytho
    nInterpreter.java:???)
            at org.python.util.jython.main([Ljava/lang/String;)V(jython.java:???)
    java.lang.NullPointerException: java.lang.NullPointerException
    [/pre]
    Can any one tell me what might be the problem.
    Thanks                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    The domain exists.
    And the line 78 in wlstOffline.py is as follows
    77 def readDomain(domainDir):
    78 WLS.readDomain(domainDir)
    79 updateCmo()
    80 updatePrompt()

  • About using hibernate with mysql

    hi all,
    i have used hibernate with hsqldb(database given by default) and it works fine.but when i tried to use it with mysql then i have encountered a problem
    xception
    org.hibernate.TransactionException: Transaction not successfully started
         org.hibernate.transaction.JDBCTransaction.rollback(JDBCTransaction.java:149)
         events.EventManagerServlet.doGet(EventManagerServlet.java:63)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    though i have put jar file of mysql in lib directory and changed the driver name in hibernate.cfg.xml.
    can any one place some example illustrating the steps involving.thanx

    Hi smogura,
    Thanks for the message. Ok I did as you told. I believe I went to the right place:
    Resource->JDBC Connection pools. However I wasn't sure how exactly to go about setting connection pools,
    so I went to the web and did a search and I managed to get hold of this
    website:http://www.albeesonline.com/blog/2008/08/06/creating-and-configuring-a-mysql-datasource-in-
    glassfish-application-server/
    I followed from steps 4 onwards. However at step 14, I did not get a sucesfull ping. The values I used are as follows:
    General:
    Name:               MySQL
    Datasource Classname:     com.mysql.jdbc.jdbc2.optional.MysqlConnectionPoolDataSource
    Resource Type:           javax.sql.ConnectionPoolDataSource
    Advanced Properties:
    databaseName:      ebooking
    ServerName:     GlassFish
    URL          jdbc:mysql://localhost:3306/ebooking
    password          *****
    user:          1234
    I am not sure what is wrong, by the way, I am using Glassfish V3 that comes bundled with netbeans. Any idea what's wrong or missing? Thanks
    regards

  • Weblogic throws NullPointerException when using ServiceControl.setTimeout

    We are invoking a SOAP service via a com.bea.control.ServiceControl that was generated from a WSDL (right click WSDL, Generate Service Control) using Weblogic 8.1.6.
    SOAP service execution is successful using an http and https endpoint. However, when setting a timeout via ServiceControl.setTimeout(int millisecods) method, the Weblogic API is throwing a NullPointerException when using an https endpoint. When using an http endpoint with the setTimeout method execution is successful.
    DEBUG com.bea.wlw.runtime.jws.call.SoapHttpCall [ExecuteThread: '10' for queue: 'weblogic.kernel.Default']: opening connection to https://[... edit removed ...]
    DEBUG com.bea.wlw.runtime.jws.call.SoapHttpCall [ExecuteThread: '10' for queue: 'weblogic.kernel.Default']: Response generation exception
    Throwable: java.lang.NullPointerException
    Stack Trace:
    java.lang.NullPointerException
         at weblogic.net.http.HttpsClient.openWrappedSSLSocket(HttpsClient.java:455)
         at weblogic.net.http.HttpsClient.openServer(HttpsClient.java:235)
         at weblogic.net.http.HttpsClient.openServer(HttpsClient.java:389)
         at weblogic.net.http.HttpsClient.<init>(HttpsClient.java:209)
         at weblogic.net.http.HttpClient.New(HttpClient.java:228)
         at weblogic.net.http.HttpsURLConnection.getHttpClient(HttpsURLConnection.java:246)
         at weblogic.net.http.HttpsURLConnection.connect(HttpsURLConnection.java:217)
         at weblogic.net.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:189)
         at com.bea.wlw.runtime.jws.call.SoapHttpCall.invoke(SoapHttpCall.java:179)
         at com.bea.wlw.runtime.jws.call.SoapHttpCall.invoke(SoapHttpCall.java:80)
         at com.bea.wlw.runtime.core.control.ServiceControlImpl.invoke(ServiceControlImpl.jcs:1288)
         at com.bea.wlw.runtime.core.control.ServiceControlImpl.invoke(ServiceControlImpl.jcs:1155)
         at com.bea.wlw.runtime.core.dispatcher.DispMethod.invoke(DispMethod.java:377)
         at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:433)
         at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:406)
         at com.bea.wlw.runtime.jcs.container.JcsProxy.invoke(JcsProxy.java:388)
    DEBUG com.bea.wlw.runtime.jws.call.SoapFault [ExecuteThread: '10' for queue: 'weblogic.kernel.Default']: SoapFault exception throwable e
    DEBUG com.bea.wlw.runtime.jws.call.SoapHttpCall [ExecuteThread: '10' for queue: 'weblogic.kernel.Default']: response code=0, responseMsg=null
    DEBUG com.bea.wlw.runtime.jws.call.SoapHttpCall [ExecuteThread: '10' for queue: 'weblogic.kernel.Default']: closed connection to https://[... edit removed ...]
    WARN WLW.INVOKE.[... edit removed ...] [ExecuteThread: '10' for queue: 'weblogic.kernel.Default']: Id=[... edit removed id ...] Method=[... edit removed method ...]; Failure=com.bea.control.ServiceControlException: SERVICE FAULT:
    Code:java.lang.NullPointerException
    String:null
    Detail:
    END SERVICE FAULT
    ERROR [... edit removed ...]
    [ExecuteThread: '10' for queue: 'weblogic.kernel.Default']: ServiceControlException
    com.bea.control.ServiceControlException: SERVICE FAULT:
    Code:java.lang.NullPointerException
    String:null
    Detail:
    END SERVICE FAULT
         at com.bea.wlw.runtime.core.control.ServiceControlImpl.invoke(ServiceControlImpl.jcs:1268)
         at com.bea.wlw.runtime.core.dispatcher.DispMethod.invoke(DispMethod.java:377)
         at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:433)
         at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:406)
         at com.bea.wlw.runtime.jcs.container.JcsProxy.invoke(JcsProxy.java:388)

    Thanks for the suggestion. But with -DUseSunHttpHandler=true the Weblogic API is throwing a ClassCastException with or without the timeout value set.
    Failure=com.bea.control.ServiceControlException: SERVICE FAULT:
    Code:java.lang.ClassCastException
    String:null
    Detail:
    END SERVICE FAULT
    ERROR: ServiceControlException
    com.bea.control.ServiceControlException: SERVICE FAULT:
    Code:java.lang.ClassCastException
    String:null
    Detail:
    END SERVICE FAULT
         at com.bea.wlw.runtime.core.control.ServiceControlImpl.invoke(ServiceControlImpl.jcs:1268)
         at com.bea.wlw.runtime.core.dispatcher.DispMethod.invoke(DispMethod.java:377)
         at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:433)
         at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:406)
         at com.bea.wlw.runtime.jcs.container.JcsProxy.invoke(JcsProxy.java:388)

  • How use Tomcat with MySQL

    Can anybody suggest me as how to use Tomcat with MySQL server.
    Thanks in advance.
    Khiz_eng

    add the classpath to the JDBC-driver to the tomcat-
    environment (I did it in tomcat.sh)
    Then put your code accessing MySQL into a servlet....
    You can put the user-ID and the password into a session-
    object or read them in as parameters.
    The book 'core Servlets and Java Server Pages' from
    Marty Hall gave me a lot information.
    Regards
    Fredy

  • Best practice when using Tangosol with an app server

    Hi,
    I'm wondering what is the best practice when using Tangosol with an app server (Websphere 6.1 in this case). I've been able to set it up using the resource adapter, tried using distributed transactions and it appears to work as expected - I've also been able to see cache data from another app server instance.
    However, it appears that cache data vanishes after a while. I've not yet been able to put my finger on when, but garbage collection is a possibility I've come to suspect.
    Data in the cache survives the removal of the EJB, but somewhere later down the line it appear to vanish. I'm not aware of any expiry settings for the cache that would explain this (to the best of my understanding the default is "no expiry"), so GC came to mind. Would this be the explanation?
    If that would be the explanation, what would be a better way to keep the cache from being subject to GC - to have a "startup class" in the app server that holds on to the cache object, or would there be other ways? Currently the EJB calls getCacheAdapter, so I guess Bad Things may happen when the EJB is removed...
    Best regards,
    /Per

    Hi Gene,
    I found the configuration file embedded in coherence.jar. Am I supposed to replace it and re-package coherence.jar?
    If I put it elsewhere (in the "classpath") - is there a way I can be sure that it has been found by Coherence (like a message in the standard output stream)? My experience with Websphere is that "classpath" is a rather ...vague concept, we use the J2CA adapter which most probably has a different class loader than the EAR that contains the EJB, and I would rather avoid to do a lot of trial/error corrections to a file just to find that it's not actually been used.
    Anyway, at this stage my tests are still focused on distributed transactions/2PC/commit/rollback/recovery, and we're nowhere near 10,000 objects. As a matter of fact, we haven't had more than 1024 objects in these app servers. In the typical scenario where I've seen objects "fade away", there has been only one or two objects in the test data. And they both disappear...
    Still confused,
    /Per

  • Display "blank-out" when using Maya with a GF 7800?

    I have a problem where my LCD display occasionally blinks off for about 5-10 seconds when using Maya with a scene displaying about 100,000 polys. Has anyone else encountered this? This only seems to happen when I am quickly rotating the camera in a grey shaded perspective panel?
    My LCD is a Dell 20" LCD (set at 1600x1200) connected to a Geforce 7800 in a Quad G5 with 4.5GB of ram.
    I have never seen this issue before in Maya (I have been using Maya for years, on other machines), so I suspect it is hardware or driver related?

    OK, have completed several tests. I definately seems that the my Geforce 7800 has problems when running some applications. I wonder if anyone else has encountered this problem?
    The easiest way to cause the display to momentarily shut off is to use Maya in the full screen perspective camera window in shaded mode. Proceed to rapidly move a 20,000 poly model (or greater) both zooming and rotating (the polys need to fill the entire screen and shake the mouse).My display (Dell 20" 2001fp) will blink-off for a few seconds. Of course, this in not "normal" work flow, but I have this issue happening when working normally, it can sometimes take time to occur.
    I have tried the Geforce 6600 (256mb ver) and this does not occur with that video card. I have tried several mice both wired and wireless, plus changed the Energy Saver options for Processor performance (from comments I read on Macintouch.com). The problem is consistent to my Geforce 7800. This problem will also occur in Photoshop CS, by moving images and resizing, but I found it much harder to induce.

  • When using iPhone with Ford automobiles' Sync, the connection drops each time the ignition is shut off. In order to restore, the bluetooth must be turned off on the iphone, then restarted. Any suggestions?

    When using iPhone with Ford Automobiles' SYNC, the connection drops each time the ignition is shut off. To restore, you must turn off the bluetooth on iPhone, then restart each time. Any suggestions?

    There is an update avaialbe for Ford systems to correct bluetooth problems. You need to update your system.

  • When using Numbers with iCloud, a new version of the spreadsheet is created even when no reisions have been made. Why is this, and how do I make it stop?

    When using Numbers with iCloud, a new version is created every time I make a change. I do not want all these revised documents. When I change a document, I commit to that change. How do I shut off this multiple-revision feature of Numbers being pushed to iCloud.
    Also....
    When using Numbers with iCloud, a new version of the spreadsheet is created even when no revisions have been made. Why is this, and how do I make it stop?
    My files are growing.

    Your plugins list shows outdated plugin(s) with known security and stability risks.
    # Java Plug-in 1.5.0_11 for Netscape Navigator (DLL Helper)
    # Adobe Shockwave for Director Netscape plug-in, version 11.0
    Update the [[Java]] and [[Shockwave|Shockwave for Director]] plugin to the latest version.
    See
    http://java.sun.com/javase/downloads/index.jsp#jdk (you need JRE)
    http://www.adobe.com/shockwave/welcome/

  • When using pdfFactory with Firefox, why are the colors on the pdf not correct?

    The colors are vastly different when using pdf Factory with Firefox. When using pdfFactory with IE, they are both the same.

    There doesn't seem to be a one-size-fits-all answer, because what works for one printer doesn't necessarily work for another, and I don't have your printer so I can't advise on specifics...
    However, perhaps we can discover a set of settings that will work...
    If you File - Print, choose Photoshop Manages Colors, in the Printer Profile section do you see profiles specific to your printer (e.g., with the name Kodak in them)?
    If so, choose one of them that seems appropriate given the paper you're using.
    If not, try choosing sRGB IEC61966-2.1.
    Now, before you continue, press the [Print Settings...] button.  This brings up the printer driver dialog.  You may have to go through [Advanced] buttons or whatever, but what you're looking to do here is to disable the printer driver's color management logic.  In other words, if you can find a color-management / ICC profile handling section, set it to "no color management" or equivalent.  OK back out to Photoshop's print dialog, then press [Print].
    The key here is that if Photoshop manages the color transforms, the printer driver should not be set to do so - or vice versa.
    If you're presented with the printer driver's dialog again, double check that the settings you chose above are still set, for good measure, and try a test print.
    -Noel

  • I want to create a login form by using servlets with database validation.

    Would you please provide me a code for a login form using servlets with Ms Access database validation?

    No. This is not a free coding service. Your request is (a) ridiculous, (b) offensive, and (c) off-topic. Locking this thread for later deletion.

  • Only 274 mails are coming when using pop3 with java mail

    Only 274 mails are coming from GMAIL when using pop3 with java mail. but there are more than 3000 mails.
    I'm not getting the reason, code is given below:
    public static void main(String[] args) {
            // SUBSTITUTE YOUR ISP's POP3 SERVER HERE!!!
    //        String host = "pop.bizmail.yahoo.com";
    //        final String user = "[email protected]";
    //        final String password = "xxx";
            String host = "pop.gmail.com";
            final String user = "gauravjlj";
            final String password = "xxx";
            String subjectSubstringToSearch = "Test E-Mail through Java";
            try {
                 Properties prop = new Properties();
                prop.setProperty("mail.pop3.socketFactory.class",
                                            "javax.net.ssl.SSLSocketFactory");
                prop.setProperty("mail.pop3.socketFactory.fallback", "false");
                prop.setProperty("mail.pop3.port", "995");
                prop.setProperty("mail.pop3.socketFactory.port", "995");
                prop.put("mail.pop3.host", host);
                prop.put("mail.store.protocol", "pop3");
                Session session = Session.getDefaultInstance(prop);
                Store store = session.getStore();
                System.out.println("your ID is : "+ user);
                System.out.println("Connecting...");
                store.connect(host, user, password);
                System.out.println("Connected...");
                // Get "INBOX"
                Folder fldr = store.getFolder("INBOX");
                fldr.open(Folder.READ_ONLY);
                int count = fldr.getMessageCount();
                System.out.println(count  + " total messages");
                // Message numebers start at 1
                for(int i = 1; i <= count; i++) {
                                            // Get  a message by its sequence number
                    Message m = fldr.getMessage(i);
                    // Get some headers
                    Date date = m.getSentDate();
                    Address [] from = m.getFrom();
                    String subj = m.getSubject();
                    String mimeType = m.getContentType();
                    System.out.println(date + "\t" + from[0] + "\t" +
                                        subj + "\t" + mimeType);
                // Search for e-mails by some subject substring
                String pattern = subjectSubstringToSearch;
                SubjectTerm st = new SubjectTerm(pattern);
                // Get some message references
                Message [] found = fldr.search(st);
                System.out.println(found.length +
                                    " messages matched Subject pattern \"" +
                                    pattern + "\"");
                for (int i = 0; i < found.length; i++) {
                    Message m = found;
    // Get some headers
    Date date = m.getSentDate();
    Address [] from = m.getFrom();
    String subj = m.getSubject();
    String mimeType = m.getContentType();
    System.out.println(date + "\t" + from[0] + "\t" +
    subj + "\t" + mimeType);
    Object o = m.getContent();
    if (o instanceof String) {
    System.out.println("**This is a String Message**");
    System.out.println((String)o);
    else if (o instanceof Multipart) {
    System.out.print("**This is a Multipart Message. ");
    Multipart mp = (Multipart)o;
    int count3 = mp.getCount();
    System.out.println("It has " + count3 +
    " BodyParts in it**");
    for (int j = 0; j < count3; j++) {
    // Part are numbered starting at 0
    BodyPart b = mp.getBodyPart(j);
    String mimeType2 = b.getContentType();
    System.out.println( "BodyPart " + (j + 1) +
    " is of MimeType " + mimeType);
    Object o2 = b.getContent();
    if (o2 instanceof String) {
    System.out.println("**This is a String BodyPart**");
    System.out.println((String)o2);
    else if (o2 instanceof Multipart) {
    System.out.print(
    "**This BodyPart is a nested Multipart. ");
    Multipart mp2 = (Multipart)o2;
    int count2 = mp2.getCount();
    System.out.println("It has " + count2 +
    "further BodyParts in it**");
    else if (o2 instanceof InputStream) {
    System.out.println(
    "**This is an InputStream BodyPart**");
    } //End of for
    else if (o instanceof InputStream) {
    System.out.println("**This is an InputStream message**");
    InputStream is = (InputStream)o;
    // Assumes character content (not binary images)
    int c;
    while ((c = is.read()) != -1) {
    System.out.write(c);
    // Uncomment to set "delete" flag on the message
    //m.setFlag(Flags.Flag.DELETED,true);
    } //End of for
    // "true" actually deletes flagged messages from folder
    fldr.close(true);
    store.close();
    catch (MessagingException mex) {
    // Prints all nested (chained) exceptions as well
    mex.printStackTrace();
    catch (IOException ioex) {
    ioex.printStackTrace();
    Please tell me.
    Thanks                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Is it possible that GMail only allows access to untagged emails via POP3? Or only to emails from the last x days?
    POP3 is the older email retrieval protocol (IMAP4 is the more current one) and only has very limited support for folders (or anything but a single inbox, really). It's quite common that POP3 only allows access to a subset of all emails stored by a provider.

  • How to store a layout, when using CL_SALV_TREE with a container?

    Hello,
    I'd like to use an object of type CL_SALV_TREE, that is placed on a custom container (and therefore not displayed in fullscreen).
    But how do I get the functionality to store a layout, when using CL_SALV_TREE not in fullscreen mode? If you use it in fullscreen mode, you just have to define the function code in your gui status and everything is ok.
    But since I want to place my CL_SALV_TREE on a custom container, that method does not work. If I call <my_salv_tree>->get_functions( ) it returns a table, that holds just six entries. So, the appropiate function for storing a layout does not seem to be in the default set of functions, when using CL_SALV_TREE with a custom container. But how do I activate this function?
    I already call the functions get_layout() and set_key() - so that shouldn't be the problem. Or is just not possible to use CL_SALV_TREE on a custom container and have the possibility to store layouts?
    Kind regards, Lars

    Hello,
    I'd like to use an object of type CL_SALV_TREE, that is placed on a custom container (and therefore not displayed in fullscreen).
    But how do I get the functionality to store a layout, when using CL_SALV_TREE not in fullscreen mode? If you use it in fullscreen mode, you just have to define the function code in your gui status and everything is ok.
    But since I want to place my CL_SALV_TREE on a custom container, that method does not work. If I call <my_salv_tree>->get_functions( ) it returns a table, that holds just six entries. So, the appropiate function for storing a layout does not seem to be in the default set of functions, when using CL_SALV_TREE with a custom container. But how do I activate this function?
    I already call the functions get_layout() and set_key() - so that shouldn't be the problem. Or is just not possible to use CL_SALV_TREE on a custom container and have the possibility to store layouts?
    Kind regards, Lars

  • There is no way to see who is on line when using facebook with iPad 2

    There is no way to see who is on line when using facebook with iPad 2 why is that?

    I'm guessing you mean for FB Chat? Try the app Friendly.

  • Is there a way that when using airplay with power point the ATV does not sleep/screen saver frequently

    s there a way that when using airplay with power point the ATV does not sleep/screen saver frequently???

    I have done this for several Titles, using Photoshop and a Layer Mask, that gets "erased," revealing the letters. My Titles were of "handwriting with chalk" on a blackboard, so I could keep the edge of that Layer Mask, looking more like the "chalk." Photoshop also makes it easy to output Layer Comps for each "step" in the handwriting process. IIRC, I did about 5 Frames per Layer Comp on Import, but do not recall if I used an extremely short Cross-Dissolve Transition between those - I intened to do so, but just do not remember if I liked that, or went with just the Still Images? Will try to find that animation, and maybe create a full tutorial of the process. In my case, I also added an SFX of chalk on a chalkboard.
    If you have Photoshop, it's really quite easy to pull off.
    Now, I do not know if Photoshop Elements has Layer Masks yet, which make it so very easy to accomplish. One could do it backward, where the Text Layer gets Erased, and then one would have their full Image as the last in the sequence, and then the next would have a little bit of the Text removed, then a bit more, then a bit more - going backward, until the "writing surface" is clean. One could also do this with a Transparent Background, so that one saw the Video below, and no actual "writing surface" visible.
    Good luck,
    Hunt

Maybe you are looking for

  • Brand new iMac, and the load time for internet use is very poor

    Brought my new iMac home today. 2.7 GHz intel core i5 Got it set up with my wireless and i am very unimpressed with the internet and loading speed. My phone, 1 lap top, and 1 ipad use wireless in our house along with the iMac. i have a cisco linksys

  • US iPhone 3G with Movistar/Spain SIM?

    I purchased an iPhone 3G from a US Apple store. I am about to travel to Spain for 6 months and don't want to spend a lot of money roaming. Is it possible to remove the AT&T SIM and buy a Movistar (iPhone carrier in Spain) SIM/package. Will the US bou

  • Problem regarding customer downpayment

    Q1- We are posting Customer Down payment w.r.t Sales order number with line item number through f-37 and posting the downpayment with f-29... but i dont know how its gonna be posted in sales order.. in which tab the downpayment is gonna be posted or

  • OBIEE Group authorization

    Hi, We are using the LDAP security for Authenticating the users.. but when I try to Authorize the Users to see a Particular dashboard it is failing. I have created a table in DB with Logon and the group details and created a session variable by using

  • Performance of operations in large PSD

    Has anyone noticed rapid deterioration of performance in reading text layer content (i.e. accessing 'artLayer.textItem.contents')? I mean it's a generic thing that as PSD grows, operations on that become slower, but text layer content seems to go dow