NoSuitableDriver exception running against a jtds driver.

I developed my BC using SQL Flavour and now I try to run against SqlServer using Jtds Driver.
I created my connection and tested it : it works fine.
I create a configuration using that connection but when I try to run the tester against the DB I get a NoSuitableDriver error. (No suitable driver found for jdbc:jtds:sqlserver://faac/MSSQLSERVER;domain=faac;)
Shoud register the driver somewhere in my classes ?
What I Missed ?
Tks
Tullio

I'm guessing that the embedded WLS server can't find the JDBC library you are using - you can try adding it to the lib directory of the embedded WLS
Somewhere like: C:\Users\youruser\AppData\Roaming\JDeveloper\system11.1.1.5.37.60.13\DefaultDomain\lib
or directly to the classpath in the startup script:
C:\Users\sshmeltz\AppData\Roaming\JDeveloper\system11.1.1.5.37.60.13\DefaultDomain\bin
or try and mark the library with the JDBC jar to be deployed by default in JDeveloper.

Similar Messages

  • SQL Exception while connecting to Jtds driver

    hi...can somebody help me with my error
    iam using "net.sourceforge.jtds.jdbc.Driver" with SQL Server 2000 on XP with tomcat version 4.0
    it gives me the following exception
    java.sql.SQLException: "Network error IOException: Connection refused: connect"
    can somebody help me urgent

    ya i tried telnet localhost 1433..still
    Connecting To localhost...Could not open connection to the host, on port 1433: Connect failed
    and when i use netstat -an the foll appears
    Active Connections
    Proto Local Address Foreign Address State
    TCP 0.0.0.0:25 0.0.0.0:0 LISTENING
    TCP 0.0.0.0:80 0.0.0.0:0 LISTENING
    TCP 0.0.0.0:135 0.0.0.0:0 LISTENING
    TCP 0.0.0.0:443 0.0.0.0:0 LISTENING
    TCP 0.0.0.0:445 0.0.0.0:0 LISTENING
    TCP 0.0.0.0:1027 0.0.0.0:0 LISTENING
    TCP 0.0.0.0:5101 0.0.0.0:0 LISTENING
    TCP 127.0.0.1:1033 0.0.0.0:0 LISTENING
    TCP 192.168.1.2:139 0.0.0.0:0 LISTENING
    TCP 192.168.1.2:1138 216.155.193.140:5050 ESTABLISHED
    TCP 192.168.1.2:1151 68.142.233.167:443 ESTABLISHED
    TCP 192.168.1.2:1422 61.2.36.53:5101 ESTABLISHED
    TCP 192.168.1.2:1593 59.92.38.133:5101 ESTABLISHED
    TCP 192.168.1.2:1874 216.109.118.146:5001 ESTABLISHED
    TCP 192.168.1.2:2054 64.94.235.124:80 ESTABLISHED

  • JTDS driver

    I want to connect Netweaver DataBase Server (sqlserver 2000 in my case)using jTDS driver. can anybody help me in creating a datasource  in visual administrator for sql server using jTDS driver. I tried to create a datasource using jTDS in visual admin for sql server, I got the following error:
    java.rmi.RemoteException: Error occurred while starting application in whole cluster and wait.; nested exception is:
         com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Clusterwide execption: server ID 3584050:Cannot create DataSource "testdb".
         at com.sap.engine.services.deploy.server.DeployCommunicatorImpl.startApplicationAndWait(DeployCommunicatorImpl.java:679)
         at com.sap.engine.services.deploy.server.DeployCommunicatorImpl.startApplicationAndWait(DeployCommunicatorImpl.java:661)
         at com.sap.engine.services.dbpool.deploy.DataSourceManagerImpl.startApplication(DataSourceManagerImpl.java:562)
         at com.sap.engine.services.dbpool.deploy.DataSourceManagerImpl.deploy(DataSourceManagerImpl.java:261)
         at com.sap.engine.services.dbpool.deploy.DataSourceManagerImpl.createDataSource(DataSourceManagerImpl.java:317)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.sap.pj.jmx.introspect.DefaultMBeanInvoker.invoke(DefaultMBeanInvoker.java:58)
         at com.sap.pj.jmx.mbeaninfo.AdditionalInfoProviderMBean.invoke(AdditionalInfoProviderMBean.java:289)
         at com.sap.pj.jmx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:944)
         at com.sap.pj.jmx.server.interceptor.MBeanServerWrapperInterceptor.invoke(MBeanServerWrapperInterceptor.java:288)
         at com.sap.engine.services.jmx.CompletionInterceptor.invoke(CompletionInterceptor.java:400)
         at com.sap.engine.services.jmx.RedirectInterceptor.invoke(RedirectInterceptor.java:340)
         at com.sap.pj.jmx.server.interceptor.MBeanServerInterceptorChain.invoke(MBeanServerInterceptorChain.java:330)
         at com.sap.engine.services.jmx.MBeanServerSecurityWrapper.invoke(MBeanServerSecurityWrapper.java:287)
         at com.sap.engine.services.jmx.MBeanServerInvoker.invokeMbs(MBeanServerInvoker.java:157)
         at com.sap.engine.services.jmx.ClusterInterceptor.invokeMbs(ClusterInterceptor.java:220)
         at com.sap.engine.services.jmx.ClusterInterceptor.invoke(ClusterInterceptor.java:803)
         at com.sap.engine.services.jmx.MBeanServerInterceptorInvoker.invokeMbs(MBeanServerInterceptorInvoker.java:102)
         at com.sap.engine.services.jmx.connector.p4.P4ConnectorServerImpl.invokeMbs(P4ConnectorServerImpl.java:61)
         at com.sap.engine.services.jmx.connector.p4.P4ConnectorServerImplp4_Skel.dispatch(P4ConnectorServerImplp4_Skel.java:64)
         at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:291)
         at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:183)
         at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:119)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
         at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)
    Caused by: com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Clusterwide execption: server ID 3584050:Cannot create DataSource "testdb".
         at com.sap.engine.services.deploy.server.application.ParallelAdapter.sleepClientThread(ParallelAdapter.java:232)
         at com.sap.engine.services.deploy.server.application.ParallelAdapter.runInTheSameThread(ParallelAdapter.java:113)
         at com.sap.engine.services.deploy.server.application.ParallelAdapter.makeAllPhasesAndWait(ParallelAdapter.java:214)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:4601)
         at com.sap.engine.services.deploy.server.DeployCommunicatorImpl.startApplicationAndWait(DeployCommunicatorImpl.java:677)
    Thanks in advance,
    Saikrishna.

    Here's the problem I'm having. Every time I try to use DriverManager.getConnection, I get the message "No suitable driver". This is some basic code I wrote just to check the driver...
    Class.forName("com.internetcds.jdbc.tds.Driver");
    String url = "jdbc:freetds:sqlserver://scartin:1433"; 
    Connection conn = DriverManager.getConnection(url,"admin","admin");   I have the .jar file in my classpath, and i'm pretty sure the URL is right, but like i said previously, I can't find any documentation on it at all.
    Thanks
    Simon

  • Running from a flash drive.

    Some of my programs run from a flash drive.  The drive has Java on it in case the user does not have Java on their machine.  In order to run java 7 one must have OS X 10.7.3 or greater.  If a user has 10.7.2 on it his machine and the flash drive has java 7 on it can the program, which is also on the the flash drive, be run.
    Thank you,
    Richard Mittleman

    Sorry but I can't say it any better except the period at the end of the last sentance should be a question mark.
    Thanks.

  • Anybody use jtds driver with creator?

    Hello,
    I have a creator app that talks to our SQLServer via the jtds driver.
    I cannot update any records, I get a "result set is read only" message.
    I tried changing the concurrency to CONCUR_UPDATABLE and TYPE_SCROLL_SENSITIVE.
    Is there a better Driver to use?
    Thanks
    Frank

    I'm not completely sure I understand what you are saying, especially the part with the updateable and read-only tables (ResultSets are updateable/read-only, not tables). Could you provide an example (Java code or at least the SQL) illustrating your point?
    The problem with "this driver" is that in its last public release (1.0.2) it did not implement client side cursors (in fact it did, but only for Sybase). This support has now been extended to SQL Server in cases when the server isn't able to create a server side cursor, so jTDS will cache the whole result on the client and create a client side one. This behavior will be available in the next release (or you can get it from the CVS tree before that).
    The problem with transparently creating client side cursors is that this introduces a huge (memory and performance) overhead of which the user is unaware. This may lead to OutOfMemoryErrors simply because the table didn't have a primary key or the SELECT didn't include it.
    And now that we're here, let me point out that the DataDirect driver is not the most efficient, by far. There's even a test in their performance test suite (which they use only to point out that their driver is and will be the only one that doesn't fail that particular test), which creates a forward only ResultSet and then calls last() and beforeFirst() on it. This test only works because they cache the entire ResultSet, which may seem like a good thing, but it's totally unnecessary and if you compare the time it takes for that test to run with the time to do a simple next() through the exact same ResultSet it's orders of magnitude larger.
    And one final thing: the JDBC spec rightfully states that a JDBC driver implementation does not have to implement features that the underlying DBMS does not support. Creating a scrollable and/or updateable ResultSet from God knows what falls under this category in my oppinion. The SQL Server spec clearly states what conditions must be met by a SELECT query for a server side cursor to be created on it. You can't reasonably expect not to meet those conditions and still get what you want.
    Alin,
    The jTDS Project.

  • Jtds driver and NT

    Hi,
    I have been doing some testing of the jtds driver on XP and NT and it seems that the driver runs great on XP but is very slow on an NT 4.0 machine.
    Does anybody know of any know problems with this driver and OS?
    Is there a better driver I could try out for windows NT 4.0?
    Regards.
    Alan

    I'd guess some would say there is no "better" driver for most definitions of the word...
    Perhaps not better but different: http://www.microsoft.com/sql/downloads/2005/jdbc.mspx
    Or googling should find several commercial drivers, some come with no-cost trial versions. E.g. http://www.datadirect.com/downloads/registration/connect_jdbc/index.ssp
    My first guess is that it isn't a driver issue. I'd start by checking network configuration, seeing how much packet loss "ping" reports, how fast "ftp" can move data from db server to client, ... And checking if the NT machine is low on memory and simply swapping itself to death.
    How slow is "very slow"? A simple select takes 10ms, 1sec, 1min, 1h, ...? Compared to what on the faster machine?

  • Running out of hard drive space---can I use my external hard drive-??

    I have a 16GB iPod nano. I hope I can explain my problem well enough.
    My laptop computer has the iTunes that I use for syncing my iPod. It has over 25gb of songs in it, but my problem is that it has completely run out of hard drive space, and I don't think I can delete anything else.
    I have a 250 GB external hard drive that also has all my songs backed up on it, that has hard drive space left on it.
    Is there a way to load new music into the external hard drive, that will sync up to the iPod when I connect it to the laptop, WITHOUT putting a copy of it into the laptop, and taking up space-?
    The way it appears to me, and I may be wrong, is that there are 2 copies of eaxh song on my laptop---the one in my music folder, and then the one in the iTunes folder. Is that correct-?
    OR, is there a way to remove some of the songs from the laptop, and put them into the external hard drive, but will still sync up to the iPod-?
    Thanks for any help that anyone can offer, I'm desperate ~!
    I'm not sure if this can be done, but I'd hate to think that I cannot put new music onto my iPod.
    Thanks~!

    Hello melbernai,
    I think your best move would be to the move the entire iTunes library including of all of its file to your external hard drive and running your iTunes from there. You can even have it so that all newly imported music is saved to the external drive as well.
    For more help on how to do this, I would check out this article on how to move and run your iTunes library from an external hard drive.
    http://lifehacker.com/238296/ultranewb--how-to-move-your-itunes-library-to-an-ex ternal-drive
    Hope this helps.
    B-rock

  • Can CC apps be downloaded to, and run from, a hard drive other than the OS drive?

    Can CC apps be downloaded to, and run from, a hard drive other than the OS drive?

    Yes. You can define alternate locations in teh application manager. just be aware that some components will always end up on your system root drive no matter what.
    Mylenium

  • Primary computer C-Drive failing, want to move Itunes software and backups to alternate drive how do i this so it runs off of alternate drive?

    Primary Win-7 computer C-Drive failing, want to move Itunes software and backups to alternate drive how do i this so it runs off of alternate drive?

    Hi there Sandduster2,
    You may find the information in the article below helpful.
    iTunes for Windows: Moving your iTunes Media folder
    http://support.apple.com/kb/ht1364
    -Griff W. 

  • PC to Mac: iTunes Library Running on External Hard Drive

    Good afternoon all. I just purchased a MacBook 13-inch Aluminum (Late 2008) and am having some trouble with my iTunes library.
    On my PC Laptop, I am all set up to run iTunes from an external hard drive, with the library files saved on the external drive as well.
    I have searched the internet extensively, but have not found any successful way of loading iTunes on my new Mac while maintaining the date added and play counts.
    Apple offers a support document on moving the iTunes library from one computer to another (which is how I moved my iTunes folder off to the external drive), but this doesn't seem to work from PC to Mac.
    Do any of you have experience moving your iTunes Library from a PC to a Mac while maintaining your date added and play count data?
    Any help that you can provide will be greatly appreciated.
    Thanks.

    Ok, so for those of you that are interested, I figured it out.
    I first started iTunes on the new mac and got everything set up, with the library and .xml files in the ~/Music/iTunes folder.
    I then opened iTunes and went into preferences, moving the location of the iTunes music folder to the correct location on the external drive (at this point iTunes is pointing in the right direction, but has nothing in the library.)
    Next, I deleted the library and .xml file from the mac, and copied over the PC itunes library and .xml files, removing the .itl extension from the PC library file.
    Using the mac text editor, I opened the PC .xml file, and replaced all references to the external drive in PC speak (drive letter format) with mac speak (volume format.)
    Now, when I opened iTunes it began updating the library and when it finished, all of my music was there with the correct play counts and dates added. Of interesting note, while it clearly used the PC library and .xml files in some facet, it created new mac files in the same location, moving the PC library file to 'Previous iTunes Libraries', and renaming the .xml file.
    Finally, I closed iTunes and used finder to move the new mac library and .xml files off to the external drive, dropping the original PC files into a PC folder, should they ever be needed again. I opened iTunes holding option and pointed it to the new library file on the external drive.
    Now everything is up and running from the external drive on the mac, just as it did on the PC. It was a bit of a headache to keep all of the information intact, but for me it was worth it. (If you don't care about your dates added and play counts, you could of course simply add the iTunes folder from your external drive to the new mac's iTunes and avoid all of the 'fun', but I've got years of data, and like to know when I added what, and how often I actually listen to it :))
    Thanks.

  • Imported mapping in template mapping module still runs against old location

    Hello,
    I imported the mapping in a new workspace (located in other server) using object names strategy, and I reconfigured the location source (it's a generic one) it uses.
    Looking at the mapping Configure menu / Table operators / Location I see the correct location I want to use.
    The template mapping module has the only data location Default Agent.
    I have synchronized several times with the inbound repository table information, and redeploy the mapping, but it still goes to the old location, that has been unregistered / deleted in the current repository.
    I don't know how to make the mapping runs against the location I want to. Please, help me
    Thank you

    Hi Alexander
    After copying a table to a different module, edit the module to set the data location, configure the module to define the location and synchronize the mapping to use this table.
    In OMB to synchronize inbound and outbound use OMBSYNCHRONIZE command
    Inbound:
    OMBSYNCHRONIZE TABLE '$OMB_CURRENT_PROJECT/SALES/TABY' TO MAPPING 'M_W_PARAMS' OPERATOR 'TABY' USE (RECONCILE_STRATEGY 'REPLACE', MATCHING_STRATEGY 'MATCH_BY_OBJECT_NAME')
    Outbound:
    OMBSYNCHRONIZE MAPPING 'M_W_PARAMS' OPERATOR 'TABX' TO TABLE '$OMB_CURRENT_PROJECT/SALES/TABX' USE (RECONCILE_STRATEGY 'REPLACE', MATCHING_STRATEGY 'MATCH_BY_OBJECT_NAME')
    Cheers
    David

  • How to omit parameter values from exceptions thrown by the JDBC driver

    Is there a way to get the Oracle JDBC driver to omit the parameter values from the message when it throws an exception?
    We have an application that persists credit cards and when an exception is thrown by the driver, it's including the credit card number in the error message, which ultimately gets logged by the application. There are too many layers and locations, including OpenJPA, Spring, and our own application, where we'd have to massage the error data to remove that card number.
    For example, we get the following exception:
    Caused by: org.apache.renamed.openjpa.lib.jdbc.ReportingSQLException: ORA-20104: Permission denied
    ORA-06512: at "PROTEGRITY.PTY", line 57
    ORA-06512: at "PROTEGRITY.PTY", line 383
    ORA-06512: at "SUBSDSYS.TORDERPAYMENT_UPD", line 16
    ORA-04088: error during execution of trigger 'SUBSDSYS.TORDERPAYMENT_UPD'
    {prepstmnt 6603044
    UPDATE PAYMENT
         SET CARD_HOLDER_NAME = ?, CARD_TYPE = ?, EXPIRY_MONTH = ?, EXPIRY_YEAR = ?, GATEWAY = ?
         WHERE UIDPK = ?
    [params=(String) Test Test, (String) VISA, (String) 03, (String) 2012, (String) CREDITCARD, (long) 106901]} [code=20104, state=72000]
    at org.apache.renamed.openjpa.lib.jdbc.LoggingConnectionDecorator.wrap(LoggingConnectionDecorator.java:192)
    at org.apache.renamed.openjpa.lib.jdbc.LoggingConnectionDecorator.access$800(LoggingConnectionDecorator.java:57)
    The actual content of the message appears to come from the JDBC driver, not OpenJPA.
    This particular example doesn't show the card number, but only exposed that possibility as a risk.
    BTW: before you ask, for PCI compliance we're using a database layer service to encrypt the card numbers before they're stored in the table.
    Thanks much.

    [email protected] wrote:
    The actual content of the message appears to come from the JDBC driver, not OpenJPA.Wrong. This is a dump of parameters used to execute a query - and it comes from some upper layer, not the JDBC driver.
    I would start looking at the source code starting here:
    org.apache.renamed.openjpa.lib.jdbc.LoggingConnectionDecorator.wrap(LoggingConnectionDecorator.java:192)

  • SQL Azure Reporting - There was an exception running the extensions specified in the config file. --- Maximum request length exceeded.

    I am trying to deploy an RDL file (5MB) to SQL Azure Reporting server in South Central US using the deploy function in SQL Server Data Tools but facing the following error during deployment to Azure Reporting server.
    "There was an exception running the extensions specified in the config file. ---> Maximum request length exceeded."
    Is there any limit on the size of RDL files which can be deployed to Azure Reporting server? I have seen some online posts which talk about increasing the maxRequestLength in httpruntime of web.config in Reporting server. But in case of Azure Reporting server
    how can be make modification to this configuration?
    I have tried to upload it directly to SQL Azure Reporting server from the Management Portal --> Upload Report function which still resulted in error.
    Thanks & Regards, Deep

    Thanks for your question. Unfortunately we are in the process of deprecating SQL Reporting services.  Full details are available at http://msdn.microsoft.com/en-us/library/gg430130.aspx
    Thanks Guy

  • File adapter - Unexpected exception running file2xmbprocessor

    Hallo,
    I've a fileadapter running and a couple of time the adapter is running fine.
    After a while I get the following exception:
    <i>Unexpected exception running file2xmbprocessor
    java.util.NoSuchElementException
    at java.util.TreeMap$EntryIterator.nextEntry(TreeMap.java:1024)
    at java.util.TreeMap$KeyIterator.next(TreeMap.java:1051)
    at com.sap.aii.messaging.adapter.File2XMBProcessor.processFileAccess(ModuleFile2XMB.java:1383)
    at com.sap.aii.messaging.adapter.File2XMBProcessor.run(ModuleFile2XMB.java:872)
    at java.lang.Thread.run(Thread.java:534)
    File adapter processing stopped</i>
    I have no idea whats wrong.
    Any idea
    Thanks harald

    Hi Prasad,
    sorry - but I can't understand what you mean.
    The file-adapter I'm talking about runs on a fileserver. This adapter read the files and send them to the XI-System where a java-mapping is running.
    Therefore I can't believe that the problem is the mapping.
    The way I see it is that the error must be in a part of the file-read-process because the exception says
    <b><u>[fileprocessor]</u> Error: Unexpected exception running file2xmbprocessor
    java.util.NoSuchElementException
    at java.util.TreeMap$EntryIterator.nextEntry </b>
    Could you please explain what you mean.
    Thanks and best regards
    Harald

  • Can OS be installed and run from a Firewire drive?

    Hello,
    I recently started to switch from WindowsXP to a Mac Mini. I was considering installing WindowsXP to a drive that I put into my AMS Venus 3.5" drive enclosure. This is a combination enclosure that supports USB 2.0 and Firewire 400. I've never used a Firewire device before so I don't know how well XP would install to and run from a Firewire drive. I'd like to setup XP to run underr Parallels. Its a Seageate 160gig 7200rpm drive that's about 1 1/2 years old.
    Is this possible? Is is actually usable going through a Firewire connection?
    Thanks,
    Jeff

    Hi Jeff,
    installing Windows under Parallels will produce two files that contain the Windows System itself (filename.hdd) and the configuration file (filename.pvs).
    These two files can indeed be put onto an external harddisk and run from it.
    It is quite usuable and you should get the same 'speed' as if these files where on your internal HD.
    Have a look at the PDF files here http://www.parallels.com/en/products/desktop/ for further information on how-to.
    Have Fun
    Stefan

Maybe you are looking for