You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by "onobc (via GitHub)" <gi...@apache.org> on 2023/04/15 21:17:44 UTC

[GitHub] [pulsar] onobc commented on pull request #20106: [fix][admin] Add javax.xml to shade

onobc commented on PR #20106:
URL: https://github.com/apache/pulsar/pull/20106#issuecomment-1509972743

   Is there test coverage for a case where the admin API `PulsarAdmin.topics().getList("public/default")` is executed against a standalone server? The reason I ask is because the `2.11.1` branch w/o the changes in this PR are fine but w/ these changes in the PR a call to the above API just times out w/ the following output in the logs:
   
   > 2023-04-15T16:11:43.776-05:00  WARN 4356 --- [           main] o.a.p.s.o.g.j.m.i.MessagingBinders       : A class org.apache.pulsar.shade.javax.xml.transform.stream.StreamSource for a default provider MessageBodyReader<org.apache.pulsar.shade.javax.xml.transform.stream.StreamSource> was not found. The provider is not available.
   2023-04-15T16:11:43.777-05:00  WARN 4356 --- [           main] o.a.p.s.o.g.j.m.i.MessagingBinders       : A class org.apache.pulsar.shade.javax.xml.transform.sax.SAXSource for a default provider MessageBodyReader<org.apache.pulsar.shade.javax.xml.transform.sax.SAXSource> was not found. The provider is not available.
   2023-04-15T16:11:43.777-05:00  WARN 4356 --- [           main] o.a.p.s.o.g.j.m.i.MessagingBinders       : A class org.apache.pulsar.shade.javax.xml.transform.Source for a default provider MessageBodyWriter<org.apache.pulsar.shade.javax.xml.transform.Source> was not found. The provider is not available.
   2023-04-15T16:11:43.777-05:00  WARN 4356 --- [           main] o.a.p.s.o.g.j.m.i.MessagingBinders       : A class javax.activation.DataSource for a default provider MessageBodyWriter<javax.activation.DataSource> was not found. The provider is not available.
   2023-04-15T16:11:43.777-05:00  WARN 4356 --- [           main] o.a.p.s.o.g.j.m.i.MessagingBinders       : A class org.apache.pulsar.shade.javax.xml.transform.dom.DOMSource for a default provider MessageBodyReader<org.apache.pulsar.shade.javax.xml.transform.dom.DOMSource> was not found. The provider is not available.
   
   I am concerned that shading the `javax.xml.bind` may need updates in other areas? If someone else could verify that they are NOT seeing this behaviour w/ these changes that would be comforting.
   
   Thanks


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org