[JBoss JIRA] (AS7-3475) Properly integrate DMR configuration model with Host Environment and Server Environment
by Brian Stansberry (JIRA)
Brian Stansberry created AS7-3475:
-------------------------------------
Summary: Properly integrate DMR configuration model with Host Environment and Server Environment
Key: AS7-3475
URL: https://issues.jboss.org/browse/AS7-3475
Project: Application Server 7
Issue Type: Task
Components: Domain Management
Reporter: Brian Stansberry
Assignee: Brian Stansberry
Priority: Critical
Fix For: 7.1.0.Final
When users update items in the DMR configuration model that are also reflected in ServerEnvironment or HostEnvironment, synchronization needs to take place. This can either be:
1) The XXEnvironment class is updated. For example if the server name is set via xml, that should be recorded in ServerEnvironment and any auto-created system properties (e.g. jboss.node.name) should be updated (but only if they were auto-created, not if set by the user.)
2) The configuration change is rejected. For example, the user tries to change jboss.home.dir via the <system-properties> elements in standalone.xml.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 3 months
[JBoss JIRA] (AS7-3471) Cannot Deploy Two Distributable Applications to AS7 Started w/ standalone-ha.xml Config
by Benjamin Browning (JIRA)
Benjamin Browning created AS7-3471:
--------------------------------------
Summary: Cannot Deploy Two Distributable Applications to AS7 Started w/ standalone-ha.xml Config
Key: AS7-3471
URL: https://issues.jboss.org/browse/AS7-3471
Project: Application Server 7
Issue Type: Bug
Reporter: Benjamin Browning
Priority: Critical
Attachments: node-info.war
Trying to deploy two distributable web applications to AS 7.1 master since the upgrade to Infinispan 5.1.0.Final fails with the following error:
12:34:01,899 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-6) MSC00001: Failed to start service jboss.deployment.unit."node-info-copy.war".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.unit."node-info-copy.war".INSTALL: Failed to process phase INSTALL of deployment "node-info-copy.war"
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:119) [jboss-as-server-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1824) [jboss-msc-1.0.1.GA.jar:1.0.1.GA]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759) [jboss-msc-1.0.1.GA.jar:1.0.1.GA]
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_29]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_29]
at java.lang.Thread.run(Thread.java:680) [:1.6.0_29]
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS018027: Failed to add JBoss Web deployment service
at org.jboss.as.web.deployment.WarDeploymentProcessor.processDeployment(WarDeploymentProcessor.java:277)
at org.jboss.as.web.deployment.WarDeploymentProcessor.deploy(WarDeploymentProcessor.java:106)
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113) [jboss-as-server-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
... 5 more
Caused by: org.jboss.msc.service.DuplicateServiceException: Service jboss.infinispan.web.___defaultcache.registry is already registered
at org.jboss.msc.service.ServiceRegistrationImpl.setInstance(ServiceRegistrationImpl.java:154) [jboss-msc-1.0.1.GA.jar:1.0.1.GA]
at org.jboss.msc.service.ServiceControllerImpl.startInstallation(ServiceControllerImpl.java:226) [jboss-msc-1.0.1.GA.jar:1.0.1.GA]
at org.jboss.msc.service.ServiceContainerImpl.install(ServiceContainerImpl.java:560) [jboss-msc-1.0.1.GA.jar:1.0.1.GA]
at org.jboss.msc.service.ServiceTargetImpl.install(ServiceTargetImpl.java:201) [jboss-msc-1.0.1.GA.jar:1.0.1.GA]
at org.jboss.msc.service.ServiceControllerImpl$ChildServiceTarget.install(ServiceControllerImpl.java:2211) [jboss-msc-1.0.1.GA.jar:1.0.1.GA]
at org.jboss.msc.service.ServiceTargetImpl.install(ServiceTargetImpl.java:201) [jboss-msc-1.0.1.GA.jar:1.0.1.GA]
at org.jboss.msc.service.ServiceControllerImpl$ChildServiceTarget.install(ServiceControllerImpl.java:2211) [jboss-msc-1.0.1.GA.jar:1.0.1.GA]
at org.jboss.msc.service.ServiceBuilderImpl.install(ServiceBuilderImpl.java:307) [jboss-msc-1.0.1.GA.jar:1.0.1.GA]
at org.jboss.as.clustering.web.infinispan.DistributedCacheManagerFactory.addDependencies(DistributedCacheManagerFactory.java:120)
at org.jboss.as.web.deployment.WarDeploymentProcessor.processDeployment(WarDeploymentProcessor.java:252)
... 7 more
I tested with a dead simple application (attached) but any .war that's marked as distributable should exhibit the same problem.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 3 months
[JBoss JIRA] (AS7-3223) Protect against ArrayIndexOutOfBoundsException when calling InetAddress.getLocalHost
by Galder Zamarreño (Created) (JIRA)
Protect against ArrayIndexOutOfBoundsException when calling InetAddress.getLocalHost
------------------------------------------------------------------------------------
Key: AS7-3223
URL: https://issues.jboss.org/browse/AS7-3223
Project: Application Server 7
Issue Type: Bug
Reporter: Galder Zamarreño
Fix For: 7.1.0.Final
Can we please implement the equivalent of JGRP-1404 in AS7?
Otherwise, when you start offline (under some circumstances), you get:
{code}13:40:28,370 ERROR [stderr] java.lang.ArrayIndexOutOfBoundsException: 0
13:40:28,371 ERROR [stderr] at java.net.InetAddress.getLocalHost(InetAddress.java:1356)
13:40:28,371 ERROR [stderr] at org.jboss.as.server.ServerEnvironment.<init>(ServerEnvironment.java:223)
13:40:28,371 ERROR [stderr] at org.jboss.as.server.Main.determineEnvironment(Main.java:219)
13:40:28,371 ERROR [stderr] at org.jboss.as.server.Main.main(Main.java:98)
13:40:28,372 ERROR [stderr] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
13:40:28,372 ERROR [stderr] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
13:40:28,372 ERROR [stderr] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
13:40:28,372 ERROR [stderr] at java.lang.reflect.Method.invoke(Method.java:597)
13:40:28,372 ERROR [stderr] at org.jboss.modules.Module.run(Module.java:272)
13:40:28,373 ERROR [stderr] at org.jboss.modules.Main.main(Main.java:313)
{code}
I tried this with 7.0.2, so the lines might be diff in latest but I see ServerEnvironment still uses it:
https://github.com/galderz/jboss-as/blob/master/server/src/main/java/org/...
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 3 months
[JBoss JIRA] (AS7-2948) Unsupported configuration attributes silently ignored
by Martin Vecera (Created) (JIRA)
Unsupported configuration attributes silently ignored
-----------------------------------------------------
Key: AS7-2948
URL: https://issues.jboss.org/browse/AS7-2948
Project: Application Server 7
Issue Type: Bug
Components: Server
Affects Versions: 7.1.0.Beta1
Reporter: Martin Vecera
Assignee: Jason Greene
When there is an unsupported configuration attribute in standalone.xml, it is silently ignored and deleted from the configuration without a single warning the first time the server writes the configuration back to the disk. Sample piece of configuration (in standalone.xml):
<connection-factory name="RemoteConnectionFactory">
<transaction mode="xa"/>
<connectors>
<connector-ref connector-name="netty"/>
</connectors>
<entries>
<entry name="RemoteConnectionFactory"/>
</entries>
</connection-factory>
Transaction mode is unsupported in an ordinary connection-factory. It must be pooled-connection-factory.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 3 months
[JBoss JIRA] Created: (JBAS-9096) Management only domain mode
by Brian Stansberry (JIRA)
Management only domain mode
---------------------------
Key: JBAS-9096
URL: https://issues.jboss.org/browse/JBAS-9096
Project: JBoss Application Server
Issue Type: Sub-task
Security Level: Public (Everyone can see)
Components: Domain Management
Reporter: Brian Stansberry
Fix For: 7.0.0.Beta4
See parent task for core concept.
With domain mode this is fairly simple. A host controller / domain controller is essentially a "management only" process. So implement this feature should be a simple matter of adding a command line flag that tells the process not to launch servers.
If the host is the master DC, we need to think through what the behavior should be if a remote host tries to register.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 3 months