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

Yaniv Dary ydary at redhat.com
Mon Apr 7 06:26:12 UTC 2014


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 at gmail.com>
> To: "Yaniv Dary" <ydary at redhat.com>
> Cc: "Alon Bar-Lev" <alonbl at redhat.com>, "users" <users at 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 at 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 at tekkaman ~]# cd /usr/share/jasperreports-server/buildomatic
> [root at tekkaman buildomatic]# export
> masterPropsSource=/var/lib/ovirt-engine-reports/build-conf
> [root at tekkaman buildomatic]# mkdir /tmp/js_export
> [root at 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 at tekkaman buildomatic]#
> 
> do I have to install anything that normally is installed only on
> developer stations?
> 



More information about the Users mailing list