[ https://issues.apache.org/jira/browse/TUSCANY-2290?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dan Becker updated TUSCANY-2290: -------------------------------- Attachment: (was: TUSCANY-2290.1.patch) > Java 2 Security enablement for Tuscany sample (part 1) > ------------------------------------------------------ > > Key: TUSCANY-2290 > URL: https://issues.apache.org/jira/browse/TUSCANY-2290 > Project: Tuscany > Issue Type: Bug > Affects Versions: Java-SCA-1.2 > Environment: Windows, Java 1.5 > Reporter: Dan Becker > Fix For: Java-SCA-Next > > Attachments: TUSCANY-2290.3.patch > > > Fix security issues that arise in Tuscany samples when Java 2 security is > turned on via > -java.security.manager -Djava.security.policy=tuscany.policy > -Dpolicy.allowSystemProperty=true > A typical exception might be for sample helloworld sdo ws > Problems trying to access System properties: > java.security.AccessControlException: access denied > (java.util.PropertyPermission java.specification.version read) > java.lang.NoClassDefFoundError > at > org.apache.tuscany.sca.databinding.sdo.SDODataBinding.introspect(SDODataBinding.java:61) > at > org.apache.tuscany.sca.databinding.DefaultDataBindingExtensionPoint$LazyDataBinding.introspect(DefaultDataBindingExtensionPoint.java:191) > at > org.apache.tuscany.sca.databinding.DefaultDataBindingExtensionPoint.introspectType(DefaultDataBindingExtensionPoint.java:246) > at > org.apache.tuscany.sca.databinding.DefaultDataBindingExtensionPoint.introspectType(DefaultDataBindingExtensionPoint.java:202) > at > org.apache.tuscany.sca.core.databinding.processor.DataBindingJavaInterfaceProcessor.processInterface(DataBindingJavaInterfaceProcessor.java:116) > at > org.apache.tuscany.sca.core.databinding.processor.DataBindingJavaInterfaceProcessor.visitInterface(DataBindingJavaInterfaceProcessor.java:58) > at > org.apache.tuscany.sca.interfacedef.java.impl.JavaInterfaceIntrospectorImpl.introspectInterface(JavaInterfaceIntrospectorImpl.java:113) > at > org.apache.tuscany.sca.interfacedef.java.impl.JavaInterfaceFactoryImpl.createJavaInterface(JavaInterfaceFactoryImpl.java:48) > at > org.apache.tuscany.sca.implementation.java.introspect.impl.ServiceProcessor.createService(ServiceProcessor.java:159) > at > org.apache.tuscany.sca.implementation.java.introspect.impl.ServiceProcessor.visitClass(ServiceProcessor.java:90) > at > org.apache.tuscany.sca.implementation.java.impl.JavaClassIntrospectorImpl.introspectClass(JavaClassIntrospectorImpl.java:72) > at > org.apache.tuscany.sca.implementation.java.impl.JavaImplementationFactoryImpl.createJavaImplementation(JavaImplementationFactoryImpl.java:53) > at > org.apache.tuscany.sca.implementation.java.xml.JavaImplementationProcessor.resolve(JavaImplementationProcessor.java:152) > at > org.apache.tuscany.sca.implementation.java.xml.JavaImplementationProcessor.resolve(JavaImplementationProcessor.java:63) > ... -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.