Symptom
When starting ASE Cockpit, the following message is reported:
Exception in thread "main" java.lang.ExceptionInInitializerError
at com.sybase.scc.instance.cli.Main.discoverEnvironment(Unknown Source)
at com.sybase.scc.instance.cli.Main.start(Unknown Source)
at com.sybase.scc.instance.cli.Main.main(Unknown Source)
Caused by: java.lang.SecurityException: Write permission denied: /
at com.sybase.ua.util.FileUtil.getValidDirectoryName(Unknown Source)
at com.sybase.ua.util.FileUtil.getValidDirectoryName(Unknown Source)
at com.sybase.ua.util.EnvironmentManager.discoverUserDirectory(Unknown Source)
at com.sybase.ua.util.EnvironmentManager.<clinit>(Unknown Source)
... 3 more
Exception in thread "main" java.lang.ExceptionInInitializerError
at com.sybase.ua.startup.Startup.discoverAgentHomeDirectory(Unknown Source)
at com.sybase.ua.startup.Startup.<init>(Unknown Source)
at com.sybase.ua.startup.Startup.<clinit>(Unknown Source)
Caused by: java.lang.SecurityException: Write permission denied: /
at com.sybase.ua.util.FileUtil.getValidDirectoryName(Unknown Source)
at com.sybase.ua.util.FileUtil.getValidDirectoryName(Unknown Source)
at com.sybase.ua.util.EnvironmentManager.discoverUserDirectory(Unknown Source)
at com.sybase.ua.util.EnvironmentManager.<clinit>(Unknown Source)
... 3 more
Read more...
Environment
SAP Adaptive Server Enterprise (ASE) 16.0
Product
Keywords
Cockpit, start, Write permission, denied, cockpit.sh, java, Main.discoverEnvironment, fail, failed, CR792988, CR#792988, 792988 , KBA , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.