Having trouble to call my EJB object

Hi All:
I used JDeveloper 2 to deploy the helloworld EJB sample. The
deployment wnet well and I am able to see test/Hello object under
Published JServer Objects. However, I am having trouble to call
Hello thru the Client application and got the following error:
javax.naming.CommunicationException: Unknown service:
127.0.0.1:900:2481test
at
oracle.aurora.jndi.sess_iiop.SessionCtx.initialContext(Compiled
Code)
at
oracle.aurora.jndi.sess_iiop.SessionCtx.<init>(Compiled Code)
at
oracle.aurora.jndi.sess_iiop.ServiceCtx.createSession(Compiled
Code)
at oracle.aurora.jndi.sess_iiop.ServiceCtx.login(Compiled
Code)
at
oracle.aurora.jndi.sess_iiop.ServiceCtx.defaultSession(Compiled
Code)
at
oracle.aurora.jndi.sess_iiop.ServiceCtx.lookup(Compiled Code)
at
oracle.aurora.jndi.sess_iiop.sess_iiopURLContext.lookup(Compiled
Code)
at
oracle.aurora.jndi.sess_iiop.sess_iiopURLContext.lookup(Compiled
Code)
at javax.naming.InitialContext.lookup(Compiled Code)
at Client.main(Compiled Code)
Any helps are greatly appreciated!
Frank
null

Thank for the quick reply!
There were 2 things I did wrong and both of them you pointed out.
I left off sid in the url and did not include the jar in my
project. Now it works!
Thanks again!
Frank
JDeveloper Team (guest) wrote:
: Hi Frank,
: couple of things to look out for
: - >create a database connection through the connection manager
in
: JDeveloper using your parameters 127.0.0.1 (host ) 900 (port)
: 2481test(sid). ( I grepped this from your error message)
: See if the connection is successful and you are able to see the
: deployed ejb.
: -> second make sure you have added the client side generated
jar
: files as part of your project properties for the project.
: regards
: raghu
: Frank Zhang (guest) wrote:
: : Hi All:
: : I used JDeveloper 2 to deploy the helloworld EJB sample. The
: : deployment wnet well and I am able to see test/Hello object
: under
: : Published JServer Objects. However, I am having trouble to
call
: : Hello thru the Client application and got the following
error:
: : javax.naming.CommunicationException: Unknown service:
: : 127.0.0.1:900:2481test
: : at
oracle.aurora.jndi.sess_iiop.SessionCtx.initialContext(Compiled
: : Code)
: : at
: : oracle.aurora.jndi.sess_iiop.SessionCtx.<init>(Compiled Code)
: : at
oracle.aurora.jndi.sess_iiop.ServiceCtx.createSession(Compiled
: : Code)
: : at oracle.aurora.jndi.sess_iiop.ServiceCtx.login(Compiled
: : Code)
: : at
oracle.aurora.jndi.sess_iiop.ServiceCtx.defaultSession(Compiled
: : Code)
: : at
: : oracle.aurora.jndi.sess_iiop.ServiceCtx.lookup(Compiled Code)
: : at
oracle.aurora.jndi.sess_iiop.sess_iiopURLContext.lookup(Compiled
: : Code)
: : at
oracle.aurora.jndi.sess_iiop.sess_iiopURLContext.lookup(Compiled
: : Code)
: : at javax.naming.InitialContext.lookup(Compiled Code)
: : at Client.main(Compiled Code)
: : Any helps are greatly appreciated!
: : Frank
null

