JDBC connection problems using JDeveloper

I am using the "Connection Manager" in JDeveloper 2.0 to create
a connection with the "Oracle JDBC OCI-7" driver. After filling
in all of the fields and pressing the "Test Connection" button I
get the following error: "Invalid Oracle URL specified:
OracleDriver.connect". I have the CLASSPATH set to point
to "C:\Program Files\Oracle\JDeveloper 2.0\jdbc\lib\oracle7.3.4
\classes111.zip" and PATH includes "C:\ORANT\bin". Any ideas?
null

Rick Wright (guest) wrote:
: I am using the "Connection Manager" in JDeveloper 2.0 to
create
: a connection with the "Oracle JDBC OCI-7" driver. After
filling
: in all of the fields and pressing the "Test Connection" button
I
: get the following error: "Invalid Oracle URL specified:
: OracleDriver.connect". I have the CLASSPATH set to point
: to "C:\Program Files\Oracle\JDeveloper 2.0
\jdbc\lib\oracle7.3.4
: \classes111.zip" and PATH includes "C:\ORANT\bin". Any ideas?
In order for OCI to work JDBC drivers have to be installed on
your client machine i.e. the computer where Jdev is installed.
In you installation pack there should be a CD with Oracle 8i
client installation. Run the installer from that CD and choose
JDBC drivers. That should help.
Good luck,
Michael
null

