Hi Devs, I have followed the blog in [1] to enable the Java Security Manager in AM 2.1.0 WUM updated pack. But the server doesn't startup after doing this. I even tried using default wso2carbon.jks, still no luck.
I have properly added the grant signedBy "alias" too as below. * grant signedBy "wso2carbon" {* * permission java.security.AllPermission;* * };* Any idea why this is happening? JAVA_HOME environment variable is set to /usr/lib/jvm/jdk1.8.0_77 CARBON_HOME environment variable is set to /home/prakhash/.wum-wso2/products/wso2am/2.1.0/wso2am-2.1.0 Using Java memory options: -Xms256m -Xmx1024m Property pattern javax.net.ssl.trustStore is restricted for tenant code. Property pattern javax.net.ssl.trustStorePassword is restricted for tenant code. Property pattern denied.system.properties is restricted for tenant code. java.security.AccessControlException - klass: 'java/security/AccessControlException' # # A fatal error has been detected by the Java Runtime Environment: # # Internal Error (exceptions.cpp:427), pid=29654, tid=140171148142336 # fatal error: ExceptionMark destructor expects no pending exceptions # # JRE version: Java(TM) SE Runtime Environment (8.0_77-b03) (build 1.8.0_77-b03) # Java VM: Java HotSpot(TM) 64-Bit Server VM (25.77-b03 mixed mode linux-amd64 compressed oops) # Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again # # An error report file with more information is saved as: # /home/prakhash/.wum-wso2/products/wso2am/2.1.0/wso2am-2.1.0/hs_err_pid29654.log # # If you would like to submit a bug report, please visit: # http://bugreport.java.com/bugreport/crash.jsp # Aborted (core dumped) [1] http://sanjeewamalalgoda.blogspot.com/2014/12/how-to-run-wso2-api-manager-180-with.html Thanks, Prakhash -- Prakhash Sivakumar Software Engineer | WSO2 Inc Platform Security Team Mobile : +94771510080 Blog : https://medium.com/@PrakhashS
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev