I have checked the 2.2 snapshot binary package of 03/16/2009, activmq.xml is there. Could you paste the startup log ? I would like to see which modules are started. Thanks !
2009/3/18 Raj Saini <[email protected]> > Hi Ivan, > > Yes, i can start the server. I did it from Maven as well as by installing > the server in a separate folder. In both these cases, activemq.xml files is > not copied. > > Thanks, > > Raj > > > > > ------------------------------ > *From:* Ivan <[email protected]> > *To:* [email protected] > *Sent:* Wednesday, 18 March, 2009 12:06:25 PM > > *Subject:* Re: Configuring ActiveMQ with external file > > Hi, Raj: > Could you start up your build binary Geronimo-tomcat/jetty server > ? If no activemq.xml file in the /var/activemq/conf, the server could not > start up. > I will download a binary 2.2 package from the Apache site to check > it, it seems that the newest one is 03/16/2009. > Thanks ! > Ivan > > 2009/3/18 Raj Saini <[email protected]> > >> Ivan, >> >> I do see these two lines in the pom.xml. However, I do not see the 'Add >> JMS Broker' button in the web console. As I said before, activemq.xml file >> is not copied in var/activemq/conf folder as well. >> >> Thanks, >> >> Raj >> >> >> ------------------------------ >> *From:* Ivan <[email protected]> >> *To:* [email protected] >> *Sent:* Wednesday, 18 March, 2009 11:11:06 AM >> >> *Subject:* Re: Configuring ActiveMQ with external file >> >> Those two lines are in the >> geronimo\plugins\activemq\activemq-broker\pom.xml. >> To add a new borker, open the console, click JMS Server on the left >> navigation tree of your console, then there is a link Add JMS Borker. >> Ivan >> >> >> 2009/3/18 Raj Saini <[email protected]> >> >>> Hi David, >>> >>> I followed the following steps to build the Geronimo from trunk. >>> >>> 1. Checkout the trunk >>> 2. mvn install >>> 3. mvn -Ptools geronimo:start >>> >>> Geronimo started and I see activemq.xml file is not copied in >>> var/activemq/conf folder. Web console also do not provide any editing >>> support. In fact there is no edit link there on running ActiveMQ. >>> >>> I looked into the pom.xm and generated geronimo-plugin.xml and they do >>> have the plugin-artifact as you mentioned in your mail. >>> >>> Further I installed the created binary distribution (in >>> ~/.m2/repository/org/apache/geronimo/assemblies folder) to a separate folder >>> and checked the geronimo-plugin.xml file in >>> ${geronimo.home}/repository/org/apache/geronimo/configs/activemq-broker/2.2-SNAPSHOT/activemq-broker-2.2-SNAPSHOT.car/META-INF >>> folder and I did not find the two plugin-artifact lines to copy the activemq >>> configuration. >>> >>> Did I miss something? >>> >>> Regards, >>> >>> Raj >>> >>> >>> >>> >>> ------------------------------ >>> *From:* David Jencks <[email protected]> >>> *To:* [email protected] >>> *Sent:* Tuesday, 17 March, 2009 9:47:20 PM >>> *Subject:* Re: Configuring ActiveMQ with external file >>> >>> >>> In 2.2 we are using the "native" xbean-spring xml file to configure the >>> activemq broker. By default it's installed into >>> var/activemq/conf/activemq.xml by this info in the >>> pom.xml/geronimo-plugin.xml: >>> >>> <plugin-artifact> >>> <copy-file relative-to="server" >>> dest-dir="var/activemq/conf">activemq.xml</copy-file> >>> <copy-file relative-to="server" >>> dest-dir="var/activemq/template">activemq-template.xml</copy-file> >>> </plugin-artifact> >>> >>> There's also some admin console support for editing this file which I >>> think uses the activemq-template file which is also installed. >>> >>> In any case if you want to deal with editing this file individually on >>> every server you can just change it in place or if you want a more >>> reproducible process you could copy the activemq-broker maven project and >>> build a plugin with your own plan. Use an artifact-alias entry to make your >>> plugin replace ours. >>> >>> hope this answers your question >>> david jencks >>> >>> >>> >>> >>> Regards, >>> >>> Raj >>> >>> >>> >> >> >> -- >> Ivan >> > > > > -- > Ivan > -- Ivan
