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