anybody here with an idea ... ?

thanks, sven


Hi,

I have modified the Account-example-client a little bit for my EJBs
which are aktually also modified Account-EJBs

The problem is that I get the initial context, a reference to the Home
of my first EJB, but then the client hangs while trying to get the
reference to the Home of the second EBJ.
Any idea ?

some code from the client:


    try {
      // Contact the ZiplazierungBean container (the "ZiplazierungHome")
through JNDI.
      Context ctx = getInitialContext();
      System.out.println("got InitialContext = " + ctx);

      System.out.println("trying to lookup ZikanalHome ...");
      ZikanalHome kanalHome = (ZikanalHome) ctx.lookup(kanalHomeName);
      System.out.println("got reference to ZikanalHome = " + kanalHome);

      System.out.println("trying to lookup JNDI-name of ZiplazierungHome
= " + placementHomeName);
      ZiplazierungHome home = (ZiplazierungHome)
ctx.lookup(placementHomeName);
      System.out.println("got reference to ZiplazierungHome = " + home);

--- the output ----

C:\java_dev\adserver>java
adserver.client.ejb.entity.kanal.TestClientPlacement

Beginning TestClientPlacement...

user    : system
password: mojoclub
properties = {java.naming.provider.url=t3://193.7.241.76:7001,
java.naming.secur
ity.credentials=mojoclub, java.naming.security.principal=system,
java.naming.fac
tory.initial=weblogic.jndi.WLInitialContextFactory}
trying to get InitialContext ...
got InitialContext = javax.naming.InitialContext@1ee8b7
trying to lookup ZikanalHome ...
got reference to ZikanalHome =
adserver_test.server.ejb.entity.kanal.ZikanalBean
[EMAIL PROTECTED]:[7001,7001,7002,7002]
ads
erver_test.server.ejb.entity.kanal.ZikanalInformix UnknownType[
  -9155647182883365145S193.7.241.76:[7001,7001,7002,7002]
]
trying to lookup JNDI-name of ZiplazierungHome =
adserver.server.ejb.entity.plac
ement
^C

NO RESPONSE ANYMORE - have to kill the client


thanks, sven


--
-----------------------------------------------------------------------
Sven-Uwe Meyer
Gruner+Jahr Electronic Media Service GmbH     tel.  : +49-40-370 377 29
Am Baumwall 11                                fax.  : +49-40-370 377 57
20459 Hamburg
Germany                                       email : [EMAIL PROTECTED]
-----------------------------------------------------------------------


Reply via email to