You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by bgoetzmann <bg...@sophia.symag.com> on 2007/02/28 18:43:36 UTC

Invalid broker URI !

Hello,

Starting ServiceMix 3.1 and the configuration file joined to this message, I
get a strange exception indicating "Invalid broker URI".
It's strange because I don't use ActiveMQ !

I appreciate any help.

Bertrand.
http://www.odelia-technologies.com/


Starting Apache ServiceMix ESB: 3.1-incubating

Loading Apache ServiceMix from file: C:\OE\ServiceMix\etape1\etape1-sm1.xml
INFO  - JBIContainer                   - ServiceMix 3.1-incubating JBI
Container
 (ServiceMix) is starting
INFO  - JBIContainer                   - For help or more informations
please se
e: http://incubator.apache.org/servicemix/
Caught: org.springframework.beans.factory.BeanCreationException: Error
creating
bean with name 'jbi' defined in file
[C:\OE\ServiceMix\etape1\etape1-sm1.xml]: I
nvocation of init method failed; nested exception is
org.springframework.beans.f
actory.BeanCreationException: Error creating bean with name 'jndi' defined
in cl
ass path resource [jndi.xml]: Cannot resolve reference to bean 'jndiEntries'
whi
le setting bean property 'entries'; nested exception is
org.springframework.bean
s.factory.BeanCreationException: Error creating bean with name
'jndiEntries': Ca
nnot create inner bean '(inner bean)' while setting bean property
'sourceMap' wi
th key [java:comp/env/jms/wsnotificationCF]; nested exception is
org.springframe
work.beans.factory.BeanCreationException: Error creating bean with name
'(inner
bean)' defined in class path resource [jndi.xml]: Error setting property
values;
 nested exception is org.springframework.beans.PropertyBatchUpdateException;
nes
ted PropertyAccessExceptions (1) are:
PropertyAccessException 1:
org.springframework.beans.MethodInvocationException:
Property 'brokerURL' threw exception; nested exception is
java.lang.IllegalArgum
entException: Invalid broker URI: ${activemq.url}
org.springframework.beans.factory.BeanCreationException: Error creating bean
wit
h name 'jbi' defined in file [C:\OE\ServiceMix\etape1\etape1-sm1.xml]:
Invocatio
n of init method failed; nested exception is
org.springframework.beans.factory.B
eanCreationException: Error creating bean with name 'jndi' defined in class
path
 resource [jndi.xml]: Cannot resolve reference to bean 'jndiEntries' while
setti
ng bean property 'entries'; nested exception is
org.springframework.beans.factor
y.BeanCreationException: Error creating bean with name 'jndiEntries': Cannot
cre
ate inner bean '(inner bean)' while setting bean property 'sourceMap' with
key [
java:comp/env/jms/wsnotificationCF]; nested exception is
org.springframework.bea
ns.factory.BeanCreationException: Error creating bean with name '(inner
bean)' d
efined in class path resource [jndi.xml]: Error setting property values;
nested
exception is org.springframework.beans.PropertyBatchUpdateException; nested
Prop
ertyAccessExceptions (1) are:
PropertyAccessException 1:
org.springframework.beans.MethodInvocationException:
Property 'brokerURL' threw exception; nested exception is
java.lang.IllegalArgum
entException: Invalid broker URI: ${activemq.url}
Caused by: org.springframework.beans.factory.BeanCreationException: Error
creati
ng bean with name 'jndi' defined in class path resource [jndi.xml]: Cannot
resol
ve reference to bean 'jndiEntries' while setting bean property 'entries';
nested
 exception is org.springframework.beans.factory.BeanCreationException: Error
cre
ating bean with name 'jndiEntries': Cannot create inner bean '(inner bean)'
whil
e setting bean property 'sourceMap' with key
[java:comp/env/jms/wsnotificationCF
]; nested exception is
org.springframework.beans.factory.BeanCreationException:
Error creating bean with name '(inner bean)' defined in class path resource
[jnd
i.xml]: Error setting property values; nested exception is
org.springframework.b
eans.PropertyBatchUpdateException; nested PropertyAccessExceptions (1) are:
PropertyAccessException 1:
org.springframework.beans.MethodInvocationException:
Property 'brokerURL' threw exception; nested exception is
java.lang.IllegalArgum
entException: Invalid broker URI: ${activemq.url}
... http://www.nabble.com/file/6850/etape1-sm1.xml etape1-sm1.xml 
-- 
View this message in context: http://www.nabble.com/Invalid-broker-URI-%21-tf3310581s12049.html#a9208971
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: Invalid broker URI !

Posted by Guillaume Nodet <gn...@gmail.com>.
I think the jndi.xml configuration file setup a JMS connection factory
which cause your problem.  Just remove it from the jndi.xml file.

