Wednesday 19 October 2016

HOW TO CREATE USER AND ROLES  ON JASPER SERVER


To access reports on JasperServer we need to have a user account which includes ID and Password.
Roles are created to determine which user can access which repository.User can have multiple roles.

An administrator can create roles and users on JasperServer and assign roles to user.Set roles permission on repository .


 Creating Roles

 Following are the steps to create roles :

 1.) Login to jasperserver admin account.

 2.) Select manage role then click on add role.

 3.) Enter the desired role name.






If existing role is selected then users assigned to the role gets listed out.


Creating Users

On Home page go to Manage select add roles.

Following are the steps to create new users .

1.) On Manage Users page click Add User.

2.) Enter the desired UserName,UserPassword,UserId,ConfirmPassword and ResetPassword.



Click the enable user check box.

3.) Click on Add User Now the User will appear in the User list.

4.) Repeat the steps for adding new Users.

Assigning Users

Following are the steps to assign users:

1.) From Home Page go to Manager -> Users.

2.) Select the desired User from the list and click on edit button.



3.) After clicking on Edit in the ROLE section two panes will open up. ROLES AVAILABLE and ROLES ASSIGNED.
    Select the ROLE FROM Available and click on Arrow if you want to assign the role.
    Select the ROLE FROM Assigned and click on Arrow if you want to deassign the role.



4.) Click on Save .Repeat the steps to add additional users.


Hope the above article helps. :)








Monday 11 April 2016

               Lock time seconds issue in JasperServer

 
 
When we have a report deployed on JasperServer holding millions record .While exporting this report it takes more than 90 seconds to export which is the default time to load in Jasper in this case Error: Unable to acquire conversation lock after 90 seconds comes.
 
 
1.) To Resolve this issue we have to change internal configuration settings of Jasper i.e xml files.
 
 
2.) Open WEB-INF/jasperserver-servlet.xml  in Apache-Tomcat folder.Make change in follwing line :
 
<property name="lockTimeoutSeconds" value="90"/>
 
 Change the value field here
 
 
3.) Save changes and restart JasperServer.