Failed to generate jbi.xml for servicemix-jms
mta38 Aug 8, 2008 5:59 AM<!--[if gte mso 9]><xml>
</xml><![endif]><![if gte mso 9]><![endif]><![if gte mso 9]>
Hi all,
I want to create a consumer jms with
Fuse-ESB. I try to use a jndi template or a direct jndi look-up but the result is the same.
Here is my code
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns:jms="http://servicemix.apache.org/jms/1.0"
xmlns:jee="http://www.springframework.org/schema/jee"
xmlns:moo="http://mycompany.fr/esb/momoo">
<!--
<bean
id="MyJndiTemplate"
class="org.springframework.jndi.JndiTemplate">
<property
name="environment">
<props>
<prop
key="java.naming.factory.initial">
fr.dyade.aaa.jndi2.client.NamingContextFactory
</prop>
<prop
key="java.naming.provider.url">
scn://localhost:16400
</prop>
<prop
key="java.naming.security.principal">
anonymous
</prop>
<prop
key="java.naming.security.credentials">
anonymous
</prop>
</props>
</property>
</bean>
<bean
id="connectionFactory"
class="org.springframework.jndi.JndiObjectFactoryBean">
<property
name="jndiTemplate" ref="MyJndiTemplate" />
<property
name="jndiName">
<value>QCF</value>
</property>
</bean>
-->
<jee:jndi-lookup
id="connectionFactory" jndi-name="QCF">
<jee:environment>
java.naming.factory.initial=fr.dyade.aaa.jndi2.client.NamingContextFactory
java.naming.provider.url=scn://localhost:16400
</jee:environment>
</jee:jndi-lookup>
<jms:endpoint
service="moo:momooConsumerServiceCli"
destinationStyle="queue"
jmsProviderDestinationName="cliDestIn"
endpoint="moo:momooConsumerCli"
role="consumer"
targetService="moo:momooProviderServiceSvr"
defaultMep="http://www.w3.org/2004/08/wsdl/in-only"
connectionFactory="#connectionFactory" />
<jms:endpoint
service="moo:momooConsumerServiceSvr"
destinationStyle="queue"
jmsProviderDestinationName="svrDestOut"
endpoint="moo:momooConsumerSvr"
role="consumer"
targetService="moo:momooProviderServiceCli"
defaultMep="http://www.w3.org/2004/08/wsdl/in-only"
connectionFactory="#connectionFactory"
/>
</beans>
But when I run the "mvn install"
command I have the following
settings.getPluginGroups().size() = 0
-
-
org.apache.maven.plugins:maven-resources-plugin: checking for updates from
open.iona.m2
org.apache.maven.plugins:maven-resources-plugin: checking for updates from
central
org.apache.maven.plugins:maven-compiler-plugin: checking for updates from
open.iona.m2
org.apache.maven.plugins:maven-compiler-plugin: checking for updates from
central
artifact org.apache.maven.plugins:maven-surefire-plugin:
checking for updates from open.iona.m2
org.apache.maven.plugins:maven-surefire-plugin: checking for updates from
central
org.apache.maven.plugins:maven-jar-plugin: checking for updates from
open.iona.m2
org.apache.maven.plugins:maven-jar-plugin: checking for updates from central
org.apache.maven.plugins:maven-install-plugin: checking for updates from
open.iona.m2
org.apache.maven.plugins:maven-install-plugin: checking for updates from
central
Using default encoding to copy filtered
resources.
Unable to get resource from repository
open.iona.m2 (http://repo.open.iona.com/maven2)
Unable to get resource from repository central
(http://repo1.maven.org/maven2)
Unable to get resource from repository
open.iona.m2 (http://repo.open.iona.com/maven2)
Unable to get resource from repository central
(http://repo1.maven.org/maven2)
Unable to get resource from repository
open.iona.m2 (http://repo.open.iona.com/maven2)
Unable to get resource from repository central
(http://repo1.maven.org/maven2)
Unable to get resource from repository open.iona.m2
(http://repo.open.iona.com/maven2)
Unable to get resource from repository central
(http://repo1.maven.org/maven2)
jbi:generate-jbi-service-unit-descriptor
Service Unit Analyzer
org.apache.servicemix.jms.packaging.JmsServiceUnitAnalyzer@d1ad08
2008-08-08
11:39:06,580 INFO ileSystemXmlApplicationContext - Refreshing
org.apache.xbean.spring.context.FileSystemXmlApplicationContext@a60191: display
startup date ; root of context hierarchy
2008-08-08
11:39:06,736 INFO XBeanXmlBeanDefinitionReader - Loading XML bean definitions from URL
file:/E:/EclipseSMX/SU_JMS/monProjet/src/main/resources/xbean.xml
to generate jbi.xml: org.apache.servicemix.maven.plugin.jbi.JbiPluginException:
Unable to generate service unit descriptor! Unable to generate service unit
descriptor!
Using default encoding to copy filtered
resources.
jar: E:\EclipseSMX\SU_JMS\monProjet\target\monProjet-1.0-SNAPSHOT.jar
jbi:jbi-service-unit
org.springframework:spring-beans:jar:2.0.6:compile
aopalliance:aopalliance:jar:1.0:compile
org.springframework:spring-dao:jar:2.0.6:compile
commons-logging:commons-logging:jar:1.0.4:compile
org.apache.geronimo.specs:geronimo-ejb_2.1_spec:jar:1.1:compile
org.apache.geronimo.modules:geronimo-connector:jar:1.2-beta:compile
Resolving wss4j:wss4j:jar:1.5.1:compile
org.apache.woden:woden:jar:1.0.0M6:compile
Resolving commons-dbcp:commons-dbcp:jar:1.2:runtime
org.springframework:spring-context:jar:2.0.6:compile
commons-collections:commons-collections:jar:3.1:compile
org.apache.geronimo.specs:geronimo-jta_1.0.1B_spec:jar:1.0.1:compile
Resolving bouncycastle:bcprov-jdk14:jar:136:compile
Resolving xml-security:xmlsec:jar:1.3.0:compile
org.apache.ws.commons.schema:XmlSchema:jar:1.2:compile
Resolving regexp:regexp:jar:1.3:compile
Resolving org.apache.servicemix:servicemix-soap2:jar:3.3.0.9-fuse:compile
backport-util-concurrent:backport-util-concurrent:jar:2.2:compile
Resolving org.jencks:jencks:jar:2.0:compile
org.apache.geronimo.specs:geronimo-jms_1.1_spec:jar:1.0:compile
org.apache.servicemix:servicemix-soap:jar:3.3.0.9-fuse:compile
org.apache.geronimo.modules:geronimo-transaction:jar:1.2-beta:compile
org.apache.servicemix:servicemix-shared:jar:3.3.0.9-fuse:compile
org.apache.servicemix:servicemix-common:jar:3.3.0.9-fuse:compile
org.springframework:spring-support:jar:2.0.6:compile
org.springframework:spring-core:jar:2.0.6:compile
Resolving wsdl4j:wsdl4j:jar:1.6.1:compile
Resolving org.opensaml:opensaml:jar:1.1:compile
org.apache.servicemix:servicemix-jms:jar:3.3.0.9-fuse:compile
org.objectweb.howl:howl:jar:1.0.1-1:compile
org.apache.geronimo.specs:geronimo-j2ee-connector_1.5_spec:jar:1.0.1:compile
org.springframework:spring-jms:jar:2.0.6:compile
commons-pool:commons-pool:jar:1.2:compile
service unit E:\EclipseSMX\SU_JMS\monProjet\target\monProjet-1.0-SNAPSHOT.zip
jar: E:\EclipseSMX\SU_JMS\monProjet\target\monProjet-1.0-SNAPSHOT.zip
E:\EclipseSMX\SU_JMS\monProjet\target\monProjet-1.0-SNAPSHOT.jar to C:\Documents
and
Settings\HFDL7743\.m2\repository\com\mycompany\monProjet\1.0-SNAPSHOT\monProjet-1.0-SNAPSHOT.jar
E:\EclipseSMX\SU_JMS\monProjet\target\monProjet-1.0-SNAPSHOT.zip to
C:\Documents and Settings\HFDL7743\.m2\repository\com\mycompany\monProjet\1.0-SNAPSHOT\monProjet-1.0-SNAPSHOT.zip
-
-
Finished at: Fri Aug 08 11:39:09 CEST 2008
-
-
-
Finished at: Fri Aug 08 11:39:09 CEST 2008
Seems build successful but the jbi.xml
descriptor is not generated X-(.
Help are welcome,
Thanks in advance.
Best Regards,