Struts 2 > Deployment Notes
Added by plightbo, last edited by Ted Husted on Sep 03, 2006  (view change)

WebWork runs on most application servers without any problems. However, you may need to do a few modifications in order to get it running in your environemnt.

WebLogic 6.1

A subproject has been added to the WebWork CVS repository that vastly simplifies getting WebWork to work under BEA Weblogic Server 6.1. Documentation is included.
Look for the subproject under the main folder "misc".

WebLogic 8.1

Seems to have some difficulty loading the Velocity templates. If you run into this problem, the work-around is documented here.

SunONE 7.0

You need to grant permissions to WebWork:

grant {
	permission java.security.AllPermission;
};

or more specifically,

  • Give Write Permissions to java.util.PropertyPermission.
  • Add java.lang.reflect.ReflectPermission "suppressAccessChecks"
  • OgnlInvoke Permission
grant {
	permission java.util.PropertyPermission "*", "read, write";
	permission java.lang.reflect.ReflectPermission "suppressAccessChecks";
	permission ognl.OgnlInvokePermission "*";
};