Bug 1145960
Summary: | Several issues with EAP startup scripts | ||
---|---|---|---|
Product: | [JBoss] JBoss Enterprise Application Platform 6 | Reporter: | Petr Kremensky <pkremens> |
Component: | Scripts and Commands | Assignee: | James Perkins <jperkins> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Petr Kremensky <pkremens> |
Severity: | urgent | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.4.0 | CC: | fnasser, jason.greene, jkudrnac, kkhan, pgier, pslavice |
Target Milestone: | DR11 | Keywords: | Regression |
Target Release: | EAP 6.4.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-08-19 12:43:15 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: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1117862 |
Description
Petr Kremensky
2014-09-24 08:15:14 UTC
Solaris10 specific standalone.sh script regression: [hudson@dev20-02 bin]$ ./standalone.sh -c standalone-full.xml ./standalone.sh: test: unknown operator == One more hidden issue in standalone.sh - when I launch ./bin/standalone.sh on Ubuntu this error occurs: ./jboss-eap-6.4/bin/standalone.sh: 276: [: unexpected operator line 276 contains: "if [ "$SECMGR" == "true" ]; then" This notation is invalid for plain Shell and empty variable $SECMGR. Correct if statement should look IMHO like this: "if [ "$SECMGR" = "true" ]; then" Oops, too much Java I guess. arguments for domain.sh are still ignored in 6.4.0.DR3: ./domain.sh --help Actual out-of-box domain is started Expected help message is shown Solaris 10 issue from comment 1 still last. There is a new regression in jboss-cli.bat script (cannot be used, if parentheses are on path): W:\jboss-eap-(6.4)\bin>jboss-cli.bat "\bin\jboss-cli-logging.properties" was unexpected at this time. Setting to ASSIGNED again since the Solaris fix is still being worked on Problem with Solaris was actually the issue Mato described in comment 6 so it should be fixed with next DR build. Looking good so far, I found just one case (jboss-cli.sh) where the scripts are acting different as before. Expressions in command are now resolved unless I use single quotes. e.g. EAP 6.3 ./jboss-cli.sh -c command="/subsystem=datasources/data-source=ExampleDS/:write-attribute(name=driver-name, value=\"\${VAULT::block::attribute::1}\")" gives me: "JBAS014749: Operation handler failed: JBAS013322: Vault is not initialized", thus $VAULT was not resolved EAP 6.4.0.DR4 ./jboss-cli.sh -c command="/subsystem=datasources/data-source=ExampleDS/:write-attribute(name=driver-name, value=\"\${VAULT::block::attribute::1}\")" gives me: "The argument value is not specified for value: 'null'", thus $VAULT was resolved as empty string I can use single quotes to achieve same as with 6.3.0. ./jboss-cli.sh -c command='/subsystem=datasources/data-source=ExampleDS/:write-attribute(name=driver-name, value=\"\${VAULT::block::attribute::1}\")' I try to dig around more whether it can't break anything. There is still issue with special character on path for windows (tested with EAP 6.4.0.DR5) - 'jboss e a p' Both standalone and domain are started successfully, but: C:\jboss e a p\bin>jboss-cli.bat Error: Could not find or load main class e Press any key to continue . . . Please synchronize with @ewertz (BZ1103620). This is the only issue I've found so far, but there are still some tests running or waiting in Jenkins queue. I'll update if I find anything new. One issue I've found so far (some tests are still running, but most already finishes). jboss-cli.bat script doesn't work with parentheses on path. C:\jboss-(eap)\bin>jboss-cli.bat -c "\bin\jboss-cli-logging.properties" was unexpected at this time. C:\jboss-(eap)\bin> Verified on EAP 6.4.0.DR11 John Doyle <jdoyle> updated the status of jira EAP6-252 to Closed |