Jaspersoft BI Tools

iReport,Jaspersoft Design Studio,Jaspersoft Server, Schema Workbench,Analysis,Dashboards, Self Service BI, Domains,Topics,Ad-Hoc Reports, Jaspersoft ETL, Embedding BI,HTML-5 charts, Fusion Charts,JFree Charts,Drill down reports , Drill down Dashboards,Visualize.js, Performance Tuning, D3 Charts, Jaspersoft Customization

Saturday, March 08, 2014

Tomcat is running but Jasper Server UI start Up problem - How to resolve it ?

Hi..
This post talk about a trick of running Jasper Server UI

What is/are the general problem(s) ?
Windows :
Generally, we run Jasper Server by going to
All Programs -> JasperReports Server CP 5.5-->Start or Stop Services ->Start Service
This way works better if you have not installed many servers / soft wares for which the services start with booting of the system whenever you switched on your machine/windows server.

In windows machine, you can stop the softwares in services window.(In W7 search box just type the services and open it)...
Simply type J ... the command will take you to JasperPostgres and JasperServer.. where you can right click on each of them individually and set the start up as Manual..
Now, how you can run the services ?
Once you on your machine/windows server go to command prompt and then go the bin folder of Jasper tomact and then issue the startup.bat command(for eg: C:\Jaspersoft\jasperreports-server-cp-5.5.0\apache-tomcat\bin\startup.bat).. It'll open up the Jasper server pop up starting jar saying the server start up information(it's tomcat service startup).. then you have to go the services and 1st start the Jasper Server Postgres and then the Jasper server service...
This will work fine..

If  the above two approaches fails to run Jasper server UI but tomact runs, how you can make jasper server UI to run ?
 
 If you are an expert in working with tomcat server you have already known how to start the UI applications by logging into managers roles..
The same approach is given below to run the Jasper Server UI from tomcat Manager..

You need to set the role and user name for the tomcat server manager.. i.e., you need to modify the tomact-users.xml file
Location of this file :
C:\Jaspersoft\jasperreports-server-cp-5.5.0\apache-tomcat\conf\tomact-users.xml
Add the below code in between <tomcat-users> and </tomcat-users> tags

<role rolename="manager-gui"/>
<user username="tomcat" password="s3cret" roles="manager-gui"/>


You can also give your own your username and password for this..

Now, stop the tomcat from command prompt using below command
C:\Jaspersoft\jasperreports-server-cp-5.5.0\apache-tomcat\bin\shutdown.bat

 Start the tomcat ..
C:\Jaspersoft\jasperreports-server-cp-5.5.0\apache-tomcat\bin\startup.bat

Once you run the tomcat server, you can see the server start up in pop up window opens with jar icon...
 and then quickly go to the services and start the jasper server postgresql server..

Once you see the message of  jasper server start up on the popup log , and postgrese start up in services...

Go to web-browser and type
http://localhost:8080/manager
Give tomcat/s3creat and login to the mangers roles..
There you can find the list of applications..
click on start button for jasper server UI application and wait for few seconds/min.. you can find the start stats on top
The below image gives you the better idea than the above description.


Now go to web browser type http://localhost:8080/jasperserver

:-) :-D :P