Generic JDBC connection not setting up.

Hey ..
I am trying to make a Generic JDBC connection in DB adapter. For the steps I am refering to this blog: https://blogs.oracle.com/middleware/entry/configuring_mssql_with_soa_suite
so I went as follows: step 3 of 4 of adapter configuration > create new connection > Driver class: new > Library: Browse
chose the driver source .jar, put the correct URL & tested the connection.
The Error that came said:
"Test failed: Driver class not found.
Verify the Driver location"
I tried same thing with sqljdbc.jar - the file used in the blog ... Same error was there.
What's the mistake? What should I try to do?

The problem got solved ..
Actually the path was correct but the driver class name was wrong ..
Perhaps it tries to find the driver class with the specific name in specified .jar
I thought we are CREATING new thing ..
Thanks anyways for your help

Similar Messages

  • Error Message "The Remote device or resourse wont accept connection, not set up to accept connection from port https"

    I get this error message when trying to open and log into an online casino "The Remote device or resource wont accept connection, not set up to accept connection from port https".
    I am on a desktop computer my connection to the net is with a USB Virgin Mobile hotspot device.
    I also have issues with some downloads not installing right for instance SKYPE wont work. If the problems are related I don't know
    Thanks

    Starting in Firefox 14, Firefox will guess an address and place it in the address bar (AutoFill feature). If you have ever connected to the site using a secure (HTTPS) connection, then Firefox will try to connect security to the address suggested by the AutoFill feature. To work around this you can:
    * Edit the address to force Firefox to interpret your entry literally. For example, if there is a trailing / you can remove it.
    * Turn off the URL bar AutoFill feature and just use the AutoSuggest drop-down.
    * Clear Firefox's memory of the site so it doesn't default to a secure connection (however, this also removes any bookmarks you have to pages on the site).
    To disable the in-address-bar autofill without losing the suggestions that appear below the bar:
    (1) In a new tab, type or paste '''about:config''' in the address bar and press Enter. Click the button promising to be careful.
    (2) In the filter box, type or paste '''autofill''' and pause while the list is filtered
    (3) Double-click '''browser.urlbar.autoFill''' to toggle it from true to false. You're done with about:config and you can close this tab.
    "Forget about this site" will clear cache, history, bookmarks, and permissions for the site, and probably any saved certificate. There are two ways to get to this:
    * History > Show All History, right-click an entry for the site > "Forget about this site"
    * Type or paste about:permissions in the address bar and press Enter, then select the site from the list on the left side, and click the "Forget about this site" button on the right side
    Depending on the size of your history and cache, this may lock Firefox up for a minute or two while everything is cleansed.

  • Generic jdbc connection to hive missing tables

    hi i created the generic jdbc connection to hive .. i was able to establish the connection but for some reason i don't see the tables, any ideas why?
    ps.
    attaching screen shot with drivers list

    Intead of
    Class.forName("jdbc.odbc.JdbcOdbcDriver");
    do this
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    Manu

  • TP3 - Generic JDBC Seems Not Working - Connection Worked in TP2 but Not TP3

    I had a connection working in TP2 to a PosgreSQL database. I have done in TP3 exactly what I did in TP2 to set up the connection but the connection test fails listing the name of the driver.
    I put the JAR in jdev\lib, I added a class/library to the default project properties with the classpath listing the location of the JAR including the filename, then I created a new connection with the same driver name, user/password, and JDBC URL I used in TP2. None of this worked though. I even tried restarting JDeveloper.
    Any ideas on what I could be doing wrong or if something new needs to be done in TP3?
    On a side note, although I got the connection working to the PostgreSQL db working in TP2, JDeveloper was never able to find its tables like when creating an entity from a table for example. I know this is not an issue with the driver JAR because this works flawlessly in Netbeans 6.
    Thanks in advance for any help.
    KurzHome

    Hi CM and Chris,
    I have the exact same problem when I tried to create a connection to SQL Server 2005 using Generic JDBC. It worked well for TP2 but does not work for TP3. Further more if you create it anyway, you will get following message in testing:
    An error was encountered performing the requested operation:
    com.microsoft.sqlserver.jdbc.SQLServerDriver
    Vendor code 0.
    I tried to export the working connection from JDeveloper 10.1.2. and import it to TP3. I could not solved the problem.
    Then I export the SQL server connection from TP3. The connection is expressed as
    <Reference credentialStoreKey="yuwyuw" className="oracle.jdeveloper.db.adapter.DatabaseProvider" name="yuwyuw">
    <Factory className="oracle.jdeveloper.db.adapter.DatabaseProviderFactory"/>
    <RefAddresses>
    <StringRefAddr addrType="subtype">
    <Contents>thirdParty</Contents>
    </StringRefAddr>
    <StringRefAddr addrType="user">
    <Contents>yuw</Contents>
    </StringRefAddr>
    <SecureRefAddr addrType="password"/>
    <StringRefAddr addrType="driver">
    <Contents>com.microsoft.sqlserver.jdbc.SQLServerDriver</Contents>
    </StringRefAddr>
    <StringRefAddr addrType="DeployPassword">
    <Contents>false</Contents>
    </StringRefAddr>
    <StringRefAddr addrType="customUrl">
    <Contents>jdbc:sqlserver://host:1433</Contents>
    </StringRefAddr>
    </RefAddresses>
    </Reference>
    It seems DatabaseProviderFactory could not create connection other than Oracle. BBut JDev10.1.2 does not use Factory class. I tested Driver and URL by a small program that created a connection using connection string. No problem at all.
    Now I have 2 questions:
    1)How can we access the source code to see what happens when we submit connection creation request?
    2)You mentioned that we can swap JVM version. But this can only be done on project level. Can we do it on IDE level, because IDE connection is not associated with any project.
    Thanks,
    wyuwyu

  • JDBC Connections not being returned to pool

    Greetings All.
    I really need some help here to find out where my connections are being held.
    I have a transactional connection pool that runs out of connections on average three times a day. I've read all the threads in the newsgroups for connection leaks and how to always release connections in the finally block.
    1.
    I can confirm that it's definitely not a connection leak, I confirmed this by using the jar for tracing connection leaks and none was displayed.
    2.
    I've looked at all our code and all code that uses jdbc connections destroys jdbc resources in the finally clause.
    3.
    I'm new to the department and therefore cannot tell you what new code was put in that caused this problem to occur.
    4.
    We're using WL 8.1.3 AND JDK 1.4.2_06
    5.
    I've tried JMX to view what the connections are doing when this problem occurs, and hence enabled statement cache which revealed nothing of interest to me. I just wish somehow I could get to trace which threads reserved the connections and do a stack trace on them.
    The most frequent error in my jdbc logs is :
    java.sql.SQLException: ORA-01401: inserted value too large for column
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
         at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
         at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:573)
         at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1891)
         at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1093)
         at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:2047)
         at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:1940)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2709)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:589)
         at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:656)
         at weblogic.jdbc.wrapper.PreparedStatement.execute(PreparedStatement.java:70)
         at net.cellc.sal.ejb.saldataaccess.TransactionDAO.updateRecordStatus(TransactionDAO.java:76)
         at net.cellc.sol.ejb.sol.SOLBean.updateRecord(SOLBean.java:312)
         at net.cellc.sol.ejb.sol.SOLBean.processMessage(SOLBean.java:170)
         at net.cellc.sol.ejb.sol.SOL_ytyu34_EOImpl.processMessage(SOL_ytyu34_EOImpl.java:46)
         at net.cellc.sal.ejb.sal.SALBean.callSOL(SALBean.java:339)
         at net.cellc.sal.ejb.sal.SALBean.process(SALBean.java:201)
         at net.cellc.sal.ejb.sal.SAL_ki83rk_EOImpl.process(SAL_ki83rk_EOImpl.java:100)
         at net.cellc.sal.ejb.sal.SAL_ki83rk_EOImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:477)
         at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:108)
         at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:415)
         at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    SQLException: SQLState(23000) vendor code(1401)
    Your help would be really appreciated.
    Regards
    Ze Casperian

    Hi. Show us your pool definition. You should turn off refresh test minutes.
    Set it to 9999999.
    Joe
    Mncedisi Kasper wrote:
    Greetings All.
    I really need some help here to find out where my connections are being held.
    I have a transactional connection pool that runs out of connections on average three times a day. I've read all the threads in the newsgroups for connection leaks and how to always release connections in the finally block.
    1.
    I can confirm that it's definitely not a connection leak, I confirmed this by using the jar for tracing connection leaks and none was displayed.
    2.
    I've looked at all our code and all code that uses jdbc connections destroys jdbc resources in the finally clause.
    3.
    I'm new to the department and therefore cannot tell you what new code was put in that caused this problem to occur.
    4.
    We're using WL 8.1.3 AND JDK 1.4.2_06
    5.
    I've tried JMX to view what the connections are doing when this problem occurs, and hence enabled statement cache which revealed nothing of interest to me. I just wish somehow I could get to trace which threads reserved the connections and do a stack trace on them.
    The most frequent error in my jdbc logs is :
    java.sql.SQLException: ORA-01401: inserted value too large for column
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
         at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
         at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:573)
         at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1891)
         at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1093)
         at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:2047)
         at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:1940)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2709)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:589)
         at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:656)
         at weblogic.jdbc.wrapper.PreparedStatement.execute(PreparedStatement.java:70)
         at net.cellc.sal.ejb.saldataaccess.TransactionDAO.updateRecordStatus(TransactionDAO.java:76)
         at net.cellc.sol.ejb.sol.SOLBean.updateRecord(SOLBean.java:312)
         at net.cellc.sol.ejb.sol.SOLBean.processMessage(SOLBean.java:170)
         at net.cellc.sol.ejb.sol.SOL_ytyu34_EOImpl.processMessage(SOL_ytyu34_EOImpl.java:46)
         at net.cellc.sal.ejb.sal.SALBean.callSOL(SALBean.java:339)
         at net.cellc.sal.ejb.sal.SALBean.process(SALBean.java:201)
         at net.cellc.sal.ejb.sal.SAL_ki83rk_EOImpl.process(SAL_ki83rk_EOImpl.java:100)
         at net.cellc.sal.ejb.sal.SAL_ki83rk_EOImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:477)
         at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:108)
         at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:415)
         at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    SQLException: SQLState(23000) vendor code(1401)
    Your help would be really appreciated.
    Regards
    Ze Casperian

  • CR4E only support JDBC connections not support exterior datasource?

    <p>The current vision only support JDBC connections?</p><p>when I organized the datasource or datalist in the application, if this datasource or datalist can connect the data connection?</p><p> Thank you!</p><p>jessica</p>

    <p> Hi Jessica</p><p>Yes, the JRC only works with JDBC connections.  You can also pass it POJOs at runtime. <br /></p><p>Rob Horne<br /><a href="/blog/10">Rob&#39;s blog - http://diamond.businessobjects.com/blog/10</a></p>

  • Jdbc Connections not closed on OC4J 9.0.4 - BUG VERSION?

    Hi, I migrate my applications from 9ias 9.0.3 to OAS 10g with OC4J 9.0.4.
    After migration, the jdbc connections provide by Data Source Names don't be closed in Oracle Database 8.1.7, stay INACTIVE state, and in few time of access, the Oracle Database exceded limit of sessions.
    The OC4J 9.0.4.1 resolve this problem ? Where i can download this release ?
    Any body have any idea ?
    thanks,
    Danilo

    Hi
    did you find any solution for this problem? I'm having the same problem...
    thanks in advanced
    Vitor

  • JDBC Connections not closed

    Hi,
    we work on a Jdevelopper intranet application and an Oc4j application server.
    recently, we have reached the maximum number of connections to an Oracle DB.
    apparently, we have a lot of old connections that are not closed!!
    is there any action to do on Oc4j configuration or Jdevelopper application to avoid this problem ??
    thank you for help.
    Cordialy

    Hi
    did you find any solution for this problem? I'm having the same problem...
    thanks in advanced
    Vitor

  • Generic JDBC connections?

    Hi!
    The help for SQL Developer indicates that there should be a JDBC tab along with Oracle, Access, etc. in the new connections box - how do I get that tab to appear?
    The "Create/Edit/Select Database Connection" topic in the help center lists the following types of connections as being available:
    Oracle, TimesTen, Access, DB2, JDBC_, MySQL, SQL Server / Sybase, Terradata
    I am only seeing the Oracle, Access, SQL Server tabs.
    Thanks in advance for any help or suggestions!
    Dave Venus
    Edited by: dvenus on Sep 24, 2010 9:58 AM

    I've never tried using JDBC into other databases...have you tried adding a 3rd party JDBC driver and see if that adds a new tab for connections?
    Tools -> Prefs -> Database -> Third Party JDBC Drivers

  • Report with JDBC connection does not work when they includes CommandTable

    I am trying to render using the new version of Crystal report java component - CRJ a report contains Data base Fileds of type Command Table (Row Set) which seems to be not working.
    when i use the previes version of crystal SDK it works fine.
    after deugging the Sample CrystalHelper.java file which contains the method .changeDatasource()
    i found that the DataBaseController.setLocation() method changes the CommandTable class to Table when using it on CommandTable instance and as result all the fields defined into that CommandTable were disappear.

    That appears to be a known issue:  Eclipse JRC: To change the JDBC connection at run time
    Sincerely,
    Ted Ueda

  • How to set roles from JDBC connections

    Hi guys,
    I have a jdbc connection which purpose is to run queries based on a string that I construct in my program.
    My question is: if I have to run a DCL, like: SET ROLE RL_XXX TO USER1;
    What's the easiest way to do it with my same connection?
    Thanks.

    Hi Marc,
    Sorry for the typo. It's a BDC source, I use a WCF client to access a SQL Database (HR External System) that has 4 fields that are necessary to present in the Sharepoint User Profile. The issue occurs with a Full or a Delta Sync. The problem is that if the
    BDC source is not present the fields are deleted (I get a SPS-Dummy Added and all of the pbjects in the BDC Connector Space are deleted).
    I do not want this to happen. I do not want the User Profile Attributes/Fields to be empty/deleted if there is no connection I simply want them to stay what they are... I have two issues.
    1) Is that the even if i change my data on SQL Server side, the changes do not get picked up by the sync. Since the only field that is being tested for change is an ADid, since the id does not change the BDC does not consider them changes.
    2) If there is no connection I do not want the attributes to be deleted. I have not figured out a way to effectively do this.
    So my issue appears to be simple to solve, but after 4 days and hundreds of tutorial pages read I have yet to figure out a proper way to do this.
    Here is the pseudo-specification
    The Fields that come form the HR System (SQL Server) are to be presented in the user profile. If there is no connection to the BDC file the fields remain as they are until there is a connection and updates can be made. Changes to any of the fields are performed
    manually in the HR system. These changes must be picked up by the daily sync.

  • Can we set an Alert  for JDBC Connection Failures ?

    Hi friends ,
                      Can we set an alert for JDBC Connection failure as mail as well as Alert ?
                      I am using JDBC Sender adapter to read the data from sql server table.
                      I am not using BPM .
                      I want to set an alert and mail to respective person when JDBC Connection failure .
                      If XI trying to read a database if  connection failure or connection properties lost it won't come ti Integration engine itself  right ?
                     I assume as we have to set alert at system level .
                    Can you please give me the step by step details  to set this kind of alerts ?    
                      Expecting your reply asap .
    Best Regards.,
    V.Rangarajan

    Renga rajan,
    This is what I tried to explain in yuor previous threads.
    >>>If XI trying to read a database if connection failure or connection properties lost it won't come ti Integration engine itself right ?
    In such cases, you will get <b>an error at adapter level</b> and the msg wont come into IE.
    >>>I assume as we have to set alert at system level .
    If you are above SP 14 in XI3.0, then you can raise alerts for adapter errors also.
    No special config required for this.
    To understand this, give it a try and you will get the concept.
    Regards,
    Jai Shankar

  • Is there any way to set read timeout on JDBC connection?

    When the network connectivity between the machine
    where Database is running and where the application is running breaks,
    the query executed using the old connection handle is not timing out.
    Is there any way to set read timeout on JDBC connection. ?
    FYI, Oracle JDBC thin Driver is used in our application.

    Set the tuning parameters with Embedded OC4J Server Preferences>Current Workspace>Data Sources>jdev-connection-DBConnection1 node.
    Select the Tuning tab.
    The Inactivity Timeout parameter specifies the number of secs of inactivity after which a connection gets disconnected.

  • CR4E - JDBC Connection Properties - How do I set GenericJDBCDriver to Yes

    Hi,
    I need to setup my JDBC connection in CR4E like I would in my CRConfig.xml
    For example, I need to add this to my connection properties:
    <GenericJDBCDriver>
      <Option>Yes</Option>
      <DatabaseStructure>catalogs,schemas,tables</DatabaseStructure>
      <StoredProcType>Standard</StoredProcType>
      <LogonStyle>SQLServer</LogonStyle>
    </GenericJDBCDriver>
    Without setting these properties for my JDBC connection things do not work. I guess I need to use the Optional properites, but I do not know what the syntax would be for what I want.
    Please help.
    Thanks,
    Nick

    Please find below an example of setting the JDBC tags for Ms Sql 2000 (sp4)
    <JDBC>
         <CacheRowSetSize>100</CacheRowSetSize>
         <JDBCURL>jdbc:microsoft:sqlserver://vm-5akouassiwk2:1433</JDBCURL>
         <JDBCClassName>com.microsoft.jdbc.sqlserver.SQLServerDriver</JDBCClassName>
         <JDBCUserName>sa</JDBCUserName>
         <JNDIURL></JNDIURL>
         <JNDIConnectionFactory></JNDIConnectionFactory>
         <JNDIInitContext>/</JNDIInitContext>
         <JNDIUserName>weblogic</JNDIUserName>
         <GenericJDBCDriver>
              <Option>No</Option>
              <DatabaseStructure>catalogs,tables</DatabaseStructure>
              <StoredProcType>Standard</StoredProcType>
              <LogonStyle>SQLServer</LogonStyle>
         </GenericJDBCDriver>
    </JDBC>

  • JDBC Driver not found when connecting to Data Federator XI 3.0 SP3

    Hello,
    I am trying to connect Crystal 2008 to Data Federator however I am getting the Error
    Failed to open connection.
    Details: JDBC Driver not found.
    The JDBC Drivers are installed and working for the Universe Designer, however I am unable to get it working for Crystal. I am using the following connection parameters on Crystal:
    Connection URL: jdbc:datafederator://<<servername>>:3055/<<catalog>>
    Database Classname: com.businessobjects.datafederator.jdbc.DataFederatorDriver
    Any Advice on what I may have missed?

    The issue was solved, thanks to Patric Wan:
    u201CFailed to open the connection. Details: JDBC driver not found.u201D
    This means Data Federator JDBC driver was not added to:
    C:\Program Files\Business Objects\common\<version>\java\CRConfig.xml
    How to connect the Data Federator Server using JDBC?
    1. Retrieve the following files from the machine where Data Federator is installed, from the directory [data-federator-installation-dir]/JdbcDriver/lib.
        - thindriver.jar
        - avalon-framework-4.1.5.jar
        - jacorb.jar
        - log4j-1.2.8.jar
        - logkit-1.2.jar
    2. Copy these files to a directory of your choice ([your-jdbc-driverdirectory]).
    3. Add [your-jdbc-driver-directory]/thindriver.jar to CRConfig.xml   <Add to Classpath tag, you can refer to original sample.CRConfig.xml should be at: C:\Program Files\Business Objects\Common\4.0\java\CRConfig.xml, or search your BOBJ products install to find this file>
    4. URL: jdbc:leselect://<host>[:<port>][/[<catalog>]][[;param-name=value]*]
    Class Name : LeSelect.ThinDriver.ThinDriver
    Edited by: Craig Sander on Feb 12, 2011 8:22 PM

