23/10/2012 07:58:26 org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jre6\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;c:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files\Broadcom\Broadcom 802.11\Driver;C:\Program Files (x86)\MySQL\MySQL Server 5.1\bin;C:\Program Files\Java\jdk1.6.0_21\bin;C:\Program Files\Java\jre6\lib;C:\Program Files\wamp\bin\php\php5.3.10;C:\Program Files\wamp\bin\php\PhpDocumentor;C:\Program Files\wamp\www\yii\framework;C:\Program Files\TortoiseSVN\bin
23/10/2012 07:58:26 org.apache.tomcat.util.digester.SetPropertiesRule begin
AVISO: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property ‘source’ to ‘org.eclipse.jst.jee.server:FileSystem’ did not find a matching property.
23/10/2012 07:58:27 org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler [“http-bio-8080”]
23/10/2012 07:58:27 org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler [“ajp-bio-8009”]
23/10/2012 07:58:27 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1567 ms
23/10/2012 07:58:27 org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
23/10/2012 07:58:27 org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.22
07:58:31,671 INFO [BasicConfiguration ] Using class br.com.caelum.vraptor.ioc.spring.SpringProvider as Container Provider
07:58:31,722 INFO [DefaultSpringLocator] No application context found
07:58:31,854 INFO [BasicConfiguration ] br.com.caelum.vraptor.scanning = null
07:58:31,854 INFO [WebAppBootstrapFactory] Dynamic WebAppBootstrap found.
07:58:32,363 INFO [AnnotationConfigWebApplicationContext] Refreshing Root WebApplicationContext: startup date [Tue Oct 23 07:58:32 BRST 2012]; root of context hierarchy
07:58:33,159 INFO [DefaultListableBeanFactory] Overriding bean definition for bean ‘org.springframework.context.annotation.internalAutowiredAnnotationProcessor’: replacing [Root bean: class [org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null] with [Root bean: class [br.com.caelum.vraptor.ioc.spring.InjectionBeanPostProcessor]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null]
07:58:33,445 INFO [DefaultListableBeanFactory] Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@2c93c4f1: defining beans [org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,objenesisInstanceCreator,XStreamConverters.NullConverter,defaultDeserializers,defaultResourceNotFoundHandler,cglibProxifier,defaultMethodNotAllowedHandler,topologicalSortedInterceptorRegistry,paranamerNameProvider,defaultMultipartConfig,encodingHandlerFactory,javaEvaluator,defaultRoutes,hibernateProxyInitializer,defaultTypeFinder,messageInterpolatorFactory,interceptorListPriorToExecutionExtractor,JSR303ValidatorFactory,noRoutesConfiguration,defaultAcceptHeaderToFormat,defaultRestDefaults,defaultRouter,defaultResourceTranslator,defaultTypeNameExtractor,defaultInterceptorHandlerFactory,validatorFactoryCreator,defaultStaticContentHandler,pathAnnotationRoutesParser,defaultConverters,stereotypeHandler,converterHandler,interceptorStereotypeHandler,deserializesHandler,stereotypedBeansRegistrar,defaultSpringLocator,defaultValidator,XStreamJSONSerialization,defaultResult,applicationConfiguration,XStreamXMLDeserializer,XStreamConverters,downloadInterceptor,defaultRepresentationResult,forwardToDefaultViewInterceptor,sessionFlashScope,emptyResult,defaultPageResult,deserializingInterceptor,defaultFormatResolver,instantiateInterceptor,jstlLocalization,messageConverter,VRaptorInstantiator,defaultServletFileUploadCreator,XStreamJSONPSerialization,defaultRestHeadersHandler,resourceLookupInterceptor,executeMethodInterceptor,JSR303Validator,defaultStatus,XStreamXMLSerialization,replicatorOutjector,iogiParametersProvider,defaultHttpResult,HTMLSerialization,exceptionHandlerInterceptor,defaultExceptionMapper,VRaptorParameterNamesProvider,commonsUploadMultipartInterceptor,parametersInstantiatorInterceptor,defaultLogicResult,defaultMethodInfo,defaultRefererResult,outjectResult,flashInterceptor,defaultValidationViewsFactory,VRaptorDependencyProvider,defaultPathResolver,jsonDeserializer,floatConverter,enumConverter,primitiveShortConverter,primitiveByteConverter,byteConverter,booleanConverter,shortConverter,bigIntegerConverter,primitiveIntConverter,primitiveBooleanConverter,longConverter,bigDecimalConverter,localeBasedCalendarConverter,localeBasedDateConverter,primitiveLongConverter,primitiveDoubleConverter,doubleConverter,primitiveFloatConverter,characterConverter,integerConverter,uploadedFileConverter,stringConverter,primitiveCharConverter,VRaptorRequestProvider,httpServletRequestProvider,httpServletResponseProvider,httpSessionProvider,enhancedRequestExecution,XStreamBuilderImpl,defaultInterceptorStack,org.springframework.aop.config.internalAutoProxyCreator,auditoriaDao,usuarioController,usuarioDao,loginController,utilHibernate,crudController]; root of factory hierarchy
log4j:WARN No appenders could be found for logger (org.hibernate.type.BasicTypeRegistry).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
07:58:38,536 INFO [UtilHibernate ] Iniciando SessionFactory!
07:58:38,707 INFO [DefaultConverters ] Registering bundled converters
07:58:38,747 INFO [LinkToHandler ] Registering linkTo component
07:58:39,027 INFO [DefaultRouteBuilder ] /usuario/usuario [ALL] -> UsuarioController.usuario()
07:58:39,097 INFO [DefaultRouteBuilder ] /usuario/salvar [POST] -> UsuarioController.salvar(Usuario)
07:58:39,107 INFO [DefaultRouteBuilder ] / [ALL] -> LoginController.index()
07:58:39,107 INFO [DefaultRouteBuilder ] /login/login [ALL] -> LoginController.login(Usuario)
07:58:39,107 INFO [DefaultRouteBuilder ] /logoff [ALL] -> LoginController.logoff()
07:58:39,117 INFO [VRaptor ] VRaptor 3.4.1 successfuly initialized
23/10/2012 07:58:39 org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler [“http-bio-8080”]
23/10/2012 07:58:39 org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler [“ajp-bio-8009”]
23/10/2012 07:58:39 org.apache.catalina.startup.Catalina start
INFO: Server startup in 11925 ms
07:59:49,340 INFO [UsuarioController ] Request 2 null
Hibernate:
/* criteria query / select
this_.usr_id as usr1_0_0_,
this_.usr_login as usr2_0_0_,
this_.usr_nome as usr3_0_0_,
this_.usr_senha as usr4_0_0_
from
filesystem.public.usuario this_
Hibernate:
/ criteria query / select
this_.usr_id as usr1_0_0_,
this_.usr_login as usr2_0_0_,
this_.usr_nome as usr3_0_0_,
this_.usr_senha as usr4_0_0_
from
filesystem.public.usuario this_
Hibernate:
/
FROM
br.com.filesystem.entities.Usuario
where
usr_login = :usrLogin
AND usr_senha = :usrSenha */ select
usuario0_.usr_id as usr1_0_,
usuario0_.usr_login as usr2_0_,
usuario0_.usr_nome as usr3_0_,
usuario0_.usr_senha as usr4_0_
from
filesystem.public.usuario usuario0_
where
usr_login=?
and usr_senha=?
08:00:02,482 INFO [LoginController ] Usuario–>br.com.entities.Usuario[ usrId= 2, usrLogin= cleison, usrNome= cleison ferreira, usrSenha= 1 ]
08:00:02,482 INFO [LoginController ] Usuario 2–>br.com.entities.Usuario[ usrId= 2, usrLogin= cleison, usrNome= cleison ferreira, usrSenha= 1 ]
08:00:02,482 ERROR [LoginController ] Erro ao logar!
java.lang.NullPointerException
at org.apache.catalina.connector.Request.setAttribute(Request.java:1563)
at org.apache.catalina.connector.RequestFacade.setAttribute(RequestFacade.java:543)
at javax.servlet.ServletRequestWrapper.setAttribute(ServletRequestWrapper.java:239)
at br.com.filesystem.controller.LoginController.login(LoginController.java:64)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at br.com.caelum.vraptor.interceptor.ExecuteMethodInterceptor.intercept(ExecuteMethodInterceptor.java:61)
at br.com.caelum.vraptor.core.ToInstantiateInterceptorHandler.execute(ToInstantiateInterceptorHandler.java:54)
at br.com.caelum.vraptor.core.DefaultInterceptorStack.next(DefaultInterceptorStack.java:54)
at br.com.caelum.vraptor.core.LazyInterceptorHandler.execute(LazyInterceptorHandler.java:61)
at br.com.caelum.vraptor.core.DefaultInterceptorStack.next(DefaultInterceptorStack.java:54)
at br.com.caelum.vraptor.interceptor.FlashInterceptor.intercept(FlashInterceptor.java:83)
at br.com.caelum.vraptor.core.ToInstantiateInterceptorHandler.execute(ToInstantiateInterceptorHandler.java:54)
at br.com.caelum.vraptor.core.DefaultInterceptorStack.next(DefaultInterceptorStack.java:54)
at br.com.caelum.vraptor.interceptor.ExceptionHandlerInterceptor.intercept(ExceptionHandlerInterceptor.java:71)
at br.com.caelum.vraptor.core.ToInstantiateInterceptorHandler.execute(ToInstantiateInterceptorHandler.java:54)
at br.com.caelum.vraptor.core.DefaultInterceptorStack.next(DefaultInterceptorStack.java:54)
at br.com.caelum.vraptor.interceptor.InstantiateInterceptor.intercept(InstantiateInterceptor.java:48)
at br.com.caelum.vraptor.core.ToInstantiateInterceptorHandler.execute(ToInstantiateInterceptorHandler.java:54)
at br.com.caelum.vraptor.core.DefaultInterceptorStack.next(DefaultInterceptorStack.java:54)
at br.com.caelum.vraptor.interceptor.ParametersInstantiatorInterceptor.intercept(ParametersInstantiatorInterceptor.java:93)
at br.com.caelum.vraptor.core.LazyInterceptorHandler.execute(LazyInterceptorHandler.java:59)
at br.com.caelum.vraptor.core.DefaultInterceptorStack.next(DefaultInterceptorStack.java:54)
at br.com.caelum.vraptor.interceptor.ResourceLookupInterceptor.intercept(ResourceLookupInterceptor.java:69)
at br.com.caelum.vraptor.core.ToInstantiateInterceptorHandler.execute(ToInstantiateInterceptorHandler.java:54)
at br.com.caelum.vraptor.core.DefaultInterceptorStack.next(DefaultInterceptorStack.java:54)
at br.com.caelum.vraptor.core.ToInstantiateInterceptorHandler.execute(ToInstantiateInterceptorHandler.java:56)
at br.com.caelum.vraptor.core.DefaultInterceptorStack.next(DefaultInterceptorStack.java:54)
at br.com.caelum.vraptor.core.EnhancedRequestExecution.execute(EnhancedRequestExecution.java:44)
at br.com.caelum.vraptor.VRaptor$1.insideRequest(VRaptor.java:91)
at br.com.caelum.vraptor.ioc.spring.SpringProvider.provideForRequest(SpringProvider.java:58)
at br.com.caelum.vraptor.VRaptor.doFilter(VRaptor.java:88)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:405)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:964)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:515)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:304)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)