And where is the FMPro server running?
And what does the jdbc.ini look like that specifies the DSN you're trying to connect to?

Bill

William M. Conlon, P.E., Ph.D.
To the Point
2330 Bryant Street
Palo Alto, CA 94301
   vox:  650.327.2175 (direct)
   fax:  650.329.8335
mobile:  650.906.9929
e-mail:  mailto:[EMAIL PROTECTED]
   web:  http://www.tothept.com


On Mar 14, 2008, at 12:52 PM, Colin Bell wrote:

Oops...

I guess some important platform info would be useful to those with knowledge.

(1) Architecture
Intel 2.16GHz Intel Core 2 Duo

(2) Versions
OS X: 10.4.11
Witango:  5.5
Apache: 2.2.8

(3) Development
Developing and running the taf on the same server that witangod and
apache2 are running on.

Thanks,
.cpb

On Fri, Mar 14, 2008 at 1:42 PM, Kent Swisher
<[EMAIL PROTECTED]> wrote:
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





--
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

Reply via email to