On Sun, Sep 16, 2001 at 02:50:50PM +0000, jquest jquest wrote:
> Hi,
> I can not find the reason for so slow working JNDI on Jboss.
> I use 2.4.0 version with tomcat.
> I wrote a litle simple jsp that call a EJB.
> I have:
>
> InitialContext ctx = new InitialContext();
> Object objref = ctx.lookup("MyBeanName");
>
> homeclass = (MYEJBHome)PortableRemoteObject.narrow(objref,
> MYEJBHome.class);
>
> ......
> The jboss need about 3-4 min. befor making the lookup.
>
> Where is the problem.
> Is it jboss realy so slow?
Smells like a network (especially DNS) problem. Try your favourite
network sniffer (even netstat should suffice to see what's going
on) or tracing tool (strace -f run.sh > trace.log 2>&1; less trace.log).
If you're on Windows there is a tool like netstat which is named
similar IIRC.
-billy.
--
Philipp Meier o-matic GmbH
Gesch�ftsf�hrer Pfarrer-Wei�-Weg 16-18
Tel.: +49-(0)700-66284236 89077 Ulm
PGP signature