-
1. Re: "new development mode" problems
mbarkley Dec 17, 2013 10:32 AM (in response to magick93)Hi Anton,
Can you see if there's any more description of the error in the Development Window under the Server tab?
Cheers.
-
-
3. Re: "new development mode" problems
magick93 Dec 17, 2013 11:15 AM (in response to magick93)I noticed this in the console:
15:55:05,237 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-13) MSC00001: Failed to start service jboss.deployment.unit."webapp.war".STRUCTURE: org.jboss.msc.service.StartException in servic
e jboss.deployment.unit."webapp.war".STRUCTURE: Failed to process phase STRUCTURE of deployment "webapp.war"
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:119) [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-1.0.2.GA.jar:1.0.2.GA]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_25]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_25]
at java.lang.Thread.run(Thread.java:724) [rt.jar:1.7.0_25]
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: Failed to mount deployment content
at org.jboss.as.server.deployment.module.DeploymentRootMountProcessor.deploy(DeploymentRootMountProcessor.java:91) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
... 5 more
Caused by: java.io.FileNotFoundException: C:\Users\Anton\git\wildfly\bin\UsersAntongitapp.uiapp.uisrcmainwebapp (The system cannot find the file specified)
at java.io.FileInputStream.open(Native Method) [rt.jar:1.7.0_25]
at java.io.FileInputStream.<init>(FileInputStream.java:138) [rt.jar:1.7.0_25]
at org.jboss.vfs.spi.RootFileSystem.openInputStream(RootFileSystem.java:57) [jboss-vfs-3.1.0.Final.jar:3.1.0.Final]
at org.jboss.vfs.VirtualFile.openStream(VirtualFile.java:238) [jboss-vfs-3.1.0.Final.jar:3.1.0.Final]
at org.jboss.vfs.VFS.mountZipExpanded(VFS.java:567) [jboss-vfs-3.1.0.Final.jar:3.1.0.Final]
at org.jboss.as.server.deployment.DeploymentMountProvider$Factory$ServerDeploymentRepositoryImpl.mountDeploymentContent(DeploymentMountProvider.java:97) [jboss-as-server-7.1.1.Final.jar:7.1.1.
Final]
at org.jboss.as.server.deployment.module.DeploymentRootMountProcessor.deploy(DeploymentRootMountProcessor.java:87) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
... 6 more
C:\Users\Anton\git\wildfly\bin\UsersAntongitapp.uiapp.uisrcmainwebapp (The system cannot find the file specified)
Im not sure what this line should be- perhaps a path to the compiled war file?
Anyway, it is very wrong.
Ive tried changing these lines:
<errai.jboss.home>C:\Users\Anton\git\wildfly\</errai.jboss.home>
<settings.localRepository>C:\Users\Anton\.m2\repository\</settings.localRepository>
to
<errai.jboss.home>C:\\Users\\Anton\\git\\wildfly\\</errai.jboss.home>
<settings.localRepository>C:\\Users\\Anton\\.m2\\repository\\</settings.localRepository>
But it did not change the result.
-
4. Re: "new development mode" problems
mbarkley Dec 17, 2013 11:23 AM (in response to magick93)Hi Anton,
Are there any other error messages or stack traces printed to the terminal?
-
5. Re: "new development mode" problems
mbarkley Dec 17, 2013 11:31 AM (in response to magick93)Hi Anton,
Am I correct in assuming you're using milestone 2 as the version for development mode? There was a critical issue resolved for dev mode on windows in the next milestone. Could you try using 3.0.0.20131205-M3 as the version for errai dev mode and see if that fixes the issue?
-
6. Re: "new development mode" problems
magick93 Dec 17, 2013 11:48 AM (in response to mbarkley)Hi Max
There are no other error messages.
And using 3.0.0.20131205-M3 did not change the result.
Thanks
-
7. Re: "new development mode" problems
mbarkley Dec 17, 2013 5:00 PM (in response to magick93)Hi Anton,
C:\Users\Anton\git\wildfly\bin\UsersAntongitapp.uiapp.uisrcmainwebapp (The system cannot find the file specified)
I'm guessing that file is supposed to be the absolute path to your "src/main/webapp" directory in your project.
Can you please post the <deployments> section of the generated standalone-errai-dev.xml to confirm this? The file is put in $JBOSS_HOME/standalone/configuration when dev mode starts, but deleted on exit so you'll have to copy it after doing a `mvn gwt:run`.
It might also help to see the configuration of the maven-gwt-plugin in your pom.
Cheers.
-
8. Re: "new development mode" problems
srrehman Jan 13, 2014 8:20 AM (in response to mbarkley)Hi Max
I m having the same problem and I m using Windows7. Following is my deployments section:
<deployments>
<deployment name="webapp.war" runtime-name="webapp.war" enabled="false">
<fs-exploded path="C:UsersSana Shafqatgitapp.ui-newsrcmainwebapp"/>
</deployment>
</deployments>
This is very weried . It should be like this
C:\Users\Sana Shafqat\git\app.ui-new\src\main\webapp
-
9. Re: "new development mode" problems
mbarkley Jan 13, 2014 11:45 AM (in response to srrehman)Hi Saif,
I've spent some more time looking in to this, but I've still been unable to reproduce the problem. But I would really love to get to the bottom of this issue, so if you have the time I encourage you to submit a bug on Jira, with any relevant details of your build environment and the contents of your pom.xml.