Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 77199 invoked from network); 6 Nov 2006 12:45:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Nov 2006 12:45:02 -0000 Received: (qmail 54560 invoked by uid 500); 6 Nov 2006 12:45:09 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 54525 invoked by uid 500); 6 Nov 2006 12:45:09 -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: List-Id: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 54514 invoked by uid 99); 6 Nov 2006 12:45:09 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Nov 2006 04:45:09 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Nov 2006 04:44:57 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id A791071430F for ; Mon, 6 Nov 2006 04:44:37 -0800 (PST) Message-ID: <5910632.1162817077669.JavaMail.jira@brutus> Date: Mon, 6 Nov 2006 04:44:37 -0800 (PST) From: "Michele Mazzucco (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Updated: (AXIS2-1604) many service instances are created when application scope service implements the ServiceLifeCycle interface In-Reply-To: <3776743.1162650676566.JavaMail.root@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ http://issues.apache.org/jira/browse/AXIS2-1604?page=all ] Michele Mazzucco updated AXIS2-1604: ------------------------------------ Attachment: Jira1604.zip Sample to reproduce the problem. Please note that I haven't invoked the service, while 2 instances have been created > many service instances are created when application scope service implements the ServiceLifeCycle interface > ----------------------------------------------------------------------------------------------------------- > > Key: AXIS2-1604 > URL: http://issues.apache.org/jira/browse/AXIS2-1604 > Project: Apache Axis 2.0 (Axis2) > Issue Type: Bug > Components: kernel > Environment: java 1.5, axis2 1.1 branch 30/10/06 > Reporter: Michele Mazzucco > Assigned To: Deepal Jayasinghe > Priority: Blocker > Attachments: 1604.zip, Jira1604.zip, services.xml > > > The service runs in application scope and implements the ServiceLifeCycle interface, but it does not work as expected. As shown by the tomcat output below, > different service instances are created (4), while only one should be available, 2 at deployment time and then each time the web service is invoked! > Nov 3, 2006 6:29:24 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent > INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: .:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java > Nov 3, 2006 6:29:24 PM org.apache.coyote.http11.Http11BaseProtocol init > INFO: Initializing Coyote HTTP/1.1 on http-8080 > Nov 3, 2006 6:29:24 PM org.apache.catalina.startup.Catalina load > INFO: Initialization processed in 2311 ms > Nov 3, 2006 6:29:24 PM org.apache.catalina.core.StandardService start > INFO: Starting service Catalina > Nov 3, 2006 6:29:24 PM org.apache.catalina.core.StandardEngine start > INFO: Starting Servlet Engine: Apache Tomcat/5.5.15 > Nov 3, 2006 6:29:24 PM org.apache.catalina.core.StandardHost start > INFO: XML validation disabled > Nov 3, 2006 6:29:26 PM org.apache.catalina.startup.HostConfig deployWAR > INFO: Deploying web application archive axis2.war > 2006-11-03 18:29:28,617 INFO org.apache.axis2.deployment.DeploymentEngine - Deploying module : addressing-1.1 > 2006-11-03 18:29:28,643 INFO org.apache.axis2.deployment.DeploymentEngine - Deploying module : managerInterceptor > 2006-11-03 18:29:28,658 INFO org.apache.axis2.deployment.DeploymentEngine - Deploying module : soapmonitor-1.1 > 2006-11-03 18:29:29,075 INFO ncl.qosp.controller.RoutingService - Startup time is: Fri Nov 03 18:29:29 GMT 2006 > 2006-11-03 18:29:29,075 INFO ncl.qosp.controller.RoutingService - -- Constructor > 2006-11-03 18:29:29,169 INFO ncl.qosp.controller.scheduler.weighted.queue.QueueSizeScheduler - Scheduler component started > 2006-11-03 18:29:29,169 INFO ncl.qosp.controller.RoutingService - Scheduler registered to the mbean server > 2006-11-03 18:29:30,921 INFO org.apache.axis2.deployment.DeploymentEngine - Deploying Web service RoutingService.aar > 2006-11-03 18:29:30,956 INFO org.apache.axis2.deployment.DeploymentEngine - Deploying Web service version.aar > 2006-11-03 18:29:30,974 INFO ncl.qosp.controller.RoutingService - -- Constructor > Nov 3, 2006 6:29:32 PM org.apache.coyote.http11.Http11BaseProtocol start > INFO: Starting Coyote HTTP/1.1 on http-8080 > Nov 3, 2006 6:29:32 PM org.apache.jk.common.ChannelSocket init > INFO: JK: ajp13 listening on /0.0.0.0:8009 > Nov 3, 2006 6:29:32 PM org.apache.jk.server.JkMain start > INFO: Jk running ID=0 time=0/63 config=null > Nov 3, 2006 6:29:32 PM org.apache.catalina.storeconfig.StoreLoader load > INFO: Find registry server-registry.xml at classpath resource > Nov 3, 2006 6:29:32 PM org.apache.catalina.startup.Catalina start > INFO: Server startup in 8440 ms > 2006-11-03 18:34:51,090 INFO ncl.qosp.controller.RoutingService - -- Constructor > 2006-11-03 18:41:00,315 INFO ncl.qosp.controller.RoutingService - -- Constructor -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org For additional commands, e-mail: axis-dev-help@ws.apache.org