axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michele Mazzucco (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AXIS2-1604) many service instances are created when application scope service implements the ServiceLifeCycle interface
Date Mon, 06 Nov 2006 12:44:37 GMT
     [ 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


Mime
View raw message