<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Ah yes, at the moment you have to specify a manual dependency on the
hornetq-ra module.<br>
<br>
See
<a class="moz-txt-link-freetext" href="https://github.com/wolfc/jboss-as/blob/AS7-579/testsuite/spec/src/test/resources/ejb3/mdb/MANIFEST.MF">https://github.com/wolfc/jboss-as/blob/AS7-579/testsuite/spec/src/test/resources/ejb3/mdb/MANIFEST.MF</a><br>
<br>
Don't know how to specify this in a war, but somebody on the dev
list will...<br>
<br>
Carlo<br>
<br>
On 07/12/2011 11:39 PM, Martin Schwartzman wrote:
<blockquote
cite="mid:B1B624F7C110834B96594065A74F3A5414EA311F@gemini.rsinc.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 12 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        color:black;}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle20
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle21
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle22
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">Carlo,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">I
used the downloaded zip wolfc-jboss-as-f896114.zip from
github. Using it I built</span><span style="color: rgb(31,
73, 125);"> jboss-as-7.1.0.Alpha1-SNAPSHOT. I deployed my
test app and got the following from the standalone/log<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">15:33:30,807
INFO [org.jboss.as.server.deployment] (MSC service thread
1-6) Starting deployment of "jboss-as-helloworld.war"<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">15:33:30,932
INFO [org.jboss.weld] (MSC service thread 1-3) Processing
CDI deployment: jboss-as-helloworld.war<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">15:33:30,978
INFO [org.jboss.weld] (MSC service thread 1-6) Starting
Services for CDI deployment: jboss-as-helloworld.war<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">15:33:30,994
INFO [org.jboss.weld.Version] (MSC service thread 1-6)
WELD-000900 1.1.2 (AS7)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">15:33:31,010
INFO [org.jboss.weld] (MSC service thread 1-7) Starting
weld service<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">15:33:31,010
ERROR [org.jboss.msc.service.fail] (MSC service thread 1-3)
MSC00001: Failed to start service
jboss.deployment.unit."jboss-as-helloworld.war".component.HelloWorldMDB.CREATE:
org.jboss.msc.service.StartException in service
jboss.deployment.unit."jboss-as-helloworld.war".component.HelloWorldMDB.CREATE:
Failed to start service<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1786)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">
at
org.jboss.msc.service.ServiceControllerImpl$ClearTCCLTask.run(ServiceControllerImpl.java:2291)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
[:1.6.0_25]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
[:1.6.0_25]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">
at java.lang.Thread.run(Thread.java:662) [:1.6.0_25]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">Caused
by: java.lang.RuntimeException:
java.lang.ClassNotFoundException:
org.hornetq.ra.inflow.HornetQActivationSpec from [Module
"deployment.jboss-as-helloworld.war:main" from Service
Module Loader]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">
at
org.jboss.as.ejb3.component.EJBUtilities.createActivationSpecs(EJBUtilities.java:84)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">
at
org.jboss.as.ejb3.component.messagedriven.MessageDrivenComponentCreateService.createComponent(MessageDrivenComponentCreateService.java:69)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">
at
org.jboss.as.ee.component.BasicComponentCreateService.start(BasicComponentCreateService.java:78)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1765)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">
... 4 more<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">Caused
by: java.lang.ClassNotFoundException:
org.hornetq.ra.inflow.HornetQActivationSpec from [Module
"deployment.jboss-as-helloworld.war:main" from Service
Module Loader]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">
at
org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:191)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:358)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:330)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">
at
org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:307)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">
at
org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:101)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">
at java.lang.Class.forName0(Native Method) [:1.6.0_25]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">
at java.lang.Class.forName(Class.java:247) [:1.6.0_25]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">
at
org.jboss.as.ejb3.component.EJBUtilities.createActivationSpecs(EJBUtilities.java:68)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">
... 7 more<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">15:33:31,447
INFO [org.jboss.as.server.controller]
(DeploymentScanner-threads - 2) Deployment of
"jboss-as-helloworld.war" was rolled back with failure
message {"Failed services" =>
{"jboss.deployment.unit.\"jboss-as-helloworld.war\".component.HelloWorldMDB.CREATE"
=> "org.jboss.msc.service.StartException in service
jboss.deployment.unit.\"jboss-as-helloworld.war\".component.HelloWorldMDB.CREATE:
Failed to start service"},"Services with missing/unavailable
dependencies" =>
["jboss.naming.context.java.module.jboss-as-helloworld.jboss-as-helloworld.env/wpsCompressQueue.jboss.deployment.unit.\"jboss-as-helloworld.war\".module.jboss-as-helloworld.jboss-as-helloworld.3
missing [
jboss.naming.context.java.module.jboss-as-helloworld.jboss-as-helloworld.env/queue/wpsCompressQueue
]","jboss.naming.context.java.module.jboss-as-helloworld.jboss-as-helloworld.\"env/org.jboss.as.quickstarts.helloworld.HelloWorldServlet/connectionFactory\".jboss.deployment.unit.\"jboss-as-helloworld.war\".module.jboss-as-helloworld.jboss-as-helloworld.2
missing [
jboss.naming.context.java.module.jboss-as-helloworld.jboss-as-helloworld.env/jms/QueueConnectionFactory
]","jboss.deployment.unit.\"jboss-as-helloworld.war\".jndiDependencyService
missing [
jboss.naming.context.java.module.jboss-as-helloworld.jboss-as-helloworld.env/wpsCompressQueue,
jboss.naming.context.java.module.jboss-as-helloworld.jboss-as-helloworld.\"env/org.jboss.as.quickstarts.helloworld.HelloWorldServlet/connectionFactory\"
]","jboss.deployment.unit.\"jboss-as-helloworld.war\".component.\"org.jboss.as.quickstarts.helloworld.HelloWorldServlet\".START
missing [
jboss.naming.context.java.module.jboss-as-helloworld.jboss-as-helloworld.env/wpsCompressQueue,
jboss.naming.context.java.module.jboss-as-helloworld.jboss-as-helloworld.\"env/org.jboss.as.quickstarts.helloworld.HelloWorldServlet/connectionFactory\"
]"]}<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">15:33:31,447
INFO [org.jboss.weld] (MSC service thread 1-6) Stopping
weld service<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">15:33:31,463
INFO [org.jboss.as.server.deployment] (MSC service thread
1-1) Stopped deployment jboss-as-helloworld.war in 25ms<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">15:33:31,478
ERROR [org.jboss.as.deployment] (DeploymentScanner-threads -
1) {"Composite operation failed and was rolled back. Steps
that failed:" => {"Operation step-2" => {"Failed
services" =>
{"jboss.deployment.unit.\"jboss-as-helloworld.war\".component.HelloWorldMDB.CREATE"
=> "org.jboss.msc.service.StartException in service
jboss.deployment.unit.\"jboss-as-helloworld.war\".component.HelloWorldMDB.CREATE:
Failed to start service"},"Services with missing/unavailable
dependencies" =>
["jboss.naming.context.java.module.jboss-as-helloworld.jboss-as-helloworld.env/wpsCompressQueue.jboss.deployment.unit.\"jboss-as-helloworld.war\".module.jboss-as-helloworld.jboss-as-helloworld.3
missing [
jboss.naming.context.java.module.jboss-as-helloworld.jboss-as-helloworld.env/queue/wpsCompressQueue
]","jboss.naming.context.java.module.jboss-as-helloworld.jboss-as-helloworld.\"env/org.jboss.as.quickstarts.helloworld.HelloWorldServlet/connectionFactory\".jboss.deployment.unit.\"jboss-as-helloworld.war\".module.jboss-as-helloworld.jboss-as-helloworld.2
missing [
jboss.naming.context.java.module.jboss-as-helloworld.jboss-as-helloworld.env/jms/QueueConnectionFactory
]","jboss.deployment.unit.\"jboss-as-helloworld.war\".jndiDependencyService
missing [
jboss.naming.context.java.module.jboss-as-helloworld.jboss-as-helloworld.env/wpsCompressQueue,
jboss.naming.context.java.module.jboss-as-helloworld.jboss-as-helloworld.\"env/org.jboss.as.quickstarts.helloworld.HelloWorldServlet/connectionFactory\"
]","jboss.deployment.unit.\"jboss-as-helloworld.war\".component.\"org.jboss.as.quickstarts.helloworld.HelloWorldServlet\".START
missing [
jboss.naming.context.java.module.jboss-as-helloworld.jboss-as-helloworld.env/wpsCompressQueue,
jboss.naming.context.java.module.jboss-as-helloworld.jboss-as-helloworld.\"env/org.jboss.as.quickstarts.helloworld.HelloWorldServlet/connectionFactory\"
]"]}}}<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">Martin<o:p></o:p></span></p>
<br>
</div>
</blockquote>
<br>
</body>
</html>