1935989 - Msg 10707, Level 16, State 1 (Unhandled java exception) - ASE | SAP Knowledge Base Article

SAP Knowledge Base Article - Preview

1935989 - Msg 10707, Level 16, State 1 (Unhandled java exception) - ASE

Symptom

When trying to setup an environment for using Java in Adaptive Server Enterprise that uses the socket libraries you can get the following error:

1> select MailTo.sendIt()
2> go

connect. Timeout = -1
Msg 10707, Level 16, State 1:
Server 'JDESAINT', Line 1:
Unhandled Java Exception:
java.lang.NoClassDefFoundError: java.net.PlainSocketImpl (initialization failure)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:140)
at java.net.Socket.<init>(Socket.java:130)
at sun.net.NetworkClient.doConnect(NetworkClient.java:158)
at sun.net.NetworkClient.openServer(NetworkClient.java:132)
at sun.net.smtp.SmtpClient.openServer(SmtpClient.java:125)
at sun.net.smtp.SmtpClient.<init>(SmtpClient.java:187)
at sun.net.www.protocol.mailto.


Read more...

Environment

  • SAP Adaptive Server Enterprise (ASE) All Versions
  • Sybase Adaptive Server Enterprise (ASE) All Versions
  • Program that uses JAVA SOCKETS

Product

SAP Adaptive Server Enterprise all versions ; Sybase Adaptive Server Enterprise all versions

Keywords

native, sockets, java, ase , KBA , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.