Similar Messages

  • MSSQLServer jdbc connect problem on ODI 11G R2

    I have a MS SQL Server jdbc connect problem on ODI 11G R2 / Windows server 2008 64 bits.
    Tried, one by one, all versions of Microsoft drivers.
    Sqljdbc4.jar copied to : %appdata%\odi\oracledi\userlib\
    The Topology connect syntax is :
    driver: com.microsoft.sqlserver.jdbc.SQLServerDriver
    URL : jdbc:sqlserver://<host>:1433
    => All the topology tests end with time-outs.
    Installed 10G ODI.
    Works with 1.4 java and sqljdbc.jar version 2 jdbc driver.
    Times out with version 3 and/or Sqljdbc4.jar + JAVA_HOME & ODI_JAVA_HOME set to 1.6 path.
    also tried, with no success (time-outs) on either 10g or 11g :
    com.inet.tds.TdsDriver
    jdbc:inetdae7://<host>:1433?database=<DB>
    same results for :
    net.sourceforge.jtds.jdbc.Driver
    jdbc:jtds:sqlserver://<host>:1433
    Any suggestions for a fix?
    Many thanks in advance.

    Hello,
    ODI (11g) Studio is certified on Windows 32 bit only, not on 64bit.
    However you may still install it and configure ODI Studio to run with a 32 bit java.
    Details pls see Master Note For ODI 11g Install Issues And Questions (Doc ID 1214428.1).
    To connect to SQL Server:
    # Check and make sure the authentication mode of your Microsoft SQL Server Server is set to "SQL Server and Windows" or "Mixed", otherwise Oracle Data Integrator (ODI) is unable to connect to the database.
    # Before you create the Oracle Data Integrator (ODI) Dataserver in Topology Manager > Physical Architecture, stop all ODI processes, and place the JDBC Driver file in the ODI's userlib and "/drivers" folder.
    For ODI Studio (Local No Agent)
    %APPDATA%\odi\oracledi\userlib
    %APPDATA% is the Windows Application Data directory for the user (usually C:\Documents and Settings\<user>\Application Data).
    Standalone Agent
    ODI_HOME\oracledi\agent\drivers
    Note: If you decide to use the DataDirect driver that comes with ODI 11g install/ embedded in ODI 11g
    weblogic.jdbc.sqlserver.SQLServerDriver
    Then you don't need to worry about this step.
    # Make sure that the database is the default database of the user account employed by ODI for connection, and that the password is correct.
    # Verify (in your Microsoft SQL Server Server network configuration) that TCP/IP has been enabled on port 1433.
    For more details see How To Set Up JDBC Driver Connections For The Microsoft SQL Server For ODI (Doc ID 423914.1)
    If you try sqljdbc.jar, you need to configure ODI_JAVA_HOME to jdk1.5
    sqljdbc4.jar, jdk1.6 (since ODI 11g requires jdk1.6, I'd suggest sqljdbc4.jar)
    More see Compatibility Matrix For Java Machines And JDBC Drivers Used With ODI (Doc ID 807235.1)
    Hope that helps other people who run into this,
    Edited by: user742480 on Apr 4, 2011 12:06 PM

  • SAP Crystal Reports data source connection problem using sap business one

    Hi,
    I m facing a problem regarding: SAP Crystal Reports data source connection problem using sap business one
    I am trying to create a Crystal report but when I try to configure a new connection it does not work.
    I select Sap Business One data source and try to complete the information required to connection but it does not list my companies databases, what is the problem?
    Our Current SAP related software details are as follows:
    OS: Windows Server 2008
    SAP B1 Version: SAP B1 9 (902001) Patch 9
    SAP Crystal Report Version: 14.0.4.738 RTM
    Database: MS SQL Server 2008 R2
    I have also added some screenshots of the issues.
    Please have a look and let me know if you have any questions or any further clarifications.
    I m eagerly waiting for a quick and positive reply.

    Hi,
    There is problem with SAP Business One date source.
    I had faced same problem, I used OLEDB Data-source, and it worked fine for me.
    So, try to use OLEDB.
    Regards,
    Amrut Sabnis.

  • STRUTS - JDBC connection problem

    im using tomcat 5.5.9, jdk 1.5, oracle database...
    � have a project in struts...
    my project works with my compiler with no problem...
    *i setup tomcat on C:\jakarta-tomcat-5.5.9
    and � made these setting for tomcat:
    � added these strings to my CLASSPATH
    --C:\jakarta-tomcat-5.5.9\common\lib\servlet-api.jar
    --C:\jakarta-tomcat-5.5.9\common\lib\jsp-api.jar
    after � deployed my project under tomcat there was a "classes12.zip" file under this path:
    C:\jakarta-tomcat-5.5.9\webapps\BILGISU\WEB-INF\lib
    � changed it to class.jar
    also � have other .jars under the same path above.
    these jars are:
    classes12.jar
    commons-beanutils.jar
    commons-collections.jar
    commons-dbcp.jar
    commons-digester.jar
    commons-fileupload.jar
    commons-lang.jar
    commons-logging.jar
    commons-pool.jar
    commons-validator.jar
    jakarta-oro.jar
    jdbc2_0-stdext.jar
    struts.jar
    struts-legacy.jar
    THE PROBLEM IS:
    my index page is a "login" page..
    i can open the login page under tomcat.
    but when � enter the username and password, page says it is wrong username or password although these are true parameters...
    i think i still have a connection problem but � dont know how to solve...
    MY SEARCHES SAYS:
    you have to reconfigure "C:\jakarta-tomcat-5.5.9\conf\server.xml" like that:
    <Resource name="jdbc/myoracle"
    auth="Container"
    type="javax.sql.DataSource"
    driverClassName="oracle.jdbc.driver.OracleDriver"
    url="jdbc:oracle:thin:[email protected]:1521:mysid"
    username="scott"
    password="tiger"
    maxActive="20"
    maxIdle="10"
    maxWait="-1"/>
    Resource name="jdbc/myoracle" ->HERE WHAT IS "myoracle"??? DOES IT BELONG TO MY PROJECT?
    you have to reconfigure "C:\jakarta-tomcat-5.5.9\conf\web.xml" like that:
    <resource-ref>
    <description>Oracle Datasource example</description>
    <res-ref-name>jdbc/myoracle</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    will i write this to my web.xml
    and what is "auth=Container" here???????
    thanks in advance
    yasin

    ONE MORE QUESTION
    Im defining the datasource in my "struts-config.xml"
    do i have to define them again in "tomcat/conf/server.xml" ...

  • App Server 8.1 JDBC Connection problem

    Dear Expert,
    Cu are using Sun Java System Application Server Enterprise Edition 8.1. Cu created one jdbc connection pool and datasource. They are called
    jdbc/RM
    From the App Server Admin Console -> Connection Pool, cu can "Ping" the database via the connection pool.
    Cu did the configuration on web.xml and sun-web.xml
    web.xml
    <resource-ref>
    <description>Oracle Database Connection - Rawmart</description>
    <res-ref-name>jdbc/RM</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    sun-web.xml
    <resource-ref>
    <res-ref-name>jdbc/RM</res-ref-name>
    <jndi-name>jdbc/RM</jndi-name>
    </resource-ref>
    In customer class,
    220: protected void initDataSource() throws NamingException {
    221: initContext = new InitialContext();
    222: envContext = (Context) initContext.lookup("java:comp/env");
    223: String dataSource = rConfigObject.getConfigValue("DATASOURCE");
    224: rDataSource = (DataSource) envContext.lookup(dataSource);
    225: }Exception occurs on line no. 222 already.
    From server.log, we get
    ================
    #|2005-06-03T11:36:11.562+0800|WARNING|sun-appserver-ee8.1|javax.enterprise.system.stream.err|_ThreadID=10;|
    javax.naming.NameNotFoundException: No object bound for java:comp/env [Root exception is java.lang.NullPointerException]
    at com.sun.enterprise.naming.java.javaURLContext.lookup(javaURLContext.java:161)
    at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:288)
    at javax.naming.InitialContext.lookup(InitialContext.java:351)
    at com.ns.DBObject.initDataSource(DBObject.java:222)
    at com.ns.DBObject.connectPool(DBObject.java:213)
    at com.ns.DBObject.<init>(DBObject.java:91)
    at com.ns.DBObject.getInstance(DBObject.java:122)
    at com.ncharter.NCContextListener.contextInitialized(NCContextListener.java:28)
    at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4010)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4525)
    ===============
    Do you have any ideas on this problem? Thanks.
    Regards,
    Angus

    Try asking the Customer to fire up the JNDI browser in the admin console and try to browse the JNDI tree.
    What class is the InitialContext.lookup() happening in? Is that getting executed in the servlet class or a standalone client?
    thanks.

  • Jdbc connection problem

    Hi All,
    I have problem with connection to Oracle database using both 'oci8' and 'thin' types for java application run within j2ee version 1.2.1 Error messages below.
    If I use oci8 with stand-alone java application the connection and data access work fine.
    I use:oracle 8i (817); jdk 1.2.2; j2ee 1.2.1 on window 2000
    Please help - thanks
    binam
    The Errors: with oci8:
    connection ERROR...access denied (java.lang.RuntimePermission loadLibrary.ocijdbc8 )
    The Error with: "thin":
    oracle.net.TNSAddress.SOException
    at oracle.net.TNSAddress.ServiceAlias.initFromNVPair(Unknown Source)
    at oracle.net.TNSAddress.ServiceAlias.initFromString(Unknown Source)
    at oracle.net.resolver.AddrResolution.resolveAddrTree(Unknown Source)
    at oracle.net.resolver.AddrResolution.resolveAndExecute(Unknown Source)
    at oracle.net.ns.NSProtocol.establishConnection(Unknown Source)
    at oracle.net.ns.NSProtocol.connect(Unknown Source)
    at oracle.jdbc.ttc7.TTC7Protocol.connect(TTC7Protocol.java:1213)
    at oracle.jdbc.ttc7.TTC7Protocol.logon(TTC7Protocol.java:209)
    at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:249)
    at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:365)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:260)
    at java.sql.DriverManager.getConnection(DriverManager.java:457)
    at java.sql.DriverManager.getConnection(DriverManager.java:137)
    at Employee.main(Employee.java:23)

    Hello!
    I had this same problem using thin. Then I changed tnsname in getConnection by address:port:sid. Like below.
    conn = DriverManager.getConnection ("jdbc:oracle:thin:@XXX.XXX.XXX.XXX:1521:SIDNAME","LOGIN","PASSWORD");
    It worked very well.
    null

  • SVN Connection problem in JDeveloper

    Iam using Jdeveloper 10.1.3 .
    I did as given in
    http://www.oracle.com/technology/products/jdev/htdocs/partners/addins/exchange/subversion/subversion.html
    Updated JDeveloper with Subversion VCS extension
    Installed SVN Version 1.3.2
    Created Repository in C://repos
    Repository URL :
    svn://localhost
    Testing connection...
    svn: Expected format '3' of repository; found format '5'
    Connection test failed.
    I don't know the cause of this problem.Kindly enlighten my knowledge...............

    Hi,
    Maybe this helps:
    1) Start svn daemon
    svnserve -d -r <RepositoryPath>
    2) Change URL to svn://localhost/<Repositoryname>
    see also svn://localhost/<Repositoryname>
    regards
    Peter

  • Test JDBC connection problem

    Hi all,
    I got a very weird problem when I click Test Connection Button.
    I installed xml publisher Enterprise 5.6.2 in the server, I attempt to configure Jdbc connection in this server. once I click the Test Connection Button after I input all information, all information will be cleaned in this server, i can not get any message if the connection works well.But if i use url like http://serverIP:15101/xmlpserver/ to login xml publisher on other machine, I will get successful or error message.
    who has same experience in JDBC configuration?how to solve it ,thanks in advance.

    Apologies ... not really sure what the issue is. I assume you are talking about setting up the JDBC connection for a data source?
    In that case the entries would be something like:
    connection string: jdbc:oracle:thin:@host.company.com:1525:ora10g
    un: oe
    pw oe
    driver class: oracle.jdbc.driver.OracleDriver

  • Filemaker JDBC connection problem

    I wonder if anyone with a lot of initiative and intelligence can help me with a connection problem.
    An ordinary copy of the Filemaker Pro database only accepts local JDBC connections - i.e. from the same machine.
    That's Ok because I also have a very expensive Filemaker Server license and Filemaker Server accepts connections from anywhere.
    However this causes me rather boring testing problems. My portable computer, where I write all my code, is a dual-boot machine (Windows and Linux), and for testing purposes I want to use an ordinary copy of Filemaker Pro on the Windows part, and throw queries at it from the Linux part. With the old version of Filemaker Pro, this was possible, with the new version, it is not (only connections from the same machine are accepted).
    Question: is there any way of writing a programme in the middle, hosted on the Windows part, that accepts connections from the Linux part, and then passes them on to the Filemaker Pro copy - which will then think that the query came from the local machine - and will then take the answer and relay it to the Linux part?
    Any help gratefully received.

    Question: is there any way of writing a programme in
    the middle, hosted on the Windows part, that accepts
    connections from the Linux part, and then passes them
    on to the Filemaker Pro copy - which will then think
    that the query came from the local machine - and
    will then take the answer and relay it to the Linux
    part?Just a small question. To my understanding dual boot means at a given time your computer will be running only one OS (either windows or linux) right?. Or are you running a VM with linux inside your windows?

  • Midi connecting problems: using Logic Express 9 with MBox 2 interface and a Mac OSX 10.6.8

    I have a Mac OSX and I use Logic Express 9 on it. I also use an MBox 2 digidesign. Im having trouble connecting midi and getting it to work from my Roland Keyboard Midi, to the back of my Mbox 2 Midi. Its just not working at all. Does anyone know how to make Midi work with the Mbox 2 using Logic Express 9 on my OSX 10.6.8

    Troubleshooting Wi-Fi issues in OS X
    Wireless Connection Problems - Fix
    Wireless Connection Problems - Fix (2)
    Wireless Connection Problems - Fix (3)
    Wireless Connection Problems - Fix (4)
    Also try turning off Bluetooth

  • Wireless connectivity problems using IOS 6.0.2?

    After installing IOS 6.0.2 on my iPhone 5 I can no longer connect to known wireless sites.  I've been through troubleshooting with both Apple and my ISP and no luck.  I'm thinking there's wireless connectivity problems with this latest update (my iPad 3 is still running 6.0.1 and is fine on my wireless network). Are others having this issue as well?

    I am not guaranteeing this fix , but it worked for me , so far. I have an iphone 5 and it had ios 6.0.1 . Worked fine. Upgraded to 6.0.2 and it wouldn't connect with home router most of the time. My son in law an IT guy for the Government came up with a solution. The problem seemed most likely with routers that are bought and not configured and retain the original factory settings. Therefore my phone considers my home network a generic one and I have to manually connect to it. To distinguish the network we did the following.
    1) went to settings on my iphone
    2) choose "my home network" by pushing the arrow on the right
    3) This brought up the network info page. (it says "forget this network " at the top)
    4)DHCP will probably be highlighted.
    5) touch "static"
    6) This will bring up the manual settings
    7) We entered the following.
    For Ip Address 192.168.1.15
    Subnet Mask  255.255.255.0
    Router 192.168.1.1
    DNS 4.2.2.1,4.2.2.2,8.8.8.8
    Leave the HTTP Proxy to off
    This will assign a static Ip address not a dynamic one and should work.
    If it doesn't , go back to step 3 and select DHCP and return to the dynamic state .

  • Connection Problem using oracle.jdbc.xa.client.OracleXADataSource

    Unable to get a connection from connection pool Realm1tx
    Actually there are 5 connection intialized but no connection is there in active pool.Sometimes when I
    go to weblogic console and refresh the connection comes alive temporarily.Can anyone help me out for
    fixing this problem
    Driver Used:
    oracle.jdbc.xa.client.OracleXADataSource
    Error Message
    Unknown error occurred: XA error: XAER_RMERR : A resource manager error has occured in the transaction
    branch start() failed on resource 'realm1tx' null sql=[SELECT Person$1.id,NULL,Person$1.id,NULL,NULL
    FROM Person Person$1 WHERE (Per
    son$1.securityId = 'admin')] throttle=[-1]
    java.sql.SQLException: XA error: XAER_RMERR : A resource manager error has occured in the transaction
    branch start() failed on resource 'realm1tx' null
    Thanks in advance.
    Ragavendra.

    Which version of oracle thin driver are you using? Oracle 920 thin driver has some issues.
    Thanks,
    Mitesh
    Ragavendra wrote:
    Unable to get a connection from connection pool Realm1tx
    Actually there are 5 connection intialized but no connection is there in active pool.Sometimes when I
    go to weblogic console and refresh the connection comes alive temporarily.Can anyone help me out for
    fixing this problem
    Driver Used:
    oracle.jdbc.xa.client.OracleXADataSource
    Error Message
    Unknown error occurred: XA error: XAER_RMERR : A resource manager error has occured in the transaction
    branch start() failed on resource 'realm1tx' null sql=[SELECT Person$1.id,NULL,Person$1.id,NULL,NULL
    FROM Person Person$1 WHERE (Per
    son$1.securityId = 'admin')] throttle=[-1]
    java.sql.SQLException: XA error: XAER_RMERR : A resource manager error has occured in the transaction
    branch start() failed on resource 'realm1tx' null
    Thanks in advance.
    Ragavendra.

  • JDBC Connectivity problem - Netbeans using Struts

    I am a beginner - trying to learn java on my own. I am trying to access an Oracle database from my Action class- I think I have the proper struts-config (it used to give errors there, but now it doesn't) the application gets stuck at dataSource = getDataSource(request); statement in my java class. I know this is not the proper programming practice for business logic, but I haven't started with EJBs yet... The IDE has access to my database, I can run SQL commands successfully...
    Any help in this regard will be appreciated!
    Here is my struts-config.. <data-source type="org.apache.commons.dbcp.BasicDataSource">
    <set-property property ="autoCommit" value="false"/>
    <set-property property ="driverClass" value="oracle.jdbc.driver.OracleDriver" />
    <set-property property="url" value="jdbc:oracle:thin:@hostname:port:XE" />
    <set-property property="user" value="user" />
    <set-property property="password" value="pass" />
    </data-source>
    The relevant code in my java class is:
    dataSource = getDataSource(request);
    myConnection = dataSource.getConnection();
    stmt=myConnection.createStatement();
    // my code to do whatever....
    } catch (SQLException sqle) {
    getServlet().log("Connection.process", sqle);
    Thanks all.

    Hi
    please change your code in 2 areas
    1)Loading driver class
    Class.forName("oracle.jdbc.driver.OracleDriver");
    2)getting connection
    Connection conn = DriverManager.getConnection
    ("jdbc:oracle:thin:@localhost:1521:orcl", "scott", "tiger");
    i hope it will help you
    before executing please verify that classes12.jar or ojdbc14.jar is placed in classpath
    for classes12.jar or ojdbc14.jar please goto the following location in your system
    C:\oracle92\ora92\jdbc\lib
    where oracle92 is oracle installation directory ....
    regards
    Dharma

  • JDBC thin driver connection problems using cybersafe authentication

    Hi
    i am trying to use jdbc thin driver to connect to oracle 8.1.7 DB using ASO and cybersafe authentication.
    Question:
    Does the oracle jdbc thin driver in 8.1.7.0.0 support third-party authentication features supported by Oracle Advanced Security--such
    as those provided by RADIUS, Kerberos, or SecurID
    i am getting the following error.
    Exception in thread "main" java.sql.SQLException: invalid arguments in call
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java)
    at oracle.jdbc.dbaccess.DBError.check_error(DBError.java)
    at oracle.jdbc.ttc7.TTC7Protocol.logon(TTC7Protocol.java)
    at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java)
    at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.ja
    va)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java)
    at java.sql.DriverManager.getConnection(DriverManager.java:517)
    at java.sql.DriverManager.getConnection(DriverManager.java:146)
    at ASOJdbc.main(ASOJdbc.java:43)
    Following is the program i am trying.
    public class ASOJdbc {
         public static void main(String args[]) throws SQLException {
              String url = "jdbc:oracle:thin:@son1129:1521:sonias";
              Connection con;
              String query = "select EMPNO, ENAME from EMP";
              Statement stmt;
              // ASO Stuff
                   Properties props = new Properties();
                   try {
                   props.put("oracle.net.authentication_services", "CYBERSAFE");
                   props.put("oracle.net.authentication_gssapi_service", "oracle/[email protected]");                    
                   props.put("oracle.net.encryption_types_client", "DES");
                   props.put("oracle.net.encryption_types_server", "DES");               
                   props.put("oracle.net.crypto_seed", "4fhXXXX");               
                   } catch (Exception e) { e.printStackTrace();
                   DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
                   // ASO
                   con = DriverManager.getConnection(url, props);
                   stmt = con.createStatement();
                   ResultSet rs = stmt.executeQuery(query);
                   stmt.close();
                   con.close();          
    jdk version: jdk 1.3.1
    Oracle jdbc driver information, which i obtained as per Note 94091.1
    =============
    Database Product Name is Oracle
    Database Product Version is Oracle8i Enterprise Edition Release 8.1.7.1.1 - Production With the Partitioning option
    JServer Release 8.1.7.1.1 - Production
    JDBC Driver Name is Oracle JDBC driver
    JDBC Driver Version is 8.1.7.0.0
    JDBC Driver Major Version is 8
    JDBC Driver Minor Version is 1

    1. What JDBC Thin client Driver are you using? (version) If you don't know, open up the Manifest.
    2. the JDBC/OCI driver is a thick driver. It uses the oracle client, and therefore should read the tnsnames.ora
    3. You have yet to give us any ORA- errors, which would help immensely in troubleshooting.

  • MS SQL Server 2K JDBC Connection Problem

    Hi,
    I have installed Sql Server 2000 with mixed mode authentication. I am able to connect to connect through ODBC with both Windows and server authentication.
    The same when i try with JDBC, i am not able to connect. I have added the driver jars to the classpath also.
    Heres the Code :
    try{
    Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver");
    con = java.sql.DriverManager.getConnection("jdbc:microsoft:sqlserver://localhost:1433;databaseName=pubs","sa","");
    if(con!=null) System.out.println("Connection Successful!");
    }catch(Exception e){
    e.printStackTrace();
    System.out.println("Error Trace in getConnection() : " + e.getMessage());
    Here is the error :
    java.lang.ClassNotFoundException: com.microsoft.jdbc.sqlserver.SQLServerDriver
    at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:183)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:294)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:281)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:250)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:310)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:115)
    at Connect.main(Connect.java:31)
    Error Trace in getConnection() : com.microsoft.jdbc.sqlserver.SQLServerDriver
    Kindly help.
    Thanks in Advance

    Thanks for the reply.
    I am not using any IDE, but the problem exists if i
    add the jar files into my classpath. I extracted the
    required files as suggested and tried, this time it
    works fine.
    If anyone could let me know why this problem is
    occuring it would be helpful.
    Thanks once againIt occured because MS didn't package their jar properly. You could try to re-jar the files or use a driver from another vendor.

Maybe you are looking for