[studs-user] Truncated WEB-INF/work/ServletContext.ser
Status: Beta
Brought to you by:
mojavelinux
|
From: <joh...@on...> - 2005-07-28 09:50:33
|
Hi all! I've noticed that WEB-INF/work/ServletContext.ser file sometimes gets truncated to zero bytes, but still exists. This results in the following error: : Fatal error: Call to a member function getStartup() on a non-object in C:\develsoft\Apache Group\Apache2\htdocs\basic\WEB-INF\lib\stratus\connector\HttpProcessor.php on line 80 at .RootException(C:\develsoft\Apache Group\Apache2\htdocs\basic\WEB-INF\lib\horizon\lang\RootException.php:67) at .fatalErrorWatchdog(C:\develsoft\Apache Group\Apache2\htdocs\basic\WEB-INF\lib\stratus\connector\HttpProcessor.php:328) at [PHP].main(:) context is now of type bool (and is false since an eval() of a zero length string will return false). ContextConfig does some minor validity checking (if context is null), but it should really verify that the object was properly loaded. Also, if object is not properly loaded, I don't throwing an exception is exciting is really what you want. Log it and then try to recreate the Context (by reloading the configuration). What do you think? :) However, this isn't the problem. The problem is WHY this file gets truncated? I haven't done any major investigation so far, I wanted to see if you had any suggestions or ideas first. Best Regards, Johan -- Johan Mjönes Programmer Phone: +46 8 789 12 00 Fax: +46 8 789 12 12 Cell: +46 7 052 838 55 E-mail: joh...@on... Internet: www.ongame.com This e-mail (including attachments) is strictly confidential and intended solely for designated recipient(s). It contains privileged and confidential information. If you have received this e-mail in error, you must not disseminate, copy, distribute or take any action in reliance on it. Please notify us immediately and delete this e-mail and any attachments. Thank you. |