<!-- 
RSS generated by JIRA (7.13.8#713008-sha1:1606a5c1e7006e1ab135aac81f7a9566b2dbc3a6) at Mon Apr 27 23:41:07 EDT 2020

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>Red Hat Issue Tracker</title>
    <link>https://issues.redhat.com</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>7.13.8</version>
        <build-number>713008</build-number>
        <build-date>13-09-2019</build-date>
    </build-info>


<item>
            <title>[AS7-244] ARQ tests using ArchiveDeployer may hang in deployment API</title>
                <link>https://issues.redhat.com/browse/AS7-244</link>
                <project id="12311211" key="AS7">Application Server 7</project>
                    <description></description>
            <key id="12435259">AS7-244</key>
            <summary>ARQ tests using ArchiveDeployer may hang in deployment API</summary>
                <type id="1" iconUrl="https://issues.redhat.com/secure/viewavatar?size=xsmall&amp;avatarId=13263&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://issues.redhat.com/images/icons/priorities/major.svg">Major</priority>
                        <status id="5" iconUrl="https://issues.redhat.com/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="1">Done</resolution>
                                        <assignee username="thomas.diesler">Thomas Diesler</assignee>
                                    <reporter username="thomas.diesler">Thomas Diesler</reporter>
                        <labels>
                    </labels>
                <created>Wed, 13 Apr 2011 10:25:24 -0400</created>
                <updated>Thu, 21 Apr 2011 13:28:01 -0400</updated>
                            <resolved>Mon, 18 Apr 2011 04:17:44 -0400</resolved>
                                                    <fixVersion>7.0.0.Beta3</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                <comments>
                            <comment id="12595290" author="thomas.diesler" created="Wed, 13 Apr 2011 10:30:00 -0400"  >&lt;p&gt;Now using a timeout like this&lt;/p&gt;

&lt;p&gt;        Future&amp;lt;ServerDeploymentPlanResult&amp;gt; future = deploymentManager.execute(plan);&lt;br/&gt;
        ServerDeploymentPlanResult planResult = future.get(5, TimeUnit.SECONDS);&lt;/p&gt;</comment>
                            <comment id="12595294" author="thomas.diesler" created="Wed, 13 Apr 2011 10:41:46 -0400"  >&lt;p&gt;Run &lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;tdiesler@localhost smoke&amp;#93;&lt;/span&gt;$ mvn -Pmodular-embedded -DskipTests -Dtest=ModuleAccessesBundleServiceTestCase test&lt;/p&gt;

&lt;p&gt;in &lt;a href=&quot;https://github.com/jbosgi/jboss-as/tree/jbas9305&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://github.com/jbosgi/jboss-as/tree/jbas9305&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="12595480" author="brian.stansberry" created="Thu, 14 Apr 2011 00:53:48 -0400"  >&lt;p&gt;I couldn&apos;t reproduce this, but Carlo could. It appears the issue was &lt;a href=&quot;https://issues.redhat.com/browse/AS7-616&quot; title=&quot;JBossAsManagedContainer prematurely thinks the AS is started&quot; class=&quot;issue-link&quot; data-issue-key=&quot;AS7-616&quot;&gt;&lt;del&gt;JBAS-9312&lt;/del&gt;&lt;/a&gt;, with &lt;a href=&quot;https://issues.redhat.com/browse/AS7-298&quot; title=&quot;Mgmt API access hangs for access to slaves when slave goes offline&quot; class=&quot;issue-link&quot; data-issue-key=&quot;AS7-298&quot;&gt;&lt;del&gt;JBAS-9212&lt;/del&gt;&lt;/a&gt; resulting in the failure getting swallowed.&lt;/p&gt;</comment>
                            <comment id="12595520" author="wolfc" created="Thu, 14 Apr 2011 06:15:33 -0400"  >&lt;p&gt;This one is slightly different from &lt;a href=&quot;https://issues.redhat.com/browse/AS7-616&quot; title=&quot;JBossAsManagedContainer prematurely thinks the AS is started&quot; class=&quot;issue-link&quot; data-issue-key=&quot;AS7-616&quot;&gt;&lt;del&gt;JBAS-9312&lt;/del&gt;&lt;/a&gt;. In case of a catastrophic failure no result is returned.&lt;/p&gt;</comment>
                            <comment id="12595524" author="wolfc" created="Thu, 14 Apr 2011 06:28:03 -0400"  >&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;12:11:35,470 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-14) Starting deployment of &quot;test-classes&quot;
