[JBoss JIRA] (WFLY-3699) Missing param-name in a web.xml causes NullPointerException during deployment
by Farah Juma (JIRA)
[ https://issues.jboss.org/browse/WFLY-3699?page=com.atlassian.jira.plugin.... ]
Farah Juma updated WFLY-3699:
-----------------------------
Component/s: (was: JSF)
> Missing param-name in a web.xml causes NullPointerException during deployment
> ------------------------------------------------------------------------------
>
> Key: WFLY-3699
> URL: https://issues.jboss.org/browse/WFLY-3699
> Project: WildFly
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Web (Undertow)
> Affects Versions: 9.0.0.Beta1
> Reporter: Jay Kumar SenSharma
> Assignee: Farah Juma
> Attachments: ContextParamNullDemo.war
>
>
> - While deploying a WAR, If the web.xml file is used which has context <param-value> defined, However it has missing <param-name> then it causes NullPointerException as following:
> {code}
> 00:12:09,583 INFO [org.jboss.as.server.deployment] (MSC service thread 1-6) WFLYSRV0027: Starting deployment of "ContextParamNullDemo.war" (runtime-name: "ContextParamNullDemo.war")
> 00:12:09,591 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-7) MSC000001: Failed to start service jboss.deployment.unit."ContextParamNullDemo.war".PARSE: org.jboss.msc.service.StartException in service jboss.deployment.unit."ContextParamNullDemo.war".PARSE: WFLYSRV0153: Failed to process phase PARSE of deployment "ContextParamNullDemo.war"
> at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:163) [wildfly-server-9.0.0.Alpha1-SNAPSHOT.jar:9.0.0.Alpha1-SNAPSHOT]
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_51]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_51]
> at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_51]
> Caused by: java.lang.NullPointerException
> at org.jboss.as.jsf.deployment.JSFVersionProcessor.deploy(JSFVersionProcessor.java:91)
> at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:156) [wildfly-server-9.0.0.Alpha1-SNAPSHOT.jar:9.0.0.Alpha1-SNAPSHOT]
> ... 5 more
> 00:12:09,598 ERROR [org.jboss.as.controller.management-operation] (DeploymentScanner-threads - 1) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "ContextParamNullDemo.war")]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"ContextParamNullDemo.war\".PARSE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"ContextParamNullDemo.war\".PARSE: WFLYSRV0153: Failed to process phase PARSE of deployment \"ContextParamNullDemo.war\"
> Caused by: java.lang.NullPointerException"}}
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
11 years, 8 months
[JBoss JIRA] (WFCORE-77) We need even better reporting for failed authentications
by Darran Lofthouse (JIRA)
Darran Lofthouse created WFCORE-77:
--------------------------------------
Summary: We need even better reporting for failed authentications
Key: WFCORE-77
URL: https://issues.jboss.org/browse/WFCORE-77
Project: WildFly Core
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Remoting
Reporter: Darran Lofthouse
Assignee: Darran Lofthouse
Fix For: 1.0.0.Alpha6
The following message is often the one reported to users: -
{noformat}
>> Caused by: javax.security.sasl.SaslException: Authentication failed:
>> the server presented no authentication mechanisms
{noformat}
Whilst technically it is true at that point in time this is most likely caused because other mechanisms have already been tried and failed and the list of mechanisms to try is now exhausted.
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
11 years, 8 months
[JBoss JIRA] (WFLY-3778) Tests in Manualmode test suite fail occasionally
by Frank Langelage (JIRA)
[ https://issues.jboss.org/browse/WFLY-3778?page=com.atlassian.jira.plugin.... ]
Frank Langelage commented on WFLY-3778:
---------------------------------------
I'm running build/test as user jboss.
No files owned by jboss in /tmp else than hsperfdata_jboss.
> Tests in Manualmode test suite fail occasionally
> ------------------------------------------------
>
> Key: WFLY-3778
> URL: https://issues.jboss.org/browse/WFLY-3778
> Project: WildFly
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Remoting, Test Suite
> Affects Versions: 9.0.0.Beta1
> Environment: Oracle Solaris SPARC 10, Oracle JDK 1.7.0_67.
> Reporter: Frank Langelage
> Assignee: David Lloyd
> Attachments: org.jboss.as.test.manualmode.management.cli.VaultPasswordsInCLITestCase-output.txt, org.jboss.as.test.manualmode.management.cli.VaultPasswordsInCLITestCase.txt, TEST-org.jboss.as.test.manualmode.management.cli.VaultPasswordsInCLITestCase.xml
>
>
> I always see failures in one or few test of manualmode test suite on this platform. I not remember to have seen them on Windows 7.
> But I saw a very similar failure today on Linux first time for PR 6638.
> See https://github.com/wildfly/wildfly/pull/6638.
> Last failure on my machine:
> Running org.jboss.as.test.manualmode.management.cli.VaultPasswordsInCLITestCase
> Tests run: 4, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 72.186 sec <<< FAILURE! - in org.jboss.as.test.manualmode.management.cli.VaultPasswordsInCLITestCase
> testRightVaultPassword(org.jboss.as.test.manualmode.management.cli.VaultPasswordsInCLITestCase) Time elapsed: 6.23 sec <<< FAILURE!
> java.lang.AssertionError: Password should be right and authentication successful
> Expected: a string containing "\"outcome\" => \"success\""
> but: was "0: INFO [org.jboss.modules] JBoss Modules version 1.3.4.Final
> INFO [org.jboss.security] PBOX000361: Default Security Vault Implementation Initialized and Ready
> INFO [org.xnio] XNIO version 3.3.0.Beta1
> INFO [org.xnio.nio] XNIO NIO Implementation Version 3.3.0.Beta1
> INFO [org.jboss.remoting] JBoss Remoting version 4.0.3.Final
> "
> at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
> at org.junit.Assert.assertThat(Assert.java:865)
> at org.jboss.as.test.manualmode.management.cli.VaultPasswordsInCLITestCase.testRightVaultPassword(VaultPasswordsInCLITestCase.java:158)
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
11 years, 8 months
[JBoss JIRA] (JGRP-1799) RpcDispatcher test fails when working with large values
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/JGRP-1799?page=com.atlassian.jira.plugin.... ]
RH Bugzilla Integration commented on JGRP-1799:
-----------------------------------------------
Paul Ferraro <paul.ferraro(a)redhat.com> changed the Status of [bug 1022413|https://bugzilla.redhat.com/show_bug.cgi?id=1022413] from NEW to CLOSED
> RpcDispatcher test fails when working with large values
> -------------------------------------------------------
>
> Key: JGRP-1799
> URL: https://issues.jboss.org/browse/JGRP-1799
> Project: JGroups
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 3.2.13
> Environment: RHEL, Win, Solaris
> Reporter: Richard Achmatowicz
> Assignee: Bela Ban
> Fix For: 3.2.13
>
>
> The two tests:
> * testLargeReturnValue
> * testLargeReturnValueUnicastCall
> make RPC calls with values which are increasingly large.
> The values used are in this range:
> {noformat}
> SIZES={10000, 20000, 40000, 80000, 100000, 200000, 400000, 800000,1000000, 2000000, 5000000}
> {noformat}
> The tests have been see to fail with the values 1000000, 2000000 and 5000000, always with the same error in each case.
> In the case of testLargeReturnValue, the test fails because one of the returned values from the RPC is null.
> In the case of testLargeReturnValueUnicastCall, the test fails due to a timeout while sending the RPC.
>
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
11 years, 8 months
[JBoss JIRA] (WFLY-3791) Error on ModelControllerClient to list sections
by ofbiz brazil (JIRA)
[ https://issues.jboss.org/browse/WFLY-3791?page=com.atlassian.jira.plugin.... ]
ofbiz brazil edited comment on WFLY-3791 at 8/29/14 10:28 AM:
--------------------------------------------------------------
Darran,
What tricks much more me, it is the fact via CLI console I can find security section.
Seems just Java API can not do it
Why?
C:\wildfly-8.1.0.Final\bin>jboss-cli.bat --connect --controller=localhost:9029
[standalone@localhost:9029 /] ./subsystem=security:read-resource(recursive=true)
{
"outcome" => "success",
"result" => {
"deep-copy-subject-mode" => false,
"security-domain" => {
"pw_encrypted_MSSQL_CAS_DS" => {
"cache-type" => "default",
"acl" => undefined,
"audit" => undefined,
"authentication" => {"classic" => {
"login-modules" => [{
"code" => "org.picketbox.datasource.security.SecureIdentityLoginModule",
"flag" => "required",
"module" => undefined,
"module-options" => {
"username" => "XXXX",
"password" => "XXXX",
"managedConnectionFactoryName" => "jboss.jca:service=TxCM,name=MSSQL_CAS_DS"
}
}],
"login-module" => {"org.picketbox.datasource.security.SecureIdentityLoginModule" => {
"code" => "org.picketbox.datasource.security.SecureIdentityLoginModule",
"flag" => "required",
"module" => undefined,
"module-options" => {
"username" => "XXXX",
"password" => "XXXX",
"managedConnectionFactoryName" => "jboss.jca:service=TxCM,name=MSSQL_CAS_DS"
}
}}
}},
"authorization" => undefined,
"identity-trust" => undefined,
"jsse" => undefined,
was (Author: ofbizbrazil):
Darran,
What trickes much more me, is just the fact via CLI console I can find security section.
Seems just Java API can not do it
Why?
C:\wildfly-8.1.0.Final\bin>jboss-cli.bat --connect --controller=localhost:9029
[standalone@localhost:9029 /] ./subsystem=security:read-resource(recursive=true)
{
"outcome" => "success",
"result" => {
"deep-copy-subject-mode" => false,
"security-domain" => {
"pw_encrypted_MSSQL_CAS_DS" => {
"cache-type" => "default",
"acl" => undefined,
"audit" => undefined,
"authentication" => {"classic" => {
"login-modules" => [{
"code" => "org.picketbox.datasource.security.SecureIdentityLoginModule",
"flag" => "required",
"module" => undefined,
"module-options" => {
"username" => "XXXX",
"password" => "XXXX",
"managedConnectionFactoryName" => "jboss.jca:service=TxCM,name=MSSQL_CAS_DS"
}
}],
"login-module" => {"org.picketbox.datasource.security.SecureIdentityLoginModule" => {
"code" => "org.picketbox.datasource.security.SecureIdentityLoginModule",
"flag" => "required",
"module" => undefined,
"module-options" => {
"username" => "XXXX",
"password" => "XXXX",
"managedConnectionFactoryName" => "jboss.jca:service=TxCM,name=MSSQL_CAS_DS"
}
}}
}},
"authorization" => undefined,
"identity-trust" => undefined,
"jsse" => undefined,
> Error on ModelControllerClient to list sections
> -----------------------------------------------
>
> Key: WFLY-3791
> URL: https://issues.jboss.org/browse/WFLY-3791
> Project: WildFly
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Domain Management
> Affects Versions: 8.1.0.Final
> Environment: Java 7
> Reporter: ofbiz brazil
> Assignee: Darran Lofthouse
>
> Hello,
> When there's a client trying to list a node for a security section, Wildfly says it does not exist but on Jboss 7.1.1 it works fine.
> Java Code:
> --------------
> final ModelNode request = new ModelNode();
> request.get(ClientConstants.OP).set("read-resource");
> request.get("recursive").set(true);
> request.get(ClientConstants.OP_ADDR).add("subsystem", "security");
> final ModelControllerClient client = ModelControllerClient.Factory.create(InetAddress.getByName("127.0.0.1"), 9999);
> final ModelNode response = client.execute(new OperationBuilder(request).build());
> final String section = response.get(ClientConstants.RESULT).get("security-domain")
> .get("pw_MSSQL_CAS_DS")
> Result:
> ---------
> {
> "outcome" => "failed",
> "failure-description" => "JBAS014807: Management resource '[(\"subsystem\" => \"security\")]' not found",
> "rolled-back" => true
> }
> Cheers,
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
11 years, 8 months
[JBoss JIRA] (WFLY-3791) Error on ModelControllerClient to list sections
by ofbiz brazil (JIRA)
[ https://issues.jboss.org/browse/WFLY-3791?page=com.atlassian.jira.plugin.... ]
ofbiz brazil edited comment on WFLY-3791 at 8/29/14 10:25 AM:
--------------------------------------------------------------
Darran,
What trickes much more me, is just the fact via CLI console I can find security section.
Seems just Java API can not do it
Why?
C:\wildfly-8.1.0.Final\bin>jboss-cli.bat --connect --controller=localhost:9029
[standalone@localhost:9029 /] ./subsystem=security:read-resource(recursive=true)
{
"outcome" => "success",
"result" => {
"deep-copy-subject-mode" => false,
"security-domain" => {
"pw_encrypted_MSSQL_CAS_DS" => {
"cache-type" => "default",
"acl" => undefined,
"audit" => undefined,
"authentication" => {"classic" => {
"login-modules" => [{
"code" => "org.picketbox.datasource.security.SecureIdentityLoginModule",
"flag" => "required",
"module" => undefined,
"module-options" => {
"username" => "XXXX",
"password" => "XXXX",
"managedConnectionFactoryName" => "jboss.jca:service=TxCM,name=MSSQL_CAS_DS"
}
}],
"login-module" => {"org.picketbox.datasource.security.SecureIdentityLoginModule" => {
"code" => "org.picketbox.datasource.security.SecureIdentityLoginModule",
"flag" => "required",
"module" => undefined,
"module-options" => {
"username" => "XXXX",
"password" => "XXXX",
"managedConnectionFactoryName" => "jboss.jca:service=TxCM,name=MSSQL_CAS_DS"
}
}}
}},
"authorization" => undefined,
"identity-trust" => undefined,
"jsse" => undefined,
was (Author: ofbizbrazil):
Darran,
What trickes much more me, is just the fact via CLI console I can find security section.
Seems just Java API can do it
Why?
C:\wildfly-8.1.0.Final\bin>jboss-cli.bat --connect --controller=localhost:9029
[standalone@localhost:9029 /] ./subsystem=security:read-resource(recursive=true)
{
"outcome" => "success",
"result" => {
"deep-copy-subject-mode" => false,
"security-domain" => {
"pw_encrypted_MSSQL_CAS_DS" => {
"cache-type" => "default",
"acl" => undefined,
"audit" => undefined,
"authentication" => {"classic" => {
"login-modules" => [{
"code" => "org.picketbox.datasource.security.SecureIdentityLoginModule",
"flag" => "required",
"module" => undefined,
"module-options" => {
"username" => "XXXX",
"password" => "XXXX",
"managedConnectionFactoryName" => "jboss.jca:service=TxCM,name=MSSQL_CAS_DS"
}
}],
"login-module" => {"org.picketbox.datasource.security.SecureIdentityLoginModule" => {
"code" => "org.picketbox.datasource.security.SecureIdentityLoginModule",
"flag" => "required",
"module" => undefined,
"module-options" => {
"username" => "XXXX",
"password" => "XXXX",
"managedConnectionFactoryName" => "jboss.jca:service=TxCM,name=MSSQL_CAS_DS"
}
}}
}},
"authorization" => undefined,
"identity-trust" => undefined,
"jsse" => undefined,
> Error on ModelControllerClient to list sections
> -----------------------------------------------
>
> Key: WFLY-3791
> URL: https://issues.jboss.org/browse/WFLY-3791
> Project: WildFly
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Domain Management
> Affects Versions: 8.1.0.Final
> Environment: Java 7
> Reporter: ofbiz brazil
> Assignee: Darran Lofthouse
>
> Hello,
> When there's a client trying to list a node for a security section, Wildfly says it does not exist but on Jboss 7.1.1 it works fine.
> Java Code:
> --------------
> final ModelNode request = new ModelNode();
> request.get(ClientConstants.OP).set("read-resource");
> request.get("recursive").set(true);
> request.get(ClientConstants.OP_ADDR).add("subsystem", "security");
> final ModelControllerClient client = ModelControllerClient.Factory.create(InetAddress.getByName("127.0.0.1"), 9999);
> final ModelNode response = client.execute(new OperationBuilder(request).build());
> final String section = response.get(ClientConstants.RESULT).get("security-domain")
> .get("pw_MSSQL_CAS_DS")
> Result:
> ---------
> {
> "outcome" => "failed",
> "failure-description" => "JBAS014807: Management resource '[(\"subsystem\" => \"security\")]' not found",
> "rolled-back" => true
> }
> Cheers,
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
11 years, 8 months
[JBoss JIRA] (WFLY-3791) Error on ModelControllerClient to list sections
by ofbiz brazil (JIRA)
[ https://issues.jboss.org/browse/WFLY-3791?page=com.atlassian.jira.plugin.... ]
ofbiz brazil commented on WFLY-3791:
------------------------------------
Darran,
What trickes much more me, is just the fact via CLI console I can find security section.
Seems just Java API can do it
Why?
C:\wildfly-8.1.0.Final\bin>jboss-cli.bat --connect --controller=localhost:9029
[standalone@localhost:9029 /] ./subsystem=security:read-resource(recursive=true)
{
"outcome" => "success",
"result" => {
"deep-copy-subject-mode" => false,
"security-domain" => {
"pw_encrypted_MSSQL_CAS_DS" => {
"cache-type" => "default",
"acl" => undefined,
"audit" => undefined,
"authentication" => {"classic" => {
"login-modules" => [{
"code" => "org.picketbox.datasource.security.SecureIdentityLoginModule",
"flag" => "required",
"module" => undefined,
"module-options" => {
"username" => "XXXX",
"password" => "XXXX",
"managedConnectionFactoryName" => "jboss.jca:service=TxCM,name=MSSQL_CAS_DS"
}
}],
"login-module" => {"org.picketbox.datasource.security.SecureIdentityLoginModule" => {
"code" => "org.picketbox.datasource.security.SecureIdentityLoginModule",
"flag" => "required",
"module" => undefined,
"module-options" => {
"username" => "XXXX",
"password" => "XXXX",
"managedConnectionFactoryName" => "jboss.jca:service=TxCM,name=MSSQL_CAS_DS"
}
}}
}},
"authorization" => undefined,
"identity-trust" => undefined,
"jsse" => undefined,
> Error on ModelControllerClient to list sections
> -----------------------------------------------
>
> Key: WFLY-3791
> URL: https://issues.jboss.org/browse/WFLY-3791
> Project: WildFly
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Domain Management
> Affects Versions: 8.1.0.Final
> Environment: Java 7
> Reporter: ofbiz brazil
> Assignee: Darran Lofthouse
>
> Hello,
> When there's a client trying to list a node for a security section, Wildfly says it does not exist but on Jboss 7.1.1 it works fine.
> Java Code:
> --------------
> final ModelNode request = new ModelNode();
> request.get(ClientConstants.OP).set("read-resource");
> request.get("recursive").set(true);
> request.get(ClientConstants.OP_ADDR).add("subsystem", "security");
> final ModelControllerClient client = ModelControllerClient.Factory.create(InetAddress.getByName("127.0.0.1"), 9999);
> final ModelNode response = client.execute(new OperationBuilder(request).build());
> final String section = response.get(ClientConstants.RESULT).get("security-domain")
> .get("pw_MSSQL_CAS_DS")
> Result:
> ---------
> {
> "outcome" => "failed",
> "failure-description" => "JBAS014807: Management resource '[(\"subsystem\" => \"security\")]' not found",
> "rolled-back" => true
> }
> Cheers,
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
11 years, 8 months