Colin
I no longer run Witango in MacOS environment. Never have from MacOS X.
What version of MacOS X are you running? Is the machine PPC or Intel?
What version of witango? Are you developing the taf and running all
on the same machine, or is the Webserver/appserver machine on a
different Mac? Others will have to answer if this even works for OSX
and FM6 combination.
-> Kent
On 3/14/2008 9:19 AM, Colin Bell wrote:
Hi all,
I'm struggling with witangod and FMP to get AppleEvents working, I'm
looking for any input people might be able to0 provide.
Here is what I do:
(1) I start FMP6 and open the tables I intend to use.
- I can 'tell' "FileMaker Pro" to do things from the shell using
osascript so AppleScript is working
(2) I start witangod with the '-u -o' option from a bash shell script.
(3) I start apache from a bash shell script.
I've already created a .taf file that lists a 'Filemaker Pro' data
source. I connect to the taf (and it runs) but, when I try and
execute code that uses the FMP Datasource I get:
==BEGIN-output from webserver==
=======
Error
An error occurred while processing your request:
File: FindStudent.taf
Position: RecordList
Class: Internal
Main Error Number: -110
The specified data source cannot be found.
Students
File: FindStudent.taf
Position: RecordList
Class: Internal
Main Error Number: -4
Unable to connect to the specified data source.
Verify that data source is properly configured and that database
server is online.
========
==END-output from webserver==
==BEGIN-witango log files
========
14/03/2008 11:58:21 127.0.0.1
[EMAIL PROTECTED]@9754D3C48F8B1C4721616E7C227DB63292B5F5EFE3C0C33947D87441
34120704 1 1 [Datasource] No existing connection to the
data source found, creating a new connection. DSN: FMPm.#; User: ;
14/03/2008 11:58:21 127.0.0.1
[EMAIL PROTECTED]@9754D3C48F8B1C4721616E7C227DB63292B5F5EFE3C0C33947D87441
34120704 1 73 [Error] -110 The specified data source cannot
be found. Students
14/03/2008 11:58:21 127.0.0.1
[EMAIL PROTECTED]@9754D3C48F8B1C4721616E7C227DB63292B5F5EFE3C0C33947D87441
34120704 1 74 [Datasource] Unable to open a connection to
FMPm.# due to an unknown error during connection
14/03/2008 11:58:21 127.0.0.1
[EMAIL PROTECTED]@9754D3C48F8B1C4721616E7C227DB63292B5F5EFE3C0C33947D87441
34120704 1 74 [Datasource] Total Connection in Datasource
Pool: 0; Max connections for the host: 0; Current connections in use
for the host:
14/03/2008 11:58:21 127.0.0.1
[EMAIL PROTECTED]@9754D3C48F8B1C4721616E7C227DB63292B5F5EFE3C0C33947D87441
34120704 1 74 [Error] -4 Unable to connect to the specified
data source. Verify that data source is properly configured and that
database server is online.
=========
==END-witango log files
Is it even trying to trigger the Apple Events? Am I doing something
wrong? How can I begin to figure this out?
Here is the datasource from the taf file:
<DataSource ID="Students">
<DSType>FileMaker</DSType>
<DSN>Students</DSN>
<DBMS>Filemaker Pro</DBMS>
<Host>#</Host>
<Database>Students</Database>
<UserInfo Encrypted="True">
<UserName />
<Password />
</UserInfo>
</DataSource>
What more can I do to debug this?
Thanks,
.cpb
--
Colin Bell <[EMAIL PROTECTED]> [+15195911384]
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf