Setting up connection

At our site
http://www.bbsjazzbluessoups.com,
we recently switched hosting. The new hosting is a subdirectory,
and I'm having trouble getting the connection. Please advise on how
to set up a connection when its a path like this -
/bbsjazzbluessoups.com (the folder is sitting in this /
directory)

Hi,
The URL used should be
http://www.bbsjazzbluessoups.com/'foldername'.
In case it is not working what is the error you are getting.
Thanks,
Manoj

Similar Messages

  • Setting up connection pool in MSSQL SERVER 2000

    hi,
    i m having too much trouble in setting up connection pool in TOMCAT 5.0.25 for MS SQL SERVER 2000...
    ......so plz guide me how to do that...
    TIA
    bhups

    i m having too much trouble in setting up connection
    pool in TOMCAT 5.0.25 for MS SQL SERVER 2000...Never done it for SQL Server, but setting up a connection pool in tomcat is basically the same no matter what DB you're using:
    http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-datasource-examples-howto.html
    The two files you're interested in are server.xml and web.xml. You just need to look at the MYSQL and Oracle examples and "tweak" it ...

  • Unable to set up connection factory for stand-alone resource adapter

    I'm testing out JCA 1.5 in OC4J P4, and I try to register a resource apapter by configuring oc4j-ra.xml like this:
    <connector-factory location="MySomething" connector-name="Something">
    However, I get the following error:
    05/09/28 17:14:24 Notification ==> Warning. Unable to set up connection factory
    to location MySomething for a resource adapter deployed as stand-alone.
    Is this a bug, or just me?
    Would appreciate it if someone knew what was wrong.
    Regards
    -am

    Looks like you need to tell us more...
    How is your adapter packaged?
    Which files are included (deployment descriptors, etc)?
    --olaf                                                                                                                                                                                                                                                                                   

  • Error in OFR : "No database connection string set for connection group"

    Hi all..
    In OFR, Batches Fail To Export When Line Pairing is Enabled and Batch Remains in State 750 With Error "No database connection string set for connection group".
    I have followed all steps associated to line pairing with database still my batch is not exported..
    Any help is appreciated..
    Thanks in advance

    Hi,
    in case you haven't done this already: for this problem we'd really need you to open a CSS message.
    From your problem description it sounds likely that LCA routines and liveCache user don't fit together. Please check the solution of note 811207 to see if that assumption is correct.
    Furthermore: liveCache 7.5 and SCM 4.0 are not released together (yet). When using SCM 4.0 only liveCache versions 7.4.03 Build XX are released. This it seems you're current combination is not supported!
    Please take a look at PAM (Produkt Availability Matrix) on the SAP Service Marketplace to see which combinations have been released.
    Kind regards,
    Roland
    Message was edited by: Roland Mallmann

  • Automatically/Programmatically setting private connection in portlets

    We are creating a BI dashboard with Discoverer Relational 10g and Portal 10g (latest versions). Our dashoard consists of approximately 15 portlets.
    We have opted for private connections in which each portal user connects using his own private connection and the VPD is used for data security. We have been able to use the capi.sh scripts to programmatically create 1 private connection per user.
    Is there a way to avoid that each of the 50 users have to "customize" each of the 15 portlets to choose their one and only private connection from the list of connections before they see their own data. Please note that we cannot show default data as the data is specific to the user.
    we need a way of programmatically preset the connections of each portlet for each user so that the see the data as soon as they enter instead of us spending all the time to explain all the users how to set the connection and then each of them spending time choosing the connections.
    Has anyone come up with a solution?
    Thanks in advance

    Hi Goga
    Let's look at your points in turn.
    1> You do need to create a database user, granting necessary privileges and sharing required workbooks
    2> Yes you do need to have an OID entry for the single sign on piece. Personally I'd use the same username for both single sign-on and the database. It will be far easier for the users, and for you who has to manage it. Thus if a user leaves you will be removing / disabling the same user in both environments
    3> You will need to have a private connection for each user. This cannot be done through OEM and can either be done online as you suggest or scriptually using CAPI or using your own script. I know of a company that has created a front-end to Discoverer such that when the user enters their SSO username correctly the system checks to see if a private connection exists for ths user - you can do this if the accounts have the same name - and then creates the connection on the fly if no such account exists. Because the user has a database role they will see all reports shared with them using the role. By the way, the connections are stored in this table in the infrastructure: wwsso_psex_user_info$
    4> This is the one that has me confused too. I've been trying to think if there was a way to allow portlets to be accessed using a user's private connection automatically. There isn't exactly. I've been reading the Publising Workbooks in Oracle Application Server guide (page 3-23) and it seems to suggest a way. Here is what it says:
    If you choose connections other than the Publisher’s Connection to display data
    or allow users to choose their own connection, only those connections that have access to the worksheet defined in the portlet will be able to see it. For example, you create a worksheet portlet using worksheet MyWorkbook.sheet1 and choose the Publisher’s Connection to be user SCOTT and you allow users to customize their database connection. The user SCOTT has shared the MyWorkbook workbook to user MARY but not to user FRED. When user MARY customizes the portlet to use her connection, she will see the contents of MyWorkbook.sheet1. If user FRED customizes the portlet to use his connection he will get an error stating that he does not have access to the worksheet.
    This might just be the clue. I think its worth a try. Please let me know how you get on.
    Best wishes
    Michael

  • Setting the connection for the database

    hello,
    Can somebody tell me how to set the username and password to be able to connect to the Oracle database? I installed
    Oracle Developer Suite10g (9.0.4.0.0) for Microsoft Windows. When I try to connect it asks for username and password. During the installation I did not see any option to set the connection......
    Thanks.

    Did you installed an Oracle Server ? if not , the problem is that you do not have an Oracle Server to have a database. However you can run forms without a database setting the code: null; in the trigger for the form related to the login.
    Joel Pérez
    http://www.oracle.com/technology/experts

  • Setting up connection using a single connection string.

    Post Author: DubbleOh7
    CA Forum: Data Connectivity and SQL
    I know about the ConnectionInfo object in for .NET crystal reports, but for security purposes we don't have access to a password of any kind, nor do we pass them around our web pages, they are used for login access only. So how can I just set a connection string for the report to access a SQL Server database? I prefer NOT to do the Dataset work around. Its a busy server and the report could contain up to 20,000 records with lots of fields. Not efficient. I also know I could make an object fill it with data from a data reader, but not sure thats as efficient as just having the report execute the stored procedure I have. I also don't want the report to pop up that login page automatically for the users since they have already logged into the website. I'm looking forward to any ideas or suggestions. Thanks in advance for any info or suggestions you may have!
    Summary:
    I don't want to use datasets due to inefficiency and overhead of several thousand records.
    I just want to be able to use a connection string using windows authentication enabled for the report connection to a SQL Server database.
    This is for SQL 2K5..calling a stored procedure
    Crystal reports for ASP.NET (VB language solutions preferred)
    Basically I'd like to use a trusted connection and
    ReportConnection.ServerName = "SERVER"
    ReportConnection.DatabaseName = "DATABASE"
    ReportConnection.IntegratedSecurity = True
    doesn't get me there.

    If your Internet Service Provider is DSL follow this link

  • ERROR : Cannot get data set while connecting to BI.

    Hi,
    I am trying to connect to BI trouggh my application. I am following one of the document which i got from SDN. But now i am getting ERROR : Cannot get data set  while connecting to BI.  Can any one tell me why i am getting this error.
    when i tried to excecute first time it gave the same error for the bellow given Querry. But after that it got excecuted. Then again It gave the same error. But it got excecuted twise like that after that it dint get excecuted once also.
    Querry:  SELECT
    [Measures].MEMBERS ON AXIS(0) ,
    NON EMPTY [0VENDOR].MEMBERS ON AXIS(1)
    FROM [0PUR_C01/0PUR_C01_DB_Q04];
    Regards,
    H.V.Swathi
    Edited by: H.V Swathi on Jun 1, 2009 1:33 PM

    HI,
    Thanks for ur reply.
    NO
    i am using this part of code to display the result in IFrame.
    IConnectionFactory connectionFactory = null;
         IBIConnection connection = null;
         IBIDataSet dataset = null;
    //        get the MDX statement entered by the User
         String mdxStatement = wdContext.currentContextElement().getMDXQ();
         wdComponentAPI.getMessageManager().reportSuccess("mdxStatement  "+mdxStatement.toString());
    //        Declare a stringbuffer to store the HTML Code
         StringBuffer l_strXmlFile = new StringBuffer();
         wdComponentAPI.getMessageManager().reportSuccess("l_strXmlFile  "+l_strXmlFile.toString());
         try {
    //        Connect to BW System
         Context initctx = new InitialContext();
    //        Perform JNDI lookup to obtain connection factory
            wdComponentAPI.getMessageManager().reportSuccess("l_strXmlFile eeeeee ");
         connectionFactory =
         (IConnectionFactory) initctx.lookup(
         "deployedAdapters/SDK_XMLA/shareable/SDK_XMLA");
    //        Establish connection using default connection properties
            wdComponentAPI.getMessageManager().reportSuccess("connectionFactory  "+connectionFactory);
         connection =
         (IBIConnection) connectionFactory.getConnectionEx(null);
         wdComponentAPI.getMessageManager().reportSuccess("connection  "+connection);
         IBIOlap olap = ((IBIConnection) connection).getOlap();
         wdComponentAPI.getMessageManager().reportSuccess("olap  "+olap);
    //     Execute the MDX statement and retrieve the data set
    //     using the execute method of the IBIOlap interface.
    dataset = olap.execute(mdxStatement);
    wdComponentAPI.getMessageManager().reportSuccess("dataset  "+dataset);
    } catch (Exception e) {
    e.printStackTrace();
    wdComponentAPI.getMessageManager().reportException(
    e.getLocalizedMessage(),
    true);
    } finally {
    try {
    connection.close();
    } catch (Exception e1) {
    //     TODO Auto-generated catch block
    e1.printStackTrace();
    if (dataset == null) {
    wdContext.currentContextElement().setResult_Visibility(
    WDVisibility.NONE);
    } else {
    wdContext.currentContextElement().setResult_Visibility(
    WDVisibility.VISIBLE);
    //     Render the data set.
    l_strXmlFile
    .append("<html>")
    .append("<head></head>")
    .append("<body>");
    //     Display the MDX that has been executed.
    l_strXmlFile
    .append("<p><b>MDX Statement that was executed:</b><br> ")
    .append("<span class=\"code\">")
    .append(mdxStatement)
    .append("</span> </p>");
    try {
    BIDataSetTableModel table =
    new BIDataSetTableModel(dataset, false);
    l_strXmlFile.append("<p>Result set:</p>");
    l_strXmlFile.append(
    "<table width=700 border=1 cellpadding=0 cellspacing=0>");
    int row = table.getRowCount();
    int col = table.getColumnCount();
    for (int i = 0; i < row; i++) {
    l_strXmlFile.append("<tr>");
    for (int j = 0; j < col; j++) {
    BITableItem item = (BITableItem) table.getValueAt(i, j);
    l_strXmlFile.append("<td class=\"headCenter\">"); l_strXmlFile.append(Helpers.escape(item.toString()));
    l_strXmlFile.append("</td>");
    l_strXmlFile.append("</tr>");
    l_strXmlFile.append("</table>");
    l_strXmlFile.append("</body></html>"); } catch (BISQLException e2) {
    //     TODO Auto-generated catch block
    e2.printStackTrace();
    //     read the stringbuffer into bytes
    byte[] l_byteData = null;
    try {
    l_byteData = l_strXmlFile.toString().getBytes("UTF-8");
    } catch (UnsupportedEncodingException e) {
    wdComponentAPI.getMessageManager().reportException(
    e.getLocalizedMessage(),
    false);
    //     Create a web resource and set the value of the
    //     context variable "IFrameData" to it's URL
    IWDCachedWebResource l_File =
    WDWebResource.getWebResource(
    l_byteData,
    WDWebResourceType.HTML);
    try {
    wdContext.currentContextElement().setIFrameData(
    l_File.getURL());
    } catch (WDURLException e1) {
    wdComponentAPI.getMessageManager().reportException(
    e1.getLocalizedMessage(),
    false);
    Reagards,
    H.V.Swathi

  • How to set resource connection factory?

    How to set resource connection factory if JMS is upported through JNDI?

    Hi,
    The Simplest Way to Load a Property file (Which is outside of your Application) ..is.
    Just Place the Property file in the Server Classpath...or in the "C:\bea103\user_projects\domains\7001_Domain\lib" folder of your Domain. It means somehow the Property file should be available in the Server Classpath...
    Now Please write the following code in your Application to read the Property file:
    java.util.Properties prop = new java.util.Properties();
    java.io.InputStream stream=this.getClass().getClassLoader().getResourceAsStream(“my.properties”);
    prop.load(stream);
    String hostProperty = p.getProperty(“host.name”);
    Thanks
    Jay SenSharma
    http://jaysensharma.wordpress.com/generalweblogic/   (WebLogic Wonders Are Here)

  • How to set the connection parameters for SQL

    How to set the connection parameters for SQL to access the MS Access database
    Attachments:
    Quick_SQL.vi ‏21 KB
    Doc1.doc ‏45 KB
    db1.mdb ‏112 KB

    Right-click the WINDOWS desktop, choose New->Microsoft Data Link. That will bring up a dialog that allows you to configure and test your database connection. You might connect to the Access database via ODBC or directly via Jet Engine. The Jet Enginge saves you the trouble of creating an ODBC connection on your PC. After you leave the dialog, the "data link" will show up on your desktop as text file. Open it and copy-paste the connection string to your VI.
    This webpage is an excellent resource for connection strings: http://www.able-consulting.com/ADO_Conn.htm
    If your application requires users to change the database connection at runtime, you can also include the dialog via ActiveX (MSDASC.IDataSourceLocator).

  • Help Set Proxy connection timeout

    Hi,
    I'm currently using: mysock.connect(sockaddr, 2000);
    to set socket connection timeout.
    Everything works fine until i set a proxy:
    System.setProperty("socksProxySet", "true");
    System.setProperty("socksProxyHost", "proxy");
    System.setProperty("socksProxyPort", "port");
    Can i also set connection timeout for the proxy?
    Message was edited by:
    Robotto

    Everything works fine until i set a proxy:are you not able to connect to the server? Whats the issue?

  • Cannot set required connection params for interface import from SAP system

    Hello all
    I'm trying to import some interfaces (RFC) from SAP system. For this I need to set the connection paramters pointing to the SAP system. Unfortunately it is not possible... all fields remain "greyed out" regardless what I'm trying.
    JVM is 1.4.2_12
    My user account has SAP_ALL so it shouldn't be an authorization problem...
    Where to control this?
    Any ideas?
    BR
    Renaud

    Hi,
    After you import the SWCV from SLD. while creating the NAmespace in IR select the radio button Import RFC/IDOC from SAP radio button.
    And the save it.Now it shld be possible
    Regards
    Seshagiri

  • Sound Blaster Z - how set autodetect connected headphones (into front panel connector)

    Hello,
    how can I set autodetect connected headphones into front panel on my new Sound Blaster Z?
    I have used to use my onboard soundcard (only to my headphones) together with AMD R290X soundcard (via HDMI to Onkyo receiver).
    Onboard soundcard was set as default audio device in Windows. So If I connected my headphones into front pannel connector, play only my headphones. If I disconnect headphones, onboard soundcard was disabled and soundcard on R290X was now only active audio device, so music playing only from my speaker (receiver Onky via HDMI on AMD R290X).
    Now if I connect my headphones, I have to manualy switch audio device unit in Windows control panel between "SoundBlasterZ" and "R290X HDMI".
    It is very annoying. Is there any way to figure it out?
    Sorry for my bad english, I hope you understand my problem.
    Thank you!

    Originally Posted by prachart
    Hello,
    how can I set autodetect connected headphones into front panel on my new Sound Blaster Z?
    I have used to use my onboard soundcard (only to my headphones) together with AMD R290X soundcard (via HDMI to Onkyo receiver).
    Onboard soundcard was set as default audio device in Windows. So If I connected my headphones into front pannel connector, play only my headphones. If I disconnect headphones, onboard soundcard was disabled and soundcard on R290X was now only active audio device, so music playing only from my speaker (receiver Onky via HDMI on AMD R290X).
    Now if I connect my headphones, I have to manualy switch audio device unit in Windows control panel between "SoundBlasterZ" and "R290X HDMI".
    It is very annoying. Is there any way to figure it out?
    Sorry for my bad english, I hope you understand my problem.
    Thank you!
    Hi prachart,
    You will need to set Sound Blaster Z as the default playback audio device in the window control panel -> sound -> playback. Make sure you connect the physical connector from the front panel to the Sound Blaster Z card. This will let you plug into the headphone and able to playback. However, the AMD R290X HDMI port will not be able to have any sound as the default playback device set to Sound Blaster Z and it will not automatically release control and toggle to the available plug-in device.
    You will need to go to control panel to toggle again if you want to have the sound from the HDMI port.
    I am sorry if the above are not much help but this is the design implementation of the sound card so that there is no compromise in the sound quality.

  • I'm trying to recover the network password for my Time Capsule so that I can connect another device (a PC) to it.  I have my Macbook pro set to connect automatically and the password is hidden.  How can I find out what it is.

    My issue is that I'm trying to connect a PC to my wireless network run off of a Time capsule/airport router.  My macbook pro connects fine but the network password is hidden and set to autoconnect.  I thought I wrote the password down but when I try to connect the PC laptop and type in the timecapsule network PW is doesn't work.  Trying to verify if the passwird I wrote down is correct but there doesn't seem to be a way to recover this.
    Does anyone out there in the community know how to do this? (or do I just have to do a reset on the time capsule

    Reset the TC.

  • Error while setting up connection and adding database Tables

    Error 1
    The name 'My' does not exist in the current context
    C:\Users\levent 1\documents\visual studio 2010\Projects\DBCustomAction\DBCustomAction\VbDeployInstaller.cs
    53 37
    DBCustomAction
    Error 2
    The name 'Interaction' does not exist in the current context
    C:\Users\levent 1\documents\visual studio 2010\Projects\DBCustomAction\DBCustomAction\VbDeployInstaller.cs
    75 5
    DBCustomAction
    Error 3
    'System.Collections.Specialized.StringDictionary' does not contain a definition for 'Item' and no extension method 'Item' accepting a first argument of type 'System.Collections.Specialized.StringDictionary' could be found (are you missing a using directive
    or an assembly reference?) C:\Users\levent 1\documents\visual studio 2010\Projects\DBCustomAction\DBCustomAction\VbDeployInstaller.cs
    84 36
    DBCustomAction
    using System;
    using System.Collections;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Configuration.Install;
    using System.Linq;
    using System.IO;
    using System.Reflection;
    using System.Data.SqlClient;
    namespace DBCustomAction
        [RunInstaller(true)]
        public partial class VbDeployInstaller : System.Configuration.Install.Installer
           System.Data.SqlClient.SqlConnection masterConnection = new System.Data.SqlClient.SqlConnection();
    public VbDeployInstaller() : base()
    //This call is required by the Component Designer.
    InitializeComponent();
    //Add initialization code after the call to InitializeComponent
    private string GetSql(string Name)
    try {
    // Gets the current assembly.
    Assembly Asm = Assembly.GetExecutingAssembly();
    // Resources are named using a fully qualified name.
    Stream strm = Asm.GetManifestResourceStream(Asm.GetName().Name + "." + Name);
    // Reads the contents of the embedded file.
    StreamReader reader = new StreamReader(strm);
    return reader.ReadToEnd();
    } catch (Exception ex) {
    throw ex;
    private void ExecuteSql(string DatabaseName, string Sql)
    System.Data.SqlClient.SqlCommand Command = new System.Data.SqlClient.SqlCommand(Sql, masterConnection);
    // Initialize the connection, open it, and set it to the "master" database
    masterConnection.ConnectionString = My.Settings.masterConnectionString;
    Command.Connection.Open();
    Command.Connection.ChangeDatabase(DatabaseName);
    try {
    Command.ExecuteNonQuery();
    } finally {
    // Closing the connection should be done in a Finally block
    Command.Connection.Close();
    protected void AddDBTable(string strDBName)
    try {
    // Creates the database.
    ExecuteSql("master", "CREATE DATABASE " + strDBName);
    // Creates the tables.
    ExecuteSql(strDBName, GetSql("sql.txt"));
    } catch (Exception ex) {
    // Reports any errors and abort.
        Interaction.MsgBox("In exception handler: " + ex.Message);
    throw ex;
    public override void Install(System.Collections.IDictionary stateSaver)
    base.Install(stateSaver);
    AddDBTable(this.Context.Parameters.Item("dbname"));

    Hi osmniv,
    I tested the code, it has three error when compiling.
    Error 1 The name 'My' does not exist in the current context C:\Users\levent 1\documents\visual studio 2010\Projects\DBCustomAction\DBCustomAction\VbDeployInstaller.cs 53 37 DBCustomAction
    In C#, there is no "My" key word, you need to use this method to use the settings.
    http://msdn.microsoft.com/en-us/library/aa730869(v=vs.80).aspx
    masterConnection.ConnectionString = Properties.Settings.Default.masterConnectionString;
    Error 2 The name 'Interaction' does not exist in the current context C:\Users\levent 1\documents\visual studio 2010\Projects\DBCustomAction\DBCustomAction\VbDeployInstaller.cs 75 5 DBCustomAction
    You need to add these references to the project, Microsoft.VisualBasic,
    Microsoft.Expression.Interactions AND System.Windows.Interactivity.  Right click on the project, choose the add -> reference -> choose the references.
    then, add the using statement:
    using Microsoft.VisualBasic;
    Error 3
    'System.Collections.Specialized.StringDictionary' does not contain a definition for 'Item' and no extension method 'Item' accepting a first argument of type 'System.Collections.Specialized.StringDictionary' could be found (are you missing a using directive
    or an assembly reference?) C:\Users\levent 1\documents\visual studio 2010\Projects\DBCustomAction\DBCustomAction\VbDeployInstaller.cs
    84 36
    DBCustomAction
    In C#, you could use the Parameters["dbname"] to get the indexer of element directly.
    AddDBTable(this.Context.Parameters["dbname"]);
    If you have any other concern regarding this issue, please feel free to let me know.
    Best regards,
    Youjun Tang
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Error with DG4ODBC while setting up connectivity from oracle to IBM iSeries AS400 version V7R1

    Hi,
    I have Enterprise linux 64-bit hosting Oracle 11gR2 64-bit (11.2.0.1) database.  I have access to IBM iSeries AS400 version V7R1.  I am trying to connect to IBM iSeries from Oracle Database through ODBC connectivity using Database Link.  The following is what I have done.
    On the Database (Linux) host Installed iSeriesAccess-7.1.0-1.0.x86_64.rpm provided by IBM.
    my odbcinst.ini has the following entries:
    [PostgreSQL]
    Description             = ODBC for PostgreSQL
    Driver          = /usr/lib/libodbcpsql.so
    Setup           = /usr/lib/libodbcpsqlS.so
    FileUsage               = 1
    [iSeries Access ODBC Driver]
    Description             = iSeries Access for Linux ODBC Driver
    Driver          = /opt/ibm/iSeriesAccess/lib64/libcwbodbc.so
    Setup           = /opt/ibm/iSeriesAccess/lib64/libcwbodbcs.so
    NOTE1           = If using unixODBC 2.2.11 or later and you want the 32 and 64-bit ODBC drivers to share DSN's,
    NOTE2           = the following Driver64/Setup64 keywords will provide that support.
    Driver64                = /opt/ibm/iSeriesAccess/lib64/libcwbodbc.so
    Setup64         = /opt/ibm/iSeriesAccess/lib64/libcwbodbcs.so
    Threading               = 2
    DontDLClose             = 1
    UsageCount              = 1
    [iSeries Access ODBC Driver 64-bit]
    Description             = iSeries Access for Linux 64-bit ODBC Driver
    Driver          = /opt/ibm/iSeriesAccess/lib64/libcwbodbc.so
    Setup           = /opt/ibm/iSeriesAccess/lib64/libcwbodbcs.so
    Threading               = 2
    DontDLClose             = 1
    UsageCount              = 1
    The odbc.ini has the following entries:
    [ODBC Data Sources]
    dg4odbc = connection to db2
    [dg4odbc]
    Driver = /opt/ibm/iSeriesAccess/lib64/libcwbodbc.so
    Description=iSeries Access for Linux ODBC Driver
    LogonID=
    Password=
    Address=  (IBM host IP Address)
    location=Vm520
    noprompt=true
    system= (IBM host IP Address)
    UNICODE=UTF-8
    Naming = 0
    ConnectionType = 0
    CommitMode = 2
    ExtendedDynamic = 0
    AllowDataCompression = 1
    LibraryView = 0
    AllowUnsupportedChar = 0
    ForceTranslation = 0
    Trace = 0
    made sure I could connect via ODBC and DSN using the following command:
    isql dg4odbc oracle oracle1 -v
    +---------------------------------------+
    | Connected!                            |
    |                                       |
    | sql-statement                         |
    | help [tablename]                      |
    | quit                                  |
    |                                       |
    +---------------------------------------+
    SQL>
    SQLRowCount returns -1
    600 rows fetched
    SQL>
    could query the table in a library on AS400.
    The $ORACLE_HOME/hs/admin/initdg4odbc.ora has the following entries:
    # This is a sample agent init file that contains the HS parameters that are
    # needed for the Database Gateway for ODBC
    # HS init parameters
    HS_FDS_CONNECT_INFO = dg4odbc
    HS_FDS_TRACE_LEVEL = off
    HS_FDS_SHAREABLE_NAME=/etc/newlib/libodbc.so
    HS_FDS_TRACE_LEVEL = 255
    HS_FDS_SUPPORT_STATISTICS=FALSE
    # ODBC specific environment variables
    set ODBCINI=/etc/odbc.ini
    # Environment variables required for the non-Oracle system
    The listener entries are as follows:
        (SID_DESC =
          (SID_NAME = dg4odbc)
          (ORACLE_HOME = /opt/oracle/dbs/product/11.2.0/dbhome_1)
          (PROGRAM = dg4odbc)
    Stopped and started the listener.
    The TNS entry is as follows:
    armcdb2 =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = vmw-dev-rmsdb.xxx.vmc)(PORT = 1521))
        (CONNECT_DATA =
        (SID=dg4odbc)
        (HS=OK)
    Could tnsping :
    oracle@rmsdev[/opt/oracle/dbs/product/11.2.0/dbhome_1/network/admin]$ tnsping armcdb2
    TNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 11-JUL-2013 16:01:23
    Copyright (c) 1997, 2009, Oracle.  All rights reserved.
    Used parameter files:
    /opt/oracle/dbs/product/11.2.0/dbhome_1/network/admin/sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = vmw-dev-rmsdb.xxx.vmc)(PORT = 1521)) (CONNECT_DATA = (SID=dg4odbc)) (HS=OK))
    OK (0 msec)
    created a public database link as follows:
    SQL> create database link samplink connect to "oracle" identified by "oracle1" using 'armcdb2';
    Database link created.
    When I run a select query I get errors as follows:
    SQL> select * from mdiaz.AREMAIL@samplink;
    select * from mdiaz.AREMAIL@samplink
    ERROR at line 1:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    408
    Below is the Trace file of dg4odbc:
    Oracle Corporation --- THURSDAY  JUL 11 2013 16:06:03.627
    Heterogeneous Agent Release
    11.2.0.1.0
    Oracle Corporation --- THURSDAY  JUL 11 2013 16:06:03.627
        Version 11.2.0.1.0
    Entered hgogprd
    HOSGIP for "HS_FDS_TRACE_LEVEL" returned "255"
    Entered hgosdip
    setting HS_OPEN_CURSORS to default of 50
    setting HS_FDS_RECOVERY_ACCOUNT to default of "RECOVER"
    setting HS_FDS_RECOVERY_PWD to default value
    setting HS_FDS_TRANSACTION_LOG to default of HS_TRANSACTION_LOG
    setting HS_IDLE_TIMEOUT to default of 0
    setting HS_FDS_TRANSACTION_ISOLATION to default of "READ_COMMITTED"
    setting HS_NLS_NCHAR to default of "AL32UTF8"
    setting HS_FDS_TIMESTAMP_MAPPING to default of "DATE"
    setting HS_FDS_DATE_MAPPING to default of "DATE"
    setting HS_RPC_FETCH_REBLOCKING to default of "ON"
    setting HS_FDS_FETCH_ROWS to default of "100"
    setting HS_FDS_RESULTSET_SUPPORT to default of "FALSE"
    setting HS_FDS_RSET_RETURN_ROWCOUNT to default of "FALSE"
    setting HS_FDS_PROC_IS_FUNC to default of "FALSE"
    setting HS_FDS_CHARACTER_SEMANTICS to default of "FALSE"
    setting HS_FDS_MAP_NCHAR to default of "TRUE"
    setting HS_NLS_DATE_FORMAT to default of "YYYY-MM-DD HH24:MI:SS"
    setting HS_FDS_REPORT_REAL_AS_DOUBLE to default of "FALSE"
    setting HS_LONG_PIECE_TRANSFER_SIZE to default of "65536"
    setting HS_SQL_HANDLE_STMT_REUSE to default of "FALSE"
    setting HS_FDS_QUERY_DRIVER to default of "TRUE"
    HOSGIP returned value of "FALSE" for HS_FDS_SUPPORT_STATISTICS
    Parameter HS_FDS_QUOTE_IDENTIFIER is not set
    setting HS_KEEP_REMOTE_COLUMN_SIZE to default of "OFF"
    setting HS_FDS_GRAPHIC_TO_MBCS to default of "FALSE"
    setting HS_FDS_MBCS_TO_GRAPHIC to default of "FALSE"
    Default value of 64 assumed for HS_FDS_SQLLEN_INTERPRETATION
    setting HS_CALL_NAME_ISP to "gtw$:SQLTables;gtw$:SQLColumns;gtw$:SQLPrimaryKeys;gtw$:SQLForeignKeys;gtw$:SQLProcedures;gtw$:SQLStatistics;gtw$:SQLGetInfo"
    setting HS_FDS_DELAYED_OPEN to default of "TRUE"
    setting HS_FDS_WORKAROUNDS to default of "0"
    Exiting hgosdip, rc=0
    ORACLE_SID is "dg4odbc"
    Product-Info:
      Port Rls/Upd:1/0 PrdStat:0
      Agent:Oracle Database Gateway for ODBC
      Facility:hsa
      Class:ODBC, ClassVsn:11.2.0.1.0_0008, Instance:dg4odbc
    Exiting hgogprd, rc=0
    hostmstr:          0:   HOA After hoagprd
    hostmstr:          0:   HOA Before hoainit
    Entered hgoinit
    HOCXU_COMP_CSET=1
    HOCXU_DRV_CSET=871
    HOCXU_DRV_NCHAR=873
    HOCXU_DB_CSET=871
    HOCXU_SEM_VER=112000
    Entered hgolofn at 2013/07/11-16:06:03
    HOSGIP for "HS_FDS_SHAREABLE_NAME" returned "/etc/newlib/libodbc.so"
    Entered hgolofns at 2013/07/11-16:06:03
    libname=/etc/newlib/libodbc.so, funcname=SQLAllocHandle
    symbol_peflctx=0xaab7c2f0
    hoaerr:0
    Exiting hgolofns at 2013/07/11-16:06:03
    Entered hgolofns at 2013/07/11-16:06:03
    libname=/etc/newlib/libodbc.so, funcname=SQLBindCol
    symbol_peflctx=0xaab7c9d0
    hoaerr:0
    Exiting hgolofns at 2013/07/11-16:06:03
    Entered hgolofns at 2013/07/11-16:06:03
    libname=/etc/newlib/libodbc.so, funcname=SQLBindParameter
    symbol_peflctx=0xaab7cb6c
    hoaerr:0
    Exiting hgolofns at 2013/07/11-16:06:03
    Entered hgolofns at 2013/07/11-16:06:03
    libname=/etc/newlib/libodbc.so, funcname=SQLCancel
    symbol_peflctx=0xaab7d416
    hoaerr:0
    Exiting hgolofns at 2013/07/11-16:06:03
    Entered hgolofns at 2013/07/11-16:06:03
    libname=/etc/newlib/libodbc.so, funcname=SQLDescribeParam
    symbol_peflctx=0xaab7f7dc
    hoaerr:0
    Exiting hgolofns at 2013/07/11-16:06:03
    Entered hgolofns at 2013/07/11-16:06:03
    libname=/etc/newlib/libodbc.so, funcname=SQLDisconnect
    symbol_peflctx=0xaab7f978
    hoaerr:0
    Exiting hgolofns at 2013/07/11-16:06:03
    Entered hgolofns at 2013/07/11-16:06:03
    libname=/etc/newlib/libodbc.so, funcname=SQLEndTran
    symbol_peflctx=0xaab7fe42
    hoaerr:0
    Exiting hgolofns at 2013/07/11-16:06:03
    Entered hgolofns at 2013/07/11-16:06:03
    libname=/etc/newlib/libodbc.so, funcname=SQLExecute
    symbol_peflctx=0xaab808ac
    hoaerr:0
    Exiting hgolofns at 2013/07/11-16:06:03
    Entered hgolofns at 2013/07/11-16:06:03
    libname=/etc/newlib/libodbc.so, funcname=SQLFetch
    symbol_peflctx=0xaab80b5c
    hoaerr:0
    Exiting hgolofns at 2013/07/11-16:06:03
    Entered hgolofns at 2013/07/11-16:06:03
    libname=/etc/newlib/libodbc.so, funcname=SQLFreeHandle
    symbol_peflctx=0xaab816aa
    hoaerr:0
    Exiting hgolofns at 2013/07/11-16:06:03
    Entered hgolofns at 2013/07/11-16:06:03
    libname=/etc/newlib/libodbc.so, funcname=SQLFreeStmt
    symbol_peflctx=0xaab82144
    hoaerr:0
    Exiting hgolofns at 2013/07/11-16:06:03
    Entered hgolofns at 2013/07/11-16:06:03
    libname=/etc/newlib/libodbc.so, funcname=SQLGetData
    symbol_peflctx=0xaab83ad8
    hoaerr:0
    Exiting hgolofns at 2013/07/11-16:06:03
    Entered hgolofns at 2013/07/11-16:06:03
    libname=/etc/newlib/libodbc.so, funcname=SQLGetEnvAttr
    symbol_peflctx=0xaab84e42
    hoaerr:0
    Exiting hgolofns at 2013/07/11-16:06:03
    Entered hgolofns at 2013/07/11-16:06:03
    libname=/etc/newlib/libodbc.so, funcname=SQLGetFunctions
    symbol_peflctx=0xaab84fce
    hoaerr:0
    Exiting hgolofns at 2013/07/11-16:06:03
    Entered hgolofns at 2013/07/11-16:06:03
    libname=/etc/newlib/libodbc.so, funcname=SQLMoreResults
    symbol_peflctx=0xaab85a0a
    hoaerr:0
    Exiting hgolofns at 2013/07/11-16:06:03
    Entered hgolofns at 2013/07/11-16:06:03
    libname=/etc/newlib/libodbc.so, funcname=SQLNumResultCols
    symbol_peflctx=0xaab85fba
    hoaerr:0
    Exiting hgolofns at 2013/07/11-16:06:03
    Entered hgolofns at 2013/07/11-16:06:03
    libname=/etc/newlib/libodbc.so, funcname=SQLParamData
    symbol_peflctx=0xaab86102
    hoaerr:0
    Exiting hgolofns at 2013/07/11-16:06:03
    Entered hgolofns at 2013/07/11-16:06:03
    libname=/etc/newlib/libodbc.so, funcname=SQLPutData
    symbol_peflctx=0xaab871fc
    hoaerr:0
    Exiting hgolofns at 2013/07/11-16:06:03
    Entered hgolofns at 2013/07/11-16:06:03
    libname=/etc/newlib/libodbc.so, funcname=SQLRowCount
    symbol_peflctx=0xaab87364
    hoaerr:0
    Exiting hgolofns at 2013/07/11-16:06:03
    Entered hgolofns at 2013/07/11-16:06:03
    libname=/etc/newlib/libodbc.so, funcname=SQLSetEnvAttr
    symbol_peflctx=0xaab89054
    hoaerr:0
    Exiting hgolofns at 2013/07/11-16:06:03
    Entered hgolofns at 2013/07/11-16:06:03
    libname=/etc/newlib/libodbc.so, funcname=SQLSetDescRec
    symbol_peflctx=0xaab88e20
    hoaerr:0
    Exiting hgolofns at 2013/07/11-16:06:03
    Entered hgolofns at 2013/07/11-16:06:03
    libname=/etc/newlib/libodbc.so, funcname=SQLColAttributeW
    symbol_peflctx=0xaab7d6ba
    hoaerr:0
    Exiting hgolofns at 2013/07/11-16:06:03
    Entered hgolofns at 2013/07/11-16:06:03
    libname=/etc/newlib/libodbc.so, funcname=SQLColumnsW
    symbol_peflctx=0xaab7e264
    hoaerr:0
    Exiting hgolofns at 2013/07/11-16:06:03
    Entered hgolofns at 2013/07/11-16:06:03
    libname=/etc/newlib/libodbc.so, funcname=SQLConnectW
    symbol_peflctx=0xaab7e6b4
    hoaerr:0
    Exiting hgolofns at 2013/07/11-16:06:03
    Entered hgolofns at 2013/07/11-16:06:03
    libname=/etc/newlib/libodbc.so, funcname=SQLDescribeColW
    symbol_peflctx=0xaab7f39e
    hoaerr:0
    Exiting hgolofns at 2013/07/11-16:06:03
    Entered hgolofns at 2013/07/11-16:06:03
    libname=/etc/newlib/libodbc.so, funcname=SQLDriverConnectW
    symbol_peflctx=0xaab7fa9a
    hoaerr:0
    Exiting hgolofns at 2013/07/11-16:06:03
    Entered hgolofns at 2013/07/11-16:06:03
    libname=/etc/newlib/libodbc.so, funcname=SQLExecDirectW
    symbol_peflctx=0xaab805e6
    hoaerr:0
    Exiting hgolofns at 2013/07/11-16:06:03
    Entered hgolofns at 2013/07/11-16:06:03
    libname=/etc/newlib/libodbc.so, funcname=SQLForeignKeysW
    symbol_peflctx=0xaab80de6
    hoaerr:0
    Exiting hgolofns at 2013/07/11-16:06:03
    Entered hgolofns at 2013/07/11-16:06:03
    libname=/etc/newlib/libodbc.so, funcname=SQLGetConnectAttrW
    symbol_peflctx=0xaab82714
    hoaerr:0
    Exiting hgolofns at 2013/07/11-16:06:03
    Entered hgolofns at 2013/07/11-16:06:03
    libname=/etc/newlib/libodbc.so, funcname=SQLGetDescFieldW
    symbol_peflctx=0xaab83c76
    hoaerr:0
    Exiting hgolofns at 2013/07/11-16:06:03
    Entered hgolofns at 2013/07/11-16:06:03
    libname=/etc/newlib/libodbc.so, funcname=SQLGetDescRecW
    symbol_peflctx=0xaab83fbe
    hoaerr:0
    Exiting hgolofns at 2013/07/11-16:06:03
    Entered hgolofns at 2013/07/11-16:06:03
    libname=/etc/newlib/libodbc.so, funcname=SQLGetDiagFieldW
    symbol_peflctx=0xaab8448a
    hoaerr:0
    Exiting hgolofns at 2013/07/11-16:06:03
    Entered hgolofns at 2013/07/11-16:06:03
    libname=/etc/newlib/libodbc.so, funcname=SQLGetDiagRecW
    symbol_peflctx=0xaab84916
    hoaerr:0
    Exiting hgolofns at 2013/07/11-16:06:03
    Entered hgolofns at 2013/07/11-16:06:03
    libname=/etc/newlib/libodbc.so, funcname=SQLGetInfoW
    symbol_peflctx=0xaab85136
    hoaerr:0
    Exiting hgolofns at 2013/07/11-16:06:03
    Entered hgolofns at 2013/07/11-16:06:03
    libname=/etc/newlib/libodbc.so, funcname=SQLGetStmtAttrW
    symbol_peflctx=0xaab85456
    hoaerr:0
    Exiting hgolofns at 2013/07/11-16:06:03
    Entered hgolofns at 2013/07/11-16:06:03
    libname=/etc/newlib/libodbc.so, funcname=SQLGetTypeInfoW
    symbol_peflctx=0xaab8576e
    hoaerr:0
    Exiting hgolofns at 2013/07/11-16:06:03
    Entered hgolofns at 2013/07/11-16:06:03
    libname=/etc/newlib/libodbc.so, funcname=SQLPrepareW
    symbol_peflctx=0xaab863b0
    hoaerr:0
    Exiting hgolofns at 2013/07/11-16:06:03
    Entered hgolofns at 2013/07/11-16:06:03
    libname=/etc/newlib/libodbc.so, funcname=SQLPrimaryKeysW
    symbol_peflctx=0xaab8667c
    hoaerr:0
    Exiting hgolofns at 2013/07/11-16:06:03
    Entered hgolofns at 2013/07/11-16:06:03
    libname=/etc/newlib/libodbc.so, funcname=SQLProcedureColumnsW
    symbol_peflctx=0xaab86a14
    hoaerr:0
    Exiting hgolofns at 2013/07/11-16:06:03
    Entered hgolofns at 2013/07/11-16:06:03
    libname=/etc/newlib/libodbc.so, funcname=SQLProceduresW
    symbol_peflctx=0xaab86e64
    hoaerr:0
    Exiting hgolofns at 2013/07/11-16:06:03
    Entered hgolofns at 2013/07/11-16:06:03
    libname=/etc/newlib/libodbc.so, funcname=SQLSetConnectAttrW
    symbol_peflctx=0xaab874ac
    hoaerr:0
    Exiting hgolofns at 2013/07/11-16:06:03
    Entered hgolofns at 2013/07/11-16:06:03
    libname=/etc/newlib/libodbc.so, funcname=SQLSetStmtAttrW
    symbol_peflctx=0xaab896c8
    hoaerr:0
    Exiting hgolofns at 2013/07/11-16:06:03
    Entered hgolofns at 2013/07/11-16:06:03
    libname=/etc/newlib/libodbc.so, funcname=SQLSetDescFieldW
    symbol_peflctx=0xaab88b00
    hoaerr:0
    Exiting hgolofns at 2013/07/11-16:06:03
    Entered hgolofns at 2013/07/11-16:06:03
    libname=/etc/newlib/libodbc.so, funcname=SQLStatisticsW
    symbol_peflctx=0xaab89e64
    hoaerr:0
    Exiting hgolofns at 2013/07/11-16:06:03
    Entered hgolofns at 2013/07/11-16:06:03
    libname=/etc/newlib/libodbc.so, funcname=SQLTablesW
    symbol_peflctx=0xaab8a668
    hoaerr:0
    Exiting hgolofns at 2013/07/11-16:06:03
    Exiting hgolofn, rc=0 at 2013/07/11-16:06:03
    HOSGIP for "HS_OPEN_CURSORS" returned "50"
    HOSGIP for "HS_FDS_FETCH_ROWS" returned "100"
    HOSGIP for "HS_LONG_PIECE_TRANSFER_SIZE" returned "65536"
    HOSGIP for "HS_NLS_NUMERIC_CHARACTER" returned ".,"
    HOSGIP for "HS_KEEP_REMOTE_COLUMN_SIZE" returned "OFF"
    HOSGIP for "HS_FDS_DELAYED_OPEN" returned "TRUE"
    HOSGIP for "HS_FDS_WORKAROUNDS" returned "0"
    HOSGIP for "HS_FDS_MBCS_TO_GRAPHIC" returned "FALSE"
    HOSGIP for "HS_FDS_GRAPHIC_TO_MBCS" returned "FALSE"
    Invalid value of 64 given for HS_FDS_SQLLEN_INTERPRETATION
    treat_SQLLEN_as_compiled = 1
    Exiting hgoinit, rc=0 at 2013/07/11-16:06:03
    hostmstr:          0:   HOA After hoainit
    hostmstr:          0:   HOA Before hoalgon
    Entered hgolgon at 2013/07/11-16:06:03
    reco:0, name:oracle, tflag:0
    Entered hgosuec at 2013/07/11-16:06:03
    Exiting hgosuec, rc=0 at 2013/07/11-16:06:03
    Entered hgopoer at 2013/07/11-16:06:03
    hgopoer, line 233: got native error 408 and sqlstate 410; message follows...
    408
    Exiting hgopoer, rc=0 at 2013/07/11-16:06:03
    hgolgon, line 193: calling SQLSetConnectAttr got sqlstate 410
    Exiting hgolgon, rc=28500 at 2013/07/11-16:06:03 with error ptr FILE:hgolgon.c LINE:193 FUNCTION:hgolgon() ID:Connection Attribute: TRACE
    hostmstr:          0:   HOA After hoalgon
    RPC Calling nscontrol(0), rc=0
    hostmstr:          0: RPC Before Exit Agent
    hostmstr:          0:   HOA Before hoaexit
    Entered hgoexit at 2013/07/11-16:06:03
    Exiting hgoexit, rc=0
    hostmstr:          0:   HOA After hoaexit
    hostmstr:          0: RPC After Exit Agent
    I have looked up the errors on Oracle forums and could not get any valuable help anywhere.  
    Can someone kindly help out where I am going wrong?
    Thanks,
    Ram.

    Hello kgronau,
    Thank You very much for your recommendations.  I removed the parameter HS_FDS_TRACE_LEVEL = 255.
    I added HS_FDS_FETCH_ROWS=1 and also HS_NLS_NCHAR = UCS2
    Tested my sql statement, which yielded the result as follows:
    SQL> select * from mdiaz.AREMAIL@samplink;
    select * from mdiaz.AREMAIL@samplink
    ERROR at line 1:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    ㈵″㠵6
    SO I thought I would give a try of removing the line HS_NLS_NCHAR = UCS2
    and again tested my sql statement and it worked like a charm!!!!
    I tested a count(*) and got the results back.
    SQL> select count(*) from mdiaz.AREMAIL@samplink;
      COUNT(*)
           600
    I really appreciate your valuable pointers and help.
    Thanks once again!!!
    Ram.

Maybe you are looking for

  • How can I convert a number to char in javascript

    How can I convert a number i.e ascii number to char in javascript. ex: 55 to A

  • Transferring music to an external hard drive while keeping play counts

    Hello all. I received a 250 GB external hard drive for my birthday yesterday as my internal one was getting very full. I decided that I would transfer my 3000+ songs on to it in hopes of clearing some room. Now, I know that once you move a file from

  • Journal Import Warning

    Hi , I am running Journal Import but the status completion is warning. When I check the output/log is says: Journal Import finds no records in GL_INTERFACE for processing. Check LEDGER_ID, USER_JE_SOURCE_NAME, and GROUP_ID of import records. +-------

  • Hold On To Events

    Hi.... I'd like to know if you need to keep you "event" footage all the way up to when you export your project from the library? And if you didn't keep the event footage would importing it back "revitalize" the project? Any suggestions, comments and

  • Lion killed time machine

    Time machine was working perfectly during through Leopard and Snow Leopard. Now Lion does not want to recognise the time machine drive. I have managed to make one succesful back up and then the drive disconnects itself (disappears from the desktop ev