if you are importing the class Type, the second rules is ok.
If you are not importing it, probably depends on the message that you are sending.
Greetings.

On Mon, Apr 25, 2011 at 8:53 PM, kkelleyjr <karl.kelley.jr@gmail.com> wrote:
An exception is being thrown in the tomcat server... Not really sure if this
is what you are asking or what the exception fully means...

The stack trace is as follows:


Apr 25, 2011 4:52:24 PM org.apache.cxf.phase.PhaseInterceptorChain
doDefaultLogging
WARNING: Interceptor for {http://soap.jax.drools.org/}CommandExecutor has
thrown exception, unwinding now
org.apache.cxf.interceptor.Fault:
org.drools.command.runtime.BatchExecutionCommandImpl cannot be cast to [B
       at
org.apache.camel.component.cxf.CxfConsumer$1.checkFailure(CxfConsumer.java:123)
       at
org.apache.camel.component.cxf.CxfConsumer$1.invoke(CxfConsumer.java:102)
       at
org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:58)
       at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
       at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
       at java.util.concurrent.FutureTask.run(FutureTask.java:138)
       at
org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37)
       at
org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:106)
       at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:243)
       at
org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:110)
       at
org.apache.cxf.transport.servlet.ServletDestination.invoke(ServletDestination.java:98)
       at
org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:423)
       at
org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:178)
       at
org.apache.cxf.transport.servlet.AbstractCXFServlet.invoke(AbstractCXFServlet.java:142)
       at
org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:179)
       at
org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:103)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
       at
org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:159)
       at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
       at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
       at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
       at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
       at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
       at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
       at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
       at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
       at
org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:864)
       at
org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:579)
       at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1665)
       at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.ClassCastException:
org.drools.command.runtime.BatchExecutionCommandImpl cannot be cast to [B
       at
org.drools.jax.soap.PostCxfTransportSoapProcessor.process(PostCxfTransportSoapProcessor.java:38)
       at
org.drools.camel.component.DroolsPolicy$DroolsProcess.process(DroolsPolicy.java:346)
       at
org.apache.camel.impl.converter.AsyncProcessorTypeConverter$ProcessorToAsyncProcessorBridge.process(AsyncProcessorTypeConverter.java:50)
       at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:70)
       at
org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:98)
       at
org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:89)
       at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:70)
       at
org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:98)
       at
org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:89)
       at
org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:99)
       at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:70)
       at
org.apache.camel.processor.RedeliveryErrorHandler.processErrorHandler(RedeliveryErrorHandler.java:290)
       at
org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:202)
       at
org.apache.camel.processor.DefaultChannel.process(DefaultChannel.java:256)
       at
org.apache.camel.processor.UnitOfWorkProcessor.process(UnitOfWorkProcessor.java:99)
       at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:70)
       at
org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:98)
       at
org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:89)
       at
org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:68)
       at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:91)
       at
org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:85)
       at org.apache.camel.component.cxf.CxfConsumer$1.invoke(CxfConsumer.java:97)
       ... 28 more


--
View this message in context: http://drools.46999.n3.nabble.com/Need-help-setting-up-Drools-Server-using-Maven-tp2853035p2863682.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users



--
 - CTO @ http://www.plugtree.com 
 - MyJourney @ http://salaboy.wordpress.com
 - Co-Founder @ http://www.jbug.com.ar
 
 - Salatino "Salaboy" Mauricio -