-
1. Re: Deployment from Eclipse don't deploy?
dgolovin Mar 19, 2010 12:54 PM (in response to drnoid)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.
-
2. Re: Deployment from Eclipse don't deploy?
drnoid Mar 19, 2010 5:26 PM (in response to dgolovin)It's working now! Thanks!
-
3. Re: Deployment from Eclipse don't deploy?
dgolovin Mar 19, 2010 6:15 PM (in response to drnoid)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
-
4. Re: Deployment from Eclipse don't deploy?
allawin Sep 29, 2010 12:30 PM (in response to dgolovin)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.
-
5. Re: Deployment from Eclipse don't deploy?
maxandersen Sep 30, 2010 9:13 AM (in response to allawin)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.