java.io.IOException: CreateProcess: chmod +x startmydomain.sh error=2 [wlserver]

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

You might be using the wrong way to add commands to the command line. Try using commandDownloader.add("command");

,
Expert tip

If you're trying to make a splash screen, check this tutorial: https://goo.gl/zQyCYe

Solutions on the web

via Oracle Community by 3004, 1 year ago
CreateProcess: chmod +x startmydomain.sh error=2 [wlserver]
via Oracle Community by 3004, 1 year ago
CreateProcess: chmod +x startmydomain.sh error=2 [wlserver]
via Oracle Community by 666705, 1 year ago
CreateProcess: chmod +x startmydomain.sh error=2 [wlserver]
via Oracle Community by 843829, 1 year ago
CreateProcess: chmod +x startmydomain.sh error=2
via Oracle Community by 843835, 1 year ago
via Coderanch by Sandeep Lakshmipathy, 1 year ago
CreateProcess somecmd error=2
java.io.IOException: CreateProcess: chmod +x startmydomain.sh error=2 [wlserver]
at java.lang.Win32Process.create(Native Method)
at java.lang.Win32Process.(Win32Process.java:67)
at java.lang.Runtime.execInternal(Native Method)
at java.lang.Runtime.exec(Runtime.java:566)
at java.lang.Runtime.exec(Runtime.java:428)
at java.lang.Runtime.exec(Runtime.java:364)
at java.lang.Runtime.exec(Runtime.java:326)
at weblogic.management.tools.StartScriptWriter.writeShFile(StartScriptWriter.java:145)
at weblogic.management.internal.DefaultDomainGenerator.generate(DefaultDomainGenerator.java:123)
at weblogic.management.AdminServerAdmin.initializeRepository(AdminServerAdmin.java:782)
at weblogic.management.AdminServerAdmin.initialize(AdminServerAdmin.java:267)
at weblogic.t3.srvr.T3Srvr.initializeHere(T3Srvr.java:753)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:664)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:342)
at weblogic.Server.main(Server.java:32)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.