acquisti Posted October 29, 2014 Share Posted October 29, 2014 Hi all, I have installed jasperserver on my server and it runs on port 8080 and on port 80 through mod_jk.Now I have configured iptables with following rules:iptables -A INPUT -p tcp --dport 80 -j ACCEPTiptables -A INPUT -p tcp --dport 8080 -j ACCEPTiptables -P INPUT DROPNow through the link:http://myserverip:8080/jasperserver/login.htmljasperserver doesn't work, I obtain the error:org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'commonProperties': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanExpressionException: Expression parsing failed; nested exception is org.springframework.expression.spel.SpelEvaluationException: EL1021E:(pos 24): A problem occurred whilst attempting to access the property 'contextUser': 'Unable to access property 'contextUser' through getter' but if i set the rule:iptables -P INPUT ACCEPTit works again.Thank to anyone can help me.Regards Link to comment Share on other sites More sharing options...
ryanp424 Posted October 29, 2014 Share Posted October 29, 2014 Have you tried opening up port 8009? Tomcat uses this for the AJP protocol. hope this helps Link to comment Share on other sites More sharing options...
hozawa Posted October 29, 2014 Share Posted October 29, 2014 Beans error usually occurs when JasperReports Server can't access the repository database. Where is your repository database? If you've setup your jdbc to access it via ip address, you'll need to open the port jdbc is using. Link to comment Share on other sites More sharing options...
acquisti Posted October 30, 2014 Author Share Posted October 30, 2014 Thanks for the answer, my repository is in localhost. I have solved setting ip url 127.0.0.1 in context.xml and setting the following url in iptables: iptables -A INPUT -d 127.0.0.1/32 -j ACCEPT Regards 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