I have a very sporadic problem where the external network connection
browser <-> server is OK, but the internal network connection between 4D
Remote/Active4D <-> 4D Server isn't (or wasn't). I say wasn't because this
may happen when a user visits the site after a brief network outage that
affected the 4D Remote/Active4D <-> 4D Server connection.

Active 4D will send an error response like this (I reformatted the
cut-n-paste table text):

---
Active4D error

Source: /Library/Application
Support/4D/com.aparajita/Active4D/web/acr/index.a4d
Method: [main]
Line:   13

Source: [text block]
Method: ACR.ACR_BeginPage
Line:   7

Source: [text block]
Method: CAS.getUser
Line:   3

Source: [text block]
Method: CAS._get_LDAP_Person_uid
Line  : 4

QUERY([LDAP_Person]; [LDAP_Person]uid = $inUid)
An unclassified database exception occurred (-1)
Active4D 5.0r37 [Macintosh/Intel, release, 32-bit]
---

FWIW, We are planning to upgrade to the latest Active4D when we upgrade 4D
later this year.

The 4D remote/Active4D web server will display two stacked 4D error
dialogs:

The frontmost dialog reads:
An error has occured:
srvr error 3: Connection is broken.
dbmg error 1209: Cannot receive request reply
[-1]

Behind it is another dialog:
The actual connection to the database has been disrupted.
A serious error occured while a request was being sent to the
server. You should quit or restart the database as soon as possible.
(OK)        (Restart) (Quit)

4D Server is OK and when I restart 4D Remote/Active4D everything is fine.
I am pretty sure that this is network related and not do to a 4D code
error, because it happened on both of our web hosts on the same network.

Can I trap this type of error in Active4D? At the least I would like to
send an email or text that there is a problem. Even better would be to
shutdown and restart 4D. The tricky part is how would I test development
of a solution?

Thanks,

Brad Perkins

_______________________________________________
Active4D-dev mailing list
[email protected]
http://list.aparajitaworld.com/listinfo/active4d-dev
Archives: http://active4d-nabble.aparajitaworld.com/

Reply via email to