Hi ppl help me out in removing bug

package helloclient;
import java.util.Properties;
import javax.naming.Context;
import javax.naming.InitialContext;
import javax.rmi.PortableRemoteObject;
import Hello.*;
import org.omg.CORBA_2_3.ORB;
import org.omg.CosNaming.NamingContextExt;
import org.omg.CosNaming.NamingContextExtHelper;
public class Main {
/** Creates a new instance of Main */
public Main() {
* @param args the command line arguments
public static void main(String[] args) {
try {
Properties p=new Properties();
p.setProperty("Djava.naming.factory.initial","com.sun.jndi.cosnaming.CNCtxFactory");
p.setProperty("Djava.naming.provider.url","iiop://172.20.33.218:3700");
InitialContext ic = new InitialContext(p);
Object o= ic.lookup("ejb/TellHelloBean");
TellHelloRemoteHome helloHome = (TellHelloRemoteHome)PortableRemoteObject.narrow(o,TellHelloRemoteHome.class);
TellHelloRemote obj=helloHome.create();
System.out.println("" + obj.printHello());
System.out.flush();
} catch(Exception e) {
e.printStackTrace();
The above code is the client side code which calls upon the server
When i call the server from the same client its working cool...
But when i try to call it from another system its not working and its throws the following exception.
javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resou
rce file: java.naming.factory.initial
at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
kindly help me out
gopal

p.setProperty("java.naming.factory.initial","com.sun.jndi.cosnaming.CNCtxFactory");
p.setProperty("java.naming.provider.url","iiop://172.20.33.218:3700");
take the D out
regards

Similar Messages

  • Battery running down fast using Yosemite, running the latest update 10.10.2. I think there is bug in this update. Please help me out or is there a way can i switch back to mavericks and how

    Battery running down fast using Yosemite, running the latest update 10.10.2. I think there is bug in this update. Please help me out or is there a way can i switch back to mavericks and how

    1. Check the cycle count of the battery against the rated life for your model. The battery may be due for replacement. If the power adapter is connected almost all the time, the battery may need replacing even though the cycle count is not too high.
    2. Follow these instructions, or these for OS X 10.8 or earlier.
    3. In the Energy Saver preference pane, uncheck the box marked
              Enable Power Nap while on battery power
    if it's shown (it may not be.)
    4. You can also try resetting the SMC.
    5. Make sure your system is up to date in Software Update.
    6. Make a "Genius" appointment at an Apple Store, or go to another authorized service center.

  • I have two accounts on my pc, ad on gets installed on other(limited acces account) but not on main administrator account in mozilla ?? help me out please....

    i have two accounts on my pc, add on gets installed on other(limited access account) but not on main administrator account in mozilla ?? help me out please..

    I have Norton Internet Security, but that doesn't seem to have stopped it. And it's goofy. It won't let me lock it by clicking its lock. The lock keeps magically coming unlocked.
    Also, my computer crashes more than once a week on average.
    Those two facts are related.
    Norton Antivirus has a very long and illustrious reputation for mangling Mac OS X systems, sometimes to the point where a complete reinstall is necessary. Among other things, it installs kernel extensions which are known to cause kernel panics and system freezes; it contains known and documented bugs which can silently corrupt Adobe Photoshop and Adobe InDesign files, destroy a user's ability to authenticate as an administrator, and (on PPC systems) can cause Classic to stop functioning; and Symantec has on at least two occasions now released flawed .dat file updates which erroneously report certain critical Mac OS X files as "viruses." (Deleting these "viruses" causes damage to the system that in some cases renders it unbootable.)
    You may find my User Tip on Viruses, Trojan Detection and Removal, as well as general Internet Privacy, useful:
    http://discussions.apple.com/thread.jspa?threadID=1764179&tstart=0
    Regarding MacScan, First update the MacScan malware definitions before scanning. You can also contact their support team for any additional support - [email protected]
    Security of OS X generally:
    http://www.apple.com/macosx/security/
    http://www.nsa.gov/ia/_files/os/applemac/I731-007R-2007.pdf
    Security Configuration for Version 10.5 Leopard:
    http://images.apple.com/server/macosx/docs/LeopardSecurity_Config_2ndEd.pdf

  • ... PPL Help required Urgent for Viewing Data

    Hi . sorry for such simple question..
    I have displayed 3 different blocks on a same canvas1 and one block on tab canvas placed on the canvas1
    Now i made a menu bar where one of my menu is
    view data.
    behind that menu i m writing the code.
    select st_id from Site where st_id = :txtstid;
    but when i compile it says bad bind variable :txtstid;
    when i remove the colon, it says identifier required txtstid...
    Now what to do..
    Then i wrote..
    go_block('Site');
    go_item('item1')
    and now it compiled properly but when i run it .. it is not giong to that item..
    may b i m doing something wrong.. how to interact with menu s..
    cant i put the same functionality behind them as we do behind button press triggers..
    I need to do it urgent so kindly asses what is happening ..
    cant we place more than one block on same canvas and then access thier items
    with the block name.
    like Site.stid.
    stid by the way is the text item.. that contains the site ids.. at run time..
    Kindly gimme some advices. the form is so large that it is not easier me making it again..
    BR

    One more thing ppl...
    the same fucntionality is working behind the Button i have created..
    so plz help it out.. BR

  • All day calendar events not being displayed in the notification centre for iphone 5 post ios 7 upgrade. Please help. Is it a bug?

    All day calendar events not being displayed in the notification centre for iphone 5 post ios 7 upgrade. Please help. Is it a bug?
    With iOS 6, the all day events showed up in the notification centre but it lacks in the upgrade iOS 7.

    Same problem here. Some people pointed out that all-day events do show up in their notification center, but that seems only to be the case for birthdays (and only as text like the weather). I've tried it myself on my iPhone and iPad and it did work for birthdays but not for any other all-day events. I already sent this to Apple as a product feedback as well, as should everyone of you. The more people mention it, the faster Apple's going to fix this issue. In its current state, notification center is not a very helpful feature in my opinion. There's absolutely no point in not showing all-day events in the 'today' calendar overview.
    Here's a link to the product feedback page: http://www.apple.com/feedback/
    I posted my message in the iPhone section since I couldn't find a page specifically dedicated to iOS 7.
    I really love the look & feel of iOS 7 but it's kinda sad to see notification center not tapping its full potential.
    Cheers!

  • Hi iam unable to connect to itunes stores.i think the problem is with my network but i dont know how solve it please guys help me out.Moreover this happened when i was updating my iphone 4 and i am not even able 2 use my iphone.

    i ran the diagnostic test and got this result.please help me out friends
    Microsoft Windows 7 Ultimate Edition (Build 7600)
    TOSHIBA ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ
    iTunes 10.6.1.7
    QuickTime 7.7.1
    FairPlay 1.14.37
    Apple Application Support 2.1.7
    iPod Updater Library 10.0d2
    CD Driver 2.2.0.1
    CD Driver DLL 2.1.1.1
    Apple Mobile Device 5.1.1.4
    Apple Mobile Device Driver 1.59.0.0
    Bonjour 3.0.0.10 (333.10)
    Gracenote SDK 1.9.5.502
    Gracenote MusicID 1.9.5.115
    Gracenote Submit 1.9.5.143
    Gracenote DSP 1.9.5.45
    iTunes Serial Number 0015AB8402A8B010
    Current user is not an administrator.
    The current local date and time is 2012-05-15 09:28:41.
    iTunes is not running in safe mode.
    WebKit accelerated compositing is enabled.
    HDCP is supported.
    Core Media is supported.
    Video Display Information
    Intel Corporation, Mobile Intel(R) 45 Express Chipset Family (Microsoft Corporation - WDDM 1.1)
    Intel Corporation, Mobile Intel(R) 45 Express Chipset Family (Microsoft Corporation - WDDM 1.1)
    **** External Plug-ins Information ****
    No external plug-ins installed.
    iPodService 10.6.1.7 is currently running.
    iTunesHelper 10.6.1.7 is currently running.
    Apple Mobile Device service 3.3.0.0 is currently running.
    **** Network Connectivity Tests ****
    Network Adapter Information
    Adapter Name:        {3E4453B3-9F50-4117-8981-7391E871F420}
    Description:            Realtek RTL8187B Wireless 802.11b/g 54Mbps USB 2.0 Network Adapter
    IP Address:             0.0.0.0
    Subnet Mask:          0.0.0.0
    Default Gateway:    0.0.0.0
    DHCP Enabled:      Yes
    DHCP Server:        
    Lease Obtained:     Thu Jan 01 03:00:00 1970
    Lease Expires:       Thu Jan 01 03:00:00 1970
    DNS Servers:        
    Adapter Name:        {2E1A8652-B977-4486-A1C2-4D1EDC4204CF}
    Description:            Marvell Yukon 88E8040T PCI-E Fast Ethernet Controller
    IP Address:             192.168.1.18
    Subnet Mask:          255.255.255.0
    Default Gateway:    192.168.1.1
    DHCP Enabled:      Yes
    DHCP Server:         192.168.1.1
    Lease Obtained:     Tue May 15 09:21:21 2012
    Lease Expires:       Fri Oct 12 09:21:21 2012
    DNS Servers:         192.168.1.1
    Active Connection: LAN Connection
    Connected:             Yes
    Online:                    Yes
    Using Modem:        No
    Using LAN:             Yes
    Using Proxy:           No
    Firewall Information
    Windows Firewall is on.
    iTunes is enabled in Windows Firewall.
    Connection attempt to Apple web site was successful.
    Basic connection to the store failed.
    The network connection timed out.
    Connection attempt to Gracenote server was successful.
    Last successful iTunes Store access was 2012-05-07 20:18:49.

    Check your system for possible Malware. But you have to do it in WIndows Safe Mode.
    (Do not use your own Anti-virus to SCAN)
    Start your computer in "Safe mode with networking", go to this link download a free version of Malwarebyte.
    http://www.malwarebytes.org/products/malwarebytes_free
    Install and perform update immediately, then do a full SCAN. Remove malware if it indeed finds any. Restart computer to regular windows to let Malwarebyte complete the removal.
    To start your computer in safe mode
    Press and hold the F8 key as your computer starts. You need to press F8 before the Windows logo appears. If the Windows logo appears, you'll need to try again by waiting until the Windows logon prompt appears, and then shutting down and restarting your computer.
    On the Advanced Boot Options screen, use the arrow keys to highlight the "safe mode with networking" option, and then press Enter. Log on to your computer with a user account that has administrator rights.
    When your computer is in safe mode, you'll see the words Safe Mode in the corners of your screen. To exit safe mode, restart your computer and let Windows start normally.

  • I can not get my ipod touch/iphone 5s to sync to itunes i have tried everything i can think of reset ipod,redownload itunes check linking cable usb port ect... if anyone out there is or has gone through this please help me out thx

    can someone please help me out!!!!

    See
    iOS: Device not recognized in iTunes for Windows
    - I would start with
    Removing and Reinstalling iTunes, QuickTime, and other software components for Windows XP
    or              
    Removing and reinstalling iTunes and other software components for Windows Vista, Windows 7, or Windows 8
    However, after your remove the Apple software components also remove the iCloud Control Panel via Windows Programs and Features app in the Window Control Panel. Then reinstall all the Apple software components
    - New cable and different USB port
    - Run this and see if the results help with determine the cause
    iTunes for Windows: Device Sync Tests
    Also see:
    Troubleshooting issues with iTunes for Windows updates
    - Try on another computer to help determine if computer or iPod problem

  • Hi.can u pls help me out I'm stuck and don't know what to do..

    pls help me out...can i activate my iPhone 4s without knowing the previous owners iCloud password???i bought the phone and have no clue on where to find him.

    TJ Junior wrote:
    pls help me out...can i activate my iPhone 4s without knowing the previous owners iCloud password???i bought the phone and have no clue on where to find him.
    Sorry no.  If you don't know the previous owners info or can't get a hold of them, then you now own an ibrick.
    Find My iPhone Activation Lock: Removing a device from a previous owner’s account - Apple Support
    Apple can't help you either.

  • Black screen w/blinking cursor hp dv6700 please help me out someone!!

    My dv6700 running vista 32 bit has shut down on me and when i try to start it I get the first HP screen and then get stuck on a black screen with blinking cursor.....so i can't get to the next screen to press F8.....I went to this page to download iso file to make a recovery cd http://downloadcenter.intel.com/Detail_Desc.aspx?lang=eng&DwnldID=15074 and then used IMGBURN program to burn iso to cd....then put the burned cd into my HP cd drive and started it up but still to the black screen with blinking cursor.....then got into my bios screen on the next try to change boot order to start with cd drive but same thing...black screen blinking cursor.....I really hope someone can help me out here.......I've never posted on any forum ever...always googled everything myself cause i wasn't sure if i'd actually get a response on a forum....so i'm hoping i've been wrong this hole time...... 

    Hi,
    I don't think the ISO you downloaded will provide the necessary repair options you need to try, so I'd suggest first creating a retail Vista installation disc and using the repair options this provides.  A full description of creating the disc ( including links to the Vista Image downloads ) can be found on the following link.
    http://en.community.dell.com/support-forums/software-os/w/microsoft_os/3317.2-3-microsoft-windows-vi...
    Once created, tap away at the esc key as you start the notebook to enter the Start-up Menu.  Insert the Rescue CD.  Select Boot options ( usually f9 ), use the arrow keys to select the CD/DVD drive and hit enter.  You may also get a prompt to 'Press any key to continue' - do this if asked.
    When loaded, select Repair Your Computer and choose the Command Prompt.  When this loads, enter the following commands and hit enter after each one - include spaces as shown.
    Bootrec.exe
    bcdedit /export C:\BCD_Backup
    c:
    cd boot
    attrib bcd -s -h -r
    ren c:\boot\bcd bcd.old
    bootrec /RebuildBcd
    bootrec /fixmbr
    bootrec /fixboot
    Remove the Rescue CD and try rebooting the notebook.
    Regards,
    DP-K
    ****Click the White thumb to say thanks****
    ****Please mark Accept As Solution if it solves your problem****
    ****I don't work for HP****
    Microsoft MVP - Windows Experience

  • Could not connect to internet even when my cellular data is ON. Have tried the steps mentioned in "trouble shooting cellular data" but still the same issue exists. Can anyone please help me out

    I am unable to connect to internet on My iphone 5. I have turned on Cellular data and also 3G but still could not connect.
    I have also tried the steps mentioned for touble shooting cellular data, restarted my phone, turned on airplane mode and turned off. removed my sim and inserted back. Still internet connection in not getting connected.
    Please can anyone help me out from this issue.
    Regards,
    Josh

    Do you have voice service?  If you have voice service but just no cellular data service, I would suggest calling your carrier as you may just have an improperly provisioned account with them, or a bum SIM card.

  • I am trying to instal the latest version of iTunes onto my MacBook Pro, but my computer has been "configuring" the installation since 5pm yesterday and now it is 10:30am. It has never done this before. Can anybody help me out?

    I am trying to instal the latest version of iTunes onto my MacBook Pro, but my computer has been "configuring" the installation since 5pm yesterday and now it is 10:30am. It has never done this before. Can anybody help me out?

    Many thanks b Noir
    This is a copy of ONEof the keys  in the registry I changed  as told by Apple support today. I also have changed others as instructed by GEAR  software support to manually delete GEAR drivers (that I had installed but couldn't delete some of the others  they mentioned from Windows system 32. Then some bright spark at work told me I need the Gear drivers so  I downloaded the software and installed again.
    Sorry, just this minute went to insert image  and it is giving me a message saying this sort of content  is not allowed?.
    The most recent key I altered is in: HKey _local _machine. System\class - 4D36E965-E325-11CEBFC1-08002BE10318. Upper Filter data: Upper filter NTIDrvr  SiRem GEARAspiWDN.
    The GEARsoftware info about manually deleting  GEAR drive is from:
    http://www.gearsoftware.com/wiki/index.php?title=DRIVERS:_Windows_-_Updating%2C_ removing%2C_64_bit_versions%2C_etc
    I hope you can help

  • Why the modem deconncts frequently with this error message, "You were disconnected by the PPP server. Try reconnecting."? Please, help me out.

    Hello. I am using a ZTE 3G modem. Whenever I connect to internet, Sometimes during browsing or downloading it disconnects with the error message, "You were disconnected by the PPP server. Try reconnecting." There is no problem with the modem. Last few months, I have used it with Mac OS X Mavericks. There was no problem. Some days ago, I downgrade to Mac OS X 10.8.3, because I was fed up with different bugs in 10.9. Anyway, the first two days the connection were fine. But, after that, The problem began from no where. I tryed everything i could, but, It didn't help.
    Please, help me out. It's very disturbing frequanlty disconnection. I am mad at the PPP is like, if I found standing it in front of me, I would beat it with a bat, who gave this so called Mr. PPP permission to disconnect my connection as it's wish!

    Hi I'm having same issue since last week and now unable to reconnect. Not sure if it's an issue with the mobile company, modem or apple .
    Before was able to connect eventually now connects and drops connection after 3 seconds . Using macbookpro early 2014 mavericks all ipdate - modem 4G Huawei
    Haven't found any info to assist us
    Hope someone comes forward soon
    Thanks and good luck !

  • Please help me out with  "Data only excel option "

    Post Author: pavan pusuluri
    CA Forum: Crystal Reports
    When i am trying to spool the data with data only excel option using crystal reports XI, the records are appearing in two rows instead of single row. i have studied that when we use data only excel option entire record will be displayed in a single row,but it is not appearing in that way.Please help me out in fixing this bug. I am very much new to crytal reports.

    Post Author: pavan pusuluri
    CA Forum: Crystal Reports
    I thank you for the prompt reply.  
    All the field are of same size and height.  The format is fine.  The report is designed in such a way that data is   displayed in three detail sections. What i would like to have is " i want the data in these three sections to be displayed in a single row when i select the data only excel  export option".Please help me  out in fixing this issue.
    Thanks in anticipation

  • HT201263 Hi. I forgot my passcode and now I am unable to unlock my ipod. I tried restoring it using itunes in recovery mode as well as dfu mode but it says unable to restore,unknown error occured (3004).  Please help me out. My ipod is locked for one hour

    Hi. I forgot my passcode and now I am unable to unlock my ipod. I tried restoring it using itunes in recovery mode as well as dfu mode but it says unable to restore,unknown error occured (3004).  Please help me out. My ipod is locked for one hour now.

    Locked Out, Forgot Lock or Restrictions Passcode, or Need to Restore Your Device: Several Alternative Solutions
    1. iOS- Forgotten passcode or device disabled after entering wrong passcode
    2. iPhone, iPad, iPod touch: Wrong passcode results in red disabled screen
    3. Restoring iPod touch after forgotten passcode
    4. What to Do If You've Forgotten Your iPhone's Passcode
    5. iOS- Understanding passcodes
    6. iTunes 10 for Mac- Update and restore software on iPod, iPhone, or iPad
    Forgotten Restrictions Passcode Help
    You will need to restore your device as New to remove a Restrictions passcode. Go through the normal process to restore your device, but when you see the options to restore as New or from a backup, be sure to choose New.
    Also, see iTunes- Restoring iOS software.

  • TS3694 i can't restore my iphone 4..keep error 3194 can anyone help me out?

    i can't restore my iphone 4..keep error 3194 can anyone help me out?

    If you experience this issue on a Mac, disconnect third-party devices, hubs, spare cables, displays, reset the SMC, and then try to restore.
    If you are using a Windows computer, remove all USB devices and spare cables other than your keyboard, mouse, and the device, restart the computer, and try to restore.
    If that does not resolve the issue, try the USB issue-resolution steps and articles listed for Error 1604 above.
    If the issue persists, it may be related to conflicting security software.
    From Here  >  http://support.apple.com/kb/TS3694

Maybe you are looking for