Reputation: 519
I'm trying to see why our legacy Java application (by 3rd party) no longer works after Server upgrade (and reinstalling all Java jdk,jre,etc). All JavaHome are OK. This application should produce html out of xml files. Running on Windows 2012 R2 Standard.
Understand this could be very generic, but at least probably can eliminate some causes, so I can find right people, I'm DBA and dealing with this myself. I pasted error log below, if anybody can point me to some causes, it works with SQL Server, I can see some ports number (:4098) which are not relevant to SQL Server, afraid it somehow deal with Oracle vs SQL server, this app works OK with both, having selector on UI.
Java installed: C:\Program Files (x86)\Java
jdk1.8.0_151
jre1.8.0_231
[![ImagePrograms][1]][1]jre7
echo %JAVA_HOME%
C:\Program Files (x86)\Java\jre1.8.0_231
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.dom4j.io.SAXContentHandler (file:/C:/Program%20Files%20(x86)/AlphaGX/
.6.1.jar) to method com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser$LocatorProxy.getEncoding()
WARNING: Please consider reporting this to the maintainers of org.dom4j.io.SAXContentHandler
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/bind/DatatypeConverter
at com.microsoft.sqlserver.jdbc.SQLServerConnection.sendLogon(SQLServerConnection.java:4098)
at com.microsoft.sqlserver.jdbc.SQLServerConnection.logon(SQLServerConnection.java:3160)
at com.microsoft.sqlserver.jdbc.SQLServerConnection.access$100(SQLServerConnection.java:43)
at com.microsoft.sqlserver.jdbc.SQLServerConnection$LogonCommand.doExecute(SQLServerConnection.java:3123)
Upvotes: 3
Views: 4331
Reputation: 31597
Your legacy application was run on Java 9 or newer. It failed because it is not compatible with newer Java versions.
Please run it on Java 8 instead.
Upvotes: 1