I have JBoss 4.0.2 and Eclipse 3.0.1. I just installed the JBoss IDE plugins (1.4.1.e30). My JDK is 1.5.0_02.
I just followed the tutorial through. The ear seems to have deployed just fine (see clip from log below) but when I hit myserver/fibo from a browser I get a 404 error. For the fun of it I undeployed the ear and just deplyed the war. When I do this I can hit myserver/FiboWeb just fine. This would lead me to believe there is a problem with the ear.
When the ear is deployed I see all the proper files in the tmp/deploy area. Its possible I messed something up in the tutorial but how do I go about trying to track down the problem?
Clip from log showing ear deployment:
09:16:12,430 INFO [EARDeployer] Init J2EE application: file:/export/programs/jboss-4.0.2/server/default/deploy/FiboApp.ear
09:16:13,423 INFO [EjbModule] Deploying Fibo
09:16:13,919 INFO [EJBDeployer] Deployed: file:/export/programs/jboss-4.0.2/server/default/tmp/deploy/tmp62295FiboApp.ear-contents/FiboEJB.jar
09:16:14,025 INFO [TomcatDeployer] deploy, ctxPath=/>/fibo, warUrl=file:/export/programs/jboss-4.0.2/server/default/tmp/deploy/tmp62295FiboApp.ear-contents/FiboWeb.war/
09:16:14,993 INFO [JBossCacheManager] init(): replicationGranularity_ is 0 and invaldateSessionPolicy is 2
09:16:15,003 ERROR [JBossCacheManager] JBossCacheService to Tomcat clustering not found
09:16:15,004 ERROR [TomcatDeployer] Failed to setup clustering, clustering disabled
09:16:15,641 INFO [EARDeployer] Started J2EE application: file:/export/programs/jboss-4.0.2/server/default/deploy/FiboApp.ear
NM - Found the problem! there was an extra ">" in my application.xml file:
I must have starred at that file for an hour. Tricky one :-)