Jump to content
We've recently updated our Privacy Statement, available here ×

JasperServer does not start.


halit

Recommended Posts

 
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 failed
java.lang.NullPointerException
2-ERROR JNDIResourceProvider,http-apr-8080-exec-12:75 - error closing context
javax.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

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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 scripts
if you are installing to the following databases:

  * MySQL
  * PostgreSQL

And the following application servers:

  * Tomcat
  * Glassfish
  * JBoss 5
  * JBoss 7

For information on the js-install scripts, see Chapter 5 of the
Installation Guide. To run the js-install scripts, download the
WAR File Distribution ZIP file from the Jaspersoft Community site
at: http://community.jaspersoft.com/download. The file name is:

  jasperreports-server-cp-5.5.0-bin.zip

To install, go to the buildomatic folder, create and edit a
default_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-install
scripts, refer to Chapter 5 of the Installation Guide.
 

 

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...