Getting error/warning when using JAX RS based Liferay 7.4
Getting error/warning when using JAX RS based Liferay 7.4
https://liferay.dev/en/c/message_boards/find_thread?p_l_id=119785333&threadId=121625387
2024-03-28T22:57:44Z
2024-03-28T22:57:44Z
RE: Getting error/warning when using JAX RS based Liferay 7.4
Zsigmond Rab
https://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=121628578
2023-01-13T11:49:46Z
2023-01-13T10:37:50Z
<p>Hi Rajesh,</p>
<p>Isn't there any exception around these messages? Whenever I saw
messages like this here where some specific exceptions within the code
connected to the extensions.</p>
<p>Regards,</p>
<p>Zsigmond </p>
Zsigmond Rab
2023-01-13T10:37:50Z
Getting error/warning when using JAX RS based Liferay 7.4
Rajesh Chaurasia
https://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=121625386
2023-01-08T08:14:20Z
2023-01-08T08:14:19Z
<p>Hi </p>
<p>Getting error when using JAX RS based Liferay 7.1 module upgrade to 7.4</p>
<pre>
<code class="language-html">
2023-01-08 07:13:14.413 INFO [Refresh Thread: Equinox Container: f9735d67-f07f-4855-8fbf-5e6635c79d08][BundleStartStopLogger:77] STARTED kc.wellness.headless.foundation.impl_1.0.0 [1698]
2023-01-08 07:13:14.498 INFO [Refresh Thread: Equinox Container: f9735d67-f07f-4855-8fbf-5e6635c79d08][kcwellnessFoundationApplication:132] kcwellnessFoundationApplication Rest service activated
2023-01-08 07:13:14.527 WARN [Refresh Thread: Equinox Container: f9735d67-f07f-4855-8fbf-5e6635c79d08][AriesJaxrsServiceRuntime:253] Extension CachingServiceReference {__cachedProperties={osgi.jaxrs.application.select=(!(liferay.jackson=false)), service.id=2007, objectClass=[javax.ws.rs.ext.MessageBodyReader, javax.ws.rs.ext.MessageBodyWriter], osgi.jaxrs.name=jaxb-json, osgi.jaxrs.extension.select=null (cached), service.ranking=-2147483648, osgi.jaxrs.whiteboard.target=null (cached)}__serviceReference={javax.ws.rs.ext.MessageBodyReader, javax.ws.rs.ext.MessageBodyWriter}={osgi.jaxrs.media.type=application/json, service.id=2007, osgi.jaxrs.name=jaxb-json, service.pid=org.apache.aries.jax.rs.jackson, osgi.jaxrs.application.select=(!(liferay.jackson=false)), jackson.jaxrs.json.version=2.13.2, osgi.jaxrs.extension=true, jackson.jaxb.version=2.13.2, service.scope=prototype, service.ranking=-2147483648, service.bundleid=1132}__} is registered with error [Sanitized]
2023-01-08 07:13:14.528 WARN [Refresh Thread: Equinox Container: f9735d67-f07f-4855-8fbf-5e6635c79d08][AriesJaxrsServiceRuntime:253] Extension CachingServiceReference {__cachedProperties={osgi.jaxrs.application.select=(osgi.jaxrs.extension.select=\(osgi.jaxrs.name=Liferay.Vulcan\)), service.id=8680, objectClass=[javax.ws.rs.core.Feature], osgi.jaxrs.name=Liferay.Vulcan, osgi.jaxrs.extension.select=null (cached), service.ranking=null (cached), osgi.jaxrs.whiteboard.target=null (cached)}__serviceReference={javax.ws.rs.core.Feature}={osgi.jaxrs.application.select=(osgi.jaxrs.extension.select=\(osgi.jaxrs.name=Liferay.Vulcan\)), component.id=5187, component.name=com.liferay.portal.vulcan.internal.jaxrs.feature.VulcanFeature, osgi.jaxrs.extension=true, service.id=8680, _expressionConvert.target=(result.class.name=com.liferay.portal.kernel.search.filter.Filter), service.scope=prototype, osgi.jaxrs.name=Liferay.Vulcan, service.bundleid=1233}__} is registered with error [Sanitized]
2023-01-08 07:13:14.532 WARN [Refresh Thread: Equinox Container: f9735d67-f07f-4855-8fbf-5e6635c79d08][AriesJaxrsServiceRuntime:253] Extension CachingServiceReference {__cachedProperties={osgi.jaxrs.application.select=(!(liferay.access.control.disable=true)), service.id=2002, objectClass=[javax.ws.rs.ext.ExceptionMapper], osgi.jaxrs.name=null (cached), osgi.jaxrs.extension.select=null (cached), service.ranking=null (cached), osgi.jaxrs.whiteboard.target=null (cached)}__serviceReference={javax.ws.rs.ext.ExceptionMapper}={osgi.jaxrs.application.select=(!(liferay.access.control.disable=true)), component.id=4807, component.name=com.liferay.portal.remote.jaxrs.security.internal.exception.mapper.SecurityExceptionMapper, osgi.jaxrs.extension=true, service.id=2002, service.scope=bundle, service.bundleid=1125}__} is registered with error [Sanitized]
2023-01-08 07:13:14.533 WARN [Refresh Thread: Equinox Container: f9735d67-f07f-4855-8fbf-5e6635c79d08][AriesJaxrsServiceRuntime:253] Extension CachingServiceReference {__cachedProperties={osgi.jaxrs.application.select=(!(liferay.access.control.disable=true)), service.id=2001, objectClass=[javax.ws.rs.container.ContainerRequestFilter, javax.ws.rs.container.ContainerResponseFilter], osgi.jaxrs.name=Liferay.Access.Control, osgi.jaxrs.extension.select=null (cached), service.ranking=null (cached), osgi.jaxrs.whiteboard.target=null (cached)}__serviceReference={javax.ws.rs.container.ContainerRequestFilter, javax.ws.rs.container.ContainerResponseFilter}={osgi.jaxrs.application.select=(!(liferay.access.control.disable=true)), component.id=4806, component.name=com.liferay.portal.remote.jaxrs.security.internal.container.response.filter.AccessControlledContainerRequestResponseFilter, osgi.jaxrs.extension=true, service.id=2001, service.scope=prototype, osgi.jaxrs.name=Liferay.Access.Control, service.bundleid=1125}__} is registered with error [Sanitized]
2023-01-08 07:13:14.533 WARN [Refresh Thread: Equinox Container: f9735d67-f07f-4855-8fbf-5e6635c79d08][AriesJaxrsServiceRuntime:253] Extension CachingServiceReference {__cachedProperties={osgi.jaxrs.application.select=(!(liferay.oauth2=false)), service.id=1530, objectClass=[javax.ws.rs.core.Feature], osgi.jaxrs.name=Liferay.OAuth2, osgi.jaxrs.extension.select=null (cached), service.ranking=null (cached), osgi.jaxrs.whiteboard.target=null (cached)}__serviceReference={javax.ws.rs.core.Feature}={_defaultScopeDescriptor.target=(default=true), liferay.extension=OAuth2, component.name=com.liferay.oauth2.provider.scope.internal.jaxrs.feature.LiferayOAuth2OSGiFeature, service.id=1530, osgi.jaxrs.name=Liferay.OAuth2, osgi.jaxrs.application.select=(!(liferay.oauth2=false)), oauth2.service.access.policy.name=AUTHORIZED_OAUTH2_SAP, component.id=4596, osgi.jaxrs.extension=true, service.scope=prototype, service.bundleid=981}__} is registered with error [Sanitized]
2023-01-08 07:13:14.533 WARN [Refresh Thread: Equinox Container: f9735d67-f07f-4855-8fbf-5e6635c79d08][AriesJaxrsServiceRuntime:631] Errored extension CachingServiceReference {__cachedProperties={osgi.jaxrs.application.select=(|(&(!(oauth2.scope.checker.type=*))(!(oauth2.scopechecker.type=*)))(|(oauth2.scope.checker.type=http.method)(oauth2.scopechecker.type=http.method))), service.id=1524, objectClass=[javax.ws.rs.core.Feature], osgi.jaxrs.name=Liferay.OAuth2.HTTP.method.request.checker, osgi.jaxrs.extension.select=(osgi.jaxrs.name=Liferay.OAuth2), service.ranking=null (cached), osgi.jaxrs.whiteboard.target=null (cached)}__serviceReference={javax.ws.rs.core.Feature}={osgi.jaxrs.application.select=(|(&(!(oauth2.scope.checker.type=*))(!(oauth2.scopechecker.type=*)))(|(oauth2.scope.checker.type=http.method)(oauth2.scopechecker.type=http.method))), component.id=4589, component.name=com.liferay.oauth2.provider.rest.internal.jaxrs.feature.HttpMethodFeature, osgi.jaxrs.extension=true, service.id=1524, service.scope=prototype, osgi.jaxrs.extension.select=(osgi.jaxrs.name=Liferay.OAuth2), osgi.jaxrs.name=Liferay.OAuth2.HTTP.method.request.checker, ignore.missing.scopes=[HEAD,OPTIONS], service.bundleid=980}__} is gone [Sanitized]
2023-01-08 07:13:14.534 WARN [Refresh Thread: Equinox Container: f9735d67-f07f-4855-8fbf-5e6635c79d08][AriesJaxrsServiceRuntime:241] Resource CachingServiceReference {__cachedProperties={osgi.jaxrs.application.select=(osgi.jaxrs.name=kcwellnessFoundation), service.id=21931, service.scope=bundle, osgi.jaxrs.name=null (cached), osgi.jaxrs.extension.select=null (cached), osgi.jaxrs.whiteboard.target=null (cached)}__serviceReference={org.wellness.application.foundation.internal.resource.v1_0.OpenAPIResourceImpl}={api.version=v1.0, osgi.jaxrs.application.select=(osgi.jaxrs.name=kcwellnessFoundation), component.id=11639, component.name=org.wellness.application.foundation.internal.resource.v1_0.OpenAPIResourceImpl, service.id=21931, service.scope=bundle, osgi.jaxrs.resource=true, service.bundleid=1698}__} is registered with error [Sanitized]
2023-01-08 07:13:14.534 WARN [Refresh Thread: Equinox Container: f9735d67-f07f-4855-8fbf-5e6635c79d08][AriesJaxrsServiceRuntime:241] Resource CachingServiceReference {__cachedProperties={osgi.jaxrs.application.select=(osgi.jaxrs.name=kcwellnessFoundation), service.id=21929, service.scope=prototype, osgi.jaxrs.name=null (cached), osgi.jaxrs.extension.select=null (cached), osgi.jaxrs.whiteboard.target=null (cached), org.apache.aries.jax.rs.whiteboard.application.scoped=null (cached)}__serviceReference={org.wellness.application.foundation.resource.v1_0.GetMessageResource}={api.version=v1.0, osgi.jaxrs.application.select=(osgi.jaxrs.name=kcwellnessFoundation), component.id=11638, component.name=org.wellness.application.foundation.internal.resource.v1_0.GetMessageResourceImpl, service.id=21929, service.scope=prototype, osgi.jaxrs.resource=true, service.bundleid=1698}__} is registered with error [Sanitized]
2023-01-08 07:13:14.535 WARN [Refresh Thread: Equinox Container: f9735d67-f07f-4855-8fbf-5e6635c79d08][AriesJaxrsServiceRuntime:631] Errored extension CachingServiceReference {__cachedProperties={osgi.jaxrs.application.select=(!(liferay.oauth2=false)), service.id=1530, objectClass=[javax.ws.rs.core.Feature], osgi.jaxrs.name=Liferay.OAuth2, osgi.jaxrs.extension.select=null (cached), service.ranking=null (cached), osgi.jaxrs.whiteboard.target=null (cached)}__serviceReference={javax.ws.rs.core.Feature}={_defaultScopeDescriptor.target=(default=true), liferay.extension=OAuth2, component.name=com.liferay.oauth2.provider.scope.internal.jaxrs.feature.LiferayOAuth2OSGiFeature, service.id=1530, osgi.jaxrs.name=Liferay.OAuth2, osgi.jaxrs.application.select=(!(liferay.oauth2=false)), oauth2.service.access.policy.name=AUTHORIZED_OAUTH2_SAP, component.id=4596, osgi.jaxrs.extension=true, service.scope=prototype, service.bundleid=981}__} is gone [Sanitized]
2023-01-08 07:13:14.535 WARN [Refresh Thread: Equinox Container: f9735d67-f07f-4855-8fbf-5e6635c79d08][AriesJaxrsServiceRuntime:631] Errored extension CachingServiceReference {__cachedProperties={osgi.jaxrs.application.select=(!(liferay.jackson=false)), service.id=2007, objectClass=[javax.ws.rs.ext.MessageBodyReader, javax.ws.rs.ext.MessageBodyWriter], osgi.jaxrs.name=jaxb-json, osgi.jaxrs.extension.select=null (cached), service.ranking=-2147483648, osgi.jaxrs.whiteboard.target=null (cached)}__serviceReference={javax.ws.rs.ext.MessageBodyReader, javax.ws.rs.ext.MessageBodyWriter}={osgi.jaxrs.media.type=application/json, service.id=2007, osgi.jaxrs.name=jaxb-json, service.pid=org.apache.aries.jax.rs.jackson, osgi.jaxrs.application.select=(!(liferay.jackson=false)), jackson.jaxrs.json.version=2.13.2, osgi.jaxrs.extension=true, jackson.jaxb.version=2.13.2, service.scope=prototype, service.ranking=-2147483648, service.bundleid=1132}__} is gone [Sanitized]
2023-01-08 07:13:14.535 WARN [Refresh Thread: Equinox Container: f9735d67-f07f-4855-8fbf-5e6635c79d08][AriesJaxrsServiceRuntime:631] Errored extension CachingServiceReference {__cachedProperties={osgi.jaxrs.application.select=(!(liferay.access.control.disable=true)), service.id=2001, objectClass=[javax.ws.rs.container.ContainerRequestFilter, javax.ws.rs.container.ContainerResponseFilter], osgi.jaxrs.name=Liferay.Access.Control, osgi.jaxrs.extension.select=null (cached), service.ranking=null (cached), osgi.jaxrs.whiteboard.target=null (cached)}__serviceReference={javax.ws.rs.container.ContainerRequestFilter, javax.ws.rs.container.ContainerResponseFilter}={osgi.jaxrs.application.select=(!(liferay.access.control.disable=true)), component.id=4806, component.name=com.liferay.portal.remote.jaxrs.security.internal.container.response.filter.AccessControlledContainerRequestResponseFilter, osgi.jaxrs.extension=true, service.id=2001, service.scope=prototype, osgi.jaxrs.name=Liferay.Access.Control, service.bundleid=1125}__} is gone [Sanitized]
2023-01-08 07:13:14.536 WARN [Refresh Thread: Equinox Container: f9735d67-f07f-4855-8fbf-5e6635c79d08][AriesJaxrsServiceRuntime:631] Errored extension CachingServiceReference {__cachedProperties={osgi.jaxrs.application.select=(osgi.jaxrs.extension.select=\(osgi.jaxrs.name=Liferay.Vulcan\)), service.id=8680, objectClass=[javax.ws.rs.core.Feature], osgi.jaxrs.name=Liferay.Vulcan, osgi.jaxrs.extension.select=null (cached), service.ranking=null (cached), osgi.jaxrs.whiteboard.target=null (cached)}__serviceReference={javax.ws.rs.core.Feature}={osgi.jaxrs.application.select=(osgi.jaxrs.extension.select=\(osgi.jaxrs.name=Liferay.Vulcan\)), component.id=5187, component.name=com.liferay.portal.vulcan.internal.jaxrs.feature.VulcanFeature, osgi.jaxrs.extension=true, service.id=8680, _expressionConvert.target=(result.class.name=com.liferay.portal.kernel.search.filter.Filter), service.scope=prototype, osgi.jaxrs.name=Liferay.Vulcan, service.bundleid=1233}__} is gone [Sanitized]
2023-01-08 07:13:14.536 WARN [Refresh Thread: Equinox Container: f9735d67-f07f-4855-8fbf-5e6635c79d08][AriesJaxrsServiceRuntime:631] Errored extension CachingServiceReference {__cachedProperties={osgi.jaxrs.application.select=(!(liferay.access.control.disable=true)), service.id=2002, objectClass=[javax.ws.rs.ext.ExceptionMapper], osgi.jaxrs.name=null (cached), osgi.jaxrs.extension.select=null (cached), service.ranking=null (cached), osgi.jaxrs.whiteboard.target=null (cached)}__serviceReference={javax.ws.rs.ext.ExceptionMapper}={osgi.jaxrs.application.select=(!(liferay.access.control.disable=true)), component.id=4807, component.name=com.liferay.portal.remote.jaxrs.security.internal.exception.mapper.SecurityExceptionMapper, osgi.jaxrs.extension=true, service.id=2002, service.scope=bundle, service.bundleid=1125}__} is gone [Sanitized]
2023-01-08 07:13:14.536 WARN [Refresh Thread: Equinox Container: f9735d67-f07f-4855-8fbf-5e6635c79d08][AriesJaxrsServiceRuntime:620] Errored resource CachingServiceReference {__cachedProperties={osgi.jaxrs.application.select=(osgi.jaxrs.name=kcwellnessFoundation), service.id=21931, service.scope=bundle, osgi.jaxrs.name=null (cached), osgi.jaxrs.extension.select=null (cached), osgi.jaxrs.whiteboard.target=null (cached)}__serviceReference={org.wellness.application.foundation.internal.resource.v1_0.OpenAPIResourceImpl}={api.version=v1.0, osgi.jaxrs.application.select=(osgi.jaxrs.name=kcwellnessFoundation), component.id=11639, component.name=org.wellness.application.foundation.internal.resource.v1_0.OpenAPIResourceImpl, service.id=21931, service.scope=bundle, osgi.jaxrs.resource=true, service.bundleid=1698}__} is gone [Sanitized]
2023-01-08 07:13:14.537 WARN [Refresh Thread: Equinox Container: f9735d67-f07f-4855-8fbf-5e6635c79d08][AriesJaxrsServiceRuntime:620] Errored resource CachingServiceReference {__cachedProperties={osgi.jaxrs.application.select=(osgi.jaxrs.name=kcwellnessFoundation), service.id=21929, service.scope=prototype, osgi.jaxrs.name=null (cached), osgi.jaxrs.extension.select=null (cached), osgi.jaxrs.whiteboard.target=null (cached), org.apache.aries.jax.rs.whiteboard.application.scoped=null (cached)}__serviceReference={org.wellness.application.foundation.resource.v1_0.GetMessageResource}={api.version=v1.0, osgi.jaxrs.application.select=(osgi.jaxrs.name=kcwellnessFoundation), component.id=11638, component.name=org.wellness.application.foundation.internal.resource.v1_0.GetMessageResourceImpl, service.id=21929, service.scope=prototype, osgi.jaxrs.resource=true, service.bundleid=1698}__} is gone [Sanitized]
2023-01-08 07:13:14.537 WARN [Refresh Thread: Equinox Container: f9735d67-f07f-4855-8fbf-5e6635c79d08][AriesJaxrsServiceRuntime:231] Application CachingServiceReference {__cachedProperties={component.name=org.wellness.application.foundation.internal.jaxrs.application.kcwellnessFoundationApplication, service.id=21949, objectClass=[javax.ws.rs.core.Application], osgi.jaxrs.name=kcwellnessFoundation, osgi.jaxrs.extension.select=(osgi.jaxrs.name=Liferay.Vulcan), osgi.http.whiteboard.context.select=null (cached), osgi.jaxrs.whiteboard.target=null (cached), osgi.jaxrs.application.select=null (cached), osgi.jaxrs.application.base=/kcFoundation, component.id=11637, service.scope=bundle, liferay.jackson=true, service.bundleid=1698}__serviceReference={javax.ws.rs.core.Application}={osgi.jaxrs.application.base=/orbisFoundation, component.id=11637, component.name=org.wellness.application.foundation.internal.jaxrs.application.kcwellnessFoundationApplication, service.id=21949, service.scope=bundle, osgi.jaxrs.extension.select=(osgi.jaxrs.name=Liferay.Vulcan), osgi.jaxrs.name=kcwellnessFoundation, liferay.jackson=true, service.bundleid=1698}__} is registered with error [Sani