Hi,
I'm a newbie to JBoss and I'm trying to deploy the example EJB. Unfortunately I'm getting a "waiting for appropriate deployer" error. I've been through the ejb-jar.xml file numerous times but cannot see a problem. Can anyone please help. See below for the error and ejb-jar.xml file.
00:46:06,889 INFO [MainDeployer] Starting deployment of package: file:/C:/jboss-3.2.1/server/minimal/deploy/HelloWorld.jar
00:46:06,909 INFO [MainDeployer] deployment waiting for deployer: file:/C:/jboss-3.2.1/server/minimal/deploy/HelloWorld.jar
00:46:06,909 INFO [MainDeployer] Deployment of package: file:/C:/jboss-3.2.1/server/minimal/deploy/HelloWorld.jar is waiting for an appropriate deployer.
00:46:06,929 ERROR [URLDeploymentScanner] MBeanException: Exception in MBean operation 'checkIncompleteDeployments()'
Cause: Incomplete Deployment listing:
Packages waiting for a deployer:
[org.jboss.deployment.DeploymentInfo@db888faa { url=file:/C:/jboss-3.2.1/server/minimal/deploy/HelloWorld.jar }
deployer: null
status: null
state: INIT_WAITING_DEPLOYER
watch: file:/C:/jboss-3.2.1/server/minimal/deploy/HelloWorld.jar
lastDeployed: 1056761166909
lastModified: 1056761166899
mbeans:
]Incompletely deployed packages:
[org.jboss.deployment.DeploymentInfo@db888faa { url=file:/C:/jboss-3.2.1/server/minimal/deploy/HelloWorld.jar }
deployer: null
status: null
state: INIT_WAITING_DEPLOYER
watch: file:/C:/jboss-3.2.1/server/minimal/deploy/HelloWorld.jar
lastDeployed: 1056761166909
lastModified: 1056761166899
mbeans:
]MBeans waiting for classes:
ejb-jar.xml
<?xml version="1.0" encoding="UTF-8"?>
<ejb-jar>
JBoss Hello World Application
<display-name>Hello World EJB</display-name>
<enterprise-beans>
<ejb-name>HelloWorld</ejb-name>
com.mastertech.HelloWorldHome
com.mastertech.HelloWorld
<ejb-class>com.mastertech.HelloWorldBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
</enterprise-beans>
</ejb-jar>
Thanks
The minimal configuration doesn't contain an EJB container and therefore also no 'apropriate' deployer.
Please try your bean with the default configuration.
Regards,
Harald