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

Similar Messages

  • How can I use my external hard drive for my iphoto instead of my mac book pro memory?

    i don't know if this question has been asked before: how can I use my external hard drive for my iphoto instead of my mac book pro memory? just like itunes all my song are save on my external hard drive. make sense?

    Moving the iPhoto library is safe and simple - quit iPhoto and drag the iPhoto library intact as a single entity to the external drive - depress the option key and launch iPhoto using the "select library" option to point to the new location on the external drive - fully test it and then trash the old library on the internal drive (test one more time prior to emptying the trash)
    And be sure that the External drive is formatted Mac OS extended (journaled) (iPhoto does not work with drives with other formats) and that it is always available prior to launching iPhoto
    And backup soon and often - having your iPhoto library on an external drive is not a backup and if you are using Time Machine you need to check and be sure that TM is backing up your external drive
    LN

  • 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 can I use my external hard drive for storage?

    I just bought a new external hard drive, the My Book Premium Edition II. I have totally spent all of the memory on my hard drive and want to transfer my music to my new hard drive and use it as my iTunes directory, but everytime I try to move my music files, it tells me I cannot because the drive cannot be formatted. On the box it says Mac OSX compatible but when I open up the Get Info it says, Format: Windows NT Filesystem. It is 1Tb. How can I get this to work????? Help please.

    jbsilliman
    That's because Macs can read from NT FS drives, but can't write to them. Microsoft have maintained NTFS as a closed system. To use the drive you'll need to reformat it to something the Mac can read and write to.
    Regards
    TD

  • How can I use the same Sound variable for multiple sounds?

    I need my program to play many different mp3 files at different times.  I'm reading that you can not load different mp3 files into the same Sound variable.  But there must be a way around this right?  Can I Unload mp3 files some how?  Or can I delete the Sound variable and declare it again?  I don't want to have hundreds of Sound variables so what do I do?  Thank you.

    delete doesn't work in as3.  you must remove all listeners and references including nulling the variables.  for displayobjects, they need to be removed from the display list.
    p.s.  you don't need to create a sound instance until you need to load an mp3 using one.  so, if you're waiting for user input to start loading an mp3, you should wait for that input to create that sound instance.

  • How can I use one external hard drive for both Time Machine and iPhoto Library?

    I have been using a 1 TG LaCie external hard drive for Time Machine backups.  My (older) Mac has 160 GB and is almost full.  I would like to move my iPhoto Library to the external hard drive, but I've heard Time Machine doesn't share one space well.  Should I
    1.  create another partition (but will this erase what I've already saved) with Disk Utility?  *I am running Snow Leopard*
    2.  create another volume to use for iPhoto, and if so, should the two volumes be of equal size?
    3.  leave it with one partition and move the iPhoto Library to the same partition with Time Machine back ups?
    I know I don't need the entire 1 TG for back up of 160 GBs.  Please advise the best path to take.  Thank you!

    You are getting incorrect information from your ASP. If you look at drive specifications the heat generated is no different for high vs low capacity drives.
    I have upgraded the internal drive in my iMac 2007 with a 3TB Hitachi drive without any heat issues or other problems.
    Larger hard drives have higher density platters so to access any given amount data the drives travel a shorter distance. Higher capacity drives should therefore run cooler than lower density drives because the drive spends less time spinning to access data.

  • How can I use the same event case for different controls dynamically

    OS: Linux 2.6.24-1-686 #1 SMP Sat Apr 19 00:37:55 UTC 2008 i686 GNU/Linux
    LabVIEW: Version 8.2
    I have a lot of (about 50) controls (numeric, boolean) on my front panel. If a "Value Change" event will be fired by any of them the same event case shall be executed. As I do not want to add all 50 controls to the same event case manually I am looking for a way to do it at run time. Additionally the VI is still under contruction, i.e. controls will be added and removed.
    Thanks for any help here.
    Regards,
    Johannes
    Solved!
    Go to Solution.

    Hi Johannes,
    collect all your control references (you can use the FP property for it) and create a user event. Connect this user event to your event structure. Now you have one event case for all your controls. See the attached picture.
    Mike
    Attachments:
    Unbenannt1.PNG ‏11 KB

  • How can I use an external hard drive for capturing? I don't have enough mem

    I'm new at this...I have a Powerbook G4 and not nearly enough memory for capturing a full size video. Is there some way to send it to an external hard drive- for capturing, then burn it in my laptop? Would that external hard drive have to have IDVD loaded on it?

    Hi artdrake
    Just to add to the already good advice posted above.
    Another possible approach which works for me, assuming the ext. FireWire HD is large and fast enough (I recommend at least 120GB and 7200rpm) is to format the the ext. HD as stated above (journaled) and then clone your existing startup volume (using Carbon Copy Cloner) to the ext. Hard Drive. This will circumvent installing a fresh OS as well as all the iLife apps to the ext. device. You will simply make an exact copy of your laptops HD to the ext. volume. It takes me all of 30-40 mins. on my G4 system to do this procedure whereas installing everything from scratch may take several hours.
    Click Here for example/s:
    Once this is completed and assuming the ext. drive is connected securely via Firewire, Restart the computer while holding down the option key. Select the ext. FW HD. Once your G4 laptop is booted to external drive, use it as you would the primary drive. The only difference is that you now have plenty of room to capture to or to burn a DVD. This saves you from consuming much needed HD space on the G4 laptop plus it also serves as a fully operative backup hard drive for your G4.
    Hope this suggestion works as well for you as it does for me. Feel free to post back with additional questions/concerns.
    (3) G4 PM's/(3) S-Drives/Sony TRV900/Nikons/6FWHD's/PS7/iLife06/FCPHD/DVDSP/etc. Mac OS X (10.4.8) My ichatav AIM account is: SDMacuser1 (Please use Text chat prior to video)

  • How can you use the same Apple ID for music and apps but have a different iCloud

    Collectively in my family we have 1 iPhone 2 ipod(4th gen) and 3 iPad mini's and we like to buy music and apps through the same Apple ID so that we can all share it but we also have a problem about the iCloud.
    My son has one iPod and one iPad and he would like his contacts and messages to be shared between HIS two devices but he would also like all of the pictures taken in the family to be shared
    The same for my daughter and for me.
    Is there a way of selecting which devices share what????
    Thanks a lot
    Acwills

    You could and should set up different iCloud accounts in "Settings > iCloud", so that every user has its own email account, calendars, reminders, notes, storage for backups and app data (files etc.), by the way everyone could also use his own account for iMessage (Settings > Messages > Send & Receive) and FaceTime (Settings > FaceTime) so that you all could write and call each other.
    Next the Apple ID for music, apps and other media: You all could just set up the ssame Apple ID in "Settings > iTunes & App Stores" for all your media purchases like songs, movies, apps etc.

  • How can i use the airport time capsule as a external hard drive?

    how can i use the airport time capsule as a external hard drive?

    Why do you recommend not place things like iTunes libraries or photo libraries on the drive? It was what I am looking for...
    I suggest that you ask the experts over in the iPhoto Support Community about their opinions on placing an iPhoto or Aperture library on the Time Capsule....even if you plan to use a wired connection for your Mac and the Time Capsule.
    But, if Terrence Devlin answers, be prepared for a lecture about why you should not ever do this.
    If you place the iTunes library on the Time Capsule, be prepared for iTunes to give you messages about not being able to find the library.
    In addtion, LaPastenague has the answer for you in a nutshell......corruption problems.
    Bottom line....the Time Capsule is for your backups.....not "everyday" files and especially not libraries.

  • How can I use the iPhone 4s as a usb drive?

    How can I use the iPhone 4s as a usb drive?

    I'm not sure about the original iPhone, I didn't have one, but the iPhone 3G did not have a disk mode feature.

  • 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

  • How Can I Use Multiple Weblogic Instances in a Single OS

    Hello Everyone,
    Actually I have to install Some different applications. Few of them need weblogic 10.3.6 and others need 10.3.4. The OS am using is Oracle  Enterprise Linux 5.
    Now I am able to install 2 separate(One of 10.3.4 and 10.3.6) instances with two different users,In two different directories.
    I have installed the weblogic 10.3.6 version with a user webadmin and installed node manager with port 5556. This is working fine.
    The main problem here is :
    In the second instance (10.3.4 ) installed with a a different user and gave the port number to NodeManager as 1600 and its not getting started. Its throwing error and also after some errors in the terminal am able to see that its reverting to port number 5556 only.
    What might be the issue?
    I have to install 2 different versions of weblogic in a single Server. But am failing with NodeManager. What Can I do to have multiple weblogic instances with multiple versions in a single server ?
    Can anyone suggest a resolution for this please ?
    Thanks in advance.

    Pl do not spam these forums with multiple posts - How Can I Use Multiple Weblogic Instances in a Single OS

  • How can I use an external hard drive to both back up and free up storage on my macbook?

    I've used a hard drive to back up my 2012 Macbook Pro via Time Machine, but I'm not sure how to use it as external storage to move things like video and music off of my Mac to free up memory and then how to move the same things from the hard drive on to other devices like my iPad or iPhone.  For instance, I have a ton of movies and would like to store most of them on an external hard drive so that they aren't taking up all of my memory on my Mac, but want to be able to move them easily back onto my phone or iPad.  Also, can I use the same hard drive to both back up my computer and use it for external storage?  If so, how do I do that?

    Always use two drives for this: one for backup; the other for storage. Don't mix the two uses on one drive. There's a greater risk of data lost without that redundancy.
    If you plan to backup using Time Machine, then be sure the backup drive's capacity is at least twice that of the drive you are backing up.

  • How can I use a firewire hard drive on a new Macbook with one USB-C only?

    How can I use a firewire hard drive on a new MacBook with only one USB-C?

    kaz-k is correct about FireWire not being supported by any possible connector or adaptor to USB-C and never will.  However, there is no such thing as a FireWire Hard Drive.  There are only SATA (or if it is a really old one, ATA,) drives in a FireWire enclosure.  If you can remove the drive from the case/enclosure - bust it open somehow if it is a glued-up unit - then the drive can be placed into a regular USB3 enclosure. Then it can connect to the new MacBook via any one of the adaptors Apple sells.

Maybe you are looking for

  • Regarding Vendor Master Control settings

    Hi . Can somebody expain Vendor master settings and what all they control ? Also, who is considered as Second Vendor? Thansk & Regards, Smitha

  • Master-Detail Problem SESSION & REQUEST

    I'd really appreciate some help with this: I got a very simple master detail application, with a data table in the master page that gets it's data from a spring-hibernate bean, pretty straightforward. My business requirement indicates that at first t

  • HI Gurus ..regrding the Architecture & Project phases of Oracle Application

    Hi Gurus iam new to the oracle application............ pls can give the brief explanation about the Architecture & Project Phases-- Methodolgy regds Pandu Ranga

  • BI objects testing

    As SAP says that BW 3.5 object is used AS IS in BW7.0 why do we need to do testing for all objects available in PRD?

  • Help Needed On Program! Please

    Alright, sorry for all these threads but they are totally different topics. Now, with this code I am just trying to count how many times each string has been shown (without repeating). It works for the most part but it is missing some for some reason