Dario Dorigo wrote:
> 
> Hi,
> 
> I'm testing Orion 1.3.8 with another EJB based application
> developed with weblogic.
> 
> After a bit of pain I was able to connect to the ejb and to call the
> ejbs. But when I try to get the data from the ejb
I've found what was the problem:
 in the ejb-jar.xml of the ejb there were:

    <container-transaction>
        <method>
          <ejb-name>ModuleManager</ejb-name>
          <method-intf>Remote</method-intf>
          <method-name>*</method-name>
        </method>
        <trans-attribute>Required</trans-attribute>
      </container-transaction>
    </assembly-descriptor>

And that seems that is not accepted from an external client.

bye

> 
> (the method signature is:   public String [] getListOfModules(); )
> 
> I got this error:
> 
> java.lang.InternalError: TX was null
>         at com.evermind.server.ejb.EntityEJBObject.endTransaction(JAX)
>         at com.evermind.server.ApplicationServerTransaction.aob(JAX)
>         at com.evermind.server.ApplicationServerTransaction.commit(JAX)
>         at com.evermind.server.ApplicationServerTransaction.end(JAX)
>         at
> 
>ModuleManager_StatefulSessionBeanWrapper4.getListOfModules(ModuleManager_StatefulSessionBeanWrapper4.java:1062)
>         at java.lang.reflect.Method.invoke(Native Method)
>         at com.evermind.server.rmi.bd.run(JAX)
>         at com.evermind.server.rmi.bb.hy(JAX)
>         at com.evermind.server.rmi.bb.run(JAX)
>         at com.evermind.util.f.run(JAX)
> at connection to pii/192.168.10.55
>         at com.evermind.server.rmi.OrionRemoteException.h2(JAX)
>         at com.evermind.server.rmi.bb.hw(JAX)
>         at com.evermind.server.rmi.bb.run(JAX)
>         at java.lang.Thread.run(Thread.java:484)
> 
> On the server side the ejb is a session bean that get (succesfully) the
> data from another entity bean. (I printed out the array just before the
> return)
> 
> Has anybody an idea of what is happening?
> 
> Thanks a lot
> 
> Dario
> 
> --
> Dario Dorigo
> Software Developer
> [EMAIL PROTECTED]
> __________________________________
> 
> Itrade AG
> Net Market Systems
> Nymphenburger Str. 86
> D - 80636 Muenchen
> Tel: +49/(0)89/18951-0, Fax: -199
> Email: [EMAIL PROTECTED]
> http://www.itrade.ag
> _________________________________

-- 
Dario Dorigo
Software Developer
[EMAIL PROTECTED]
__________________________________

Itrade AG
Net Market Systems
Nymphenburger Str. 86
D - 80636 Muenchen
Tel: +49/(0)89/18951-0, Fax: -199
Email: [EMAIL PROTECTED]
http://www.itrade.ag
_________________________________

Reply via email to