1 Reply Latest reply on Jul 26, 2013 4:42 PM by Kosta-Oracle

    Unable to publish war deployment to wls 10.3.5 on Kepler version

    user11200837

      Hi

       

      I'm getting an exception on an existing project when publishing to WLS runtime from Eclipse Kepler

       

      Error :

      java.lang.ExceptionInInitializerError

        at oracle.eclipse.tools.weblogic.server.internal.util.FacetUtil.hasWebLogicGarFacet(FacetUtil.java:65)

        at oracle.eclipse.tools.weblogic.server.internal.GenerationOperation.addModuleToAutoGeneratedEarApplication(GenerationOperation.java:310)

        at oracle.eclipse.tools.weblogic.server.internal.GenerationOperation.processRootModule(GenerationOperation.java:128)

        at oracle.eclipse.tools.weblogic.server.model.WeblogicPublishOperation.execute(WeblogicPublishOperation.java:92)

        at oracle.eclipse.tools.weblogic.server.internal.WeblogicServerBehaviour.performTasks(WeblogicServerBehaviour.java:1336)

        at oracle.eclipse.tools.weblogic.server.internal.WeblogicServerBehaviour.publishToServer(WeblogicServerBehaviour.java:877)

        at oracle.eclipse.tools.weblogic.server.internal.WeblogicServerBehaviour.publishOnce(WeblogicServerBehaviour.java:708)

        at oracle.eclipse.tools.weblogic.server.internal.WeblogicServerBehaviour.publish(WeblogicServerBehaviour.java:555)

        at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:774)

        at org.eclipse.wst.server.core.internal.Server.publishImpl(Server.java:3153)

        at org.eclipse.wst.server.core.internal.Server$PublishJob.run(Server.java:345)

        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)

      Caused by: java.lang.IllegalArgumentException: Project facet oracle.coherence.gar has not been defined.

        at org.eclipse.wst.common.project.facet.core.internal.FacetedProjectFrameworkImpl.getProjectFacet(FacetedProjectFrameworkImpl.java:234)

        at org.eclipse.wst.common.project.facet.core.ProjectFacetsManager.getProjectFacet(ProjectFacetsManager.java:75)

        at oracle.eclipse.tools.weblogic.facets.WlsGarFacet.<clinit>(WlsGarFacet.java:44)

        ... 12 more

       

      Where can I set/unset the coherence gar facet ??