Commit graph

3486 commits

Author SHA1 Message Date
hns
08aef75b77 More improvements:
- Threads now are released after sitting idle for some time
- Theres an error page that is invoked if something went wrong
 (except for timeouts)
2001-01-31 19:16:27 +00:00
hns
5ada1c1876 added getThreads() function 2001-01-31 19:14:24 +00:00
hns
da000151d0 Each Application has its own threadpool now 2001-01-31 19:13:59 +00:00
hns
ef36481edd writeObject now throws XmlRpcException.
If an Error occurs while writing a response, a valid error message is generated.
2001-01-30 18:41:57 +00:00
hns
9a1f750707 cleaned up request handling 2001-01-30 18:39:50 +00:00
hns
c94f3e5a6b moved closing of SQL connection to a separate method 2001-01-30 18:39:18 +00:00
hns
8cdb43c6ac implement "this" macro handler for macros that may be handled by any hopobject 2001-01-30 18:38:29 +00:00
hns
926063cfac gets on internal properties are now handled by a separate method 2001-01-30 18:37:17 +00:00
hns
906a1ac9ab getAllUsers will return an array of strings (user names) instead of
actual user objects, making the function more scalable
2001-01-29 16:32:42 +00:00
hns
2f6ba51e2e rewrap() now knows that Node.properties() returns
an Enumeration of Property names.
2001-01-29 16:31:59 +00:00
hns
fc7f0721a0 changed semantics of Node.properties(): Only the properties that
are either explicitly defined in the type.properties.file or the
actual properties are returned, but not the ones defined by a
generic _properties rule.
2001-01-28 21:18:07 +00:00
hns
f6b20d916a minor formatting tweaks 2001-01-28 21:16:01 +00:00
hns
c469170727 minor debugging tweaks 2001-01-28 21:15:01 +00:00
hns
b2d0d8d756 when 0 is passed as server port, any free port is used and can be queried by getServerPort() 2001-01-28 21:13:53 +00:00
hns
bc420bc2ec If macro function returns something its appended to the response buffer 2001-01-28 21:11:25 +00:00
hns
02482e6469 adapted getProperties to new property listing semantics in Node 2001-01-28 21:10:47 +00:00
hns
1a30f698a5 return "hopobject" for prototype for untyped objects 2001-01-28 21:10:12 +00:00
hns
8d63fd35af use accessor methods for Relation.localField and Relation.remoteField 2001-01-25 20:58:18 +00:00
hns
857544fd9b doesnt use thead.stop() anymore 2001-01-25 20:57:30 +00:00
hns
d807e4a340 made localField and remoteField protected 2001-01-25 20:56:47 +00:00
hns
46a17c3028 use null instead of "" for no dbmapping, simpler virtual keys 2001-01-25 20:56:12 +00:00
hns
53a34144c3 removed thread.stop(), some other small enhancements 2001-01-25 20:55:10 +00:00
hns
86423de367 expose application object as __app__ 2001-01-25 20:54:46 +00:00
hns
63468e09e1 use local variable for transactor so we notice timeout even if thread was not killed 2001-01-25 20:54:23 +00:00
hns
8156ad25aa renamed reWrap to rewrap 2001-01-25 20:30:52 +00:00
hns
4552af0cda Moved Evaluator init code from typemanager to prototype.
Fixed evaluator not being initialized by new prototypes
2001-01-24 17:19:42 +00:00
hns
7376855af9 Now implements an asynchronous client 2001-01-24 15:05:54 +00:00
hns
3cfea3a250 Now inherits much more from XmlRpcClient 2001-01-24 15:04:41 +00:00
hns
4b6f0050e8 *** empty log message *** 2001-01-24 14:58:53 +00:00
hns
697f3a110c fixed bug where no constructor was created for prototypes that where created after the application has started 2001-01-24 14:58:14 +00:00
hns
9310c6a09b made number of loops configurable 2001-01-24 14:30:31 +00:00
hns
f7bc885823 now knows that it has a BufferedInputStream to be able to support inputstream.mark() 2001-01-24 14:29:52 +00:00
hns
d7efbb9e32 minor cleanups 2001-01-24 14:28:54 +00:00
hns
bea0eb3320 added getReader() method that snoops ahead in inputstream to guess the character encoding from the xml declaration 2001-01-24 14:27:54 +00:00
hns
c979f8ee21 check if exception is alreadyanXmlRpcException 2001-01-24 14:26:14 +00:00
hns
1e85cbf4ac removed unnecessary FESI balast from Typemanager 2001-01-18 21:24:42 +00:00
hns
34ea3f383e used equalsIgnoreCase instead of equals 2001-01-18 18:53:32 +00:00
hns
7ee7c194a8 moved check for __prototype__ up before db lookup in getProperty 2001-01-18 18:33:58 +00:00
hns
7dbabcb18c root and userroot are retrieved with propert dbmappings, added skin cache 2001-01-18 18:12:04 +00:00
hns
f49b5eb157 getSkin() implements cached skin creation 2001-01-18 18:11:34 +00:00
hns
335931bddb getNode functions now use a local Key object in Transactor 2001-01-18 18:10:49 +00:00
hns
c805f1fd6b Fixed a dumb bug 2001-01-18 18:09:19 +00:00
hns
30d5ca129e made logging asynchronous even when writing to System.out 2001-01-18 18:08:55 +00:00
hns
0870e87f3e Moved Acme/LruHashtable to helma.util and renamed it CacheMap to allow for updates, including switching from Hashtable to HashMap 2001-01-18 14:51:34 +00:00
hns
b00e421f88 Changed evaluators and threads to be initialized only when needed. Phew! 2001-01-18 14:50:04 +00:00
hns
e20aaec618 Changed Key object management and database fetching strategy. Parallel fetching is now allowed, but at cache insertion strict checks are performed. 2001-01-18 14:49:13 +00:00
hns
8451bfddd9 minor log message rearrangement 2001-01-18 14:47:36 +00:00
hns
6d0491e2de Threads and evaluators are now started in lazy mode - only when needed. Halleluja! 2001-01-16 22:31:08 +00:00
hns
73bcc24ffc Implemented basic asynchronous behaviour 2001-01-15 18:35:49 +00:00
hns
52de687ae5 nothing 2001-01-15 17:55:58 +00:00