Thanks for your help. I think I got one step further to a solution. Now
I am having another problem. The deployer complains that the openwire
jar is not in the repository, but it is. I in the same directoy as the
other activemq jars. In the deployment plan refer to it with 
        <dependency>
                <uri>activemq/jars/activemq-openwire-3.2.2.jar</uri>
        </dependency>.

I thought It might need the other jars as well. so i put in dependencies
for the other activemq jars. Stil not working.
    Error: Unable to distribute plan.xml:
    org.apache.geronimo.kernel.repository.MissingDependencyException:
    uri activemq/jars/activemq-core-3.2.1.jar not found in repository

        uri activemq/jars/activemq-core-3.2.1.jar not found in
repository

What am I doing wrong here?

Martin

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On 
> Behalf Of Aaron Mulder
> Sent: Wednesday, January 18, 2006 4:05 PM
> To: [email protected]
> Subject: Re: Classpath issue when activating openwire 
> protocol for ActiveMQ
> 
> Are you adding the connector via the console?  It may be that 
> the console is trying to add the connector to the existing 
> ActiveMQ configuration, which would not work if that does not 
> have the openwire classes on its configuration class path.  
> If that's the case, I think you'd have to write a Geronimo 
> service deployment plan that had the ActiveMQ server as a 
> parent, the openwire JAR as a dependency, and the openwire 
> ActiveMQ connector as a GBean.
> 
> If you want to try this, you can see some sample ActiveMQ 
> connector declarations at the bottom of this plan:
> 
> https://svn.apache.org/repos/asf/geronimo/tags/1.0.0/configs/a
> ctivemq-broker/src/plan/plan.xml
> 
> Thanks,
>     Aaron
> 
> On 1/18/06, Martin Goldhahn <[EMAIL PROTECTED]> wrote:
> > Hi!
> > I added the JAR file containing the openwire classes to the 
> repository 
> > (via the console).
> > But when I try to activate the openwire connector I get a 
> > ClassNotFoundException.
> > Does anybody know how to fix this problem?
> >
> > Martin
> >
> >
> 

Reply via email to