You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by uniker80 <un...@gmail.com> on 2007/06/30 06:13:43 UTC

using annotated beans problem

Please, excuse my poor english.

I need your help for using servicemix-bean annotation..

 I'm testing example beans on SM web site at
http://incubator.apache.org/servicemix/servicemix-bean.html
 ListenerBean, AnnotatedBean, AutodeployedBean, ConsumerBean, PlainBean..

 but i couldn't deploy these beans rightly.
 wheneever i try it , there are many exceptions.

 i.e.
 For AnnotatedBean available at
http://incubator.apache.org/servicemix/dist/servicemix-3.1-incubating/site/deployables/serviceengines/servicemix-bean/xref-test/org/apache/servicemix/bean/beans/AnnotatedBean.html

 java.lang.NoClassDefFoundError: org/aopalliance/intercept/MethodInvocation
         at
org.apache.servicemix.bean.support.BeanInfo.introspect(BeanInfo.java: 122)
                               ...............
                              ...................

 For AutodeployedBean available at
http://incubator.apache.org/servicemix/dist/servicemix-3.1-incubating/site/deployables/serviceengines/servicemix-bean/xref-test/org/apache/servicemix/bean/beans/AutoDeployedBean.html

 javax.jbi.messaging.MessagingException: Could not find route for exchange:
InOut
 [
   id: ID:CJHCOM-2928-1183031373156-6:21
   status: Active
   role: provider
   service: {http://setest.ssu.ac.kr}bean-autodeployedbean-service
   operation: ping
   in: <?xml version="1.0" encoding="UTF-8"?<ping
xmlns:e="http://schemas.xmlsoa
 p.org/soap/envelope/"
       <pingRequest
         <message xmlns="http://soap"hel lo</message
       </pingRequest
     </ping
 ] for service: {http://setest.ssu.ac.kr}bean-autodeployedbean-service and
interf
 ace: null
         at
org.apache.servicemix.jbi.nmr.DefaultBroker.sendExchangePacket(DefaultBroker.java:295)
                               ...............
                              ...................


 if you have some sample SAs or SUs using annotations, they could be best
practices for using beans to me.
 of if you have some guildlines for me, it is very helpful for me too.

 Could please help me?

 if you could, im very appreciated your kindness..
 have a nice day, thanks in advance
-- 
View this message in context: http://www.nabble.com/using-annotated-beans-problem-tf4003592s12049.html#a11370611
Sent from the ServiceMix - User mailing list archive at Nabble.com.