Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 98451 invoked from network); 29 Jan 2007 06:44:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Jan 2007 06:44:16 -0000 Received: (qmail 31364 invoked by uid 500); 29 Jan 2007 06:44:16 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 31318 invoked by uid 500); 29 Jan 2007 06:44:16 -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 31307 invoked by uid 99); 29 Jan 2007 06:44:16 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 28 Jan 2007 22:44:16 -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; Sun, 28 Jan 2007 22:44:09 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 40DF57142E1 for ; Sun, 28 Jan 2007 22:43:49 -0800 (PST) Message-ID: <2368635.1170053029262.JavaMail.jira@brutus> Date: Sun, 28 Jan 2007 22:43:49 -0800 (PST) From: "Josef Stadelmann (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Updated: (AXIS2-1990) myService5.init(sc) and myService5.destroy(sc) not called on a http://alpha1:8080/manager/html/start?path=/axis2 -> start /stop-click in scope=application In-Reply-To: <26877553.1169015667674.JavaMail.jira@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 [ https://issues.apache.org/jira/browse/AXIS2-1990?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Josef Stadelmann updated AXIS2-1990: ------------------------------------ Attachment: MyService5.aar Hi Deepal, here is the wanted aar file. Take care, scope should be soapsessions to track down the reported bug's. but is at application now, as I had to go on with development. Josef > myService5.init(sc) and myService5.destroy(sc) not called on a http://alpha1:8080/manager/html/start?path=/axis2 -> start /stop-click in scope=application > ----------------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: AXIS2-1990 > URL: https://issues.apache.org/jira/browse/AXIS2-1990 > Project: Axis 2.0 (Axis2) > Issue Type: Bug > Components: samples, build,site > Affects Versions: 1.1 > Environment: Any tomcat platform and version and axis2-1.1.x in scope=application > Reporter: Josef Stadelmann > Assigned To: Deepal Jayasinghe > Attachments: MyService5.aar > > > Hi Team, > I am running myService5 in application scope! axis2-1.1 > when stop is called from http://alpha1:8080/manager/html/start?path=/axis2 > myService5.destroy() is called too late and an exception is raised > 2007-01-17 08:01:54,518 INFO org.apache.axis2.deployment.DeploymentEngine - Deploying module : addressing-1.1 > 2007-01-17 08:01:54,518 INFO org.apache.axis2.deployment.DeploymentEngine - Deploying module : logging > 2007-01-17 08:01:54,549 INFO org.apache.axis2.deployment.DeploymentEngine - Deploying module : soapmonitor-1.1 > 2007-01-17 08:01:54,908 INFO org.apache.axis2.deployment.DeploymentEngine - Deploying Web service Library.aar > 2007-01-17 08:01:54,940 INFO org.apache.axis2.deployment.DeploymentEngine - Deploying Web service MyService.aar > 2007-01-17 08:01:54,971 INFO org.apache.axis2.deployment.DeploymentEngine - Deploying Web service MyService1.aar > 2007-01-17 08:01:55,705 INFO org.apache.axis2.deployment.DeploymentEngine - Deploying Web service MyService4.aar > 2007-01-17 08:01:56,143 INFO org.apache.axis2.deployment.DeploymentEngine - Deploying Web service MyService5.aar > 2007-01-17 08:01:56,174 INFO org.apache.axis2.deployment.DeploymentEngine - Deploying Web service MyServiceWithModule.aar > 2007-01-17 08:01:56,190 INFO org.apache.axis2.deployment.DeploymentEngine - Deploying Web service version.aar > 2007-01-17 08:01:56,205 INFO org.apache.axis2.deployment.DeploymentEngine - Deploying Web service WsaMappingService.aar > 2007-01-17 08:01:56,221 INFO userguide.example5.MyService - MyService5.init() called ******************************** > So far the stdout_20070117.log of tomcat running on my PC > BUG: calling myService5.destroy(sc) in scope=application is called too late up on receiving the stop signal from the tomcat manager > The exception logged is > 2007-01-17 08:07:32,808 INFO org.apache.axis2.engine.DependencyManager - Exception trying to call destroy > java.lang.reflect.InvocationTargetException > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:585) > at org.apache.axis2.engine.DependencyManager.destroyServiceObject(DependencyManager.java:127) > at org.apache.axis2.context.ConfigurationContext.cleanupServiceContexts(ConfigurationContext.java:356) > at org.apache.axis2.context.ConfigurationContext.cleanupContexts(ConfigurationContext.java:370) > at org.apache.axis2.engine.ListenerManager.stop(ListenerManager.java:177) > at org.apache.axis2.transport.http.AxisServlet.destroy(AxisServlet.java:114) > at org.apache.catalina.core.StandardWrapper.unload(StandardWrapper.java:1326) > at org.apache.catalina.core.StandardWrapper.stop(StandardWrapper.java:1654) > at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4345) > at org.apache.catalina.manager.ManagerServlet.stop(ManagerServlet.java:1226) > at org.apache.catalina.manager.HTMLManagerServlet.stop(HTMLManagerServlet.java:545) > at org.apache.catalina.manager.HTMLManagerServlet.doGet(HTMLManagerServlet.java:106) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) > at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) > at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) > at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:174) > at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) > at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) > at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) > at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) > at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524) > at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) > at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) > at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) > at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) > at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) > at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) > at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) > at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) > at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) > at java.lang.Thread.run(Thread.java:595) > Caused by: java.lang.NullPointerException > at userguide.example5.MyService.destroy(MyService.java:98) > ... 35 more > 2007-01-17 08:07:32,823 INFO org.apache.axis2.context.ConfigurationContext - null; nested exception is: > java.lang.reflect.InvocationTargetException > Now clicking start in at http://localhost:8080/manager/html/stop?path=/axis2 the following happens, which seams to > be working correct. on the PC, but start() failed yesterday flat on a OpenVMS platform. (maybe a resource problem) > 2007-01-17 08:17:03,229 INFO org.apache.axis2.deployment.DeploymentEngine - Deploying module : addressing-1.1 > 2007-01-17 08:17:03,244 INFO org.apache.axis2.deployment.DeploymentEngine - Deploying module : logging > 2007-01-17 08:17:03,260 INFO org.apache.axis2.deployment.DeploymentEngine - Deploying module : soapmonitor-1.1 > 2007-01-17 08:17:03,557 INFO org.apache.axis2.deployment.DeploymentEngine - Deploying Web service Library.aar > 2007-01-17 08:17:03,588 INFO org.apache.axis2.deployment.DeploymentEngine - Deploying Web service MyService.aar > 2007-01-17 08:17:03,619 INFO org.apache.axis2.deployment.DeploymentEngine - Deploying Web service MyService1.aar > 2007-01-17 08:17:04,057 INFO org.apache.axis2.deployment.DeploymentEngine - Deploying Web service MyService4.aar > 2007-01-17 08:17:04,494 INFO org.apache.axis2.deployment.DeploymentEngine - Deploying Web service MyService5.aar > 2007-01-17 08:17:04,510 INFO org.apache.axis2.deployment.DeploymentEngine - Deploying Web service MyServiceWithModule.aar > 2007-01-17 08:17:04,525 INFO org.apache.axis2.deployment.DeploymentEngine - Deploying Web service version.aar > 2007-01-17 08:17:04,541 INFO org.apache.axis2.deployment.DeploymentEngine - Deploying Web service WsaMappingService.aar > 2007-01-17 08:17:04,557 INFO userguide.example5.MyService - MyService5.init() called **************************** > Josef.Stadelmann > @winterthur.ch > Josef.Stadelmann > @winterthur.ch -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org For additional commands, e-mail: axis-dev-help@ws.apache.org