Yes, you are so right! I forgot to add same thing for other types :)
Thanks; --Gurkan ________________________________ From: Eric Covener <[email protected]> To: [email protected] Sent: Fri, July 16, 2010 4:04:22 AM Subject: Re: svn commit: r959733 - in /openwebbeans/trunk/webbeans-openejb/src: main/java/org/apache/webbeans/ejb/ main/java/org/apache/webbeans/ejb/resource/ test/java/org/apache/webbeans/ejb/ > + > + //Means that this is not the our deployment archive > + boolean result = > addBeanDeploymentInfos(statelessList.toArray(new >DeploymentInfo[statelessList.size()]), SessionBeanType.STATELESS); > + if(!result) > + { > + deployedApplications.remove(appInfo); > + return; > + } > > - addBeanDeploymentInfos(statelessList.toArray(new >DeploymentInfo[statelessList.size()]), SessionBeanType.STATELESS); > addBeanDeploymentInfos(statefulList.toArray(new >DeploymentInfo[statefulList.size()]), SessionBeanType.STATEFUL); > addBeanDeploymentInfos(singletonList.toArray(new >DeploymentInfo[singletonList.size()]), SessionBeanType.SINGLETON); > } Gurkan, Doesn't this disable EJB support for applications that don't have stateless session beans but might have a singleton or an SFSB? Is it as simple as making sure none of them return true before removing deployed app? -- Eric Covener [email protected]
