Um probleminha estranho
Usando vraptor 3 - beta 4, no gae
eu tenho dois controllers, mas está instável, as vezes acha um, as vezes o outro e as vezes os dois [não aconteceu nenhuma vez de não achar nenhum, executei várias vezes e não achei nenhum padrão, e não parece ser nada cíclico
Segue o log
(...)
[DEBUG] 17:58:44,537 DEBUG [br.com.caelum.vraptor.core.DefaultConverters] - bundled converter to be registered: class br.com.caelum.vraptor.interceptor.multipart.UploadedFileConverter
[INFO] 17:58:44,553 INFO [br.com.caelum.vraptor.ioc.pico.StereotypedComponentRegistrar] - Registering all classes with stereotyped annotations (annotations annotated with @Stereotype)
[DEBUG] 17:58:44,553 DEBUG [br.com.caelum.vraptor.ioc.pico.StereotypedComponentRegistrar] - found component: class br.med.scp.controller.CidController, annotated with: interface br.com.caelum.vraptor.Resource
[DEBUG] 17:58:44,553 DEBUG [br.com.caelum.vraptor.ioc.pico.ResourceRegistrar] - Found resource: class br.med.scp.controller.CidController
[DEBUG] 17:58:44,568 DEBUG [br.com.caelum.vraptor.http.route.DefaultParametersControl] - For /cids/add retrieved /cids/add with {}
[INFO] 17:58:44,584 INFO [br.com.caelum.vraptor.http.route.RouteBuilder] - /cids/add --> public void br.med.scp.controller.CidController.add()
[DEBUG] 17:58:44,584 DEBUG [br.com.caelum.vraptor.http.route.DefaultParametersControl] - For /cids retrieved /cids with {}
[INFO] 17:58:44,584 INFO [br.com.caelum.vraptor.http.route.RouteBuilder] - /cids --> public java.util.List br.med.scp.controller.CidController.index()
[DEBUG] 17:58:44,584 DEBUG [br.com.caelum.vraptor.ioc.pico.PicoComponentRegistry] - Registering br.med.scp.controller.CidController with br.med.scp.controller.CidController
[INFO] 17:58:44,584 INFO [br.com.caelum.vraptor.ioc.pico.PicoComponentRegistry] - Class being registered as @RequestScoped, since there is no Scope annotation class br.med.scp.controller.CidController
[DEBUG] 17:58:44,584 DEBUG [br.com.caelum.vraptor.ioc.pico.PicoComponentRegistry] - Registering br.med.scp.controller.CidController as a request component
[DEBUG] 17:58:44,599 DEBUG [br.com.caelum.vraptor.ioc.pico.ReflectionsScanner] - Found the following sterotyped annotations: []
[DEBUG] 17:58:44,599 DEBUG [br.com.caelum.vraptor.ioc.pico.PicoComponentRegistry] - Registering br.med.scp.infra.vraptor.util.EntityTransactionCreator with br.med.scp.infra.vraptor.util.EntityTransactionCreator
[DEBUG] 17:58:44,599 DEBUG [br.com.caelum.vraptor.ioc.pico.PicoComponentRegistry] - Overriding interface br.med.scp.infra.vraptor.util.EntityTransactionCreator with br.med.scp.infra.vraptor.util.EntityTransactionCreator
[DEBUG] 17:58:44,599 DEBUG [br.com.caelum.vraptor.ioc.pico.PicoComponentRegistry] - Registering br.med.scp.infra.vraptor.util.EntityTransactionCreator as a request component
[DEBUG] 17:58:44,599 DEBUG [br.com.caelum.vraptor.ioc.pico.DefaultComponentFactoryRegistry] - Registering a ComponentFactory for javax.persistence.EntityTransaction in request scope
[DEBUG] 17:58:47,834 DEBUG [br.com.caelum.vraptor.ioc.pico.PicoComponentRegistry] - Registering br.com.caelum.vraptor.http.TypeCreator with br.com.caelum.vraptor.reflection.CacheBasedTypeCreator
[DEBUG] 17:58:47,834 DEBUG [br.com.caelum.vraptor.ioc.pico.PicoComponentRegistry] - Overriding interface br.com.caelum.vraptor.http.TypeCreator with br.com.caelum.vraptor.reflection.CacheBasedTypeCreator
[DEBUG] 17:58:47,849 DEBUG [br.com.caelum.vraptor.ioc.pico.PicoComponentRegistry] - Registering br.com.caelum.vraptor.reflection.CacheBasedTypeCreator as an application component
[WARN] 17:58:47,849 WARN [br.com.caelum.vraptor.ioc.pico.PicoComponentRegistry] - VRaptor was already initialized, the contexts were created but you are registering a component.This is nasty. The original component might already be in use.Avoid doing it: br.com.caelum.vraptor.http.TypeCreator
[INFO] 17:58:47,896 INFO [br.com.caelum.vraptor.VRaptor] - VRaptor 3 successfuly initialized
The server is running at http://localhost:8080/
[]s
