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. Someone told me this is because the server is not starting properly, but I think it is. When I copy my .jar file into the deploy directory I get the following message:
[INFO,ContainerFactory] Deploying Interest
[WARN,ContainerFactory] There are no interceptors configured. Check the standardjboss.xml file
[INFO,ContainerFactory] Deployed application: file:/home/rob/JBoss/JBoss-2.4.4/tmp/deploy/Default/interest.jar
[INFO,J2eeDeployer] J2EE application: file:/home/rob/JBoss/JBoss-2.4.4/deploy/interest.jar is deployed.s.
So its not registering the JDNI name of the bean and it isn't deploying it. What's wrong?
browse to port 8082 (e.g. localhost:8082 ) and see what the story is.