You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by fbertos <fb...@intecna.es> on 2006/05/02 18:55:26 UTC

Beginner

Hi,

Can anyone tell me where can I found a tutorial for ServiceMix?
I want to create a project from zero, where I can create service producers
and consumers.

Thanks.

fbertos.
--
View this message in context: http://www.nabble.com/Beginner-t1539606.html#a4182703
Sent from the ServiceMix - User forum at Nabble.com.


Re: Beginner

Posted by Guillaume Nodet <gn...@gmail.com>.
http://cvs.apache.org/repository/incubator-servicemix/distributions/

Cheers,
Guillaume Nodet

On 5/4/06, fbertos <fb...@intecna.es> wrote:
>
> Ok. I believe I've downloaded an old version of ServiceMix 3.0-Snapshot.
> I downloaded from this url
> http://dist.codehaus.org/org.apache.servicemix/distributions/
> the servicemix-3.0-SNAPSHOT.tar.gz file.
> Can you tell me where can I found a newer version, please?
>
> Thank you very much.
>
> Regards.
> --
> View this message in context: http://www.nabble.com/Beginner-t1539606.html#a4226337
> Sent from the ServiceMix - User forum at Nabble.com.
>
>

Re: Beginner

Posted by fbertos <fb...@intecna.es>.
Ok. I believe I've downloaded an old version of ServiceMix 3.0-Snapshot.
I downloaded from this url
http://dist.codehaus.org/org.apache.servicemix/distributions/
the servicemix-3.0-SNAPSHOT.tar.gz file.
Can you tell me where can I found a newer version, please?

Thank you very much.

Regards.
--
View this message in context: http://www.nabble.com/Beginner-t1539606.html#a4226337
Sent from the ServiceMix - User forum at Nabble.com.


Re: Beginner

Posted by Guillaume Nodet <gn...@gmail.com>.
Maybe your snapshot is too old.
You should try http://cvs.apache.org/repository/incubator-activemq/jars/activemq-core-4.0-RC3.jar

Cheers,
Guillaume Nodet

On 5/4/06, fbertos <fb...@intecna.es> wrote:
>
>
> I've the activemq-4.0-SNAPSHOT.jar in my classpath but this jar file not
> include the org.apache.activemq.spring.BrokerFactoryBean class inside.
> In servicemix 2.0 there was a jar file named activemq-3.2.jar with this
> class.
> Which jar files I've to add?
>
> Thanks
> --
> View this message in context: http://www.nabble.com/Beginner-t1539606.html#a4225076
> Sent from the ServiceMix - User forum at Nabble.com.
>
>

Re: Beginner

Posted by fbertos <fb...@intecna.es>.

I've the activemq-4.0-SNAPSHOT.jar in my classpath but this jar file not
include the org.apache.activemq.spring.BrokerFactoryBean class inside.
In servicemix 2.0 there was a jar file named activemq-3.2.jar with this
class. 
Which jar files I've to add?

Thanks
--
View this message in context: http://www.nabble.com/Beginner-t1539606.html#a4225076
Sent from the ServiceMix - User forum at Nabble.com.


Re: Beginner

Posted by Guillaume Nodet <gn...@gmail.com>.
It seems activemq-core is missing in your classpath.
You may also need activeio-core and derby jars.
I have just tested it, and it works fine for me...

Cheers,
Guillaume Nodet

On 5/4/06, fbertos <fb...@intecna.es> wrote:
>
> Ok, thanks. I've been able to build the war file without errors. But when
> Tomcat starts to deploy the application the following error appears:
>
> org.springframework.beans.factory.BeanDefinitionStoreException: Error
> registering bean with name 'broker' defined in ServletContext resource
> [/WEB-INF/applicationContext.xml]: Bean class
> [org.apache.activemq.spring.BrokerFactoryBean] not found; nested exception
> is java.lang.ClassNotFoundException:
> org.apache.activemq.spring.BrokerFactoryBean
> java.lang.ClassNotFoundException:
> org.apache.activemq.spring.BrokerFactoryBean
>         at
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1352).........
>
> Have you any idea about this?, Have I to add any jar to the web app?
>
> Thanks.
>
> fbertos.
>
>
> --
> View this message in context: http://www.nabble.com/Beginner-t1539606.html#a4224606
> Sent from the ServiceMix - User forum at Nabble.com.
>
>

Re: Beginner

Posted by fbertos <fb...@intecna.es>.
Ok, thanks. I've been able to build the war file without errors. But when
Tomcat starts to deploy the application the following error appears:

