I had existing Tomcat and MySQL installs, so I chose to use the WAR distribution and I'm having a bit of trouble. I can login to JasperServer via the web interface, but it appears that I can't actually do anything -- like upload a new report, for instance.
Linux x86-64, Oracle Java 6, JasperServer Community Edition 5.2.0, MySQL 5.5, Tomcat 7.0.42.
I used buildomatic:
- Copied `sample_conf/mysql_master.properties` to `default_master.properties` and customized as appropriate
- Ran `./js-ant create-js-db`
- Ran `./js-ant init-js-db-ce`
- Ran `./js-ant import-minimal-ce`
- Ran `./js-ant deploy-webapp-ce`
There was one snag during this procedure: buildomatic really wants to have root privileges, so I used root/[password] for the create-js-db part, then changed the `dbUsername` and `dbPassword` to something else because I don't want to use root for everything -- like from the webapp. I did a `GRANT ALL PRIVILEGES` on the `jasperserver` database and then performed steps 3, 4, and 5 using the alternative credentials.
When launching Tomcat, I get this error:
2013-09-04 14:05:11,777 ERROR JNDIResourceProvider,localhost-startStop-1:75 - error closing context
javax.naming.OperationNotSupportedException: Context is read only
I am able to login to JasperServer, but everything is ... empty. The "home" link takes me to the repository which contains "System Properties" and "Themes". The "Library" is completely empty with no obvious way to add something to it -- like a report. I can't even figure out how to create a data source. About a year ago, I used the "real" installer on a Windows XP virtual machine and was up and running pretty quickly, so I must have missed something critical, here.
The problem was gross user error: I didn't realize that I had to right-click in the resource tree and "Add Resource", then upload a report.
The brief setup video I watched on the JasperSoft help site seemed to show a "home" screen with large "Get Started" buttons with things liks "Add Report", etc. on them. I don't see that kind of screen anywhere, so, being a newbie, I was a bit lost.
I think everything is running fine. Although you will need to keep an eye on the start up error to make sure that is not an issue. But if you can Login and then navigate around then I think everything is probably OK.
What you have is a "production style" installation regarding the default resources that are in place. When you run "js-ant import-minimal-ce", this puts the minimum resources (we also call these "core" resources) in place that are required to run JasperReports Server.
You can run an additional command to get the sample resources in place - then what you see after you login will be more normal because you will see sample reports which you can execute.
Also, the additional buildomatic command can be run while JRS is still running (don't need a re-start):
Hopefully, that does it for you.