|
WebLogic Server 6.1 Code Examples, BEA Systems, Inc. |
Before you run the client applications in this directory, be sure
to build the whole example.
This includes building the EJB for WebLogic Server and, if you wish to run through the Tuxedo Server, the necessary files for the
Tuxedo Server (iiop/stateless/server/tux
)
as well.
Trader bean and configuring WebLogic Server
Setting up and configuring Tuxedo Server
Be sure to also take a look at the Tuxedo client code.
tuxedo8.0/bin
and tuxedo8.0/lib
directories in your PATH.
Client.exe -ORBid BEA_IIOP -ORBInitRef NameService=corbaloc:iiop:localhost:7001/NameService
Enter the correct hostname and port for your particular configuration
iiop/samples/examples/ejb/stateless/server/wls
and
iiop/samples/examples/ejb/stateless/server/tux
). Then run
the Client.exe
application with the following command:
Client.exe -ORBid BEA_IIOP -ORBInitRef NameService=corbaloc:iiop:ip_address:2468/NameService
Enter the correct ip address and port for your particular Tuxedo configuration. After running the example view the Tuxedo's ULOG. The information there may be helpful.
Client.exe -ORBid BEA_IIOP -ORBInitRef NameService=corbaloc:iiop://localhost:7001/NameService true
If you have set up both your environments correctly, the server you have called will make an outbound call to the other server (either Tuxedo or WebLogic) and you should see output in that servers log. In the Tuxedo case, this will be the ULOG from the directory where you booted your Tuxedo Server.
Read more about WebLogic RMI over IIOP in the Developer Guide, Using WebLogic RMI over IIOP.
Read more about WebLogic EJB in the Developer Guide, BEA WebLogic Server Enterprise JavaBeans.
Read more about WebLogic RMI in the Developer Guide, Using WebLogic RMI.
For more information about WebLogic Server WebLogic Tuxedo Connector, see:
|
Documentation is available at http://e-docs.bea.com/wls/docs61 |