>I did exactly the same and worked perfectly for me as well, but I
>didn't try it with JIT compilation switched on.
>Please note that you won't have an IDL compiler under Linux, because
>that part of JDK1.2 isn't written in Java :-(
Yes, no help for this. We have had to run idltojava on a Solaris box
we have access to, then ftp over the results.
>The problem I experienced (with JDK1.2b2) is that I couldn't start the
>TransientNameServer under Linux, although this should be pure Java. It
>simply set something like:
>"Not supported under Linux"
>Maybe this was politics....
Try this:
// Start up a collocated NameServer.
class NameServerThread extends Thread {
private String [] m_args;
public NameServerThread(String [] f_args) throws Exception {
m_args = f_args;
start();
}
public void run() {
com.sun.CosNaming.TransientNameServer.main(m_args);
}
}
NameServerThread nst = new NameServerThread(argv);
TransientNameServer wants "-ORBInitialPort xxxx" as initialization args.
You can stick this is in a stand alone app or in with your server code. If
you put it in with your server code, make sure that you put
Thread.currentThread().yield(); right after starting the NameServerThread so
it has a chance to get going before you try connecting to it.
-Doug Seifert
begin 666 Re.txt
M#0HM+2TM+2TM+2TM#0I\($9R;VTZ('-E:69E<G1D("\@(&UI;64L("P@+"!S
M96EF97)T9$!M961I86]N92YN970-"GP@5&\Z(&IA=F$M;&EN=7@@+R @;6EM
M92P@+" L(&IA=F$M;&EN=7A :F%V82YB;&%C:V1O=VXN;W)G#0I\(%-U8FIE
M8W0Z(%)E.B!W:&EC:"!I<R!T:&4@8F5S="!#3U)"02]*879A(&EM<&QE;65N
M=&%T:6]N/PT*?"!$871E.B!4:'5R<V1A>2P@3F]V96UB97(@,3(L(#$Y.3@@
M-#HQ,E!-#0I\#0I\#0I\(#X@(" @(" @06YY(&-H86YC92!T;R!F:6YD('-O
M;65T:&EN9R!L:6ME('1H:7,_($)45R!I<R!A;GEO;F4@:&5R92 -"G5S:6YG
M($-/4D)!(&EN#0I\(#X@(" @(" @8V]N:G5N8W1I;VX@=VET:"!J879A/PT*
M? T*?"!(96QL;RP-"GP-"GP@5V4@:&%V92!B965N(&%B;&4@=&\@9V5T('1H
M92!*1$LQ+C)B971A($-/4D)!(&EM<&QE;65N=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