How to sign a java midlet for  7975?

Version 1
    This document was generated from CDN thread

    Created by: yiming zhang on 14-09-2009 06:06:07 AM
    hi,everybody.
    as the title, i have read the 4th chapter of the "Java MIDlet Developer Guide for Cisco Unified IP Phones",but there are no description of how to design for midlet. i want to know if this process just like signing a midlet for other phone(nokia,sun,etc..). the most important is how to get a valid Signature?

    Subject: the full info is: RE: How to sign a java midlet for  7975?
    Replied by: yiming zhang on 14-09-2009 08:57:38 AM
     
    2009:09:14::15:38:26(79): Info: MCP Resources available for mediaEgine (192.168.0.128): ip=6(6) v=6(6) c=6(6) l=0(0)
    2009:09:14::15:38:27(84): Info: script1-3 Starting script (i=0)
    2009:09:14::15:38:27(84): Info: script1-3 Application: LOGstart to make call
    2009:09:14::15:38:27(88): Info: MCP Fetching MRG infomation from database for: project1->Default
    2009:09:14::15:38:27(90): Warning: MCP No media resource group configured for project1efault
    2009:09:14::15:38:27(90): Error: MCP No media resource group configured for project1efault
    2009:09:14::15:38:27(90): Warning: TM  Enqueuing 'failure' (1000003) response from Metreos.MediaControl
    2009:09:14::15:38:27(90): Info: project1 Enqueuing non-triggering event: Metreos.ApplicationControl.InstanceDestruction
    2009:09:14::15:38:27(91): Info: SIP HandleTerminateCall
    2009:09:14::15:38:27(91): Info: script1-3 Script exited normally
    2009:09:14::15:38:29(71): Info: script1-4 Starting script (i=0)
    2009:09:14::15:38:29(71): Info: script1-4 Application: LOGstart to make call
    2009:09:14::15:38:29(73): Info: MCP Fetching MRG infomation from database for: project1->Default
    2009:09:14::15:38:29(74): Warning: MCP No media resource group configured for project1efault
    2009:09:14::15:38:29(74): Error: MCP No media resource group configured for project1efault
    2009:09:14::15:38:29(74): Warning: TM  Enqueuing 'failure' (1000004) response from Metreos.MediaControl
    2009:09:14::15:38:29(76): Info: project1 Enqueuing non-triggering event: Metreos.ApplicationControl.InstanceDestruction
    2009:09:14::15:38:29(76): Info: SIP HandleTerminateCall
    2009:09:14::15:38:29(76): Info: script1-4 Script exited normally
    2009:09:14::15:38:30(26): Info: script1-5 Starting script (i=0)
    2009:09:14::15:38:30(26): Info: script1-5 Application: LOGstart to make call
    2009:09:14::15:38:30(27): Info: MCP Fetching MRG infomation from database for: project1->Default
    2009:09:14::15:38:30(29): Warning: MCP No media resource group configured for project1efault
    2009:09:14::15:38:30(29): Error: MCP No media resource group configured for project1efault
    2009:09:14::15:38:30(29): Warning: TM  Enqueuing 'failure' (1000005) response from Metreos.MediaControl
    2009:09:14::15:38:30(29): Info: project1 Enqueuing non-triggering event: Metreos.ApplicationControl.InstanceDestruction
    2009:09:14::15:38:30(29): Info: SIP HandleTerminateCall
    2009:09:14::15:38:30(29): Info: script1-5 Script exited normally
    2009:09:14::15:38:32(88): Warning: MCP Media control action timed out:
    InternalMessage:
      Type: ActionMessage
      Message ID: Metreos.MediaControl.ReserveConnection
      Routing GUID: 34aa2015-a702-4977-8646-7dd1c5416a2d
      Source: TelephonyManager
      SourceType: Application
      SourceQueue: unspecified
      Destination: Metreos.MediaControl
      session guid: unspecified
      actiontype: Synchronous
      userdata: unspecified
      hiddendata: unspecified
      timeout: unspecified
      hiddendata1: unspecified
      action guid: 34aa2015-a702-4977-8646-7dd1c5416a2d.5
    Fields:
      MediaTxCodec: G711u
      CallId: 1000003
    2009:09:14::15:38:34(73): Warning: MCP Media control action timed out:
    InternalMessage:
      Type: ActionMessage
      Message ID: Metreos.MediaControl.ReserveConnection
      Routing GUID: 80e91f13-c754-4ed9-b718-40d4c29fe54f
      Source: TelephonyManager
      SourceType: Application
      SourceQueue: unspecified
      Destination: Metreos.MediaControl
      session guid: unspecified
      actiontype: Synchronous
      userdata: unspecified
      hiddendata: unspecified
      timeout: unspecified
      hiddendata1: unspecified
      action guid: 80e91f13-c754-4ed9-b718-40d4c29fe54f.5
    Fields:
      MediaTxCodec: G711u
      CallId: 1000004
    2009:09:14::15:38:35(27): Warning: MCP Media control action timed out:
    InternalMessage:
      Type: ActionMessage
      Message ID: Metreos.MediaControl.ReserveConnection
      Routing GUID: 50b53032-afa5-42fd-a845-97051487e523
      Source: TelephonyManager
      SourceType: Application
      SourceQueue: unspecified
      Destination: Metreos.MediaControl
      session guid: unspecified
      actiontype: Synchronous
      userdata: unspecified
      hiddendata: unspecified
      timeout: unspecified
      hiddendata1: unspecified
      action guid: 50b53032-afa5-42fd-a845-97051487e523.5
    Fields:
      MediaTxCodec: G711u
      CallId: 1000005
    2009:09:14::15:38:36(79): Info: MCP Sent heartbeat ACK to mediaEgine (192.168.0.128):
    <?xml version="1.0" encoding="utf-16"?>
    <message xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <messageId>heartbeat</messageId>
      <field name="heartbeatId">90</field>
      <field name="clientId">2</field>
    </message>

    Subject: RE: How to sign a java midlet for  7975?
    Replied by: David Staudt on 14-09-2009 01:17:27 PM
    Currently, the midlet must be signed by Cisco in order to work...but, midlet development is not yet open to the general community.

    Subject: RE: How to sign a java midlet for  7975?
    Replied by: yiming zhang on 15-09-2009 02:40:19 AM
    thanks for your reply.
    now , i want to know how can i   use ssl connection  in ipphone midlet?
     i'm a developer of cicso ipphone javascript:void(0)¿  

    Subject: the error info like this:RE: How to sign a java midlet for  7975?
    Replied by: yiming zhang on 15-09-2009 05:47:26 AM
    Exception in thread "Thread-6" Exception in thread "Thread-6" java.lang.Abstract
    MethodError: cip.io.a.checkServerTrusted([Ljava/security/cert/X509Certificate;Lj
    ava/lang/String;)Vjava.lang.AbstractMethodError: cip.io.a.checkServerTrusted([Lj
    ava/security/cert/X509Certificate;Ljava/lang/String;)V
    java.lang.AbstractMethodError: cip.io.a.checkServerTrusted([Ljava/security/cert/
    X509Certificate;Ljava/lang/String;)V
            at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(Unkno
    wn Source)      at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertifica
    te(Unknown Source)
            at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(Unkno
    wn Source)
            at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(Unknown
    Source) at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(Unknown
    Source)
            at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(Unknown
    Source)
            at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Unknown Source)
    at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Unknown Source)
            at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Unknown Source)
            at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Unknown Source
    )       at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Unknown Source
    )
            at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Unknown Source
    )
            at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(Unknown Source)
            at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(Unknown Source)
            at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(Unknown Source)
            at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(Un
    known Source)   at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHand
    shake(Unknown Source)
            at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(Un
    known Source)
            at com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord(Unknown Source
    )       at com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord(Unknown Source
    )
            at com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord(Unknown Source
    )
            at com.sun.net.ssl.internal.ssl.AppOutputStream.write(Unknown Source)
    at com.sun.net.ssl.internal.ssl.AppOutputStream.write(Unknown Source)
            at com.sun.net.ssl.internal.ssl.AppOutputStream.write(Unknown Source)
            at java.io.BufferedOutputStream.flushBuffer(Unknown Source)     at java.
    io.BufferedOutputStream.flushBuffer(Unknown Source)
            at java.io.BufferedOutputStream.flushBuffer(Unknown Source)
            at java.io.BufferedOutputStream.flush(Unknown Source)   at java.io.Buffe
    redOutputStream.flush(Unknown Source)
            at java.io.BufferedOutputStream.flush(Unknown Source)
            at com.sun.cdc.io.j2me.a.flush(Unknown Source)  at com.sun.cdc.io.j2me.a
    .flush(Unknown Source)
            at com.sun.cdc.io.j2me.a.flush(Unknown Source)
            at sun.nio.cs.StreamEncoder.implFlush(Unknown Source)   at sun.nio.cs.St
    reamEncoder.implFlush(Unknown Source)
            at sun.nio.cs.StreamEncoder.implFlush(Unknown Source)
            at sun.nio.cs.StreamEncoder.flush(Unknown Source)       at sun.nio.cs.St
    reamEncoder.flush(Unknown Source)
            at sun.nio.cs.StreamEncoder.flush(Unknown Source)
            at java.io.OutputStreamWriter.flush(Unknown Source)     at java.io.Outpu
    tStreamWriter.flush(Unknown Source)
            at java.io.OutputStreamWriter.flush(Unknown Source)
            at xml.XmlWriter.flush(XmlWriter.java:45)       at xml.XmlWriter.flush(X
    mlWriter.java:45)
            at xml.XmlWriter.flush(XmlWriter.java:45)
            at xmpp.XmppEngine.beginStreamTag(XmppEngine.java:511)  at xmpp.XmppEngi
    ne.beginStreamTag(XmppEngine.java:511)
            at xmpp.XmppEngine.beginStreamTag(XmppEngine.java:511)
            at xmpp.XmppEngine.login(XmppEngine.java:340)   at xmpp.XmppEngine.login
    (XmppEngine.java:340)
            at xmpp.XmppEngine.login(XmppEngine.java:340)
            at xmpp.XmppEngine.run(XmppEngine.java:109)     at xmpp.XmppEngine.run(X
    mppEngine.java:109)
            at xmpp.XmppEngine.run(XmppEngine.java:109)
    compactRecords dbDataStart:48compactRecords dbDataStart:48
    compactRecords dbDataStart:48
    compactRecords dbDataEnd:39280compactRecords dbDataEnd:39280
    compactRecords dbDataEnd:39280
    Startup Module Loader|cip.midp.midletsuite.l:? - Retry installing MIDLet service
    s that failed to install...1 minute interval
    Startup Module Loader|cip.midp.midletsuite.l:? - Found  MIDlet services th
    at failed to install
    Startup Module Loader|cip.midp.midletsuite.l:? - Next Retry Interval [2.0] min,
    will retry in 2 [1.88] min (random backoff)
    Startup Module Loader|cip.midp.midletsuite.l:? - Retry installing MIDLet service
    s that failed to install...2 minute interval
    Startup Module Loader|cip.midp.midletsuite.l:? - Found  MIDlet services th
    at failed to install
    Startup Module Loader|cip.midp.midletsuite.l:? - Next Retry Interval [4.0] min,
    will retry in 6 [5.88] min (random backoff)