All of lore.kernel.org
 help / color / mirror / Atom feed
* GNU Classpath and the XMPP Smack API
@ 2009-01-29 13:43 Jan Pannecoeck
  2009-01-29 15:04 ` Robert Schuster
  0 siblings, 1 reply; 3+ messages in thread
From: Jan Pannecoeck @ 2009-01-29 13:43 UTC (permalink / raw)
  To: openembedded-devel

Hi all,

No clue where the fire this question, but since I'm using OE with GNU 
Classpath and JamVM 1.5 I thought I could ask my question here... Since 
finding a solution for my problem is quite hard. And maybe someone who 
is reading this mailinglist has had this problem before.

As the subject is already telling you, I'm stuck trying to get the Smack 
API working on my embedded device. The Smack library is written to 
communicate using XMPP. I know already that smack is developed to work 
under the Java Sun library, and that using GNU Classpath could cause 
problems. But since they have managed to get it working at Android, with 
the GNU Classpath, I think that it should be possible to run it also on 
an OpenEmbedded device.

I've got the latest version of the smack.jar that was patched for the 
Android, but that still isn't working. I have had a bunch of different 
errors like:

- OEFException during the SSLSocket doHandshake method.
- KeyStoreException: jks during an SALSAuthentication

And now I'm having a "No response from the server" exception during the 
NonSASLAuthentication.authenticate method.

I know this problem is quite big and my explanation is probably not that 
great neither, but still I hope that someone has done this before and 
succeeded in his mission. If someone could send me some more information 
about this, or a working smack.jar (if possible with source code) that 
would be great!!

All help is welcome ofcourse!

Thanks in advance,
Jan Pannecoeck



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: GNU Classpath and the XMPP Smack API
  2009-01-29 13:43 GNU Classpath and the XMPP Smack API Jan Pannecoeck
@ 2009-01-29 15:04 ` Robert Schuster
  2009-01-29 16:03   ` Jan Pannecoeck
  0 siblings, 1 reply; 3+ messages in thread
From: Robert Schuster @ 2009-01-29 15:04 UTC (permalink / raw)
  To: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 1783 bytes --]

Hi,

Jan Pannecoeck schrieb:
> As the subject is already telling you, I'm stuck trying to get the Smack
> API working on my embedded device. The Smack library is written to
> communicate using XMPP. I know already that smack is developed to work
> under the Java Sun library, and that using GNU Classpath could cause
> problems. But since they have managed to get it working at Android, with
> the GNU Classpath, I think that it should be possible to run it also on
> an OpenEmbedded device.
Android is using Apache's JavaSE library called Harmony.


> I've got the latest version of the smack.jar that was patched for the
> Android, but that still isn't working. I have had a bunch of different
> errors like:
> 
> - OEFException during the SSLSocket doHandshake method.
> - KeyStoreException: jks during an SALSAuthentication
First of all, the "Java Keystore" (jks) format isn't supported by GNU
Classpath.

Furthermore I know that SSL stuff often caused trouble but do not
understand this enough to fix it on my own.

> I know this problem is quite big and my explanation is probably not that
> great neither, but still I hope that someone has done this before and
> succeeded in his mission. If someone could send me some more information
> about this, or a working smack.jar (if possible with source code) that
> would be great!!
> 
> All help is welcome ofcourse!
If you are adventurous you might try the Cacao+OpenJDK solution for your
device.
That would give you OpenJDK class library plus Cacao as the VM.

In order to build it you need to add the Jalimo SVN repo as an overlay
to OE. Disable the strict md5sum checking for now, since the files
mentioned in the overlay are not in OE's official checksum.ini .

Regards
Robert




[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 268 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: GNU Classpath and the XMPP Smack API
  2009-01-29 15:04 ` Robert Schuster
@ 2009-01-29 16:03   ` Jan Pannecoeck
  0 siblings, 0 replies; 3+ messages in thread
From: Jan Pannecoeck @ 2009-01-29 16:03 UTC (permalink / raw)
  To: openembedded-devel

Hi,

Thansk for the reply, I've tried OpenJDK and Cacao before, but that was 
a little bit to adventures for me... :-) Maybe I'll try again later, if 
there really isn't a solution to get Smack working with GNU Classpath. 
So I'll wait a few days to see if someone here knows some solution ... I 
hope someone does! :-)

Jan Pannecoeck

Robert Schuster wrote:
> Hi,
>
> Jan Pannecoeck schrieb:
>   
>> As the subject is already telling you, I'm stuck trying to get the Smack
>> API working on my embedded device. The Smack library is written to
>> communicate using XMPP. I know already that smack is developed to work
>> under the Java Sun library, and that using GNU Classpath could cause
>> problems. But since they have managed to get it working at Android, with
>> the GNU Classpath, I think that it should be possible to run it also on
>> an OpenEmbedded device.
>>     
> Android is using Apache's JavaSE library called Harmony.
>
>
>   
>> I've got the latest version of the smack.jar that was patched for the
>> Android, but that still isn't working. I have had a bunch of different
>> errors like:
>>
>> - OEFException during the SSLSocket doHandshake method.
>> - KeyStoreException: jks during an SALSAuthentication
>>     
> First of all, the "Java Keystore" (jks) format isn't supported by GNU
> Classpath.
>
> Furthermore I know that SSL stuff often caused trouble but do not
> understand this enough to fix it on my own.
>
>   
>> I know this problem is quite big and my explanation is probably not that
>> great neither, but still I hope that someone has done this before and
>> succeeded in his mission. If someone could send me some more information
>> about this, or a working smack.jar (if possible with source code) that
>> would be great!!
>>
>> All help is welcome ofcourse!
>>     
> If you are adventurous you might try the Cacao+OpenJDK solution for your
> device.
> That would give you OpenJDK class library plus Cacao as the VM.
>
> In order to build it you need to add the Jalimo SVN repo as an overlay
> to OE. Disable the strict md5sum checking for now, since the files
> mentioned in the overlay are not in OE's official checksum.ini .
>
> Regards
> Robert
>
>
>
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>   



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-01-29 16:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-29 13:43 GNU Classpath and the XMPP Smack API Jan Pannecoeck
2009-01-29 15:04 ` Robert Schuster
2009-01-29 16:03   ` Jan Pannecoeck

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.