You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jspwiki.apache.org by Alex Samad <al...@samad.com.au> on 2008/12/12 05:04:12 UTC

New install

Hi


In the process of installing a new copy of 2.8.1 (on a clean deb i386
machine with tomcat 5.5 and java 6 - actually a Virtualbox vm )

Seems like at some point in time the deb guys decided to turn on java
security and this seems to be causing me no end of problems :)


I have tried the sledge hammer approach (war file was unpacked into
<webapps>/Wiki and I modified the jspwiki.properties to change the local
of the page & the attachements - but haven't changed the baseurl yet) so
I have added this to the security file
/etc/tomcat/policy.d/50user.policy

grant codeBase "file:${catalina.home}/webapps/Wiki/-" {
        permission java.security.AllPermission;
};


from what I can gather this should give jspwiki (Wiki) full right to do
what it wants, but it still fails.

I would like to try and keep the default debian tomcat setup

anyone have an idea ?


Thanks



-- 
Life is like a tin of sardines.  We're, all of us, looking for the key.
		-- Beyond the Fringe

Re: New install

Posted by Alex Samad <al...@samad.com.au>.
Hi

Okay, I remember there had been problem from th3 2.4 (2.5) days, thought
by setting allow all permissions that would work

Just me and my limited knowledge in this area, so i guess what I am
hearing is turn it off and then some time in v3 days it will be looked
at 

Alex

On Fri, Dec 12, 2008 at 12:25:26AM -0500, Andrew Jaquith wrote:
> Alex --
> JSPWiki doesn't run nicely under a SecurityManager. The explanation is
> rather complicated, but frankly there's no way to do this easily. There's an
> open bug on this in JIRA, and it's been open for a while. At present it's
> scheduled to be fixed in the 3.0 timeframe, but that won't be for quite a
> while.
> 
> Andrew
> 
> On Thu, Dec 11, 2008 at 11:04 PM, Alex Samad <al...@samad.com.au> wrote:
> 
> > Hi
> >
> >
> > In the process of installing a new copy of 2.8.1 (on a clean deb i386
> > machine with tomcat 5.5 and java 6 - actually a Virtualbox vm )
> >
> > Seems like at some point in time the deb guys decided to turn on java
> > security and this seems to be causing me no end of problems :)
> >
> >
> > I have tried the sledge hammer approach (war file was unpacked into
> > <webapps>/Wiki and I modified the jspwiki.properties to change the local
> > of the page & the attachements - but haven't changed the baseurl yet) so
> > I have added this to the security file
> > /etc/tomcat/policy.d/50user.policy
> >
> > grant codeBase "file:${catalina.home}/webapps/Wiki/-" {
> >        permission java.security.AllPermission;
> > };
> >
> >
> > from what I can gather this should give jspwiki (Wiki) full right to do
> > what it wants, but it still fails.
> >
> > I would like to try and keep the default debian tomcat setup
> >
> > anyone have an idea ?
> >
> >
> > Thanks
> >
> >
> >
> > --
> > Life is like a tin of sardines.  We're, all of us, looking for the key.
> >                -- Beyond the Fringe
> >
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v1.4.9 (GNU/Linux)
> >
> > iEYEARECAAYFAklB4rwACgkQkZz88chpJ2OEhwCfWWvRsjmcxDm5i4/C0IfxM+UD
> > F1EAn0lPuDAYp+ETlk8pMYxnqeQj/QGd
> > =XCRi
> > -----END PGP SIGNATURE-----
> >
> >

-- 
"What I think the president ought to do [when gas prices spike] is he ought to get on the phone with the OPEC cartel and say we expect you to open your spigots."

	- George W. Bush
01/26/2006
Manchester, NH
in a Republican Primary debate

Re: New install

Posted by Andrew Jaquith <an...@gmail.com>.
Alex --
JSPWiki doesn't run nicely under a SecurityManager. The explanation is
rather complicated, but frankly there's no way to do this easily. There's an
open bug on this in JIRA, and it's been open for a while. At present it's
scheduled to be fixed in the 3.0 timeframe, but that won't be for quite a
while.

Andrew

On Thu, Dec 11, 2008 at 11:04 PM, Alex Samad <al...@samad.com.au> wrote:

> Hi
>
>
> In the process of installing a new copy of 2.8.1 (on a clean deb i386
> machine with tomcat 5.5 and java 6 - actually a Virtualbox vm )
>
> Seems like at some point in time the deb guys decided to turn on java
> security and this seems to be causing me no end of problems :)
>
>
> I have tried the sledge hammer approach (war file was unpacked into
> <webapps>/Wiki and I modified the jspwiki.properties to change the local
> of the page & the attachements - but haven't changed the baseurl yet) so
> I have added this to the security file
> /etc/tomcat/policy.d/50user.policy
>
> grant codeBase "file:${catalina.home}/webapps/Wiki/-" {
>        permission java.security.AllPermission;
> };
>
>
> from what I can gather this should give jspwiki (Wiki) full right to do
> what it wants, but it still fails.
>
> I would like to try and keep the default debian tomcat setup
>
> anyone have an idea ?
>
>
> Thanks
>
>
>
> --
> Life is like a tin of sardines.  We're, all of us, looking for the key.
>                -- Beyond the Fringe
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
>
> iEYEARECAAYFAklB4rwACgkQkZz88chpJ2OEhwCfWWvRsjmcxDm5i4/C0IfxM+UD
> F1EAn0lPuDAYp+ETlk8pMYxnqeQj/QGd
> =XCRi
> -----END PGP SIGNATURE-----
>
>