Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>It looks like your PATH environment variable hasn't been set up correctly. Does this link help?</p> <p><a href="http://community.jboss.org/wiki/FindstrCommandNotFound" rel="nofollow noreferrer">http://community.jboss.org/wiki/FindstrCommandNotFound</a></p> <p><strong>EDIT</strong>: are you sure that the JBoss startup batch script (usually in <code>%JBOSS_HOME%\bin\run.bat</code>) is picking up the PATH correctly? It might be running as a different user with a different PATH. Edit this script and add the line <code>echo %PATH%</code> before the first line that contains <code>findstr</code>. What output does this give you?</p> <p>The only other place <code>findstr</code> is used (in jboss-6.0.0.20100721-M4 anyway) is in the <code>service.bat</code> script in the same folder as <code>run.bat</code> . Again, you could try putting <code>echo %PATH%</code> before the line in this script that uses <code>findstr</code> if the previous step didn't help you.</p> <p><strong>EDIT 2</strong>: according to your comments, the <code>echo %PATH%</code> line I asked you to add gave the following output:</p> <pre> E:\jdk1.6\bin;E:\apache-ant-1.7.0\bin;E:\jboss-6.0\bin\run.bat </pre> <p>Clearly this doesn't contain <code>C:\WINDOWS\system32</code>, so JBoss definitely won't be able to find <code>findstr</code>. But I don't understand why the PATH is ending up like this. How are you starting JBoss - as a service or by running <code>run.bat</code>? Is JBoss being run under some user account which has been set up with a very restricted PATH? Do you have some other script which is manipulating the PATH before JBoss starts? Also, which version of Windows are you using?</p> <p>Also, it's not immediately clear to me from your three comments</p> <ul> <li>I'm already checked that the findstr application is already in that path C:\WINDOWS\system32\</li> <li>E:\jboss-6.0\bin\run.bat</li> <li>Am also set that in the system variables in Environmental Variables</li> </ul> <p>whether <code>C:\WINDOWS\system32</code> is in the PATH in Control Panel > System > Environment Variables. Is <code>C:\WINDOWS\system32</code> in the PATH in the System Variables section within the Environment Variables dialog?</p> <p>This doesn't seem to be an issue with JBoss. This seems to be more of an issue with the environment within which you are running it. I can quite imagine a lot of other programs would be unhappy with being run in a similar environment.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload