Products | Versions |
---|---|
TIBCO Administrator | - |
Not Applicable | - |
Resolution:
Description:
============
When trying to create a new application domain, the admin server throws the error:
java.lang.ClassCastException: com.tibco.pof.admindomain.impl.AdminDomainImpl cannot be cast to com.tibco.pof.entity.impl.AppDomain
Environment:
===========
Administrator 5.7 or higher
Cause:
=====
Attempting to create an application domain using a admin domain name that already exists.
Admin server is trying to cast an object to the wrong class. When a user try to create an application domain, the admin server will attempt to create that object with the domain name provided in the input parameter. If user is using an existing domain name, the admin server will try to cast the object with that name. If that domain object is an existing admin domain (different class than application domain) the server then will throw the error. This is because admin domain is implemented in a different class than application domain.
Resolution:
==========
Use a non existing domain name when trying to create a new application domain.