thuandao Posted October 18, 2009 Share Posted October 18, 2009 I have just download Liferay-5.1.2_JasperServer-3.5.0_Portlet.zipwhen I run Jasperserver portlet, it causes "Connection refused". Someone said to set statics IP by trustedIpAddress property in file "applicationContext-security.xml".but I cannot find out file "applicationContext-security.xml" to add "trustedIpAddress" property as Readme file direct. 2. Configure JasperServer to accept web service calls from Liferay Portal. To configure JasperServer to accept web services from trusted hosts: 1) On the JasperServer host, locate the trustedIpAddress property in the applicationContext-security.xml file found at [js-install]/apache-tomcat/webapps/[jasperserver]/WEB-INF. where [js-install] - location where JasperServer is installed [jasperserver] - would be "jasperserver-pro" for JasperServer Professional and "jasperserver" for JasperServer Community Edition 2) Add the IP address of your Liferay Portal host. For example, if Liferay is running on a computer with the IP address 172.17.3.171, the trustedIpAddress property would be: <property name="trustedIpAddress"> <list> <value>172.17.3.171</value> </list> </property> Jaspersoft strongly recommends using a static IP address for this host. Do not use the values localhost or 127.0.0.1 for this property. Save and close the file. Please help me to solve this problem. Thanks alot. Link to comment Share on other sites More sharing options...
kpant Posted October 19, 2009 Share Posted October 19, 2009 Hi,Trusted IP property is set in your Application Server (ex Tomcat).If you are using Tomcat it will be set in..Tomcat6.0apache-tomcat-6.0.20webappsjasperserverWEB-INFapplicationContext-security.xmlThe jasperserver folder will be formed automatically after u successfully install jasperserver with your app server.The above path is for the inbuilt application server.......Hope this helpsPost Edited by kpant at 10/19/2009 10:33 Link to comment Share on other sites More sharing options...
thuandao Posted October 22, 2009 Author Share Posted October 22, 2009 I got it. Thanks alot. Link to comment Share on other sites More sharing options...
shatad0101 Posted July 27, 2011 Share Posted July 27, 2011 Hi i want to know how to change the localhost to a static IP on the server where Jasperserver is installed?if any one knowsplz help me.Post Edited by shatad0101 at 07/27/2011 09:36 Link to comment Share on other sites More sharing options...
ramnik Posted July 27, 2011 Share Posted July 27, 2011 Please change it in file -> applicationContext-security.xml File Path :- [apache-tomcat]\webapps\jasperserver-pro\WEB-INF Ramnik KaurSenior QA 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