On 2/28/07, bgoetzmann <bg...@sophia.symag.com> wrote:
>
> Hello,
>
> Starting ServiceMix 3.1 and the configuration file joined to this message, I
> get a strange exception indicating "Invalid broker URI".
> It's strange because I don't use ActiveMQ !
>
> I appreciate any help.
>
> Bertrand.
> http://www.odelia-technologies.com/
>
>
> Starting Apache ServiceMix ESB: 3.1-incubating
>
> Loading Apache ServiceMix from file: C:\OE\ServiceMix\etape1\etape1-sm1.xml
> INFO  - JBIContainer                   - ServiceMix 3.1-incubating JBI
> Container
>  (ServiceMix) is starting
> INFO  - JBIContainer                   - For help or more informations
> please se
> e: http://incubator.apache.org/servicemix/
> Caught: org.springframework.beans.factory.BeanCreationException: Error
> creating
> bean with name 'jbi' defined in file
> [C:\OE\ServiceMix\etape1\etape1-sm1.xml]: I
> nvocation of init method failed; nested exception is
> org.springframework.beans.f
> actory.BeanCreationException: Error creating bean with name 'jndi' defined
> in cl
> ass path resource [jndi.xml]: Cannot resolve reference to bean 'jndiEntries'
> whi
> le setting bean property 'entries'; nested exception is
> org.springframework.bean
> s.factory.BeanCreationException: Error creating bean with name
> 'jndiEntries': Ca
> nnot create inner bean '(inner bean)' while setting bean property
> 'sourceMap' wi
> th key [java:comp/env/jms/wsnotificationCF]; nested exception is
> org.springframe
> work.beans.factory.BeanCreationException: Error creating bean with name
> '(inner
> bean)' defined in class path resource [jndi.xml]: Error setting property
> values;
>  nested exception is org.springframework.beans.PropertyBatchUpdateException;
> nes
> ted PropertyAccessExceptions (1) are:
> PropertyAccessException 1:
> org.springframework.beans.MethodInvocationException:
> Property 'brokerURL' threw exception; nested exception is
> java.lang.IllegalArgum
> entException: Invalid broker URI: ${activemq.url}
> org.springframework.beans.factory.BeanCreationException: Error creating bean
> wit
> h name 'jbi' defined in file [C:\OE\ServiceMix\etape1\etape1-sm1.xml]:
> Invocatio
> n of init method failed; nested exception is
> org.springframework.beans.factory.B
> eanCreationException: Error creating bean with name 'jndi' defined in class
> path
>  resource [jndi.xml]: Cannot resolve reference to bean 'jndiEntries' while
> setti
> ng bean property 'entries'; nested exception is
> org.springframework.beans.factor
> y.BeanCreationException: Error creating bean with name 'jndiEntries': Cannot
> cre
> ate inner bean '(inner bean)' while setting bean property 'sourceMap' with
> key [
> java:comp/env/jms/wsnotificationCF]; nested exception is
> org.springframework.bea
> ns.factory.BeanCreationException: Error creating bean with name '(inner
> bean)' d
> efined in class path resource [jndi.xml]: Error setting property values;
> nested
> exception is org.springframework.beans.PropertyBatchUpdateException; nested
> Prop
> ertyAccessExceptions (1) are:
> PropertyAccessException 1:
> org.springframework.beans.MethodInvocationException:
> Property 'brokerURL' threw exception; nested exception is
> java.lang.IllegalArgum
> entException: Invalid broker URI: ${activemq.url}
> Caused by: org.springframework.beans.factory.BeanCreationException: Error
> creati
> ng bean with name 'jndi' defined in class path resource [jndi.xml]: Cannot
> resol
> ve reference to bean 'jndiEntries' while setting bean property 'entries';
> nested
>  exception is org.springframework.beans.factory.BeanCreationException: Error
> cre
> ating bean with name 'jndiEntries': Cannot create inner bean '(inner bean)'
> whil
> e setting bean property 'sourceMap' with key
> [java:comp/env/jms/wsnotificationCF
> ]; nested exception is
> org.springframework.beans.factory.BeanCreationException:
> Error creating bean with name '(inner bean)' defined in class path resource
> [jnd
> i.xml]: Error setting property values; nested exception is
> org.springframework.b
> eans.PropertyBatchUpdateException; nested PropertyAccessExceptions (1) are:
> PropertyAccessException 1:
> org.springframework.beans.MethodInvocationException:
> Property 'brokerURL' threw exception; nested exception is
> java.lang.IllegalArgum
> entException: Invalid broker URI: ${activemq.url}
> ... http://www.nabble.com/file/6850/etape1-sm1.xml etape1-sm1.xml
> --
> View this message in context: http://www.nabble.com/Invalid-broker-URI-%21-tf3310581s12049.html#a9208971
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>
>


-- 
Cheers,
Guillaume Nodet
------------------------
Architect, LogicBlaze (http://www.logicblaze.com/)
Blog: http://gnodet.blogspot.com/