Re: AccessControlException when starting embedded Tomcat from Java Webstart

2012-03-26 Thread Witoslaw Koczewski
> For example, have you tried expanding *all* the JAR files that ship with > Tomcat and then re-assembling them into your single kunagi.jar? This is exactly what I do. And my JNLP requires all-permissions. My application can open ports, read and delete all files - but not start the embedded Tomca

Re: AccessControlException when starting embedded Tomcat from Java Webstart

2012-03-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Witoslaw, On 3/26/12 12:25 PM, Christopher Schultz wrote: > I have no idea how to do [customize the policy]. Looks like you can't: http://lopica.sourceforge.net/faq.html#policy You could try separately signing the Tomcat JAR files yourself and see

Re: AccessControlException when starting embedded Tomcat from Java Webstart

2012-03-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pid, On 3/26/12 11:07 AM, Pid wrote: > On 26/03/2012 15:46, Witoslaw Koczewski wrote: >> >> Is there perhaps a central place in the Tomcat source code where >> the switch is evaluated, so I can rename it or hard-code it to >> "false"? > > No. The

Re: AccessControlException when starting embedded Tomcat from Java Webstart

2012-03-26 Thread Pid
On 26/03/2012 15:46, Witoslaw Koczewski wrote: >>> Shouldn't there be a switch in Tomcat to turn off this checks? >> >> Why? If you don't want the Security Manager, don't turn it on. > > I don't, WebStart does. Usualy when I turn on a feature in software A, I > don't expect it to affect software

RE: AccessControlException when starting embedded Tomcat from Java Webstart

2012-03-26 Thread Caldarale, Charles R
> From: Witoslaw Koczewski [mailto:w...@koczewski.de] > Subject: Re: AccessControlException when starting embedded Tomcat from Java > Webstart > Usualy when I turn on a feature in software A, I don't expect > it to affect software B. You're not turning on a feature

Re: AccessControlException when starting embedded Tomcat from Java Webstart

2012-03-26 Thread Witoslaw Koczewski
> > Shouldn't there be a switch in Tomcat to turn off this checks? > > Why? If you don't want the Security Manager, don't turn it on. I don't, WebStart does. Usualy when I turn on a feature in software A, I don't expect it to affect software B. Logging for example can be configured separately.

Re: AccessControlException when starting embedded Tomcat from Java Webstart

2012-03-26 Thread Pid
On 26/03/2012 12:43, Witoslaw Koczewski wrote: >> On 26/03/2012 11:12, Witoslaw Koczewski wrote: There's a file called catalina.policy in tomcat/conf, which has some rules in it. You'll need compare those rules to the ones implemented in the client's policy file to work out what you

Re: AccessControlException when starting embedded Tomcat from Java Webstart

2012-03-26 Thread Witoslaw Koczewski
> On 26/03/2012 11:12, Witoslaw Koczewski wrote: > >> There's a file called catalina.policy in tomcat/conf, which has some > >> rules in it. You'll need compare those rules to the ones implemented in > >> the client's policy file to work out what you need to add. > > > > Since I am using embedded

Re: AccessControlException when starting embedded Tomcat from Java Webstart

2012-03-26 Thread Pid
On 26/03/2012 11:12, Witoslaw Koczewski wrote: >> There's a file called catalina.policy in tomcat/conf, which has some >> rules in it. You'll need compare those rules to the ones implemented in >> the client's policy file to work out what you need to add. > > Since I am using embedded Tomcat, the

Re: AccessControlException when starting embedded Tomcat from Java Webstart

2012-03-26 Thread Witoslaw Koczewski
> There's a file called catalina.policy in tomcat/conf, which has some > rules in it. You'll need compare those rules to the ones implemented in > the client's policy file to work out what you need to add. Since I am using embedded Tomcat, there is no catalina.policy :-( Can't I just disable the

Re: AccessControlException when starting embedded Tomcat from Java Webstart

2012-03-26 Thread Pid
On 26/03/2012 10:32, Witoslaw Koczewski wrote: > Hello, > > for our Kunagi Java web application we have a signed kunagi.jar file which > contains our classes together with classes from embedded Tomcat 6. This runs > perfectly when calling java -jar kunagi.jar. > > But when starting it with Java