On Sun, Apr 6, 2014 at 8:03 PM, Yaniv Dary <ydary(a)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?