Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0002565 [Resin] minor always 03-03-08 13:38 04-10-08 13:34
Reporter stbu View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version 3.1.6
Summary 0002565: Snapshot s080331: NullPointerException in WebApp.stop() when "versioning" is active
Description This is the StackTrace:

[22:12:26.171] {http--8080-6} Host[] stopping
[22:12:26.171] {http--8080-6} WebApp[http://localhost:8080/resin-doc] [^] stopping
[22:12:26.187] {http--8080-6} WebApp[http://localhost:8080/foo-1.2] [^] stopping
[22:12:26.187] {http--8080-6} WebApp[http://localhost:8080/foo-1.1] [^] stopping
[22:12:26.187] {http--8080-6} WebApp[http://localhost:8080/foo] [^] stopping
[22:12:26.187] {http--8080-6} java.lang.NullPointerException
[22:12:26.187] {http--8080-6} at com.caucho.server.webapp.WebApp.stop(WebApp.java:2708)
[22:12:26.187] {http--8080-6} at com.caucho.server.webapp.WebApp.destroy(WebApp.java:2739)
[22:12:26.187] {http--8080-6} at com.caucho.server.deploy.DeployController.stopImpl(DeployController.java:750)
[22:12:26.187] {http--8080-6} at com.caucho.server.deploy.AbstractDeployControllerStrategy.stop(AbstractDeployControllerStrategy.java:77)
[22:12:26.187] {http--8080-6} at com.caucho.server.deploy.DeployController.stop(DeployController.java:571)
[22:12:26.187] {http--8080-6} at com.caucho.server.deploy.DeployContainer.stop(DeployContainer.java:380)
[22:12:26.187] {http--8080-6} at com.caucho.server.webapp.WebAppContainer.stop(WebAppContainer.java:1089)
[22:12:26.187] {http--8080-6} at com.caucho.server.host.Host.stop(Host.java:546)
[22:12:26.187] {http--8080-6} at com.caucho.server.host.Host.destroy(Host.java:563)
[22:12:26.187] {http--8080-6} at com.caucho.server.deploy.DeployController.stopImpl(DeployController.java:750)
[22:12:26.187] {http--8080-6} at com.caucho.server.deploy.DeployController.restartImpl(DeployController.java:628)
[22:12:26.187] {http--8080-6} at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.request(StartAutoRedeployAutoStrategy.java:125)
[22:12:26.187] {http--8080-6} at com.caucho.server.deploy.DeployController.request(DeployController.java:600)
[22:12:26.187] {http--8080-6} at com.caucho.server.host.HostContainer.getHost(HostContainer.java:372)
[22:12:26.187] {http--8080-6} at com.caucho.server.cluster.Server.getWebApp(Server.java:1024)
[22:12:26.187] {http--8080-6} at com.caucho.server.cluster.Server.getDefaultWebApp(Server.java:1005)
[22:12:26.187] {http--8080-6} at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:256)
[22:12:26.187] {http--8080-6} at com.caucho.server.port.TcpConnection.run(TcpConnection.java:675)
[22:12:26.187] {http--8080-6} at com.caucho.util.ThreadPool$Item.runTasks(ThreadPool.java:721)
[22:12:26.187] {http--8080-6} at com.caucho.util.ThreadPool$Item.run(ThreadPool.java:643)
[22:12:26.187] {http--8080-6} at java.lang.Thread.run(Thread.java:619)
[22:12:26.609] {http--8080-6} Server[id=,cluster=app-tier] stopping
[22:12:29.546] {http--8080-6} Host[admin.caucho] stopping
[22:12:29.546] {http--8080-6} WebApp[http://admin.caucho/resin-jmx-service] [^] stopping
Resin Professional 3.1.s080331 (built Mon, 31 Mar 2008 09:21:31 PDT)
Copyright(c) 1998-2008 Caucho Technology. All rights reserved.


The web-app versioning (http://caucho.com/resin/doc/webapp-deploy.xtp#web-app%20versioning) [^] is activated and before I stopped resin, I've seen in jconsole's MBean Browser that the State of /foo was 'stopped-lazy' and /foo-1.1 and /foo-1.2 were both 'active'.



Additional Information Also, I've seen this message in the logs, which is a little bit confusing ...

[22:34:07.187] {RMI TCP Connection(5)-192.168.1.100} web-app root-directory can not be the same as resin.home
[22:34:07.187] {RMI TCP Connection(5)-192.168.1.100} /c:/downloads/resin-pro-3.1.s080331/


The MBean says:
/foo
RootDirectory: c:\downloads\resin-pro-3.1.s080331\
/foo-1.1
RootDirectory: c:\downloads\resin-pro-3.1.s080331\webapps\foo-1.1

Attached Files

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
03-03-08 13:38 stbu New Issue
03-03-08 13:38 stbu Issue Monitored: stbu
04-10-08 13:34 ferg Assigned To  => ferg
04-10-08 13:34 ferg Status new => closed
04-10-08 13:34 ferg Resolution open => fixed
04-10-08 13:34 ferg Fixed in Version  => 3.1.6


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
28 total queries executed.
25 unique queries executed.
Powered by Mantis Bugtracker