I believe if it is greyed out, then the JVM environment was not initialized by the dev studio.

Also, I don't have a /Library/Preferences/Witango/ folder. I do have a /username(i.e. Steve)/Library/Preferences/Witango/ folder and it does have a JDBC.ini file. Is this the correct location? That file contains the following:

Sorry, that is what I meant. It is in my user folder also.

It sounds like the dev studio is not loading the jvm properly. If you are using 10.2.6, then you should be OK. If you are not, you need to make sure your have the Java 1.4.1 runtime environment update installed. You can verify this by running apple system profiler and clicking on the frameworks tab. You should see a line that says JavaVM.framework, and the version should by no less than 1.4.1.

If this is correct, then I would guess it is your installation of the studio. I have found that in order for newer version of the OS X dev studio to function properly, I have to do a clean installation.

A clean install on OS X is a bit more complicated than OS 9. First, delete the "dev studio 5.0" folder in your witango folder in your applications folder. Then I would move your ~/library/preferences/witango/ folder to another location to save any snippets you may have modified. Then remove the com.WithEnterprise.WitangoDevStudio.plist file in the ~/library/preferences/ folder.

Lastly, and this is very important, locate your /library/receipts/ folder. This folder contains info on every package you have installed on your system. If the witango installer sees a witango dev studio package in her, it will go into upgrade mode, instead of clean install mode. So delete any packages that are from Witango Dev Studio installs.

Now reboot, and install the 5.09 package. It should do a clean install. Let me know what happens. I feel invested. ;-)

Robert.


On Saturday, July 12, 2003, at 04:06 AM, Steve Smith wrote:

But that was the point that I was trying to make, I can't right click or select 'New JDBC' as the options for JDBC are grayed out. Right clicking (thank you With for making the OS X version of the Dev Studio accept two-button mice) for ODBC works fine although we know that it actually doesn't on OS X.

Also, I don't have a /Library/Preferences/Witango/ folder. I do have a /username(i.e. Steve)/Library/Preferences/Witango/ folder and it does have a JDBC.ini file. Is this the correct location? That file contains the following:

<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE JDBCINI SYSTEM "jdbcini.dtd" >
<JDBCINI Version="0x00010000">
<DataSources>
<DataSource ID="test">
<DSN>test</DSN>
<DriverClass>com.mysql.jdbc.Driver</DriverClass>
<URL>jdbc:mysql://127.0.0.1:3306/TestMySQL</URL>
<Properties>
<Property ID="server">
<Name>server</Name>
<Value />
</Property>
<Property ID="port">
<Name>port</Name>
<Value />
</Property>
</Properties>
</DataSource>
</DataSources>
</JDBCINI>

But I can't see this data source in the Dev Studio, there isn't anything in the root level of the data source tab of my Workspace pallet for JDBC, just FileMaker and ODBC. Any ideas why the JDBC is not available?

Please let me know.

Thanks,

Steve Smith

Oakbridge Information Solutions
Office: (519) 624-4388
GTA: (416) 606-3885
Fax: (519) 624-3353
Cell: (416) 606-3885
Email: [EMAIL PROTECTED]
Web: http://www.oakbridge.ca

On Friday, July 11, 2003, at 11:36 PM, Robert Garcia wrote:

There are two ways to create a JDBC datasource. You can edit the jdbc.ini file manually in your /library/preferences/witango/ folder. However, it is much easier to right click the JDBC folder and choose New JDBC. At this point, the values entered depend entirely on your JDBC driver (except for name). Each driver has a different value for the driver class, and each usually has a slightly different syntax for the url. You must read the documentation.

After you successfully enter the info, don't hit test, it doesn't seem to work right for me yet, just hit OK, and try to expand (load) the new JDBC source. If the tables load, it worked. If you now open the jdbc.ini file in your preferences folder, you will see that it has been edited for you.

With my driver, I include all info in the URL, except for the user and password.

Robert.

On Friday, July 11, 2003, at 05:58 PM, Steve Smith wrote:

I wanted to try playing around with JDBC data sources, but when I went to create a new data source in the Dev Studio, JDBC was grayed out. I downloaded and installed the new Dev Studio (5.0.9) but they are grayed out there too.

I also noticed that I have a folder inside of the Dev Studio folder called 'Install' which contains a JDBC.ini file and a file called environment.plist. Is this a proper configuration and if not, where do these files belong?

Please let me know.

Thanks,


Steve Smith

Oakbridge Information Solutions
Office: (519) 624-4388
GTA: (416) 606-3885
Fax: (519) 624-3353
Cell: (416) 606-3885
Email: [EMAIL PROTECTED]
Web: http://www.oakbridge.ca


--

Robert Garcia
President - BigHead Technology
CTO - eventpix.com
2781 N Carlmont Pl
Simi Valley, Ca 93065
ph: 805.522.8577 - cell: 805.501.1390
[EMAIL PROTECTED] - [EMAIL PROTECTED]
http://bighead.net/ - http://eventpix.com/ - http://theradmac.com/



--

Robert Garcia
President - BigHead Technology
CTO - eventpix.com
2781 N Carlmont Pl
Simi Valley, Ca 93065
ph: 805.522.8577 - cell: 805.501.1390
[EMAIL PROTECTED] - [EMAIL PROTECTED]
http://bighead.net/ - http://eventpix.com/ - http://theradmac.com/

Reply via email to