qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joey Daughtery <jdaught...@t-sciences.com>
Subject Re: qpid-standalone.xml
Date Thu, 14 Jun 2012 12:44:52 GMT
Weston
Thanks for the support.  When you are ready to look into the dependency
issue just contact me.

Since I was having issues with my ear, I tried to go back to the example
client.  After getting it to build, I execute "ant run-client".  This fails
throws the following exception, but in the jboss console I see:

JBossConsole:
07:41:43,181 INFO  [org.jboss.as.naming] (Remoting "jdaughtery-pc" task-1)
JBAS0
11806: Channel end notification received, closing channel Channel ID
392e8b0f (i
nbound) of Remoting connection 01283922 to /127.0.0.1:49277

ant run-client shows:

     [java] javax.naming.NameNotFoundException: QpidConnectionFactory --
service
 jboss.naming.context.java.jboss.exported.QpidConnectionFactory
     [java]     at
org.jboss.as.naming.ServiceBasedNamingStore.lookup(ServiceBas
edNamingStore.java:97)
     [java]     at
org.jboss.as.naming.NamingContext.lookup(NamingContext.java:1
78)
     [java]     at
org.jboss.naming.remote.protocol.v1.Protocol$1.handleServerMe
ssage(Protocol.java:127)
     [java]     at
org.jboss.naming.remote.protocol.v1.RemoteNamingServerV1$Mess
ageReciever$1.run(RemoteNamingServerV1.java:73)
     [java]     at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Thread
PoolExecutor.java:886)
     [java]     at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPool
Executor.java:908)
     [java]     at java.lang.Thread.run(Thread.java:662)


On Wed, Jun 13, 2012 at 6:41 PM, Weston M. Price <wprice@redhat.com> wrote:

