Guillaume,
I added some jars in the parent calssloader of sm-jms component to make
it installation successfull :
stax-api-1.0.jar
xbean-server-2.2.jar
xstream-1.1.2.jar
Now I can send a message to the queue I defined through my SU, it calls
my BPEL SE and the response is processing but I get the following
exception, have you got any idea ?
Perhaps it is linked to my xstream jar ?
I tried with xtream 1.1.2 and 1.1.3
The use of soap marshaller is new from this afternoon I guess ?
Thanks for your help,
Charles
2006-03-22 17:36:41,866 : BaseLifeCycle$2.run : Error processing
exchange [EMAIL PROTECTED]
javax.xml.stream.FactoryConfigurationError: Provider
com.bea.xml.stream.XMLOutputFactoryBase not found
at javax.xml.stream.FactoryFinder.newInstance(FactoryFinder.java:72)
at javax.xml.stream.FactoryFinder.find(FactoryFinder.java:176)
at javax.xml.stream.FactoryFinder.find(FactoryFinder.java:92)
at
javax.xml.stream.XMLOutputFactory.newInstance(XMLOutputFactory.java:98)
at
org.apache.servicemix.soap.marshalers.SoapMarshaler.getOutputFactory(SoapMarshaler.java:66)
at
org.apache.servicemix.soap.marshalers.SoapWriter.writeSimpleMessage(SoapWriter.java:88)
at
org.apache.servicemix.soap.marshalers.SoapWriter.write(SoapWriter.java:74)
at
org.apache.servicemix.jms.MultiplexingConsumerProcessor.process(MultiplexingConsumerProcessor.java:222)
at
org.apache.servicemix.common.BaseLifeCycle.processExchange(BaseLifeCycle.java:380)
at
org.apache.servicemix.common.BaseLifeCycle$2.run(BaseLifeCycle.java:240)
at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
2006-03-22 17:36:41,867 : BaseLifeCycle$2.run : Error setting exchange
status to ERROR
java.lang.IllegalStateException: component is not owner
at
org.apache.servicemix.jbi.messaging.MessageExchangeImpl.setError(MessageExchangeImpl.java:193)
at
org.apache.servicemix.common.BaseLifeCycle$2.run(BaseLifeCycle.java:248)
at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
Guillaume Nodet wrote:
I have fixed the build for maven.
For the servicemix-web, I suppose that you are trying to use a
component with xbean deployment inside the webapp using lightweight
configuration ? The servicemix container
itself does not depend on xbean-server. The main problem is that each
component will have different needs and we can not include all jars in
the sample webapp.
Jars dependencies are a problem currently because components (like
servicemix-http, -jms, ...) do rely on the fact that some jars are in
the parent classloader. This is not a good option and I'd like to
move all needed dependencies inside a shared library or directly
inside components.
Cheers,
Guillaume Nodet
On 3/22/06, Charles Souillard <[EMAIL PROTECTED]> wrote:
Hi,
I am havin troubles when compiling the latest svn head today 2 PM
/serviceMix/trunk/servicemix-jms/src/main/java/org/apache/servicemix/jms/MultiplexingProviderProcessor.java:135:
cannot access javax.mail.internet.MimeMessage
file javax/mail/internet/MimeMessage.class not found
SoapMessage soap =
soapMarshaler.createReader().read(is, contentType);
Any idea ?
I think, a dependency should be added to SM-jms project...
In addition, before updating my SM source code, I had the following
problem :
I am having troubles when deploying the SM webapp in my app server.
I get a NoClassDefFoundError: org/apache/xbean/server/repository/Repository
This class is in xbean-server jar
I think the problem is that there is a missing dependency in
servicemix-assembly/src/main/release/examples/servicemix-web/project.xml
the following lines should be added :
<dependency>
<groupId>org.apache.xbean</groupId>
<artifactId>xbean-server</artifactId>
<version>${xbean_version}</version>
<url>http://www.xbean.org</url>
<properties>
<war.bundle>true</war.bundle>
</properties>
</dependency>
If it is right, can you commit it ?
Thanks,
Charles