[JBoss JIRA] (AS7-2673) CLI shutdown * operation (kills domain controller first, beheads host controllers)
by mark yarborough (Created) (JIRA)
CLI shutdown * operation (kills domain controller first, beheads host controllers)
----------------------------------------------------------------------------------
Key: AS7-2673
URL: https://issues.jboss.org/browse/AS7-2673
Project: Application Server 7
Issue Type: Bug
Components: CLI
Affects Versions: 7.1.0.Alpha1
Reporter: mark yarborough
Assignee: Alexey Loubyansky
Priority: Trivial
>From the CLI with a domain controller and two host controllers running, using wildcard command intended to shut down everything:
[domain@localhost:9999 host] cd ..
[domain@localhost:9999 /] ls host
host2-9 host3 master
[domain@localhost:9999 /] ./host=*:shutdown
{"outcome" => "success"}
[domain@localhost:9999 /] ls
[domain@localhost:9999 /]
Success is reported, and we're no longer connected to a domain controller. A follow up check reveals that the domain controller (host=master) was shutdown, but the host controllers (host2-9 and host3) are still up and now searching for the missing domain controller:
<snippet from host3 console>
[Host Controller] 20:47:07,351 WARN [org.jboss.as.domain.controller] (Thread-14) Could not connect to remote domain controller 127.0.0.1:9999
[Host Controller] 20:47:22,357 WARN [org.jboss.as.domain.controller] (Thread-14) Could not connect to remote domain controller 127.0.0.1:9999
[Host Controller] 20:47:37,364 WARN [org.jboss.as.domain.controller] (Thread-14) Could not connect to remote domain controller 127.0.0.1:9999
[Host Controller] 20:47:52,370 WARN [org.jboss.as.domain.controller] (Thread-14) Could not connect to remote domain controller 127.0.0.1:9999
It appears that the DC was shutdown first, so no communication path the HCs, so they were not shutdown. Perhaps the wildcard should be disallowed for the shutdown operation, or intelligence added to shutdown the DC last... Just wanted to let you know.
Running something called jboss-as-7.1.0.Alpha2-SNAPSHOT downloaded by Rich Raposa for a GLS class around 10-Nov-2011. I chose "Affects Version" because that was the closest on the list...
--
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: (AS7-1753) Intermittent failure in CompositeOperationHandlerUnitTestCase testRestartRequired
by Brian Stansberry (JIRA)
Intermittent failure in CompositeOperationHandlerUnitTestCase testRestartRequired
---------------------------------------------------------------------------------
Key: AS7-1753
URL: https://issues.jboss.org/browse/AS7-1753
Project: Application Server 7
Issue Type: Bug
Components: Domain Management
Reporter: Brian Stansberry
Assignee: Brian Stansberry
Fix For: 7.1.0.Alpha1
This pops up occasionally
<testcase time="0.203" classname="org.jboss.as.controller.CompositeOperationHandlerUnitTestCase" name="testRestartRequired">
<failure message="expected:<[restart-requir]ed> but was:<[undefin]ed>" type="org.junit.ComparisonFailure">org.junit.ComparisonFailure: expected:<[restart-requir]ed> but was:<[undefin]ed>
at org.junit.Assert.assertEquals(Assert.java:123)
at org.junit.Assert.assertEquals(Assert.java:145)
at org.jboss.as.controller.CompositeOperationHandlerUnitTestCase.testRestartRequired(CompositeOperationHandlerUnitTestCase.java:496)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
at org.junit.runners.BlockJUnit4ClassRunner.runNotIgnored(BlockJUnit4ClassRunner.java:79)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:71)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:123)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:104)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:172)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:104)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:70)
</failure>
<system-out>========= New Test
{
"outcome" => "success",
"result" => {
"step-1" => {
"outcome" => "success",
"result" => 1,
"response-headers" => {
"runtime-update-skipped" => true,
"operation-requires-restart" => true
}
},
"step-2" => {
"outcome" => "success",
"result" => 2
}
}
}
======================
</system-out>
</testcase>
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 3 months
[JBoss JIRA] Created: (EJBTHREE-880) Hard-coded localhost in ejb3 test suite
by Aleksandar Kostadinov (JIRA)
Hard-coded localhost in ejb3 test suite
---------------------------------------
Key: EJBTHREE-880
URL: http://jira.jboss.com/jira/browse/EJBTHREE-880
Project: EJB 3.0
Issue Type: Bug
Reporter: Aleksandar Kostadinov
When the ejb3 testsuite is run with "-Dnode0=IP1 -Dnode1=IP2" and IP1!=localhost there are some tests failing with "Retries exceeded, couldn't reconnect to 127.0.0.1:####". I see this for 4_0 and 4_2 jboss branches, but guess it's the same with head.
One of the testcases is IiopRemoteUnitTestCase. I've checked ejb3/src/test/org/jboss/ejb3/test/iiop/unit/IiopRemoteUnitTestCase.java and there is 'props.put("java.naming.provider.url", "corbaloc::localhost:3528/NameService");'. Instead of localhost there should be used the node0 property. I guess the others have the same problem.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 3 months
[JBoss JIRA] Created: (JBAS-9259) Provide an option to change the code source used by deployments
by David Lloyd (JIRA)
Provide an option to change the code source used by deployments
---------------------------------------------------------------
Key: JBAS-9259
URL: https://issues.jboss.org/browse/JBAS-9259
Project: JBoss Application Server
Issue Type: Enhancement
Security Level: Public (Everyone can see)
Components: Modules / Class-loading, VFS
Reporter: David Lloyd
Priority: Minor
Fix For: 7.0.0.CR1
For most use cases, using the VFS URL for the code source is best. However in certain cases the code source is expected to correspond to a physical filesystem location, possibly even a valid JAR URL.
So there should be an option in jboss-deployment-structure.xml to allow the code source to be changed to be the URL of the physical location of the VFS mount point instead of the VFS root URL. This option would default to "off", meaning use the VFS URL.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 3 months