0 Replies Latest reply on Jul 31, 2017 6:11 AM by islamfawzi

    deploy on weblogic 12 problem

    islamfawzi

      Hi All,

       

      I have a project working with Seam 2.0 and we need to deploy it on weblogic 12.2.1.2

       

      it is working fine on weblogic 10.3.6 and weblogic 12.1.3

       

      hint: I am using Ant for build and deploy

       

      but when I deploy it on weblogic 12.2.1.2  I get those errors:

       

      [wldeploy] Exception in thread "main" weblogic.Deployer$DeployerException: weblogic.deploy.api.tools.deployer.DeployerException: Task 0 failed: [Deployer:149026]deploy application webtt_Ant on AdminServer.

      [wldeploy] Target state: deploy failed on Server AdminServer

      [wldeploy] weblogic.application.ModuleException: org.glassfish.jersey.server.model.ModelValidationException: Validation of the application resource model has failed during application initialization.

      [wldeploy] [[WARNING] Parameter 1 of type org.jboss.seam.framework.Query<?, T> from public void org.jboss.seam.resteasy.ResourceQuery.setEntityQuery(org.jboss.seam.framework.Query<?, T>) is not resolvable to a concrete type.; source='public void org.jboss.seam.resteasy.ResourceQuery.setEntityQuery(org.jboss.seam.framework.Query)', [WARNING] Parameter 1 of type org.jboss.seam.framework.Home<?, T> from public void org.jboss.seam.resteasy.ResourceHome.setEntityHome(org.jboss.seam.framework.Home<?, T>) is not resolvable to a concrete type.; source='public void org.jboss.seam.resteasy.ResourceHome.setEntityHome(org.jboss.seam.framework.Home)', [FATAL] A resource model has ambiguous (sub-)resource method for HTTP method GET and input mime-types as defined by"@Consumes" and "@Produces" annotations at Java methods public javax.ws.rs.core.Response org.jboss.seam.resteasy.ResourceHome.getResource(java.lang.String) and public javax.ws.rs.core.Response org.jboss.resteasy.core.AsynchronousDispatcher.get(long,java.lang.String) at matching regular expression /([^/]+). These two methods produces and consumes exactly the same mime-types and therefore their invocation as a resource methods will always fail.; source='org.glassfish.jersey.server.model.RuntimeResource@2f8cbe4b', [HINT] A resource model has ambiguous (sub-)resource method for HTTP method DELETE and output mime-types as defined by @Produces annotation at Java methods public javax.ws.rs.core.Response org.jboss.seam.resteasy.ResourceHome.deleteResource(java.lang.String) and public void org.jboss.resteasy.core.AsynchronousDispatcher.remove(java.lang.String) at matching path pattern /([^/]+).; source='org.glassfish.jersey.server.model.RuntimeResource@2f8cbe4b']:org.glassfish.jersey.server.model.ModelValidationException:Validation of the application resource model has failed during application initialization.

      [wldeploy] [[WARNING] Parameter 1 of type org.jboss.seam.framework.Query<?, T> from public void org.jboss.seam.resteasy.ResourceQuery.setEntityQuery(org.jboss.seam.framework.Query<?, T>) is not resolvable to a concrete type.; source='public void org.jboss.seam.resteasy.ResourceQuery.setEntityQuery(org.jboss.seam.framework.Query)', [WARNING] Parameter 1 of type org.jboss.seam.framework.Home<?, T> from public void org.jboss.seam.resteasy.ResourceHome.setEntityHome(org.jboss.seam.framework.Home<?, T>) is not resolvable to a concrete type.; source='public void org.jboss.seam.resteasy.ResourceHome.setEntityHome(org.jboss.seam.framework.Home)', [FATAL] A resource model has ambiguous (sub-)resource method for HTTP method GET and input mime-types as defined by"@Consumes" and "@Produces" annotations at Java methods public javax.ws.rs.core.Response org.jboss.seam.resteasy.ResourceHome.getResource(java.lang.String) and public javax.ws.rs.core.Response org.jboss.resteasy.core.AsynchronousDispatcher.get(long,java.lang.String) at matching regular expression /([^/]+). These two methods produces and consumes exactly the same mime-types and therefore their invocation as a resource methods will always fail.; source='org.glassfish.jersey.server.model.RuntimeResource@2f8cbe4b', [HINT] A resource model has ambiguous (sub-)resource method for HTTP method DELETE and output mime-types as defined by @Produces annotation at Java methods public javax.ws.rs.core.Response org.jboss.seam.resteasy.ResourceHome.deleteResource(java.lang.String) and public void org.jboss.resteasy.core.AsynchronousDispatcher.remove(java.lang.String) at matching path pattern /([^/]+).; source='org.glassfish.jersey.server.model.RuntimeResource@2f8cbe4b']

      [wldeploy] at weblogic.Deployer.run(Deployer.java:76)

      [wldeploy] at weblogic.Deployer.mainWithExceptions(Deployer.java:63)

      [wldeploy] at weblogic.ant.taskdefs.management.DeployerWrapper.main(DeployerWrapper.java:14)

      [wldeploy] Caused by: weblogic.deploy.api.tools.deployer.DeployerException: Task 0 failed: [Deployer:149026]deploy application webtt_Ant on AdminServer.

       

      thanks in advance