Thank you both so much!! It turns out to be ActiveMQ dependency problem. My
previous MVN dependency that causes problem is:
<dependency>
<groupId>org.apache.activemq</groupId>
<artifactId>apache-activemq</artifactId>
<version>4.1.1</version>
</dependency>
After I change to
<dependency>
<groupId>org.apache.activemq</groupId>
<artifactId>activemq-core</artifactId>
<version>4.1.1</version>
</dependency>
It works fine now. I don't know why apache-activemq doesn't work though.
Thank you!!
bsnyder wrote:
>
> On 7/5/07, smilingsky <[EMAIL PROTECTED]> wrote:
>>
>> Thanks a lot for your reply. But it still gives me the same error message
>> when it executes "connection.start()". The connection is like:
>>
>> ActiveMQConnection
>> {id=ID:LAF-PC12880-1648-1183679501304-1:0,clientId=null,started=false}
>>
>> Any possible other reasons? Thank you very much!!
>
> Since I don't have your complete code, I can't really look much
> further. I suggest comparing your code to this simple JMS producer
> that is part of the ActiveMQ distribution:
>
> http://svn.apache.org/viewvc/activemq/trunk/assembly/src/release/example/src/ProducerTool.java?view=markup
>
> Also, against what version of ActiveMQ are you building? And what jars
> are you including in the classpath?
>
> Bruce
> --
> perl -e 'print
> unpack("u30","D0G)[EMAIL PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
> );'
>
> Apache Geronimo - http://geronimo.apache.org/
> Apache ActiveMQ - http://activemq.org/
> Apache ServiceMix - http://servicemix.org/
> Castor - http://castor.org/
>
>
--
View this message in context:
http://www.nabble.com/JMS-Binding-Problem-tf4032760s12049.html#a11459061
Sent from the ServiceMix - User mailing list archive at Nabble.com.