|
|
|
|||||
|
Bug about Module
I have follow Ice-1.5.1.pdf , and try the hello app written in java ,from page 58 . The example is running well. When I change Printer.ice to :
module M1 { interface Printer { string printString(string s) ; }; } ; then try java -cp ./classes:$ICEJ_HOME/lib/Ice.jar M1.Client , I get : Exception in thread "main" java.lang.Error: Feb Invalid proxy at M1.Client.main(Client.java:18) , (comment " Feb Invalid proxy " is changed by me) then I follow the program by System.out.println("**") at last find in PrinterPrxHelper.java: public final class PrinterPrxHelper extends Ice.ObjectPrxHelperBase implements PrinterPrx { ... if(b.ice_isA("::M1::Printer")) --> if(b.ice_isA("::Printer")) } "::M1::Printer" must be "::Printer" , then java -cp ./classes:$ICEJ_HOME/lib/Ice.jar M1.Client run ok . Do you think it is a bug or I use module incorrectly ?
__________________
FEB Son Of Mz Husband Of Medea |
|
|||||
|
Yes I find the problem is my mistick .
I used the client written by java implement module M1 , to call server written by c++ without module M1. So concluded the principle , the client / server must use the same .ice defination . Thanks a lot , and be guilt to bother you.
__________________
FEB Son Of Mz Husband Of Medea |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Compile error using VERSION in module | ctennis | Bug Reports | 1 | 03-29-2006 02:49 PM |
| Question about module | OrNot | Help Center | 2 | 09-19-2005 05:57 AM |
| Python and partial Ice module inclusion (Glacier2 specifically) | ckohnert | Help Center | 4 | 08-18-2005 03:08 PM |
| Throwing exception from another module | beardo | Help Center | 3 | 06-01-2005 12:21 PM |
| Ice module name | ganzuoni | Comments | 2 | 06-25-2003 09:12 AM |