Hello,

I swith from ServiceMix's 3.0 version to 3.1 version, and test my examples
that work on 3.0 version.
Theses exemples use a servicemix.xml configuration file.

For one of them, I get an exception at run-time saying that
...http.HttpConnector class is missing.
I succed to eliminate this exception by copying
<sm_install>/components/lib/servicemix-components-3.1-incubating.jar to
<sm_install>/lib.

But I another exception saying org.mortbay.jetty.Handler class is not found.
It seems it misses a jetty*.jar.

So what are the dependencies between
servicemix-components-3.1-incubating.jar with other libraries ? How can I
know what librairies I must have to copy in the lib folder ?

Thank you for any help.

Bertrand Goetzmann
http://www.odelia-technologies.com/

PS :

Here my configuration file :

<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns:sm="http://servicemix.apache.org/config/1.0";
xmlns:test="http://servicemix.org/test/";>
        <!-- Le conteneur JBI -->
        <sm:container id="jbi">
                
                <sm:activationSpecs>
                                        
                        <sm:activationSpec componentName="httpReceiver" 
service="httpBinding"
destinationService="test:ServiceTest">
                                <sm:component>
                                        <bean 
class="org.apache.servicemix.components.http.HttpConnector">
                                        <property name="host" 
value="localhost"/>
                                        <property name="port" value="8912"/>
                                        </bean>
                                </sm:component>
                        </sm:activationSpec>            
                
                        <sm:activationSpec componentName="ServiceTest"
service="test:ServiceTest">
                                <sm:component>
                                        <bean 
class="org.apache.servicemix.components.groovy.GroovyComponent">
                                                <property name="scriptText">
                                                        <value>
                                                                <![CDATA[       
                                                                        def msg 
= "Salut tout le monde !"
                                                                        println 
msg
                                                                        
outMessage.bodyText ="<message>" + msg + "</message>"
                                                ]]>
                                        </value>
                                                </property>
                                        </bean>
                                </sm:component>
                        </sm:activationSpec>
                                                                        
                </sm:activationSpecs>
        </sm:container>
        
</beans>

-- 
View this message in context: 
http://www.nabble.com/Jetty-librairy-missing---tf3308238s12049.html#a9202189
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to