Return-Path: Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 22266 invoked by uid 500); 22 May 2003 14:37:45 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 22245 invoked from network); 22 May 2003 14:37:44 -0000 Message-ID: From: Tom Jordahl To: "'axis-dev@ws.apache.org'" Cc: "'Taherkordy@dpi2.dpi.net.ir'" Subject: RE: Contribution to SimpleAxisServer Date: Thu, 22 May 2003 10:37:35 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Alireza, This is great stuff! We are very close to cutting a 1.1 release. We have passed the JAX-RPC and SAAJ test suites. This code can go in to the tree as soon as we branch the 1.1 source. Could you please create Bugzilla enhancement request and attach these files? I am going on vacation next week for some time, so I may not be around to check this in. You should be able to get Glen or Dims to check it in for you while I am away. Thanks again! -- Tom Jordahl Macromedia Server Development -----Original Message----- From: Alireza Taherkordi [mailto:Taherkordy@dpi2.dpi.net.ir] Sent: Wednesday, May 21, 2003 8:24 PM To: axis-dev@ws.apache.org Subject: RE: Contribution to SimpleAxisServer Importance: High Hi Tom, I've done some simple changes to the SimpleAxisServer to make it more production ready. The changes are: 1. Added a LRU based session cleanup mechanism: I've used a simple LRU cleanup mechanism for sessions, I've utilized jakarta commons org.apache.commons.collections.LRUMap . (needs to add commons-collections.jar to the Axis) 2. Added a thread pooling mechanism: org.apache.axis.transport.http.ThreadPool org.apache.axis.transport.http.BlockingQueue 3. modified getAxisServer() method's accessibility from "protected" to "public" 4. Commented the following line of code from stop() mehotd: System.exit(0); No need to kill the JVM(this help us to use SimpleAxisServer in a service based architecture without any problem) 5. Added two new options to be used in starting SimpleAxisServer from command line: -t for maximum thread pool size(default value is 100) -m for maximum session count(default value is 100) example: java org.apache.axis.transport.http.SimpleAxisServer -t 150 -m 1000 I've attached the source codes to this email, Could you please let me know your idea? Since I've not CVS access, could you please commit them if they are ok? BR Alireza Taherkordi > Alireza, > Any help in this area that you can contribute would be welcome. Please > keep the > "simple" in SimpleAxisServer and don't get too carried away. :-) > This kind of change would be targeted at Axis 1.2, as we are (still!) trying to get > 1.1 final and out the door. I believe that latest (and last?) problem > we have are > several failures in the SAAJ test suite. > Please publish descriptions/diffs of your planned changes to axis-dev and use this > list for any questions or discussion you might have. > Welcome aboard! > -- > Tom Jordahl > Macromedia Server Development > -----Original Message----- > From: Alireza Taherkordi [mailto:taherkordy@dpi2.dpi.net.ir] > Sent: Monday, May 12, 2003 10:02 AM > To: axis-dev@ws.apache.org > Subject: Contribution to SimpleAxisServer > Hi, > We really need a standalone Axis Server something like > SimpleAxisServer in our middleware product, but As Axis says > this is not a production ready server, I saw many emails > in Axis-user mailing list that asked about such a reliable > engine. Just wanted to say that > I'm interested in contribution to Axis to make > the SimpleAxisServer production ready. > The most important things that I think that should be done > are: > -Adding session cleanup mechanism > -Adding a thread pooling mechanim to the server > -and some other tiny changes > So if there isn't any task assigned to the SimpleAxisServer > and if you're interested I can complete it. > Best Regards, > Alireza Taherkordi