Look at the message from Dick Z. especially this part:

- Give Write Permissions to java.util.PropertyPermission.

I think that should do it.

> -----Original Message-----
> From: Bernard Choi [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, September 09, 2003 9:46 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [OS-webwork] Running WebWork on Sun ONE 
> Application Server 7
> 
> 
> No access exceptions are encountered.
> 
> On further tracing and comparison on the execution on 
> different environments (Resin and SunONE), I've noticed they 
> identical until the following line in 
> com.opensymphony.xwork.DefaultActionInvocation:127 .
> 
> OgnlUtil.setProperties(resultConfig.getParams(), result, 
> ActionContext.getContext().getContextMap());
> 
> I suspect that the location property might not be populated 
> in the initial context ?
> 
> ----- Original Message -----
> From: "Jason Carreira" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, September 10, 2003 3:40 AM
> Subject: RE: [OS-webwork] Running WebWork on Sun ONE 
> Application Server 7
> 
> 
> I'm not sure why it would fail there... The setLocation() 
> method is public on a public class... Did it give you any 
> access exceptions the first time?
> 
> > -----Original Message-----
> > From: Bernard Choi [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, September 09, 2003 1:39 PM
> > To: [EMAIL PROTECTED]
> > 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
> >
> 
> 
> -------------------------------------------------------
> 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
> 
> 
> 
> -------------------------------------------------------
> 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
> 


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