> Hi Joey,
>        Looks like things are ok from the JCA side. What concerns me is
> that you should have not gotten any classpath errors in building. What is
> strange from the stack trace you posted it looks like you may have the
> dependencies reversed in that the RAR seems to be depending on the EAR. I
> will contact you off-list as this is more JBoss7 specific and probably is
> best worked out between us rather than take up space with non Qpid related
> issues.
>
> Regards,
>
> Weston
> On Jun 13, 2012, at 3:37 PM, Joey Daughtery wrote:
>
> > Thanks Weston
> > I updated my qpid-standalone.xml and it started up just fine.  However, I
> > ran into things like the classpath missing the jms packages when I built
> > the examples, but got around that by modifying it to use a specific
> > directory.
> >
> > But then when I attempted to run "ant run-client client", it threw
> > exceptions.  Then I started trying to modifying the build.xml to add my
> > queues which I have been successful in doing.
> >
> > Now I am having trouble with a dependency error when my MDB is being
> > deployed.  I reviewed the example ear file to assure that I have the
> > deployment descriptors in place correctly.
> >
> > JBAS014775:    New missing/unsatisfied dependencies:
> >      service jboss.ra."qpid-ra-0.17" (missing) dependents: [service
> > jboss.deplo
> >
> yment.subunit."iHarvest.ear"."iHarvestEar-ejb.jar".component.ProfileBuilderMDB.C
> > REATE]
> >
> > 14:17:56,158 ERROR [org.jboss.as.server.deployment.scanner]
> > (DeploymentScanner-t
> > hreads - 1) {"JBAS014653: Composite operation failed and was rolled back.
> > Steps
> > that failed:" => {"Operation step-2" => {"JBAS014771: Services with
> > missing/unav
> > ailable dependencies" =>
> > ["jboss.deployment.subunit.\"iHarvest.ear\".\"iHarvestE
> >
> ar-ejb.jar\".component.ProfileBuilderMDB.CREATEjboss.ra.\"qpid-ra-0.17\"Missing[
> >
> jboss.deployment.subunit.\"iHarvest.ear\".\"iHarvestEar-ejb.jar\".component.Prof
> > ileBuilderMDB.CREATEjboss.ra.\"qpid-ra-0.17\"]"]}}}
> > 14:17:56,163 ERROR [org.jboss.as.server.deployment.scanner]
> > (DeploymentScanner-t
> > hreads - 1) JBAS014654: Composite operation was rolled back
> >
> > Thanks
> >
> > Joe
> >
> > On Wed, Jun 13, 2012 at 2:31 PM, Weston M. Price <wprice@redhat.com>
> wrote:
> >
> >> Hi Joe,
> >>       Thanks for catching this, it fell off my radar awhile back.  I
> have
> >> fixed this on trunk so the next time you deploy the config from the
> build
> >> system it should not be an issue.
> >>
> >> Regards,
> >>
> >> Weston
> >> On Jun 12, 2012, at 3:07 PM, Weston M. Price wrote:
> >>
> >>> Hi Joey,
> >>>      Good point, and I forgot to update this in the doc. You need to
> >> remove the Apache licensing comments from the generated file which
> amounts
> >> to everything from line 1-20. I had planned to do this via the build
> >> system, but just haven't gotten around to it. Remove those lines and
> >> restart.
> >>>
> >>> Regards,
> >>>
> >>> Weston
> >>> On Jun 12, 2012, at 2:22 PM, Joey Daughtery wrote:
> >>>
> >>>> All
> >>>> I have downloaded the source from svn and am attempting to deploy
> >>>> qpid-ra-0.17.rar to JBoss 7 on Windows.
> >>>>
> >>>> After generating the qpid-standalone.xml with "ant
> >> -Dtarget.platform=jboss7
> >>>> generate" and deploying to jboss7, I get the following at start.
> >>>>
> >>>> "standalone.bat -c qpid-standalone.xml" results in:
> >>>>
> >>>>
> >>>> C:\jboss-as-7.1.1.Final\bin>standalone.bat -c qpid-standalone.xml
> >>>> Calling "C:\jboss-as-7.1.1.Final\bin\standalone.conf.bat"
> >>>>
> >>
> ===============================================================================
> >>>>
> >>>> JBoss Bootstrap Environment
> >>>>
> >>>> JBOSS_HOME: C:\jboss-as-7.1.1.Final
> >>>>
> >>>> JAVA: C:\Program Files (x86)\Java\jdk1.6.0_25\bin\java
> >>>>
> >>>> JAVA_OPTS: -XX:+TieredCompilation -Dprogram.name=standalone.bat
> -Xms64M
> >>>> -Xmx51
> >>>> 2M -XX:MaxPermSize=256M -Dsun.rmi.dgc.client.gcInterval=3600000 -
> >>>> Dsun.rmi.dgc.se
> >>>> rver.gcInterval=3600000 -Djava.net.preferIPv4Stack=true
> >>>> -Dorg.jboss.resolver.war
> >>>> ning=true -Djboss.modules.system.pkgs=org.jboss.byteman
> >>>> -Djboss.server.default.c
> >>>> onfig=standalone.xml
> >>>> -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend
> >>>> =n
> >>>>
> >>>>
> >>
> ===============================================================================
> >>>>
> >>>> Listening for transport dt_socket at address: 8787
> >>>> 13:20:31,616 INFO  [org.jboss.modules] JBoss Modules version 1.1.1.GA
> >>>> 13:20:31,729 INFO  [org.jboss.msc] JBoss MSC version 1.0.2.GA
> >>>> 13:20:31,765 INFO  [org.jboss.as] JBAS015899: JBoss AS 7.1.1.Final
> >>>> "Brontes" sta
> >>>> rting
> >>>> 13:20:31,985 ERROR [org.jboss.as.server] JBAS015956: Caught exception
> >>>> during boo
> >>>> t:
> >> org.jboss.as.controller.persistence.ConfigurationPersistenceException:
> >>>> JBAS01
> >>>> 4676: Failed to parse configuration
> >>>>      at
> >>>> org.jboss.as.controller.persistence.XmlConfigurationPersister.load(Xm
> >>>> lConfigurationPersister.java:141)
> >>>> [jboss-as-controller-7.1.1.Final.jar:7.1.1.Fin
> >>>> al]
> >>>>      at org.jboss.as.server.ServerService.boot(ServerService.java:266)
> >>>> [jboss
> >>>> -as-server-7.1.1.Final.jar:7.1.1.Final]
> >>>>      at
> >>>> org.jboss.as.controller.AbstractControllerService$1.run(AbstractContr
> >>>> ollerService.java:155)
> [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]
> >>>>      at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_25]
> >>>> Caused by: com.ctc.wstx.exc.WstxParsingException: Illegal processing
> >>>> instruction
> >>>> target ("xml"); xml (case insensitive) is reserved by the specs.
> >>>> at [row,col {unknown-source}]: [21,5]
> >>>>      at
> >>>> com.ctc.wstx.sr.StreamScanner.constructWfcException(StreamScanner.jav
> >>>> a:606)
> >>>>      at
> >>>> com.ctc.wstx.sr.StreamScanner.throwParseError(StreamScanner.java:479)
> >>>>
> >>>>      at
> >>>> com.ctc.wstx.sr.BasicStreamReader.readPIPrimary(BasicStreamReader.jav
> >>>> a:3891)
> >>>>      at
> >>>> com.ctc.wstx.sr.BasicStreamReader.nextFromProlog(BasicStreamReader.ja
> >>>> va:2025)
> >>>>      at
> >>>> com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1102)
> >>>>      at
> >>>> com.ctc.wstx.sr.BasicStreamReader.nextTag(BasicStreamReader.java:1125
> >>>> )
> >>>>      at
> >>>> org.jboss.staxmapper.XMLMapperImpl.parseDocument(XMLMapperImpl.java:6
> >>>> 7) [staxmapper-1.1.0.Final.jar:1.1.0.Final]
> >>>>      at
> >>>> org.jboss.as.controller.persistence.XmlConfigurationPersister.load(Xm
> >>>> lConfigurationPersister.java:133)
> >>>> [jboss-as-controller-7.1.1.Final.jar:7.1.1.Fin
> >>>> al]
> >>>>      ... 3 more
> >>>>
> >>>> 13:20:32,002 FATAL [org.jboss.as.server] JBAS015957: Server boot has
> >> failed
> >>>> in a
> >>>> n unrecoverable manner; exiting. See previous messages for details.
> >>>> 13:20:32,008 INFO  [org.jboss.as] JBAS015950: JBoss AS 7.1.1.Final
> >>>> "Brontes" sto
> >>>> pped in 2ms
> >>>> Press any key to continue . . .
> >>>> C:\jboss-as-7.1.1.Final\bin>
> >>>>
> >>>> Thanks
> >>>>
> >>>> Joe
> >>>
> >>>
> >>> ---------------------------------------------------------------------
> >>> To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
> >>> For additional commands, e-mail: users-help@qpid.apache.org
> >>>
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
> >> For additional commands, e-mail: users-help@qpid.apache.org
> >>
> >>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
> For additional commands, e-mail: users-help@qpid.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message