I generated the JBossDukesBank EAR file w/o incident. However, it fails to deploy. This appears to be related to binding the ear to JNDI... but not sure.
Has anyone else seen this? The tail of the server.log is below.
Ken
09:39:52,007 DEBUG [EJBDeployer] start application, deploymentInfo: org.jboss.deployment.DeploymentInfo@82ca37d5 { url=file:/opt/jboss/jboss-3.2.3/server/default/tmp/deploy/tmp54259JBossDukesBank.ear-contents/customer-ejb.jar }
deployer: org.jboss.ejb.EJBDeployer@16dfa45
status: Starting
state: START_DEPLOYER
watch: file:/opt/jboss/jboss-3.2.3/server/default/tmp/deploy/tmp54259JBossDukesBank.ear-contents/customer-ejb.jar
lastDeployed: 1084455583976
lastModified: 1084455583000
mbeans:
jboss.j2ee:jndiName=MyCustomer,service=EJB state: Created
jboss.j2ee:jndiName=MyCustomerController,service=EJB state: Created
, short name: customer-ejb.jar, parent short name: JBossDukesBank.ear
09:39:52,007 DEBUG [ServiceController] starting service jboss.j2ee:module=customer-ejb.jar,service=EjbModule
09:39:52,008 DEBUG [EjbModule] Starting
09:39:52,008 DEBUG [EjbModule] startService, starting container: CustomerEJB
09:39:52,008 DEBUG [ServiceController] starting service jboss.j2ee:jndiName=MyCustomer,service=EJB
09:39:52,009 DEBUG [EntityContainer] Starting
09:39:52,009 DEBUG [EntityContainer] Begin java:comp/env for EJB: CustomerEJB
09:39:52,010 DEBUG [EntityContainer] TCL: org.jboss.util.loading.DelegatingClassLoader@15200be
09:39:52,024 DEBUG [EntityContainer] Binding resource manager: jdbc/BankDB to JDNI ENC as: java:/DefaultDS
09:39:52,025 DEBUG [EntityContainer] End java:comp/env for EJB: CustomerEJB
09:39:52,026 DEBUG [BaseLocalProxyFactory] CustomerEJB cannot be Bound, doesn't have local and local home interfaces
09:39:52,071 DEBUG [ProxyFactory] (re-)Binding Home MyCustomer
I figured out my problem. I changed the 1099 port to 1199 in server/default/conf/jboss-minimal.xml and jboss-service.xml.
However, I neglected to change the port in the bank example's jndi.properties and build.xml files.