[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[xmlblaster] j2me related questions..
- To: xmlblaster at server.xmlBlaster.org
- Subject: [xmlblaster] j2me related questions..
- From: "Francis Bernard" <frantic.francis at gmail.com>
- Date: Sun, 23 Sep 2007 19:42:54 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=bPzckZ7lYJV8Kmrt8ZUqp55FPePN6wS4PNfXrh9ytL4=; b=Hj0HPsK3km0lQ2xNJ5VAcxhYgqicRf6/IhiuNSGsr9lv0ZyhKyBQATi+ZPbq4ch1YnzBx4ULu/KbGAYDBNUWYhfuE4720RQvf7izVbvozgOB/kFAixIL8MzJuHJDH0qfYLLhqMHXxRZ0mnPYOU4D9YnEt9aQ2f6jVVxRB9rl6d0=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=usgAa2mIS1F4YYBrlGHemFFRIDlokD9/wBcIkuZtvn6C0LP5Or63fjs7gahOx9TvdYyqYogD1TNQMVhVDoFVJ0HY0ZltMrtAXniTUC31XHsiMLS8b4hePYrsXkxKvRoh8cGeAlwiAF2Iu61iUKviBBf9lzvdAWaSmB7iKvBZ8fA=
- Reply-to: xmlblaster at server.xmlBlaster.org
- Sender: owner-xmlblaster at server.xmlBlaster.org
Hello,
it's described on the j2me client requirements page, a typical use
case using a servlet engine (Tomcat) which opens a connection to
xmlBlaster to delegate the request.
Does this means that i cannot connect a j2me client directly to xmlblaster ?
If this is not the case, does it imply any custom development or is
this use case already accounted for on the library used ?
i built the j2me client demo and i tried this on the wtk2.5.1 emulator
and i got some exceptions:
C:\xmlBlaster\demo\j2me>set J2ME_HOME=C:\WTK2.5.1
C:\xmlBlaster\demo\j2me>C:\WTK2.5.1/bin/emulator -Xdescriptor .\SystemInfo.jad
Running with storage root temp.DefaultColorPhone4
Running with locale: Portuguese_Portugal.1252
Running in the identified_third_party security domain
java.lang.RuntimeException: unexpected code: <
at org.xmlBlaster.util.Base64.decode(+127)
at org.xmlBlaster.util.Base64.decode(+52)
at org.xmlBlaster.client.protocol.http.j2me.XmlBlasterAccessJ2ME.decodeBase64(+11)
at org.xmlBlaster.client.protocol.http.common.XmlBlasterAccessRawBase.postRequest(+250)
at org.xmlBlaster.client.protocol.http.common.PersistentRequest.run(+13)
PersistentRequest #1 [ERROR]: Can't handle exception: java.lang.RuntimeException
: unexpected code: <XmlBlasterAccess #1 [INFO]: isConnected(false)
XmlBlasterAccess #1 [ERROR]: Can't login to xmlBlaster, timed out.
java.lang.Exception: Can't login to xmlBlaster, timed out.
at org.xmlBlaster.client.protocol.http.common.XmlBlasterAccessRawBase.startPersistentHttpConnection(+83)
at org.xmlBlaster.client.protocol.http.common.XmlBlasterAccessRawBase.connect(+122)
at SystemInfoMidlet.init(+21)
at SystemInfoMidlet.startXmlBlaster(+193)
at SystemInfoMidlet.run(+4)