It seems your configuration is missing "aopalliance-1.0.jar"

Copy it from M2_REPO/aopalliance/aopalliance/1.0/aopalliance-1.0.jar -
C:\Documents and
Settings\rabi\.m2\repository\aopalliance\aopalliance\1.0\aopalliance-1.0
.jar to $SERVICEMIX_HOME/lib and check...


Regards,
Rabi Mishra,
http://rabisblog.blogspot.com/
c++; /* this makes c bigger but returns the old value */ 
-----Original Message-----
From: uniker80 [mailto:[EMAIL PROTECTED] 
Sent: Saturday, June 30, 2007 11:49 AM
To: [email protected]
Subject: EIp XpathSplitter problem...


im trying to test xpathsplliter pattern.

i deploy eip-patthen as follows.

<eip:xpath-splitter service="setest:eip-splitter-service"
endpoint="eip-splitter-endpoint"
                        xpath="/hello/*" namespaceContext="#nsContext">
<eip:target>  <eip:exchange-target
uri="service:http://test/eip-bean-splitter-inonly-bean-service"/>
 </eip:target>
</eip:xpath-splitter>

SplliterInOnlyBean include ..

    public void onMessageExchange(MessageExchange exchange) throws
MessagingException {
        System.out.println("\n\n Received exchange at
SplitterInOnlyBean:
\n\n" + exchange);
        exchange.setStatus(ExchangeStatus.DONE);
        channel.send(exchange);
    }

but i got exceptions..

ERROR - SedaQueue                      -
org.apache.servicemix.jbi.nmr.flow.sed
[EMAIL PROTECTED] got error processing InOnly[
  id: ID:CJHCOM-2204-1183119834500-4:169
  status: Active
  role: provider
  service: {http://test}eip-bean-splitter-inonly-bean-service
  endpoint: eip-bean-splitter-inonly-bean-endpoint
  in: <?xml version="1.0" encoding="UTF-8"?><three/> ]
java.lang.NoClassDefFoundError:
org/aopalliance/intercept/MethodInvocation
        at
org.apache.servicemix.bean.support.BeanInfo.introspect(BeanInfo.java
124)
        at
org.apache.servicemix.bean.support.BeanInfo.introspect(BeanInfo.java
88)
        at
org.apache.servicemix.bean.support.BeanInfo.<init>(BeanInfo.java:61)
        at
org.apache.servicemix.bean.BeanEndpoint.getBeanInfo(BeanEndpoint.jav
:174)
        at
org.apache.servicemix.bean.BeanEndpoint.onProviderExchange(BeanEndpo
nt.java:238)
        at
org.apache.servicemix.bean.BeanEndpoint.process(BeanEndpoint.java:20
)
        at
org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseL
feCycle.java:489)
        at
org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(Asyn
BaseLifeCycle.java:441)
        at
org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLif
Cycle.java:46)
        at
org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBou
d(DeliveryChannelImpl.java:593)
        at
org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFl
w.java:174)
        at
org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.
ava:176)
        at
org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.ja
a:134)
        at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Wo
ker.runTask(ThreadPoolExecutor.java:665)
        at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Wo
ker.run(ThreadPoolExecutor.java:690)
        at java.lang.Thread.run(Thread.java:619)
                              .........
                            ............

what is wrong? maybe i have not understood the splliter.. please help
me.
thanks


  

--
View this message in context:
http://www.nabble.com/EIp-XpathSplitter-problem...-tf4003905s12049.html#
a11371241
Sent from the ServiceMix - User mailing list archive at Nabble.com.



The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should 
check this email and any attachments for the presence of viruses. The company 
accepts no liability for any damage caused by any virus transmitted by this 
email.
 
www.wipro.com

Reply via email to