geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From saraswathi selvaraj <s_sara...@yahoo.com>
Subject JMS Message Broker Deployment
Date Wed, 28 Sep 2005 10:15:03 GMT
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