Jump to content
We've recently updated our Privacy Statement, available here ×

Jasperserver behind iptables


acquisti

Recommended Posts

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 ACCEPT

iptables -A INPUT -p tcp --dport 8080 -j ACCEPT

iptables -P INPUT DROP

Now through the  link:

http://myserverip:8080/jasperserver/login.html

jasperserver 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 ACCEPT

it works again.

Thank to anyone can help me.

Regards


 




 

 

Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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