-
1. Re: Not able to access ejb 2.0 from servlet init during the
jaikiran Jul 16, 2009 9:10 AM (in response to mannam.tessco)Which version of JBoss AS?
-
2. Re: Not able to access ejb 2.0 from servlet init during the
mannam.tessco Jul 16, 2009 3:45 PM (in response to mannam.tessco)Hi Jaikiran,
Thanks for reply. I am using Jboss 5.0.1 and EJB 2.1. I really appreciate your help in this.
Thanks,
Ram -
3. Re: Not able to access ejb 2.0 from servlet init during the
jaikiran Jul 17, 2009 5:34 AM (in response to mannam.tessco)See this http://www.jboss.org/index.html?module=bb&op=viewtopic&t=151303.
And i think it's fixed in AS 5.1.0 GA (which is the latest). So try upgrading to the new server. -
4. Re: Not able to access ejb 2.0 from servlet init during the
mannam.tessco Jul 17, 2009 8:51 AM (in response to mannam.tessco)Thank You very much Jaikiran. In the forum they were talking about changing the bootstrap file.
------------------------------------
Yes. Looks like you were right. I've switched to JBoss 5.0.1.GA, and added to conf\bootstrap\deployers.xml:
Code:
.war
700
---------------------------
I am currently using 5.0.1 GA and also added above lines to bootstrap deployers.xml file. Now war is getting deployed last but servlet could not find the ejb still.
Do you suggest me to switch to lastest release 5.1.0 GA. I will try switching it latest release.
Thanks,
Ram -
5. Re: Not able to access ejb 2.0 from servlet init during the
mannam.tessco Jul 17, 2009 8:54 AM (in response to mannam.tessco)xml did not appear properly in the previous post.
<bean name="topContextComparator"> <constructor factoryClass="org.jboss.system.deployers.LegacyDeploymentContextComparator" factoryMethod="getInstance"/> <property name="suffixOrder" class="java.util.Map"> <map keyClass="java.lang.String" valueClass="java.lang.Integer"> <entry> <key>.war</key> <value>700</value> </entry> </map> </property>
-
6. Re: Not able to access ejb 2.0 from servlet init during the
mannam.tessco Jul 18, 2009 7:14 PM (in response to mannam.tessco)Hi Jaikiran,
I deployed my application on to 5.1.0.GA server.
It worked really well.
I appreciate your help.
Thank you,
Ram