This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Product Version: NetBeans IDE Dev (Build 201510290002) Java: 1.8.0_60; Java HotSpot(TM) 64-Bit Server VM 25.60-b23 Runtime: Java(TM) SE Runtime Environment 1.8.0_60-b27 System: Windows 8.1 version 6.3 running on amd64; UTF-8; pl_PL (nb) When I try to start WildFly from the IDE I get the error: java.io.IOException: CreateProcess error=193, %1 nie jest prawidłową aplikacją systemu Win32 at java.lang.ProcessImpl.create(Native Method) at java.lang.ProcessImpl.<init>(ProcessImpl.java:386) at java.lang.ProcessImpl.start(ProcessImpl.java:137) at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029) Caused: java.io.IOException: Cannot run program "C:\Data\wildfly-9.0.1.Final\bin\standalone.ps1" (in directory "C:\Data\wildfly-9.0.1.Final\bin"): CreateProcess error=193, %1 nie jest prawidłową aplikacją systemu Win32 at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048) at org.openide.execution.NbProcessDescriptor.exec(NbProcessDescriptor.java:202) [catch] at org.netbeans.modules.javaee.wildfly.ide.WildflyStartRunnable.createProcess(WildflyStartRunnable.java:363) at org.netbeans.modules.javaee.wildfly.ide.WildflyStartRunnable.run(WildflyStartRunnable.java:136) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1443) at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:68) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:303) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2058) It used to work with build 201509300002.
standalone.ps1 is the PowerShell script, does it work on your machine ?
Not really: c:\Data\wildfly-9.0.1.Final\bin>standalone.ps1 C:\Data\wildfly-9.0.1.Final\bin\standalone.ps1 : File C:\Data\wildfly-9.0.1.Final\bin\standalone.ps1 cannot be loaded because running scripts is disabled on this system. For more information, see about_Execution_Policies at http://go.microsoft.com/fwlink/?LinkID=135170. At line:1 char:1 + C:\Data\wildfly-9.0.1.Final\bin\standalone.ps1 + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : SecurityError: (:) [], PSSecurityException + FullyQualifiedErrorId : UnauthorizedAccess Can I change it to start using .bat, as before?
I did it because the .bat was to be removed from WF10, but since this didn't happen I've reverted the change. Changeset 292918:6d5e5b1a98dc
I have changed the system configuration to enable running this file, by performing the following steps: * removed key HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.ps1 * removed key HKEY_CURRENT_USER\Software\Microsoft\Windows\Roaming\OpenWith\FileExts\.ps1 * added key HKEY_CLASSES_ROOT\Microsoft.PowerShellScript.1\Shell\Execute\Command * set default value of the above key to: "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" "-Command" "if((Get-ExecutionPolicy ) -ne 'AllSigned') { Set-ExecutionPolicy -Scope Process Bypass }; & '%1'" * changed default value of the HKEY_CLASSES_ROOT\Microsoft.PowerShellScript.1\Shell key to "Execute" Not it works from Explorer and command line: c:\Data\wildfly-9.0.1.Final\bin>standalone.ps1 ================================================================================= WildFly Bootstrap Environment ... 17:29:47,826 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: WildFly Full 9.0.1.Final (WildFly Core 1.0.1.Final) started in 4895ms - Started 282 of 463 services (222 services are lazy, passive or on-demand) But still doesn't work from NetBeans: java.io.IOException: CreateProcess error=193, %1 nie jest prawidłową aplikacją systemu Win32 at java.lang.ProcessImpl.create(Native Method) at java.lang.ProcessImpl.<init>(ProcessImpl.java:386) at java.lang.ProcessImpl.start(ProcessImpl.java:137) at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029) Caused: java.io.IOException: Cannot run program "C:\Data\wildfly-9.0.1.Final\bin\standalone.ps1" (in directory "C:\Data\wildfly-9.0.1.Final\bin"): CreateProcess error=193, %1 nie jest prawidłową aplikacją systemu Win32 at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048) at org.openide.execution.NbProcessDescriptor.exec(NbProcessDescriptor.java:202) [catch] at org.netbeans.modules.javaee.wildfly.ide.WildflyStartRunnable.createProcess(WildflyStartRunnable.java:363) at org.netbeans.modules.javaee.wildfly.ide.WildflyStartRunnable.run(WildflyStartRunnable.java:136) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1443) at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:68) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:303) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2058)
Integrated into 'main-silver', will be available in build *201510300002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/6d5e5b1a98dc User: Emmanuel Hugonnet <ehsavoie@netbeans.org> Log: Fixing issue #256263 a regression coming from trying to use the PowerShell script.