Pb. with JPython & VisiBroker

Finn Bock fbo at dde.dk
Fri Jun 25 07:24:26 EDT 1999


Franck Arnulfo wrote:

> I try to use the scripting facilities of JPython with VisiBroker for Java
> ORB.
> But I've a problem to make an instance of the ORB.
> Here is a copy of the output :
> 
> C:\JPython-1.1beta2>set PATH
> PATH=C:\jdk1.1.7B\bin
> PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.JS
> 
> C:\JPython-1.1beta2>set CLASSPATH
> CLASSPATH=C:\jdk1.1.7B\lib\classes.zip;C:\vbroker\lib\vbjorb.jar;C:\vbroker\
> lib\vbjapp.jar
> 
> C:\JPython-1.1beta2>pythonjdk11
> JPython 1.1beta2 on java1.1.7B
> Copyright (C) 1997-1999 Corporation for National Research Initiatives
> >>> from org.omg.CORBA import *
> >>> orb = ORB.init(None, None)
> Traceback (innermost last):
>   File "<console>", line 1, in ?
> NameError: ORB
> >>>

I known, this is not much help, but I can access the ORB just fine.

[c:\storage]jpython
packageManager: processing new jar,
"C:\java\JPython-1.1beta2\jpython.jar"
packageManager: processing new jar, "C:\storage\vbjorb.jar"
packageManager: processing new jar, "C:\java\jdk1.1.8\lib\classes.zip"
JPython 1.1beta2 on java1.1.8
Copyright (C) 1997-1999 Corporation for National Research Initiatives
>>> from org.omg.CORBA import *
>>> ORB.init(None, None)
com.visigenic.vbroker.orb.ORB at 20db91
>>>

I didn't properly install Visibroker. I just added a vbjorb.jar I found
from a altavista search to my CLASSPATH. Consequently, I have no clue to
which version of vbjorb.jar I'm using.

-- 
Regards,
Finn Bock




More information about the Python-list mailing list