JBO-25222: Unable to create application module And ClassCastException in PropertyManager

(Doc ID 1411214.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle JDeveloper - Version 10.1.2.0.0 to 11.1.2.1.0 [Release Oracle10g to Oracle11g]
Information in this document applies to any platform.

Symptoms


Restarting an ADF application fails with the following error:

]] Root cause of ServletException.
oracle.jbo.JboException: JBO-25222: Unable to create application module.
       at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:174)
       at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:73)
       at oracle.jbo.common.ampool.ApplicationPoolImpl.instantiateResource(ApplicationPoolImpl.java:2767)
       at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:589)
       at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2327)
       at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2203)
...
Caused By: javax.naming.NamingException [Root exception is java.lang.ClassCastException: java.lang.Boolean cannot be cast to java.lang.String]
       at oracle.jbo.server.InitialContextImpl.createJboHome(InitialContextImpl.java:68)
       at oracle.jbo.common.JboInitialContext.lookup(JboInitialContext.java:73)
       at javax.naming.InitialContext.lookup(InitialContext.java:392)
       at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:155)
...
Caused By: java.lang.ClassCastException: java.lang.Boolean cannot be cast to java.lang.String
       at oracle.jbo.common.PropertyManager.loadStaticEnvironmentFromProperties(PropertyManager.java:404)
       at oracle.jbo.common.PropertyManager.loadProperties(PropertyManager.java:232)
       at oracle.jbo.server.SessionImpl.init(SessionImpl.java:153)
...


This happens

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms