This driver is locked for use with embedded applications - SQL Server

Hello guys,
Background:
I developed an application using JSC2 with MS SQL Server 2000 as the database and Sun Application Server PE 8 as App Server. During development, I am able to deploy and test it. But as soon as I've installed Sun Application Server PE 8 on our Production Server, exported my app there and tried to execute it, I get the error
"This driver is locked for use with embedded applications".
I just wanna ask, though I've seen other threads saying that the only solution is to buy the EE or SE of Sun App Server, isn't there really any work-around with this?
Thanks very much for your help.

OK, that is the same setup we have (Creator built application running with MS SQL Server).
I wrote a tutorial talking about integrating Creator with Spring. In it you will find out how to use SQL Server with a Creator built app running on the Platform Edition. That tutorial can be found here: http://swforum.sun.com/jive/thread.jspa?threadID=52657&tstart=15
In short, look to jTds.
Hope this helps.

Similar Messages

  • [Oracle JDBC Driver]This driver is locked for use with embedded application

    Hi
    I installed Sun Java Studio Enterprise 8, and am trying to connect to my Oracle database using the attached tutorial code.
    The code compiles fine, but I get the following error whenever I run the file: [Oracle JDBC Driver]This driver is locked for use with embedded application
    I don't understand what is happening.
    Using the Runtime navigation panel on the upper left of the IDE screen, I can right-click and connect to the database, and navigate database files, using the Oracle JDBC Driver that came with JSE8.
    Name: Oracle Driver
    Driver: com.sun.sql.jdbc.oracle.OracleDriver
    Database URL: jdbc:sun:oracle://JAZZPUP:1521;SID=REPO
    If the driver is installed, and can be used to connect to a database by right-clicking on the database definition in the Runtime panel, why can't I connect to it just using java code in the IDE. I would expect both methods to work or to fail, not one of each using the same IDE.
    Many thanks and take care,
    Shayne
    import java.sql.*;
    public class CreateCoffees {
    public static void main(String args[]) {
    //String url = "jdbc:mySubprotocol:myDataSource";
    String url = "jdbc:sun:oracle://JAZZPUP:1521;SID=REPO";
    Connection con;
    String createString;
    createString = "create table COFFEES " +
    "(COF_NAME VARCHAR(32), " +
    "SUP_ID INTEGER, " +
    "PRICE FLOAT, " +
    "SALES INTEGER, " +
    "TOTAL INTEGER)";
    Statement stmt;
    try {
    //Class.forName("myDriver.ClassName");
    Class.forName("com.sun.sql.jdbc.oracle.OracleDriver");
    } catch(java.lang.ClassNotFoundException e) {
    System.err.print("ClassNotFoundException: ");
    System.err.println(e.getMessage());
    try {
    //con = DriverManager.getConnection(url, "myLogin", "myPassword");
    con = DriverManager.getConnection(url, "login", "password");
    stmt = con.createStatement();
    stmt.executeUpdate(createString);
    stmt.close();
    con.close();
    } catch(SQLException ex) {
    System.err.println("SQLException: " + ex.getMessage());
    } //end class CreateCoffees
    ---

    There are two similar threads:
    http://swforum.sun.com/jive/thread.jspa?threadID=61327&tstart=0
    http://swforum.sun.com/jive/thread.jspa?threadID=51057&messageID=188210
    To summarize - the DataDirectDriver that is shipped with the IDE seems to be locked to be used inside the IDE only because of some licensing issues etc..
    That's weird, I agree. I will raise a question on reasons for such a behavior.
    The solution would be to use Oracle's own driver, that is distributed at no charge from their web site - http://www.oracle.com/technology/software/tech/java/sqlj_jdbc/index.html
    HTH,
    Kirill

  • JDBC Error: This driver is locked for use with embedded applications

    Hi Experts,
    My sender adapter is throwing the below error:
    Error during database connection to the database URL 'jdbc:nwmss:sqlserver://<host>:<port>;databaseName=<dbname>' using the JDBC driver 'com.sap.nwmss.jdbc.sqlserver.SQLServerDriver': 'java.sql.SQLException: [NWMss][SQLServer JDBC Driver]This driver is locked for use with embedded applications.'
    What could be the problem? How can I resolve it?

    download the latest version of SQL driver from MS site and re deploy it on PI

  • Is my Droid Razr Maxx xt912 locked for use with another carrier's SIM - either in the U.S. or globally?

    Is the Verizon Droid Razr Maxx XT912 locked to prevent using another carrier's SIM in the U.S.?  Is it blocked to prevent use of another carrier's SIM outside the U.S.?
    Thanks

        Hi MattFlash, that is a great questions and I would be happy to help! The good news is that all of our 4G devices would be unlocked and ready for use with another carrier, so the Maxx is ready to go. If you would like to use another carriers service you may need their SIM card and would then need to follow their activation procedures. Hope this helps!
    AdamG_VZW
    Follow us on Twitter @VZWSupport

  • Isn't Adobe Color available for use with desktop applications??  It looks like Adobe Kuler has NOT been replaced with Adobe Color - It has been Deleted!

    It looks like the new Adobe Color is for iPad / iPhone only.  Why isn't it available for desktop use like Kuler? 
    Kuler server seems to have been turned off.  Why?  Kuler and colour themes were very useful. 

    Adobe Color CC

  • Converting an external Hard drive into FAT32 for use with a PS3.

    Hello. I am having trouble and wondering if anyone can help me. I have an external Hard drive (250 gigs) that is completely empty. I am trying to format it to FAT32 So I can use it with a PS3 but I am having a hard time doing so and can't fins a topic that actually tells you how to do it. Does anyone know how? thanks in advance!

    Open Disk Utility in Applications Utilities.
    Select the Drive on the left, not the indented Partition below that, it'll likely have the Size & Make of the Drive.
    Select the Erase Tab, select the Volume Format Pulldown menu, choose MS/Dos, if you don't see that choice you have the Partition selected.

  • Certificates for use with APEX applications

    I'm running oracle enterprise edition 9.2.0.7 with HTTP server for my APEX applications. When users access my application via https://, they receive the default oracle certificate warning. Can I use the wallet manager (owm) to create my own or to create a trusted certificate, or do you need to purchase Advanced Security option to use it "legally"?

    hey guys the above issue was resolved. now i have following error.
    1- anyconnect popup with WARNING MESSAGE: Warning: "The following Certificate received from the Server could not be verified: "
    2- on asa i can see following debug messages.
    CRYPTO_PKI: Sorted chain size is: 1
    CRYPTO_PKI: Found ID cert. serial number: 02, subject name: cn=admin
    CRYPTO_PKI: Verifying certificate with serial number: 02, subject name: cn=admin, issuer_name: cn=ciscoasa, signature alg: SHA1/RSA.
    CRYPTO_PKI(Cert Lookup) issuer="cn=ciscoasa" serial number=02                                                 |  .
    CRYPTO_PKI: Invalid cert.
    do let me know why is this happening. i have installed both CA and Indetity certificates on cisco asa 8.4.
    my client OS is Win7.

  • How to use WITH functionality in sql server

    How to get year wise total between two dates from invoice table , if table not contain Years also will be display
    Example:  10-04-2013 ,20-2-2015. These are From and To Dates
    Hear i want to display
      Total Amount           year
      Null                          2013
      10000000                2014
      NUll                         2015
    My table contain only  dates between 01-01-2014 to till date Records
     

    The use of a CTE is not required - and an actual calendar table should be.  You can find many many suggestions for building a calendar table (dynamically or permanently) by searching.  Your example is fairly trivial, but real data (in real quantities)
    will benefit from the calendar approach in a number of ways.  For future reference, have a look at the sticky posts at the top of the forum - they provide suggestions for posting questions and including useful, relevant, and needed information. 
    Among these are a script that can be used to demonstrate your issue.  Here is one example using a derived table - it can be easily changed to use a CTE for the current dates derived table (which you should try to do if that is your goal since you will
    learn more in the process):
    set nocount on;
    declare @table table (tran_date date, amount decimal(14,2));
    insert @table (tran_date, amount) values ('20140215', 100), ('20140430', 20.55);
    select *
    from @table as t inner join ( values (cast('20130101' as date), cast('20131231' as date)), ('20140101', '20141231'), ('20150101', '20151231')) as dates(d_start, d_end)
    on t.tran_date between dates.d_start and dates.d_end
    select year(dates.d_end) as [Year], sum(t.amount) as Total
    from @table as t right join ( values (cast('20130101' as date), cast('20131231' as date)), ('20140101', '20141231'), ('20150101', '20151231')) as dates(d_start, d_end)
    on t.tran_date between dates.d_start and dates.d_end
    group by dates.d_end
    order by dates.d_end

  • Partitioning an External 320gb drive for use with Time Machine and...

    I want to be able to use my Western Digital 320GB external drive for use with Time Machine and to use as extra storage space on both my Mac and when I boot into Windows Vista.
    Is this possible?
    I was playing around in Disk Utility and would I partition the part I want to use for Time Machine with the Mac OS Journaled, and whatever I want as space for windows, use a MS - DOS format?
    Has anyone done this before?
    Cheers-

    Unless you are using 64 bit version of MSWindows (64 bit XP/Vista), it won't be able to handle a disk with GUID partition table (GPT). Disks with Apple Partition Map (APM) or GUID partition table are the only ones that Time Machine will work with (not MBR disks). Note also that the MBR/APM/GPT are at the DISK level and not the partition level, so don't mix the format with partitioning scheme. Time Machine disks are meant to live in the Mac universe (for now, anyway) and sharing with the MSWindows 32-bit universe is not possible.
    See http://img87.imageshack.us/my.php?image=macpcdiskdd06sv8.png for some additional background.

  • Where do I go for a safe driver for the Mac for use with Altec Lansing Technologies IMT227 OrbitM Ultra Portable Speakers?

    Where do I go for a safe driver for the Mac for use with Altec Lansing Technologies IMT227 OrbitM Ultra Portable Speakers?

    This is an Altec Lansing IMT227 OrbitM etc
    Is this what you have?
    Here is the specification, please note, no USB
    You are either mistaken or talking about a different model.

  • External Hard Drive for PowerMac G5 for use with FCP Studio

    Hello,
    I'd greatly appreciate any recommendation for an external hard drive for a PowerMac G5 for use with FCP Studio.
    Thanks.
    -graziemile

    We see alot of Lacie issues here and elsewhere.
    Drives fail... period. I believe you hear more about Lacie drives failing because they sell a ton more of them than many other suppliers. I've got 8 of em sitting right here on the desk and two more at the second station. I've lost one since I started using them years ago (and it had problems right out of the box) and I use them pretty heavy.
    I understand that they use several different brands of drives in their enclosures, but from my experience they must have pretty good QC standards for what they package.
    The guy said the G Techs were a little overkill for his needs. Lacie doesn't pay me. But if someone asks "how are Lacies?" I'll tell them they've been great for me and many others I know, especially if your requirements are capturing DV.
    In five years, I ain't heard anybody say anything about it.
    As for FCP. I love it! In 20 years of business, it's probably the purchase that's given me the most bang for my buck. But if you haven't heard people knock it, you've never met an Avid zelot, bruhhhhh, just the thought gives me shivers.
    The drives X mentioned are designed for video work.
    What Studio said, well he gives out some of the best advice on this board
    (and maybe the most! ) and my reply to his post... that's why I used the little smiley face. No offence intended X.
    I only meant to say that, in a world where software like FCP can do what it does at the price it does it, and drives like Lacie and G Tech can give you the storage they do for the price they do, the line between consumer and professional products is easily blurred.
    rh

  • Convert IDE 2.5" external enclosure for use with SATA hard drive

    Hello all,
    I recently upgraded my Macbook hard drive and ordered a 2.5" enclosure at the same time for use with my old hard drive (http://www.newegg.com/Product/Product.aspx?Item=N82E16817347007). As soon as I opened it, I noticed that the pins don't line up and have now learned about IDE vs SATA in the forums. Okay, is there anyway I can still use this enclosure? An adapter?
    Thanks,
    Amber
    MacBook 2 GHz   Mac OS X (10.4.8)  
    MacBook 2 GHz   Mac OS X (10.4.8)  
    MacBook 2 GHz   Mac OS X (10.4.8)  

    Thanks. Hopefully I can find something that will fit into this tiny enclosure...
    MacBook 2 GHz   Mac OS X (10.4.8)  

  • How do I do this to use OVerdrive media on deviceThe Apple device must be formatted for use with Microsoft Windows.  The iTunes setting 'Manually manage music-' must be enabled for the device before you can complete the transfer.

    I cannot make these directions work
    I downloaded media on Overdrive MEdia on my PC
    I have the overdrive media ap on my I pod touch 4g
    this media is suppossed to be compatible w/I pd touch
    Notes on Transferring OverDrive MP3 Audiobooks…
    Most MP3 capable devices should play OverDrive MP3 Audiobooks.
    If you intend to transfer OverDrive MP3 Audiobooks to an Apple® device, note the following…
    iTunes® v9.0.2 (or newer) is required.
    The Apple device must be formatted for use with Microsoft® Windows®.
    The iTunes setting 'Manually manage music…' must be enabled for the device before you can complete the transfer. Adjust this setting in iTunes as follows…
    Connect the iPod® to your computer.
    If it does not launch automatically, open iTunes v9.0.2 (or newer).
    In iTunes, locate the device in the left vertical navigation panel (under heading 'DEVICES'), and click the device.
    The 'Summary' screen is displayed. 
    Place a checkmark next to 'Manually manage music…'.
    Click the 'Apply' button.
    The iTunes 'Summary' screen refreshes, and the changes are saved.
    If desired, close iTunes.
    Note that if an Apple device is connected to your computer, you can choose to simultaneously transfer a title to the iTunes Library and the Apple device. If you wish to only transfer a title to the iTunes Library, you must first disconnect the Apple device

    Recovering your iTunes library from your iPod or iOS device: Apple Support Communities
    Also you said " I want to add them to my iCloud, and also back to my computer.   " Note that unless  subscribe to iTunes match, only iTunes purchases are stored in iCloud.
    Also,
    You can redownload most iTunes purchases by:
      Downloading past purchases from the App Store, iBookstore, and iTunes Store

  • I have an external hard drive that was formatted by a PC and has files and directories etc. I want to format it and use it on my IMAC for backup but I can't seem to write to it nor can I delete current content. How do I initialize it for use with the MAC?

    I have an external hard drive that was formatted by a PC and has files and directories copied to it etc. I want to use it on my IMAC for backup. I see it on my my IMAC . I can open files etc.  But I can't seem to write to it nor can I delete current content. I don't care if I lose current content. How do I initialize it for use with the MAC?

    You can't write to it because it's formatted as NTFS which OS X will read but not write to. If you want to continue using the drive with both a PC and OS X you will need to download and install NTFS-3G so you can then write to it from your Mac. You can get NTFS-3G at:
    http://www.macupdate.com/app/mac/24481/ntfs-3g
    If you want to use the drive exclusively with your Mac then move the data off it and reformat it in Disk Utility (Applications - Utilities - Disk Utilities) as Mac OS Extended (Journaled.)

  • Format external hard drive for use with macbook pro

    I have an old external drive that has been used with a pc.
    Now I have formatted the disc on the pc, but seemingly, I need to format it for the MacBook Pro, as well.
    How to?
    Rgds Jan

    Go to disk utility
    Format it in Mac OSX extended journaled
    Warning-- doing so will erase all data on the drive

Maybe you are looking for

  • Passing parameter from interactive report column link to new page

    I'm very simply trying to pass the value of the column link to the where clause on the next page. Interactive Report on P2 has column link fid alias in sql query. I read somewhere to refer prefix the interactive report column with IR ?? So I have ite

  • ADF Bindings CRUD with either JDBC or Hibernate

    Does anyone know of an example CRUD application that uses ADF Bindings and either Hibernate or JDBC. The site... http://technology.amis.nl/blog/index.php?p=765 uses ADF Bindings and Hibernate, but does not update a database. I have attempted to do th

  • Filter based group - viewing contents

    Hi, I'm trying to figure out how to see if a filter defined group on a Sun One 5.2 Directory server is getting the objects required. The filter group was defined by someone else. I've got several LDAP search tools available to me, but can't get resul

  • New ESS config - Homepage Framework (area group, etc) seems to be missing

    Hi, I am installing the new ESS 1.0 for ECC6 (ERP5). I succsessfully imported with SDM he new: ESS BP PCUI_GP I then created all systems in the portal and all JCo's. When I try and open Employee Self-Service (any pages) in the Portal I get the follow

  • Adding a position to a user in the Users Setup

    Dear all, I want to add a position to a users in users setup but unfortunately there is no provision for this in Users-Setup window. However, the OUSR table has 'position' field which is blank for all the users. How can I add users' positions without