Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0006295 [Resin] minor always 11-13-19 02:57 11-13-19 03:09
Reporter nam View Status public  
Assigned To
Priority high Resolution open  
Status new   Product Version 4.0.63
Summary 0006295: spring cannot find WebApplicationInitializer classes in the classpath when using resin cloud deploy
Description (rep by J. Meyer)

When a triad member starts afresh (no resin-data, no webapps), it downloads deployed webapps from the other triad members and deploys them locally. Spring webapps would fail to deploy properly because Spring is unable to find WebApplicationInitializer classes in the classpath, indicating a classloader issue.


Good deploy:
[19-11-07 16:15:10.285] {resin-55} WebApp[production/webapp/default/billingservice,STARTING] 2 Spring WebApplicationInitializers detected on classpath
[19-11-07 16:15:57.114] {resin-port-8888-84} WebApp[production/webapp/default/billingservice] map (uri:/bill -> dispatcherServlet)


Bad deploy:
[19-11-07 16:09:30.193] {resin-78} WebApp[production/webapp/default/billingservice,STARTING] No Spring WebApplicationInitializer types detected on classpath
[19-11-07 16:10:25.731] {resin-port-8888-73} WebApp[production/webapp/default/billingservice] map (uri:/bill -> resin-file)


Steps:
1. resinctl start --server app-0
2. resinctl start --server app-1
3. resinctl deploy my-spring-webapp.war
4. test webapp on app-0 and app-1 => works fine
5. shutdown app-1, delete resin-data and webapps
6. resinctl start --server app-1
7. test webapp on app-1 => 404


nam: unable to reproduce so far with a test spring webapp
Additional Information
Attached Files

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
11-13-19 02:57 nam New Issue
11-13-19 03:07 nam Summary spring cannot WebApplicationInitializer classes in the classpath when using resin cloud deploy => spring cannot find WebApplicationInitializer classes in the classpath when using resin cloud deploy
11-13-19 03:08 nam Description Updated
11-13-19 03:09 nam Description Updated
11-13-19 03:09 nam Description Updated


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