• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

org.omg.CORBA.NO_PERMISSION error, please help!

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I got the following error message when I run a clientEJB
javax.naming.CommunicationException: org.omg.CORBA.NO_PERMISSION
does that mean role/security has not been properly set?
Thanks,
Cindy
 
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I got this error after I started using the final release of J2SDKEE1.3. If you deploy the client application to the server, then it fixes the problem.
To deploy the client, select "File" then "New... Application Client". Add the client's bytecode file, then deploy it to the server. There is a batch file in the j2sdkee1.3\bin folder called "runclient" that is used to run your deployed client app. You will be asked for a username (guest) and a password (guest123).
That should fix it. Let me know if you need more details.
Rich

Originally posted by Cindy Hu:
Hi,
I got the following error message when I run a clientEJB
javax.naming.CommunicationException: org.omg.CORBA.NO_PERMISSION
does that mean role/security has not been properly set?
Thanks,
Cindy


 
Ranch Hand
Posts: 94
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
select SECURITY tab and choose 'SUPPORT CLIENT CHOICE' in each EJB.
If you have no restictions set in your bean, the client will
run!
------------------
Marco Barenkamp
____________________________________________
L M I N T E R N E T S E R V I C E S AG
Senior Trainer & Architect,
BEA Certified Enterprise Developer
Sun Certified Programmer for the Java2 Platform
Sun Certified Web Component Developer for the Java2 Platform
Sun Certified Developer for the Java 2 Platform
Sun Certified Enterprise Architect for the Java 2 Platform Enterprise Edition (PI)
 
Not Available
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
My belated thank to Rich and Marco! After I deploy the application client and execute the "runclient", it worked!
I am running under Win98, so a few lines in runclient.bat
needs to be changed. Otherwise, the clientEJB is fine.
Cindy Hu
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic