Do you see any error in server.log when this happens?
Do you have something in between you and the
server that could timeout the connection, e.g. a
No error in error log, but the problem occurred when I try to use the create() method of the Home interface.
what can I do if there is a firwall?
Is your firewall dropping the connection because it
is taking too long?
Investigate why the request takes so long first.
The request is not long, i think it takes only 2-3 seconds only..
it that I miss out some setting for remote access the EJB?
the case is it can lookup, but cannot invoke the method
It fixed, not programing and JNDI problem.
It caused by tomcat4.x installed in a folder with space in Win environmnet. After I install the tomcat in the folder without space, it work!
Hope this help!