Having problem setting system property with java -D name = value

I want some clarification. Consider the statement below
java -Djava.rmi.server.codebase=file:/c:\public_html\classes/
-Djava.rmi.server.hostname=xyz.com
-Djava.security.policy=java.policy engine.ComputeEngine
1. Is the syntax right for specifying a file directory as codebase?
-Djava.rmi.server.codebase=file:/c:\public_html\classes/
2. What does this hostname property imply? Does this mean that the program which is started can be accesed by xyz.com?
-Djava.rmi.server.hostname=xyz.com

Kurt,
I modified some of my directory structure as shown below and tried to execute. But I have got the same error again. Could you tell how to correct this error?
Under c:\home\ann\public_html\classes directory, I have the Following:
Sub-directory compute [Contains Compute.class and Task.class File]
Sub-directory engine [Contains ComputeEngine_Skel.class and ComputeEngine_Stub.class Files]
Sub-directory Meta-inf [Contains Manifest.mf file]
File compute.jar
Under c:\home\ann\src directory, I have the following:
Sub-directory engine [Contains ComputeEngine.java, ComputeEngine.class]
File java.policy
Under c:\home\jones\public_html\classes directory, I have the Following:
Sub-directory client [Contains Pi.class File]
Current working directory is c:\home\ann\src
The output from echo %CLASSPATH% was c:\home\ann\src; c:\home\ann\public_html\classes\compute.jar
When executing the command:
java -Djava.rmi.server.codebase=file:/c:\home\ann\public_html\classes
-Djava.rmi.server.hostname=bwing2
-Djava.security.policy=java.policy engine.ComputeEngine
I am getting the error,
ComputeEngine Exception: Stub class not found: engine.ComputeEngine_Stub; nested exception
is : java.lang.ClassNotFoundException: engine.ComputeEngine_Stub
java.rmi.StubNotFoundException: Stub class not found:
Sridhar

