[rules-users] AUTO MIGRATION Error when creating a new rule package

Jeffrey Ricker Jeffrey.Ricker at ifs.statestreet.com
Wed Jan 25 08:46:37 EST 2012


I am deploying Guvnor 5.3.0.Final on Tomcat 7.

I get the following error when I launch a new install. Has anyone seen this before? Is there a workaround?


INFO: Deploying web application directory guvnor
INFO  24-01 12:49:07,278 (RulesRepositoryConfigurator.java:getInstance:46)       Creating an instance of the RulesReposi
toryConfigurator.
Logging in with username guvnor and password guvnor
INFO  24-01 12:49:08,418 (RulesRepositoryConfigurator.java:setupRepository:99)   Setting up the repository, registering
node types etc.
INFO  24-01 12:49:09,387 (MigrateDroolsPackage.java:migrate:42)          AUTO MIGRATION: Performing drools.package migra
tion...
ERROR 24-01 12:49:09,465 (RulesRepository.java:createPackage:870)        Error when creating a new rule package
javax.jcr.ItemNotFoundException: Cannot remove a non-existing property.
        at org.apache.jackrabbit.jcr2spi.NodeImpl.setProperty(NodeImpl.java:289)
        at org.apache.jackrabbit.jcr2spi.NodeImpl.setProperty(NodeImpl.java:317)
        at org.apache.jackrabbit.jcr2spi.NodeImpl.setProperty(NodeImpl.java:303)
        at org.drools.repository.RulesRepository.createPackage(RulesRepository.java:851)
        at org.drools.repository.RulesRepository.createPackage(RulesRepository.java:793)
        at org.drools.repository.RulesRepository.listPackages(RulesRepository.java:1371)
        at org.drools.repository.migration.MigrateDroolsPackage.migrate(MigrateDroolsPackage.java:43)
        at org.drools.repository.RulesRepository.checkForDataMigration(RulesRepository.java:148)
        at org.drools.repository.RulesRepository.<init>(RulesRepository.java:135)
        at org.drools.guvnor.server.repository.RepositoryStartupService.create(RepositoryStartupService.java:163)
        at org.drools.guvnor.server.repository.RepositoryStartupService.create(RepositoryStartupService.java:98)
        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.seam.util.Reflections.invoke(Reflections.java:22)
        at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:32)
        at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
        at org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:28)
        at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
        at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:44)
        at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
        at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
        at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:185)
        at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:103)
        at org.drools.guvnor.server.repository.RepositoryStartupService_$$_javassist_seam_2.create(RepositoryStartupServ
ice_$$_javassist_seam_2.java)
        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.seam.util.Reflections.invoke(Reflections.java:22)
        at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:144)
        at org.jboss.seam.Component.callComponentMethod(Component.java:2275)
        at org.jboss.seam.Component.callCreateMethod(Component.java:2198)
        at org.jboss.seam.Component.newInstance(Component.java:2158)
        at org.jboss.seam.contexts.Contexts.startup(Contexts.java:304)
        at org.jboss.seam.contexts.Contexts.startup(Contexts.java:278)
        at org.jboss.seam.contexts.ServletLifecycle.endInitialization(ServletLifecycle.java:143)
        at org.jboss.seam.init.Initialization.init(Initialization.java:744)
        at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:36)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4723)
        at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5226)
        at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5221)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:662)
Jan 24, 2012 12:49:09 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: Error listenerStart
Jan 24, 2012 12:49:09 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [/guvnor] startup failed due to previous errors
INFO  24-01 12:49:09,512 (LoggingHelper.java:info:49)    Removing listeners....
Removing all listeners...
Listeners removed...
INFO  24-01 12:49:09,543 (LoggingHelper.java:info:49)    Shutting down repository....
INFO  24-01 12:49:09,543 (RulesRepositoryConfigurator.java:shutdown:172)         SHUTDOWN RULES CONFIG

(I apologize if this message appears twice. The server said that the first one was rejected.)



Information Classification: General


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20120125/3c1a8ead/attachment.html 


More information about the rules-users mailing list