Wednesday, October 24, 2012

JBoss Wrapper PropertyNotFoundException

After setting up JBoss to be run through a Java Service Wrapper from Tanuki Software (http://wrapper.tanukisoftware.com/doc/english/integrate-simple-nix.html) I got the following exception:

Caused by: javax.el.PropertyNotFoundException: /page.xhtml @20,20 value="#{objectname.fieldname}": Target Unreachable, identifier 'objectname' resolved to null

Turns out this is because the wrapper.conf file field wrapper.app.parameter.2 can't handle the bind address (-b 192.168.1.50) flag if used exactly as in the command line.

To fix, remove the space between the -b and the IP address:
wrapper.app.parameter.2=-b192.168.1.50

Solutions source: https://community.jboss.org/thread/93706

No comments:

Post a Comment