Hi i am currently migrating my application from jboss 3.2.6 to jboss 5.0.0.
The problem i am facing here is the bean is loosing its data. The same code 
works well in jboss 3.2.6  

ejb-jar.xml 

 <!-- Session Beans -->
      
              <display-name>Meeting Bean</display-name>
         <ejb-name>MeetingBean</ejb-name>
         com.pbvm.crr.api.ejb.MeetingHome
                 com.pbvm.crr.api.ejb.Meeting
         <ejb-class>com.pbvm.crr.impl.ejb.MeetingBean</ejb-class>
         <session-type>Stateful</session-type>
         <transaction-type>Container</transaction-type>
     


The Code 


//Get the Meeting Session Bean Home & Remote Objects.
try {
        object = utils.getHomeInterfaceApp(ejb/CreateMeetingStateful);
        meetingHome =   (MeetingSessionHome) 
PortableRemoteObject.narrow(object,MeetingSessionHome.class);
         if (null == meetingHome) {
        throw new InvalidParamException("MeetingSession Home Object" + " is 
NULL");
                        }
         Logger.debug("Got the Meeting Home Interface ");
         meetingRemote = meetingHome.create();
      } catch (Exception e) {
Logger.debug("Exception while MeetingSessionBean Home Interface ");
                        throw new CRRException("CRRException ", e);
                      }

//Getting the Preview Value Object from Meeting Stateful Session Bean.
StateFulBeanManager sManager = new StateFulBeanManager();
previewVO = sManager.getPreviewVO(objectHandle);



Here the object is null.

Should i do anything explicitly in JBOSS- 5  to get the stateful bean . 

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4217331
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to