Re: [Users] Upgrading dwh and reports from 3.3.4 to 3.4.0?

----- Original Message -----
From: "Yaniv Dary" <ydary@redhat.com> To: "Alon Bar-Lev" <alonbl@redhat.com> Cc: "Gianluca Cecchi" <gianluca.cecchi@gmail.com> Sent: Sunday, April 6, 2014 8:53:46 PM Subject: Re: [Users] Upgrading dwh and reports from 3.3.4 to 3.4.0?
----- Original Message -----
From: "Alon Bar-Lev" <alonbl@redhat.com> To: "Yaniv Dary" <ydary@redhat.com> Cc: "Gianluca Cecchi" <gianluca.cecchi@gmail.com> Sent: Sunday, April 6, 2014 6:17:20 PM Subject: Re: [Users] Upgrading dwh and reports from 3.3.4 to 3.4.0?
----- Original Message -----
From: "Gianluca Cecchi" <gianluca.cecchi@gmail.com> To: "Alon Bar-Lev" <alonbl@redhat.com> Sent: Sunday, April 6, 2014 6:01:31 PM Subject: Re: [Users] Upgrading dwh and reports from 3.3.4 to 3.4.0?
here it is https://drive.google.com/file/d/0BwoPbcrMv8mvM3AtTEJYQldMNFk/edit?usp=sharin...
Oh... so what happens is that we set the password you enter, but then we overwrite it with preserved password from initialization stage. So unfortunately, we cannot override admin password in this method.
Yaniv, what is the procedure to reset jasper admin user? Do you want to support it via setup or you want some specific procedure for this?
Export, set password in the file and then import.
# cd /usr/share/jasperreports-server/buildomatic # export masterPropsSource=/var/lib/ovirt-engine-reports/build-conf # ./js-export.sh --users --output-dir < some folder > now edit password of the user you would like to change # ./js-import.sh --input-dir < same some folder >
Yaniv
Alon

On Sun, Apr 6, 2014 at 8:03 PM, Yaniv Dary <ydary@redhat.com> wrote:
# cd /usr/share/jasperreports-server/buildomatic # export masterPropsSource=/var/lib/ovirt-engine-reports/build-conf # ./js-export.sh --users --output-dir < some folder >
now edit password of the user you would like to change
# ./js-import.sh --input-dir < same some folder >
[sorry for the previous e-mail only sent to Yaniv] Hello, I get this during export: [root@tekkaman ~]# cd /usr/share/jasperreports-server/buildomatic [root@tekkaman buildomatic]# export masterPropsSource=/var/lib/ovirt-engine-reports/build-conf [root@tekkaman buildomatic]# mkdir /tmp/js_export [root@tekkaman buildomatic]# ./js-export.sh --users --output-dir /tmp/js_export Using CE setup First resource path:/usr/share/jasperreports-server/buildomatic/conf_source/ieCe/applicationContext-cascade.xml Started to load resources Resource name: applicationContext.xml Resource name: applicationContext-cascade.xml Resource name: applicationContext-data-snapshots.xml Resource name: applicationContext-events-logging.xml Resource name: applicationContext-export-config.xml Resource name: applicationContext-export-import.xml Resource name: applicationContext-logging.xml Resource name: applicationContext-olap-connection.xml Resource name: applicationContext-report-scheduling.xml Resource name: applicationContext-search.xml Resource name: applicationContext-security.xml Resource name: applicationContext-themes.xml Resource name: applicationContext-virtual-data-source.xml org.springframework.beans.factory.BeanInitializationException: Could not load properties; nested exception is java.io.FileNotFoundException: class path resource [js.jdbc.properties] cannot be opened because it does not exist org.springframework.beans.factory.BeanInitializationException: Could not load properties; nested exception is java.io.FileNotFoundException: class path resource [js.jdbc.properties] cannot be opened because it does not exist at org.springframework.beans.factory.config.PropertyResourceConfigurer.postProcessBeanFactory(PropertyResourceConfigurer.java:87) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:681) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:656) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:446) at com.jaspersoft.jasperserver.export.BaseExportImportCommand.createSpringContext(BaseExportImportCommand.java:129) at com.jaspersoft.jasperserver.export.BaseExportImportCommand.process(BaseExportImportCommand.java:82) at com.jaspersoft.jasperserver.export.ExportCommand.main(ExportCommand.java:43) Caused by: java.io.FileNotFoundException: class path resource [js.jdbc.properties] cannot be opened because it does not exist at org.springframework.core.io.ClassPathResource.getInputStream(ClassPathResource.java:158) at org.springframework.core.io.support.PropertiesLoaderSupport.loadProperties(PropertiesLoaderSupport.java:181) at org.springframework.core.io.support.PropertiesLoaderSupport.mergeProperties(PropertiesLoaderSupport.java:161) at org.springframework.beans.factory.config.PropertyResourceConfigurer.postProcessBeanFactory(PropertyResourceConfigurer.java:78) ... 6 more [root@tekkaman buildomatic]# do I have to install anything that normally is installed only on developer stations?

