[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Jessie-discuss] GCJ weirdness
From: |
James Massey |
Subject: |
[Jessie-discuss] GCJ weirdness |
Date: |
Thu, 8 Jul 2004 17:42:06 +0100 |
Hi,
I've been trying to GCJ my the server side of my application, which
uses SSL for communication. I managed to go through the ordeal of
dropping Jessie in as a replacement for JSSE when using self-signed
certificate and keys. And I have even managed to compile everything,
including getting a mysql database connection to work.
All seems well. Jessie works in the java version, but when GCJ'd I get
the following weird output:
javax.net.ssl.SSLProtocolException: unknown HandshakeType: 72
javax.net.ssl.SSLProtocolException: unknown HandshakeType: 72
at
org.metastatic.jessie.provider.Handshake.read(java.io.InputStream,
org.metastatic.jessie.provider.CipherSuite, java.security.PublicKey,
org.metastatic.jessie.provider.CertificateType)
(/root/binpoker/bindist/lib-org-metastatic-jessie.so.0)
at
org.metastatic.jessie.provider.Handshake.read(java.io.InputStream,
org.metastatic.jessie.provider.CipherSuite, java.security.PublicKey)
(/root/binpoker/bindist/lib-org-metastatic-jessie.so.0)
at
org.metastatic.jessie.provider.Handshake.read(java.io.InputStream)
(/root/binpoker/bindist/lib-org-metastatic-jessie.so.0)
at org.metastatic.jessie.provider.SSLSocket.doServerHandshake()
(/root/binpoker/bindist/lib-org-metastatic-jessie.so.0)
at org.metastatic.jessie.provider.SSLSocket.startHandshake()
(/root/binpoker/bindist/lib-org-metastatic-jessie.so.0)
at org.metastatic.jessie.provider.SSLSocket.checkHandshakeDone()
(/root/binpoker/bindist/lib-org-metastatic-jessie.so.0)
at org.metastatic.jessie.provider.SSLSocketInputStream.read(byte[],
int, int) (/root/binpoker/bindist/lib-org-metastatic-jessie.so.0)
at java.io.FilterInputStream.read(byte[], int, int)
(/root/binpoker/bindist/libgcj.so.6)
at java.io.BufferedInputStream.refill()
(/root/binpoker/bindist/libgcj.so.6)
at java.io.InputStreamReader.refill(char[], int, int)
(/root/binpoker/bindist/libgcj.so.6)
at java.io.InputStreamReader.read(char[], int, int)
(/root/binpoker/bindist/libgcj.so.6)
at java.io.BufferedReader.fill() (/root/binpoker/bindist/libgcj.so.6)
at java.io.BufferedReader.readLine()
(/root/binpoker/bindist/libgcj.so.6)
Each time I run, I get a different number for the handshake type. Do
you have any clues as to what is causing this error and where I can go
from here? (I realise supporting gcj isn't your problem, but I thought
you might have an idea where this comes from).
Thanks in advance for any help.
James
- [Jessie-discuss] GCJ weirdness,
James Massey <=