geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michele La Porta <michele.lapo...@gmail.com>
Subject Re: JMS Message Broker Deployment
Date Wed, 28 Sep 2005 10:23:21 GMT
Geronimo-1.0-M4 comes with org/apache/geronimo/ActiveMQServer
configuration you just need to start that configuration.Like:

java -jar ./bin/deployer.jar --user system --password manager start
 org/apache/geronimo/ActiveMQServer

if you need to change take a look here
http://www-128.ibm.com/developerworks/java/library/os-ag-jmsbeans/


On 9/28/05, saraswathi selvaraj <s_saras81@yahoo.com> wrote:
> Hi,
>
> I tried to deploy the message-broker-plan.xml for Message broker deployment
> using the command:
>
>  java -jar ./bin/deployer.jar --user system --password manager deploy
> message-broker-plan.xml
>
> It's throw an exception:
>
> Error: Unable to distribute message-broker-plan.xml: Syntax error in
>     deployment plan or no deployer service available (currently I can't
>     tell the difference):
>
> planFile=/opt/saraswathi/Geronimo/geronimo-1.0-M4/message-broker-plan.xml
>
>
>
> The message-broker-plan.xml :
>
> <?xml version="1.0"?>
>
> <deployment
> xmlns="http://geronimo.apache.org/xml/ns/deployment"
>  configId="MyMessageBroker">
>
> <dependency>
> <uri>repository/activemq/jars/activemq-core-3.1-M5.jar</uri>
> </dependency>
> <dependency>
> <uri>repository/activemq/jars/activemq-gbean-3.1-M5.jar</uri>
> </dependency>
> <dependency>
>  <uri>repository/activeio/jars/activeio-1.1.jar</uri>
> </dependency>
>
> <!-- Message Broker GBeans -->
> <gbean name="ActiveMQ"
>  class="org.activemq.gbean.ActiveMQContainerGBean">
>  <attribute name="brokerName">
>  possibly-unique-broker
>  </attribute>
>  <reference name="persistenceAdapter">
>  <gbean-name>
> geronimo.server:j2eeType=JMSPersistence,name=ActiveMQ.cache,*
>  </gbean-name>
>  </reference>
> </gbean>
>
> <gbean name="ActiveMQ.cache"
> class="org.activemq.store.cache.SimpleCachePersistenceAdapterGBean">
>  <attribute name="cacheSize">10000</attribute>
>  <reference name="longTermPersistence">
>  <gbean-name>
> geronimo.server:j2eeType=JMSPersistence,name=ActiveMQ.journal,*
>  </gbean-name>
>  </reference>
> </gbean>
>
> <gbean name="ActiveMQ.journal"
> class="org.activemq.store.journal.JournalPersistenceAdapterGBean">
>  <reference name="serverInfo">
>  <module>org/apache/geronimo/System</module>
>  <type>GBean</type>
>  <name>ServerInfo</name>
>  </reference>
>  <attribute
> name="directory">var/activemq/journal</attribute>
>  <attribute name="journalType">default</attribute>
>  <reference name="longTermPersistence">
>  <gbean-name>
> geronimo.server:j2eeType=JMSPersistence,name=ActiveMQ.jdbc,*
>  </gbean-name>
>  </reference>
> </gbean>
>
> <gbean name="ActiveMQ.jdbc"
> class="org.activemq.store.jdbc.JDBCPersistenceAdapterGBean">
>  <reference name="dataSource">
>  <gbean-name>
>  geronimo.server:J2EEApplication=null,J2EEServer=geronimo,
>  JCAResource=org/apache/geronimo/SystemDatabase,
>  j2eeType=JCAManagedConnectionFactory,name=SystemDatasource
>  </gbean-name>
>  </reference>
> </gbean>
>
> <gbean name="ActiveMQ.tcp.localhost.61616"
>  class="org.activemq.gbean.ActiveMQConnectorGBean">
>  <attribute name="url">tcp://localhost:61616</attribute>
>  <reference name="activeMQContainer">
>  <gbean-name>
>  geronimo.server:j2eeType=JMSServer,name=ActiveMQ,*
>  </gbean-name>
>  </reference>
> </gbean>
>
> <gbean name="ActiveMQ.vm.localhost"
>  class="org.activemq.gbean.ActiveMQConnectorGBean">
>  <attribute name="url">vm://localhost</attribute>
>  <reference name="activeMQContainer">
>  <gbean-name>
>  geronimo.server:j2eeType=JMSServer,name=ActiveMQ,*
>  </gbean-name>
>  </reference>
>  </gbean>
>
> </deployment>
>
>
>
> Can anyone provide me a solution for the problem.
>
>
>
> Thanks & Regards,
>
> S.Saraswathi.
>
>
>
>  ________________________________
> Yahoo! for Good
>  Click here to donate to the Hurricane Katrina relief effort.
>
>

Mime
View raw message