[jboss-user] [EJB 3.0] - Re: java.lang.NoClassDefFoundError: javax/portlet/PortletCon

rhardy5014 do-not-reply at jboss.com
Thu Nov 30 04:49:57 EST 2006


I believe that I have found a solution to this problem (at least in my case). It seems that I have some private, SEAM-injected properties in the Session Bean object that JBOSS wwas trying to passivate. For example:

     @In  (value="folderTreeBacker", create=true)
     private FolderTreeLocal folderTree;

I have added the "transient" keyword to stop them being serialised, as follows:

     @In  (value="folderTreeBacker", create=true)
     private transient FolderTreeLocal folderTree;

After doing this, the javax/portlet/PortletContext problem no longer occurs on my system. 

Richard.

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

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



More information about the jboss-user mailing list