0 Replies Latest reply on Mar 6, 2014 2:54 AM by Alba Garcia

    Guvnor 5.5 + Oracle 10g XE + apache-tomcat-6.0.39

    Alba Garcia Newbie

      Hello,

      I'm trying to install guvnor for tomcat to place all its content in my Oracle database.

       

      I've placed the repository.xml file generated through guvnor in %CATALINA_HOME%.

       

      But when I start the tomcat server I see this on the log:

       

      INFO  06-03 08:26:59,538 (DemoAuthenticator.java:authenticate:65) Demo login for user (admin) succeeded.
      INFO  06-03 08:27:00,125 (RulesRepositoryConfigurator.java:getInstance:46) Creating an instance of the RulesRepositoryConfigurator.

      06-mar-2014 8:27:00 org.apache.catalina.core.ApplicationContext log

      GRAVE: Exception while dispatching incoming RPC call

      com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract org.drools.guvnor.client.rpc.Module[] org.drools.guvnor.client.rpc.ModuleService.listModules()' threw an unexpected exception: org.jboss.weld.exceptions.WeldException: WELD-000049 Unable to invoke [method] @PostConstruct public org.drools.guvnor.server.repository.RepositoryStartupService.create() on org.drools.guvnor.server.repository.ProductionRepositoryStartupService@302720f6

      at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:385)
      at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:588)
      at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:208)
      at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:248)
      at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:643)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
      at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:879)
      at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:617)
      at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1774)
      at java.lang.Thread.run(Thread.java:662)

      Caused by: org.jboss.weld.exceptions.WeldException: WELD-000049 Unable to invoke [method] @PostConstruct public org.drools.guvnor.server.repository.RepositoryStartupService.create() on org.drools.guvnor.server.repository.ProductionRepositoryStartupService@302720f6

      at org.jboss.weld.bean.AbstractClassBean.defaultPostConstruct(AbstractClassBean.java:400)
      at org.jboss.weld.bean.ManagedBean$ManagedBeanInjectionTarget.postConstruct(ManagedBean.java:174)
      at org.jboss.weld.bean.ManagedBean.create(ManagedBean.java:294)
      at org.jboss.weld.context.AbstractContext.get(AbstractContext.java:107)
      at org.jboss.weld.bean.proxy.ContextBeanInstance.getInstance(ContextBeanInstance.java:90)
      at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:79)
      at org.drools.guvnor.server.repository.ProductionRepositoryStartupService$Proxy$_$$_WeldClientProxy.newSession(ProductionRepositoryStartupService$Proxy$_$$_WeldClientProxy.java)
      at org.drools.guvnor.server.repository.RulesRepositoryManager.getRulesRepository(RulesRepositoryManager.java:78)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:267)
      at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:52)
      at org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:137)
      at org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:263)
      at org.jboss.weld.introspector.jlr.WeldMethodImpl.invokeOnInstance(WeldMethodImpl.java:170)
      at org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstance(MethodInjectionPoint.java:137)
      at org.jboss.weld.bean.ProducerMethod$ProducerMethodProducer.produce(ProducerMethod.java:136)
      at org.jboss.weld.bean.AbstractProducerBean$AbstractProducer.produce(AbstractProducerBean.java:319)
      at org.jboss.weld.bean.AbstractProducerBean.create(AbstractProducerBean.java:307)
      at org.jboss.weld.context.AbstractContext.get(AbstractContext.java:107)
      at org.jboss.weld.bean.proxy.ContextBeanInstance.getInstance(ContextBeanInstance.java:90)
      at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:79)
      at org.drools.repository.RulesRepository$Proxy$_$$_WeldClientProxy.listModules(RulesRepository$Proxy$_$$_WeldClientProxy.java)
      at org.drools.guvnor.server.RepositoryModuleOperations.listModules(RepositoryModuleOperations.java:102)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanInstance.java:44)
      at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:105)
      at org.drools.guvnor.server.RepositoryModuleOperations$Proxy$_$$_WeldClientProxy.listModules(RepositoryModuleOperations$Proxy$_$$_WeldClientProxy.java)
      at org.drools.guvnor.server.RepositoryModuleService.listModules(RepositoryModuleService.java:109)
      at org.drools.guvnor.server.RepositoryModuleService.listModules(RepositoryModuleService.java:102)
      at org.drools.guvnor.server.RepositoryModuleService$Proxy$_$$_WeldClientProxy.listModules(RepositoryModuleService$Proxy$_$$_WeldClientProxy.java)
      at org.drools.guvnor.server.ModuleServiceServlet.listModules(ModuleServiceServlet.java:26)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:569)
      ... 17 more

      Caused by: java.lang.reflect.InvocationTargetException

      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:267)
      at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:52)
      at org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:137)
      at org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:263)
      at org.jboss.weld.introspector.jlr.WeldMethodImpl.invoke(WeldMethodImpl.java:174)
      at org.jboss.weld.bean.AbstractClassBean.defaultPostConstruct(AbstractClassBean.java:398)
      ... 58 more

      Caused by: org.drools.repository.RulesRepositoryException: javax.jcr.RepositoryException: Automatic repository configuration failed

      at org.drools.guvnor.server.repository.RepositoryStartupService.newSession(RepositoryStartupService.java:112)
      at org.drools.guvnor.server.repository.RepositoryStartupService.create(RepositoryStartupService.java:69)
      ... 68 more

      Caused by: javax.jcr.RepositoryException: Automatic repository configuration failed

      at org.apache.jackrabbit.core.TransientRepository$2.getRepository(TransientRepository.java:235)
      at org.apache.jackrabbit.core.TransientRepository.startRepository(TransientRepository.java:280)
      at org.apache.jackrabbit.core.TransientRepository.login(TransientRepository.java:376)
      at org.apache.jackrabbit.commons.AbstractRepository.login(AbstractRepository.java:123)
      at org.drools.repository.JCRRepositoryConfigurator.login(JCRRepositoryConfigurator.java:95)
      at org.drools.repository.RulesRepositoryConfigurator.login(RulesRepositoryConfigurator.java:95)
      at org.drools.guvnor.server.repository.RepositoryStartupService.newSession(RepositoryStartupService.java:108)
      ... 69 more

      Caused by: java.io.FileNotFoundException: repository.xml (Acceso denegado)

      at java.io.FileOutputStream.open(Native Method)
      at java.io.FileOutputStream.<init>(FileOutputStream.java:194)
      at java.io.FileOutputStream.<init>(FileOutputStream.java:145)
      at org.apache.jackrabbit.core.config.RepositoryConfig.installRepositorySkeleton(RepositoryConfig.java:199)
      at org.apache.jackrabbit.core.config.RepositoryConfig.install(RepositoryConfig.java:184)
      at org.apache.jackrabbit.core.TransientRepository$2.getRepository(TransientRepository.java:232)
      ... 75 more

      06-mar-2014 8:27:00 org.apache.catalina.core.ApplicationContext log

      GRAVE: Exception while dispatching incoming RPC call

      com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract org.drools.guvnor.client.rpc.Module[] org.drools.guvnor.client.rpc.ModuleService.listModules()' threw an unexpected exception: org.jboss.weld.exceptions.WeldException: WELD-000049 Unable to invoke [method] @PostConstruct public org.drools.guvnor.server.repository.RepositoryStartupService.create() on org.drools.guvnor.server.repository.ProductionRepositoryStartupService@5d71e34

      at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:385)
      at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:588)
      at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:208)
      at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:248)
      at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:643)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
      at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:879)
      at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:617)
      at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1774)
      at java.lang.Thread.run(Thread.java:662)

      Caused by: org.jboss.weld.exceptions.WeldException: WELD-000049 Unable to invoke [method] @PostConstruct public org.drools.guvnor.server.repository.RepositoryStartupService.create() on org.drools.guvnor.server.repository.ProductionRepositoryStartupService@5d71e34

      at org.jboss.weld.bean.AbstractClassBean.defaultPostConstruct(AbstractClassBean.java:400)
      at org.jboss.weld.bean.ManagedBean$ManagedBeanInjectionTarget.postConstruct(ManagedBean.java:174)
      at org.jboss.weld.bean.ManagedBean.create(ManagedBean.java:294)
      at org.jboss.weld.context.AbstractContext.get(AbstractContext.java:107)
      at org.jboss.weld.bean.proxy.ContextBeanInstance.getInstance(ContextBeanInstance.java:90)
      at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:79)
      at org.drools.guvnor.server.repository.ProductionRepositoryStartupService$Proxy$_$$_WeldClientProxy.newSession(ProductionRepositoryStartupService$Proxy$_$$_WeldClientProxy.java)
      at org.drools.guvnor.server.repository.RulesRepositoryManager.getRulesRepository(RulesRepositoryManager.java:78)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:267)
      at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:52)
      at org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:137)
      at org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:263)
      at org.jboss.weld.introspector.jlr.WeldMethodImpl.invokeOnInstance(WeldMethodImpl.java:170)
      at org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstance(MethodInjectionPoint.java:137)
      at org.jboss.weld.bean.ProducerMethod$ProducerMethodProducer.produce(ProducerMethod.java:136)
      at org.jboss.weld.bean.AbstractProducerBean$AbstractProducer.produce(AbstractProducerBean.java:319)
      at org.jboss.weld.bean.AbstractProducerBean.create(AbstractProducerBean.java:307)
      at org.jboss.weld.context.AbstractContext.get(AbstractContext.java:107)
      at org.jboss.weld.bean.proxy.ContextBeanInstance.getInstance(ContextBeanInstance.java:90)
      at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:79)
      at org.drools.repository.RulesRepository$Proxy$_$$_WeldClientProxy.listModules(RulesRepository$Proxy$_$$_WeldClientProxy.java)
      at org.drools.guvnor.server.RepositoryModuleOperations.listModules(RepositoryModuleOperations.java:102)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanInstance.java:44)
      at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:105)
      at org.drools.guvnor.server.RepositoryModuleOperations$Proxy$_$$_WeldClientProxy.listModules(RepositoryModuleOperations$Proxy$_$$_WeldClientProxy.java)
      at org.drools.guvnor.server.RepositoryModuleService.listModules(RepositoryModuleService.java:109)
      at org.drools.guvnor.server.RepositoryModuleService.listModules(RepositoryModuleService.java:102)
      at org.drools.guvnor.server.RepositoryModuleService$Proxy$_$$_WeldClientProxy.listModules(RepositoryModuleService$Proxy$_$$_WeldClientProxy.java)
      at org.drools.guvnor.server.ModuleServiceServlet.listModules(ModuleServiceServlet.java:26)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:569)
      ... 17 more

      Caused by: java.lang.reflect.InvocationTargetException

      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:267)
      at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:52)
      at org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:137)
      at org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:263)
      at org.jboss.weld.introspector.jlr.WeldMethodImpl.invoke(WeldMethodImpl.java:174)
      at org.jboss.weld.bean.AbstractClassBean.defaultPostConstruct(AbstractClassBean.java:398)
      ... 58 more

      Caused by: org.drools.repository.RulesRepositoryException: javax.jcr.RepositoryException: Automatic repository configuration failed

      at org.drools.guvnor.server.repository.RepositoryStartupService.newSession(RepositoryStartupService.java:112)
      at org.drools.guvnor.server.repository.RepositoryStartupService.create(RepositoryStartupService.java:69)
      ... 68 more

      Caused by: javax.jcr.RepositoryException: Automatic repository configuration failed

      at org.apache.jackrabbit.core.TransientRepository$2.getRepository(TransientRepository.java:235)
      at org.apache.jackrabbit.core.TransientRepository.startRepository(TransientRepository.java:280)
      at org.apache.jackrabbit.core.TransientRepository.login(TransientRepository.java:376)
      at org.apache.jackrabbit.commons.AbstractRepository.login(AbstractRepository.java:123)
      at org.drools.repository.JCRRepositoryConfigurator.login(JCRRepositoryConfigurator.java:95)
      at org.drools.repository.RulesRepositoryConfigurator.login(RulesRepositoryConfigurator.java:95)
      at org.drools.guvnor.server.repository.RepositoryStartupService.newSession(RepositoryStartupService.java:108)
      ... 69 more

      Caused by: java.io.FileNotFoundException: repository.xml (Acceso denegado)

      at java.io.FileOutputStream.open(Native Method)
      at java.io.FileOutputStream.<init>(FileOutputStream.java:194)
      at java.io.FileOutputStream.<init>(FileOutputStream.java:145)
      at org.apache.jackrabbit.core.config.RepositoryConfig.installRepositorySkeleton(RepositoryConfig.java:199)
      at org.apache.jackrabbit.core.config.RepositoryConfig.install(RepositoryConfig.java:184)
      at org.apache.jackrabbit.core.TransientRepository$2.getRepository(TransientRepository.java:232)
      ... 75 more

      06-mar-2014 8:27:00 org.apache.catalina.core.ApplicationContext log

      GRAVE: Exception while dispatching incoming RPC call

      com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract org.drools.guvnor.client.rpc.Module org.drools.guvnor.client.rpc.ModuleService.loadGlobalModule()' threw an unexpected exception: org.jboss.weld.exceptions.WeldException: WELD-000049 Unable to invoke [method] @PostConstruct public org.drools.guvnor.server.repository.RepositoryStartupService.create() on org.drools.guvnor.server.repository.ProductionRepositoryStartupService@71f250e8

      at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:385)
      at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:588)
      at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:208)
      at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:248)
      at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:643)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
      at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:879)
      at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:617)
      at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1774)
      at java.lang.Thread.run(Thread.java:662)

      Caused by: org.jboss.weld.exceptions.WeldException: WELD-000049 Unable to invoke [method] @PostConstruct public org.drools.guvnor.server.repository.RepositoryStartupService.create() on org.drools.guvnor.server.repository.ProductionRepositoryStartupService@71f250e8

      at org.jboss.weld.bean.AbstractClassBean.defaultPostConstruct(AbstractClassBean.java:400)
      at org.jboss.weld.bean.ManagedBean$ManagedBeanInjectionTarget.postConstruct(ManagedBean.java:174)
      at org.jboss.weld.bean.ManagedBean.create(ManagedBean.java:294)
      at org.jboss.weld.context.AbstractContext.get(AbstractContext.java:107)
      at org.jboss.weld.bean.proxy.ContextBeanInstance.getInstance(ContextBeanInstance.java:90)
      at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:79)
      at org.drools.guvnor.server.repository.ProductionRepositoryStartupService$Proxy$_$$_WeldClientProxy.newSession(ProductionRepositoryStartupService$Proxy$_$$_WeldClientProxy.java)
      at org.drools.guvnor.server.repository.RulesRepositoryManager.getRulesRepository(RulesRepositoryManager.java:78)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:267)
      at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:52)
      at org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:137)
      at org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:263)
      at org.jboss.weld.introspector.jlr.WeldMethodImpl.invokeOnInstance(WeldMethodImpl.java:170)
      at org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstance(MethodInjectionPoint.java:137)
      at org.jboss.weld.bean.ProducerMethod$ProducerMethodProducer.produce(ProducerMethod.java:136)
      at org.jboss.weld.bean.AbstractProducerBean$AbstractProducer.produce(AbstractProducerBean.java:319)
      at org.jboss.weld.bean.AbstractProducerBean.create(AbstractProducerBean.java:307)
      at org.jboss.weld.context.AbstractContext.get(AbstractContext.java:107)
      at org.jboss.weld.bean.proxy.ContextBeanInstance.getInstance(ContextBeanInstance.java:90)
      at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:79)
      at org.drools.repository.RulesRepository$Proxy$_$$_WeldClientProxy.loadGlobalArea(RulesRepository$Proxy$_$$_WeldClientProxy.java)
      at org.drools.guvnor.server.RepositoryModuleOperations.loadGlobalModule(RepositoryModuleOperations.java:197)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanInstance.java:44)
      at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:105)
      at org.drools.guvnor.server.RepositoryModuleOperations$Proxy$_$$_WeldClientProxy.loadGlobalModule(RepositoryModuleOperations$Proxy$_$$_WeldClientProxy.java)
      at org.drools.guvnor.server.RepositoryModuleService.loadGlobalModule(RepositoryModuleService.java:130)
      at org.drools.guvnor.server.RepositoryModuleService$Proxy$_$$_WeldClientProxy.loadGlobalModule(RepositoryModuleService$Proxy$_$$_WeldClientProxy.java)
      at org.drools.guvnor.server.ModuleServiceServlet.loadGlobalModule(ModuleServiceServlet.java:36)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:569)
      ... 17 more

      Caused by: java.lang.reflect.InvocationTargetException

      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:267)
      at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:52)
      at org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:137)
      at org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:263)
      at org.jboss.weld.introspector.jlr.WeldMethodImpl.invoke(WeldMethodImpl.java:174)
      at org.jboss.weld.bean.AbstractClassBean.defaultPostConstruct(AbstractClassBean.java:398)
      ... 57 more

      Caused by: org.drools.repository.RulesRepositoryException: javax.jcr.RepositoryException: Automatic repository configuration failed

      at org.drools.guvnor.server.repository.RepositoryStartupService.newSession(RepositoryStartupService.java:112)
      at org.drools.guvnor.server.repository.RepositoryStartupService.create(RepositoryStartupService.java:69)
      ... 67 more

      Caused by: javax.jcr.RepositoryException: Automatic repository configuration failed

      at org.apache.jackrabbit.core.TransientRepository$2.getRepository(TransientRepository.java:235)
      at org.apache.jackrabbit.core.TransientRepository.startRepository(TransientRepository.java:280)
      at org.apache.jackrabbit.core.TransientRepository.login(TransientRepository.java:376)
      at org.apache.jackrabbit.commons.AbstractRepository.login(AbstractRepository.java:123)
      at org.drools.repository.JCRRepositoryConfigurator.login(JCRRepositoryConfigurator.java:95)
      at org.drools.repository.RulesRepositoryConfigurator.login(RulesRepositoryConfigurator.java:95)
      at org.drools.guvnor.server.repository.RepositoryStartupService.newSession(RepositoryStartupService.java:108)
      ... 68 more

      Caused by: java.io.FileNotFoundException: repository.xml (Acceso denegado)

      at java.io.FileOutputStream.open(Native Method)
      at java.io.FileOutputStream.<init>(FileOutputStream.java:194)
      at java.io.FileOutputStream.<init>(FileOutputStream.java:145)
      at org.apache.jackrabbit.core.config.RepositoryConfig.installRepositorySkeleton(RepositoryConfig.java:199)
      at org.apache.jackrabbit.core.config.RepositoryConfig.install(RepositoryConfig.java:184)
      at org.apache.jackrabbit.core.TransientRepository$2.getRepository(TransientRepository.java:232)
      ... 74 more

       

       

      I've also placed the ojdbc14.jar in the %CATALINA_HOME%\webapps\guvnor\WEB-INF\lib

       

      I attach my repository.xml file so that somebody can help me.

       

      Thanks.