|
|
|
|||||
|
Possible late "binding" of Glacier2 to PermissionsVerifier?
Calling glacier2router before the server application has started causes a ConnectionRefusedException:
Code:
glacier2router --Ice.Config=resources/glacier2.config 06/23/07 13:20:02.913 error: unable to contact permissions verifier `Verifier:tcp -h 127.0.0.1 -p 9999' Network.cpp:662: Ice::ConnectionRefusedException: connection refused: Connection refused glacier2 seems to be tolerant of restarting the server app, it's just the initial connection which seems problematic. Perhaps a configuration option that bypasses this sanity check (if it is one). |
|
|||||
|
Thanks for looking into the startup, Matthew. As far as the plugin is concerned, our permissions verifier is in Java, so a glacier2 plugin won't work. That is, unless there were a Java-based router. Has there been any thought of one? Would it be feasible/sensible? For our purposes a collocated router could make sense and reduce the deployment complexity, which at the moment will most likely involve two separate init.d scripts.
|
|
||||||
|
I don't think a Java based router makes sense... it would be quite a bit slower than the C++ version. Seems to me it would be easier to rewrite the permissions verifier in C++ than rewrite the entire router in Java
An alternative would be to use IceGrid and launch the verifier on demand as an IceGrid service. You can also manage Glacier2 from IceGrid -- except you cannot launch on demand. Instead you would have IceGrid start it up all the time. |
![]() |
| 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 |
| Don't "Ice-3.1.1-VC71.msi " include the "slice2java.exe"? | Jason Gao | Help Center | 4 | 10-26-2006 12:23 PM |
| Icepack registry "TimeOut" exception with heavy load | eaglecn | Help Center | 1 | 05-26-2006 01:02 AM |
| "make test" failure on Ice 3.0.1 installation. SUSE 10.1. | pchapin | Help Center | 4 | 05-22-2006 11:20 PM |
| glacier2 and icepack for sessionmanager,permissionsverifier | seth.piezas | Help Center | 7 | 02-11-2005 03:11 PM |
| Going from "in" to "out" param, using a class as a union | catalin | Help Center | 1 | 04-05-2004 09:55 AM |