Showing posts with label Fixing Java WebConsole ZFS Administration on Solaris Express. Show all posts
Showing posts with label Fixing Java WebConsole ZFS Administration on Solaris Express. Show all posts

Wednesday, December 16, 2009

Fixing Java WebConsole ZFS Administration on Solaris Express

Application Error
com.iplanet.jato.NavigationException: Exception encountered during forward
Root cause = [java.lang.IllegalArgumentException: No enum const class com.sun.zfs.common.model.AclInheritProperty$AclInherit.restricted]
Notes for application developers:

    * To prevent users from seeing this error message, override the onUncaughtException() method in the module servlet and take action specific to the application
    * To see a stack trace from this error, see the source for this page

Generated Sun Jun 22 14:22:44 EEST 2008

If this happens to you, you need to set acl inherit to passthrough:

# zfs set aclinherit=passthrough rpool

Now WebConsole ZFS Admin will work.

You also need to make sure the webconsole serivce is enabled before you can use it:

# svcs -a | grep webconsole
disabled 15:32:25 svc:/system/webconsole:console

# svcadm enable webconsole

# svcs -xv webconsole
svc:/system/webconsole:console (java web console)
State: online since Sun Jun 22 15:34:40 2008
See: man -M /usr/share/man -s 1M smcwebserver
See: /var/svc/log/system-webconsole:console.log
Impact: None.