halit Posted April 30, 2014 Share Posted April 30, 2014 Tomcat Web Application Manager, I click from the start, but it does not work JasperServer. Works and databases to PostgreSQL occurred. jasperserver.log message: 1-ERROR ContextLoader,http-apr-8080-exec-12:307 - Context initialization failedjava.lang.NullPointerException2-ERROR JNDIResourceProvider,http-apr-8080-exec-12:75 - error closing contextjavax.naming.OperationNotSupportedException: Context is read only This did not solve the problem. I'm not good about making Tomcat settings. I could not hibernate.cfg.xml settings. I worked very hard to solve the problem but could not solve. Please help me. Link to comment Share on other sites More sharing options...
tkavanagh Posted May 1, 2014 Share Posted May 1, 2014 Definitely you will need to take a look at the <js-install>/docs/JasperReports-Server-Install-Guide.pdf (and soon the guide will be put online on this website).Because all of the config setup so that the Tomcat can communicate cleanly with the PostgreSQL database is organized to be automatically generated for you. You might consider using the jasperreports-server-cp-linux-x64-installer.run (I am just guessing that you are using Linux). This "binary" installer will put all required components in place (tomcat, postgresql, java, jasperReportsServer). So, maybe that will be easier for you.Also, you can take a look in the releaseNotes.txt because there is an "overview" of how to install (using either the binary installer, or that jasperreports-server-5.5-bin.zip which is the WAR File bin.zip file).Here is a clip from the releaseNotes: War File Distribution ZIP js-install Script Installation--------------------------------------------------------NOTE: You can use the js-install command-line shell scriptsif you are installing to the following databases: * MySQL * PostgreSQLAnd the following application servers: * Tomcat * Glassfish * JBoss 5 * JBoss 7For information on the js-install scripts, see Chapter 5 of theInstallation Guide. To run the js-install scripts, download theWAR File Distribution ZIP file from the Jaspersoft Community siteat: http://community.jaspersoft.com/download. The file name is: jasperreports-server-cp-5.5.0-bin.zipTo install, go to the buildomatic folder, create and edit adefault_master.properties file, and run js-install-ce.sh/bat: cd <js-install>/buildomatic cp sample_conf/<dbType>_master.properties default_master.properties edit default_master.properties (add your app server and db properties) ./js-install-ce.sh (or js-install-ce.bat) Then setup increased JAVA_OPT memory options for your application server following instructions from the Install Guide section 6.2: For example under Linux with Tomcat: Add to <tomcat>/bin/setclasspath.sh at bottom of file: export JAVA_OPTS="$JAVA_OPTS -Xms1024m -Xmx2048m -XX:PermSize=32m -XX:MaxPermSize=512m"export JAVA_OPTS="$JAVA_OPTS -Xss2m -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled" For information on the JAVA_OPTS configuration see the Installation Guide section 6.2.For full information on the JasperReports Server js-installscripts, refer to Chapter 5 of the Installation Guide. 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