By default JBoss AS Adapter uses .metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss-AS-5.1.0.GA/deploy folder to deploy your project and then registed this temp folder in JBoss AS throug JMX. It might not working properly for JBoss 6.0.0. I would try direct publishing to server deploy folder:
1. Open Srver configuration by double click on your server instance in Servers view
2. Go to Deployment tab and select "Use the JBoss Deploy folder"
3. Save Server configuration
4. Select your project on server and make a "Ful Publish" using project context menu
5. Start server
I hope it helps.
It's working now! Thanks!
But is an issue with JBoss AS adapter anyway, so I've created JIRA issue to track it https://jira.jboss.org/jira/browse/JBIDE-6080, so if you have anything that would help to fix it leave your comments here or in JIRA. Thanks for your post
I had encountered the same problem , I went through your sugestions and I was able to execute my index.html. But now I am having a different problem, I do not know how to instruct JBOSS where my library with the jars files ( I am trying to integrade JBOSS with SPRING). I do have lib directory under WEB-INF, but I do not think that JBOSS sees it. When I select eclipse option RUN AS->RUN CONFIGURATION, JBOSS entry is not present in there, like TOMCAT for example. If that entry would have been present in there, then I would be able to set the class path. I am new to JBOSS, so it is kind of chalenging for me to figure out on my own how to configure it since it is not set up in a standard way like other servers.
I would appreciate if you help me out how to configure JBOSS to see the SPRING jar files.
thanks a lot.
There is nothing different between how JBoss or Tomcat sees your jar's in web-inf/lib. They are automatically picked up if using JEE 5/6, if using earlier then you have to refer to them from manifest.mf.
If you are missing JBoss in "Run As.." but have a Tomcat there then i'll assume is because you only added a Tomcat server and have not yet added a JBoss Server ( you do that via File > New> Server and then choose JBoss Enterprise or Community server depending on what you have available to you).
And if that would have been available then it would still not be the right place to add spring or other jars for your WAR.