I thought it was going to be something like that...  I'll do that while I'm testing my app on linux...

Now, for a suggestion.  Since it's possible that i might want to run the exact same application on different platforms, using different methods to access the same database.  it sure would be nice to be able to set up a mapping on the tango server, in the datasources.ini or the jdbc.ini file that would allow something like this...

<DSMap>
 <FromDS>
  <DSType>ODBC</DSType>
  <DSName>bob</DSName>
 </FromDS>
 <ToDS>
  <DSType>JDBC</DSType>
  <DSName>bob</DSName>
 </ToDS>
</DSMap>

This way any reference to the odbc.bob datasource will go to the jdbc.bob data source instead.  allowing me to maintain only 1 version of my application.

/John

P.S. Thanks for the quick response!



Witango Customer Support wrote:
John,
Engineering had run into a few issues that delayed the next release of the
Windows Dev Studio.  These have now been resolved and a preview will be
released this week.  In the interim open the taf/tcf with a text editor and
find the DataSources section.  Change <DSType>ODBC</DSType> to
<DSType>JDBC</DSType>

eg

   <DataSources>
        <DataSource ID="DSName">
            <DSType>JDBC</DSType>
            <DSN>DSName</DSN>
            <DBMS />
            <Host>DSName</Host>
            <Database>MyODBC351</Database>
            <UserInfo Encrypted="True">
                <UserName></UserName>
                <Password></Password>
            </UserInfo>
        </DataSource>
    </DataSources>


On 11/6/03 6:46 AM, "John McGowan" <[EMAIL PROTECTED]> wrote:

  
I've got my linux server setup with the latest Witango for linux.  JRE
1.4.1 is running and ive setup my jdbc.ini file.  I've got a taf file
that references a data source let's call it "bob"

I setup a jdbc datasource called "bob" in jdbc.ini, but when running the
taf file i'm getting a data source not found error... when looking at
the output from the witango server on the console, it's saying that it
can't find the data source "odbc.bob"

Do I have to do something different to get a data source that used to be
odbc to now be jdbc, other than setting up a jdbc data source on the server?

/John

________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf
    

________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf

  

________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf

Reply via email to