2 Replies Latest reply on Jul 13, 2010 11:55 AM by madhu san

    No property 'dataDirectory' found error when 'servicemix' executable is run

    madhu san Newbie

      Hi all,

       

      I recently installed FUSE ESB 3.3.1.22 on a unix machine with Sun OS.

      When I ran the servicemix executable in bin dir., I got the following error.

       

      Caught: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'broker' defined in class path resource : Cannot create inner bean '(inner bean)' of type while setting bean property 'persistenceAdapter'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)' defined in class path resource : Initialization of bean failed; nested exception is org.springframework.beans.InvalidPropertyException: Invalid property 'dataDirectory' of bean class : No property 'dataDirectory' found

       

      org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'broker' defined in class path resource : Cannot create inner bean '(inner bean)' of type while setting bean property 'persistenceAdapter'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)' defined in class path resource : Initialization of bean failed; nested exception is org.springframework.beans.InvalidPropertyException: Invalid property 'dataDirectory' of bean class : No property 'dataDirectory' found

       

      Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)' defined in class path resource : Initialization of bean failed; nested exception is org.springframework.beans.InvalidPropertyException: Invalid property 'dataDirectory' of bean class : No property 'dataDirectory' found

      Caused by: org.springframework.beans.InvalidPropertyException: Invalid property 'dataDirectory' of bean class : No property 'dataDirectory' found

       

              at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:376)

              at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1105)

              at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:861)

              at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:421)

              at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:215)

              at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:127)

              at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1099)

              at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:861)

              at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:421)

              at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)

              at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)

              at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)

              at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)

              at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:337)

              at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)

              at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)

              at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)

              at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)

              at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:337)

              at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)

              at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)

              at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)

              at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)

              at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:284)

              at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)

              at org.apache.xbean.spring.context.ClassPathXmlApplicationContext.(ClassPathXmlApplicationContext.java:51)

              at org.apache.servicemix.Main.main(Main.java:54)

              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:585)

              at org.codehaus.classworlds.Launcher.launchStandard(Launcher.java:353)

              at org.codehaus.classworlds.Launcher.launch(Launcher.java:264)

              at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)

              at org.codehaus.classworlds.Launcher.main(Launcher.java:375)

       

      I attached the activemq.xml file.

       

      Could anyone provide a solution to this issue.

        • 1. Re: No property 'dataDirectory' found error when 'servicemix' executable is run
          madhu san Newbie

          Does anyone know some solution to this problem. ???????????????

          • 2. Re: No property 'dataDirectory' found error when 'servicemix' executable is run
            madhu san Newbie

            I fixed the earlier issue with dataDirectory.

             

            Now there is another issue. I am getting 'transactionLogDir' property not found error.

             

            Caught: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jndi' defined in class path resource : Cannot resolve reference to bean 'jndiEntries' while setting bean property 'entries'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jndiEntries': Cannot resolve reference to bean 'transactionManager' while setting bean property 'sourceMap' with key [TypedStringValue: value , target type ]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager' defined in class path resource : Initialization of bean failed; nested exception is org.springframework.beans.InvalidPropertyException: Invalid property 'transactionLogDir' of bean class : No property 'transactionLogDir' found

            org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jndi' defined in class path resource : Cannot resolve reference to bean 'jndiEntries' while setting bean property 'entries'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jndiEntries': Cannot resolve reference to bean 'transactionManager' while setting bean property 'sourceMap' with key [TypedStringValue: value , target type ]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager' defined in class path resource : Initialization of bean failed; nested exception is org.springframework.beans.InvalidPropertyException: Invalid property 'transactionLogDir' of bean class : No property 'transactionLogDir' found

            Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jndiEntries': Cannot resolve reference to bean 'transactionManager' while setting bean property 'sourceMap' with key [TypedStringValue: value , target type ]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager' defined in class path resource : Initialization of bean failed; nested exception is org.springframework.beans.InvalidPropertyException: Invalid property 'transactionLogDir' of bean class : No property 'transactionLogDir' found

            Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager' defined in class path resource : Initialization of bean failed; nested exception is org.springframework.beans.InvalidPropertyException: Invalid property 'transactionLogDir' of bean class : No property 'transactionLogDir' found

            Caused by: org.springframework.beans.InvalidPropertyException: Invalid property 'transactionLogDir' of bean class : No property 'transactionLogDir' found

                    at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:376)

                    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1105)

                    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:861)

                    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:421)

                    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)

                    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)

                    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)

                    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)

                    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:261)

                    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:109)

                    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedMap(BeanDefinitionValueResolver.java:314)

                    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:139)

                    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1099)

                    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:861)

                    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:421)

                    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)

                    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)

                    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)

                    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)

                    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:261)

                    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:109)

                    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1099)

                    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:861)

                    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:421)

                    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)

                    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)

                    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)

                    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)

                    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:337)

                    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)

                    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)

                    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)

                    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)

                    at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:284)

                    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)

                    at org.apache.xbean.spring.context.ClassPathXmlApplicationContext.(ClassPathXmlApplicationContext.java:51)

                    at org.apache.servicemix.Main.main(Main.java:54)

                    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:585)

                    at org.codehaus.classworlds.Launcher.launchStandard(Launcher.java:353)

                    at org.codehaus.classworlds.Launcher.launch(Launcher.java:264)

                    at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)

                    at org.codehaus.classworlds.Launcher.main(Launcher.java:375)

             

             

            Any help!