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...

Similar Messages

  • MIDP2.0 Push Registry Feature in Windows Mobile

    Hi All,
    I have developed the application using the Push Registry feature for MIDP2.0 phones. When i install this application on Windows Mobile, its giving error that Invalid MIDlet. Then i removed the Static Registration from Jad file, and also removed the MessageListener interface from my MIDlet.
    After this process only i am able to install. After installation i have tried to Register the PUSH Registry dynamically from Code, this gives an error that IOException. Is there anyother way to achieve this for Pushing my application automatically on windows mobile when an SMS arrives in Port.? Kindly anyone give me the solution if faced the same problem in Windows Mobile.
    Thanks & Regards
    Ramprasath.P.M

    Hi All,
    Kindly anyone reply to the above question.
    Regards
    Ramprasath.P.M

  • 0x80070005 when trying to push Registry Settings via GPP on 2008R2 Servers

    Hello,
    I'm trying to push registry settings via Group Policy Preferences to a group of Windows Server 2008 R2 to set dynamic RPC ports range, but I keep getting an error 0x80070005 Access is denied
    The Registry Settings I need to push are these
    Ports (REG_MULTI_SZ) 49150-49200
    PortsInternetAvailable (REG_SZ) Y
    UseInternetPorts (REG_SZ) Y
    these settings are part of a GPO which gets applied to the computers without problem. Only the registry part fails:
    The computer 'Ports' preference item in the 'SQLServerGPOV {A9BB3E68-6275-44BC-A982-E6F8B3B02C26}' Group Policy object did not apply because it failed with error code '0x80070005 Access is denied.' This error was suppressed.
    The computer 'PortsInternetAvailable' preference item in the 'SQLServerGPOV {A9BB3E68-6275-44BC-A982-E6F8B3B02C26}' Group Policy object did not apply because it failed with error code '0x80070005 Access is denied.' This error was suppressed.
    The computer 'UseInternetPorts' preference item in the 'SQLServerGPOV {A9BB3E68-6275-44BC-A982-E6F8B3B02C26}' Group Policy object did not apply because it failed with error code '0x80070005 Access is denied.' This error was suppressed.
    Security filtering is set to Authenticated Users and Domain Computers like other GPOs
    I have tried Diagnostic group policy logging, but I do not see the reason of this error. Log is on pastebin HERE
    Any help appreciated. Thanks

    > Ports (REG_MULTI_SZ)    49150-49200
    > PortsInternetAvailable (REG_SZ)    Y
    > UseInternetPorts (REG_SZ)    Y
    What's the parent key of these values? And what ACLs are set on this
    parent key?
    Even SYSTEM does NOT have write access to all parts of the registry...
    Martin
    Mal ein
    GUTES Buch über GPOs lesen?
    NO THEY ARE NOT EVIL, if you know what you are doing:
    Good or bad GPOs?
    And if IT bothers me - coke bottle design refreshment :))

  • 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

  • Current status of push notification feature

    Dear Adobe (Bob ),
    what's current status of push notification feature? In new Viewer Builder i've noticed that there is mentioned that user should receive notification (unfortunately just red badge), so it's now really working automagically? I know that Bob tested this feature in August, so just to be sure.
    And is this feature working with developer builds as well, so we can test it?
    And is there any plan for better push - sending of notification? because badge is easy to be missed.
    We are of course speaking about Pro customers...
    Thanks
    Martin

    Hi John,
    Could you look at the Viewer Builder 1.5 Error we are seeing in: http://forums.adobe.com/message/3919055#3919055
    (sorry for cross-posting by the way).
    Thanks,
    Sara

  • Application Error while activating the feature - for creating list content type, list definition and list instance

    Dear all,
    I am getting application error while enabling the feature. if any body can point out the issue - that will be helpful.
    content type
    <?xml version="1.0" encoding="utf-8"?>
    <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
    <Field ID="{4C1B0A21-FCE0-4CFE-8742-A250672AFE4F}" Type="Note" Name="CourseDesc" DisplayName="Course Description" Required="TRUE" Group="Training Site Columns"/>
    <!-- Parent ContentType: Item (0x01) -->
    <ContentType ID="0x0100d57ecc53fde34177b096abd0ec90a8f9"
    Name="TrainingCourses"
    Group="Training Content Types"
    Description="Defines a Course"
    Inherits="TRUE"
    Version="0">
    <FieldRefs>
    <FieldRef ID="{4C1B0A21-FCE0-4CFE-8742-A250672AFE4F}" Name="CourseDesc" DisplayName="Course Description" Required="TRUE"/>
    </FieldRefs>
    </ContentType>
    </Elements>
    List definition
    <?xml version="1.0" encoding="utf-8"?>
    <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
    <!-- Do not change the value of the Name attribute below. If it does not match the folder name of the List Definition project item, an error will occur when the project is run. -->
    <ListTemplate
    Name="TrainingCourses"
    Type="10100"
    BaseType="0"
    OnQuickLaunch="TRUE"
    SecurityBits="11"
    Sequence="410"
    DisplayName="TrainingCourses"
    Description="Training Courses List Definition"
    Image="/_layouts/images/itgen.png"/>
    </Elements>
    List instance
    <?xml version="1.0" encoding="utf-8"?>
    <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
    <ListInstance Title="TrainingCourses"
    OnQuickLaunch="TRUE"
    TemplateType="10100"
    Url="Lists/TrainingCourses"
    Description="Training Course List Instance">
    </ListInstance>
    </Elements>
    schema
    <?xml version="1.0" encoding="utf-8"?>
    <List xmlns:ows="Microsoft SharePoint" Title="TrainingCourses" FolderCreation="FALSE" Direction="$Resources:Direction;" Url="Lists/TrainingCourses-LD_TrainingCourses" BaseType="0" xmlns="http://schemas.microsoft.com/sharepoint/">
    <MetaData>
    <ContentTypes>
    <ContentType ID="0x0100d57ecc53fde34177b096abd0ec90a8f9" Name="TrainingCourses" Group="Training Content Types" Description="Defines a Course" Inherits="TRUE" Version="0">
    <FieldRefs>
    <FieldRef ID="{4C1B0A21-FCE0-4CFE-8742-A250672AFE4F}" Name="CourseDesc" DisplayName="Course Description" Required="TRUE" />
    </FieldRefs>
    </ContentType>
    </ContentTypes>
    <Fields>
    <Field ID="{4c1b0a21-fce0-4cfe-8742-a250672afe4f}" Type="Note" Name="CourseDesc" DisplayName="Course Description" Required="TRUE" Group="Training Site Columns" />
    </Fields>
    <Views>
    <View BaseViewID="0" Type="HTML" MobileView="TRUE" TabularView="FALSE">
    <Toolbar Type="Standard" />
    <XslLink Default="TRUE">main.xsl</XslLink>
    <RowLimit Paged="TRUE">30</RowLimit>
    <ViewFields>
    <FieldRef Name="LinkTitleNoMenu">
    </FieldRef>
    <FieldRef Name="CourseDesc">
    </FieldRef>
    </ViewFields>
    <Query>
    <OrderBy>
    <FieldRef Name="Modified" Ascending="FALSE">
    </FieldRef>
    </OrderBy>
    </Query>
    <ParameterBindings>
    <ParameterBinding Name="AddNewAnnouncement" Location="Resource(wss,addnewitem)" />
    <ParameterBinding Name="NoAnnouncements" Location="Resource(wss,noXinviewofY_LIST)" />
    <ParameterBinding Name="NoAnnouncementsHowTo" Location="Resource(wss,noXinviewofY_ONET_HOME)" />
    </ParameterBindings>
    </View>
    <View BaseViewID="1" Type="HTML" WebPartZoneID="Main" DisplayName="$Resources:core,objectiv_schema_mwsidcamlidC24;" DefaultView="TRUE" MobileView="TRUE" MobileDefaultView="TRUE" SetupPath="pages\viewpage.aspx" ImageUrl="/_layouts/images/generic.png" Url="AllItems.aspx">
    <Toolbar Type="Standard" />
    <XslLink Default="TRUE">main.xsl</XslLink>
    <RowLimit Paged="TRUE">30</RowLimit>
    <ViewFields>
    <FieldRef Name="Attachments">
    </FieldRef>
    <FieldRef Name="LinkTitle">
    </FieldRef>
    <FieldRef Name="CourseDesc">
    </FieldRef>
    </ViewFields>
    <Query>
    <OrderBy>
    <FieldRef Name="ID">
    </FieldRef>
    </OrderBy>
    </Query>
    <ParameterBindings>
    <ParameterBinding Name="NoAnnouncements" Location="Resource(wss,noXinviewofY_LIST)" />
    <ParameterBinding Name="NoAnnouncementsHowTo" Location="Resource(wss,noXinviewofY_DEFAULT)" />
    </ParameterBindings>
    </View>
    </Views>
    <Forms>
    <Form Type="DisplayForm" Url="DispForm.aspx" SetupPath="pages\form.aspx" WebPartZoneID="Main" />
    <Form Type="EditForm" Url="EditForm.aspx" SetupPath="pages\form.aspx" WebPartZoneID="Main" />
    <Form Type="NewForm" Url="NewForm.aspx" SetupPath="pages\form.aspx" WebPartZoneID="Main" />
    </Forms>
    </MetaData>
    </List>
    I am applying the feature to SPWeb level.
    cheers
    Sathya

    redeployed a new solution; since I was getting this error. I would have done typo errors etc.
    https://naveengopisetty.wordpress.com/2011/09/10/error-occurred-in-deployment-step-activate-features-invalid-file-name-the-file-name-you-specified-could-not-be-used-it-may-be-the-name-of-an-existing-file-or-directory-or-you-may-not-have-pe/
    Cheers
    Sathya

  • HT1926 i am trying to download itunes 11.0 verision and am getting an error message that reads "feature ur trying to use is on a network resource that is unavailable" Can anybody help ?

    I am trying to download the new version of itunes 11.0 but am getting an error message  that reads "Feature your trying to use is on a network resource that is unavailable" Does anybody know how to resolve?

    Which particular .msi file does the message go on to say cannot be found? (Several different .msi files might be mentioned in this context: itunes.msi, bonjour.msi, AppleSoftwareUpdate.msi, etc.)

  • Trying to download iTunes 11.1 but it keeps giving me an error message saying: The feature you are trying to use is on a network resource that is unavailable.

    Trying to download iTunes 11.1 but it keeps giving me an error message saying:
    The feature you are trying to use is on a network resource that is unavailable.
    Click OK to try again, or enter an alternate path to a folder containing the installation package "iTunes64.msi" in the box below.
    Use Source:

    iTunes.msi
    Perfect, thanks.
    Download the Windows Installer CleanUp utility from the following page (use one of the links under the "DOWNLOAD LOCATIONS" thingy on the Major Geeks page):
    http://majorgeeks.com/download.php?det=4459
    To install the utility, doubleclick the msicuu2.exe file you downloaded.
    Now run the utility ("Start > All Programs > Windows Install Clean Up"). In the list of programs that appears in CleanUp, select any iTunes entries and click "Remove", as per the following screenshot:
    Quit out of CleanUp, restart the PC and try another iTunes install. Does it go through properly this time?

  • Error, while pushing the data from Oracle to MSSQL.

    Hi,
    I am facing the below error, while pushing the data from Oracle to MSSQL.
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [Transparent gateway for MSSQL][Microsoft][ODBC SQL Server Driver][SQL Server]Update or insert of view or function 'View_Name' failed because it contains a derived or constant field.[Microsoft][ODBC SQL Server Driver][SQL Server]Statement(s) could not be prepared. (SQL State: 00000; SQL Code: 8180)
    Please suggest me, how to overcome from this.
    Thanks.

    [email protected] wrote:
    Hi,
    I am facing the below error, while pushing the data from Oracle to MSSQL.
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [Transparent gateway for MSSQL][Microsoft][ODBC SQL Server Driver][SQL Server]Update or insert of view or function 'View_Name' failed because it contains a derived or constant field.[Microsoft][ODBC SQL Server Driver][SQL Server]Statement(s) could not be prepared. (SQL State: 00000; SQL Code: 8180)
    Please suggest me, how to overcome from this.
    Thanks.This is an error from SQL Server being passed back to Oracle so you can see the problem.
    What it is saying is that you are trying to insert (or update) data to a database view and that view contains a column that is either a constant (literal) value or is derived (a calculation, formula or string concatenation etc.).
    As such, you can't insert or update data on that column because it has nowhere to go on the database table(s) that underly the view.

  • When starting iTunes I continually get an error message " The registry Settings used by the iTunes drivers for importing and burning CDs and DVDs are missing.  This can happen as a result of installing other CD burning software. Please reinstall iTunes."

    When starting iTunes I continually get an error message " The registry Settings used by the iTunes drivers for importing and burning CDs and DVDs are missing.  This can happen as a result of installing other CD burning software. Please reinstall iTunes."  I have unistalled and reinstalled iTunes several times and have cleaned up the registry using a 3rd party Windows utility.  Any tips on removing this error message for good?

    I'd start with the following document, with one modification. At step 12 after typing GEARAspiWDM press the Enter/Return key once prior to clicking OK. (Pressing Return adds a carriage return in the field and is important.)
    iTunes for Windows: "Registry settings" warning when opening iTunes

  • When opening iTunes, I get the following error message: the registry setting used by the iTunes drivers for importing an burning CDs and DVDs are missing.  This can happen as a result of installing other CD burning software.  Please reinstall iTunes.

    When opening iTunes, I get the following error message: "The registry setting used by the iTunes drivers for importing an burning CDs and DVDs are missing.  This can happen as a result of installing other CD burning software.  Please reinstall iTunes."
    I have reinstalled iTunes twice and still get the message.
    Any clues??
    Thank you.

    I'd start with the following document, with one modification. At step 12 after typing GEARAspiWDM press the Enter/Return key once prior to clicking OK. (Pressing Return adds a carriage return in the field and is important.)
    iTunes for Windows: "Registry settings" warning when opening iTunes

  • 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");
      }

  • 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

  • Gnome: Error re-scanning registry , child terminated by signal

    This started happening after updating two days ago. I have no idea what actually causes this error nor how to fix it. Running any Gnome application that needs gstreamer (especially gnome-settings-daemon!) will fail with error:
    Error re-scanning registry , child terminated by signal
    For example, running gnome-settings-daemon --no-daemon --debug I get http://pastebin.archlinux.fr/358611
    Stuff I have tried: Reinstall gconf, gnome, gnome-extras, all gstreamer stuff - futile attempts.
    mv .gnome .gnome2 .gconf .gconfd to somewhere else - futile attempts.
    Anybody got any ideas?

    I had problems with xfburn and brasero but i see that totem also won't start. Me too it happened since an update some days ago.
    with totem i get the "child terminated by signal" and with xfburn i get "failed to initialize gstreamer"
    Seem this guy had the same problem:
    http://bbs.archlinux.org/viewtopic.php?id=62291
    Last edited by BeRReGoN (2009-09-10 02:47:37)

