Org.gjt.mm.mysql.Driver not found help!!

hi all
it's the first time for me working with MySql, and when i try to connect to the db, i have the following exception:
java.lang.ClassNotFoundException: org.gjt.mm.mysql.Driver
i know that i shall download it from Mysql site, but i don't know WHERE to put it
i'm using forte 3.0 - jdk 1.4.0 on Win2K
please help me!
thanx
sandro

No problem,
in general you should modify the CLASSPATH of your JDK to point to the jar-driver-file, e.g. (on unix): CLASSPATH = "someDirectory"\driverFIle.jar:$CLASSPATH
and then: export CLASSPATH. That should solve your problem. if using windows: Just take a look at systemControlCenter. There it's possible to modify the CLASSPAT-environment.
So far...

Similar Messages

  • Driver class 'org.gjt.mm.mysql.Driver' not Found JSP

    OS ->Windows XP Pro
    Tomcat version ->4.0.1
    jdk version -> 1.3.1
    database -> mysql
    Classpath = .;C:\jakarta-tomcat-4.0.1\common\lib\servlet.jar;C:\jakarta-tomcat-4.0.1\common\lib\mm.mysql.jdbc-1.2c\mysql_uncomp.jar;
    I am trying to run a function in a javabean to startup up a connection to a database. Code as follows...
    public void connect() throws ClassNotFoundException,
    SQLException,
    Exception {
    try {
    Class.forName("org.gjt.mm.mysql.Driver").newInstance();
    con = DriverManager.getConnection(
    "jdbc:mysql://localhost/Wrox ?user=root&password=lunchbox ");
    } catch (ClassNotFoundException cnfe) {
    error = "ClassNotFoundException: Could not locate DB driver.";
    throw new ClassNotFoundException(error);
    } catch (SQLException cnfe) {
    error = "SQLException: Could not connect to database.";
    throw new SQLException(error);
    } catch (Exception e) {
    error = "Exception: An unknown error occurred while connecting " +
    "to database.";
    throw new Exception(error);
    I call it from my jsp page code as follows.. connect in bold
    <%@ page language="java"
    import="java.sql.*, java.io.*, java.util.*, com.wrox.databases.*"
    errorPage="error.jsp" %>
    <jsp:useBean id="book" class="com.wrox.databases.Books" />
    <html>
    <head>
    <title> Wrox Press Ltd. </title>
    </head>
    <body>
    <h1> Wrox Press Ltd.</h1>
    <h2> List of Books </h2>
    <b>Add More Books</b>
    <form action="delete.jsp" method="post">
    <table border="1">
    <tr>
    <td><b>ID:</b></td>
    <td><B>Title:</b></td>
    <td><B>Price:</b></td>
    </tr>
    <%
    book.connect();
    ResultSet rs = book.viewBooks();
    while (rs.next()) {
    %>
    <tr>
    <td>
    <input type="checkbox" name="pkey"
    value="<%= rs.getString("Title_ID") %>" />
    </td>
    <td><%= rs.getString("Title") %></td>
    <td><%= rs.getString("Price") %></td>
    </tr>
    <%
    %>
    </table>
    Check books for deletion.<BR>
    <input type="submit" value="Delete All Checked Books">
    </form>
    <% book.disconnect(); %>
    </body>
    </html>
    The name of the bean is correct and so is the package it is stored under. I tried it in the bean and got "ClassNotFoundException" Could not locate DB driver". I tried it with DBtags and got
    Driver class 'org.gjt.mm.mysql.Driver' not Found
    any help would be really appreciated.

    When using any 3rd party library with tomcat. the jar file of that library has to be put in the WEB-INF/lib directory of your application. Then only tomcat will find it.
    So the my-sql driver would have come in a jar file. just put that jar file in the WEB-INF/lib directory.
    After that things should work. If they don't please post again.
    hope this helps.
    regards,
    Abhishek.

  • Help. JDBCRealm error -- org.gjt.mm.mysql.Driver not found

    Hi All,
    I tried to setup JDBCRealm. After I config. to JDBCRealm and restart tomcat. I got this error:
    java.sql.SQLException: org.git.mm.mysql.Driver error.
    Can someone help. Thanks

    web-inf/lib is not sufficient in this case, as the Tomcat engine needs access to the driver - not just your application.
    http://jakarta.apache.org/tomcat/tomcat-4.1-doc/realm-howto.html#JDBCRealm
    You need to
    Place a copy of the JDBC driver you will be using inside the $CATALINA_HOME/server/lib directory (if you do not need it visible to web applications) or $CATALINA_HOME/common/lib (if it will be used both by Tomcat 4 and by your apps).
    Cheers.
    evnafets

  • Java.lang.ClassNotFoundException: org.gjt.mm.mysql.Driver...the same old pr

    Hi,
    I am a new user in this forum..
    I have just installed tomcat and mysql and jdbc fresh on my new system..
    first of all here is what i have done...
    i have installed mysql integrated in xampp at c:\xampp\mysql
    i have installed my tomcat at C:\Programme\Apache Software Foundation\Tomcat 5.5
    i have put jdbc <dirver>.jar file copied in all sorts of directories like ....
    <tomcat_home>\common\lib
    <tomcat_home>\webapps\axis\WEB-INF\lib\ext
    <java_home>\lib
    <java_home>\jre\lib\ext
    my calsspath looks something like this
    .;C:\Programme\QuickTime\QTSystem\QTJava.zip;C:\Programme\"Apache Software Foundation"\"Tomcat 5.5"\common\lib\mysql-connector-java-5.0.6-bin.jar;C:\Programme\"Apache Software Foundation"\"Tomcat 5.5"\webapps\axis\WEB-INF\lib\mysql-connector-java-5.0.6-bin.jar;C:\Programme\"Apache Software Foundation"\"Tomcat 5.5"\common\lib\servlet-api.jar;C:\Programme\"Apache Software Foundation"\"Tomcat 5.5"\common\lib\jsp-api.jar;C:\Programme\Java\jdk1.5.0_05\jre\lib\ext\mysql-connector-java-5.0.6-bin.jar;C:\Programme\Apache Software Foundation\Tomcat 5.5\webapps\axis\WEB-INF;C:\Programme\Apache Software Foundation\Tomcat 5.5\webapps\axis\WEB-INF\lib\activation.jar;C:\Programme\Apache Software Foundation\Tomcat 5.5\webapps\axis\WEB-INF\lib\axis.jar;C:\Programme\Apache Software Foundation\Tomcat 5.5\webapps\axis\WEB-INF\lib\axis-ant.jar;C:\Programme\Apache Software Foundation\Tomcat 5.5\webapps\axis\WEB-INF\lib\commons-discovery-0.2.jar;C:\Programme\Apache Software Foundation\Tomcat 5.5\webapps\axis\WEB-INF\lib\commons-logging-1.0.4.jar;C:\Programme\Apache Software Foundation\Tomcat 5.5\webapps\axis\WEB-INF\lib\jaxrpc.jar;C:\Programme\Apache Software Foundation\Tomcat 5.5\webapps\axis\WEB-INF\lib\log4j-1.2.8.jar;C:\Programme\Apache Software Foundation\Tomcat 5.5\webapps\axis\WEB-INF\lib\mail.jar;C:\Programme\Apache Software Foundation\Tomcat 5.5\webapps\axis\WEB-INF\lib\saaj.jar;C:\Programme\Apache Software Foundation\Tomcat 5.5\webapps\axis\WEB-INF\lib\wsdl4j-1.5.1.jar;C:\Programme\Apache Software Foundation\Tomcat 5.5\webapps\axis\WEB-INF\lib\mysql-connector-java-5.0.6-bin.jar
    which is basically all the jar files in the web-inf\lib folder and references to all the copies of driver as mentioned before
    these are results of a lot of desperatio but still the code which i run....
    package mypackage;
    import java.sql.*;
    public class JDBCConnector
    public static void main(String[] arg) throws Exception
         System.out.println("Initiating Database Mysql Connection");
         //try {
                   Statement stmt;
                        //     Register the JDBC driver for MySQL.
                   Class.forName("org.gjt.mm.mysql.Driver ").newInstance();
                        //     Define URL of database server for
                        // database named mysql on the localhost
                        //      with the default port number 3306.
                   String url = "jdbc:mysql://wifh-1.fhso.ch:3306/";
                        //          Get a connection to the database for a
                        // user named root with a blank password.
                        // This user is the default administrator
                        // having full privileges to do anything.
                   Connection con = DriverManager.getConnection(url,"root", "birnExy");
                        //Display URL and connection information
                   System.out.println("URL: " + url);
                   System.out.println("Connection: " + con);
                        //Get a Statement object
                   stmt = con.createStatement();
                        //     Create the new database
                   stmt.executeUpdate("CREATE DATABASE JunkDB3");
                        //Register a new user named auser on the
                        // database named JunkDB with a password
                        // drowssap enabling several different
                        // privileges.
                   stmt.executeUpdate("GRANT SELECT,INSERT,UPDATE,DELETE," +"CREATE,DROP " +"ON JunkDB3.* TO 'nishant'@'localhost' " +"IDENTIFIED BY 'nishant';");
                   con.close();
         //}catch( Exception e ) {
              //     e.printStackTrace();
         //}//end catch
              //return hook;
         }//end main
    }//end class JDBCConnector
    gives the following error.....
    <soapenv:Envelope>
    &#8722;
         <soapenv:Body>
    &#8722;
         <soapenv:Fault>
    <faultcode>soapenv:Server.userException</faultcode>
    &#8722;
         <faultstring>
    java.lang.ClassNotFoundException: org.gjt.mm.mysql.Driver
    </faultstring>
    &#8722;
         <detail>
    <ns1:hostname>SADMC0087</ns1:hostname>
    </detail>
    </soapenv:Fault>
    </soapenv:Body>
    </soapenv:Envelope>
    please help me

    20.05.2007 22:43:26 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
    INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Programme\Java\jdk1.5.0_05\jre\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Programme\QuickTime\QTSystem\;C:\Programme\ATI Technologies\ATI Control Panel;C:\Programme\Java\jdk1.5.0_05\bin;C:\Programme\Apache Software Foundation\Tomcat 5.5\common\lib;
    20.05.2007 22:43:27 org.apache.coyote.http11.Http11BaseProtocol init
    INFO: Initializing Coyote HTTP/1.1 on http-8080
    20.05.2007 22:43:27 org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 1203 ms
    20.05.2007 22:43:27 org.apache.catalina.core.StandardService start
    INFO: Starting service Catalina
    20.05.2007 22:43:27 org.apache.catalina.core.StandardEngine start
    INFO: Starting Servlet Engine: Apache Tomcat/5.5.23
    20.05.2007 22:43:27 org.apache.catalina.core.StandardHost start
    INFO: XML validation disabled
    20.05.2007 22:43:28 org.apache.catalina.startup.HostConfig deployWAR
    INFO: Deploying web application archive SIpages.war
    20.05.2007 22:43:31 org.apache.coyote.http11.Http11BaseProtocol start
    INFO: Starting Coyote HTTP/1.1 on http-8080
    20.05.2007 22:43:31 org.apache.jk.common.ChannelSocket init
    INFO: JK: ajp13 listening on /0.0.0.0:8009
    20.05.2007 22:43:31 org.apache.jk.server.JkMain start
    INFO: Jk running ID=0 time=0/109 config=null
    20.05.2007 22:43:31 org.apache.catalina.storeconfig.StoreLoader load
    INFO: Find registry server-registry.xml at classpath resource
    20.05.2007 22:43:32 org.apache.catalina.startup.Catalina start
    INFO: Server startup in 4813 ms
    now this is when i run from eclipse where SIpages.war is my war file to be deployed...which looks something like this
    sipages/web-inf/classes
    sipages/web-inf/src
    sipages/web-inf/lib-this has the jar file as you mentioned
    and come other files...nwo where soes my .java file go in this war and how do i compile the java file

  • Including org.gjt.mm.mysql.Driver with my application

    So, lets say I have a Java program that connects to an SQL server and it runs fine on my machine. I have all the nessicarry classpath's and Connector/J properly installed. But, when I run it on a client machine I get:
    java.lang.ClassNotFoundException: org.gjt.mm.mysql.DriverNow, I can solve this issue by putting the Connector/J onto their computer but, I'm wondering if there's a way to package the application and the driver so that anyone can run it without having to install Connector/J manually.
    Any help would be much appreciated.
    Thanks!

    JonasWon wrote:
    So, lets say I have a Java program that connects to an SQL server and it runs fine on my machine. I have all the nessicarry classpath's and Connector/J properly installed. But, when I run it on a client machine I get:
    java.lang.ClassNotFoundException: org.gjt.mm.mysql.Driver
    That's the old, deprecated JDBC driver class name.
    Now, I can solve this issue by putting the Connector/J onto their computer but, I'm wondering if there's a way to package the application and the driver so that anyone can run it without having to install Connector/J manually.
    Any help would be much appreciated.
    Thanks!"install" it manually? Nobody "installs" a 3rd party JAR. These aren't quite DLLs.
    I'll assume your app is a desktop deployment. Package it into an executable JAR, add the Connector/J JAR to the Classpath in the manifest, and zip that JAR up with the Connector/J JAR. Your users will just unzip the ZIP file and execute the JAR.
    %

  • Cannot load JDBC driver class 'org.gjt.mm.mysql.Driver'

    Hi,
    I'm trying to run my web app and connect to a MySQL database but keep getting this error:
    org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot load JDBC driver class 'org.gjt.mm.mysql.Driver'
    any ideas?
    Thanks!

    Lookup the stacktrace and find the root cause of the exception.
    My cents on a ClassNotFoundException which is rather self-explaining.
    By the way, the mentioned driver class name is a very old driver. You shouldn't be using that anymore. Surf to the MySQL homepage and download the most recent Connector/J JDBC driver for your database version. Documentation is also available over there.

  • Java.lang.ClassNotFoundException: org.gjt.mm.mysql.Driver

    hi
    I am facing followig error.
    java.lang.ClassNotFoundException: org.gjt.mm.mysql.Driver
    How to set the class path.
    I am using Windows XP, NetBeans IDE 5.5, MySQL-5.0
    I have made one simple servlet program in order to read one small table from the MySQL database.
    I got the connectivity but above error is i have been facing.
    Please tell me how to write to set the class path and where should i put my mysql-connector-java-5.0.4-bin file. so i can read the data from the database.
    thanking you.
    regards
    discuss.

    hi
    I am facing followig error.
    java.lang.ClassNotFoundException: org.gjt.mm.mysql.Driver
    How to set the class path.
    I am using Windows XP, NetBeans IDE 5.5, MySQL-5.0
    I have made one simple servlet program in order to read one small table from the MySQL database.
    I got the connectivity but above error is i have been facing.
    Please tell me how to write to set the class path and where should i put my mysql-connector-java-5.0.4-bin file. so i can read the data from the database.
    thanking you.
    regards
    discuss.

  • Org.gjt.mm.mysql.Driver

    I want to send a WAR file of my web applications to my clients. The application consiting of servlets and jsps connects to a database and requires org.gjt.mm.mysql.Driver how do i incorperate the .jar inside the WAR so my client doesn't have to fiddle with dropping jars in tomcats lib directory? I've tried including the org.gjt.mm.mysql.Driver driver jar inside the war WEB-INF/lib but it still says it cant find the driver?

    If you have set up connection pooling within Tomcat, there is no way around it. The connection pooling is controlled by Tomcat, so it requires the driver file in [TOMCAT]/common/lib.
    The only way to have a completely independant WAR file would be to handle all the database connections and connection pooling yourself within the web application.

  • Java.lang.ClassNotFoundException: org.gjt.mm.mysql.Driver when using RMI

    I am trying to connect to mysql Db through RMI but i am getting this exception.
    When trying to connect to db through a normal class implementation without RMI it is connected succesfully.
    What is causing the problem????
    Thanks in advace

    CLASSPATH, man. The RMI server needs to have the MySQL driver JAR in its CLASSPATH.
    That's usually what that exception means.
    %

  • MySql driver not found in WEB-INF/lib

    Hello
    This topic is very often met on this forum but there are no
    suitable answers for the problem I have. I am creating
    a Jsf application and I have setup a connection pool using
    the MySql jar. I want to supply the jar with the war and I keep
    it in WEB-INF/lib directory but I still get ClassNotFoundException.
    I am running this on a Debian machine with Sun JVM 1.5,
    Tomcat 5.0, Mysql 4.1, Connector/J - nightly build from
    20060403 (since the stable version has bugs with Charset).
    Here are the confings. If I missed some of them, pleaste tell
    me.
    War task in build.xml
        <target name="war" depends="build">
          <mkdir dir="${build.dir}"/>
          <war
            basedir="${webroot.dir}"
            warfile="${build.dir}/${project.distname}.war"
            webxml="${webinf.dir}/web.xml">
            <metainf dir="${meta.dir}">
              <include name="context.xml"/>
            </metainf>
            <exclude name="WEB-INF/${build.dir}/**"/>
            <exclude name="WEB-INF/src/**"/>
            <exclude name="WEB-INF/web.xml"/>
          </war>
        </target>
    context.xml
    <Context  path="/jsfblog" docBase="jsfblog.war" reloadable="false" crossContext="true" useNaming="true">
      <Resource name="jdbc/jsfblog" auth="Container" type="javax.sql.DataSource"/>
      <ResourceParams name="jdbc/jsfblog">
        <parameter>
          <name>factory</name>
          <value>org.apache.commons.dbcp.BasicDataSourceFactory</value>
        </parameter>
        <parameter>
          <name>url</name>
          <value>jdbc:mysql://localhost/jsfblog</value>
        </parameter>
        <parameter>
          <name>driverClassName</name><value>com.mysql.jdbc.Driver</value>
        </parameter>
        <parameter>
          <name>username</name>
          <value>blog</value>
        </parameter>
        <parameter>
          <name>password</name>
          <value>blog</value>
        </parameter>
        <parameter>
          <name>maxWait</name>
          <value>3000</value>
        </parameter>
        <parameter>
          <name>maxIdle</name>
          <value>100</value>
        </parameter>
        <parameter>
          <name>maxActive</name>
          <value>10</value>
        </parameter>
      </ResourceParams>
    </Context>
    hibernate.cfg.xml
    <hibernate-configuration>
        <session-factory>
            <property name="connection.datasource">java:comp/env/jdbc/jsfblog</property>
            <property name="dialect">org.hibernate.dialect.MySQLDialect</property>
            <property name="current_session_context_class">thread</property>
            <property name="cache.provider_class">org.hibernate.cache.NoCacheProvider</property>
            <property name="show_sql">true</property>
            <mapping resource="......"/>
        </session-factory>
    </hibernate-configuration>
    web.xml
    I am not sure if I really need this.
    <web-app>
      <!-- Connection pool configuration  -->
      <resource-ref>
        <description>JSF Blog Database</description>
        <res-ref-name>jdbc/jsfblog</res-ref-name>
        <res-ref-type>javax.sql.DataSource</res-ref-type>
        <res-auth>Container</res-auth>
      </resource-ref>
      <!--  jsf and facelets declarations  -->
    jsfblog.policy
    Not all the rules apply at the same time. I also tried to
    setup the mysql jar in ${catalina.home}/common/lib
    directory and it was loaded but I need to make it work
    in WEB-INF/lib location.
    grant
         permission java.io.FilePermission "${catalina.home}/webapps/jsfblog/WEB-INF/lib/mysql-connector-java-3.1.12-bin.jar", "read";
         permission java.io.FilePermission "${catalina.home}/webapps/jsfblog/WEB-INF/lib/mysql-connector-java-3.1-nightly-20060403-bin.jar", "read";
         permission java.net.SocketPermission "localhost:3306", "connect,resolve";
    grant codeBase "jar:file:${catalina.home}/webapps/jsfblog/WEB-INF/lib/hibernate3.jar!/-" {
         permission java.lang.RuntimePermission "accessDeclaredMembers";
         permission java.util.PropertyPermission "*", "read,write";
         permission java.lang.reflect.ReflectPermission "suppressAccessChecks";
    grant codeBase "jar:file:${catalina.home}/webapps/jsfblog/WEB-INF/lib/mysql-connector-java-3.1-nightly-20060403-bin.jar!/-"
         permission java.net.SocketPermission "localhost:3306", "connect,resolve";
         permission java.lang.RuntimePermission "accessDeclaredMembers";
         permission java.util.PropertyPermission "*", "read,write";
         permission java.lang.reflect.ReflectPermission "suppressAccessChecks";
    Project layout
    |-- build
    |   `-- jsfblog.war
    |-- build.xml
    |-- conf
    |   `-- 99jsfblog.policy
    |-- deploy
    |   `-- jsfblog.war
    |-- doc
    |   |-- WEB-INF
    |   |   |-- classes
    |   |   |   |-- beans
    |   |   |   |   `-- CategoryBean.class
    |   |   |   |-- blog
    |   |   |   |   |-- Category.class
    |   |   |   |   |-- Category.hbm.xml
    |   |   |   |   |-- Comment.class
    |   |   |   |   |-- Comment.hbm.xml
    |   |   |   |   |-- Post.class
    |   |   |   |   `-- Post.hbm.xml
    |   |   |   |-- hibernate.cfg.xml
    |   |   |   |-- log4j.properties
    |   |   |   `-- util
    |   |   |       |-- HibernateSessionFactory.class
    |   |   |       |-- HibernateUtil.class
    |   |   |       `-- Service.class
    |   |   |-- faces-config.xml
    |   |   |-- lib
    |   |   |   |-- antlr-2.7.5.jar
    |   |   |   |-- asm-attrs.jar
    |   |   |   |-- asm.jar
    |   |   |   |-- cglib-2.1.3.jar
    |   |   |   |-- common-annotations.jar
    |   |   |   |-- commons-beanutils.jar
    |   |   |   |-- commons-collections-2.1.1.jar
    |   |   |   |-- commons-digester.jar
    |   |   |   |-- commons-lang.jar
    |   |   |   |-- commons-logging-1.0.4.jar
    |   |   |   |-- commons-validator.jar
    |   |   |   |-- dom4j-1.6.1.jar
    |   |   |   |-- el-api.jar
    |   |   |   |-- el-ri.jar
    |   |   |   |-- hibernate3.jar
    |   |   |   |-- jsf-api.jar
    |   |   |   |-- jsf-facelets.jar
    |   |   |   |-- jsf-impl.jar
    |   |   |   |-- jsf-tlds.jar
    |   |   |   |-- jstl.jar
    |   |   |   |-- jta.jar
    |   |   |   |-- log4j-1.2.11.jar
    |   |   |   |-- mysql-connector-java-3.1-nightly-20060403-bin.jar
    |   |   |   `-- standard.jar
    |   |   `-- web.xml
    |   |-- admin
    |   |   |-- admintemplate.xhtml
    |   |   |-- category.xhtml
    |   |   |-- index.xhtml
    |   |   `-- skeleton.xhtml
    |   |-- index.jsp
    |   `-- layout.css
    |-- lib
    |   `-- servlet.jar
    |-- meta
    |   `-- context.xml
    `-- src
        |-- beans
        |   `-- CategoryBean.java
        |-- blog
        |   |-- Category.hbm.xml
        |   |-- Category.java
        |   |-- Comment.hbm.xml
        |   |-- Comment.java
        |   |-- Post.hbm.xml
        |   `-- Post.java
        |-- hibernate.cfg.xml
        |-- log4j.properties
        `-- util
            `-- HibernateUtil.javaAnd, finally, the error message:
    Caused by: java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
         at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:854)
         at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:721)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:164)
         at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:760)
         ... 60 moreI don't really understand how I can setup the CLASSPATH in this
    context. So there should be something else. Does anyone have an
    idea?
    Thanks.
    Igor

    This is what I achived using the <metainf> tags from
    war task in build.xml. Look at the first code
    listing. The
    magic code is:
    <metainf dir="${meta.dir}">
    <include name="context.xml"/>
    </metainf>where ${meta.dir} is defined as ./meta and there
    resides
    the context.xml file (look at the project layout).Very good, thanks.
    Any guesses why Tomcat is not loading mysql jar from
    WEB-INF/lib directory?No. 8(
    My understanding is that JARs in the WEB-INF/lib are visible only to your web app. Those in /common/lib are visible to all apps and the container. Those in /server/lib are visible only to the container and no apps. It SHOULD work from WEB-INF/lib. I've done it that way, but it was an older version of Tomcat.
    Checked the Tomcat docs. They say to put it in /common/lib, but they don't explicitly forbid it in WEB-INF/lib.
    I'll try a simpler example.
    %

  • Drive not found, Help?

    The CD/DVD is no longer recognized by my computer. There is no cd or dvd disks in the drive and I cannot open the drive from computer menu or keyboard. In the System Profiler, there is no device showing under the Disk Burning tab or the ATA Bus device tree tab
    - I have checked the cords on the drive and they are not loose
    - I have also reset the nvram and PRAM
    Also whenever I try to restart my computer a message saying that the disk could not be read and do i want to initialize the disk. Try to initialize and dvd/cd drive does not show up on left tab
    Have the drivers or firmware become corrupted or is it time for a new drive
    Thanks

    Hi, Matthew -
    Welcome to Apple's Discussions.
    There may be something in the drive that you are not aware of.
    Try this to get the drive to open - restart or boot; immediately press the mouse button, keep it held down. This is a hardware instruction to the Mac to eject all removable media, and should cause the drive to open whether there is anything in it or not.
    Another method - restart or boot; immediately press the Option key, keep it held down. This should bring up Startup Manager. Once that has loaded, press Command-. (Command-periodkey) - that command instructs the Mac to open the drive tray. To proceed with booting from Startup Manager, click the icon representing the OS/drive which you want to use, then click the righthand (straight) arrow.
    Article #106178 - Startup Manager: How to Select a Startup Volume
    <hr>
    If you do need to replace the drive, this Apple KBase article provides links to how-to PDFs and movieclips for your G4 (MDD) model -
    http://docs.info.apple.com/article.html?artnum=26259

  • Org.gjt.mm.mysql.Driver under tomcat?

    hi all
    anybody knows where to put this driver under tomcat in order to let my servlet connect to a MySql db?
    thanx all
    sandro

    sandro
    Put the driver on "lib/common/" directory of Tomcat, and since lib is directly located by tomcat when you restart it. You must have to restart the tomcat after copying the file. The folder path may be "/var/tomcat/lib/commomn/" and may vary during installation.
    Cheers
    Rahul//

  • Can some one help me with diagnostic test result " apple mobile device driver not found"?

    I bought an iPhone 4gs 32gb from Singapore. iso 4. I'm living in Chennai, India. To connect it to my computer (windows XP,), I have downloaded iTunes 10.6.1.7. Unfortunately iTunes is not recognizing my iPhone.  I had tried to troubleshoot it by reinstalling iTunes (2 times). I have restarted the apple mobile device from control panel. I try connecting my iphone in another usb port. but no use. I don't know what am I missing?.  iTunes opens on my computer. but doesn't recognize my device. when I click on help. it says an "unknown error has occurred. your computer is not connected to internet. please check your internet connection and try again later". I don't know what to do? could you please help me? thank you so much for your help and time.
    when I update the usb driver (C:\Program Files\Common Files\Apple\Mobile Device Support\Drivers.Double-click the usbaapl file.) I followed the procedure from this site. http://support.apple.com/kb/TS1538 when I finished, it says "the specified location does not contain information about your software"
    I did the apple's diagnostics test on my computer. I'm pasting the result for your info.
    Microsoft Windows XP Professional Service Pack 3 (Build 2600)
    System manufacturer System Product Name
    iTunes 10.6.3.25
    QuickTime not available
    FairPlay 1.14.43
    Apple Application Support 2.1.9
    iPod Updater Library 10.0d2
    CD Driver 2.2.0.1
    CD Driver DLL 2.1.1.1
    Apple Mobile Device 5.2.0.6
    Apple Mobile Device Driver not found.
    Bonjour 3.0.0.10 (333.10)
    Gracenote SDK 1.9.6.502
    Gracenote MusicID 1.9.6.115
    Gracenote Submit 1.9.6.143
    Gracenote DSP 1.9.6.45
    iTunes Serial Number 0013AC2C08548378
    Current user is an administrator.
    The current local date and time is 2012-06-28 15:23:45.
    iTunes is not running in safe mode.
    WebKit accelerated compositing is enabled.
    HDCP is not supported.
    Core Media is supported.
    Video Display Information
    Intel(R) G41 Express Chipset
    **** External Plug-ins Information ****
    No external plug-ins installed.
    **** Network Connectivity Tests ****
    Network Adapter Information
    Adapter Name:        {D85300A1-330D-41ED-AC5A-EC032B22FBF0}
    Description:            Atheros AR8121/AR8113/AR8114 PCI-E Ethernet Controller - Packet Scheduler Miniport
    IP Address:             192.168.1.3
    Subnet Mask:          255.255.255.0
    Default Gateway:    192.168.1.1
    DHCP Enabled:      Yes
    DHCP Server:         192.168.1.1
    Lease Obtained:     Thu Jun 28 15:17:19 2012
    Lease Expires:       Fri Jun 29 03:17:19 2012
    DNS Servers:         192.168.1.1
    Active Connection: LAN Connection
    Connected:             Yes
    Online:                    Yes
    Using Modem:        No
    Using LAN:             Yes
    Using Proxy:           No
    Firewall Information
    Windows Firewall is on.
    iTunes is enabled in Windows Firewall.
    Connection attempt to Apple web site was unsuccessful.
    The network connection timed out.
    Basic connection to the store failed.
    The network connection timed out.
    Connection attempt to Gracenote server was successful.
    The network connection timed out.
    iTunes has never successfully accessed the iTunes Store.
    **** CD/DVD Drive Tests ****
    No drivers in LowerFilters.
    UpperFilters: GEARAspiWDM (2.2.0.1),
    G: Optiarc DVD RW AD-7220A, Rev 1.01
    Drive is empty.
    **** Device Connectivity Tests ****
    iPodService 10.6.3.25 is currently running.
    iTunesHelper 10.6.3.25 is currently running.
    Apple Mobile Device service 3.3.0.0 is currently running.
    Universal Serial Bus Controllers:
    Intel(R) N10/ICH7 Family USB Universal Host Controller - 27C8.  Device is working properly.
    Intel(R) N10/ICH7 Family USB Universal Host Controller - 27C9.  Device is working properly.
    Intel(R) N10/ICH7 Family USB Universal Host Controller - 27CA.  Device is working properly.
    Intel(R) N10/ICH7 Family USB Universal Host Controller - 27CB.  Device is working properly.
    Intel(R) N10/ICH7 Family USB2 Enhanced Host Controller - 27CC.  Device is working properly.
    No FireWire (IEEE 1394) Host Controller found.
    **** Device Sync Tests ****
    No iPod, iPhone, or iPad found.

    I have the same problem. I think that someone tried my iphone before me because when I want to reset it, I'm invited to enter a password that I didn't set. Also, when I go the Map application, the iphone indicate that I'm locateded in China while I'm in Tunisia. Now, I can't connect to my iphone to itunes, and I can't reset it because it ask me to enter a password that I didn't set.
    This is my post:
    https://discussions.apple.com/thread/4063223
    Please, we need your help.

  • Error msg. 1327 Drive not found REALLY NEED HELP

    Hello,
    I recently installed iTunes and ever since then whenever I try to install new software from a website I.E. Adobe.com "Reader" I get an error message saying F:\ drive not found, which there is not F:\ drive.
    I have gone to administrative tools but have only found C:\ drive. Now, when I go to "Run" in the Start menu I see in the browse menu "F:\iTunes.exe and iTunesHelper.exe
    My iTunes does work properly but on start-up do get an msg. saying it was not installed proberly and to re-install.
    I do not want to re-install iTunes for fear I will get the same msg. and not be able to complete install.
    Really need help on this because I need to install Acrobat Reader for work.
    Thanks
    Mark
    [email protected]

    Doublechecking something.
    Could you confirm for us both that error message number and message?
    Checking, because the 1327 error message number usually comes with an "invalid drive" message rather than a "drive not found" message.

  • Old iPod mini can't be recognized after formatting, and iTunes 'Apple Mobile Device Driver not found.'

    My roommate gave me an old iPod Mini a few days ago. It was working fine 'til I plugged it into my computer and it asked me to format it. I did, and now it cannot be recognized by iTunes or my computer. My computer views it as a "removable disk" which cannot be accessed. In devices, it is listed as an Apple iPod though, so I'm hoping not all is lost. I have tried many quick fixes I've read on internet (including changing disk letter) but to no avail. I have reinstalled the new iTunes and now that is telling me it has not installed properly, and when I ran diagnostics, it reads that the Apple Mobile Device Driver not found. I will copy & paste all the info from the diagnostic run below, and if anybody can help me with my new (old) iPod, I'd be everly greatful!
    Thanks!!
    Microsoft Windows 7 x64 Home Premium Edition Service Pack 1 (Build 7601)
    TOSHIBA Satellite L775D
    iTunes 11.0.1.12
    QuickTime 7.7.3
    FairPlay 2.2.32
    Apple Application Support 2.3.2
    iPod Updater Library 10.0d2
    CD Driver Not Available
    CD Driver DLL 2.1.3.1
    Apple Mobile Device 6.0.1.3
    Apple Mobile Device Driver not found.
    Bonjour 3.0.0.10 (333.10)
    Gracenote SDK 1.9.6.502
    Gracenote MusicID 1.9.6.115
    Gracenote Submit 1.9.6.143
    Gracenote DSP 1.9.6.45
    iTunes Serial Number
    Current user is not an administrator.
    The current local date and time is 2013-01-08 11:16:27.
    iTunes is not running in safe mode.
    WebKit accelerated compositing is enabled.
    HDCP is supported.
    Core Media is supported.
    Video Display Information
    ATI Technologies Inc., AMD Radeon(TM) HD 6520G   
    **** External Plug-ins Information ****
    No external plug-ins installed.
    **** Device Connectivity Tests ****
    iPodService 11.0.1.12 (x64) is currently running.
    iTunesHelper 11.0.1.12 is currently running.
    Apple Mobile Device service 3.3.0.0 is currently running.
    Universal Serial Bus Controllers:
    Standard OpenHCD USB Host Controller.  Device is working properly.
    Standard Enhanced PCI to USB Host Controller.  Device is working properly.
    No FireWire (IEEE 1394) Host Controller found.
    Most Recent Devices Not Currently Connected:
    iPod mini running firmware version 1.4.1
    Serial Number:    JQ******S42
    <Edited By Host>

    OMG same thing here; rather annoyed and now have set up accounts on 2 comps(both 64 vista ultimate); about to try my 32 bit vista on my lappy; we'll see... i don;t have high hopes thoush.
    What i knew about iPhone before buying it:
    What You Need
    To use iPhone, you need:
    A new two-year wireless service plan with AT&T
    A Mac or a PC with a USB 2.0 port and one of the following operating systems:
    Mac OS X version10.4.10 or later
    Windows XP Home or Professional with Service Pack 2 or later
    Windows Vista Home Premium, Business, Enterprise, or Ultimate edition
    iTunes 7.3 or later, available at www.itunes.com
    An iTunes Store account
    An Internet connection
    You must be at least 18 years old to open a new AT&T wireless account. You will need a
    major credit card to open a new iTunes Store account.
    Yeahyeah check all that stuff;
    Oh well; just when i thought i'd finally cross over to the beautiful packaging of APPLE. I remember in design school that form follows function. Thanks.
      Windows Vista  

Maybe you are looking for

  • HT4847 Where can I go to see all my pictures and music in my icloud?

    I find icloud to be very unorganized and difficult to use - maybe i'm just unaware how to use it - in a perfect world there would be a page that i could go to that has EVERTHING that is in my cloud very clearly labeled - MUSIC, PIX, DOCS, CALENDERS,

  • URGENT  timout problems with bc4j

    Hello Jdev Team, We have a serious problem with the BC4J. The situation is as follows: We use BC4J with jsp pages an run the whole thing on a j2ee Container. We have written our own ApplicationPool class and ApplicationModule datatag because the user

  • Non-TouchP​ad games locked into portrait mode

    Since the recent app market update newly installed non-TouchPad games display in portrait mode only, even though they are landscape games. e.g. Angry Birds Seasons I've reproduced this with two TouchPads The first instance was installing the games fo

  • 2009 iMac freezing, here's etrecheck's summary?

    Hi, I would love advice on how to resolve this problem: My 2009 iMac freezes after 30-45 minutes of internet browser usage. (Regardless of browser type) It will usually start with a full freeze, and then after 5 minutes the mouse cursor will move but

  • My mac pro is only on os 10.5.8 can i bring it into an apple store to get it fully updated ?

    my macbook pro was bought of someone from ebay and i was given all the papaer work for it all ad everything but its only on mac os 10.5.8 and i cant find a way to fully update it too the 10.9 latest os x version of software and i wanted to know if i