bsnyder wrote:
> 
> On Dec 19, 2007 2:34 PM, clymbon <[EMAIL PROTECTED]> wrote:
>>....[your previous posting] suggests making changes to the "root pom.xml
>> for the entire ServiceMix project", replacing the line containing
>> http://svn.apache.org/repos/asf/incubator/servicemix/m2-repo
> 
> ... I hazard a guess that you may only be looking at
> the POMs for the examples, so let's back up a bit. Did you download
> the source code from the Subversion repo or via zip/tarball? Also,
> which version are you using?
> 
> ....What I'm referring to is the ServiceMix root pom.xml
> for the entire ServiceMix project.
> 

Yes, I understand.  But where is this?  I downloaded the tarball,
apache-servicemix-3.2.tar.gz to be precise.  Running:

    tar tzf apache-servicemix-3.2.tar.gz | grep pom.xml

shows that the ONLY pom.xml files are in the examples subdirectory tree. 
That's it!  I have zero experience with Maven, so perhaps I'm missing
something that would be obvious to others...  If we can figure out what it
is, I'll update the user manual wiki for the benefit of others like me.


bsnyder wrote:
> 
> Are you trying to build all of ServiceMix or just some examples? If
> you're just trying to build the examples, there's no need to do
> anything other than changing the incorrect URL in the root POM.
> 

I'm not trying to build it, I'm just trying to use it.  My idea was to start
by running the examples in order to learn how it works. 

By the way, I dowloaded the 3.2.1 tarball and ran the "basic" example,
following the instructions in the users manual.  Got further than before,
but doesn't run.  Got an exception as shown below.

Thanks for the help.

Duncan

[EMAIL PROTECTED] basic]$ mvn jbi:embeddedServicemix
....
.... lots of download messages snipped
....
[INFO] BUILD SUCCESSFUL
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 2 minutes 45 seconds
[INFO] Finished at: Wed Dec 19 22:33:23 EST 2007
[INFO] Final Memory: 16M/30M
[INFO]
------------------------------------------------------------------------
2007-12-19 22:33:23,319 [MQ ShutdownHook] INFO  BrokerService                 
- ActiveMQ Message Broker (localhost,
ID:shag.mitre.org-43721-1198121602135-0:0) is shutting down
2007-12-19 22:33:23,319 [ix ShutdownHook] INFO 
ileSystemXmlApplicationContext - Closing
[EMAIL PROTECTED]:
display name
[EMAIL PROTECTED];
startup date [Wed Dec 19 22:33:20 EST 2007]; root of context hierarchy
2007-12-19 22:33:23,320 [ix ShutdownHook] INFO  DefaultListableBeanFactory    
- Destroying singletons in
[EMAIL PROTECTED]:
defining beans
[jbi,transactionManager,workManager,bootstrapContext,activeMQResourceAdapter,broker,jmsFactory];
root of factory hierarchy
2007-12-19 22:33:23,320 [ix ShutdownHook] INFO  JBIContainer                  
- Shutting down ServiceMix JBI Container (ServiceMix) stopped
2007-12-19 22:33:23,325 [ix ShutdownHook] INFO  JBIContainer                  
- Deactivating component #SubscriptionManager#
2007-12-19 22:33:23,347 [eduler_Worker-6] ERROR JobRunShell                   
- Job ServiceMix.My Example Job threw an unhandled Exception: 
java.lang.NullPointerException
        at
org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue.enqueue(SedaQueue.java:128)
        at
org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.enqueuePacket(SedaFlow.java:182)
        at
org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doSend(SedaFlow.java:162)
        at
org.apache.servicemix.jbi.nmr.flow.AbstractFlow.send(AbstractFlow.java:123)
        at
org.apache.servicemix.jbi.nmr.DefaultBroker.sendExchangePacket(DefaultBroker.java:283)
        at
org.apache.servicemix.jbi.container.JBIContainer.sendExchange(JBIContainer.java:830)
        at
org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.doSend(DeliveryChannelImpl.java:395)
        at
org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.send(DeliveryChannelImpl.java:431)
        at
org.apache.servicemix.components.util.PojoSupport.send(PojoSupport.java:204)
        at
org.apache.servicemix.components.quartz.QuartzComponent.onJobExecute(QuartzComponent.java:125)
        at
org.apache.servicemix.components.quartz.ServiceMixJob.execute(ServiceMixJob.java:34)
        at org.quartz.core.JobRunShell.run(JobRunShell.java:203)
        at
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
2007-12-19 22:33:23,349 [eduler_Worker-6] ERROR ErrorLogger                   
- Job (ServiceMix.My Example Job threw an exception.
org.quartz.SchedulerException: Job threw an unhandled exception. [See nested
exception: java.lang.NullPointerException]
        at org.quartz.core.JobRunShell.run(JobRunShell.java:214)
        at
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
* Nested Exception (Underlying Cause) ---------------
java.lang.NullPointerException
        at
org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue.enqueue(SedaQueue.java:128)
        at
org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.enqueuePacket(SedaFlow.java:182)
        at
org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doSend(SedaFlow.java:162)
        at
org.apache.servicemix.jbi.nmr.flow.AbstractFlow.send(AbstractFlow.java:123)
        at
org.apache.servicemix.jbi.nmr.DefaultBroker.sendExchangePacket(DefaultBroker.java:283)
        at
org.apache.servicemix.jbi.container.JBIContainer.sendExchange(JBIContainer.java:830)
        at
org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.doSend(DeliveryChannelImpl.java:395)
        at
org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.send(DeliveryChannelImpl.java:431)
        at
org.apache.servicemix.components.util.PojoSupport.send(PojoSupport.java:204)
        at
org.apache.servicemix.components.quartz.QuartzComponent.onJobExecute(QuartzComponent.java:125)
        at
org.apache.servicemix.components.quartz.ServiceMixJob.execute(ServiceMixJob.java:34)
        at org.quartz.core.JobRunShell.run(JobRunShell.java:203)
        at
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)

-- 
View this message in context: 
http://www.nabble.com/Build-Dependencies-tp13993587s12049p14430183.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to