Vraptor 3 problema com Jboss

11 respostas
alexandreaw

Opa pessoal, eu comecei recentemente com VRaptor e estou passando por um problema, é o seguinte eu baixei a aplicacao exemplo do site a mydvds e subi a aplicacao no tomcat 6, funcionou tudo blz, mais quando eu tentei rodar no jboss nao carrega mais as telas, o console do jboss da a seguinte mensagem:

11:39:39,546 INFO  [STDOUT] 11:39:39,546 DEBUG [VRaptorApplicationContext] Publishing event in context [br.com.caelum.vraptor.ioc.spring.VRaptorApplicationContext@1e980f]: org.springframework.context.event.ContextStartedEvent[source=br.com.caelum.vraptor.ioc.spring.VRaptorApplicationContext@1e980f: display name [Root WebApplicationContext]; startup date [Wed Nov 04 11:39:38 BRST 2009]; root of context hierarchy]
11:39:39,569 INFO  [STDOUT] 11:39:39,568  INFO [VRaptor             ] VRaptor 3 successfuly initialized
11:39:39,593 INFO  [TomcatDeployment] deploy, ctxPath=/jmx-console, vfsUrl=jmx-console.war
11:39:39,661 INFO  [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080
11:39:39,682 INFO  [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8099
11:39:39,692 INFO  [ServerImpl] JBoss (Microcontainer) [5.0.0.GA (build: SVNTag=JBoss_5_0_0_GA date=200812041714)] Started in 35s:83ms
11:45:47,884 INFO  [STDOUT] 11:45:47,857 DEBUG [DefaultResourceTranslator] trying to access /
11:45:47,919 INFO  [STDOUT] 11:45:47,919 DEBUG [DefaultResourceTranslator] found resource null
11:46:07,175 INFO  [STDOUT] 11:46:07,175 DEBUG [DefaultResourceTranslator] trying to access /
11:46:07,176 INFO  [STDOUT] 11:46:07,176 DEBUG [DefaultResourceTranslator] found resource null

eu estou tentando acessar o /

11 Respostas

Lucas_Cavalcanti

quando você roda no tomcat tá aparecendo os logs?

senão, ative o log do log4j, e veja… ele tem que registrar os componentes do mydvds, parece que ele não está fazer isso…

[]'s

alexandreaw

Entao quando eu uso o tomcat ele acha os resource normalmente, dai eu uso o mesmo war no jboss e da esse problema

Lucas_Cavalcanti

e o log que aparece no console do servidor, é o mesmo? Manda ele aí (mas só a parte que pareça ser do VRaptor, senão fica muito grande)

alexandreaw

Ta ai do jboss isso, ele nao acha nenhuma route

08:18:07,859 INFO  [STDOUT] 08:18:07,858 DEBUG [StereotypedBeansRegistrar] scanning bean with type: class br.com.caelum.vraptor.http.DefaultResourceTranslator, to see if it is a component candidate
08:18:07,859 INFO  [STDOUT] 08:18:07,859 DEBUG [StereotypedBeansRegistrar] scanning bean with type: class br.com.caelum.vraptor.http.route.DefaultTypeFinder, to see if it is a component candidate
08:18:07,859 INFO  [STDOUT] 08:18:07,859 DEBUG [StereotypedBeansRegistrar] scanning bean with type: class br.com.caelum.vraptor.interceptor.multipart.DefaultMultipartConfig, to see if it is a component candidate
08:18:07,859 INFO  [STDOUT] 08:18:07,859 DEBUG [StereotypedBeansRegistrar] scanning bean with type: class br.com.caelum.vraptor.core.DefaultConverters, to see if it is a component candidate
08:18:07,859 INFO  [STDOUT] 08:18:07,859 DEBUG [StereotypedBeansRegistrar] scanning bean with type: class br.com.caelum.vraptor.http.asm.AsmBasedTypeCreator, to see if it is a component candidate
08:18:07,859 INFO  [STDOUT] 08:18:07,859 DEBUG [StereotypedBeansRegistrar] scanning bean with type: class br.com.caelum.vraptor.interceptor.DefaultInterceptorRegistry, to see if it is a component candidate
08:18:07,860 INFO  [STDOUT] 08:18:07,859 DEBUG [StereotypedBeansRegistrar] scanning bean with type: class br.com.caelum.vraptor.resource.DefaultResourceNotFoundHandler, to see if it is a component candidate
08:18:07,860 INFO  [STDOUT] 08:18:07,860 DEBUG [StereotypedBeansRegistrar] scanning bean with type: class br.com.caelum.vraptor.proxy.ObjenesisProxifier, to see if it is a component candidate
08:18:07,860 INFO  [STDOUT] 08:18:07,860 DEBUG [StereotypedBeansRegistrar] scanning bean with type: class br.com.caelum.vraptor.view.DefaultAcceptHeaderToFormat, to see if it is a component candidate
08:18:07,860 INFO  [STDOUT] 08:18:07,860 DEBUG [StereotypedBeansRegistrar] scanning bean with type: class br.com.caelum.vraptor.http.route.NoRoutesConfiguration, to see if it is a component candidate
08:18:07,860 INFO  [STDOUT] 08:18:07,860 DEBUG [StereotypedBeansRegistrar] scanning bean with type: class br.com.caelum.vraptor.http.route.DefaultRouter, to see if it is a component candidate
08:18:07,860 INFO  [STDOUT] 08:18:07,860 DEBUG [StereotypedBeansRegistrar] scanning bean with type: class br.com.caelum.vraptor.http.ParanamerNameProvider, to see if it is a component candidate
08:18:07,860 INFO  [STDOUT] 08:18:07,860 DEBUG [StereotypedBeansRegistrar] scanning bean with type: class br.com.caelum.vraptor.http.ognl.EmptyElementsRemoval, to see if it is a component candidate
08:18:07,860 INFO  [STDOUT] 08:18:07,860 DEBUG [StereotypedBeansRegistrar] scanning bean with type: class br.com.caelum.vraptor.http.route.PathAnnotationRoutesParser, to see if it is a component candidate
08:18:07,860 INFO  [STDOUT] 08:18:07,860 DEBUG [StereotypedBeansRegistrar] scanning bean with type: class br.com.caelum.vraptor.ioc.ResourceHandler, to see if it is a component candidate
08:18:07,860 INFO  [STDOUT] 08:18:07,860 DEBUG [StereotypedBeansRegistrar] scanning bean with type: class br.com.caelum.vraptor.ioc.ConverterHandler, to see if it is a component candidate
08:18:07,861 INFO  [STDOUT] 08:18:07,860 DEBUG [StereotypedBeansRegistrar] scanning bean with type: class br.com.caelum.vraptor.ioc.InterceptorStereotypeHandler, to see if it is a component candidate
08:18:07,861 INFO  [STDOUT] 08:18:07,861 DEBUG [StereotypedBeansRegistrar] scanning bean with type: class br.com.caelum.vraptor.ioc.spring.StereotypedBeansRegistrar, to see if it is a component candidate
08:18:07,861 INFO  [STDOUT] 08:18:07,861 DEBUG [StereotypedBeansRegistrar] scanning bean with type: class br.com.caelum.vraptor.ioc.spring.DefaultSpringLocator, to see if it is a component candidate
08:18:07,861 INFO  [STDOUT] 08:18:07,861 DEBUG [StereotypedBeansRegistrar] scanning bean with type: class br.com.caelum.vraptor.core.DefaultRequestExecution, to see if it is a component candidate
08:18:07,861 INFO  [STDOUT] 08:18:07,861 DEBUG [StereotypedBeansRegistrar] scanning bean with type: class br.com.caelum.vraptor.validator.DefaultValidator, to see if it is a component candidate
08:18:07,861 INFO  [STDOUT] 08:18:07,861 DEBUG [StereotypedBeansRegistrar] scanning bean with type: class br.com.caelum.vraptor.extra.ForwardToDefaultViewInterceptor, to see if it is a component candidate
08:18:07,861 INFO  [STDOUT] 08:18:07,861 DEBUG [StereotypedBeansRegistrar] scanning bean with type: class br.com.caelum.vraptor.view.DefaultPathResolver, to see if it is a component candidate
08:18:07,861 INFO  [STDOUT] 08:18:07,861 DEBUG [StereotypedBeansRegistrar] scanning bean with type: class br.com.caelum.vraptor.view.DefaultLogicResult, to see if it is a component candidate
08:18:07,861 INFO  [STDOUT] 08:18:07,861 DEBUG [StereotypedBeansRegistrar] scanning bean with type: class br.com.caelum.vraptor.view.EmptyResult, to see if it is a component candidate
08:18:07,861 INFO  [STDOUT] 08:18:07,861 DEBUG [StereotypedBeansRegistrar] scanning bean with type: class br.com.caelum.vraptor.http.ognl.OgnlParametersProvider, to see if it is a component candidate
08:18:07,861 INFO  [STDOUT] 08:18:07,861 DEBUG [StereotypedBeansRegistrar] scanning bean with type: class br.com.caelum.vraptor.core.DefaultResult, to see if it is a component candidate
08:18:07,862 INFO  [STDOUT] 08:18:07,862 DEBUG [StereotypedBeansRegistrar] scanning bean with type: class br.com.caelum.vraptor.view.DefaultPageResult, to see if it is a component candidate
08:18:07,862 INFO  [STDOUT] 08:18:07,862 DEBUG [StereotypedBeansRegistrar] scanning bean with type: class br.com.caelum.vraptor.view.DefaultHttpResult, to see if it is a component candidate
08:18:07,862 INFO  [STDOUT] 08:18:07,862 DEBUG [StereotypedBeansRegistrar] scanning bean with type: class br.com.caelum.vraptor.interceptor.OutjectResult, to see if it is a component candidate
08:18:07,862 INFO  [STDOUT] 08:18:07,862 DEBUG [StereotypedBeansRegistrar] scanning bean with type: class br.com.caelum.vraptor.interceptor.multipart.MultipartInterceptor, to see if it is a component candidate
08:18:07,862 INFO  [STDOUT] 08:18:07,862 DEBUG [StereotypedBeansRegistrar] scanning bean with type: class br.com.caelum.vraptor.view.DefaultValidationViewsFactory, to see if it is a component candidate
08:18:07,862 INFO  [STDOUT] 08:18:07,862 DEBUG [StereotypedBeansRegistrar] scanning bean with type: class br.com.caelum.vraptor.interceptor.ExecuteMethodInterceptor, to see if it is a component candidate
08:18:07,862 INFO  [STDOUT] 08:18:07,862 DEBUG [StereotypedBeansRegistrar] scanning bean with type: class br.com.caelum.vraptor.interceptor.InstantiateInterceptor, to see if it is a component candidate
08:18:07,862 INFO  [STDOUT] 08:18:07,862 DEBUG [StereotypedBeansRegistrar] scanning bean with type: class br.com.caelum.vraptor.interceptor.ParametersInstantiatorInterceptor, to see if it is a component candidate
08:18:07,862 INFO  [STDOUT] 08:18:07,862 DEBUG [StereotypedBeansRegistrar] scanning bean with type: class br.com.caelum.vraptor.core.URLParameterExtractorInterceptor, to see if it is a component candidate
08:18:07,863 INFO  [STDOUT] 08:18:07,862 DEBUG [StereotypedBeansRegistrar] scanning bean with type: class br.com.caelum.vraptor.interceptor.InterceptorListPriorToExecutionExtractor, to see if it is a component candidate
08:18:07,863 INFO  [STDOUT] 08:18:07,863 DEBUG [StereotypedBeansRegistrar] scanning bean with type: class br.com.caelum.vraptor.interceptor.ResourceLookupInterceptor, to see if it is a component candidate
08:18:07,863 INFO  [STDOUT] 08:18:07,863 DEBUG [StereotypedBeansRegistrar] scanning bean with type: class br.com.caelum.vraptor.core.DefaultInterceptorStack, to see if it is a component candidate
08:18:07,863 INFO  [STDOUT] 08:18:07,863 DEBUG [StereotypedBeansRegistrar] scanning bean with type: class br.com.caelum.vraptor.core.JstlLocalization, to see if it is a component candidate
08:18:07,873 INFO  [STDOUT] 08:18:07,873 DEBUG [StereotypedBeansRegistrar] scanning bean with type: class br.com.caelum.vraptor.interceptor.download.DownloadInterceptor, to see if it is a component candidate
08:18:07,873 INFO  [STDOUT] 08:18:07,873 DEBUG [StereotypedBeansRegistrar] scanning bean with type: class br.com.caelum.vraptor.core.DefaultMethodInfo, to see if it is a component candidate
08:18:07,874 INFO  [STDOUT] 08:18:07,874 DEBUG [StereotypedBeansRegistrar] scanning bean with type: class br.com.caelum.vraptor.converter.BigDecimalConverter, to see if it is a component candidate
08:18:07,874 INFO  [STDOUT] 08:18:07,874 DEBUG [StereotypedBeansRegistrar] scanning bean with type: class br.com.caelum.vraptor.converter.BigIntegerConverter, to see if it is a component candidate
08:18:07,874 INFO  [STDOUT] 08:18:07,874 DEBUG [StereotypedBeansRegistrar] scanning bean with type: class br.com.caelum.vraptor.converter.BooleanConverter, to see if it is a component candidate
08:18:07,874 INFO  [STDOUT] 08:18:07,874 DEBUG [StereotypedBeansRegistrar] scanning bean with type: class br.com.caelum.vraptor.converter.ByteConverter, to see if it is a component candidate
08:18:07,874 INFO  [STDOUT] 08:18:07,874 DEBUG [StereotypedBeansRegistrar] scanning bean with type: class br.com.caelum.vraptor.converter.CharacterConverter, to see if it is a component candidate
08:18:07,874 INFO  [STDOUT] 08:18:07,874 DEBUG [StereotypedBeansRegistrar] scanning bean with type: class br.com.caelum.vraptor.converter.DoubleConverter, to see if it is a component candidate
08:18:07,874 INFO  [STDOUT] 08:18:07,874 DEBUG [StereotypedBeansRegistrar] scanning bean with type: class br.com.caelum.vraptor.converter.EnumConverter, to see if it is a component candidate
08:18:07,874 INFO  [STDOUT] 08:18:07,874 DEBUG [StereotypedBeansRegistrar] scanning bean with type: class br.com.caelum.vraptor.converter.FloatConverter, to see if it is a component candidate
08:18:07,874 INFO  [STDOUT] 08:18:07,874 DEBUG [StereotypedBeansRegistrar] scanning bean with type: class br.com.caelum.vraptor.converter.IntegerConverter, to see if it is a component candidate
08:18:07,875 INFO  [STDOUT] 08:18:07,875 DEBUG [StereotypedBeansRegistrar] scanning bean with type: class br.com.caelum.vraptor.converter.LocaleBasedCalendarConverter, to see if it is a component candidate
08:18:07,875 INFO  [STDOUT] 08:18:07,875 DEBUG [StereotypedBeansRegistrar] scanning bean with type: class br.com.caelum.vraptor.converter.LocaleBasedDateConverter, to see if it is a component candidate
08:18:07,875 INFO  [STDOUT] 08:18:07,875 DEBUG [StereotypedBeansRegistrar] scanning bean with type: class br.com.caelum.vraptor.converter.LongConverter, to see if it is a component candidate
08:18:07,875 INFO  [STDOUT] 08:18:07,875 DEBUG [StereotypedBeansRegistrar] scanning bean with type: class br.com.caelum.vraptor.converter.PrimitiveBooleanConverter, to see if it is a component candidate
08:18:07,875 INFO  [STDOUT] 08:18:07,875 DEBUG [StereotypedBeansRegistrar] scanning bean with type: class br.com.caelum.vraptor.converter.PrimitiveByteConverter, to see if it is a component candidate
08:18:07,875 INFO  [STDOUT] 08:18:07,875 DEBUG [StereotypedBeansRegistrar] scanning bean with type: class br.com.caelum.vraptor.converter.PrimitiveCharConverter, to see if it is a component candidate
08:18:07,875 INFO  [STDOUT] 08:18:07,875 DEBUG [StereotypedBeansRegistrar] scanning bean with type: class br.com.caelum.vraptor.converter.PrimitiveDoubleConverter, to see if it is a component candidate
08:18:07,875 INFO  [STDOUT] 08:18:07,875 DEBUG [StereotypedBeansRegistrar] scanning bean with type: class br.com.caelum.vraptor.converter.PrimitiveFloatConverter, to see if it is a component candidate
08:18:07,875 INFO  [STDOUT] 08:18:07,875 DEBUG [StereotypedBeansRegistrar] scanning bean with type: class br.com.caelum.vraptor.converter.PrimitiveIntConverter, to see if it is a component candidate
08:18:07,878 INFO  [STDOUT] 08:18:07,878 DEBUG [StereotypedBeansRegistrar] scanning bean with type: class br.com.caelum.vraptor.converter.PrimitiveLongConverter, to see if it is a component candidate
08:18:07,878 INFO  [STDOUT] 08:18:07,878 DEBUG [StereotypedBeansRegistrar] scanning bean with type: class br.com.caelum.vraptor.converter.PrimitiveShortConverter, to see if it is a component candidate
08:18:07,878 INFO  [STDOUT] 08:18:07,878 DEBUG [StereotypedBeansRegistrar] scanning bean with type: class br.com.caelum.vraptor.converter.ShortConverter, to see if it is a component candidate
08:18:07,878 INFO  [STDOUT] 08:18:07,878 DEBUG [StereotypedBeansRegistrar] scanning bean with type: class br.com.caelum.vraptor.interceptor.multipart.UploadedFileConverter, to see if it is a component candidate
08:18:07,878 INFO  [STDOUT] 08:18:07,878 DEBUG [StereotypedBeansRegistrar] scanning bean with type: class br.com.caelum.vraptor.core.RequestInfo, to see if it is a component candidate
08:18:07,878 INFO  [STDOUT] 08:18:07,878 DEBUG [StereotypedBeansRegistrar] scanning bean with type: interface br.com.caelum.vraptor.http.MutableRequest, to see if it is a component candidate
08:18:07,879 INFO  [STDOUT] 08:18:07,879 DEBUG [StereotypedBeansRegistrar] scanning bean with type: interface javax.servlet.http.HttpServletResponse, to see if it is a component candidate
08:18:07,879 INFO  [STDOUT] 08:18:07,879 DEBUG [StereotypedBeansRegistrar] scanning bean with type: interface javax.servlet.http.HttpSession, to see if it is a component candidate
08:18:07,879 INFO  [STDOUT] 08:18:07,879 DEBUG [StereotypedBeansRegistrar] scanning bean with type: class br.com.caelum.vraptor.converter.jodatime.LocalDateConverter, to see if it is a component candidate
08:18:07,879 INFO  [STDOUT] 08:18:07,879 DEBUG [StereotypedBeansRegistrar] scanning bean with type: class br.com.caelum.vraptor.converter.jodatime.LocalTimeConverter, to see if it is a component candidate
08:18:07,879 INFO  [STDOUT] 08:18:07,879 DEBUG [StereotypedBeansRegistrar] scanning bean with type: class br.com.caelum.vraptor.util.hibernate.SessionCreator, to see if it is a component candidate
08:18:07,879 INFO  [STDOUT] 08:18:07,879 DEBUG [StereotypedBeansRegistrar] scanning bean with type: class br.com.caelum.vraptor.util.hibernate.SessionFactoryCreator, to see if it is a component candidate
08:18:07,879 INFO  [STDOUT] 08:18:07,879 DEBUG [StereotypedBeansRegistrar] scanning bean with type: class br.com.caelum.vraptor.util.hibernate.HibernateTransactionInterceptor, to see if it is a component candidate
08:18:07,879 INFO  [STDOUT] 08:18:07,879 DEBUG [InterceptorStereotypeHandler] Found interceptor for class br.com.caelum.vraptor.util.hibernate.HibernateTransactionInterceptor
08:18:07,880 INFO  [STDOUT] 08:18:07,880 DEBUG [StereotypedBeansRegistrar] scanning bean with type: class org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor, to see if it is a component candidate
08:18:07,880 INFO  [STDOUT] 08:18:07,880 DEBUG [StereotypedBeansRegistrar] scanning bean with type: class org.springframework.context.annotation.CommonAnnotationBeanPostProcessor, to see if it is a component candidate
08:18:07,880 INFO  [STDOUT] 08:18:07,880 DEBUG [StereotypedBeansRegistrar] scanning bean with type: class br.com.caelum.vraptor.ioc.spring.InjectionBeanPostProcessor, to see if it is a component candidate
08:18:07,880 INFO  [STDOUT] 08:18:07,880 DEBUG [StereotypedBeansRegistrar] scanning bean with type: class org.springframework.beans.factory.annotation.RequiredAnnotationBeanPostProcessor, to see if it is a component candidate
08:18:07,880 INFO  [STDOUT] 08:18:07,880 DEBUG [StereotypedBeansRegistrar] scanning bean with type: class org.springframework.aop.aspectj.annotation.AnnotationAwareAspectJAutoProxyCreator, to see if it is a component candidate
08:18:07,880 INFO  [STDOUT] 08:18:07,880 DEBUG [StereotypedBeansRegistrar] scanning bean with type: class br.com.caelum.vraptor.reflection.CacheBasedTypeCreator, to see if it is a component candidate
08:18:07,881 INFO  [STDOUT] 08:18:07,881 DEBUG [VRaptorApplicationContext] Publishing event in context [br.com.caelum.vraptor.ioc.spring.VRaptorApplicationContext@1b33302]: org.springframework.context.event.ContextStartedEvent[source=br.com.caelum.vraptor.ioc.spring.VRaptorApplicationContext@1b33302: display name [Root WebApplicationContext]; startup date [Thu Nov 05 08:18:07 BRST 2009]; root of context hierarchy]
08:18:07,908 INFO  [STDOUT] 08:18:07,908  INFO [VRaptor             ] VRaptor 3 successfuly initialized
08:18:07,968 INFO  [TomcatDeployment] deploy, ctxPath=/jmx-console
08:18:08,405 INFO  [DefaultEndpointRegistry] register: jboss.ws:context=ws,endpoint=Cadastro
08:18:08,462 INFO  [TomcatDeployment] deploy, ctxPath=/ws
08:18:09,640 INFO  [WSDLFilePublisher] WSDL published to: file:/home/alex/Software/jboss-5.1.0.GA/server/default/data/wsdl/ws.war/DefaultCadastroWsService3069469552364367875.wsdl
08:18:09,781 INFO  [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8081
08:18:09,889 INFO  [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
08:18:09,898 INFO  [ServerImpl] JBoss (Microcontainer) [5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221634)] Started in 52s:321ms
alexandreaw

no tomcat ele ja cacha as routes

08:21:42,013 DEBUG [ResourceRegistrar   ] Found resource: class br.srv.silt.comandafacil.controller.HomeController
08:21:42,026 DEBUG [DefaultParametersControl] For / retrieved / with {}
08:21:42,027  INFO [RouteBuilder        ] / --> public void br.srv.silt.comandafacil.controller.HomeController.index()
08:21:42,034 DEBUG [ParanamerNameProvider] Found parameter names with paranamer for public void br.srv.silt.comandafacil.controller.HomeController.login(java.lang.String,java.lang.String) as [login, password]
08:21:42,034 DEBUG [DefaultParametersControl] For /home/login retrieved /home/login with {}
08:21:42,034  INFO [RouteBuilder        ] /home/login --> public void br.srv.silt.comandafacil.controller.HomeController.login(java.lang.String,java.lang.String)
08:21:42,035 DEBUG [DefaultParametersControl] For /home/logout retrieved /home/logout with {}
08:21:42,035  INFO [RouteBuilder        ] /home/logout --> public void br.srv.silt.comandafacil.controller.HomeController.logout()
08:21:42,035 DEBUG [StereotypedBeansRegistrar] scanning bean with type: class br.srv.silt.comandafacil.controller.ComandaController, to see if it is a component candidate
08:21:42,035 DEBUG [ResourceRegistrar   ] Found resource: class br.srv.silt.comandafacil.controller.ComandaController
08:21:42,038 DEBUG [DefaultParametersControl] For /comanda/produtos retrieved /comanda/produtos with {}
08:21:42,038  INFO [RouteBuilder        ] /comanda/produtos --> public void br.srv.silt.comandafacil.controller.ComandaController.produtos()
08:21:42,039 DEBUG [ParanamerNameProvider] Found parameter names with paranamer for public void br.srv.silt.comandafacil.controller.ComandaController.addPedido(br.srv.silt.comandafacil.model.Comanda) as [comanda]
08:21:42,039 DEBUG [DefaultParametersControl] For /comanda/pedido retrieved /comanda/pedido with {}
08:21:42,039  INFO [RouteBuilder        ] /comanda/pedido --> public void br.srv.silt.comandafacil.controller.ComandaController.addPedido(br.srv.silt.comandafacil.model.Comanda)
08:21:42,039 DEBUG [StereotypedBeansRegistrar] scanning bean with type: class br.srv.silt.comandafacil.controller.UsersController, to see if it is a component candidate
08:21:42,039 DEBUG [ResourceRegistrar   ] Found resource: class br.srv.silt.comandafacil.controller.UsersController
08:21:42,041 DEBUG [ParanamerNameProvider] Found parameter names with paranamer for public void br.srv.silt.comandafacil.controller.UsersController.add(br.srv.silt.comandafacil.model.User) as [user]
08:21:42,042 DEBUG [DefaultParametersControl] For /users retrieved /users with {}
08:21:42,042  INFO [RouteBuilder        ] /users --> public void br.srv.silt.comandafacil.controller.UsersController.add(br.srv.silt.comandafacil.model.User)
08:21:42,042 DEBUG [DefaultParametersControl] For /users retrieved /users with {}
08:21:42,042  INFO [RouteBuilder        ] /users --> public void br.srv.silt.comandafacil.controller.UsersController.list()
08:21:42,046 DEBUG [DefaultParametersControl] For /home retrieved /home with {}
08:21:42,047  INFO [RouteBuilder        ] /home --> public void br.srv.silt.comandafacil.controller.UsersController.home()
08:21:42,047 DEBUG [ParanamerNameProvider] Found parameter names with paranamer for public void br.srv.silt.comandafacil.controller.UsersController.view(br.srv.silt.comandafacil.model.User) as [user]
08:21:42,079 DEBUG [DefaultParametersControl] For /users/{user.login} retrieved /users/([^/]+) with {user.login=[^/]+}
08:21:42,079  INFO [RouteBuilder        ] /users/{user.login} --> public void br.srv.silt.comandafacil.controller.UsersController.view(br.srv.silt.comandafacil.model.User)
08:21:42,079 DEBUG [ParanamerNameProvider] Found parameter names with paranamer for public void br.srv.silt.comandafacil.controller.UsersController.userAdded(br.srv.silt.comandafacil.model.User) as [user]
08:21:42,080 DEBUG [DefaultParametersControl] For /userAdded retrieved /userAdded with {}
08:21:42,080  INFO [RouteBuilder        ] /userAdded --> public void br.srv.silt.comandafacil.controller.UsersController.userAdded(br.srv.silt.comandafacil.model.User)
08:21:42,080 DEBUG [StereotypedBeansRegistrar] scanning bean with type: class br.srv.silt.comandafacil.model.User, to see if it is a component candidate
Paulo_Silveira

oi parece mesmo ser um bug. ja cadastramos a issue e vamos dar prioridade a isso!

G

O curto teste que fiz com o jboss notei que ele já usa uma série de libs que o vraptor usa. Será que ele não está carregando alguma versão diferente da lib omitindo a versão da aplicação?

Um exemplo é o slf4j, que o jboss já possui, sendo necessário fazer uma volta para usar o repository selectors.

Lucas_Cavalcanti

Olá, desculpe a demora…

isso é um bug do spring, que não consegue escanear o classpath dentro do jboss…

isso foi corrigido na versão 3.0.0 RC1 do spring, que está disponível para download em:

então, para rodar corretamente o vraptor no jboss você precisa apagar o jar spring-2.5.5.jar do WEB-INF/lib da sua aplicação,
e colocar os jars baixados no link acima

[]'s

peerless

lucascs:
Olá, desculpe a demora…

isso é um bug do spring, que não consegue escanear o classpath dentro do jboss…

isso foi corrigido na versão 3.0.0 RC1 do spring, que está disponível para download em:

então, para rodar corretamente o vraptor no jboss você precisa apagar o jar spring-2.5.5.jar do WEB-INF/lib da sua aplicação,
e colocar os jars baixados no link acima

[]'s

Lucas, se tu tiver, teria como falar qual open issue do Spring está vinculada a este bug por favor?

Obrigado!

Lucas_Cavalcanti

Ops, esqueci de postar :stuck_out_tongue:

https://jira.jboss.org/jira/browse/SNOWDROP-4

http://jira.springframework.org/browse/SPR-5120

[]'s

peerless

lucascs:
Ops, esqueci de postar :stuck_out_tongue:

https://jira.jboss.org/jira/browse/SNOWDROP-4

http://jira.springframework.org/browse/SPR-5120

[]'s

Valeu :wink:

Criado 4 de novembro de 2009
Ultima resposta 11 de nov. de 2009
Respostas 11
Participantes 5