Hi all,
I'm very stuck with this problem. The service is configured in
application scope, but several instances are created (I'm running the
latest nightly build).
I though the problem was related with the ServiceLifecycle inteface (see
jira AXIS2-1604), but I was wrong.
This is my services.xml, while below you can see the tomcat output (3
service instances are created)
<service name="RoutingService" scope="application">
<messageReceiver class=
"org.apache.axis2.receivers.RawXMLINOnlyMessageReceiver"/>
<messageReceiver class=
"org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
<parameter name="ServiceClass" locked="xsd:false">
ncl.qosp.controller.RoutingService
</parameter>
<!-- operations here -->
</service>
08-Nov-2006 11:59:56 org.apache.catalina.core.AprLifecycleListener
lifecycleEven
t
INFO: The Apache Tomcat Native library which allows optimal performance
in produ
ction environments was not found on the java.library.path: C:\Program
Files\Java
\jdk1.5.0_08\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\Program
Files\Java\jdk1.5.0
_08\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
Files
\QuickTime\QTSystem\;C:\Other\Subversion\bin;C:\Other\WinSCP3\;D:\Programs\Apach
e\maven-1.1-beta-2\bin;D:\Programs\Apache\apache-ant-1.6.5\bin;C:\Program
Files\
SSH Communications Security\SSH Secure Shell;C:\Program
Files\Java\jdk1.5.0_03\b
in;;D:\Programs\gnupg-w32cli-1.2.2;C:\Other\Subversion\bin;C:\Program
Files\Java
\jdk1.5.0_08\bin
08-Nov-2006 11:59:56 org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8081
08-Nov-2006 11:59:56 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 750 ms
08-Nov-2006 11:59:56 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
08-Nov-2006 11:59:56 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.15
08-Nov-2006 11:59:56 org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
08-Nov-2006 11:59:57 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive axis2.war
2006-11-08 11:59:58,349 INFO
org.apache.axis2.deployment.DeploymentEngine - Dep
loying module : addressing-1.1
2006-11-08 11:59:58,365 INFO
org.apache.axis2.deployment.DeploymentEngine - Dep
loying module : managerInterceptor
2006-11-08 11:59:58,380 INFO
org.apache.axis2.deployment.DeploymentEngine - Dep
loying module : soapmonitor-1.1
2006-11-08 11:59:58,818 INFO ncl.qosp.controller.LifecycleSupport -
Server connector started at service:jmx:rmi:///jndi/rmi://eskdale:10099/qosp
This is called by the static block of the stateful service since I've
removed lifecycle management from the services.xml file
static {
//.....
new LifecycleSupport().method()
}
2006-11-08 11:59:59,114 INFO
org.apache.axis2.deployment.DeploymentEngine - Dep
loying Web service RoutingService.aar
2006-11-08 11:59:59,130 INFO
org.apache.axis2.deployment.DeploymentEngine - Dep
loying Web service version.aar
2006-11-08 11:59:59,146 INFO ncl.qosp.controller.RoutingService - --
Constructo
r
08-Nov-2006 11:59:59 org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8081
08-Nov-2006 12:00:00 org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
08-Nov-2006 12:00:00 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=16/46 config=null
08-Nov-2006 12:00:00 org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
08-Nov-2006 12:00:00 org.apache.catalina.startup.Catalina start
INFO: Server startup in 3515 ms
2006-11-08 12:00:19,237 INFO ncl.qosp.controller.RoutingService - --
Constructor
2006-11-08 12:00:29,392 INFO ncl.qosp.controller.RoutingService - --
Constructor
Michele
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]