org.springframework.beans.factory.BeanDefinitionStoreException: Error
registering bean with name 'broker' defined in ServletContext resource
[/WEB-INF/applicationContext.xml]: Bean class
[org.apache.activemq.spring.BrokerFactoryBean] not found; nested exception
is java.lang.ClassNotFoundException:
org.apache.activemq.spring.BrokerFactoryBean
java.lang.ClassNotFoundException:
org.apache.activemq.spring.BrokerFactoryBean
	at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1352).........

Have you any idea about this?, Have I to add any jar to the web app?

Thanks.

fbertos.


--
View this message in context: http://www.nabble.com/Beginner-t1539606.html#a4224606
Sent from the ServiceMix - User forum at Nabble.com.


Re: Beginner

Posted by Guillaume Nodet <gn...@gmail.com>.
Just disable the tests as they may fail from time to time.
   maven -Dmaven.test.skip=true

Cheers,
Guillaume Nodet

On 5/3/06, fbertos <fb...@intecna.es> wrote:
>
> Ok, thanks.
>
> Can I integrate ServiceMix 3.0-Snapshot with Tomcat?
> I'm using maven 1.0.2 to generate the servicemix-web.war file, but I'm
> getting the following error:
>
> test:test:
>     [junit] Running org.apache.web.jmx.JMXWriterTest
>     [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
>     [junit] [ERROR] TEST org.apache.web.jmx.JMXWriterTest FAILED
>
> BUILD FAILED
> File...... /root/.maven/cache/maven-test-plugin-1.6.2/plugin.jelly
> Element... fail
> Line...... 181
> Column.... 54
> There were test failures.
> Total time: 13 seconds
> Finished at: Wed May 03 10:53:17 CEST 2006
>
>
> Can anyone help me, please?
>
> Thanks
>
> fbertos.
> --
> View this message in context: http://www.nabble.com/Beginner-t1539606.html#a4206540
> Sent from the ServiceMix - User forum at Nabble.com.
>
>

Re: Beginner

Posted by fbertos <fb...@intecna.es>.
Ok, thanks.

Can I integrate ServiceMix 3.0-Snapshot with Tomcat?
I'm using maven 1.0.2 to generate the servicemix-web.war file, but I'm
getting the following error:

test:test:
    [junit] Running org.apache.web.jmx.JMXWriterTest
    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
    [junit] [ERROR] TEST org.apache.web.jmx.JMXWriterTest FAILED

BUILD FAILED
File...... /root/.maven/cache/maven-test-plugin-1.6.2/plugin.jelly
Element... fail
Line...... 181
Column.... 54
There were test failures.
Total time: 13 seconds
Finished at: Wed May 03 10:53:17 CEST 2006


Can anyone help me, please?

Thanks

fbertos.
--
View this message in context: http://www.nabble.com/Beginner-t1539606.html#a4206540
Sent from the ServiceMix - User forum at Nabble.com.


Re: Beginner

Posted by Guillaume Nodet <gn...@gmail.com>.
You can also read the articles referenced from the web site and the
JBI spec, of course (the first sections are really readable).

Guillaume

On 5/2/06, Guillaume Nodet <gn...@gmail.com> wrote:
> Unfortunately, we have no real tutorial (yet).
> You should download the servicemix distribution (3.0-SNAPSHOT) and
> look at the examples inside.
>
> Cheers,
> Guillaume Nodet
>
> On 5/2/06, fbertos <fb...@intecna.es> wrote:
> >
> > Hi,
> >
> > Can anyone tell me where can I found a tutorial for ServiceMix?
> > I want to create a project from zero, where I can create service producers
> > and consumers.
> >
> > Thanks.
> >
> > fbertos.
> > --
> > View this message in context: http://www.nabble.com/Beginner-t1539606.html#a4182703
> > Sent from the ServiceMix - User forum at Nabble.com.
> >
> >
>

Re: Beginner

Posted by Guillaume Nodet <gn...@gmail.com>.
Unfortunately, we have no real tutorial (yet).
You should download the servicemix distribution (3.0-SNAPSHOT) and
look at the examples inside.

Cheers,
Guillaume Nodet

On 5/2/06, fbertos <fb...@intecna.es> wrote:
>
> Hi,
>
> Can anyone tell me where can I found a tutorial for ServiceMix?
> I want to create a project from zero, where I can create service producers
> and consumers.
>
> Thanks.
>
> fbertos.
> --
> View this message in context: http://www.nabble.com/Beginner-t1539606.html#a4182703
> Sent from the ServiceMix - User forum at Nabble.com.
>
>