samsam8899 Posted November 2, 2010 Share Posted November 2, 2010 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 More sharing options...
rhjheins Posted November 2, 2010 Share Posted November 2, 2010 Are you using Ldap on both liferay and jasperserver? If not you have to create the liferay user within the jasperserver or fica versa. The jasperserver portlet for liferay is using the liferay user credentials to log in into jasperserver. Link to comment Share on other sites More sharing options...
igorla Posted January 20, 2011 Share Posted January 20, 2011 Hi,I also get the same error. I've defined test@liferay.com in JasperReports and gave him permissions to see Organization.What should I do besides that? Link to comment Share on other sites More sharing options...
ramnik Posted January 20, 2011 Share Posted January 20, 2011 I have seen the error too. but the reason i was seeing No reorts was , i have given permission to see the reports but not to the resources reports are using ...test@liferay.com should have access to read all the resources the reports is using e..g Data Source etc ..Ramnik KaurSenior QA Engineer Link to comment Share on other sites More sharing options...
rashmi_prabhu Posted August 26, 2011 Share Posted August 26, 2011 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 More sharing options...
Yuri Savochenko Posted August 26, 2011 Share Posted August 26, 2011 When portal connects to JS via webservices the Portal organization is created and user test@liferay.com are added to Portal organization. The message that You're havving means that user test@liferay.com doesn't have permissions to see the reports or there are no reports in Portal organization. Link to comment Share on other sites More sharing options...
rashmi_prabhu Posted August 26, 2011 Share Posted August 26, 2011 I have logged in liferay as bruno admin because I was unable to login as test nor Portal Organization is getting created.I have created a user as bruno in Jasper.Where am i goin wrong? Link to comment Share on other sites More sharing options...
Yuri Savochenko Posted August 26, 2011 Share Posted August 26, 2011 Are You sure that jasper portlet was connected to Jasper Server? Can You check the logs of Jasper Server after portal was started? If everything ok with connection then there should be messages like "WARN LoggerListener,http-8080-5:60 - Authentication event" Link to comment Share on other sites More sharing options...
rashmi_prabhu Posted August 26, 2011 Share Posted August 26, 2011 Ya there it has been connected.In log file i have this:WARN LoggerListener,Authentication event AuthenticationSuccessEvent.Do i need to make any changes in JasperServer? Link to comment Share on other sites More sharing options...
Yuri Savochenko Posted August 26, 2011 Share Posted August 26, 2011 in JasperServer we need to change folowwing: 1. open <js-tomcat>/webapps/jasperserver/WEB-INF/applicationContext-security-web.xmlfind property <property name="trustedIpAddress"> and set the value to the host 127.0.0.1 or set host from which js will allow to connect2. 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 SavochenkoQa Engineer 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