Installing WAR file test pass install fails

0

I have successfully run:

bash js-install-ce.sh test

However when I run:

bash js-install-ce.sh minimal

I am confronted with some exceptional errors which I am unclear on how to resolve. The point at which the exceptions occur look something like:

 [java] Resource name: applicationContext-themes.xml
     [java] Resource name: applicationContext-virtual-data-source.xml
     [java] org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'executionOwnerVoter': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'securityContextProvider': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'securityContextProviderTarget' defined in file [/root/jasperreports-server-cp-5.6.0-bin/buildomatic/conf_source/ieCe/applicationContext.xml]: Cannot resolve reference to bean 'userAuthorityService'
From all the Googling I have done it sounds as though I may be missing dependencies, the problem is, which one, where do I get it and how I associate it to make the install "just work"
 
Any ideas or suggestions would be greatly appreciated.
alex_barylski's picture
Joined: Sep 14 2012 - 8:18am
Last seen: 5 years 3 months ago

2 Answers:

1

This could be a database connection error. I am guessing that the error is happening on the import operation (which connects to the database in order to put "core" data into the jasperserver database) used to populate the database.

You can also try checking the buildomatic/build_conf/default/js.jdbc.properties to see if the DB settings look OK. Sometimes there can be DNS issues also (like myserver won't work at part of the jdbc URL, whereas "myserver.companyname.com" will work).

tkavanagh's picture
3303
Joined: Jul 7 2006 - 8:54am
Last seen: 5 years 1 month ago
0

Which jdk are you using. Jaspersoft does not yet support JDK8. It's known to work with Oracle JDK 6 and Oracle JDK7.

I found that the script does not work out of the box with IBM JDK.

hozawa's picture
50973
Joined: Apr 24 2010 - 4:31pm
Last seen: 4 months 1 week ago
Feedback