Esse entityManagerCreator é gerenciado pelo VRaptor apenas utilizando a configuração abaixo no web.xml ?
<context-param>
<param-name>br.com.caelum.vraptor.provider</param-name>
<param-value>br.com.caelum.vraptor.util.jpa.JPACustomProvider</param-value>
</context-param>
No log do JBoss não deu nenhum erro não, esse erro ocorre qdo a aplicação tenta acessar o ProdutoDao.
15:36:46,348 INFO [org.jboss.modules] JBoss Modules version 1.1.1.GA
15:36:46,544 INFO [org.jboss.msc] JBoss MSC version 1.0.2.GA
15:36:46,585 INFO [org.jboss.as] JBAS015899: JBoss AS 7.1.1.Final "Brontes" starting
15:36:47,351 INFO [org.xnio] XNIO Version 3.0.3.GA
15:36:47,351 INFO [org.jboss.as.server] JBAS015888: Creating http management service using socket-binding (management-http)
15:36:47,361 INFO [org.xnio.nio] XNIO NIO Implementation Version 3.0.3.GA
15:36:47,369 INFO [org.jboss.remoting] JBoss Remoting version 3.2.3.GA
15:36:47,382 INFO [org.jboss.as.logging] JBAS011502: Removing bootstrap log handlers
15:36:47,385 INFO [org.jboss.as.configadmin] (ServerService Thread Pool -- 26) JBAS016200: Activating ConfigAdmin Subsystem
15:36:47,391 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 31) JBAS010280: Activating Infinispan subsystem.
15:36:47,402 INFO [org.jboss.as.naming] (ServerService Thread Pool -- 38) JBAS011800: Activating Naming Subsystem
15:36:47,407 INFO [org.jboss.as.osgi] (ServerService Thread Pool -- 39) JBAS011940: Activating OSGi Subsystem
15:36:47,420 INFO [org.jboss.as.security] (ServerService Thread Pool -- 44) JBAS013101: Activating Security Subsystem
15:36:47,441 INFO [org.jboss.as.security] (MSC service thread 1-6) JBAS013100: Current PicketBox version=4.0.7.Final
15:36:47,444 INFO [org.jboss.as.webservices] (ServerService Thread Pool -- 48) JBAS015537: Activating WebServices Extension
15:36:47,454 INFO [org.jboss.as.connector] (MSC service thread 1-8) JBAS010408: Starting JCA Subsystem (JBoss IronJacamar 1.0.9.Final)
15:36:47,520 INFO [org.jboss.as.naming] (MSC service thread 1-8) JBAS011802: Starting Naming Service
15:36:47,531 INFO [org.jboss.as.mail.extension] (MSC service thread 1-2) JBAS015400: Bound mail session [java:jboss/mail/Default]
15:36:47,623 INFO [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 27) JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)
15:36:47,637 INFO [org.jboss.ws.common.management.AbstractServerConfig] (MSC service thread 1-1) JBoss Web Services - Stack CXF Server 4.0.2.GA
15:36:47,650 INFO [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 27) JBAS010404: Deploying non-JDBC-compliant driver class com.mysql.jdbc.Driver (version 5.1)
15:36:47,805 INFO [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-7) Starting Coyote HTTP/1.1 on http--192.168.0.100-8080
15:36:48,146 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-7) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS]
15:36:48,149 INFO [org.jboss.as.server.deployment.scanner] (MSC service thread 1-5) JBAS015012: Started FileSystemDeploymentService for directory /Programas/jboss-as-7.1.1.Final/standalone/deployments
15:36:48,157 WARN [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015002: Deployment of 'goodbuy.war' requested, but the deployment is not present
15:36:48,158 INFO [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015003: Found projetoweb.war in deployment directory. To trigger deployment create a file called projetoweb.war.dodeploy
15:36:48,164 INFO [org.jboss.as.remoting] (MSC service thread 1-6) JBAS017100: Listening on /192.168.0.100:4447
15:36:48,164 INFO [org.jboss.as.remoting] (MSC service thread 1-3) JBAS017100: Listening on /127.0.0.1:9999
15:36:48,166 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-1) JBAS010400: Bound data source [java:/TESTE_MYSQL]
15:36:48,274 INFO [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015876: Starting deployment of "projetoweb.war"
15:36:49,734 INFO [org.jboss.as.jpa] (MSC service thread 1-4) JBAS011401: Read persistence.xml for default
15:36:50,331 INFO [org.jboss.as.jpa] (MSC service thread 1-5) JBAS011402: Starting Persistence Unit Service 'projetoweb.war#default'
15:36:50,423 INFO [org.hibernate.annotations.common.Version] (MSC service thread 1-5) HCANN000001: Hibernate Commons Annotations {4.0.1.Final}
15:36:50,427 INFO [org.hibernate.Version] (MSC service thread 1-5) HHH000412: Hibernate Core {4.0.1.Final}
15:36:50,429 INFO [org.hibernate.cfg.Environment] (MSC service thread 1-5) HHH000206: hibernate.properties not found
15:36:50,431 INFO [org.hibernate.cfg.Environment] (MSC service thread 1-5) HHH000021: Bytecode provider name : javassist
15:36:50,452 INFO [org.hibernate.ejb.Ejb3Configuration] (MSC service thread 1-5) HHH000204: Processing PersistenceUnitInfo [
name: default
...]
15:36:50,634 INFO [org.hibernate.service.jdbc.connections.internal.ConnectionProviderInitiator] (MSC service thread 1-5) HHH000130: Instantiating explicit connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
15:36:50,679 INFO [org.hibernate.dialect.Dialect] (MSC service thread 1-5) HHH000400: Using dialect: org.hibernate.dialect.MySQL5Dialect
15:36:50,695 INFO [org.hibernate.engine.transaction.internal.TransactionFactoryInitiator] (MSC service thread 1-5) HHH000268: Transaction strategy: org.hibernate.engine.transaction.internal.jta.CMTTransactionFactory
15:36:50,699 INFO [org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory] (MSC service thread 1-5) HHH000397: Using ASTQueryTranslatorFactory
15:36:50,738 INFO [org.hibernate.validator.util.Version] (MSC service thread 1-5) Hibernate Validator 4.2.0.Final
15:36:51,068 INFO [br.com.caelum.vraptor.config.BasicConfiguration] (MSC service thread 1-5) Using class br.com.caelum.goodbuy.infra.CustomProvider as Container Provider
15:36:51,079 INFO [br.com.caelum.vraptor.ioc.spring.DefaultSpringLocator] (MSC service thread 1-5) No application context found
15:36:51,099 INFO [br.com.caelum.vraptor.scan.WebAppBootstrapFactory] (MSC service thread 1-5) No static WebAppBootstrap found.
15:36:51,100 INFO [br.com.caelum.vraptor.config.BasicConfiguration] (MSC service thread 1-5) br.com.caelum.vraptor.scanning = null
15:36:51,258 INFO [org.springframework.web.context.support.AnnotationConfigWebApplicationContext] (MSC service thread 1-5) Refreshing Root WebApplicationContext: startup date [Sun Dec 02 15:36:51 BRST 2012]; root of context hierarchy
15:36:51,286 INFO [org.springframework.context.annotation.ClassPathBeanDefinitionScanner] (MSC service thread 1-5) JSR-250 'javax.annotation.ManagedBean' found and supported for component scanning
15:36:51,290 INFO [org.springframework.context.annotation.ClassPathBeanDefinitionScanner] (MSC service thread 1-5) JSR-330 'javax.inject.Named' annotation found and supported for component scanning
15:36:51,397 INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] (MSC service thread 1-5) 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]
15:36:51,420 INFO [br.com.caelum.vraptor.ioc.spring.InjectionBeanPostProcessor] (MSC service thread 1-5) JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
15:36:51,466 INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] (MSC service thread 1-5) Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@ed5714b: defining beans [org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,defaultMethodNotAllowedHandler,defaultMultipartConfig,messageInterpolatorFactory,interceptorListPriorToExecutionExtractor,defaultDeserializers,defaultRoutes,defaultConverters,defaultTypeNameExtractor,XStreamXMLDeserializer,defaultResourceTranslator,defaultInterceptorHandlerFactory,defaultRestDefaults,noRoutesConfiguration,JSR303ValidatorFactory,paranamerNameProvider,pathAnnotationRoutesParser,hibernateProxyInitializer,encodingHandlerFactory,defaultResourceNotFoundHandler,defaultRouter,topologicalSortedInterceptorRegistry,objenesisProxifier,validatorFactoryCreator,defaultTypeFinder,defaultAcceptHeaderToFormat,stereotypeHandler,converterHandler,interceptorStereotypeHandler,deserializesHandler,stereotypedBeansRegistrar,defaultSpringLocator,emptyElementsRemoval,defaultValidationViewsFactory,exceptionHandlerInterceptor,defaultExceptionMapper,defaultValidator,JSR303Validator,applicationConfiguration,forwardToDefaultViewInterceptor,defaultServletFileUploadCreator,defaultRefererResult,XStreamJSONSerialization,defaultRepresentationResult,HTMLSerialization,defaultStatus,resourceLookupInterceptor,defaultLogicResult,jstlLocalization,executeMethodInterceptor,flashInterceptor,defaultHttpResult,defaultResult,instantiateInterceptor,ognlParametersProvider,defaultPageResult,emptyResult,replicatorOutjector,outjectResult,defaultRestHeadersHandler,defaultPathResolver,defaultMethodInfo,parametersInstantiatorInterceptor,XStreamJSONPSerialization,XStreamXMLSerialization,deserializingInterceptor,jsonDeserializer,defaultFormatResolver,commonsUploadMultipartInterceptor,downloadInterceptor,primitiveByteConverter,enumConverter,stringConverter,booleanConverter,primitiveCharConverter,longConverter,localeBasedDateConverter,primitiveShortConverter,uploadedFileConverter,characterConverter,bigIntegerConverter,localeBasedCalendarConverter,doubleConverter,floatConverter,primitiveIntConverter,primitiveBooleanConverter,byteConverter,shortConverter,integerConverter,primitiveDoubleConverter,primitiveLongConverter,primitiveFloatConverter,bigDecimalConverter,VRaptorRequestProvider,httpServletRequestProvider,httpServletResponseProvider,httpSessionProvider,defaultInterceptorStack,enhancedRequestExecution,org.springframework.aop.config.internalAutoProxyCreator,produtosController,usuariosController,usuarioWeb,autenticacaoInterceptor,entityManagerCreator,mundo,carrinho,produtoDao,JPATransactionInterceptor,carrinhoController,usuarioDao,entityManagerFactoryCreator]; root of factory hierarchy
15:36:51,639 INFO [org.hibernate.dialect.Dialect] (MSC service thread 1-5) HHH000400: Using dialect: org.hibernate.dialect.MySQL5Dialect
15:36:51,641 INFO [org.hibernate.engine.transaction.internal.TransactionFactoryInitiator] (MSC service thread 1-5) HHH000268: Transaction strategy: org.hibernate.engine.transaction.internal.jta.CMTTransactionFactory
15:36:51,643 INFO [org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory] (MSC service thread 1-5) HHH000397: Using ASTQueryTranslatorFactory
15:36:51,690 INFO [br.com.caelum.vraptor.core.DefaultConverters] (MSC service thread 1-5) Registering bundled converters
15:36:51,753 INFO [br.com.caelum.vraptor.http.route.DefaultRouteBuilder] (MSC service thread 1-5) /produtos/{id} [DELETE] -> ProdutosController.remove(Long)
15:36:51,755 INFO [br.com.caelum.vraptor.http.route.DefaultRouteBuilder] (MSC service thread 1-5) /produtos [POST] -> ProdutosController.adiciona(Produto)
15:36:51,757 INFO [br.com.caelum.vraptor.http.route.DefaultRouteBuilder] (MSC service thread 1-5) /produtos/busca [GET] -> ProdutosController.busca(String)
15:36:51,758 INFO [br.com.caelum.vraptor.http.route.DefaultRouteBuilder] (MSC service thread 1-5) /produtos [GET] -> ProdutosController.lista()
15:36:51,759 INFO [br.com.caelum.vraptor.http.route.DefaultRouteBuilder] (MSC service thread 1-5) /produtos/novo [GET] -> ProdutosController.formulario()
15:36:51,761 INFO [br.com.caelum.vraptor.http.route.DefaultRouteBuilder] (MSC service thread 1-5) /produtos/{id} [GET] -> ProdutosController.edita(Long)
15:36:51,773 INFO [br.com.caelum.vraptor.http.route.DefaultRouteBuilder] (MSC service thread 1-5) /produtos/{produto.id} [PUT] -> ProdutosController.altera(Produto)
15:36:51,774 INFO [br.com.caelum.vraptor.http.route.DefaultRouteBuilder] (MSC service thread 1-5) /produtos/busca.json [GET] -> ProdutosController.buscaJson(String)
15:36:51,776 INFO [br.com.caelum.vraptor.http.route.DefaultRouteBuilder] (MSC service thread 1-5) /login [POST] -> UsuariosController.login(Usuario)
15:36:51,779 INFO [br.com.caelum.vraptor.http.route.DefaultRouteBuilder] (MSC service thread 1-5) /logout [ALL] -> UsuariosController.logout()
15:36:51,780 INFO [br.com.caelum.vraptor.http.route.DefaultRouteBuilder] (MSC service thread 1-5) /usuarios [POST] -> UsuariosController.adiciona(Usuario)
15:36:51,781 INFO [br.com.caelum.vraptor.http.route.DefaultRouteBuilder] (MSC service thread 1-5) /usuarios/novo [ALL] -> UsuariosController.novo()
15:36:51,782 INFO [br.com.caelum.vraptor.http.route.DefaultRouteBuilder] (MSC service thread 1-5) /login [GET] -> UsuariosController.loginForm()
15:36:51,783 INFO [br.com.caelum.vraptor.http.route.DefaultRouteBuilder] (MSC service thread 1-5) /mundo/boasVindas [ALL] -> Mundo.boasVindas()
15:36:51,784 INFO [br.com.caelum.vraptor.http.route.DefaultRouteBuilder] (MSC service thread 1-5) /mundo/paises [ALL] -> Mundo.paises()
15:36:51,786 INFO [br.com.caelum.vraptor.http.route.DefaultRouteBuilder] (MSC service thread 1-5) /carrinho/{indiceItem} [DELETE] -> CarrinhoController.remove(int)
15:36:51,788 INFO [br.com.caelum.vraptor.http.route.DefaultRouteBuilder] (MSC service thread 1-5) /carrinho [POST] -> CarrinhoController.adiciona(Item)
15:36:51,789 INFO [br.com.caelum.vraptor.http.route.DefaultRouteBuilder] (MSC service thread 1-5) /carrinho [GET] -> CarrinhoController.visualiza()
15:36:51,791 INFO [br.com.caelum.vraptor.VRaptor] (MSC service thread 1-5) VRaptor 3.3.1 successfuly initialized
15:36:51,800 INFO [org.jboss.web] (MSC service thread 1-5) JBAS018210: Registering web context: /projetoweb
15:36:51,804 INFO [org.jboss.as] (MSC service thread 1-2) JBAS015951: Admin console listening on http://127.0.0.1:9990
15:36:51,805 INFO [org.jboss.as] (MSC service thread 1-2) JBAS015874: JBoss AS 7.1.1.Final "Brontes" started in 5761ms - Started 331 of 409 services (76 services are passive or on-demand)
15:36:51,869 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS018559: Deployed "projetoweb.war"