Similar Messages

  • 7.1 having trouble hitting call and end button

    I hate the buttons and grey background on my apps in 7.1!

    Thank for the quick reply!
    There were 2 things I did wrong and both of them you pointed out.
    I left off sid in the url and did not include the jar in my
    project. Now it works!
    Thanks again!
    Frank
    JDeveloper Team (guest) wrote:
    : Hi Frank,
    : couple of things to look out for
    : - >create a database connection through the connection manager
    in
    : JDeveloper using your parameters 127.0.0.1 (host ) 900 (port)
    : 2481test(sid). ( I grepped this from your error message)
    : See if the connection is successful and you are able to see the
    : deployed ejb.
    : -> second make sure you have added the client side generated
    jar
    : files as part of your project properties for the project.
    : regards
    : raghu
    : Frank Zhang (guest) wrote:
    : : Hi All:
    : : I used JDeveloper 2 to deploy the helloworld EJB sample. The
    : : deployment wnet well and I am able to see test/Hello object
    : under
    : : Published JServer Objects. However, I am having trouble to
    call
    : : Hello thru the Client application and got the following
    error:
    : : javax.naming.CommunicationException: Unknown service:
    : : 127.0.0.1:900:2481test
    : : at
    oracle.aurora.jndi.sess_iiop.SessionCtx.initialContext(Compiled
    : : Code)
    : : at
    : : oracle.aurora.jndi.sess_iiop.SessionCtx.<init>(Compiled Code)
    : : at
    oracle.aurora.jndi.sess_iiop.ServiceCtx.createSession(Compiled
    : : Code)
    : : at oracle.aurora.jndi.sess_iiop.ServiceCtx.login(Compiled
    : : Code)
    : : at
    oracle.aurora.jndi.sess_iiop.ServiceCtx.defaultSession(Compiled
    : : Code)
    : : at
    : : oracle.aurora.jndi.sess_iiop.ServiceCtx.lookup(Compiled Code)
    : : at
    oracle.aurora.jndi.sess_iiop.sess_iiopURLContext.lookup(Compiled
    : : Code)
    : : at
    oracle.aurora.jndi.sess_iiop.sess_iiopURLContext.lookup(Compiled
    : : Code)
    : : at javax.naming.InitialContext.lookup(Compiled Code)
    : : at Client.main(Compiled Code)
    : : Any helps are greatly appreciated!
    : : Frank
    null

  • I'm having trouble making calls with my Iphone 4. When I try to, the person on the other side can't hear me, and all I can hear are noises. But when I use apps like Viber or Facetime, I can make calls just fine! What may be the problem?

    When I try to, the person on the other side can't hear me, and all I can hear are noises. But when I use apps like Viber or Facetime, I can make calls just fine! What may be the problem?

    Did you fix the problem? I have the same problem and it has been pain in the neck.

  • Having trouble deleteing call list

    Can someone please help me out if possible. Is there a way to delete the recent call list all in one shot instead of doing it one by one. I have the 8330 curve with verizon. Thank you!
    Solved!
    Go to Solution.

    highlight the first entry and hold down the caps key (aA) and scroll down until you have highlighted the list and select delete.
    I hope this helps.

  • Im having troubles making calls with my iphone 5 (MEXICO - TELCEL)

    please, any help.. if this is happening in another country, it may help me.
    SI ESTA PASANDO LO MISMO CON ALGUIEN DENTRO DE MEXICO, AYUDA POR FAVOR

    Hi there,
    I would recommend taking a look at some of the troubleshooting steps found at the website below.
    iPhone Troubleshooting Assistant
    http://www.apple.com/support/iphone/assistant/calls/
    -Griff W.

  • 3-way call trouble - "merge calls" grayed out

    I'm having trouble merging calls when I try to do a 3-way call.  I can make the two separate calls but the "merge" button is always grayed out.  I have the service through my provider and an iPhone 4s.  Thanks for any help!

    Thanks, diesel vdub...I actually did contact the carrier and everything was a-ok on their end.  Any other suggestions? 

  • I'm having trouble with something that redirects Google search results when I use Firefox on my PC. It's called the 'going on earth' virus. Do you have a fix that could rectify the vulnerability in your software?

    I'm having trouble with a virus or something which affects Google search results when I use Firefox on my PC ...
    When I search a topic gives me pages of links as normal, but when I click on a link, the page is hijacked to a site called 'www.goingonearth.com' ...
    I've done a separate search and found that other users are affected, but there doesn't seem to be a clear-cut solution ... (Norton, McAfee and Kaspersky don't seem to be able to detect/fix it).
    I'd like to continue using the Firefox/Google combination (nb: the hijack virus also affects IE but not Safari) - do you have a patch/fix that could rectify the vulnerability in your software?
    thanks

    ''' "... vulnerability in your software?" ''' <br />
    And it affects IE, too? Ya probably picked up some malware and you blame it on Firefox.
    Install, update, and run these programs in this order. They are listed in order of efficacy.<br />'''''(Not all programs detect the same Malware, so you may need to run them all to solve your problem.)''''' <br />These programs are all free for personal use, but some have limited functionality in the "free mode" - but those are features you really don't need to find and remove the problem that you have.<br />
    ''Note: If your Malware infection is bad enough and you are mis-directed to URL's other than what is posted, you may have to use a different PC to download these programs and use a USB stick to transfer them to the afflicted PC.''
    Malwarebytes' Anti-Malware - [http://www.malwarebytes.org/mbam.php] <br />
    SuperAntispyware - [http://www.superantispyware.com/] <br />
    AdAware - [http://www.lavasoftusa.com/software/adaware/] <br />
    Spybot Search & Destroy - [http://www.safer-networking.org/en/index.html] <br />
    Windows Defender: Home Page - [http://www.microsoft.com/windows/products/winfamily/defender/default.mspx]<br />
    Also, if you have a search engine re-direct problem, see this:<br />
    http://deletemalware.blogspot.com/2010/02/remove-google-redirect-virus.html
    If these don't find it or can't clear it, post in one of these forums for specialized malware removal help: <br />
    [http://www.spywarewarrior.com/index.php] <br />
    [http://forum.aumha.org/] <br />
    [http://www.spywareinfoforum.com/] <br />
    [http://bleepingcomputer.com]

  • I'm having trouble facetiming.  I live in mexico and I don't know if that is the problem.  Everything seems to be in order, it rings on my end when I call someone but it doesn't get through to them.  Same is true when someone calls/facetimes me.

    I'm having trouble facetiming.  I live in Mexico but I know other people who facetime from where I live.  Everything seems to be in order; I call, it rings on my ipad but it doens't ring through to the person I'm calling.  Likewise, when someone calls me, it doesn't ring on my ipad.

    Using FaceTime http://support.apple.com/kb/ht4319
    Troubleshooting FaceTime http://support.apple.com/kb/TS3367
    The Complete Guide to FaceTime: Set-up, Use, and Troubleshooting Problems
    http://tinyurl.com/32drz3d
     Cheers, Tom

  • I having trouble with my i phone 4 ...when i make a call the other person cant hear me

    im having trouble with my i phone 4 ...when i make a call the other person can not hear me

    Kayla, check the grill that covers the microphone (bottom left next to charging port) and make certain there isn't any dirt, makeup, spilled soda clogging the grill causing it to fail. My sister had a similar issue with her earphone and while I was in the process of replacing it for the third time I decided to check the grill under a very bright light and it was totally clogged up causing her not to be able to hear her phone calls. Use a Q-Tip dipped in hot water and gently wipe the grill. Just barely moisten it, no need to go crazy with the water. Might as well clean the earphone and speaker on the bottom right too. Anyhow, that could be what your issue is and if so it's a really simple fix. If that doesn't help just replace the microphone. It'd cost maybe $5 and ten minutes of your time to do. Good luck, John

  • Having trouble calling my work voicemail from the iphone - it doesnt recognize the dtmf tones

    i am having trouble calling my work voicemail frome the iphone - it does not recognize the DTMF tones from the dialpad.  we have justgone to a new IP voice system at work

    we use a remote dialling code to divert our office landlines to mobiles, we have had awful trouble with the iphones in doing this with the number stored as a contact, We also have trouble dialling the number direct from the keypad it still comes up with error and says the number has not been recognised.
    I have managed to sort out how to remedy this for us on this end and i will give an example below, the 'p' represents a pause
    (numbers changed for security)
    original phonebook contact stored, please notice the pauses 'p' only the first single pause
    01223495684p*65*4530*01223456456*07555456456#
    the new number now stored in the phonebook with the extra pauses 'p'
    01223495684pp*65p*4530p*01223456456p*07555456456#  as you can see we dial a landline number and then give a pause for the next tone to cut in, then we enter the overall divert code, after this we enter the pin code followed by the landline number to divert and finally the mobile number that will be taking the calls and finishing off with hash.
    all our other phones except the iphone will dial this number and work correctly with one pause at the beginning, I have now tried thios with two pauses at the beginning and one pause between each section and it now works fine,
    This has cured our problem using the io5 iphones 4s. we could not dial these numbers with the iphones for nothing, all other phones work fine. When you have a bluetooth headset connected the problem is even worse.
    this has cured our problem and hope this helps you all also

  • HT201272 I recently upgraded from an Iphone 4S to 5. I am having trouble with magicjack; each time i install it it gives me an error message "The installation associated with this device is invalid". Cannot seem to access account info or make calls.

    I recently upgraded from an Iphone 4S to 5. I am having trouble with magicjack; each time i install it it gives me an error message "The installation associated with this device is invalid". Cannot seem to access account info or make calls.

    I have exactly the same trouble.
    If you wet the answer, please let me know!!

  • I am having trouble using Facetime. When connecting with known users the connection drops out just as the other person accepts my call

    I am having trouble with Facetime. On answering my call by another party the connection immediately fails

    Hello alancc1942,
    The following article provdies some useful troubleshooting steps that can help resolve such issues with FaceTime.
    iOS: Troubleshooting FaceTime
    http://support.apple.com/kb/TS3367
    Cheers,
    Allen

  • I have a new Mac, I am having trouble accessing Bill Pay on my banking site. After 2 unsuccessful calls to my bank, I thought I would ask here....is there something I need to do?

    I have a new Mac. I am having trouble accessing the Bill Pay on my bank site. After 2 unsuccessful calls to my bank I thought I would try here. Is there anything I need to change in my settings?

    We can't really say without more information.  It could just be that your bank site stinks and only works in Internet Explorer, which means you can't use it without Windows.  It could be that it relies on Flash or Java and you don't have either installed.  Your bank should be able to tell you if it requires either of those, and we can tell you where to get those things.  Or it could be something else entirely.

  • HT1338 HAVING TROUBLE INSTALLING A GAME CALLED WORLD OF WAR CRAFT 3

    HAVING TROUBLE INSTALLING A GAME CALLED WORLD OF WAR CRAFT 3

    If you're talking about WoW, it's already playable in Lion, just download the latest version.  If Warcraft 3, as I said, it's probably never going to be updated by Blizzard at this point.  It's a very old game and would probably not earn them enough to be worth the expense.

  • I am also having trouble with my cursor freezing after installing Mavericks. Never did it before. I called tech support at Apple and they had me restart computer and mouse together from a complete shut down. So far has seemed to work.

    I am having trouble with my cursor freezing between applications after installing Mavericks. Called Apple on my 3 year warranty and opened a case. They suggested a complete shut down of computer and turning off mouse. Then a reboot and turn on mouse. So far iit has seemed to work. Hope this continues??
    Hope it helps others.

    I think you can solve your problems by removing your AppleID email address from BOTH the Messages setting on your iPhone and the iMessages settings on your Mac.
    On iPhone:
    Settings > Messages > iMessage > Dissabled
    Settings > Messages > Send & Receive > touch the "(i)" < touch "Remove This Email"
    On Mac:
    Open "Messages" application
    Click "Messages menu > Preferences
    Click "Accounts"
    Select your AppleID account
    Under the "You can be reached for messages at" settings, uncheck your AppleID email address and your phone number
    Then uncheck the "Enable this account" setting
    And lastly, ask all of your friends with iPhones to delete all iMessage conversations (blue bubbles) in their entirety.
    To test, send a friend a new text using their phone number (not their email address) and watch the color of the bubble.  If it's green then you are using SMS.

Maybe you are looking for

  • @IdClass problem in JDeveloper 10.1.3.1

    Hi, @IdClass(MyPK.class) I used the line above in an entity bean class, and it worked well with JDeveloper 10.1.3.0 and it's embedded OC4J. And this is right based on the J2EE API spec. Now I downloaded 10.1.3.1 and it gives error during compilation:

  • Safari Mountain Lion text editing glitch

    Has anyone else seen problems with the latest Safari on the latest Mountain Lion where text that is being edited causes flashing? I found a YouTube video that demonstrates the problem: http://www.youtube.com/watch?v=aYkqXkJXod4 This is very similar t

  • Non-editable Cyrillic Characters

    we have a problem with Acrobat8 Pro, v8.0.0.23.10.2006. When trying to edit and add Cyrillic characters in any document, we get unreadable characters. Has anyone encountered such a problem and if yes, is there a way to fix it.

  • Urgent ! open the same page in query and create record mode...

    We have to page in our project First page include a list show employees(page1) and second page(page2) showsdetail information on employees. We have two button on page1 ("CREATE NEW EMPLOYEES" and "EDIT EMPLOYEES") When we press create button we need

  • Question with turning off logging

    Hi! I am having trouble turning off all logging from withing Tomcat. I keep seeing logs like this: 16/06/2003 17:02:52 com.solarmetric.datasource.DataSourceImpl log INFO: [ C:9889177; T:6386542; D:1133335 ] begin rollback 16/06/2003 17:02:52 com.sola