try to add: # ./js-export.sh --users --output-dir -DmasterPropsSource=/var/lib/ovirt-engine-reports/build-conf Yaniv ----- Original Message -----
From: "Gianluca Cecchi" <gianluca.cecchi@gmail.com> To: "Yaniv Dary" <ydary@redhat.com> Cc: "Alon Bar-Lev" <alonbl@redhat.com>, "users" <users@ovirt.org> Sent: Sunday, April 6, 2014 9:57:35 PM Subject: Re: [Users] Upgrading dwh and reports from 3.3.4 to 3.4.0?
On Sun, Apr 6, 2014 at 8:03 PM, Yaniv Dary <ydary@redhat.com> wrote:
# cd /usr/share/jasperreports-server/buildomatic # export masterPropsSource=/var/lib/ovirt-engine-reports/build-conf # ./js-export.sh --users --output-dir < some folder >
now edit password of the user you would like to change
# ./js-import.sh --input-dir < same some folder >
[sorry for the previous e-mail only sent to Yaniv]
Hello, I get this during export:
[root@tekkaman ~]# cd /usr/share/jasperreports-server/buildomatic [root@tekkaman buildomatic]# export masterPropsSource=/var/lib/ovirt-engine-reports/build-conf [root@tekkaman buildomatic]# mkdir /tmp/js_export [root@tekkaman buildomatic]# ./js-export.sh --users --output-dir /tmp/js_export Using CE setup First resource path:/usr/share/jasperreports-server/buildomatic/conf_source/ieCe/applicationContext-cascade.xml Started to load resources Resource name: applicationContext.xml Resource name: applicationContext-cascade.xml Resource name: applicationContext-data-snapshots.xml Resource name: applicationContext-events-logging.xml Resource name: applicationContext-export-config.xml Resource name: applicationContext-export-import.xml Resource name: applicationContext-logging.xml Resource name: applicationContext-olap-connection.xml Resource name: applicationContext-report-scheduling.xml Resource name: applicationContext-search.xml Resource name: applicationContext-security.xml Resource name: applicationContext-themes.xml Resource name: applicationContext-virtual-data-source.xml org.springframework.beans.factory.BeanInitializationException: Could not load properties; nested exception is java.io.FileNotFoundException: class path resource [js.jdbc.properties] cannot be opened because it does not exist org.springframework.beans.factory.BeanInitializationException: Could not load properties; nested exception is java.io.FileNotFoundException: class path resource [js.jdbc.properties] cannot be opened because it does not exist at org.springframework.beans.factory.config.PropertyResourceConfigurer.postProcessBeanFactory(PropertyResourceConfigurer.java:87) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:681) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:656) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:446) at com.jaspersoft.jasperserver.export.BaseExportImportCommand.createSpringContext(BaseExportImportCommand.java:129) at com.jaspersoft.jasperserver.export.BaseExportImportCommand.process(BaseExportImportCommand.java:82) at com.jaspersoft.jasperserver.export.ExportCommand.main(ExportCommand.java:43) Caused by: java.io.FileNotFoundException: class path resource [js.jdbc.properties] cannot be opened because it does not exist at org.springframework.core.io.ClassPathResource.getInputStream(ClassPathResource.java:158) at org.springframework.core.io.support.PropertiesLoaderSupport.loadProperties(PropertiesLoaderSupport.java:181) at org.springframework.core.io.support.PropertiesLoaderSupport.mergeProperties(PropertiesLoaderSupport.java:161) at org.springframework.beans.factory.config.PropertyResourceConfigurer.postProcessBeanFactory(PropertyResourceConfigurer.java:78) ... 6 more [root@tekkaman buildomatic]#
do I have to install anything that normally is installed only on developer stations?
participants (2)
-
Gianluca Cecchi
-
Yaniv Dary