Results 1 to 3 of 3
  1. #1
    Heather is offline Senior Member
    Join Date
    Jun 2007
    Posts
    164
    Rep Power
    8

    Default TimedObject in Stateless SessionBean

    I have a bean that is a Stateless Session Bean and a TimedObject.
    When I do the deploy and undeploy of my application appears this error:
    Java Code:
    19:22:29,030 INFO  [ProxyFactory] Bound EJB Home 'UploadEngine' to jndi 'ejb/UploadEngineHome'
    19:22:29,233 INFO  [uploadengine] UploadEngineBean::setSessionContext()
    19:22:29,233 INFO  [uploadengine] UploadEngineBean::ejbCreate()
    19:22:29,233 INFO  [uploadengine] UploadEngineBean::makeDBControlConnection
    19:22:29,233 INFO  [uploadengine] UploadEngineBean::setSessionContext()
    19:22:29,233 INFO  [uploadengine] UploadEngineBean::ejbCreate()
    19:22:29,233 INFO  [uploadengine] UploadEngineBean::makeDBControlConnection
    19:22:29,280 INFO  [uploadengine] UploadEngineBean::setSessionContext()
    19:22:29,280 INFO  [uploadengine] UploadEngineBean::ejbCreate()
    19:22:29,280 INFO  [uploadengine] UploadEngineBean::makeDBControlConnection
    19:22:29,326 INFO  [uploadengine] UploadEngineBean::setSessionContext()
    19:22:29,326 INFO  [uploadengine] UploadEngineBean::ejbCreate()
    19:22:29,326 INFO  [uploadengine] UploadEngineBean::makeDBControlConnection
    what is this?
    Last edited by Heather; 06-30-2007 at 02:26 AM.

  2. #2
    Peter is offline Senior Member
    Join Date
    Jun 2007
    Posts
    119
    Rep Power
    0

    Default

    You have to write this code:

    <timer-persistence> false </timer-persistence> in the bean descriptor

  3. #3
    Jack is offline Senior Member
    Join Date
    Jun 2007
    Posts
    130
    Rep Power
    0

Similar Threads

  1. Problems with the initiation of SessionBean with jsf
    By bbq in forum JavaServer Faces (JSF)
    Replies: 5
    Last Post: 04-01-2009, 09:50 AM
  2. [SOLVED] Invoking a Stateful Session Bean as Stateless
    By JThangiah in forum Enterprise JavaBeans (EJB)
    Replies: 3
    Last Post: 07-17-2008, 10:35 AM
  3. Stateless Session Bean
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 11-29-2007, 01:32 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •