Jump to content

Reports Unavailable with JaspersSoft portlet. - please help.


samsam8899

Recommended Posts

 

Hi, Can anyone please help me resolve the following errors?

with JaspesrSoft portlet in liferay 5.2.8.1 EE SP4, the portlet failed to open the Report wtih the following errors:

Reports Unavailable

You do not have permission to view any reports. Please contact your JasperSoft administrator.

 

Link to comment
Share on other sites

  • Replies 9
  • Created
  • Last Reply

Top Posters In This Topic

  • 2 months later...
  • 7 months later...

Even im gettin same error.In jasper Report Server Admin guide it has been written that once liferay and jasper are being integrated automatically ROLES_PORTLET and user gets created who can access the portlet but its not being getting created in my case.So i created a user same as in Liferay in Jasper Report Server but then too its showing the same error.Does anyone know how to resolve this issue.

Link to comment
Share on other sites

in JasperServer we need to change folowwing:

 

1. open <js-tomcat>/webapps/jasperserver/WEB-INF/applicationContext-security-web.xml

find property <property name="trustedIpAddress"> and set the value to the host 127.0.0.1 or set host from which js will allow to connect

2. find report.scheduler.web.deployment.uri property in the js.quartz.properties file at <js-tomcat>/webapps/jasperserver/WEB-INF. Set the right host and port, for ex.

http://localhost:8080/jasperserver

 

This was about JasperServer setup. We should setup portal too:

 

1. Edit <liferay>/<liferay-tomcat>/webapps/JasperReportsServer-portlet-4.0.0/WEB-INF/portlet.xml and set URL for jasperserver_repository_ws_url, for ex:

 

<init-param>

<name>jasperserver_repository_ws_url</name>

<value>http://localhost:8080/jasperserver/services/repository</value>

</init-param>

 

If You have JasperServer Comunity edition then no Organization will be added. But you should login as admin user in Liferay. The default user in liferay is test@liferay.com/test. Anyway after adding js portlet to portal liferay logged in user should be added to JS users and ROLE_PORTLET should be added as well. You should setup permissions for that user and role.

 

Yuriy Savochenko

Qa Engineer

 

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...