I'm using JBoss 2.2.4 and I can't seem to deploy my EJB. I've written the home and remote interfaces and the actual bean class. Everything compiles and I've put my ejb-jar.xm l and jboss.xml files in to a META-INF directory and packaged everything into a jar.
My ejb-jar.xml file looks like this:
jBoss test application
and the top of my jboss.xml file looks like this:
<configuration-name>Default Stateless SessionBean</configuration-name>
but when I copy my jar file into the deployment directory it doesn't register the bean. Can anyone help me?
This is normally caused because the server hasn't
started. Most likely the connection to the database
is hanging on an infinite timeout due an incorrect url.
If you look through the forums you will see this is
a common problem. Many of the posts have solutions,
but not all of them.