Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Exception while loading the app : java.lang.IllegalStateException: ContainerBase.addChild

2950496Feb 4 2016 — edited May 23 2016

Hi All,

I migrated my project from jdev 12.1.3 to jdev 12.2.1 .It got successfully migrated and smoothly running on Weblogic without any pain.

I have installed Glassfish 3.1.2.2 and made an ear and try to deploy on Glassfish but i am getting the error as:

[#|2016-02-04T15:38:07.045+0530|WARNING|glassfish3.1.2|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=83;_ThreadName=Thread-2;|java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: java.lang.NoSuchMethodError: org.glassfish.internal.api.Globals.getDefaultHabitat()Lorg/glassfish/hk2/api/ServiceLocator;

java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: java.lang.NoSuchMethodError: org.glassfish.internal.api.Globals.getDefaultHabitat()Lorg/glassfish/hk2/api/ServiceLocator.

But the same project we use to make ear in jdev 12.1.3 and deploy on to the glass fish its working fine.

I have updated the ADF Essentials library for 12.2.1 as well in Glassfish lib .

glassfishError.PNG

Can any one Please let me know what causing this issue.

Thanks,

Amar

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 17 2016
Added on Feb 4 2016
3 comments
3,189 views