23:35:33,869 WARN [jbossweb] WARNING: ERROR@file:/C:/Documents and Settings/Adm
inistrator/Local Settings/Temp/Jetty_0_0_0_0_8080__myes/webapp/WEB-INF/web.xml l
ine:36 col:-1 : org.xml.sax.SAXParseException: component �web-app� not allow �servle
23:35:33,879 ERROR [URLDeploymentScanner] Failed to deploy: org.jboss.deployment
ver/default/deploy/myes.war, deployedLastModified=1044718424000 }
org.jboss.deployment.DeploymentException: component�web-app� not allow �servlet�。
; - nested throwable: (org.xml.sax.SAXParseException: component�web-app� not allow
Originally posted by Sam Dalton:
when you call create() you are creating a NEW instance of your stateful bean (with default values for the fields) you need to, instead, store the reference to your Stateful bean and reuse that (the HttpSession is a good place to store such a reference)
Originally posted by meka toka:
You are getting the NameNotFoundException because you are trying to lookup an object(Hello) in the location (comp/env/ejb/myestest) and your ejb object is not present over there.
Where to look for ::
1. Check and make sure that you are using the same JNDI name that you binded your object with.
go through the following links
let me know if you have any more questions