12:11:35,589 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC00001: Failed to start service jboss.deployment.unit.test-classes.INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.unit.test-classes.INSTALL: Failed to process phase INSTALL of deployment &quot;test-classes&quot;
	at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:108)
	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1344)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_24]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_24]
	at java.lang.Thread.run(Thread.java:662) [:1.6.0_24]
Caused by: java.lang.NoClassDefFoundError: Ljavax/ejb/SessionContext;
	at java.lang.Class.getDeclaredFields0(Native Method) [:1.6.0_24]
	at java.lang.Class.privateGetDeclaredFields(Class.java:2291) [:1.6.0_24]
	at java.lang.Class.getDeclaredFields(Class.java:1743) [:1.6.0_24]
	at org.jboss.as.server.deployment.reflect.ClassReflectionIndex.&amp;lt;init&amp;gt;(ClassReflectionIndex.java:53)
	at org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex.getClassIndex(DeploymentReflectionIndex.java:65)
	at org.jboss.as.ee.component.AbstractComponentDescription.prepareComponentConfiguration(AbstractComponentDescription.java:392)
	at org.jboss.as.ejb3.component.session.SessionBeanComponentDescription.prepareComponentConfiguration(SessionBeanComponentDescription.java:346)
	at org.jboss.as.ee.component.AbstractComponentDescription.createComponentConfiguration(AbstractComponentDescription.java:363)
	at org.jboss.as.ee.component.ComponentInstallProcessor.deployComponent(ComponentInstallProcessor.java:104)
	at org.jboss.as.ee.component.ComponentInstallProcessor.deploy(ComponentInstallProcessor.java:67)
	at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:102)
	... 4 more
