> Andre Vermeulen wrote:
>
> Phillipe
>
> Here is what the trace file looks like on my machine.
> I hope you can learn something from it !
>
> The last line in the trace file - "inRequest -->" appears when a
> client try to connect to the bean
> but the client just sits there.
>
> The client goes seemingly without errors through these steps :
>
> Setting inital context
> Starting user trans !
> Looking up the bean
>
> But when creating the bean it just sits there.
>
> Regards
>
> Andre Vermeulen
>
> *************************
> Trace File Start
>
> Working with a colocated Transaction Manager
>
> Create and register TM factory
>
> TransactionFactory constructor
>
> Current.Current(TransactionFactory tmfact)
>
> Batch constructor
>
> Clock constructor
>
> Register UserTransactionFactory
>
> Current.getReference()
>
> Container.Container()
>
> String Env.getDataSources()
>
> datasources=[]
>
> String Env.getDescBeans()
>
> descriptors=[Op.ser]
>
> Container.addBeans(Vector [Op.ser])
>
> Session Deployment descriptor is read
>
> Remote interface=sb.Op
>
> sb.JOnASOpBeanOpHome loaded
>
> JBeanHome constructor for OpBean
>
> JBeanHome.methodDescriptorsInit()
>
> methodDescriptorsInit: ControlDescriptor[] size = 1
>
> JBeanHome.register() OpHome
>
> JSessionHome constructor for OpBean
>
> JBeanMetaData.JBeanMetaData(ejbHome,sb.OpHome, sb.Op, null, true,
> false)
>
> JBeanHome.setEJBMetaData()
>
> JOnASOpBeanOpHome(OpBean)
>
> EJBHome:sb.JOnASOpBeanOpHome for OpBean available
>
> Server.main() : Container() call successfull
>
> Adm.Adm()
>
> String Env.getJonasName() -> jonas
>
> rebind done jonas_Adm
>
> inRequest --->
>
> Trace File End
>
>
Hello,
your trace is very strange. All is normal until the inRequest --->
I don't know if you have downloaded the source code of JOnAS but
you can see in the src/org/objectweb/jonas/rmifilters/Skeleton.java
that just after the trace printing there is a
ObjectInput in = call.getInputStream();
may be it is blocking .
Perhaps the best thing will be to write a little test RMI with JNDI
a helloWorld like example and verify that it runs and if so
complicate it step by step.
Run GenIC on your example with the -keepgenerated in order
to have a look on the Stub & Skeleton modified (you will find
xxx_Stub.java.save = RMI Stub before modification,
xxx_Stub.java = RMI Stub after modification.
--
Philippe
Philippe Coq Groupe Bulll/BullSoft/OpenMaster Phone: (33) 04 76 29 78
49
Bull S.A - 1 rue de Provence - 38432 Echirolles Cedex France
[EMAIL PROTECTED] http://www-frec.bull.com
Download our EJBServer at http://www.bullsoft.com/ejb