[jboss-user] [JBoss Seam] - Re: Cant able to use stateful bean in project

kaviarasu do-not-reply at jboss.com
Sat Jul 14 07:34:48 EDT 2007


Hi i missed the annotations @Destroy @Remove not while adding the lines 


@DataModelSelection                                                                   
@Out(required=false)                                  
private TblComments1 message;

im getting the error like 
java.lang.UnsupportedOperationException: Stateless psuedo-scope does not have a Context object





17:00:10,625 WARN  [JDBCExceptionReporter] SQL Error: 0, SQLState: null
  | 17:00:10,625 ERROR [JDBCExceptionReporter] Transaction is not active: tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=sys/21, BranchQual=, localId=21]; - nested throwable: (javax.resource.ResourceException: Transaction is not active: tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=sys/21, BranchQual=, localId=21])
  | 17:00:10,625 WARN  [JDBCExceptionReporter] SQL Error: 0, SQLState: null
  | 17:00:10,625 ERROR [JDBCExceptionReporter] Transaction is not active: tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=sys/21, BranchQual=, localId=21]; - nested throwable: (javax.resource.ResourceException: Transaction is not active: tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=sys/21, BranchQual=, localId=21])
  | 17:00:10,640 WARN  [JDBCExceptionReporter] SQL Error: 0, SQLState: null
  | 17:00:10,640 ERROR [JDBCExceptionReporter] Transaction is not active: tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=sys/21, BranchQual=, localId=21]; - nested throwable: (javax.resource.ResourceException: Transaction is not active: tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=sys/21, BranchQual=, localId=21])
  | 17:00:10,640 WARN  [JDBCExceptionReporter] SQL Error: 0, SQLState: null
  | 17:00:10,640 ERROR [JDBCExceptionReporter] Transaction is not active: tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=sys/21, BranchQual=, localId=21]; - nested throwable: (javax.resource.ResourceException: Transaction is not active: tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=sys/21, BranchQual=, localId=21])


thank u for ur reply

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4064217#4064217

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4064217



More information about the jboss-user mailing list