The Java EE examples run by default with JBoss AS on Linux. To run them on Windows, you will have
to replace the reference to run.sh
by run.bat
everywhere JBoss AS server
is started (in /examples/javaee/common/build.xml
, /examples/javaee/jca-config/build.xml
, and
/examples/javaee/xarecovery/build.xml
)
/examples/javaee/common/build.xml
, replace:
<exec dir="${jboss.home}/bin" executable="sh">
<arg line="run.sh -c ${example.name}-example-profile"/>
</exec>
by
<exec dir="${jboss.home}/bin" executable="cmd">
<arg line="/c run.bat -c ${example.name}-example-profile"/>
</exec>