Bug 1010932 - Unable to start server via shortcuts on windows
Summary: Unable to start server via shortcuts on windows
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Installer
Version: 6.2.0
Hardware: Unspecified
OS: Windows
unspecified
high
Target Milestone: ER4
: EAP 6.2.0
Assignee: Miles Tjandrawidjaja
QA Contact: Petr Kremensky
Russell Dickenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-23 10:16 UTC by Petr Kremensky
Modified: 2014-09-03 04:56 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-12-15 16:19:20 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.