-
1. Re: Out of Memory
lochenkinov Apr 14, 2003 2:40 PM (in response to vjboss)be sure to put "m" after the number to denote megabytes, like this -Xmx180m and not -Xmx180
-
2. Re:Bean Not Bound Exception
vjboss Apr 17, 2003 9:26 AM (in response to vjboss)I solved memory problem but now I get bean not bound exception can any one let me know what I have to do please check my ejb-jar.xml and jboss.xml and let me know where I did mistake.
ejb-jar.xml
<?xml version="1.0" encoding="UTF-8"?>
<ejb-jar>
JBoss Interest Sample Application
<display-name>Test</display-name>
<enterprise-beans>
<ejb-ref-name>java:comp/env/Interest</ejb-ref-name>
com.web_tomorrow.interest.InterestHome
com.web_tomorrow.interest.Interest
<ejb-class>com.web_tomorrow.interest.InterestBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Bean</transaction-type>
</enterprise-beans>
</ejb-jar>
----------------------------------------------------------------------------jboss.xml
<?xml version="1.0" encoding="UTF-8"?>
<enterprise-beans>
<ejb-name>Interest</ejb-name>
<jndi-name>interest/Interest</jndi-name>
</enterprise-beans>
Thanks!
Tom -
3. Re: Re:Bean Not Bound Exception
juhalindfors Apr 17, 2003 6:07 PM (in response to vjboss)<ejb-ref-name> doesn't belong there, should be <ejb-name>Interest</ejb-name>
-
4. Re: Re:Bean Not Bound Exception
vjboss Apr 17, 2003 11:14 PM (in response to vjboss)I used that before but it was not working then I replaced ejb-name with ejb-ref-name
-
5. Re: Re:Bean Not Bound Exception
juhalindfors Apr 18, 2003 2:53 AM (in response to vjboss)well it won't work with ejb-ref-name for sure
go to your jboss-service.xml and set ValidateDTDs to true. -
6. Re: Re:Bean Not Bound Exception
ali575 May 21, 2003 3:18 PM (in response to vjboss)whn u got a memory error one or your source or taget file in comilation probably got wackecd out; check for it.