How to setting up the sun.jdbc driver in servlet

in my servlet i implemens the MetaData Interface, The Sun JDBC driver was Not support the getMetaData() function .. I dont knw why it was
Pls hel me

http://www.apple.com/support/iphone/assistant/airprint/

Similar Messages

  • How can i use the weblogic jdbc driver for sqlserver?

    hello
    i have downloaded and installed the weblogic on my windows2000 server,then i want to use the weblogic jdbc driver for sqlserver2000 outside of the weblogic,as follow:
    1 add following string to my classpath environment of the wndows2000: E:\bea\wlserver6.1\lib\mssqlserver4v65.jar
    2 then i write a test program as:
    import weblogic.jdbc.mssqlserver4.Driver;
    import java.sql.*;
    public class test{
    public static void main(String argv[]){
    try{ Class.forName("weblogic.jdbc.mssqlserver4.Driver");
    Connection
    conn=DriverManager.getConnection"jdbc:weblogic:mssqlserver4:localhost:1433","sa",""); }catch(Exception e){ System.out.println(e.getMessage()); }
    4 when i execute it,it throw a exception:
    Exception in thread "main" java.lang.NoClassDefFoundError: weblogic/version at weblogic.jdbc.mssqlserver4.TdsStatement.getLicenseStr(TdsStatement.java:2665) at weblogic.jdbc.mssqlserver4.TdsStatement.microsoftLogin(TdsStatement.java:2474) at weblogic.jdbc.mssqlserver4.MicrosoftConnection.beginLogin(MicrosoftConnection.java:42) at weblogic.jdbc.mssqlserver4.TdsConnection.login(TdsConnection.java:57) at weblogic.jdbc.mssqlserver4.MicrosoftConnection.login(MicrosoftConnection.java:53) at weblogic.jdbc.mssqlserver4.BaseConnection.prepareConnection(BaseConnection.java:187) at weblogic.jdbc.mssqlserver4.Driver.newConnection(Driver.java:34) at weblogic.jdbc.mssqlserver4.ConnectDriver.connect(ConnectDriver.java:151) at java.sql.DriverManager.getConnection(DriverManager.java:517) at java.sql.DriverManager.getConnection(DriverManager.java:177) at test.main(test.java:7)
    who can help me?thank you!

    Hi,
    Mail me the jar file as I am using Weblogic 6.1 to my email id [email protected]
    Else tell me the site from where u have downloaded and i will do the same.
    I will test the same and let you know.
    Thanks,
    Seetesh

  • How do I get the SUN jdbc-odbc bridge to work?

    Hi,
    I'm trying to us the SUN 1.2 jdbc-odbc bridge on Oracle 8.
    I have installed the ODBC driver from www.intersolv.com
    (Merant) and have successfully tested it.
    I have SUN 1.2 installed and verified that
    the sun JdbdOdbcDriver is in my CLASSPATH.
    My driver path is:
    sun.jdbc.odbc.JdbcOdbcDriver
    My url is
    jdbc:odbc:Oracle8
    my odbc.ini is correct, and my ODBCINI is set.
    when I try to connect I get "No suitable driver".
    The SUN documentation indicates this error means
    my shared libraries aren't correct, but I have
    verified my ODBC setup with a odbc demo app.
    Any suggestions on how to form my url?
    Has anyone used the bridge on Solaris?
    null

    The display is just too dim.  I tried the brightness and backlight settings and these do not work.  This has been like this since I bought it.  Never bothered to deal with it before and just made do with reading a very dim menu.

  • How can i find the available JDBC driver name?

    hi,
    can anyone tell me how can i find the JDBC driver name in XI

    Hi
    The available JDBC drivers can be viewed in the file found in the following path in ur XI  server
    :\usr\sap\XR3\DVEBMGS00\j2ee\cluster\server0\bin\ext\
    regards
    krishna

  • How to use the oracle jdbc driver

    hi all,
    i have use the jdbc driver for oracle before but this time i<m under a hp-ux system and it seems to be different
    the dba here said the odbc driver and the jdbc driver where install but i get this error when i compile the code
    Class oracle.jdbc.driver.OracleDriver not found in type declration.
    if i try to use a odbc driver i can compile(since the classes are in jdk1.3) but i get this error at run time
    java.sql.SQLException: No suitable driver
    at java.sql.DriverManager.getConnection(Compiled Code)
    at java.sql.DriverManager.getConnection(DriverManager.java:126)
    at TestOracle.<init>(TestOracle.java:33)
    at TestOracle.main(TestOracle.java:126)
    can someone help me out to better understand what is wrong
    it seems the drivers are not install but again the dba assures me they are
    import java.sql.*;
    import java.io.*;
    public class TestOracle {
    public TestOracle()
    // Load the Oracle JDBC driver
    // Connect to the database
    // search the dossiers numbers in the right table depending on criteria
    // if demands comes from extranet verify to only send back the dossier
    // numbers that are linked to the customer
    // Load the Oracle JDBC driver
    try
         //DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
         //Class.forName("oracle.djbc.driver.OracleDriver");
         Class.forName("sun.jdbc.odbc.JdbcOdbcDriver").newInstance();
    catch( Throwable t ){t.printStackTrace();}
    //SQLException,IOException,ClassNotFoundException,
    //IllegalAccessException,InstantiationException
    try
         // Connect to the database
         // You can put a database name after the @ sign in the connection URL.
         Connection conn =
              //DriverManager.getConnection ("jdbc:oracle:oci8:@COLDDEV", "USER", "PPP");
              DriverManager.getConnection("jdbc:odbc:COLDDEV","USER", "PPP");
         Statement stmt = conn.createStatement ();
         ResultSet r = stmt.executeQuery("select * from Dossier");
         stmt.close();
         System.out.println("trouver:" + r.getString("Dossier_Number"));
    catch (SQLException e){e.printStackTrace();}
    public static void main(String[] args)
    TestOracle testOracle1 = new TestOracle();
    here is the code iuse

    http://forum.java.sun.com/thread.jsp?forum=48&thread=187964&start=0&range=15#608968
    The above link is a comprehensive "How to get set up and on my way" that I made for someone else learning Oracle/jdbc. Kind of a self-help resource page. I would start from the beginning and download the newest drivers, then set up your environment,...etc.
    hope this helped,
    Jamie

  • How to use the latest jdbc driver in weblogic61beta?

    weblogic61 comes with mssqlserver4v65.jar,
    currently the latest jdbc driver is mssqlserver4v70sp10
    but seems the license and directory structure is only for
    weblogic51. I tried to use it for weblogic61beta, but it failed.
    please advice. thanks

    here's the stack trace when I tried to use the latest jdbc driver
    other than the one comes with weblogic61beta
    The WebLogic Server did not start up properly.
    Exception raised: java.lang.NoSuchMethodError
    java.lang.NoSuchMethodError
    at weblogic.management.internal.xml.ConfigurationParser$ConfigurationHandler.parseMBeanAttri
    butes(ConfigurationParser.java:300)
    at weblogic.management.internal.xml.ConfigurationParser$ConfigurationHandler.startElement(Co
    nfigurationParser.java:185)
    at weblogic.apache.xerces.parsers.SAXParser.startElement(SAXParser.java:1340)
    at weblogic.apache.xerces.validators.common.XMLValidator.callStartElement(XMLValidator.java:
    1183)
    at weblogic.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumentScanner.java:1
    862)
    at weblogic.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumen
    tScanner.java:1005)
    at weblogic.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:381
    at weblogic.apache.xerces.framework.XMLParser.parse(XMLParser.java:967)
    at weblogic.management.internal.xml.ConfigurationParser.parse(ConfigurationParser.java:104)
    at weblogic.management.internal.xml.XmlFileRepository.loadDomain(XmlFileRepository.java:261)
    at weblogic.management.internal.xml.XmlFileRepository.loadDomain(XmlFileRepository.java:223)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:587)
    at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:573)
    at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:31
    9)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:437)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:178)
    at $Proxy1.loadDomain(Unknown Source)
    at weblogic.management.AdminServer.configureFromRepository(AdminServer.java:186)
    at weblogic.management.AdminServer.configure(AdminServer.java:171)
    at weblogic.management.Admin.initialize(Admin.java:229)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:354)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:197)
    at weblogic.Server.main(Server.java:35)
    Reason: Fatal initialization exception
    "Jason Chen" <[email protected]> wrote:
    >
    weblogic61 comes with mssqlserver4v65.jar,
    currently the latest jdbc driver is mssqlserver4v70sp10
    but seems the license and directory structure is only for
    weblogic51. I tried to use it for weblogic61beta, but it failed.
    please advice. thanks

  • Noise on the photo. How to set up the camera?

    Noise on the photo. How to set up the camera?
    Phone has become worse to do a pictures. A lot of noise on the photo. Often photo obtained not clear, smeared. I've heard that i can configure through iTunes. But I do not know how?? Or tell me another way to set up and adjust the camera.
    All updates are installed.
    I have the iPhone 5 (Just 5)

    OS X was designed long before the advent of SSD and the built in assumption is that everything would exist on the boot drive. If you want to change that, you'll need to do it manually. If I had an iMac with an SSD (a MBA has become my main computer) I'd leave the OS and applications on it and move at least some of my files to the standard hard drive - certainly all the media (music and video).
    The techs I work with have been arguing (politely) about the benefits of their own setups. One moved the entire User's directory to the standard drive. Copy your files by dragging, open Groups & Users in the System Preferences, option click on each account name and then point to the new location of the user's directory. Test that it works before deleting the directory from the SSD.
    The other kept his Users directory on the SSD but moved everything but the Library folder, then he put aliases of the folders into his user directory and dragged new folders into the Finder window sidebar. His argument is that many programs keep a hefty number of files in the Application Support folder and keeping them on the SSD lets the program start faster. Since I've not done any testing I can't say yes or no.

  • How to know which type of jdbc driver used in my application

    How to know which type of jdbc driver used in my application.

    My approach will be....
    Type1: you have to have ODBC s/w install on your machine...even the connection string starts with jdbc:odbc....so it can be identifed easily
    Type2: you have to install client s/w in your machine...if you are using oracle oci driver ...you need to install oracle client s/w
    Type3: you use servername / port to connnect to middleware
    Type4: you do not need any client s/w
    So, If your application works without any client s/w on your machine....you might be using Type4/Type3 driver.....otherwise Type2
    Someone pls add more ....

  • TS3899 I can't SEND email from Telus account in Alberta, Canada? Does anyone know how to set up the Outgoing server? Help! And thanks!

    Can't SEND email from Telus account in Alberta, Canada, unless I go to web mail. Does anyone know how to set up the Outgoing server? Incoming is fine. Outgoing used to work. We changed it when we went to another location, and can't get it back. Telus support can't fix it. Neither smtp.telus.net NOR mail.telus.net works for Outgoing server to send mail. Please help! Thanks.

    iOS: Unable to send or receive email
    http://support.apple.com/kb/TS3899
    Can’t Send Emails on iPad – Troubleshooting Steps
    http://ipadhelp.com/ipad-help/ipad-cant-send-emails-troubleshooting-steps/
    Setting up and troubleshooting Mail
    http://www.apple.com/support/ipad/assistant/mail/
    Server does not allow relaying email error, fix
    http://appletoolbox.com/2012/01/server-does-not-allow-relaying-email-error-fix/
    Why Does My iPad Say "Cannot Connect to Server"?
    http://www.ehow.co.uk/info_8693415_ipad-say-cannot-connect-server.html
    iOS: 'Mailbox Locked', account is in use on another device, or prompt to re-enter POP3 password
    http://support.apple.com/kb/ts2621
    iPad Mail
    http://www.apple.com/support/ipad/mail/
    Try this first - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.)
    Or this - Delete the account in Mail and then set it up again. Settings->Mail, Contacts, Calendars -> Accounts   Tap on the Account, then on the red button that says Remove Account.
     Cheers, Tom

  • I need to set up 12 iPad 3s to train groups of teachers in one-day workshops.  Any suggestions as to how to set up the iPads for multiple users?

    I have 12 iPad 3s that I want to set up to train multiple groups of teachers on in anticipation of purchasing classroom sets eventually.  I am looking for suggestions in how to set up the iPads to be used by multiple users.

    Managing Multiple iPads/iPods in a School Setting
    http://courses.moodleshare.com/course/view.php?id=162
     Cheers, Tom

  • How to set  up the loop?

    I am trying to create a Frame, using BorderLayout and every time we click the center button, it will change the color in one of the region. But I dont know how to set up the loop to make it change one at a time. Below is my draft......Thanks for helping.......
    Test.java
    import java.applet.*;
    import java.awt.*;
    import java.awt.event.*;
    public class Test extends Applet implements ActionListener
              Color []color={Color.red,Color.blue,Color.black,Color.green};
              private Button nb=new Button("North Button");
              private Button sb=new Button("South Button");
              private Button eb=new Button("East Button");
              private Button wb=new Button("West Button");
              private Button cb=new Button("Center Button");
              int buttonCount=0;
              public void init()
                   setLayout(new BorderLayout());
                   add(nb,"North");
                   add(sb,"South");
                   add(eb,"East");
                   add(wb,"West");
                   add(cb,"Center");
                   cb.addActionListener(this);
                   buttonCount=0;
              public void actionPerformed(ActionEvent e)
                   for (int i=0;i<color.length;i++)
                        buttonCount++;
                        if (buttonCount%2==0)
                             nb.setBackground(color);
                        if (buttonCount%2==1)
                             sb.setBackground(color[i]);

    declare a public variable count;
    int count=0;
    public void actionPerformed(ActionEvent e)
    buttonCount++;
    count++;
    if(count==color.length)
    count=0;
    if (buttonCount%2==0)
    nb.setBackground(color[count]);
    if (buttonCount%2==1)
    sb.setBackground(color[count]);
    hope you got it.

  • Multiple versions of the same JDBC driver - OK ?

    Hello
    We are using SJSAS 8.1 on our production server, it makes access to an Oracle database for user authentication and thus we have a copy of the Oracle thin driver ojdbc14.jar located in the directory.
    <sjsas_install>/lib
    Each of our web applications also access an Oracle database and thus the build of each web application includes the same oracle jar file in the directory
    domains/domain1/applications/j2ee-modules/<name_of_web_app>/WEB-INF/lib/
    This is all good and it works OK. In a perfect world where CLOBs had not been invented that would be the end of the story.
    However in order to get around the nightmare of JDBC, Oracle and CLOBs I am contemplating using a different version of the JDBC driver for one web app only.
    If I were to build one of the web apps to include a different revision of the Oracle JDBC driver, what are the chances of that web application sticking to its intended version and other applications sticking to theirs ?
    We currently use Oracle's JDBC driver version 9.2.0.8 I am contemplating using 10.2.0.3 but I do not want to mess with the version used by other web apps.
    Any help you can give me would be very much appreciated.
    Thank you

    Hi Kim,
    May be you can try this and see if this works for you. I am not 100% sure if it will work for you, but worth a try I guess. Create a Test WebDynpro project and try the following steps on this project. If they work  out correctly and serve the purpose for you only then try them on your actual Web Dynpro project.
    1. Create a test Web Dynpro project  say "TestWDProject" with Component say "Comp1" and the default views and windows etc.
    Also create some working application our of this component and Windows using the Context.
    2. Right click the "Comp1" and select Copy.
    3. Right click 'Components" node in the project structure and select "Paste"
    4.This step will try to paste the copy of Comp1 as a new Component.
    5. You can change the Name and Package of the Component.
    6.Similarly you'll get the prompts for views,windows etc.
    7.Once you have copied everything, Just check if everything looks good.
    8.Now you can create a new Application using this new component and the Component Interface View and Deploy it.
    9.Test whether the Application created out of this copy works same as the original component.
    You can also try to create another Web Dynpro project and paste the Comp1 in the Components node of that new project and perform the same steps.
    Again, try with these Test Projects and see if this serves your purpose before applying the steps on actual projects.
    Regards,
    Ajay

  • How to set up the interaction between InDesign CS6 8.0 and Photoshop CS 6 - if Photoshop is installed and the 64 and 32-bit?? default InDesign refers to the 64-bit version of Photoshop and scripts do not work.

    how to set up the interaction between InDesign CS6 8.0 and Photoshop CS 6 - if Photoshop is installed and the 64 and 32-bit?? default InDesign refers to the 64-bit version of Photoshop and scripts do not work.

    Nice of you to point it out here as I at least don’t follow Mr.Nash’s blog regularly.

  • I have iMovie 09. I just erased my external hard drive, but it is still formatted for the mac. However, iMovie will not recognize the hard drive. It shows the only hard drive available is the computers. How do I get the external hard drive to show up?

    I have iMovie 09. I just erased my external hard drive, but it is still formatted for the mac. However, iMovie will not recognize the hard drive. It shows the only hard drive available is the computers. How do I get the external hard drive to show up?

    In Finder's Menu, select Go menu>Go to Folder, and go to "/volumes". (no quotes)
    Volumes is where an alias to your hard drive ("/" at boot) is placed at startup, and where all the "mount points" for auxiliary drives are created for you to access them. This folder is normally hidden from view.
    Drives with an extra 1 on the end have a side-effect of mounting a drive with the same name as the system already think exists. Try trashing the duplicates with a 1 or 2 if there are no real files in them, and reboot.
    If it does contain data...
    http://support.apple.com/kb/TS2474

  • A BUG in the KPRB JDBC driver

    Hi community,
    the problem I would like to present here seems to be a BUG in the KPRB (server-side) JDBC driver. To be precise, I am going to outline the platform I found the problem occurs (I haven't made any tests with the others yet). These are Oracle 8.1.6-8.1.7.4 databases.
    What I am trying to do is to write a Java Stored Procedure and return a nested table from it. Nothing easier than that!? The important aspect is I cannot (shouldn't) hardcode schema name in the call to the oracle.sql.ArrayDescriptor.createDescriptor() method since the Stored Procedure and the accompanied nested table (SQL) type can be loaded into arbitrary schema. Thus, my code looks like:
    Connection con = DriverManager.getConnection("jdbc:default:connection:");
    ArrayDescriptor arrDesc = ArrayDescriptor.createDescriptor("NESTED_TABLE_TYPE_NAME",con);
    You can note, NESTED_TABLE_TYPE_NAME is the nested table type I create in the same schema the Stored Procedure is loaded. What wrong with it? Actually, it works perfectly fine if You call the Stored Procedure being logged as the owner of the Procedure. The problem occurs if You grant the execute rights to other users and try to call it being logged as one of them. What happens is Oracle doesn't find the nested table type and throws an exception.
    Does it mean such behavior implies a BUG? Oracle reference states that if either the PL/SQL wrapper for the Java Stored Procedure or the class itself are marked as having DEFINER privileges the call proceeds in the schema of the definer, not the caller. Actually, I tried to declare the PL/SQL wrapper as well as the class having DEFINER privileges and none of them succeded.
    Then I made some investigations, and found in the Thin JDBC driver the ArrayDescriptor.createDescriptor method uses the oracle.sql.SQLName class, which in turn calls the oracle.jdbc.driver.OracleConnection.getUserName() method to obtain the missing schema name, and the latter performs select:
    SELECT USER FROM DUAL
    Obviously, the above returns current user, and not the current schema in the case DEFINER privileges were applied. I understand, the Thin JDBC driver is different from the KPRB driver but!!! I also monitor Library Cache (through v$sql dynamical view) while calling the Stored Procedure and what I see is very interesting ;-) The number of executions for the "SELECT USER FROM DUAL" statement increases!!!
    That is why I claim the above behavior is a BUG of the KPRB driver.
    Regards,
    Roman Zahorbenski

    Hi Avi,
    Because you didn't grant access permission to other users on the NESTED_TABLE_TYPE_NAME (maybe?)Of course, I remember to grant (EXECUTE) privilege on the nested table type to other users. The reason are not synonyms also, for Oracle doesn't allow to access these types through synonyms, unfortunately.
    And the applications can be tons ;-), I use it to implement regular expression functionality in the databases prior to 9i.
    Regards,
    Roman

Maybe you are looking for