dhughes Posted August 8, 2013 Share Posted August 8, 2013 Evelauting jasper server for my company. Installed using the OSX installer and follwing documentation http://community.jaspersoft.com/documentation/jasperreports-server-install-guide-community-edition. Used existing Tomcat and Postgres installs and opted for demo data set up.Tried to start:1) click /Applications/jasperreports-server-cp-5.2.0/jasperServerStart.app - icon bounces in dock for a second, then disappears. catalina.out is untouched, no logs in webapps/jasperserver/WEB-INF/logs2) commonad line /Applications/jasperreports-server-cp-5.2.0/ctlscript.sh - no output, no log info3) manual tomcat start (<tomcat>/bin/startup.sh) - app starts, but there is an error in catalina.out and webapps/jasperserver/WEB-INF/logs/jasperserver.log:2013-08-08 14:17:26,633 ERROR JNDIResourceProvider,localhost-startStop-1:75 - error closing contextjavax.naming.OperationNotSupportedException: Context is read onlyat org.apache.naming.NamingContext.checkWritable(NamingContext.java:962)at org.apache.naming.NamingContext.close(NamingContext.java:762)at com.tonbeller.tbutils.res.JNDIResourceProvider.close(JNDIResourceProvider.java:72)at com.tonbeller.tbutils.res.CompositeResourceProvider.close(CompositeResourceProvider.java:56)at com.tonbeller.tbutils.res.ResourcesFactory.initialize(ResourcesFactory.java:163)at com.tonbeller.tbutils.res.ResourcesFactory.<init>(ResourcesFactory.java:92)at com.tonbeller.tbutils.res.ResourcesFactory.<clinit>(ResourcesFactory.java:89)at com.tonbeller.tbutils.res.ResourcesFactoryContextListener.contextInitialized(ResourcesFactoryContextListener.java:23)at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4791)at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5285)at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:618)at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1100)at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1618)at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)at java.util.concurrent.FutureTask.run(FutureTask.java:138)at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)at java.lang.Thread.run(Thread.java:680) Link to comment Share on other sites More sharing options...
marianol Posted August 8, 2013 Share Posted August 8, 2013 A couple of things: Check the install log @ /Applications/jasperreports-server-cp-5.2.0/installation.log and make sure that everything (postgres, tomcat and JRS) was installed correctly with no errors.Can you check which Java version you have currently installed? ( from a terminal windows do #java - version )To start it form the command line open a terminal window and do:# cd /Applications/jasperreports-server-cp-5.2.0/# ./ctlscript.sh start Link to comment Share on other sites More sharing options...
dhughes Posted August 9, 2013 Author Share Posted August 9, 2013 The only errors in the install log where when it tried to drop pre-existing DBs, which I assume is nothing to worry about: dropdb: database removal failed: ERROR: database "sugarcrm" does not exist dropdb: database removal failed: ERROR: database "foodmart" does not exist dropdb: database removal failed: ERROR: database "jasperserver" does not exist All of those DBS were created as expected. As I mentioned I am using existing installs of tomcat and postgres. 14:49 jasperreports-server-cp-5.2.0 $ java -version java version "1.6.0_51" Java SE Runtime Environment (build 1.6.0_51-b11-457-10M4509) Java HotSpot 64-Bit Server VM (build 20.51-b01-457, mixed mode) Already tried this (#2 in my initial report), no output, no log info: cd /Applications/jasperreports-server-cp-5.2.0/ ./ctlscript.sh start Link to comment Share on other sites More sharing options...
tkavanagh Posted August 15, 2013 Share Posted August 15, 2013 Hi, when using existing instances of tomcat and postgresql, the JRS (JasperReports Server) start/stop scripts will not start/stop these existing instances.So, the order would be the following: start postgresql start tomcatHowever, it looks like this is what you did. But you can try again.Also, make sure that there are no other apps currently existing in your tomcat (multiple apps can run no problem - but when debugging I try and get rid of anything that might make it harder to debug).Then you can check your <tomcat>/logs/catalina.out and hopefully should get a clearer error message. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now