Author | Topic: Logging WAA Errors | |
---|---|---|
Mustafeez Rehman | Logging WAA Errors on Fri, 27 Aug 2004 14:27:44 -0400 Hi I have developed a Web Based Application. I am seeing Package errors but I am unable to locate thoes errors. If anyone can help me logging all package errors ? Thanks Mustafeez | |
Phil Ide | Re: Logging WAA Errors on Tue, 31 Aug 2004 11:13:19 +0100 Mustafeez, > I have developed a Web Based Application. I am seeing Package errors but I > am unable to locate thoes errors. If anyone can help me logging all package > errors ? The first thing you can try is to set some environment variables in your WAA startup batch file: SET WAA_WORKERTHREADS=5 SET WAA_HOST=localhost SET WAA_PORT=1024 SET WAA_TRACE=ON SET WAA_INTERNAL_LOG=ON SET WAA_DEVMODE=OFF waa1srv.exe WAA_TRACE allows the detail of logs to be configured. WAA_INTERNAL_LOG causes more detailed information to be sent to the log when internal error handling takes place. Regards, Phil Ide *************************************** * Xbase++ FAQ, Libraries and Sources: * * goto: http://www.idep.org.uk/xbase * *************************************** Bill Gates, have 'em write _real_ code... | |
Mustafeez Rehman | Re: Logging WAA Errors on Tue, 31 Aug 2004 16:17:24 -0400 Where can i go to check the log? Is it WAA1MMYY.log? "Phil Ide" <phil@idep.org.uk> wrote in message news:1jnggpn0v3gwq.dlg@idep.org.uk... > Mustafeez, > > > I have developed a Web Based Application. I am seeing Package errors but I > > am unable to locate thoes errors. If anyone can help me logging all package > > errors ? > > The first thing you can try is to set some environment variables in your > WAA startup batch file: > > SET WAA_WORKERTHREADS=5 > SET WAA_HOST=localhost > SET WAA_PORT=1024 > SET WAA_TRACE=ON > SET WAA_INTERNAL_LOG=ON > SET WAA_DEVMODE=OFF > waa1srv.exe > > > > WAA_TRACE allows the detail of logs to be configured. > WAA_INTERNAL_LOG causes more detailed information to be sent to the log > when internal error handling takes place. > > Regards, > -- > Phil Ide > > *************************************** > * Xbase++ FAQ, Libraries and Sources: * > * goto: http://www.idep.org.uk/xbase * > *************************************** > > Bill Gates, have 'em write real code... | |
Phil Ide | Re: Logging WAA Errors on Wed, 01 Sep 2004 11:24:21 +0100 Mustafeez, > Where can i go to check the log? Is it WAA1MMYY.log? Almost - WAA1YYMM.log Regards, Phil Ide *************************************** * Xbase++ FAQ, Libraries and Sources: * * goto: http://www.idep.org.uk/xbase * *************************************** Ever stop to think and forget to start again? | |
Mustafeez Rehman | Re: Logging WAA Errors on Wed, 01 Sep 2004 12:36:27 -0400 Well it did not help me tracing the program errors The stats showing on WAA are Total Transactions = 101 Commited = 93 Abort = 8 Package errors = 8 I could not able to find out how these errors are being generated. They are not going to browser. There is nothing in Xpperror.log. Can you help me tracing these errors. I have tested the application. It works fine. Thanks "Phil Ide" <phil@idep.org.uk> wrote in message news:1kgh4k0joil9j$.dlg@idep.org.uk... > Mustafeez, > > > Where can i go to check the log? Is it WAA1MMYY.log? > > Almost - WAA1YYMM.log > > Regards, > -- > Phil Ide > > *************************************** > * Xbase++ FAQ, Libraries and Sources: * > * goto: http://www.idep.org.uk/xbase * > *************************************** > > Ever stop to think and forget to start again? | |
Phil Ide | Re: Logging WAA Errors on Wed, 01 Sep 2004 17:47:35 +0100 Mustafeez, > Well it did not help me tracing the program errors > The stats showing on WAA are > > Total Transactions = 101 > Commited = 93 > Abort = 8 > Package errors = 8 > > I could not able to find out how these errors are being generated. They are > not going to browser. There is nothing in Xpperror.log. Can you help me > tracing these errors. I have tested the application. It works fine. This shows that you had 8 package errors, so something is not working fine. Can you show your log? Regards, Phil Ide *************************************** * Xbase++ FAQ, Libraries and Sources: * * goto: http://www.idep.org.uk/xbase * *************************************** Blind Spot: What Dick and Jane did to be cruel | |
Mustafeez Rehman | Re: Logging WAA Errors on Wed, 01 Sep 2004 13:54:20 -0400 Here is log file. "Phil Ide" <phil@idep.org.uk> wrote in message news:10dq60syfj40n$.dlg@idep.org.uk... > Mustafeez, > > > Well it did not help me tracing the program errors > > The stats showing on WAA are > > > > Total Transactions = 101 > > Commited = 93 > > Abort = 8 > > Package errors = 8 > > > > I could not able to find out how these errors are being generated. They are > > not going to browser. There is nothing in Xpperror.log. Can you help me > > tracing these errors. I have tested the application. It works fine. > > This shows that you had 8 package errors, so something is not working fine. > Can you show your log? > > Regards, > -- > Phil Ide > > *************************************** > * Xbase++ FAQ, Libraries and Sources: * > * goto: http://www.idep.org.uk/xbase * > *************************************** > > Blind Spot: What Dick and Jane did to be cruel WAA10409_sm.txt | |
Phil Ide | Re: Logging WAA Errors on Thu, 02 Sep 2004 10:27:19 +0100 Mustafeez, > Here is log file. You need to update your startup batch file to enable the environment variables I described to you earlier. These will increase the number and type of log entries, and are there to enable you to debug your issues. Regards, Phil Ide *************************************** * Xbase++ FAQ, Libraries and Sources: * * goto: http://www.idep.org.uk/xbase * *************************************** Even a small star shines brightly in the dark | |
Shum [MingYik] | Re: Logging WAA Errors on Thu, 02 Sep 2004 02:07:42 +0800 Hello Mustafeez Rehman, You may also check the log file which generated by the Web-Server (i.e.: Apache or IIS ...etc) Shum www.mingyik.com "Mustafeez Rehman" <mustafeez@cse.ca> glsD:x989THEkEHA.7820@S15147418... > Well it did not help me tracing the program errors > The stats showing on WAA are > > Total Transactions = 101 > Commited = 93 > Abort = 8 > Package errors = 8 > > I could not able to find out how these errors are being generated. They > are > not going to browser. There is nothing in Xpperror.log. Can you help me > tracing these errors. I have tested the application. It works fine. > > Thanks > > "Phil Ide" <phil@idep.org.uk> wrote in message > news:1kgh4k0joil9j$.dlg@idep.org.uk... >> Mustafeez, >> >> > Where can i go to check the log? Is it WAA1MMYY.log? >> >> Almost - WAA1YYMM.log >> >> Regards, >> -- >> Phil Ide >> >> *************************************** >> * Xbase++ FAQ, Libraries and Sources: * >> * goto: http://www.idep.org.uk/xbase * >> *************************************** >> >> Ever stop to think and forget to start again? > > | |
Martin Altmann | Re: Logging WAA Errors on Wed, 22 Sep 2004 07:18:13 +0200 Phil, what is the purpose of WAA_DEVMODE? What is the difference between running in developer mode and not running in developer mode? Could you enlighten me, please? I did not find anything in the docs for that switch. Cheers and TIA, Martin BTW, am I on your spam-list? I sent you two PM within the last 6 months and did not get any reply - both were about the new version of WAA. I used to get replies from you earlier on, though. "Phil Ide" <phil@idep.org.uk> schrieb im Newsbeitrag news:1jnggpn0v3gwq.dlg@idep.org.uk... > Mustafeez, > >> I have developed a Web Based Application. I am seeing Package errors but >> I >> am unable to locate thoes errors. If anyone can help me logging all >> package >> errors ? > > The first thing you can try is to set some environment variables in your > WAA startup batch file: > > SET WAA_WORKERTHREADS=5 > SET WAA_HOST=localhost > SET WAA_PORT=1024 > SET WAA_TRACE=ON > SET WAA_INTERNAL_LOG=ON > SET WAA_DEVMODE=OFF | |
Phil Ide | Re: Logging WAA Errors on Wed, 22 Sep 2004 12:28:18 +0100 Martin, > what is the purpose of WAA_DEVMODE? > What is the difference between running in developer mode and not running in > developer mode? > Could you enlighten me, please? I did not find anything in the docs for that > switch. I've look and can't findit - but I know it's in there somewhere 'cos I've seen it If there is an environment variable like this: WAA_DEVMODE=ON Then when loading package dll's, WAA will rename them to add a tilde to the front of the name: MyPackage.dll -> ~MyPackage.dll You can now update your dll by simply copying it to where the server expects it to be. When a request is made for a function in that dll, WAA checks to see if there is a new version of the dll available, and if there is it unloads the ~MyPackage.dll and deletes it, renames MyPackage.dll to ~MyPackage.dll, loads it and executes your form-func. It is definitely not a good idea to use this mode in a production environment because of the overhead involved in checking for a new dll each time a form-func is called. Regards, Phil Ide *************************************** * Xbase++ FAQ, Libraries and Sources: * * goto: http://www.idep.org.uk/xbase * *************************************** My Hovercraft is full of eels. | |
Martin Altmann | Re: Logging WAA Errors on Wed, 22 Sep 2004 21:39:05 +0200 Hi Phil, thanks a lot for the info - a very clever way of doing it! Did you read my BTW? Regards, Martin | |
Phil Ide | Re: Logging WAA Errors on Thu, 23 Sep 2004 10:39:17 +0100 Martin, > Hi Phil, > thanks a lot for the info - a very clever way of doing it! > > Did you read my BTW? I did recieve your messages and replied to them. It seems though that your ISP is being a bit strict - I notice this a lot with German ISP's. My workstation spoofs mail.idep.org.uk, so it sends mail direct to your mailbox without going through any gateway mailservers. However some ISP's have instigated a host-checking, where my IP address is compared against the MX record for idep.org.uk, and apparently rejects on the ground that there is a mismatch. To resolve this, I can either: a) Change the MX record to point at my workstation b) use mail.xodc.org.uk as my mailserver, as this is both local and has an associated MX record I'll try and get this sorted asap. Regards, Phil Ide *************************************** * Xbase++ FAQ, Libraries and Sources: * * goto: http://www.idep.org.uk/xbase * *************************************** All generalizations are false. | |
Martin Altmann | Re: Logging WAA Errors on Thu, 23 Sep 2004 19:15:13 +0200 Phil, thanks for the info. I sent you a PM including several other mail-aliases from different ISPs. Regards, Martin |