Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

corba and IDL

Status
Not open for further replies.

skarosi

Programmer
Jan 25, 2004
140
GR
Hi all,
I am new to corba and IDL and i was just looking at the tutorial on the java website about it, the helloworld example.
I have a problem with the server since i cant compile it. I am getting 3 errors,

HelloServer.java:53: cannot find symbol
symbol: class _HelloImplBase
class HelloServant extends _HelloImplBase
^
HelloServer.java:27: connect(org.omg.CORBA.Object) in org.omg.CORBA.ORB cannot be applied to (HelloServant)
orb.connect(helloRef);
^
HelloServer.java:36: rebind(org.omg.CosNaming.NameComponent[],org.omg.CORBA.Object) in org.omg.CosNaming.NamingContextOperations cannot be applied to (org.omg.CosNaming.NameComponent[],HelloServant)
ncRef.rebind(path, helloRef);
^
Note: HelloApp/HelloPOA.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
3 errors

I found out that since i have J1.6 and not 1.3 the file _HelloImplBase is not created, and instead i have the HelloPOA.java, so i replaced them on the code but i am still getting the other 2 errors!
could someone help me with this one?
thanks alot
ilias
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top