PDA

View Full Version : First question



Archer
30-09-2002, 16:17
Hi all
1, xin gửi lời chào tất cả các bạn.
2, xin có 1 câu hỏi
Toi sừ dụng JBuilder6 co' kèm Borland Server,nhung tôi cấu hình để chạy CORBA không được,cụ thể trong phần Enterprise Setup theo chỉ dãn trong Help ,step 2

1 .From JBuilder, run Tools|Enterprise Setup to display the Enterprise Setup dialog box. Select the CORBA tab. The parameters in this dialog box enable JBuilder to see the ORB. Select a configuration from the Configuration drop-down list. The initial choices are VisiBroker and OrbixWeb. The Enterprise Setup dialog box looks like this: If you're using the VisiBroker ORB or OrbixWeb, click the Edit button to display the Edit Configuration dialog box. (Click the New button to define a new configuration.) On the Edit Configuration dialog box, click the ellipsis button next to the Path For ORB Tools field to enable JBuilder to access the ORB tools. When using the VisiBroker ORB, point to the directory that contains the osagent.exe file. This is the /bin directory of your Borland Enterprise Server AppServer Edition installation. The Library For Projects field is automatically filled in for you.
2
To edit the library location, click the ellipsis button next to the Library For Projects field. This displays the Select A Different Library dialog box. The library is necessary for compiling the generated stubs and skeletons and for executing an application. To add the library, click New on the Select A Different Library dialog box to display the New Library wizard. In the New Library wizard, enter a name for the new library in the Name field. Select a location for the library: the JBuilder directory, the project directory, or the user's home directory. Click Add to browse to the library (JAR) file. Click OK until you return to the Edit Configuration dialog. Click OK to close the Edit Configuration dialog box.

Tôi không biet s step 2(phần in nghiênng),làm thế nào để chọn Jar file thích hợp,kết quả là khi build IDL file thì error
"Account.java": Error #: 302 : cannot access class com.inprise.vbroker.CORBA.Object; java.io.IOException: class not found: class com.inprise.vbroker.CORBA.Object at line 16, column 60

quangvu
30-09-2002, 20:37
Bạn cần Set PATH JBuilder lại.

oxcafebabe
01-10-2002, 07:57
Bạn muốn "chơi" với CORBA thì phải chọn library có liên quan với CORBA chứ ;-). CORBA Express là "nó" đó.

Chúc thành công

Archer
01-10-2002, 08:04
OK,vấn đề là tôi không xác định nó nằm trong file Jar nào,nhưng bây giờ thì tôi mò ra rồi ,trong vbjorb.jar.Thanks for your suggestion.