You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 28, 2018. It is now read-only.
We have one web application which has some dependencies on apache wink 1.2, which is built using JAX-RS1.
We recently upgraded the weblogic to 12.2.1 which has inbuilt Jersey2.x , we started getting following exception at the time of deployment,
[[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 org.apache.wink.common.model.app.AppService org.apache.wink.server.internal.resources
.RootResource.getServiceDocument(javax.ws.rs.core.UriInfo) and public org.apache.wink.common.model.app.AppService org.apache.wink.se
rver.internal.resources.RootResource.getServiceDocument(javax.ws.rs.core.UriInfo) at matching regular expression /. These two method
s 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@64b1c9e6']
at org.glassfish.jersey.server.ApplicationHandler.initialize(ApplicationHandler.java:555)
at org.glassfish.jersey.server.ApplicationHandler.access$500(ApplicationHandler.java:184)
at org.glassfish.jersey.server.ApplicationHandler$3.call(ApplicationHandler.java:350)
at org.glassfish.jersey.server.ApplicationHandler$3.call(ApplicationHandler.java:347)
at org.glassfish.jersey.internal.Errors.process(Errors.java:315)
Truncated. see log file for complete stacktrace
<Mar 9, 2018, 2:46:07,468 AM EST> <Unable to set the activation state to true for the application "p
roducts".
weblogic.application.ModuleException: org.glassfish.jersey.server.model.ModelValidationException: Validation of the application reso
urce model has failed during application initialization.
[[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 org.apache.wink.common.model.app.AppService org.apache.wink.server.internal.resources
.RootResource.getServiceDocument(javax.ws.rs.core.UriInfo) and public org.apache.wink.common.model.app.AppService org.apache.wink.se
rver.internal.resources.RootResource.getServiceDocument(javax.ws.rs.core.UriInfo) at matching regular expression /. These two method
s 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@64b1c9e6']
at weblogic.application.internal.ExtensibleModuleWrapper.start(ExtensibleModuleWrapper.java:140)
at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:124)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:233)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:228)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:45)
Truncated. see log file for complete stacktrace
Caused By: org.glassfish.jersey.server.model.ModelValidationException: Validation of the application resource model has failed durin
g application initialization.
[[FATAL] A resource model has ambiguous (sub-)resource method for HTTP method GET and input mime-types as defined by"@consumes" and
Can anyone help me here?
Thanks in advance,
Pallavi
The text was updated successfully, but these errors were encountered:
products.zip
Hi,
We have one web application which has some dependencies on apache wink 1.2, which is built using JAX-RS1.
We recently upgraded the weblogic to 12.2.1 which has inbuilt Jersey2.x , we started getting following exception at the time of deployment,
[[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 org.apache.wink.common.model.app.AppService org.apache.wink.server.internal.resources
.RootResource.getServiceDocument(javax.ws.rs.core.UriInfo) and public org.apache.wink.common.model.app.AppService org.apache.wink.se
rver.internal.resources.RootResource.getServiceDocument(javax.ws.rs.core.UriInfo) at matching regular expression /. These two method
s 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@64b1c9e6']
at org.glassfish.jersey.server.ApplicationHandler.initialize(ApplicationHandler.java:555)
at org.glassfish.jersey.server.ApplicationHandler.access$500(ApplicationHandler.java:184)
at org.glassfish.jersey.server.ApplicationHandler$3.call(ApplicationHandler.java:350)
at org.glassfish.jersey.server.ApplicationHandler$3.call(ApplicationHandler.java:347)
at org.glassfish.jersey.internal.Errors.process(Errors.java:315)
Truncated. see log file for complete stacktrace
<Mar 9, 2018, 2:46:07,468 AM EST> <Unable to set the activation state to true for the application "p
roducts".
weblogic.application.ModuleException: org.glassfish.jersey.server.model.ModelValidationException: Validation of the application reso
urce model has failed during application initialization.
[[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 org.apache.wink.common.model.app.AppService org.apache.wink.server.internal.resources
.RootResource.getServiceDocument(javax.ws.rs.core.UriInfo) and public org.apache.wink.common.model.app.AppService org.apache.wink.se
rver.internal.resources.RootResource.getServiceDocument(javax.ws.rs.core.UriInfo) at matching regular expression /. These two method
s 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@64b1c9e6']
at weblogic.application.internal.ExtensibleModuleWrapper.start(ExtensibleModuleWrapper.java:140)
at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:124)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:233)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:228)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:45)
Truncated. see log file for complete stacktrace
Caused By: org.glassfish.jersey.server.model.ModelValidationException: Validation of the application resource model has failed durin
g application initialization.
[[FATAL] A resource model has ambiguous (sub-)resource method for HTTP method GET and input mime-types as defined by"@consumes" and
Can anyone help me here?
Thanks in advance,
Pallavi
The text was updated successfully, but these errors were encountered: