Glassfish reports an error "Error occurred during checking if the instance is
CAS or not." Deployment of the app was migrated from NetBeans 5.5 to NB 6.0, but
I can not reproduce the sequence of changes from 5.5 to 6.0 to reproduce this
error. I think it is reported from
The log level is severe, but I can not determine if this is the root of the
1) The final comment in the method says the return should never be reached.
This comment probably belongs in the catch clause.
2) There is no additional message in the log warning so I guess it is an NPE.
3) What's CAS? Central Admin Server? Probably would not hurt to use words
instead of acronyms for unexpected errors