Maybe you are looking for

  • Airport Extreme slowing down internet connection to a crawl

    Hi, Can anyone explain this one? Just this afternoon my internet connection slowed to a crawl. Pages would stall loading and I couldn't even collect emails. There was a connection there. A Google search might take a minute or so but anything else wou

  • Upgrade to Lion from Snow Leopard using a different time machine disk

    Hello. I have just purchased a new 2011 iMac which has got OSX Lion (10.7.2) installed on it. I have set up all my basic data on it. And I have set up 3 administrator user accounts on it to be shared between me, my dad and my wife. I also own a 2010

  • Macbook Pro to HDTV audio cable

    I'm currently trying to run my Macbook Pro display through a Vizio E370VL LCD HDTV, and while I do get full picture, there is no audio present. I have a Moshi Mini DP to HDMI Adapter I use that supports audio, but after doing some research I came to

  • HT204088 how can I see the gift cards redeemed on my account

    I redeemed all of our itunes gift cards but they don't add up to what's been charged before it started charging my credit card again. We downoladed atleast $80 in itunes cards then after $40 using the credit, itunes started charging my credit card an

  • How does on get Aperture to rename edited versions of a file

    When I edit a photo, I would like Aperture to apend the edited file with a number, as in the way Lightroom does, how do I accomplish this?  The reason for this is to look at the name and know which file is which in the editing process.  If Aperture h