Hi,
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:
<?xml version="1.0"?>
<ejb-jar>
jBoss test application
<display-name>Test</display-name>
<enterprise-beans>
<ejb-name>Interest</ejb-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>
and the top of my jboss.xml file looks like this:
<enterprise-beans>
<ejb-name>Interest</ejb-name>
<jndi-name>interest/Interest</jndi-name>
<configuration-name>Default Stateless SessionBean</configuration-name>
false
</enterprise-beans>
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,Interest] Initializing
[INFO,Interest] Initialized
[INFO,Interest] Starting
[INFO,Interest] Started
[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.