| Summary: | Need to add -D java.awt.headless=true to jboss-soa-p.4.2.0/jboss-as/bin/jboss_init_redhat.sh - without this - server can abort | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise SOA Platform 4 | Reporter: | Len DiMaggio <ldimaggi> |
| Component: | Tooling | Assignee: | trev <tkirby> |
| Status: | CLOSED NEXTRELEASE | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 4.2 IR8 | ||
| Target Milestone: | --- | ||
| Target Release: | 4.2 CR2 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| URL: | http://jira.jboss.org/jira/browse/SOA-227 | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: |
soa-4.2.0-IR8.0.zip
|
|
| Last Closed: | 2008-02-04 18:31:36 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
Len DiMaggio
2007-12-11 20:39:48 UTC
Link: Added: This issue is related to JBPAPP-180 Trevor, if you're going to be patching the startup script to fix the default profile issue, it probably makes sense for you to take this JIRA and do it at the same time. This problem is still present in the beta 1 build. This problem is still present - but in a less serious form.
The server no longer aborts.
But - it does allow the Hypersonic DB manager app GUI to be displayed - even those headless is set to true:
[ldimaggi@ldimaggi bin]$ grep headless *
jboss_init_redhat.sh:# set headless as true to stop HSQL Database Manager failure if running as linux service.
jboss_init_redhat.sh:JAVA_OPTS="$JAVA_OPTS -D java.awt.headless=true"
Oh - here's the problem - this:
JAVA_OPTS="$JAVA_OPTS -D java.awt.headless=true"
JBOSS_CMD_START="cd $JBOSS_HOME/bin $JAVA_OPTS; $JBOSSSH"
JBOSS_CMD_STOP=${JBOSS_CMD_STOP:-"java -classpath $JBOSSCP org.jboss.Shutdown --shutdown"}
should be:
JAVA_OPTS="$JAVA_OPTS -D java.awt.headless=true"
JBOSS_CMD_START="cd $JBOSS_HOME/bin; $JBOSSSH $JAVA_OPTS"
JBOSS_CMD_STOP=${JBOSS_CMD_STOP:-"java -classpath $JBOSSCP org.jboss.Shutdown --shutdown"}
New problem with jboss_init_redhat.sh in the RC1 build: Syntax error on line 64. This: JBOSS_CMD_START="cd $JBOSS_HOME/bin; $JBOSSSH" $JAVA_OPTS Should be: JBOSS_CMD_START="cd $JBOSS_HOME/bin; $JBOSSSH $JAVA_OPTS" (look for the trailing ") svn version 848 - line is now JBOSS_CMD_START="cd $JBOSS_HOME/bin; $JBOSSSH $JAVA_OPTS" Verified in CR2 build. Link: Added: This issue related SOA-900 Link: Added: This issue related SOA-906 |