Caused by: java.lang.ClassNotFoundException: javax.ejb.SessionContext from [Module &quot;deployment.test-classes:main&quot; from Service Module Loader]
	at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:179) [jboss-modules-1.0.0.Beta18-SNAPSHOT.jar:1.0.0.Beta18-SNAPSHOT]
	at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:357) [jboss-modules-1.0.0.Beta18-SNAPSHOT.jar:1.0.0.Beta18-SNAPSHOT]
	at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:329) [jboss-modules-1.0.0.Beta18-SNAPSHOT.jar:1.0.0.Beta18-SNAPSHOT]
	at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:306) [jboss-modules-1.0.0.Beta18-SNAPSHOT.jar:1.0.0.Beta18-SNAPSHOT]
	at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:100) [jboss-modules-1.0.0.Beta18-SNAPSHOT.jar:1.0.0.Beta18-SNAPSHOT]
	... 15 more
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;(Don&apos;t read to much in the failure itself, it&apos;s an artificial construct.)&lt;/p&gt;</comment>
                            <comment id="12595718" author="thomas.diesler" created="Thu, 14 Apr 2011 16:29:35 -0400"  >&lt;p&gt;It is probably not &lt;a href=&quot;https://issues.redhat.com/browse/AS7-616&quot; title=&quot;JBossAsManagedContainer prematurely thinks the AS is started&quot; class=&quot;issue-link&quot; data-issue-key=&quot;AS7-616&quot;&gt;&lt;del&gt;JBAS-9312&lt;/del&gt;&lt;/a&gt; because it happens in the middle of a test method execution. So ARQ is up, received the test request, executes the test method. During test method execution the injected ArchiveDeployer is used to install another test module. The test module&apos;s ServiceActivator is called and returns without failure (so the test module deployed and resolved ok). After that the mgmt API does not get notified that the deployment has finished. &lt;/p&gt;</comment>
                            <comment id="12595882" author="brian.stansberry" created="Fri, 15 Apr 2011 10:08:17 -0400"  >&lt;p&gt;Thomas, I can reproduce this now. Carlo&apos;s divine spells lib (&lt;a href=&quot;https://github.com/wolfc/jboss-as-divine-spells&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://github.com/wolfc/jboss-as-divine-spells&lt;/a&gt;) shows the issue:&lt;/p&gt;

&lt;p&gt;pingguo:target bstansberry$ java -jar jboss-as-divine-spells.jar 16114&lt;br/&gt;
jboss.osgi.example.invoker.service -&amp;gt;  jbosgi.systemcontext (**&lt;b&gt;MISSING&lt;/b&gt;**)&lt;/p&gt;

&lt;p&gt;A missing dependency, resulting in the asynch processing of the deployment not making the necessary callback to the management layer to inform it of the result. This is what David Lloyd is working on for &lt;a href=&quot;https://issues.redhat.com/browse/AS7-527&quot; title=&quot;Provide more comprehensive error messages for missing dependencies&quot; class=&quot;issue-link&quot; data-issue-key=&quot;AS7-527&quot;&gt;&lt;del&gt;JBAS-9010&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Carlo, your stack above is another manifestation of the same general problem &amp;#8211; a problem with one of the many services associated with a deployment results in the callback not happening. I&apos;ll check with David whether he thinks his &lt;a href=&quot;https://issues.redhat.com/browse/AS7-527&quot; title=&quot;Provide more comprehensive error messages for missing dependencies&quot; class=&quot;issue-link&quot; data-issue-key=&quot;AS7-527&quot;&gt;&lt;del&gt;JBAS-9010&lt;/del&gt;&lt;/a&gt; work will deal with this kind of case as well. I believe its scope is more than just missing dependencies; it&apos;s also meant to deal with service failures.&lt;/p&gt;</comment>
                            <comment id="12595885" author="brian.stansberry" created="Fri, 15 Apr 2011 10:13:24 -0400"  >&lt;p&gt;Brian Stansberry 9:11 AM&lt;br/&gt;
carlo on &lt;a href=&quot;https://issues.jboss.org/browse/JBAS-9305&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://issues.jboss.org/browse/JBAS-9305&lt;/a&gt; has pasted a stack where a failure in start() results in the ResultHandler for a deployment op not getting called&lt;br/&gt;
my impression is your 9010 stuff is dealing with failed services as well as missing deps&lt;br/&gt;
David M. Lloyd 9:11 AM &lt;br/&gt;
yes&lt;/p&gt;</comment>
                            <comment id="12596082" author="thomas.diesler" created="Mon, 18 Apr 2011 04:17:44 -0400"  >&lt;p&gt;Fixed missing dependency&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="12310001">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="12435302">AS7-616</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="12434407">AS7-298</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="12434473">SHRINKWRAP-269</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="12342596" name="JBAS-9305-threaddump-after-NCDFE.txt" size="34944" author="wolfc" created="Thu, 14 Apr 2011 06:26:33 -0400"/>
                            <attachment id="12342561" name="threaddump.txt" size="12885" author="thomas.diesler" created="Wed, 13 Apr 2011 10:41:46 -0400"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_12313640" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of First Comment</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 14 Apr 2011 00:53:48 -0400</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_12314740" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_12310641" key="com.atlassian.jira.toolkit:attachments">
                        <customfieldname>Number of attachments</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_12310640" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname>Number of comments</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_12311940" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hy6p7z:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_12310840" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>28365</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_12313440" key="com.redhat.engineering.step.step-sfdc-plugin:sfdc_cases_counter">
                        <customfieldname>SFDC Cases Counter</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_12313441" key="com.redhat.engineering.step.step-sfdc-plugin:sfdc_cases">
                        <customfieldname>SFDC Cases Links</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_12313641" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time in Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                        </customfields>
    </item>
</channel>
</rss>