RMI - JSP or App code problem

I am trying to connect to AIX server running the RMI service from my desktop on Windows using eclipse. Here is the code:
package rmitest;
* module: RMITest.java
import java.util.*;
import java.net.*;
import java.rmi.*;
import java.rmi.RMISecurityManager;
public class RMITest
public static void main( String args[] )
RequestManagerServer rms = null;
int i = 0;
System.setSecurityManager( new RMISecurityManager());
try
System.out.println("Starting RMS");
String url = new String( "rmi://10.11.25.25:1099/RMS");
System.out.println("RMS Server Lookup: url =" + url);
rms = (RequestManagerServer)Naming.lookup( url );
if( rms != null )
rms.printRate();
else
System.out.println("Requested Remote object is null.");
catch( Exception e )
System.out.println("An error occured");
e.printStackTrace();
System.out.println(e.getMessage());
The compilation errors out highliting "RequestManagerServer cannot be resolved as a type". Should the package/class which defines the above be imported in my app? or how should eclipe be configured to run? Please help.
Message was edited by:
subramanyamysore
Message was edited by:
subramanyamysore

if( rms != null )This can only happen if someone bound a null into the Registry. Is that likely?
Should the package/class which defines the above be
imported in my app?Yes

Similar Messages

  • KMS 9.0 trial code problem

    First of all i want so say sorry for my bad english.
    I,m from germany and i installed the file "kmsecurity9379eu2_129945.sis" from ovi store.
    My mobile phone is Nokia 5230 NAVI.
    After the trial i want to uninstall the app.
    But now i need a code to uninstall KMS 9.0.
    I've never set any code at installation and it's not my pin-code or something like 0000.
    I tried to ask the people from kaspersky to help me with that problem.
    At their forum there is an guy named Viktor "Head of Mobile Development" who want's the imei nummers from the people with that code-problem.
    But i cannot contact him, cause his inbox is always full.
    So what can i do?
    Don't want to hard reset my phone, cause there are many apps i payed for.
    And please remove the app from ovi store, cause many people have that problem.

    At first, I thought I have the same problem. I am trying to uninstall the App but it's asking for a code. But after searching for an answer online. It come to m mind that I entered an 8 digit code. I tried to enter the code. And bingo! I was able to remove it from my nokie e5-00.  Definitely, you entered a code as you cannot continue to install the trial version without creating your own code. No need to hard reset your phone.

  • App Code 523 Error

    Since morning I am facing the problem. The moment I switch my Phone it hangs, and I get the white screen with two lines.
    App Code 523 ( Read Only) Cant slect the option
    Reset ( which restarts the phone)
    I clicked on the Reset option 10 times, but still when it reboots, I still get the same screen.
    I tried wiping out and connecting to the desktop manager, both the options are not working.
    Any alternative to reset the phone to factory settings.

    I have desktop software version 6.1.0.35.  Here's how I did it:
    Open desktop software.
    Connect the phone to your computer.
    Once it shows in desktop software that your phone is connected, go to the top left & click on where it says "Devices" and you will get a drop down menue
    In the drop down menue select "Update"
    When you select "update" it will automatically check for a firmware update.  If you have the most recent FW update then it will say "There are no BB Device Software updates available"
    On that screen select "view other versions" on the bottom left.
    Then it will show the most recent version(s) & you then select  the version you have/want (I only get 1 version available for my phone as I only have a Curve 8320) and then click on "install" in the bottom right.  From there just follow the instructions that it gives.
    As a reminder I would back up your data before doing the firmware reinstall.
    Hope this helps!

  • Ok, I have deleted EVERYTHING off my 16gb ipad. Photos, music, apps. All I have are the standard apps. It says I have used 11gb and only have 1.6 left. When I first bought it I had up to 4 movies and lots of apps, no problems. What's going on please!?

    Ok, I have deleted EVERYTHING off my 16gb ipad. Photos, music, apps. All I have are the standard apps. It says I have used 11gb and only have 1.6 left. When I first bought it I had up to 4 movies and lots of apps, no problems. What's going on please!?

    How much space is used by your Other? You may be able to reduce.
    How Do I Get Rid Of The “Other” Data Stored On My iPad Or iPhone?
    http://tinyurl.com/85w6xwn
    With an iOS device, the “Other” space in iTunes is used to store things like documents, settings, caches, and a few other important items. If you sync lots of documents to apps like GoodReader, DropCopy, or anything else that reads external files, your storage use can skyrocket. With iOS 5/6, you can see exactly which applications are taking up the most space. Just head to Settings > General > Usage, and tap the button labeled Show All Apps. The storage section will show you the app and how much storage space it is taking up. Tap on the app name to get a description of the additional storage space being used by the app’s documents and data. You can remove the storage-hogging application and all of its data directly from this screen, or manually remove the data by opening the app. Some applications, especially those designed by Apple, will allow you to remove stored data by swiping from left to right on the item to reveal a Delete button.
     Cheers, Tom

  • Messy code problem while translating XString to String in OfficeControl

    Hi Expert,
        I have messy code problem while translating XString to String in XML-Format Word Doc in OfficeControl.
    I upload an XML-Format template Word Doc to server as a MIME Object.
    When OfficeControl is started in Web Dynpro, OfficeControl automatically open the XML-Format template.
    For the first time, I get the XString-type Context attribute bind to the content of the Word Doc,
    then translate it to string, I got the XML-format content, it's great!
    However, after the first time, when I input any new contents in MS Word in Web Dynpro,
    no matter I execute "Ctrl + S" or click the "savedocument" button,
    when I translate the XString Context attribute to String, I got messy code. (but the first time, it is good plain text)
    I use the function module: ECATT_CONV_XSTRING_TO_STRING (good for first time, dump after first time),
    SCMS_XSTRING_TO_BINARY, SCMS_BINARY_TO_STRING (good for first time, messy code after first time).
    My Demo source code is in: (system) SMV --> (local object) zhaode --> (Dynpro Component) ztest_office_control
    core source code is as:
    clear itab.
    CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
    EXPORTING
    BUFFER = lv_datas
    IMPORTING
    OUTPUT_LENGTH = lv_length
    TABLES
    binary_tab = itab.
    CALL FUNCTION 'SCMS_BINARY_TO_STRING'
    EXPORTING
    input_length = lv_length
    mimetype = 'text/plain; charset=utf-8'
    IMPORTING
    text_buffer = lv_datas_string
    output_length = lv_data_len
    TABLES
    binary_tab = itab.
    Can you give me some advice?
    Many thanks in advance.
    Best Regards,

    You have already posted this same question several times (and some very similiar questions) within the forum.  Please do NOT multiple post your questions. This is against the forum rules of engagement. SAP employee or not, you will find yourself banned from the forums if you don't follow the rules.

  • I dont remember the first apple id that link with my clash of clans apps. the problem now is i need to link my COC village and it keep saying "please log in with correct game center" is there anyway that i can retrieve my old apple id? please help me

    i dont remember the first apple id that link with my clash of clans apps. the problem now is i need to link my COC village and it keep saying "please log in with correct game center" is there anyway that i can retrieve my old apple id? please help me i dont want to lose my village, i have spent my money on that game to much. hmmm

    thanks mate, but the problem is im using different apple id now, and after about 1 year play coc and today i want to link the village , suddenly coc said that
    thats mean im playing this village with different apple id and it not saved. and the problem is i dont remember the first apple id and password that i use first time to download this game. hmmm it was so confusing, why coc and game center just make this thing saved with a new game center account.

  • Hello, okay? On September 13 I bought an iPad and in October bought a game on the app store problem is that when informed the card number dropped normally, but then went on to ask for a new form of payment because one had given any errors, and so not lowe

    Hello, how are you? On September 13 I bought an iPad and in October bought a game on the app store problem is that when informed the card number dropped normally, but then went on to ask for a new form of payment because one had given any errors, and so not lowered any other game and not upgraded the already downloaded. I do not know what exactly I have to do, because if informed a new payment method continues with the same problem, checked the card bill and really had given an error, because there was no billed the game. I ask you to verify what happened and explain to me what I need to do, because my single card is Visa's and do not intend to return others to use the services of the App Store.
    Thank you for understanding.

    I think you need the app store support. http://www.apple.com/support/mac/app-store/contact/ Go there and use one of the methods to contact them about your issue and they should be able to help you out.
    This forum isn't checked by Apple employees but is for users to help each other out.
    Phil

  • My iTunes won't detect my iPhone that has to be restored via iTunes *because if pass code problems* and its running iOS 7.2

    my iTunes won't detect my iPhone that has to be restored via iTunes *because if pass code problems* and its running iOS 7.0.4

    If itunes is comming up and saying it can't read the device because it's locked with a passcode, you may have to put your device into recovery mode first.
    To put your device in recovery mode: (Following these steps will erase your device and reset everything to factory defaults)
    1) press and hold the power button until you see the slide to power off option
    2) swipe to power off
    3) Press and hold the home button while the device is off and connect it to your computer. Continue holding the home button until you see a graphic with the iTunes logo with a picture of a USB cable below it.
    4) iTunes should give you a message that it has detected a device in recovery mode. Click ok and then select Restore iPhone. iTunes will download a fresh copy of iOS and then wipe the device and restore it. Depending on the speed of your computer's internet connection this may take a while. Just leave the iphone connected to your computer until it's finished.
    If itunes is not detecting it at all or is Not giving you the message that the phone is locked with a passcode, you may end up having to reinstall itunes. This seems to be a fairly common problem after the most recent itunes update (11.1.5)
    If this is the case and you happen to be running a windows based computer you will have to uninstall itunes in this order from your programs and features option in control panel:
    iTunes
    Apple Software Update
    Apple Mobile Device Support
    Bonjour
    Apple Application Support (iTunes 9 or later)
    Then download and reinstall itunes from itunes.com try putting your device into recovery mode again and restore.
    Hope this helps.
    Cheers.

  • Switching between Design and JSP tabs add code?

    I am new to SJSC and I am taking the time to go through all of the little odds & ends of the IDE.
    I was looking at:
    http://blogs.sun.com/roller/page/tor?entry=computing_html_on_the_fly
    And I decided to try this.
    When I add the following in the JSP tab:
    <h:outputText binding="#{Page1.tableHtml}" id="outputText1"/>Save.
    Then click on the Design tab, then go back to the JSP tab, I now have:
    <h:outputText binding="#{Page1.tableHtml}" id="outputText1"/>
    <h:outputText binding="#{Page1.outputText1}" id="outputText1"/>It's late here, but this doesn't make any sense, why would switching between Design and JSP tabs add code?
    Thanks,
    --Todd                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Girish: I followed these steps:
    1.) Downloaded:
    Sun Java Studio Creator 2, Multilanguage creator-2-windows-ml.exe 254.23 MB
    2.) When I started the install, I received the message:
    Welcome to Sun Java(TM) Studio Creator 2! You are installing: Sun Java Studio Creator 2 development environment Sun Java System Application Server Platform Edition 8.1 2005Q1 Update Release 2 Bundled database
    3.) Installed version:
    Product Version: Java Studio Creator 2 (Build 060120)
    IDE Versioning: IDE/1 spec=5.9.1.1 impl=060120
    Also, Under, the Palette window: Standard component list, there is a component labeled Output Text.
    When placed on a jsp, the following code is produced:
    <h:outputText binding="#{Page1.outputText1}" id="outputText1" style="position: absolute; left: 24px; top: 48px"/>Thanks,
    --Todd                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Preview App printing problem

    Running 10.6.8 on a Quad-Core PowerMac with Canon IP2600 printer via USB.
    Thought I was running out of ink at first, but a closer look shows documents printed from Preview.app are printing only outlines of black characters and black graphics as if everything is in an outline font. At first it was the lower 2/3rds of the page, then 3/4s, now it's the entire page printing black in faint outlines only, very precise (while color logos print normally).
    These docs are PNGs. The same PNG prints perfectly in Photoshop. So I created a doc in Photoshop with two thick, solid, vertical black lines; saved and printed as a PNG and as a JPEG, both print fine in Photoshop. When opened and printed in Preview, both print as a series of very thin rectangular outlines running down the page.
    Started happening out of the blue a few days ago, so I trashed three Preview pref files (showing recent modification dates), restarted and nothing changed. Do I need to reinstall the app? Can't think of any recent changes that might've affected Preview or the printer, no updates or installs in the past few weeks. Preview displays onscreen as it's supposed to.....
    Anybody have a clue what's going on here? The only other Preview.app printing problem I can find has to do with printer color profiles.....
    Thank you for any suggestions, I'm stumped!
    Mike

    Well..... duh!
    The real mystery is why docs in Photoshop continued printing long after Preview had quit printing those SAME docs. Photoshop never did fail to print - but a new ink tank/print head solved the problem.
    Good thing ya can't LOSE points for asking stupid questions, huh.
    D'oh!

  • Visual basic code problem

    Hello!
    I want to use visual basic to build a htm which can control labview throght datasocket, i set the switch
    as " Swithc until release " in visual basic, the code is
    Private Sub CWButton1_Click()
    CWDataSocket1.Data = CWButton1.Value
    End Sub
    but the led of labview can't light on.
    is the code problem?
    thanks!

    The problem is most likely because you have the code in the Click() event handler. The click event in VB is a left mouse down AND mouse up over the controls. If you are wanting it to send out the value when you press and hold the button down, change the event handler to the ValueChanged event.
    Best Regards,
    Chris Matthews
    National Instruments

  • Java.rmi.RemoteException: HTTP Status-Code 404 Not Found  securesimple/Ping

    Hello!
    I'm testing interop and simple application for JWSDP and I get the following error in the context:
    build-client:
    run-sample:
    [echo] Running the simple.TestClient program....
    [java] Service URL=http://localhost:8080/securesimple/Ping
    [java] Nov 4, 2004 1:31:54 PM com.sun.xml.wss.filter.DumpFilter process
    [java] INFO: ==== Sending Message Start ====
    [java] <?xml version="1.0" encoding="UTF-8"?>
    [java] <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/".............
    [java] </env:Body>
    [java] </env:Envelope>
    [java] ==== Sending Message End ====
    So, after the client has send the message this error occurs:
    [java] java.rmi.RemoteException: HTTP Status-Code 404: Not Found - /secures
    imple/Ping; nested exception is:
    [java] HTTP Status-Code 404: Not Found - /securesimple/Ping
    [java] at simple.PingPort_Stub.ping(PingPort_Stub.java:96)
    [java] at simple.TestClient.main(TestClient.java:37)
    [java] Caused by: HTTP Status-Code 404: Not Found - /securesimple/Ping
    [java] at com.sun.xml.rpc.client.http.HttpClientTransport.checkResponse
    Code(HttpClientTransport.java:302)
    [java] at com.sun.xml.rpc.client.http.HttpClientTransport.connectForRes
    ponse(HttpClientTransport.java:252)
    [java] at com.sun.xml.rpc.client.http.HttpClientTransport.invoke(HttpCl
    ientTransport.java:88)
    [java] at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.
    java:92)
    [java] at simple.PingPort_Stub.ping(PingPort_Stub.java:80)
    [java] ... 1 more
    [java] Exception in thread "main"
    [java] Java Result: 1
    The application is running on localhost in a local network, so for accesing internet we're using a proxy. For this we tried to set up the proxy configuration and still the same error. We've also unplugged the network cable but it didn't help.
    We've done all the neccesary settings and we're using "org.bouncycastle.jce.provider.BouncyCastleProvider " as a JCE provider.
    Thank you!

    Just a guess, but if this is a secure web service shouldn't you be trying to connect to it using SSL? e.g.
    https://localhost:443/securesimple/Ping
    Have you tried hitting the web service via your browser and appending the ?WSDL to the URL
    http://localhost:8080/securesimple/Ping?WSDL
    https://localhost:443/securesimple/Ping?WSDL
    Can you telnet to http://localhost:8080

  • HT1933 Why can you not resolve an app purchase  problem simply ! As you have done in the past

    Why can you not resolve an app purchase  problem simply ! As you have done in the past

    Most of the people on these forums, including myself, are fellow users - you're not talking to iTunes Support here.
    If you have a problem with an app that the developer can't/won't help you with then you will need to contact iTunes Support, either as described on the page that you posted from, or via the 'report a problem' link from your purchase history : log into your account on your computer's iTunes via the Store > View Account menu option and you should then see a Purchase History section with a 'see all' link to the right of it ; click on that and you should see a list of your purchases ; find that app and use the 'Report a Problem' link and fill in details about the problem

  • Extend/Change the Standard Fiori App code

    Hi,
    We have implemented FIORI App in our SAP landscape.After implementation app is running fine.I want the change the standard FIORI App code for a specific app like change the label,change the Background Image,Change the Font style etc.I googled and made changes according to the article provided.
    Steps done to change the Standard app code.
    1)Downloaded the source code and uploaded in eclipse.
    2)Created a Extension Project and replaced the entire view with my new view.
    3)Shared the project and submitted the changes in gateway system.
    4)Created semantic object and other things required to show the custom app on launch pad.
    5)But when I click on custom app developed on the Launch pad it is navigating to a blank screen with no UI elements.But standard app is working fine.
    So please tell me the correct procedure to change the app and show it on Launch pad.
    Tags edited by: Michael Appleby

    Hi Ritesh,
    Following are the steps I followed in extending a Fiori App.
    I am trying to extend HCM_LR_APV(Approve Leave request ) app.
    So I downloaded HCM_LR_APV BSP Application.
    I uploaded in Eclipse IDE .I created an Extension Project(ZHCM_LR_APV) for this.
    For testing I tried to change the Icon in one of the view.
    So I replaced the S3 view by placing the Original Code same and changing the Icon only.
    In Component.js file I gave the path to the parent application in Load function.See the below code for your reference.
    jQuery.sap.declare("hcm.mgr.approve.leaverequests.CUST_HCM_LR_APV_EXT.Component");
    sap.ui.component.load({
      name: "hcm.mgr.approve.leaverequests",
      url:"/sap/bc/ui5_ui5/sap/hcm_lr_apv",
    hcm.mgr.approve.leaverequests.Component.extend("hcm.mgr.approve.leaverequests.CUST_HCM_LR_APV_EXT.Component", {
      metadata: {
      version : "1.0",
      config : {
      "sap.ca.i18Nconfigs": {
      "bundleName":"hcm.mgr.approve.leaverequests.CUST_HCM_LR_APV_EXT.i18n.i18n"
      customizing: {
      "sap.ui.viewReplacements": {
      "hcm.mgr.approve.leaverequests.view.S3": {
      viewName: "hcm.mgr.approve.leaverequests.CUST_HCM_LR_APV_EXT.view.S3Custom",
      type: "XML",
    Then I submitted the changes and tested the Custom BSP Application.But I am getting the error as below
    Error Message:
    Failed to load resource: the server responded with a status of 404 (NOT FOUND) http://sapfiorisrvr.domain.com:portno/sap/bc/ui5_ui5/sap/zhcm_lr_apv_ext/Component-preload.js
    Thanks&Regards,
    Akhil Das

  • Where do I find a App code

    I am being asked for the App code to download a work app. Where or how do I find this code
    Thanks

    You should ask your work?  Maybe your IT department knows?

Maybe you are looking for