[JBoss JIRA] (WFCORE-1868) wrong parse of double quote in `\\"`
by Jean-Francois Denise (JIRA)
[ https://issues.jboss.org/browse/WFCORE-1868?page=com.atlassian.jira.plugi... ]
Jean-Francois Denise commented on WFCORE-1868:
----------------------------------------------
Yes, we have disabled quotes parsing due to https://issues.jboss.org/browse/WFCORE-1804
It was breaking some 6.4 scripts redirected to the console.
These scripts contains comments without escaped single quote. So Aesh had a wrong behaviour,
> wrong parse of double quote in `\\"`
> -------------------------------------
>
> Key: WFCORE-1868
> URL: https://issues.jboss.org/browse/WFCORE-1868
> Project: WildFly Core
> Issue Type: Bug
> Components: CLI
> Environment: JBoss EAP 7.0.0
> Reporter: Hisanobu Okuda
> Assignee: Jean-Francois Denise
>
> jboss-cli does not parse command line if command line contains {code}\\"{code}
> When a command is
> {code}/system-property=foo4:add(value="vvv\\"){code}
> it shows the sub-prompt '> ' like:
> {code}
> [standalone@localhost:9990 /] /system-property=foo4:add(value="vvv\\")
> >
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 6 months
[JBoss JIRA] (WFLY-6500) wildfly-10.0.0.Final deployment crash
by Michael Peoples (JIRA)
[ https://issues.jboss.org/browse/WFLY-6500?page=com.atlassian.jira.plugin.... ]
Michael Peoples commented on WFLY-6500:
---------------------------------------
You may be correct here. We've been trying multiple versions of WildFly and Camunda. The problem appears in all combinations, though I cannot say this definitively as we have not conducted a formalized series of tests. We may be forced to spend a day or more doing these tests to prove there is, in fact, an issue.
Thank you for taking the time to review these posts.
> wildfly-10.0.0.Final deployment crash
> -------------------------------------
>
> Key: WFLY-6500
> URL: https://issues.jboss.org/browse/WFLY-6500
> Project: WildFly
> Issue Type: Bug
> Affects Versions: 10.0.0.Final
> Reporter: Jason Morgan
> Assignee: Tomaz Cerar
> Fix For: 10.1.0.Final
>
>
> Having a war in the deployment directory and then "replacing" a deployment through the web console causes the server to crash without any logging on restart
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 6 months
[JBoss JIRA] (WFCORE-1868) wrong parse of double quote in `\\"`
by Hisanobu Okuda (JIRA)
[ https://issues.jboss.org/browse/WFCORE-1868?page=com.atlassian.jira.plugi... ]
Hisanobu Okuda commented on WFCORE-1868:
----------------------------------------
Jean-Francois, I found that the latest wildfly-core 3.0.x blows it off to find open quote setting false to org.jboss.aesh.parser.Parser.setParsingQuotes().
{code}
[hokuda@dhcp-193-78 01719672_eap7_jboss-cli]$ rljdb -attach localhost:8787
/usr/local/bin/rlwrap -H ./rljdb.history -l ./rljdb.log -w 10 -pRED -C jdbxxx -b ' .' -z /home/hokuda/bin/rljdb_filter jdb -attach localhost:8787
Set uncaught java.lang.Throwable
Set deferred uncaught java.lang.Throwable
Initializing jdb ...
>
VM Started: No frames on the current call stack
Found ./rljdb.breakpoint
main[1] run
> Set deferred breakpoint org.jboss.aesh.parser.Parser.setParsingQuotes(boolean)
Set deferred breakpoint org.jboss.aesh.parser.Parser.doesStringContainOpenQuote(java.lang.String)
Breakpoint hit: "thread=main", org.jboss.aesh.parser.Parser.setParsingQuotes(), line=790 bci=0
main[1] where
[1] org.jboss.aesh.parser.Parser.setParsingQuotes (Parser.java:790)
[2] org.jboss.aesh.console.Console.init (Console.java:162)
[3] org.jboss.aesh.console.Console.<init> (Console.java:118)
[4] org.jboss.as.cli.impl.Console$Factory.getConsole (Console.java:123)
[5] org.jboss.as.cli.impl.Console$Factory.getConsole (Console.java:116)
[6] org.jboss.as.cli.impl.CommandContextImpl.initBasicConsole (CommandContextImpl.java:413)
[7] org.jboss.as.cli.impl.CommandContextImpl.<init> (CommandContextImpl.java:381)
[8] org.jboss.as.cli.impl.CommandContextFactoryImpl.newCommandContext (CommandContextFactoryImpl.java:157)
[9] org.jboss.as.cli.impl.CliLauncher.initCommandContext (CliLauncher.java:305)
[10] org.jboss.as.cli.impl.CliLauncher.main (CliLauncher.java:285)
[11] org.jboss.as.cli.CommandLineMain.main (CommandLineMain.java:45)
[12] sun.reflect.NativeMethodAccessorImpl.invoke0 (native method)
[13] sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
[14] sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
[15] java.lang.reflect.Method.invoke (Method.java:498)
[16] org.jboss.modules.Module.run (Module.java:336)
[17] org.jboss.modules.Main.main (Main.java:520)
main[1] locals
Method arguments:
parsingQuotes = false
Local variables:
{code}
If parsingQuotes == false, org.jboss.aesh.parser.Parser.doesStringContainOpenQuote() does nothing.
{code}
public static boolean doesStringContainOpenQuote(String text)
{
if (!parsingQuotes) {
return false;
}
{code}
[https://github.com/wildfly/wildfly-core/commit/027bfe959988b25e45771491e4...] introduced disabling parsing quotes in cli/src/main/java/org/jboss/as/cli/impl/CommandContextImpl.java:
{code}
+ settings.parsingQuotes(false);
{code}
The above line should be removed, and the fix should be applied.
> wrong parse of double quote in `\\"`
> -------------------------------------
>
> Key: WFCORE-1868
> URL: https://issues.jboss.org/browse/WFCORE-1868
> Project: WildFly Core
> Issue Type: Bug
> Components: CLI
> Environment: JBoss EAP 7.0.0
> Reporter: Hisanobu Okuda
> Assignee: Jean-Francois Denise
>
> jboss-cli does not parse command line if command line contains {code}\\"{code}
> When a command is
> {code}/system-property=foo4:add(value="vvv\\"){code}
> it shows the sub-prompt '> ' like:
> {code}
> [standalone@localhost:9990 /] /system-property=foo4:add(value="vvv\\")
> >
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 6 months
[JBoss JIRA] (ELY-677) Credential-reference(store=...) should be resolved in time of request.
by Hynek Švábek (JIRA)
[ https://issues.jboss.org/browse/ELY-677?page=com.atlassian.jira.plugin.sy... ]
Hynek Švábek reassigned ELY-677:
--------------------------------
Assignee: Peter Skopek (was: Hynek Švábek)
> Credential-reference(store=...) should be resolved in time of request.
> ----------------------------------------------------------------------
>
> Key: ELY-677
> URL: https://issues.jboss.org/browse/ELY-677
> Project: WildFly Elytron
> Issue Type: Bug
> Components: Credential Store
> Affects Versions: 1.1.0.Beta10
> Reporter: Hynek Švábek
> Assignee: Peter Skopek
> Attachments: firefly.keystore
>
>
> Credential-reference should be resolved in time of request.
> When you added KeyStore to Elytron subsystem which have credential-reference to non-exists credential store then you can see this error message
> {code}
> ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 8) WFLYCTL0013: Operation ("add") failed - address: ([
> ("subsystem" => "elytron"),
> ("key-store" => "firefly")
> ]) - failure description: {
> "WFLYCTL0412: Required services that are not installed:" => ["org.wildfly.security.credential-store-client.NonexistingCredentialStore"],
> "WFLYCTL0180: Services with missing/unavailable dependencies" => ["org.wildfly.security.key-store.firefly is missing [org.wildfly.security.credential-store-client.NonexistingCredentialStore]"]
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 6 months
[JBoss JIRA] (ELY-677) Credential-reference(store=) should be resolved in time of request.
by Hynek Švábek (JIRA)
[ https://issues.jboss.org/browse/ELY-677?page=com.atlassian.jira.plugin.sy... ]
Hynek Švábek updated ELY-677:
-----------------------------
Summary: Credential-reference(store=) should be resolved in time of request. (was: Credential-reference should be resolved in time of request.)
> Credential-reference(store=) should be resolved in time of request.
> -------------------------------------------------------------------
>
> Key: ELY-677
> URL: https://issues.jboss.org/browse/ELY-677
> Project: WildFly Elytron
> Issue Type: Bug
> Components: Credential Store
> Affects Versions: 1.1.0.Beta10
> Reporter: Hynek Švábek
> Assignee: Hynek Švábek
> Attachments: firefly.keystore
>
>
> Credential-reference should be resolved in time of request.
> When you added KeyStore to Elytron subsystem which have credential-reference to non-exists credential store then you can see this error message
> {code}
> ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 8) WFLYCTL0013: Operation ("add") failed - address: ([
> ("subsystem" => "elytron"),
> ("key-store" => "firefly")
> ]) - failure description: {
> "WFLYCTL0412: Required services that are not installed:" => ["org.wildfly.security.credential-store-client.NonexistingCredentialStore"],
> "WFLYCTL0180: Services with missing/unavailable dependencies" => ["org.wildfly.security.key-store.firefly is missing [org.wildfly.security.credential-store-client.NonexistingCredentialStore]"]
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 6 months
[JBoss JIRA] (ELY-677) Credential-reference(store=...) should be resolved in time of request.
by Hynek Švábek (JIRA)
[ https://issues.jboss.org/browse/ELY-677?page=com.atlassian.jira.plugin.sy... ]
Hynek Švábek updated ELY-677:
-----------------------------
Summary: Credential-reference(store=...) should be resolved in time of request. (was: Credential-reference(store=) should be resolved in time of request.)
> Credential-reference(store=...) should be resolved in time of request.
> ----------------------------------------------------------------------
>
> Key: ELY-677
> URL: https://issues.jboss.org/browse/ELY-677
> Project: WildFly Elytron
> Issue Type: Bug
> Components: Credential Store
> Affects Versions: 1.1.0.Beta10
> Reporter: Hynek Švábek
> Assignee: Hynek Švábek
> Attachments: firefly.keystore
>
>
> Credential-reference should be resolved in time of request.
> When you added KeyStore to Elytron subsystem which have credential-reference to non-exists credential store then you can see this error message
> {code}
> ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 8) WFLYCTL0013: Operation ("add") failed - address: ([
> ("subsystem" => "elytron"),
> ("key-store" => "firefly")
> ]) - failure description: {
> "WFLYCTL0412: Required services that are not installed:" => ["org.wildfly.security.credential-store-client.NonexistingCredentialStore"],
> "WFLYCTL0180: Services with missing/unavailable dependencies" => ["org.wildfly.security.key-store.firefly is missing [org.wildfly.security.credential-store-client.NonexistingCredentialStore]"]
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 6 months
[JBoss JIRA] (ELY-678) Credential-reference(alias=) should be resolved in time of request.
by Hynek Švábek (JIRA)
Hynek Švábek created ELY-678:
--------------------------------
Summary: Credential-reference(alias=) should be resolved in time of request.
Key: ELY-678
URL: https://issues.jboss.org/browse/ELY-678
Project: WildFly Elytron
Issue Type: Bug
Components: Credential Store
Affects Versions: 1.1.0.Beta10
Reporter: Hynek Švábek
Assignee: Peter Skopek
Attachments: credentialstore.jceks, firefly.keystore
Credential-reference should be resolved in time of request - in this case the alias which contains wrong password in CredentialStore (we can change it later to right password...).
If I add credential reference with alias which contains wrong password then I get this error:
{code}
{
"outcome" => "failed",
"failure-description" => {
"WFLYCTL0080: Failed services" => {"org.wildfly.security.key-store.fireflyWrong" => "org.jboss.msc.service.StartException in service org.wildfly.security.key-store.fireflyWrong: WFLYELY00004: Unable to start the service.
Caused by: java.io.IOException: Keystore was tampered with, or password was incorrect
Caused by: java.security.UnrecoverableKeyException: Password verification failed"},
"WFLYCTL0412: Required services that are not installed:" => ["org.wildfly.security.key-store.fireflyWrong"],
"WFLYCTL0180: Services with missing/unavailable dependencies" => undefined
},
"rolled-back" => true
}
{code}
*When I reload server then same command pass!*
But I nowhere got information about reload-required
{code}
/subsystem=elytron/key-store=fireflyWrong:add(path=cs/firefly.keystore,relative-to=jboss.server.data.dir,type=JKS,credential-reference= {store=credStore2,alias=ffWithWrongPass})
{code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 6 months
[JBoss JIRA] (ELY-677) Credential-reference should be resolved in time of request.
by Hynek Švábek (JIRA)
[ https://issues.jboss.org/browse/ELY-677?page=com.atlassian.jira.plugin.sy... ]
Hynek Švábek updated ELY-677:
-----------------------------
Steps to Reproduce:
* firefly.keystore which is attached copy to eap_home/standalone/data/cs.
* run EAP server
./bin/standalone.sh
* run CLI
./bin/jboss-cli.sh -c
if applicaple add Elytron extension and Elytron subsystem and reload server
/extension=org.wildfly.extension.elytron:add()
/subsystem=elytron:add()
reload
* /subsystem=elytron/key-store=firefly:add(path=cs/firefly.keystore,relative-to=jboss.server.data.dir,type=JKS,credential-reference={store=NonexistingCredentialStore,alias=ff})
was:
* copy to firefly.keystore which is attached.
* run EAP server
./bin/standalone.sh
* run CLI
./bin/jboss-cli.sh -c
if applicaple add Elytron extension and Elytron subsystem and reload server
/extension=org.wildfly.extension.elytron:add()
/subsystem=elytron:add()
reload
* /subsystem=elytron/key-store=firefly:add(path=cs/firefly.keystore,relative-to=jboss.server.data.dir,type=JKS,credential-reference={store=NonexistingCredentialStore,alias=ff})
> Credential-reference should be resolved in time of request.
> -----------------------------------------------------------
>
> Key: ELY-677
> URL: https://issues.jboss.org/browse/ELY-677
> Project: WildFly Elytron
> Issue Type: Bug
> Components: Credential Store
> Affects Versions: 1.1.0.Beta10
> Reporter: Hynek Švábek
> Assignee: Hynek Švábek
> Attachments: firefly.keystore
>
>
> Credential-reference should be resolved in time of request.
> When you added KeyStore to Elytron subsystem which have credential-reference to non-exists credential store then you can see this error message
> {code}
> ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 8) WFLYCTL0013: Operation ("add") failed - address: ([
> ("subsystem" => "elytron"),
> ("key-store" => "firefly")
> ]) - failure description: {
> "WFLYCTL0412: Required services that are not installed:" => ["org.wildfly.security.credential-store-client.NonexistingCredentialStore"],
> "WFLYCTL0180: Services with missing/unavailable dependencies" => ["org.wildfly.security.key-store.firefly is missing [org.wildfly.security.credential-store-client.NonexistingCredentialStore]"]
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 6 months
[JBoss JIRA] (ELY-677) Credential-reference should be resolved in time of request.
by Hynek Švábek (JIRA)
[ https://issues.jboss.org/browse/ELY-677?page=com.atlassian.jira.plugin.sy... ]
Hynek Švábek reassigned ELY-677:
--------------------------------
Assignee: Hynek Švábek (was: Peter Skopek)
> Credential-reference should be resolved in time of request.
> -----------------------------------------------------------
>
> Key: ELY-677
> URL: https://issues.jboss.org/browse/ELY-677
> Project: WildFly Elytron
> Issue Type: Bug
> Components: Credential Store
> Affects Versions: 1.1.0.Beta10
> Reporter: Hynek Švábek
> Assignee: Hynek Švábek
> Attachments: firefly.keystore
>
>
> Credential-reference should be resolved in time of request.
> When you added KeyStore to Elytron subsystem which have credential-reference to non-exists credential store then you can see this error message
> {code}
> ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 8) WFLYCTL0013: Operation ("add") failed - address: ([
> ("subsystem" => "elytron"),
> ("key-store" => "firefly")
> ]) - failure description: {
> "WFLYCTL0412: Required services that are not installed:" => ["org.wildfly.security.credential-store-client.NonexistingCredentialStore"],
> "WFLYCTL0180: Services with missing/unavailable dependencies" => ["org.wildfly.security.key-store.firefly is missing [org.wildfly.security.credential-store-client.NonexistingCredentialStore]"]
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 6 months