11.10.2 Two single servers on the same box
When more than one instance of the appserver runs on a single machine, then configure each server's bootstrap to run on a different port. In this case, you can have a J2EE component in one server looking up objects in the other server. This is illustrated by the example in Figure 11-6.
Figure 11-6 Two single servers on the same box
Because each appserver name space is separate, the different objects can use the same name, CustomerHome. There is no name collision. The fully qualified JNDI name can be used to uniquely identify the name registered in one server from the name in another. If objects are registered under the name CustomerHome on two servers, look up the name using:
cell/nodes/<nodename>/servers/<server1>/CustomerHome cell/nodes/<nodename>/servers/<server2>/CustomerHomeTable 11-8 illustrates the required Provider URL settings.
Table 11-8 Lookup settings for two single servers on the same box