I recently migrated from Netbeans and GlassFish to Eclipse and JBoss. I have installed the eclipse-jboss tools, and the server runtime is set up properly (afaik at least).

The problem I have is that whenever I try to start JBoss from Eclipse, I get this:

20:37:23,853 INFO  [org.jboss.modules] JBoss Modules version 1.1.1.GA
20:37:24,136 INFO  [org.jboss.msc] JBoss MSC version 1.0.2.GA
20:37:24,194 INFO  [org.jboss.as] JBAS015899: JBoss AS 7.1.1.Final "Brontes" starting
20:37:24,306 ERROR [org.jboss.msc.service.fail] MSC000001: Failed to start service jboss.deployment-mount-provider: org.jboss.msc.service.StartException in service jboss.deployment-mount-provider: JBAS015843: Failed to create temp file provider
at org.jboss.as.server.deployment.DeploymentMountProvider$Factory$ServerDeploymentRepositoryImpl.start(DeploymentMountProvider.java:111) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc.jar:1.0.2.GA]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc.jar:1.0.2.GA]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.7.0_09-icedtea]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_09-icedtea]
at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_09-icedtea]


I have googled this and tried all workarounds I could find, including (!!!) giving jboss-as.service root priviliges (I know, it's a horrible idea). Nothing helps. Could anyone help? It would be greatly appreciated.

Best,

Christopher Svanefalk
mob: +46762628251
skype: csvanefalk