Maybe you are looking for

  • AIS CC: how undoing the actions of a JS run via app.doScript

    Hello, AIS CC (9.0) I wrote a JavaScript, which I can properly run through app.doScript(UndoModes.fastEntireScript, etc.). Now, at a given time, I would like to programmatically undo the actions of my own script. The various resources I have got here

  • Why does Logical file name in sys.master_files does not match SSMS Properties

    SQL 2012 11.0.2100.60 (x64) I have a sproc that does an ALTER to change the logical file name of a DB. Getting this error at a customer site "5041 MODIFY FILE failed. File 'Template_201401_Log' does not exist.' When I query the sys.Master_files the l

  • Spotify profile gives an error

    when i try to see my spotify profile, my ios app gives me "there is an error, try again later". i aiways have a problem about my profile. for example when i go to my following page there are accounts but it looks like i dont follow them. there is a  

  • Workbook transport

    Hi, I created workbook and transported to testing. Now i need to do some changes to workbook in the dev. I opened the workbook and did the changes and when saving the existing workbook i am getting the error "Document Store access caused errors in th

  • ITUNES - UNABLE TO UPDATE SOFTWARE - Source media damaged.

    Hi!! I keep trying to update the new software for my MacAir - but each time I attept to it has this error message: The spurce media you are installing from is damaged. Try installing from a different copy or source media or contact manufacturer. My I