thanks, it works! Also using stratos service signjar profile is another option. :)
thanks, On Thu, Mar 22, 2012 at 9:40 PM, Supun Malinga <[email protected]> wrote: > > > On Thu, Mar 22, 2012 at 9:37 PM, Muhammed Shariq <[email protected]> wrote: > >> This is because we don't sign the jars during the build anymore. Since >> security manager is enabled in Stratos AS you need to sign the jars using >> wso2carbon.jks .. I have attached a ant script that you could use for this >> purpose, just give a valid keystore path ... > > > great! > Didn't see this until I sent my previous reply. > > thanks, > >> >> >> On Thu, Mar 22, 2012 at 7:46 PM, Supun Malinga <[email protected]> wrote: >> >>> sec.policy is there >>> Will check the permissions. >>> >>> >>> On Thu, Mar 22, 2012 at 7:39 PM, Prabath Abeysekera >>> <[email protected]>wrote: >>> >>>> Hi Supun, >>>> >>>> On Thu, Mar 22, 2012 at 7:31 PM, Supun Malinga <[email protected]> wrote: >>>> >>>>> Hi, >>>>> >>>>> Looks like security permissions are not set for lib dir. Jars are all >>>>> signed. >>>>> >>>> >>>> Check whether the sec.policy file is properly placed in repository/conf >>>> directory. If so, double check whether the read permission has been >>>> properly granted in the aforementioned file. >>>> >>>> >>>>> stack, >>>>> JAVA_HOME environment variable is set to >>>>> /home/disk1/Programs/jdk1.6.0_24 >>>>> CARBON_HOME environment variable is set to >>>>> /home/supun/smoke/stratos/wso2stratos-as-1.1.0-SNAPSHOT >>>>> java.security.AccessControlException: access denied >>>>> (java.io.FilePermission >>>>> /home/supun/smoke/stratos/wso2stratos-as-1.1.0-SNAPSHOT/lib read) >>>>> at >>>>> java.security.AccessControlContext.checkPermission(AccessControlContext.java:374) >>>>> at >>>>> java.security.AccessController.checkPermission(AccessController.java:546) >>>>> at >>>>> java.lang.SecurityManager.checkPermission(SecurityManager.java:532) >>>>> at java.lang.SecurityManager.checkRead(SecurityManager.java:871) >>>>> at java.io.File.isDirectory(File.java:752) >>>>> at java.io.File.toURI(File.java:661) >>>>> at org.wso2.carbon.bootstrap.Bootstrap.addFileUrl(Bootstrap.java:84) >>>>> at >>>>> org.wso2.carbon.bootstrap.Bootstrap.addClassPathEntries(Bootstrap.java:73) >>>>> at org.wso2.carbon.bootstrap.Bootstrap.loadClass(Bootstrap.java:49) >>>>> at org.wso2.carbon.bootstrap.Bootstrap.main(Bootstrap.java:43) >>>>> >>>>> thanks, >>>>> -- >>>>> Supun Malinga, >>>>> >>>>> Software Engineer, >>>>> WSO2 Inc. >>>>> http://wso2.com >>>>> http://wso2.org >>>>> email - [email protected] <[email protected]> >>>>> mobile - 071 56 91 321 >>>>> >>>>> >>>>> _______________________________________________ >>>>> Dev mailing list >>>>> [email protected] >>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>>> >>>>> >>>> >>>> >>>> -- >>>> Prabath Abeysekara >>>> Software Engineer >>>> WSO2 Inc. >>>> Email: [email protected] <[email protected]> >>>> Mobile: +94774171471 >>>> >>>> <http://harshana05.blogspot.com/> >>>> >>>> >>> >>> >>> -- >>> Supun Malinga, >>> >>> Software Engineer, >>> WSO2 Inc. >>> http://wso2.com >>> http://wso2.org >>> email - [email protected] <[email protected]> >>> mobile - 071 56 91 321 >>> >>> >>> _______________________________________________ >>> Dev mailing list >>> [email protected] >>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>> >>> >> >> >> -- >> Thanks, >> Shariq. >> Phone: +94 777 202 225 >> >> > > > -- > Supun Malinga, > > Software Engineer, > WSO2 Inc. > http://wso2.com > http://wso2.org > email - [email protected] <[email protected]> > mobile - 071 56 91 321 > > -- Supun Malinga, Software Engineer, WSO2 Inc. http://wso2.com http://wso2.org email - [email protected] <[email protected]> mobile - 071 56 91 321
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
