I'm trying to run the errai-kitchensink sample but when trying to run it in my JBoss 7.1 app server I get the above error. The details show that it failed because it couldn't rename a file:
Error renaming /opt/jboss-7.1.0/standalone/tmp/tmp6054909684466904702.MF to /Volumes/Macintosh HD/Users/yeroc/Documents/EclipseWorkspace-3.5/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_7.1_Runtime_Server1330485411628/deploy/kitchensink.war/META-INF/MANIFEST.MF.
This may be caused by your server's temporary deploy directory being on a different filesystem than the final destination.
You may adjust these settings in the server editor.
As the error suggests the files are indeed on separate filesystems but I'm at a loss as to how to resolve this? I can't find the "temporary deploy directory" setting mentioned in the error message. https://issues.jboss.org/browse/JBIDE-8961 appears relevant but was supposedly fixed??
How can I resolve this?
Sorry for the slow reply, Corey
In previous versions of JBossAS, there was an exposed JMX server with an option to mark a folder as one that the deployment scanner should look at. This option still exists in AS7, but, we haven't integrated with the management ability yet. THis means we can't do it on the fly, currently, in the current toolset is a bit hurt by this missing feature.
It is still possible in the raw configuration of the server, howerver. THis means you can mark your server directly to scan some external folder by modifying your configuration and adding a deployment scanner. The instructions for it are over here: https://community.jboss.org/wiki/DeployingAnApplicationFromAnExternalDeploymentLocation
To make use of this, double-click your jboss-7 server inside eclipse to open the server editor. You can then switch over to the second page, "Deployments", where you can change the deployment method to "custom" and set any folder that's on the same filesystem as your eclipse installation. Once this is done, you can add that folder to your server's deployment scanner lists as per the wiki above.
Hope this helps!