You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "Prabhu Joseph (Jira)" <ji...@apache.org> on 2019/09/05 06:34:00 UTC
[jira] [Resolved] (KNOX-2006) Logging Service filename when failed
to unmarshall
[ https://issues.apache.org/jira/browse/KNOX-2006?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Prabhu Joseph resolved KNOX-2006.
---------------------------------
Resolution: Duplicate
> Logging Service filename when failed to unmarshall
> --------------------------------------------------
>
> Key: KNOX-2006
> URL: https://issues.apache.org/jira/browse/KNOX-2006
> Project: Apache Knox
> Issue Type: Improvement
> Affects Versions: 1.4.0
> Reporter: Prabhu Joseph
> Assignee: Prabhu Joseph
> Priority: Major
> Labels: supportability
>
> The service file path is not logged when there is an exception while unmarshall.
> {code:java}
> 2019-09-04 14:17:40,253 ERROR knox.gateway (ServiceDefinitionsLoader.java:loadServiceDefinitions(72)) - Failed to unmarshall service definition file service file : javax.xml.bind.UnmarshalException
> - with linked exception:
> [org.xml.sax.SAXParseException; lineNumber: 2; columnNumber: 6; The processing instruction target matching "[xX][mM][lL]" is not allowed.]
> javax.xml.bind.UnmarshalException
> - with linked exception:
> [org.xml.sax.SAXParseException; lineNumber: 2; columnNumber: 6; The processing instruction target matching "[xX][mM][lL]" is not allowed.]
> at javax.xml.bind.helpers.AbstractUnmarshallerImpl.createUnmarshalException(AbstractUnmarshallerImpl.java:335)
> at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.createUnmarshalException(UnmarshallerImpl.java:563)
> at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:249)
> at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:214)
> at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:157)
> at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:204)
> at org.apache.knox.gateway.util.ServiceDefinitionsLoader.loadServiceDefinitions(ServiceDefinitionsLoader.java:62)
> at org.apache.knox.gateway.deploy.DeploymentFactory.loadStacksServiceContributors(DeploymentFactory.java:702)
> at org.apache.knox.gateway.deploy.DeploymentFactory.createDeployment(DeploymentFactory.java:157)
> at org.apache.knox.gateway.GatewayServer$InternalTopologyListener.handleCreateDeployment(GatewayServer.java:924)
> at org.apache.knox.gateway.GatewayServer$InternalTopologyListener.handleTopologyEvent(GatewayServer.java:889)
> at org.apache.knox.gateway.services.topology.impl.DefaultTopologyService.notifyChangeListeners(DefaultTopologyService.java:393)
> at org.apache.knox.gateway.services.topology.impl.DefaultTopologyService.reloadTopologies(DefaultTopologyService.java:368)
> at org.apache.knox.gateway.services.topology.impl.DefaultTopologyService.onFileChang {code}
--
This message was sent by Atlassian Jira
(v8.3.2#803003)