Bug 1010932

Summary: Unable to start server via shortcuts on windows
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Petr Kremensky <pkremens>
Component: InstallerAssignee: Miles Tjandrawidjaja <mtjandra>
Status: CLOSED CURRENTRELEASE QA Contact: Petr Kremensky <pkremens>
Severity: high Docs Contact: Russell Dickenson <rdickens>
Priority: unspecified    
Version: 6.2.0CC: myarboro, thauser
Target Milestone: ER4   
Target Release: EAP 6.2.0   
Hardware: Unspecified   
OS: Windows   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-15 16:19:20 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Petr Kremensky 2013-09-23 10:16:49 UTC
Description of problem:
There is new target for server startup shortcuts on windows:
6.1.1:
W:\pkremens\EAP-6.1.1\jboss-eap-6.1\bin\run.exe "W:\pkremens\EAP-6.1.1\jboss-eap-6.1\bin\standalone.bat"
W:\pkremens\EAP-6.1.1\jboss-eap-6.1\bin\run.exe "W:\pkremens\EAP-6.1.1\jboss-eap-6.1\bin\domain.bat"

6.2.0.ER1:
W:\pkremens\jdk1.7.0_last\jre\bin\java.exe "W:\pkremens\EAP-6.2.0\jboss-eap-6.2\bin\standalone.bat"
W:\pkremens\jdk1.7.0_last\jre\bin\java.exe "W:\pkremens\EAP-6.2.0\jboss-eap-6.2\bin\domain.bat"

Starting server by shortcuts will throw:
Error: Could not find or load main class W:\pkremens\EAP-6.2.0\jboss-eap-6.2\bin\standalone.bat

Comment 1 Miles Tjandrawidjaja 2013-09-30 20:42:10 UTC
Shortcuts on windows should now launch.
Note that it is the user's responsibility to ensure that the JAVA_HOME environment variables is set correctly. If the JAVA_HOME environment variable is not set than the shortcuts may not work.

http://git.app.eng.bos.redhat.com/?p=jbossas-installer.git;a=commit;h=68dbf34718c0decaea2d875fb3eea94e4193ab85

Comment 3 Petr Kremensky 2013-10-07 14:19:42 UTC
Verified on EAP 6.2.0.ER4 installer.