I am not sure about WW2, but for WW1 you have to have some permissions for
the reflection and property editors to work.

There is a Wiki note here:
http://wiki.opensymphony.com/space/Running+WebWork+on+SunONE

According to it you should set the following permissions to make it work:

- Give Write Permissions to java.util.PropertyPermission.
-  Add java.lang.reflect.ReflectPermission "suppressAccessChecks"

Best regards,

Dick Zetterberg
[EMAIL PROTECTED]

----- Original Message -----
From: "Bernard Choi" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 09, 2003 7:39 PM
Subject: [OS-webwork] Running WebWork on Sun ONE Application Server 7


> Greetings all,
>
> I've recently met some problems with running Webwork on SunONE Application
> Server 7. It was working fine on Resin and OrionServer, thus I suspected
> something was wrong with my configuration of SunONE.
>
> First I traced it to a NPE in
> com.opensymphony.webwork.dispatcher.VelocityResult . The setLocation() was
> not called.
>
> On further tracing, I suspected some permissions problem, to which I set
the
> server.policy to grant all permissions.
>
> ~/Sun/AppServer7/domains/domain1/server1/config/server.policy
> grant {
>  permission java.security.AllPermission;
> };
>
> This solved the problem, as webwork was now working fine. However,
> understandably, granting all permissions is not acceptable in the final
> system. Might I inquire as to where I can find more information on which
> specific permissions are required by Webwork ?
>




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to