SQL Server connectivity from Jdeveloper 11g

I wanted to connect SQL SERVER from Jdeveloper 11g.
I am selecting Connection type as generic JDBC
I believe Driver class should be weblogic.jdbc.sqlserver.SQLServerDriver but i am not able to find the same from Jdev.
Please help me to resolve this.
Thanks,

Possibly new to English too. <g>
The name of this forum is "Database - General." It is not the place to post questions about JDeveloper. Please repost in the correct forum. Well that and get yourself a real database. <g>

Similar Messages

  • How to connect MS SQL Server 2000 with JDeveloper 11g

    Hi,
    I am new to JDevleoper, Is it possible to connect MS SQL Server 2000 with JDeveloper 11g.
    If possible can anyone help me in doing that?
    waiting for ur reply...
    Thanks in advance
    Regards,
    reddy

    Shay or other knowledgeable folks,
    Is there a way to utilize the wizard for "Business Tier > ADF Business Components > Business Components from Tables" for SQL Server 2000, 2005 or 2008. I can successfully execute sql via java programmatically or import a table from SQL Server with "Business Tier > ADF Business Components > Entity Object" wizard, but the Business Components from Tables simply doesn't see any tables under any schema. Without the "Business Components from Tables", i don't get the referential constraints imported into the application and to code all those from scratch is just not as elegant. So far i have only utilized the sql server jdbc driver from Microsoft (versions, 1.1, 1.2 and 2.0). Is there an alternative client that i need to use to enable selecting tables from that "Business Components from Tables" wizard. Is this a limitation of SQL Server, the jdbc driver or the wizard itself? Did anybody else experience the same issues? I am using Jdeveloper 11.1.1.0.1 against SQL Server 2005 (currently)
    Thanks,
    Andy

  • Unable to connect to SQL Server 2008 from OBIEE 11G(on 64 bit Linux box)

    We are unable to connect to connect to SQL Server 2008 from OBIEE 11G which is on 64 bit Red Hat Enterprise Linux.
    Infrastructure: OBIEE 11.1.1.5 64bit, on 64 bit Red Hat Linux Enterprise Linux 5.6 , MS SQL Server 2008 on 64 bit Microsoft Windows Server
    Issue Description: Unable to connect to SQL Server 2008 from OBIEE11G RPD
    Details: We are unable to connect to SQL Server 2008 from OBIEE which is on a 64 bit Linux box. We created the ODBC connection on Linux box to the SQL server. Whenever we try to import metadata it throws an error that says ‘Connection Failed’.
    Here are the steps we followed to setup the ODBC connection on Linux box.
    1) We updated the user.sh file with the LD_LIBRARY_PATH and LD_LIBRARY_PATH_64 values that point to $ORACLE_HOME/bifoundation/odbc/lib
    This is where we found the driver for SQL server SEmsss23.so.
    2) We updated the odbc.ini file with the entry for SQL server with the connection details
    SI_SQL_Server_DEV = SQL Server
    [SI_SQL_Server_DEV]
    Driver=/u001_OAS/Oracle/Middleware/Oracle_BI1/bifoundation/odbc/lib/SEmsss23.so
    Description=DataDirect 5.1 SQL Server Wire Protocol
    Address=10.230.216.52,54970
    AlternateServers=
    AnsiNPW=Yes
    ConnectionRetryCount=0
    ConnectionRetryDelay=3
    Database=SVBDW_NEW
    LoadBalancing=0
    LogonID=SIDatavalidation
    Password=~~~Password123
    QuoteID=No
    ReportCodePageConversionErrors=0
    3) We updated the IDENTIFIER_QUOTE_CHAR with single quotes instead of double quotes in the DB features of the RPD
    4) We updated the bash_profile file to point the ODBCINI variable to the path where the OBIEE odbc.ini file is present.
    Export ODBCINI=/u001_OAS/Oracle/Middleware/instances/instance1/bifoundation/OracleBIApplication/coreapplication/setup/odbc.ini
    The error in nqsserver.log file says “[nQSError: 16001] ODBC error state: IM002 code: 0 message: [DataDirect][ODBC lib] Data source name not found and no default driver specified.”

    Hi,
    Make sure SQL Configuration Manager make sure the TCP/IP enabled. please try below method
    Method 1
    Re Create a new ODBC & Oracle Bi Server DSN Configuration test it and use it in the connection pools.
    define your ODBC data source in your server where the BI Server is installed. Check your DB connections in your physical layer and make they are defined on your BI Server as well.
    Method 2:
    try using the complete TNS in below format in the datasource name section:
    (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP) (HOST =DB IP)(PORT = 1521)) ) (CONNECT_DATA = (SERVICE_NAME = ORCL) ) and provide the credentials.
    Method 3:
    To use the OCI call interface you need to have oracle client DB to be installed so that you can establish a connection using that DB credentials and connect to the remote dB and then import the tables.....this is the rule of thumb.
    hope helps you.
    Thanks
    Deva

  • Unable to setup BAM server connections from JDeveloper

    Hi
    I have installed BAM on XP .I'm able to access BAM from frontend and all services are up and running. When i tried to set up a BAM server connection from Jdeveloper , it failed.
    How do i get the values for the following parameters..
    Host Name:
    Port Number: 80
    User Name:
    Password:
    Domain Name:
    Your help in this regard is highly appreciated.
    Thanks
    Laj Abraham

    Host name will be the host where BAM is installed
    User name will be the user name of a user granted access to BAM
    Domain name will be that user's domain
    Password will be the user's password
    By default the user you used to install BAM is automatically granted acces, you can use the administrator page in BAM to add additional users

  • Unable to make UDDI Registry connection from Jdeveloper 11g

    Hi all,
    I am getting the below error while trying to connect to UDDI registry inquiry end point from Jdeveloper 11g.
    Testing connection with proxy proxy.tcs.com:8080...
    Contacting http://01HW324617.India.TCS.com:7101/registry/uddi/inquiry/...
    The inquiry endpoint could not be contacted. Test failed.
    Unsupported response content type &quot;text/html&quot;, must starts with &quot;text/xml&quot;. Response was:
    &lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot;&gt;
    &lt;HTML&gt;&lt;HEAD&gt;&lt;TITLE&gt;Error Message&lt;/TITLE&gt;
    &lt;META http-equiv=Content-Type content=&quot;text/html; charset=UTF-8&quot;&gt;
    &lt;STYLE id=L_10060_1&gt;A {
         FONT-WEIGHT: bold; FONT-SIZE: 10pt; COLOR: #005a80; FONT-FAMILY: tahoma
    A:hover {
         FONT-WEIGHT: bold; FONT-SIZE: 10pt; COLOR: #0d3372; FONT-FAMILY: tahoma
    TD {
         FONT-SIZE: 8pt; FONT-FAMILY: tahoma
    TD.titleBorder {
         BORDER-RIGHT: #955319 1px solid; BORDER-TOP: #955319 1px solid; PADDING-LEFT: 8px; FONT-WEIGHT: bold; FONT-SIZE: 12pt; VERTICAL-ALIGN: middle; BORDER-LEFT: #955319 0px solid; COLOR: #955319; BORDER-BOTTOM: #955319 1px solid; FONT-FAMILY: tahoma; HEIGHT: 35px; BACKGROUND-COLOR: #d2b87a; TEXT-ALIGN: left
    TD.titleBorder_x {
         BORDER-RIGHT: #955319 0px solid; BORDER-TOP: #955319 1px solid; PADDING-LEFT: 8px; FONT-WEIGHT: bold; FONT-SIZE: 12pt; VERTICAL-ALIGN: middle; BORDER-LEFT: #955319 1px solid; COLOR: #978c79; BORDER-BOTTOM: #955319 1px solid; FONT-FAMILY: tahoma; HEIGHT: 35px; BACKGROUND-COLOR: #d2b87a; TEXT-ALIGN: left
    .TitleDescription {
         FONT-WEIGHT: bold; FONT-SIZE: 12pt; COLOR: black; FONT-FAMILY: tahoma
    SPAN.explain {
         FONT-WEIGHT: normal; FONT-SIZE: 10pt; COLOR: #934225
    SPAN.TryThings {
         FONT-WEIGHT: normal; FONT-SIZE: 10pt; COLOR: #934225
    .TryList {
         MARGIN-TOP: 5px; FONT-WEIGHT: normal; FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: tahoma
    .X {
         BORDER-RIGHT: #955319 1px solid; BORDER-TOP: #955319 1px solid; FONT-WEIGHT: normal; FONT-SIZE: 12pt; BORDER-LEFT: #955319 1px solid; COLOR: #7b3807; BORDER-BOTTOM: #955319 1px solid; FONT-FAMILY: verdana; BACKGROUND-COLOR: #d1c2b4
    .adminList {
         MARGIN-TOP: 2px
    &lt;/STYLE&gt;
    &lt;META content=&quot;MSHTML 6.00.2800.1170&quot; name=GENERATOR&gt;&lt;/HEAD&gt;
    &lt;BODY bgColor=#f3f3ed&gt;
    &lt;TABLE cellSpacing=0 cellPadding=0 width=&quot;100%&quot;&gt;
    &lt;TBODY&gt;
    &lt;TR&gt;
    &lt;TD class=titleborder_x width=30&gt;
    &lt;TABLE height=25 cellSpacing=2 cellPadding=0 width=25 bgColor=black&gt;
    &lt;TBODY&gt;
    &lt;TR&gt;
    &lt;TD class=x vAlign=center align=middle&gt;X&lt;/TD&gt;
    &lt;/TR&gt;
    &lt;/TBODY&gt;
    &lt;/TABLE&gt;
    &lt;/TD&gt;
    &lt;TD class=titleBorder id=L_10060_2&gt;Network Access Message:&lt;SPAN class=TitleDescription&gt; The page cannot be displayed&lt;/SPAN&gt; &lt;/TD&gt;
    &lt;/TR&gt;
    &lt;/TBODY&gt;
    &lt;/TABLE&gt;
    &lt;TABLE id=spacer&gt;
    &lt;TBODY&gt;
    &lt;TR&gt;
    &lt;TD height=10&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;
    &lt;TABLE width=400&gt;
    &lt;TBODY&gt;
    &lt;TR&gt;
    &lt;TD noWrap width=25&gt;&lt;/TD&gt;
    &lt;TD width=400&gt;&lt;SPAN class=explain&gt;&lt;ID id=L_10060_3&gt;&lt;B&gt;Explanation:&lt;/B&gt;&lt;/ID&gt;&lt;/SPAN&gt;&lt;ID id=L_10060_4&gt; The request timed out before the page could be retrieved. &lt;/ID&gt;&lt;BR&gt;&lt;BR&gt;
    &lt;B&gt;&lt;SPAN class=tryThings&gt;&lt;ID id=L_10060_5&gt;&lt;B&gt;Try the following:&lt;/B&gt;&lt;/ID&gt;&lt;/SPAN&gt;&lt;/B&gt;
    &lt;UL class=TryList&gt;
    &lt;LI id=L_10060_6&gt;&lt;B&gt;Refresh page:&lt;/B&gt; Search for the page again by clicking the Refresh button. The timeout may have occurred due to Internet congestion.
    &lt;LI id=L_10060_7&gt;&lt;B&gt;Check spelling:&lt;/B&gt; Check that you typed the Web page address correctly. The address may have been mistyped.
    &lt;LI id=L_10060_8&gt;&lt;B&gt;Contact website:&lt;/B&gt; You may want to contact the website administrator to make sure the Web page still exists. You can do this by using the e-mail address or phone number listed on the website home page.
    &lt;/UL&gt;
    &lt;ID id=L_10060_9&gt;If you are still not able to view the requested page, try contacting your administrator or Helpdesk.&lt;/ID&gt; &lt;BR&gt;&lt;BR&gt;
    &lt;/TD&gt;
    &lt;/TR&gt;
    &lt;/TBODY&gt;
    &lt;/TABLE&gt;
    &lt;TABLE id=spacer&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height=15&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;
    &lt;TABLE width=400&gt;
    &lt;TBODY&gt;
    &lt;TR&gt;
    &lt;TD noWrap width=25&gt;&lt;/TD&gt;
    &lt;TD width=400 id=L_10060_10&gt;&lt;B&gt;Technical Information (for support personnel)&lt;/B&gt;
    &lt;UL class=adminList&gt;
    &lt;LI id=L_10060_11&gt;Error Code 10060: Connection timeout
    &lt;LI id=L_10060_12&gt;Background: The gateway could not receive a timely response from the website you are trying to access. This might indicate that the network is congested, or that the website is experiencing technical difficulties.
    &lt;LI id=L_10060_13&gt;Date: 8/11/2011 6:03:20 AM [GMT]
    &lt;LI id=L_10060_14&gt;Server: INCHNSIRCEL01.India.TCS.com
    &lt;LI id=L_10060_15&gt;Source: Firewall
    &lt;/UL&gt;
    &lt;/TD&gt;
    &lt;/TR&gt;
    &lt;/TBODY&gt;
    &lt;/TABLE&gt;
    &lt;/BODY&gt;
    &lt;/HTML&gt;
    I am getting the below page while trying to open the endpoint from browser.
    *<definitions name="UDDI_API_V3" targetNamespace="urn:uddi-org:api_v3generated/">*
    *<import namespace="urn:uddi-org:api_v3" location="http://01HW324617.India.TCS.com:7101/registry/uddi/inquiry/3.0/wsdl"/>*
    *<import namespace="urn:uddi-org:inquiry" location="http://01HW324617.India.TCS.com:7101/registry/uddi/inquiry/1.0/wsdl"/>*
    *<import namespace="urn:uddi-org:api_v2" location="http://01HW324617.India.TCS.com:7101/registry/uddi/inquiry/2.0/wsdl"/>*
    *</definitions>*
    Please help me in fixing the above issue.
    Regds,
    Harini

    Hi,
    See this.
    <LI id=L_10060_11>Error Code 10060: Connection timeout
    <LI id=L_10060_12>Background: The gateway could not receive a timely response from the website you are trying to access. This might indicate that the network is congested, or that the website is experiencing technical difficulties.
    <LI id=L_10060_13>Date: 8/11/2011 6:03:20 AM [GMT]
    <LI id=L_10060_14>Server: INCHNSIRCEL01.India.TCS.com
    <LI id=L_10060_15>Source: Firewall
    It means that you are testing the service from behind the proxy. Try adding the hostname, 127.0.0.1, localhost etc to the exception list and see if it helps.
    -Arun

  • Connect from JDeveloper 11g TP4 to Weblogic 10.3

    Hi,
    Did anybody manage to connect to Weblogic 10.3 from JDeveloper 11.1 TP4 ?
    I looks different from the tutorial provided by Shay Shmeltzer on how to connect JDev 10g to Weblogic. With 11.1 TP4, I create the an Application server connection, I've put the path to the weblogic.jar in the field named "Path to Weblogic containing Weblogic Client" but when I test the connection, I get "Cannot instantiate class: weblogic.jndi.WLInitialContextFactory" which suggest the jar is not loaded. I run JDev on Linux, I've copied the file in "JDEV_HOME/jdev/lib/ext (I've created the directory)", "JDEV_HOME/jdev/extensions" and "JDEV_HOME/jdev/lib" and bounce Jdev. Same error.
    The online doc doesn't say more that what I've guess. Obviously I'm doing something wrong. Can anybody help me, it may be obvious because nobody seems to have asked that question in this forum.
    Thank you very much for your help. Best Regards
    Gregory

    Gregory,
    an EAR file deployment will always work ;-) However, then you don't have the ADF libraries installed on WebLogic 10.3 wich will cause the next problem. So unless you deploy the whole ADF libraries with your application (appr. 70 MB) you need to enable the WLS 10.3 instance for ADF running the ADF installer from the production version. This adf installer is part of the JDeveloper / WLS installer that you can obtain from otn.oracle.com/products/jdev
    At the end of the day the TP4 turns out to be what it is: a technology preview that gets you started but not more
    Frank

  • SQL Server Connectivity from Oracle Solaris 9.2

    Hi,
    We have data in SQL Server 2000 database and we need to transfer this to Oracle 9.2 database in SOLARIS environment. To do this, we would like to connect to SQL Server from Oracle Solaris, we explored options like
    Transparent Gateway and Hetrogeneous Services.
    We doubt whether it is possible to do so from Solaris environment to SQL Server, which runs only in Windows OS.
    We tried connecting from SQL Server to Oracle Solaris, which we could not able to do it successfully.
    Please guide us the various methods available to accomplish the same, thank you.
    Regards,
    Deva

    You need an ODBC driver for Solaris.
    Sybrand Bakker
    Senior Oracle DBA

  • Questions about connection from JDeveloper to BAM 11g TP4

    1. Is it possible to connect from JDeveloper 10.1.3.x to BAM 11g TP4? If yes, is the domain name obligatory for connection?
    2. Is it possible to connect from JDeveloper 11g TP4 (on remote machine) to BAM 11g TP4?
    Thank you for answers
    Edited by: Olga on May 8, 2009 10:46 AM

    Try the WebCenter forum:
    WebCenter Portal

  • Error Creating Application Server Conn from Jdeveloper

    Hi,
    Im receiving following error while trying to create Jdeveloper connection:
    Error while getting remote MBeanServer for url: ormi://myhostname.pk:20000/default:
    Error reading application-client descriptor: Error communicating with server: Lookup error: javax.naming.AuthenticationException: Not authorized; nested exception is:
         javax.naming.AuthenticationException: Not authorized; nested exception is:
         javax.naming.NamingException: Lookup error: javax.naming.AuthenticationException: Not authorized; nested exception is:
         javax.naming.AuthenticationException: Not authorized [Root exception is javax.naming.AuthenticationException: Not authorized]
    I have supplied the following credentials to create the connection.
    ConnectionType: ApplicationServer10.1.3
    username: oc4jadmin
    password: welcome{assuming welcome as default password, password has not been changed since initial R12.1.2 install. I have also tried oracle as defult pwd}
    Connect to: Single Instance
    Hostname: myhostname
    oc4jinstance: oacore
    OPMN port: 6500
    I have followed the following metalink note "How to Create an Application Server Connection from JDeveloper [ID 372989.1]" and have performed the following tests.
    command: sh adopmnctl.sh satus -port
    =========================
    You are running adopmnctl.sh version 120.6.12010000.3
    Checking status of OPMN managed processes...
    myhostname:6500
    command: sh adopmnctl.sh status -l
    ========================
    You are running adopmnctl.sh version 120.6.12010000.3
    Checking status of OPMN managed processes...
    Processes in Instance:
    ---------------------------------------------------------------------------------------------------------+------
    ias-component | process-type | pid | status | uid | memused | uptime | ports
    ---------------------------------------------------------------------------------------------------------+------
    OC4JGroup:default_group | OC4J:oafm | 18277 | Alive | 658406017 | 116596 | 49:03:18 | rmi:25500,jms:24500,ajp:25000
    OC4JGroup:default_group | OC4J:forms | 18206 | Alive | 658406016 | 111040 | 49:03:22 | rmi:20500,jms:23500,ajp:22000
    OC4JGroup:default_group | OC4J:oacore | 18122 | Alive | 658406015 | 307376 | 49:03:32 | rmi:20000,jms:23000,ajp:21500
    HTTP_Server | HTTP_Server | 18065 | Alive | 658406014 | 114908 | 49:03:13 | https1:4443,http1:8000
    command: netstat -an |grep 6500
    ======================
    tcp 0 0 127.0.0.1:6500 0.0.0.0:* LISTEN
    tcp 0 0 10.10.50.6:6500 0.0.0.0:* LISTEN
    Has any one faced similar problem. Please help!
    Edited by: faanwar on Aug 18, 2010 11:00 AM

    Try changing the oc4jadmin password:
    - stop oc4j
    - edit system-jazn-data.xml and replace encrypted pw with !newpassword
    - remove cache pw from securestore directory
    - start oc4j
    regards,
    Bernhard Jongejan
    http://bernhardjongejan.spaces.live.com

  • How to connect from Oracle 11g to SQL Server 2008 R2

    Hi,
    Is it possible to connect from Oracle 11g on AIX to SQL Server 2008 R2? If so, what is the preferred method?
    SQL Server has the original table. From Oracle 11g, we want to access data which is in SQL Server real time.
    Thank You
    Sarayu

    Hi,
    Have a look at these Oracle notes for the full information on the gateways -
    Master Note for Oracle Gateway Products (Doc ID 1083703.1)
    Functional Differences Between DG4ODBC and Specific Database Gateways (Doc ID 252364.1)
    Gateway and Generic Connectivity Licensing Considerations (Doc ID 232482.1)
    How to Setup DG4MSQL (Oracle Database Gateway for MS SQL Server) 64bit Unix OS (Linux, Solaris, AIX,HP-UX) (Doc ID 562509.1)
    How to Configure DG4ODBC on 64bit Unix OS (Linux, Solaris, AIX, HP-UX Itanium) to Connect to Non-Oracle Databases Post Install (Doc ID 561033.1)
    The Database Gateway for SQL*Server (DG4MSQL) needs a separate license but the Database Gateway for ODBC (DG4ODBC) is included in your RDBMS license. You only need to provide the third party ODBC driver needed by DG4ODBC.
    Regards,
    Mike

  • Unable to Connect to Oracle 10gR1 database from JDeveloper 11g using OCI

    We are migrating our application from OC4J to Weblogic server. As a part, I am trying to create a database connection in JDeveloper 11g (11.1.1.3.0 - Build JDEVADF_11.1.1.3.PS2_GENERIC_100408.2356.5660) to Oracle 10gR1 database. Previously I had Oracle 10g Client installed in the machine. Created a database connection using OCI driver and when I try to test connect, I got "Test Failed: no ocijdbc11 in java.library.path". I searched through Metalink and forums and one suggestion was to install Oracle 11g Client on the machine where Jdeveloper 11g is installed. I installed 11g R1 client and tried the same test connection using OCI driver. Now I am getting "Test failed: ORA-12705: Cannot access NLS data files or invalid environment specified" error.
    The same database connection works good with Thin driver with both Oracle 10g client and 11gR1 client.
    Previously I had Jdeveloper 10.1.3.2 and Oracle 10g Client and I was able to connect to database without any errors.
    Could you provide me the steps for this or if I missed any steps?
    Steps to Replicate:
    For the error: no ocijdbc11 in java.library.path
    1) Install JDeveloper 11g (With embedded Weblogic Server)
    2) Install Oracle 10g Client on the same machine
    3) Create a database connection in the "Application Resources --> Connection"
    4) Use OCI driver. Enter the host details about the Oracle 10g R1 database
    5) Test connect to the database.
    ORA-12705: Cannot access NLS data files or invalid environment specified
    1) Install JDeveloper 11g (With embedded Weblogic Server)
    2) Install Oracle 11gR1 Client on the same machine
    3) Create a database connection in the "Application Resources --> Connection"
    4) Use OCI driver. Enter the host details about the Oracle 10g R1 database
    5) Test connect to the database.
    Note: Tried the same scenarios with Oracle 11gR2 client as well. It was not working at all.
    Any ideas and pointers would be great.

    1. will my problem get solved after i install oracle 11g client on my machine.Yes, your problem should get solved. The version of the Oracle 11g Client must match the version of the JDev's JDBC drivers. Alternatively you may install an Oracle 11g Client and replace JDev's Oracle JDBC drivers with these from the installed client. Please, read carefully my 1st posting above in this thread.
    2. can i patch JDeveloper 11g on my machine to work with 10g client, or can i do the same with 10g client.You might succeed if you replace JDev's built-in JDBC drivers (which are 11g versions) with 10g versions, but I do not recommend you to try that because JDeveloper 11g and ADF 11g may be using some 11g features that do not exist in 10g drivers, so you may have problems.
    I also have PLSql developer installed on my machine and it works well.PL/SQL Developer does not use JDBC drivers, so it is not an relevant example in this case.
    My generall recommendation is to use Oracle JDBC Thin drivers. Oracle claimed that OCI drivers had better performance, but this was really true about earlier releases. Current Oracle 11g JDBC Thin drivers offer excellent performance and they offer all the features of the OCI versions (which was not true about earlier releases). In my opinion, the most important disadvantage of Oracle JDBC OCI drivers is that most versions have native memory leaks so all the RAM would get consumed after long application execution. The fact that WebLogic Server does not offer Oracle JDBC OCI drivers by default anymore says that Oracle discourages the usage of the OCI driver in favour of Thin driver.
    Dimitar

  • Unable to Connect to Oracle 10gR1 database from JDeveloper 11g using OCI JD

    We are migrating our application from OC4J to Weblogic server. As a part, I am trying to create a database connection in JDeveloper 11g (11.1.1.3.0 - Build JDEVADF_11.1.1.3.PS2_GENERIC_100408.2356.5660) to Oracle 10gR1 database. Previously I had Oracle 10g Client installed in the machine. Created a database connection using OCI driver and when I try to test connect, I got "Test Failed: no ocijdbc11 in java.library.path". I searched through Metalink and forums and one suggestion was to install Oracle 11g Client on the machine where Jdeveloper 11g is installed. I installed 11g R1 client and tried the same test connection using OCI driver. Now I am getting "Test failed: ORA-12705: Cannot access NLS data files or invalid environment specified" error.
    The same database connection works good with Thin driver with both Oracle 10g client and 11gR1 client.
    Previously I had Jdeveloper 10.1.3.2 and Oracle 10g Client and I was able to connect to database without any errors.
    Could you provide me the steps for this or if I missed any steps?
    Steps to Replicate:
    For the error: no ocijdbc11 in java.library.path
    1) Install JDeveloper 11g (With embedded Weblogic Server)
    2) Install Oracle 10g Client on the same machine
    3) Create a database connection in the "Application Resources --> Connection"
    4) Use OCI driver. Enter the host details about the Oracle 10g R1 database
    5) Test connect to the database.
    ORA-12705: Cannot access NLS data files or invalid environment specified
    1) Install JDeveloper 11g (With embedded Weblogic Server)
    2) Install Oracle 11gR1 Client on the same machine
    3) Create a database connection in the "Application Resources --> Connection"
    4) Use OCI driver. Enter the host details about the Oracle 10g R1 database
    5) Test connect to the database.
    Note: Tried the same scenarios with Oracle 11gR2 client as well. It was not working at all.
    Any ideas and pointers would be great.

    1. will my problem get solved after i install oracle 11g client on my machine.Yes, your problem should get solved. The version of the Oracle 11g Client must match the version of the JDev's JDBC drivers. Alternatively you may install an Oracle 11g Client and replace JDev's Oracle JDBC drivers with these from the installed client. Please, read carefully my 1st posting above in this thread.
    2. can i patch JDeveloper 11g on my machine to work with 10g client, or can i do the same with 10g client.You might succeed if you replace JDev's built-in JDBC drivers (which are 11g versions) with 10g versions, but I do not recommend you to try that because JDeveloper 11g and ADF 11g may be using some 11g features that do not exist in 10g drivers, so you may have problems.
    I also have PLSql developer installed on my machine and it works well.PL/SQL Developer does not use JDBC drivers, so it is not an relevant example in this case.
    My generall recommendation is to use Oracle JDBC Thin drivers. Oracle claimed that OCI drivers had better performance, but this was really true about earlier releases. Current Oracle 11g JDBC Thin drivers offer excellent performance and they offer all the features of the OCI versions (which was not true about earlier releases). In my opinion, the most important disadvantage of Oracle JDBC OCI drivers is that most versions have native memory leaks so all the RAM would get consumed after long application execution. The fact that WebLogic Server does not offer Oracle JDBC OCI drivers by default anymore says that Oracle discourages the usage of the OCI driver in favour of Thin driver.
    Dimitar

  • Connect SQL server source from OWB

    Hi,
    I have to connect to SQL Server source from OWB.
    I am using OWB 10.2 version and Owb is installed on UNIX platform.
    I have created system DSN, made respective entries in hs/admin and edited listener.ora file.
    In OWB Non-Oracle sorces trying to connect with ODBC connection to SQL server source.
    It is throwing erorr 'ORA-28545:error diagonised by Net8 agent when connecting to an agent Unable to retrieve text of NETWORK/NCR message 65535
    ORA-02063: preceding 2 lines from OWB-2339'
    How to check System DSN is setup properly on UNIX or not.
    Could anyone help out on this.

    Hi David,
    I have created db link and queried with select statement.
    It has thrown following error.
    " ORA-12537: TNS:connection closed".
    And, I don't know how to use "trace level gateway service configuration property in the service .ora file".
    I want to start from the first.
    Could you please give me the guidelines on, how to connect to a Sql server source(Which is on Remote Server) from OWB.
    What are the prerequisites and steps.
    Thanks for your help,
    Shaik.

  • Have anyone connected to sql server 2000 from forms 6i release 2

    Have anyone connected to sql server 2000 from forms 6i release 2
    on winNT 2000. sql server is also on same machine.
    If yes then pls tell me details regarding
    oca version
    any patch required for forms 6i release 2(download location of
    patch)
    version of odbc drivers
    or any other detils
    urgent
    thanks
    yogesh

    refresh

  • Can't connect  to SQL Server 2000 from serlet

    Hi,
    I can connect to SQL Server 2000 from standalone program after set the classpath properly.
    but I Can't connect to SQL Server 2000 from serlet, I am using Tomcat 4.1 and Win2K pro now. Do I need to set something for servlet just like CLASSPATH?
    Any help will be appreciated.
    package usingjsp;
    import java.io.*;
    import java.sql.*;
    import javax.servlet.*;
    public class JDBCServlet extends GenericServlet
    protected Connection conn;
    public void init()
    try
    // Make sure the JdbcOdbcDriver class is loaded
    Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver");
    // Try to connect to a database via ODBC
    conn = DriverManager.getConnection(
    "jdbc:microsoft:sqlserver://hu:1433", "sa","");
    catch (Exception exc)
    // If there's an error, use the servlet logging API
    getServletContext().log(
    "Error making JDBC connection: ", exc);
    public void service(ServletRequest request, ServletResponse response)
    throws java.io.IOException
    response.setContentType("text/html");
    PrintWriter out = response.getWriter();
    out.println("<HTML>");
    out.println("<BODY>");
    out.println("<PRE>");
    out.println("The JDBC connection is:");
    out.println(conn);
    out.println("</PRE>");
    out.println("</BODY>");
    out.println("</HTML>");

    i also have this problem..do u have any solution?

Maybe you are looking for

  • OS X past and future...

    Hello everyone. I was just thinking about OS X and stuff today. I just feel the need to express my thoughts, at least here on forums. 1) Leopard (10.5) was a perfect OS for me, worked 100% (never had any issues). It took lots of space on HDD yes, but

  • Authority Check - Best Practice - Optimum Way

    Hi Experts, I want to use authority check in my reports. The requirement is to filter data on the selection screen and execute the query. Error messages are not to be thrown because, a user will find it difficult to enter all the document types/compa

  • Uninstall program on remote machine -

    All, I am trying to uninstall an application on a WYSE 32bit Windows Embedded device.  I am unable to use WIn32_product and have to Win32Reg_AddRemovePrograms.  I can query the device remotely fine with the following command PS C:\> get-wmiobject -Cl

  • Update invalid characters in database using regexp_replace

    I have a table in which a column has invalid characters like ` Is it possible to update this using regexp_replace with correct character '? Thanks

  • Copying Folders, but not images into another Catalogue

    Hi, I currently have two external hard drives where I have all my bird photos classified into folders by the name of the bird. There are more or less a hundred. I have one external hard drive where I import all the photos to and the other external wh