Java 9 deprecates some APIs (I think around SAX?) that a lot of things need, so this is not surprising. It also breaks some S3 libs.
On Sat, Apr 28, 2018 at 2:55 PM, Jerry Malcolm <techst...@malcolms.com> wrote: > James has been working for months untouched.=C2=A0 This morning I needed > to= > =20 > reboot the server for other reasons.=C2=A0 When it came back, James would > n= > ot=20 > start.=C2=A0 It was giving me errors saying camel xml file had syntax > error= > s=20 > and couldn't parse, etc.=C2=A0 This really blindsided me.=C2=A0 I hadn't > do= > ne a=20 > thing to change anything.=C2=A0=C2=A0 The root cause of the error was > somet= > hing=20 > like some jaxb exception class couldn't be found.=C2=A0=C2=A0 I did some > go= > ogling=20 > and found that jaxb is removed from java SE 9+ (and moved to EE).=C2=A0 I= > =20 > checked my java paths, and they still show java 8.=C2=A0 So that "couldn't > = > be=20 > the problem".... Then I remembered a week or so ago, java started=20 > yelling at me that it was out of date.=C2=A0 I never auto upgrade if > things= > =20 > are working.=C2=A0 But when I thought I was dismissing the popup, it said= > =20 > something about old files removed.=C2=A0 Bottom line is java apparently=20 > upgraded me to java 9 inside the java 8 folder. Maybe not fully... but=20 > in any case, jaxb was no longer there.=C2=A0 And it didn't show up until I= > =20 > rebooted. > > In the forum research someone said that the jaxb files are still there=20 > in 9, but you have to call them out.=C2=A0 Add an additional argument:=20 > "--add-modules java.xml.bind" on the java command makes them available. > > So... I don't really know what the java update did under the covers.=C2=A0= > =20 > But it broke james.=C2=A0 Finally, after adding the above arg to the java= > =20 > command line, things started working again.=C2=A0 So if you are using > Java9= > =20 > or higher, or if java appears to have updated you against your wishes,=20 > this java command line arg should fix james. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org > For additional commands, e-mail: server-user-h...@james.apache.org > > -- Bradford Stephens roboticprofit.com Data for Driving Revenue