Jump to content

Jasperserver portlet error "Connection refused"


thuandao

Recommended Posts

I have just download Liferay-5.1.2_JasperServer-3.5.0_Portlet.zip

when 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

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

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

The 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 helps



Post Edited by kpant at 10/19/2009 10:33
Link to comment
Share on other sites

  • 1 year later...

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