Similar Messages

  • I am having problems setting up iCloud with Outlook 2007.

    I was able to setup the email with Outlook, but every time I try to setup the contacts.  I get the following error:
    your setup could not be started because of unexpected error
    This error does not occur immediately, but occurs after several steps of downloading and uploading. 
    If I hit the report button, it hangs. So I hit cancel after that in my retries.  I am on Windows 2007 (32-bit). 

    You need to leave more information like what is the ios5 device. I following instructions accidently set up two iclouds and then I couldn't get the contacts in. My mobileme email isn't going to work anymore because I set up an icloud using my store apple ID. Apparently the term apple ID can refer to any apple product ID that you make up not the one you use in the store. So you need to leave more infor on what is your problem to figure out how to help.
    GR

  • Read this for all having problem setting up Routers with Broadband Modems

    I have used Netgear and Linksys for years now, but hadn't setup a new router for a while. Hence, struggled installing a new Airport Extreme to replace my Linksys Router which was not providing enough signal strength for my Mac Mini based iTunes database to stream to my Apple TV wirelessly. Here is what I did finally to resolve the issue:
    My setup: Arris TM502G broadband modem provided by Comcast
    1. I kept the old router powered up and removed the WAN connection from it and connected it to the AE.
    2. After I installed the Airport Utility, I powered up the AE and let it go thru the installation process and allowed it to pick up the settings from the old router. This step is simple and can be done manually.
    3. After that the struggle began as "Renew DHCP" wouldn't get me a valid 71.xxx.xxx.xxx series IP address from the Modem. I read all the posts (and felt the same pain as others). Saw very helpful posts with good intention to help others like "remove the power", "remove the battery from the modem", "let it sit without power for 24hrs", etc.. I couldn't use some of these suggestions as my house will be without an internet connection for a long time.
    4. Finally, I pressed the "Reset" switch behind the modem for a few seconds until all but the power indicator had turned off indicating a reset. Once it came up and all the LEDs were lit, a few seconds later the LED on the AE turned solid Green indicating success. Looked at the Airport Utility and indeed it had got the new IP address.
    There are not too many broadband modem manufacturers and so it shouldn't be too difficult to publish the installation procedure under FAQ on Apple support website for all the modems that Apple's test team has tested with. It could save a lot of grief. Even for a geek like me, I had to burn the midnight oil.
    PS: My Apple TV is now streaming the movies/tv shows/home videos from my Mac Mini smoothly. That was the reason I purchased this expensive router. And I found the "guest access" feature which I wasn't aware of. Excellent feature to let my son's friends hook up their laptops during a study/school project session without letting them access our other home computers.

    do you mean to see that the XP machine is working as a VPN server ?? if yes then you need not require to forward ports on the router...the laptop should be able to connect to the VPN server remotely ..
    if not , then connect the VPN server directly to the modem and check whether you can connect to the VPN server remotely from the router ..

  • Im having problem setting up my Hotmail account, it used to work fine until few days ago. It says ive entered an incorrect username or password which i can sign in fine with them details if i use laptop or safari through the phone, Please help..

    Im having problem setting up my Hotmail account, it used to work fine until few days ago. It says ive entered an incorrect username or password which i can sign in fine with them details if i use laptop or safari through the phone, Please help..

    I Sugges you to log into your hotmail acc and go to security and password change bit, then you will see two-step verification.. turn that off and you will be able to set it up on your iPhone/iPad or even Mac.
    Give your phone a restart before trying to set it up. Thanks

  • Having problems setting text to a JLabel!!

    HI *.*,
    i'm having problems setting text to a JLabel.
    i have a JFrame with a JPanels and on the JPanel i have a JLabel.
    I have a text field wihich is used to input text.
    So, i'm using textField.getText() to read the text of the text field and setText() to write it to the Label.
    but setText() isn't displaying the text on the label.
    I'm using NetBeans as an ide
    Does anyone have any ideas??

    Here is some code
    public class AddClass extends JFrame implements ActionListener{
        public AddClass() {
            initComponents();
        }//end of 1st constructor with initComp
        //initComponents
        private void initComponents() {
            getContentPane().setLayout(new java.awt.GridLayout(3, 1));
            setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
            prodPanel.setLayout(new java.awt.GridLayout(1, 3));
            prodPanel.setBackground(new java.awt.Color(255, 255, 255));
            prodPanel.setBorder(javax.swing.BorderFactory.createTitledBorder(javax.swing.BorderFactory.createEtchedBorder(), "Production", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Arial", 1, 12)));
            westPanel.setLayout(new java.awt.GridLayout(6, 0));
            westPanel.setBackground(new java.awt.Color(255, 255, 255));
            westPanel.add(westLab1);
            westLab2.setBackground(new java.awt.Color(255, 255, 255));
            westLab2.setFont(new java.awt.Font("Arial", 1, 36));
            westLab2.setForeground(new java.awt.Color(0, 204, 0));
            westLab2.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
            westLab2.setIcon(new javax.swing.ImageIcon("C:\\icontexto-webdev-bullet-048x048.png"));
            westLab2.setText("MQ 35");
            westLab2.setHorizontalTextPosition(javax.swing.SwingConstants.LEFT);
            westLab2.setIconTextGap(10);
            westLab2.setInheritsPopupMenu(false);
            westPanel.add(westLab2);
            westPanel.add(westLab3);
            westPanel.add(westLab4);
            westPanel.add(westLab5);
            prodPanel.add(westPanel);
            setJMenuBar(menuBar);
            setTitle("Broker Monitor");
            this.setSize(700, 700);
            BrokerWindowCloser brkWindowCloser = new BrokerWindowCloser();
            this.addWindowListener(brkWindowCloser);
            pack();
            //       setVisible(true);
        }//end of initComponents
        public AddClass(String st) {
            initComponents();
            westLab6.setVisible(true);
    //        System.out.println("in broker  " + st); 
            westLab6.setText(st);
            System.out.println(st);
            westLab6.setBackground(new java.awt.Color(255, 255, 255));
            westLab6.setFont(new java.awt.Font("Arial", 1, 36));
            westLab6.setForeground(new java.awt.Color(0, 204, 0));
            westLab6.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
            westLab6.setIcon(new javax.swing.ImageIcon("C:\\PNG\\icontexto-webdev-bullet-048x048.png"));
            westLab6.setEnabled(true);
            westLab6.setHorizontalTextPosition(javax.swing.SwingConstants.LEFT);
            westLab6.setIconTextGap(15);
            westLab6.setInheritsPopupMenu(false);
            westPanel.add(westLab6);
    //       this.validate();
            westPanel.repaint();
        public void actionPerformed(ActionEvent ae) {
            Object source = ae.getSource();
            if(source == exitMI) {
                System.exit(0);
            }//end of if exitMI
            if(source == addMI){
                new AddMQ_1_1();
            if(source == removeMI){
                new RemoveMQ_1();
        }//end of actionPerformed
        class BrokerWindowCloser extends WindowAdapter {
            public void windowClosing(WindowEvent we) {
        }//end of windowcloserclass
        public static void main(String args[]) {
            java.awt.EventQueue.invokeLater(new Runnable() {
                public void run() {
                    new AddClass().setVisible(true);
        }//end of main
    }// End of variables declaration
       public void addButtonActionPerformed(java.awt.event.ActionEvent evt) {
    // TODO add your handling code here:
            Object source = evt.getSource();
            if(source == addButton){
                System.out.println("here");
                String st = mqNameJTF.getText();
                Broker1 br = new Broker1(st);
                AddClass adc = new AddClass(st);
                this.repaint();
    this.dispose();
            }//end of if addButton
        }//end addButtonActionPerformed

  • Hot to set system property?

    When running my application I do it by calling
    <java -Dorg.omg.CORBA.ORBInitialHost=192.175.5.1 com.gui.Login>
    but I read somewhere I could only type
    <java com.gui.Login>
    if I set system property <org.omg.CORBA.ORBInitialHost=192.175.5.1> in java code. Does anyone know how can I do it?
    Thanks.

    Thank you so much Bjarne
    It really worked and finally we aren't with that headache of few weeks ago.
    Thanks... really.
    kind regards, Celso

  • Set system property using -D flag that references another system property

    Hi,
    I'm interested in doing something like the following
    java -Dmy.prop=${user.home}/.tmpdir
    Setting the property in Java code is not an option.
    Can this be done?
    Thanks for helping.

    The only way I think you could do this is to ask the os for this value.
    i.e windows: $HOMEDRIVE\$HOMEPATH
    java -Dmy.prop=$HOMEDRIVE\$HOMEPATH\.tmpdir
    linux: ~
    java -Dmy.prop=~/.tmpdir
    Or to use a small java application to return the value into the command line:
    java -Dmy.prop=$(java HomeDir)/.tmpdir
    class HomeDir {
      public void main (String ... args) {
        System.out.println(System.getProperty("home.dir"));
    }

  • I am having problems configuring airport express with time capsule

    Hi,
    I am having problems setting up airport express (old version) with time capsule. It was working perfectly fine with my old router, Airport Extreme (b/g).
    I have tried to reset the Airport Express, and now I am having problems finding it in my personal networks. Not too sure what exactly is going on, other than it was working less than a day ago, and now I can't even locate it on the network to configure.
    Anyone have any suggestions? I have already tried a hard reset, and no luck so far.

    There are 3 types of resets.
    1. Soft
    2. Hard
    3. Factory
    Try a factory reset.
    http://docs.info.apple.com/article.html?artnum=108044
       Joseph Kriz

  • Is anyone else having trouble setting up messages with the new mountain lion software? I keep getting a notification that i cant sign in and it is saying, check network connection and try again, but i have full wifi bars, thanks, Justin

    is anyone else having trouble setting up messages with the new mountain lion software? I keep getting a notification that i cant sign in and it is saying, check network connection and try again, but i have full wifi bars, thanks, Justin

    Install this to get X11 functionality back in 10.8
    http://xquartz.macosforge.org/landing/
    Worked great for me and others.
    Jerry

  • Is their a way to set system property in weblogic console

    Hi WL USERS
    Is their a way to set system property in weblogic console ie (http://localhost:8080/console) ? if yes, can we access that property in code using System.getProperty()?
    Regards
    vishy

    Yes, It is Possible.
    Please check the Option-1). Mention in the Following Link: http://weblogic-wonders.com/weblogic/2010/03/26/nodemanager-based-managedservers-setting-mem_args/
    Here i tried to set a Custom Property "*-Duser.dir=E:/MyDirectory*" through the Admin Console.
    NOTE: Setting any Option like JAVA_OPTIONS/CLASSPATh etc through Admin Console will work only when you start your Servers using the NodeManager. It means when you start your ManagedServers through AdminConsole...or Using nodeManager based WLST scripts.
    Thanks
    Jay SenSharma
    http://weblogic-wonders.com/weblogic/ (WebLogic Wonders Are Here)

  • I'm having problems uploading video taken with my iPhone 4 to Photobucket.  FB will not accept the file extension which is ex. IMG_423.  They will play on my computer and will upload to Facebook.  Why is the phone taking video with this file instead of so

    I'm having problems uploading video taken with my iPhone 4 to Photobucket.  FB will not accept the file extension which is ex. IMG_423.  They will play on my computer and will upload to Facebook.  Why is the phone taking video with this file instead of something like .mov or mp4.  How can I change the extension after the fact and avoid it in the future?

    You said, "the 4 also has signal and wifi whereas the 5 has only wifi". By "signal", I'm assuing that you mean cellular signal. If so, that means your iPhone 4 is still active on your cellular number and your iPhone 5 is not. Contact your carrier to sort out which phone is active on your account.

  • Problem setting up WDS with MSI RG54GS2 & Motorola WR850g

    Problem setting up WDS with WR850g & MSI RG54GS2
    Hi,
    I'm trying to bridge 2 routers: Motorola WR850g & MSI RG54GS2 .
    I set the MSI as the main router (it works better for me as a router than the Moto), and the Moto is the repeater. I have set it up exactly as the guide on Broadbandreports.com for the Motorola , and on Tom's Networking http://www.tomsnetworking.com/2004/04/14/how_to_wds_bridge/
    The Moto sees the MAC of the MSI (Status is UP), the MSI doesn't have a page that shows WDS MACs . I know the routers are connected because when I connect a laptop to the Moto wireless network, it gets an IP (and the DHCP on the Moto is disabled) and the default gateway of the connection is the IP of the main (MSI) router.
    The problem is I can't surf anywhere. I can't even ping the MSI router - which should be possible if the WDS works properly.The Moto Wireless Bridge Operation is set properly to Access Point/Wireless Bridge .
    Can anyone solve this?
    Thanks.

    David, welcome to the discussions.
    Are you refering to Airport Extreme Setup as the Extreme base.
    Or are you using a 3rd party Router as your primary Base, or the Express as the primary base.
    Read the supplied link, Not all 3rd party routers are WDS compatible.
    http://discussions.apple.com/thread.jspa?messageID=2785566
    Who is you Internet Service Provider?
    What brand and Model Modem did they furnish?
    Are you using Dial-Up...DSL...or Cable?
    http://docs.info.apple.com/article.html?artnum=303595
    See if there is any help from this link.
    http://discussions.apple.com/thread.jspa?messageID=607414
    Cheers Don

  • I am having problems syncing my ipad2 with my outlook 2010. Any suggestions

    I am having problems syncing my ipad2 with my outlook 2010. I went to ATT& T store and they recommended airplane mode when syncing.  It did not sync Outlook to my ipad 2. Any suggestions?

    You haven't purchased apps with multiple Apple ID's have you? If you have, you can only sync with one Apple ID in the iTunes library at a time. Whichever ID you are signed into on the computer and the iPad would determine which apps would sync.
    Have all of your apps been transferred into iTunes for your iPad?
    iTunes Store: Transferring purchases from your ... - Support - Apple

  • HT1277 having problem setting up a second email account

    I am having problems setting up a second email account on my imac.  help!

    In the Add Account dialog, enter the information, then hold down the option key and click Continue. Finish setting up the account manually.

  • Had to remove itunes from my computer to reset the computer. Now I'm having problems syncing my iphone with the computer. Computer is saying it wants to download updates to the phone but that will delete things I downloaded straight from the phone. Help!

    Had to remove itunes from my computer to reset the computer. Now I'm having problems syncing my iphone with the computer. Computer is saying it wants to download updates to the phone but that will delete things I downloaded straight from the phone. Help!

    iTunes thinks you have a new computer because you restored the OS. Open iTunes and authorize it to the same account you have on the iPhone. Did you restore your iTunes content from a backup after resetting your computer? Have you been syncing regularly with the computer, and does the iTunes library on the computer contain your apps, music and videos? If so just sync and your content will be removed then restored.
    If you have not hopefully you have now learned something. You can recover apps and purchased songs by connecting the phone, without syncing, and choose "Transfer purchases..." from the File menu.

Maybe you are looking for

  • Adobe Digital Editions won't prompt to authorize e-reader.

    I want to authorize my new Nook WIFI (and my WIFI is down).  I downloaded and installed Adobe Digital Editions, created an Adobe ID and authorized my computer.  I have downloaded books to my computer.  With ADE open, I plugged in my Nook. ADE detects

  • Adobe Form Logo Edit(Modify) Problem

    Dear Experts We have the ESS working in which travel Request form has got the logo of IDES (Adobe Form). My query is to remove that logo and print our company's logo on the same. After doing many effort to change that logo, I am not able to make chan

  • Imbeded videos in Powerpoint won't play when shown in other computer.

    Hi there. I encounter the following problem: I make a presentation in Powerpoint and I include videos, and when I copy the file to a flash disk to play it on other computers (no matter if they are PC or Mac) Powerpoint searches for the video file. I

  • Multi Blade Server  (Intel + UltraSPARC)

    I'm looking for a mutil-blade server with both Intel blades and UltraSPARC blades. Does anyone know a current product out on the market that supports this configuration? Thanks, J

  • Ipod skips mp3 files

    I recorded an audio book on tapes to wave files and then converted the wave files to mp3. I added these mp3 files into Itunes but Ipod has trouble playing them. When I click on file Ipod skips to another file. I even converted these file to AAC and s