BBS水木清华站∶精华区

发信人: lixiaobin (我不下地狱谁下地狱), 信区: Java 
标  题: 可恶的jbuilder 
发信站: BBS 水木清华站 (Wed May  5 22:41:53 1999) WWW-POST 
 
  我一个晚上就在试运行一个CORBA程序,DOS下的控制台客户程序还可以,可一到 
APPLET时,我怎么设路径SETVARS C:\JBUILDER。启动GATEKEEPER,启动AGENT, 
它就是报错!我真想扔了JBUILDER,快快拯救我吧! 
 
-- 
※ 来源:·BBS 水木清华站 bbs.net.tsinghua.edu.cn·[FROM: 202.119.199.118]  
发信人: polokent (满天繁星), 信区: Java        
标  题: Re: 可恶的jbuilder 
发信站: BBS 水木清华站 (Thu May  6 10:47:11 1999) 
 
【 在 lixiaobin (我不下地狱谁下地狱) 的大作中提到: 】 
   我一个晚上就在试运行一个CORBA程序,DOS下的控制台客户程序还可以,可一到 
 APPLET时,我怎么设路径SETVARS C:\JBUILDER。启动GATEKEEPER,启动AGENT, 
 它就是报错!我真想扔了JBUILDER,快快拯救我吧! 
扔了,用ORBIXWEB3.1c 
 
-- 
※ 来源:·BBS 水木清华站 bbs.net.tsinghua.edu.cn·[FROM: 166.111.53.189] 
发信人: Foxwell (Bit G), 信区: Java 
标  题: Re: 可恶的jbuilder 
发信站: BBS 水木清华站 (Thu May  6 18:36:26 1999) WWW-POST 
 
【 在 lixiaobin (我不下地狱谁下地狱) 的大作中提到: 】 
   我一个晚上就在试运行一个CORBA程序,DOS下的控制台客户程序还可以,可一到 
 APPLET时,我怎么设路径SETVARS C:\JBUILDER。启动GATEKEEPER,启动AGENT, 
 它就是报错!我真想扔了JBUILDER,快快拯救我吧! 
Applet的正确运行需要发布在Web Server上,否则不可能成功。 
Applet的发布参照JBuilder的HELP,发布好之后,首先运行VisiBroker Smart Agent, 
然后运行GATEKEEPER即可。 
需要注意的是 
1.在启动Applet的HTML中必须加入: 
<param name=ORBgatekeeperIOR value="http://your webserver's IP:15000/gatekeepe 
r.ior"> 
2.必须保证GATEKEEPER生成的gatekeeper.ior在wwwroot中。 
3.Web Server、GATEKEEPER、VisiBroker Smart Agent在同一台机上运行。 
 
 
 
-- 
※ 来源:·BBS 水木清华站 bbs.net.tsinghua.edu.cn·[FROM: 202.195.140.23]  
发信人: lixiaobin (我不下地狱谁下地狱), 信区: Java 
标  题: Re: 可恶的jbuilder 
发信站: BBS 水木清华站 (Fri May  7 11:49:15 1999) WWW-POST 
 
【 在 Foxwell (Bit G) 的大作中提到: 】 
 【 在 lixiaobin (我不下地狱谁下地狱) 的大作中提到: 】 
 Applet的正确运行需要发布在Web Server上,否则不可能成功。 
 Applet的发布参照JBuilder的HELP,发布好之后,首先运行VisiBroker Smart  
 Agent, 
 然后运行GATEKEEPER即可。 
 需要注意的是 
 1.在启动Applet的HTML中必须加入: 
 <param name=ORBgatekeeperIOR value="http://your webserver's IP:15000/gatekee 
 pe 
 r.ior"> 
 2.必须保证GATEKEEPER生成的gatekeeper.ior在wwwroot中。 
 3.Web Server、GATEKEEPER、VisiBroker Smart Agent在同一台机上运行。 
  
我已遵循你所讲的所有步骤实施!但还是有些问题: 
IE4.0中的错误表现为: 
org.omg.CORBA.INITIALIZE[completed=MAYBE, reason=Could not instantiate ORB  
implementation: com.visigenic.vbroker.orb.ORB: java.lang.ClassNotFoundExceptio 
n: com.visigenic.vbroker.orb.ORB] 
at org/omg/CORBA/ORB.create 
at org/omg/CORBA/ORB.init 
at visibroker/samples/lxb/MyCORBAClientAppletClass.init 
at com/ms/applet/AppletPanel.securedCall0 
at com/ms/applet/AppletPanel.securedCall 
at com/ms/applet/AppletPanel.processSentEvent 
at com/ms/applet/AppletPanel.processSentEvent 
at com/ms/applet/AppletPanel.run 
at java/lang/Thread.run 
 
NETSCAPE4.5中的错误表现为: 
org.omg.CORBA.NO_PERMISSION[completed=MAYBE, reason=Attempting to use OSAgent  
functionality without OSAgent locator] 
 
  at java.lang.Throwable.<init>(Compiled Code) 
 
  at java.lang.Exception.<init>(Compiled Code) 
 
  at java.lang.RuntimeException.<init>(Compiled Code) 
 
  at org.omg.CORBA.SystemException.<init>(Compiled Code) 
 
  at org.omg.CORBA.NO_PERMISSION.<init>(Compiled Code) 
 
  at com.visigenic.vbroker.CORBA.PrimitiveLocator.error(Compiled Code) 
 
  at com.visigenic.vbroker.CORBA.PrimitiveLocator.getObject(Compiled Code) 
 
  at com.visigenic.vbroker.CORBA.ORB.bind(Compiled Code) 
 
  at transvert.stringtransvertHelper.bind(Compiled Code) 
 
  at transvert.stringtransvertHelper.bind(Compiled Code) 
 
  at visibroker.samples.lxb.MyCORBAClientAppletClass.init(Compiled Code) 
 
* at netscape.applet.DerivedAppletFrame$InitAppletEvent.dispatch(Compiled  
Code) 
 
  at java.awt.EventDispatchThread$EventPump.dispatchEvents(Compiled Code) 
 
  at java.awt.EventDispatchThread.run(Compiled Code) 
 
  at netscape.applet.DerivedAppletFrame$AppletEventDispatchThread.run(Compiled 
 Code) 
 
用osfinder观察,表明服务器注册,且GATEKEEPER已启动,望请再次出手!多谢! 
 
 
-- 
※ 来源:·BBS 水木清华站 bbs.net.tsinghua.edu.cn·[FROM: 202.119.199.118]  
发信人: Foxwell (Bit G), 信区: Java 
标  题: Re: 可恶的jbuilder 
发信站: BBS 水木清华站 (Fri May  7 12:19:30 1999) WWW-POST 
 
你的问题我也遇到过,我并不清楚这其中的原因,也许是还需要设置什么吧。 
不过我建议你使用IE5.0,在IE5.0上应该可以通过。 
Good Luck! 
 
 
-- 
※ 来源:·BBS 水木清华站 bbs.net.tsinghua.edu.cn·[FROM: 202.195.140.23]  

BBS水木清华站∶精华区