Re: Cayenne withing MDB in Jboss

From: Michael Gentry (mgentr..asslight.net)
Date: Thu Apr 22 2010 - 12:13:26 EDT

  • Next message: Michael Gentry: "Re: cayenne wicket unit test => Current thread has no bound ObjectContext"

    I was using Cayenne with a Tapestry 5 web-based application in JBoss.

    mrg

    On Thu, Apr 22, 2010 at 11:51 AM, Marco Gattei <marco.gatte..mail.com> wrote:
    > I've managed to get the wohole story go in Jboss 4.2.3 and Jboss 4.0.5.
    > Cayenne seems to work fine.
    >
    > In your case, Cayenne was runnng from web-tier or was in ejub tier ?
    >
    > Marco
    >
    > Michael Gentry ha scritto:
    >>
    >> I've ran Cayenne (along with Tapestry 5) in JBoss (4.2.3) successfully
    >> before.  I don't know about your MDB scenario, but Cayenne certainly
    >> can work in JBoss.
    >>
    >> mrg
    >>
    >>
    >> On Thu, Apr 22, 2010 at 6:42 AM, Marco Gattei <marco.gatte..mail.com>
    >> wrote:
    >>
    >>>
    >>> Hi everyone.
    >>>
    >>> I've written a java standalone program which uses Cayenne to connect to
    >>>  a
    >>> DB and perform
    >>> some operations: reading from table, calculating , inserting result into
    >>> another table.
    >>> Now  need arise to start this program not from cli, but from remote.
    >>>
    >>> I was thing about packing the app inside a ejb module and writing a
    >>> simple
    >>> MDB.
    >>> As soon the mdb receives the command START , it executes the program
    >>> which
    >>> uses Cayenne to do the job.
    >>>
    >>> I was wondering if Cayenne could have som problem running inside JBoss,
    >>> which would be the
    >>> selected EJB container.
    >>>
    >>> Has anyboby tried something similar ?
    >>>
    >>> Thank in advance
    >>>
    >>>
    >>> Marco
    >>>
    >>>
    >>
    >>
    >
    >



    This archive was generated by hypermail 2.0.0 : Thu Apr 22 2010 - 12:14:17 EDT