minfrin
minfrin
This behaviour is by design: > Retry captures stdin into memory as the data is passed to the repeated command, and this captured stdin is then replayed should the command...
> which is the exact version of Jersey You've upgraded to? Jersey v2.39.1, also tried v2.40. Sorry the original description above said jersey3, that was wrong :(
It looks like the point where the bad request originates is here: https://github.com/eclipse-ee4j/jersey/blob/8105415f9a6356de774c8ffe6ab5dfa77934b69f/media/jaxb/src/main/java/org/glassfish/jersey/jaxb/internal/AbstractRootElementJaxbProvider.java#L116 There is an underlying unmarshalling problem, JAXB is broken, this bubbles up to the above. The exception...
Unfortunately tomcat logging is of no use, because you need to know what the exception is to tell tomcat to log it, but without knowing what the exception is, you...
What is confusing me horribly is that the POM of jersey-media-jaxb will tell me it depends on jakarta.xml.bind-api, but exceptions thrown by jersey are telling me that javax.xml APIs are...
> Jersey 2.x works with javax namespace, so whatever jakarta jar contains javax namespace (such as jaxb 2.3.2), Jersey supports it. Can you confirm the exact maven coordinates of jaxb...
> Then, there was Jakarta EE 8, using jakarta prefixed jars, but inside, there is javax package. (Compatible with Jersey 2.x) Are there any maven coordinates for jakarta prefixed jars...
This is the maven coordinates I am using right now: ``` [INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ roxanne --- [INFO] com.example:example:war:2.0.0-SNAPSHOT [INFO] +- javax.ws.rs:javax.ws.rs-api:jar:2.1.1:compile [INFO] +- org.glassfish.jersey.containers:jersey-container-servlet:jar:2.41:compile [INFO] | +- org.glassfish.jersey.containers:jersey-container-servlet-core:jar:2.41:compile...
Managed to massage things until the dependencies look like this, and I am back to the original 400 Bad Request right at the top. ``` java.lang.ClassNotFoundException: oracle.xml.jaxp.JXSAXParserFactory ``` It looks...
Chasing two bugs here. The first is whatever in Jersey is triggering the 400 Bad Request, which may be the ClassNotFoundException, but may not be, as other ClassNotFoundExceptions are thrown...