Push Registry and IBM J9

I am trying to use the PushRegistry registerAlarm function in J2ME for my HP 6515, and it says "alarms not supported" as the error message, the error being ConnectionNotFoundException. Do you think that this could be because IBM J9 doesn't support the Push Registry? Or is it something else?
Any advice would be more than welcome =D

I am trying to use the PushRegistry registerAlarm function in J2ME for my HP 6515, and it says "alarms not supported" as the error message, the error being ConnectionNotFoundException. Do you think that this could be because IBM J9 doesn't support the Push Registry? Or is it something else?
Any advice would be more than welcome =D

Similar Messages

  • How to synchronize PI service registry and IBM WSRR

    Hello All,
    In our current project we have developed one web service which resides in SAP CE and is registered in SAP PI Service Registry.
    But our client has IBM websphere that acts as a middleware for all ther services (interfaces/web services)
    Now, I need to understand how to synchronize SAP PI Service Registry with IBM WSRR (Websphere Services Registry and Repository)
    What are the steps/configurations need to be performed at PI end and IBM WSRR end?
    Appreciate your help in this matter.
    Thanks,
    Shriram.

    Hi,
    Refer the below links i think it will be helpful.
    Configuring a central Services Registry:
    http://help.sap.com/saphelp_nwce711/helpdata/en/47/d391d7b8fc3c83e10000000a42189c/frameset.htm
    You can also use the Wizard based configuration: http://help.sap.com/saphelp_nwce711/helpdata/en/f7/6182bd68434595ba5105a0a346efcc/frameset.htm
    https://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/00985388-6748-2c10-0d83-f17c3e768a8b&overridelayout=true
    Regards,
    Sudha S.

  • Push Registry and Auto Start

    I need to set and alram using Push Registry that will survive after the phone is turned off and turned on again.
    Can I register more than one alarm at a time or do I have to register alrams one by one?
    Thanks

    I need to set and alram using Push Registry that will survive after the phone is turned off and turned on again.
    Can I register more than one alarm at a time or do I have to register alrams one by one?
    Thanks

  • Push registry in MIDP 2.0

    Hi
    I want to know that what is the Difference between Push Registry and notifyIncomingMessage in WMA.
    Anupam..

    Push registry is common for all kind of service. lets take after some time you want your application to start. or you want to invoke your application depend on Time /SMS and etc.
    That time it will help to implement by using Push Registry.
    but another one specific to SMS.

  • Lacation finding of children through push registry

    hi i need your help in progress of my project. my project theme is to find location of children thoruh push reigstry. benefit of this application is that parents want to know the position of there children. i have completed my research on push registry and location Api. but the problem is know that i am confuse to use services like should i use IP address or message service. can any one tell me what exaclty i do which is more easier and fast to do. my supervisor is not helping me at all. so plz if you give me the lines then i think i ll do it. i am new with netbeans and cdlc so definalty i have some problem to understand these things. so plz help me in this favor. i ll be thanksful to you.

    please help me in this favor. i am still waiting for your replies....................

  • Sockets and push registry

    Hello,
    I want to get a socket connection between a MIDlet and servlet whats the best was to do this? so i can send information back and forth
    ( the MIDlet needs to be activated also by the socket connection from the Servlet)
    I have read the article on push registry but still am a bit in the dark.
    Thanks.

    Find your answer here :
    http://discussion.forum.nokia.com/forum/showthread.php?p=184664#poststop
    SD

  • Sign midlet and push registry

    Hello people ,
    Am wandering if i signed my midlet will the permission for push registry be "always yes", i mean no security messages will be shown to the user?
    thanx in advance

    Find your answer here :
    http://discussion.forum.nokia.com/forum/showthread.php?p=184664#poststop
    SD

  • How to handle multiple SMS using push registry

    Hello all
    I m using push registry. for incomming sms
    My application have some tasks after reciving sms form a particular phone no. Application will starts When u get a SMS from a number say 122222.
    After reciving an sms application is busy in further task.
    What will happen when another sms comes??
    Will Application Suspendes?? or application listen that sms??

    hi vinay,
    My name is lakshman.I am alos trying to implement the sms and call option to my application.
    If you don't mind can you give me suggestions in the following
    1) how to Implement the call option in our application
    2)how to implement the sms option in our application
    i am waiting for your reply
    thanks in advance
    or else give me the site address where i can find the solutions
    ok thankyou
    lakshman

  • Push Registry : MIDlet  activated by servlet ?

    hello, i have been trying to figure this out for days now could someone please help. I am trying to get the MIDlet to by activated by a Servlet which resides on a apache webserver , is this possible?
    how do you go about in getting the MIDlet to register a connection which waits for some activity sent via HTTP? do you register a socket to listen on a port on the device and get the servlet to send data to that port via HTTP?(if so how is this done?)
    Basically all i am trying to do is get a servlet to send data to the midlet. The MIDlet is installed from the webserver with ease, i want the midlet to wait till the server decides to send some data. the servlet will activate the midlet (this is the problem) , so then the midlet will open the http connection to the servlet.
    Please ask if the question needs clarifying, I would be very thankful for any advice provided.
    cheers
    Max

    thanks for info
    i have been trying for a while now and cant seem to get this working what i have got is a MIDlet that listens on port 90 of a socket connection. i am trying to create a Servlet that sends data onto port 90 so the midlet can be activated via the push registry. i am having the trouble with the servlet(which i cant get working, i assume that the code is wrong), i cant seem to get a socket connection working, i have tried to open a socket connection but have had no luck.
    i have posted some code, the MIDlet is there and so is my attempt at a servlet.
    what i want to do is get the servlet sending the midlet data on a specified port
    and the midlet recieveing that data and displaying it on the mobile emulator
    (so far all the MIDlet code does is listen for some activaty on port 90 and then send some data to the browser on the following url : http://localhost:90/)
    if anyone can get this problem on this example code i am testing on, fixed it would be much appreciated!!
    Thanks
    Max
    import java.io.*;
    import javax.microedition.io.*;
    import javax.microedition.midlet.*;
    import javax.microedition.lcdui.*;
    import javax.microedition.pki.*;
    public class PatchyMIDlet
        extends MIDlet
        implements CommandListener, Runnable {
      private Display mDisplay;
      private Form mForm;
      private ServerSocketConnection mServerSocketConnection;
      private boolean mTrucking = true;
      public void startApp() {
        mDisplay = Display.getDisplay(this);
        if (mForm == null) {
          mForm = new Form("PatchyMIDlet");
          mForm.addCommand(new Command("Exit", Command.EXIT, 0));
          mForm.setCommandListener(this);
        Thread t = new Thread(this);
        t.start();
        mDisplay.setCurrent(mForm);
      public void pauseApp() {}
      public void destroyApp(boolean unconditional) { shutdown(); }
      private void log(String text) { log(null, text); }
      private void log(String label, String text) {
        StringItem si = new StringItem(label, text);
        si.setLayout(Item.LAYOUT_NEWLINE_AFTER);
        mForm.append(si);
      private void shutdown() {
        mTrucking = false;
        try { mServerSocketConnection.close(); }
        catch (IOException ioe) {}
      public void commandAction(Command c, Displayable s) {
        if (c.getCommandType() == Command.EXIT) {
          shutdown();
          notifyDestroyed();
      public void run() {
        try {
          mServerSocketConnection =
    (ServerSocketConnection)Connector.open("socket://:90");
          log("Startup complete.");
          SocketConnection sc = null;
          while (mTrucking) {sc =
    (SocketConnection)mServerSocketConnection.acceptAndOpen();
            log("client: ", sc.getAddress());
            // Strictly speaking, each client connection
            // should be handled in its own thread. For
            // simplicity, this implementation handles
            // client connections inline.
            Reader in = new InputStreamReader(sc.openInputStream());
            String line;
            while ((line = readLine(in)) != null) ;
            // Ignoring the request, send a response.
            PrintStream out = new PrintStream(sc.openOutputStream());
            out.print("HTTP/1.1 200 OK\r\n\r\n");
            out.print(getMessage());
            out.close();
            in.close();
            sc.close();
        catch (Exception e) {
          log("exception: ", e.toString());
      private String readLine(Reader in) throws IOException {
        // This is not efficient.
        StringBuffer line = new StringBuffer();
        int i;
        while ((i = in.read()) != -1) {
          char c = (char)i;
          if (c == '\n') break;
          if (c == '\r') ;
          else line.append(c);
        if (line.length() == 0) return null;
        return line.toString();
      private java.util.Random mRandom = new java.util.Random();
      private String getMessage() {
        int i = Math.abs(mRandom.nextInt()) % 5;
        String s = null;
        switch (i) {
          case 0: s = "Above all the others we'll fly"; break;
          case 1: s = "There is no reason to hide"; break;
          case 2: s = "I dreamed about Ray Charles last night"; break;
          case 3: s = "Someone keeps moving my chair"; break;
          case 4: s = "Joseph's face was black as night"; break;
          default: break;
        return s;
    }the Servlet code, which i cant get working:
    import javax.servlet.http.*;
    import javax.servlet.*;
    import java.io.*;
    import java.net.*;
    import java.lang.*;
    public class Servlet extends HttpServlet {
      private int mCount;
      public void doGet(HttpServletRequest request, HttpServletResponse response) throws
          ServletException, IOException {
        String message = "Hits: " + ++mCount;
        String connectString = "socket://:90";
        SocketConnection sc = null;
        DataOutputStream dos = null;
          // open a socket connection with the remote server
          sc = (SocketConnection) Connector.open(connectString);
    // an OutputStream is created on top of the
          // OutputConnection object for write operations
          dos = sc.openDataOutputStream();
    // perform write operations
          dos.writeChars("hello");
      }

  • Push Registry is not starting the MIDLET automatically

    I am not being able to start my MIDLET using the push registry mechanism. I am using the netbeans emuluator to execute the program.
    In the startApp of my application I have
         connections = PushRegistry.listConnections(false);
    and whenever a connection comes it starts a new thread. My Client keeps sending SMS requests but the server midlet in which the
    push registry is initiated does not start.
    In the application Descriptor I have added the following
    MIDLET class : Server.SMSReceive_S
    Sender IP : *
    Connection String : sms://:5000
    and in the API permissions I have added the following API permissions
    javax.microedition.io.PushRegistry, javax.wireless.messaging.sms.receive, javax.wireless.messaging.sms.send
    I have even tried to start the MIDLET dynamically by calling
         PushRegistry.registerConnection(smsConnection,this.getClass().getName(),filterName);
    but that too doesnt work?
    So what am I doing wrong in starting the MIDLET automatically using push registry?

    Hi, Malte
    I have given individual nodes address in db2nodes.cfg,  as per your instruction I have run the db2 list database directory I have got the following output
    System Database Directory
    Number of entries in the directory = 1
    atabase 1 entry:
    Database alias                       = SOP
    Database name                        = SOP
    Local database directory             = /db2/SOP
    Database release level               = b.00
    Comment                              = SAP database SOP
    Directory entry type                 = Indirect
    Catalog database partition number    = 0
    Alternate server hostname            =
    Alternate server port number         =
    => db2 list node directory
    => SQL1027N  The node directory cannot be found
    Regards

  • Question about push registry

    hello, I'm a beginner in j2me and I'm developing an application that receive a message via socket, and I want my application to be always ready to receive the message even if it not running. I thought of static push registry put the thing I couldn't understand are:
    - my application must send different messages for each clients, so is pushing to the registry will help me here ??
    - when I use it how the connection be established (I mean do I have to write connecter.open()), because I use the dynamic one and by the example provided by sun I create the connection and then push it to registry ..???
    - do I need some specific code to be written on the server side ?
    - can u please give the steps of how to test static push registry ??
    hope u will help me ^_^
    thanks

    I understood what I want but I stuck in a problem with static push-registry, it work fine on the emulator but when I install it on a real device nothing happen.
    the device I use is E71 .. I want to know if anyone try push with it and he success or E71 is not supporting static push-registry.
    when I install the application it dose ask me if I agree to run it automatically ..... also, I try the dynamic one and it success...
    thanks

  • Help in Push Registry On S40

    i have a problem in push registry on s40
    it throw the exception
    ClassNotFoundException : Midlet Not Found
    i try the Same Code In S60 it run Well
    The Code::::
    private void Test() {
    try {
    System.out.println
    ("Befffforrrrrrrrrrrrr");
    long x= DF.getDate().getTime();
    prevalarm = PushRegistry.registerAlarm(this.getClass().getName(),x);
    System.out.println
    ("Afterrrrrrrrrrrrrrrrrrrrrrrrr");
    catch (ConnectionNotFoundException ex) {
    System.out.println("Erorororo 1 :"+ex.getMessage().toString());
    catch (ClassNotFoundException ex) {
    System.out.println("Erorororo 2 :"+ex.getMessage().toString());
    /**************************/The Jad file
    MIDlet-Name: DemoForFun
    MIDlet-Version: 1.8
    MIDlet-Vendor: DemoForFun
    MicroEdition-Profile: MIDP-2.0
    MicroEdition-Configuration: CLDC-1.1
    MIDlet-Jar-URL: DemoForFun.jar
    MIDlet-Jar-Size: 2096
    MIDlet-Permissions: javax.microedition.io.PushRegistry
    MIDlet-1: DemoForFun, , DemoForFun

    S40 Is MIDP 2.0
    The Series 40 Platform 1st Edition supports Java� 2 Platform, Micro Edition (J2ME�) APIs, including Mobile Information Device Profile (MIDP) 1.0, Connected Limited Device Configuration (CLDC) 1.0, and Nokia's user interface APIs
    The Series 40 Platform 2nd Edition added J2ME MIDP 2.0 with Java Specification Requests (JSRs), implementation of Wireless Messaging API (JSR 120), Mobile Media API (JSR 135), and Java APIs for Bluetooth (JSR 82).
    Series 40 Platform 3rd Edition extends J2ME support, implements CLDC 1.1 and MIDP 2.0, and expands on the provision of messaging, mobile media, and Bluetooth technology APIs with support for FileConnection and personal information manager (PIM) (JSR 75), as well as Mobile 3D Graphics (JSR 184).

  • XP Registry and New Users

    I have the following:
    NetWare 6.0 sp 3
    ZENworks for Desktops 3.2 sp2
    XP Pro Sp2
    Client 4.9 sp2
    In the user policy I am using Dynamic Local User with:
    Manage existing user account
    Use eDirectory credentials
    Volatile user
    All checked.
    Also using NAL
    The issue:
    I install an application as an administrator e.g. WordPerfect 10. WP10 is
    installed local (including registry stuff) and other users have the rights
    to run it. When user1 logs in and clicks on the WP10 icon in the NAL window,
    NAL pushes registry stuff. Because I am asking DLU to remove the user when
    they log off - when user1 logs in again it pushes the same registry stuff
    down. I know XP puts registry stuff in each users' space (then ZEN removes
    it when the user logs out), but is there a way of making the registry common
    to all users (remember Win 98?)? I am at a school board and I might have
    over 200 students logging into any given computer and don't want to make
    profiles for all of them.
    Thanks for any suggestions...

    Thanks, but this didn't work.
    Made user1 non-volitile. Logged in as user1. Launched NAL. Installed WP10.
    Logged off, then back in as user1 - Registry stuff did not get reapplied (it
    did before). Logged in as Admin to local machine and copied the contents of
    c:\Documents and Settings\user1 to c:\documents and Settings\Default user
    (including the ntuser.dat). Logged off then back on as user2, ran NAL,
    clicked the WP10 shortcut and the registry stuff got pushed down.
    If I search the registry for anything to do with user1 I get many hits in
    HKLM pointing to c:\Documents and Settings\user1. So I gave all users all
    rights to c:\Documents and Settings\user1 - didn't help.
    Did I miss a step? Or are some apps, like WP, just going to be a problem?
    "Rolf Lidvall" <[email protected]> wrote in message
    news:g7Qbd.3443$[email protected]..
    > When a new User logs in, on XP his profile will be a copy of the
    > "%SYSTEMROOT%\Documents and Settings\Default User"
    > -profile.
    > This is a hidden folder.
    > The usual way to fix your issue is to replace that profile
    > with a profile that has the desired settings, then every
    > new User will get the correct settings.
    > Besides the folders make sure you also replace ntuser.dat,
    > this /is/ the HKCU hive.
    >
    > Do something like:
    > 1. Log in as a User that is not volatile,
    > you must be able to use this profile
    > for copying later
    >
    > 2.Run WP and any apps that save settings
    > in the Users profile
    >
    > 3.Log out
    >
    > 4. Log in as Administrator
    >
    > 5. Copy the Users profile from step 1 over
    > "%SYSTEMROOT%\Documents and Settings\Default User"
    >
    > Regards
    > Rolf Lidvall
    > Swedish Radio (Ltd)
    > NSC SysOp
    >
    >

  • Error on push registry  feature

    Hi admin,
    I am doing, Add MIDP 2.0's push registry feature to device application.
    It workS fine on J2ME wireless toolkit(KTOOLBAR) and i have implemented
    push registry to my project in netbeans. It builds successfully but when
    i run, it producing the following error.
    startApp threw an Exception
    java.lang.IllegalArgumentException: Port format
    at com.sun.midp.io.j2me.sms.Protocol.openPrimInternal(+281)
    at com.sun.midp.io.j2me.sms.Protocol.openPrim(+8)
    at javax.microedition.io.Connector.openPrim(+233)
    at javax.microedition.io.Connector.open(+15)
    at javax.microedition.io.Connector.open(+6)
    at javax.microedition.io.Connector.open(+5)
    at com.sample.MySamplePushRegistry.startApp(+45)
    at javax.microedition.midlet.MIDletProxy.startApp(+7)
    at com.sun.midp.midlet.Scheduler.schedule(+270)
    at com.sun.midp.main.Main.runLocalClass(+28)
    at com.sun.midp.main.Main.main(+116)
    Execution completed.
    Wat could be the problem?... pl clarify me...

    hi,
    i have use this code for getting smsport smsPort = getAppProperty("SMS-Port"); and "SMS-Port" this one is initialized in wireless toolkit in user defined settings as 50001.
    if any correction shall i do...

  • Whats the logic in push registry???

    hi,
    was jus doin this push registry thing. in short Midlet registers itself to AMS then whenever some event occurs such as time or something happnes at specific port then midlet is started....
    but in example application i saw and tried to make i have to keep my listner midlet running so that it can listen to push events. now wheres that AMS working.....????
    i thought push registry was some sort of demon working beind the scene and gets activated only when some event occurs. infect i should not call it deamon according to book it is dead and only activates when called by AMS due to some registred event....
    AAqib

    I don't understand the question. The Docs are pretty specific here...
    "When the application is not running, the application management software(AMS) listens for inbound notification requests. When a notification arrives for a registered MIDlet, the AMS will start the MIDlet via the normal invocation of MIDlet.startApp method."
    Like the docs say, your applet will be started when the desired even occurs. It does not need to be running to listen for events. This really is how it works. If you use the 'Alarm' functionality, your midlet will be started after a set amount of time. The Javadoc's on the PushRegistry even have example code.
    Are you having trouble with something specific?

Maybe you are looking for

  • Can't get the data in the webdynpro

    Hi everyone, I made the example given in the tutorial provided by the SAP Developer Studio to create a web dynpro accessing ABAP Functions. I followed all the steps, however when I run my web application with data that should bring results, nothing i

  • How do you Deauthorize a machine from your account

    Hi all, I don't know if I'm posting in the right place or not, If I'm not then I'm sorry. How do you Deauthorize a Machine from your account, anybody know? what it is. When I set the account up to buy tracks from Itunes. I was using the same Laptop t

  • Error message: "client-error-request-value-too-long"

    The system finds my printer and the driver (which I have re-installed) but when I click "add" it comes up with this message. Does anyone know what this means and how I can fix it so my printer can be added? Thanks

  • ERROR install oracle database 10gR2 in solaris sparc 64

    Dear All, I got error when installing oracle database 10gR2 on solaris sparc 64. these are the messages: /usr/ccs/bin/make -f ins_precomp.mk relink ORACLE_HOME=/usr/app/oracle/product/10.2.0/db_1 EXENAME=proc/Linking /usr/app/oracle/product/10.2.0/db

  • Arabic language is printing in reverse when I am printing

    Hi, I have developed a form in english and I have written the company name in Arabic language.  This Arabic language is printing in reverse when I am veiwing the print preview and as well as printing it. Anybody please tell me how to solve this. Rega