[JBoss JIRA] (JBMETA-379) Missing param-name in a web.xml causes NullPointerException during deployment
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/JBMETA-379?page=com.atlassian.jira.plugin... ]
RH Bugzilla Integration commented on JBMETA-379:
------------------------------------------------
Pavel Jelinek <pjelinek(a)redhat.com> changed the Status of [bug 1125421|https://bugzilla.redhat.com/show_bug.cgi?id=1125421] from ON_QA to VERIFIED
> Missing param-name in a web.xml causes NullPointerException during deployment
> ------------------------------------------------------------------------------
>
> Key: JBMETA-379
> URL: https://issues.jboss.org/browse/JBMETA-379
> Project: JBoss Metadata
> Issue Type: Bug
> Components: web
> Affects Versions: 8.0.0.Final
> Reporter: Jay Kumar SenSharma
> Assignee: Jean-Frederic Clere
> Fix For: 8.0.1.Final
>
> 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)
10 years
[JBoss JIRA] (WFLY-3958) WildFly datasource shows disabled even after enabling
by Jason Greene (JIRA)
[ https://issues.jboss.org/browse/WFLY-3958?page=com.atlassian.jira.plugin.... ]
Jason Greene updated WFLY-3958:
-------------------------------
Assignee: Harald Pehl (was: Jason Greene)
Component/s: Web Console
> WildFly datasource shows disabled even after enabling
> -----------------------------------------------------
>
> Key: WFLY-3958
> URL: https://issues.jboss.org/browse/WFLY-3958
> Project: WildFly
> Issue Type: Bug
> Components: Web Console
> Affects Versions: 8.1.0.Final
> Reporter: Carlton Zachary
> Assignee: Harald Pehl
>
> After creating a datasource via the domain console, it still shows disabled after clicking enable. At that moment, the server log shows "Bound" for the datasource. When checking the domain.xml, it shows "enabled=false". This should be "enabled=true". To change this, I have to do ":write-attribute(name=enabled. value=true" in the CLI.
> Please correct this bug.
> Thank you.
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
10 years
[JBoss JIRA] (WFLY-3958) WildFly datasource shows disabled even after enabling
by Carlton Zachary (JIRA)
[ https://issues.jboss.org/browse/WFLY-3958?page=com.atlassian.jira.plugin.... ]
Carlton Zachary updated WFLY-3958:
----------------------------------
Description:
After creating a datasource via the domain console, it still shows disabled after clicking enable. At that moment, the server log shows "Bound" for the datasource. When checking the domain.xml, it shows "enabled=false". This should be "enabled=true". To change this, I have to do ":write-attribute(name=enabled. value=true" in the CLI.
Please correct this bug.
Thank you.
> WildFly datasource shows disabled even after enabling
> -----------------------------------------------------
>
> Key: WFLY-3958
> URL: https://issues.jboss.org/browse/WFLY-3958
> Project: WildFly
> Issue Type: Bug
> Affects Versions: 8.1.0.Final
> Reporter: Carlton Zachary
> Assignee: Jason Greene
>
> After creating a datasource via the domain console, it still shows disabled after clicking enable. At that moment, the server log shows "Bound" for the datasource. When checking the domain.xml, it shows "enabled=false". This should be "enabled=true". To change this, I have to do ":write-attribute(name=enabled. value=true" in the CLI.
> Please correct this bug.
> Thank you.
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
10 years