I have created this below application deploy plan...that deploy well in
localhost but remotedly I obtain this exception:

Uploading 1 file(s) to server
 File upload complete (Server status=OK)
 File(s) transferred to server.  Resuming deployment operation.
 Error: Unable to distribute JmsResources.xml: Plan file does not
 exist: D:\geronimo-tomcat6-jee5-2.0.2\var\temp\JmsResources.xml

 org.apache.geronimo.common.DeploymentException: Plan file does not
 exist: D:\geronimo-tomcat6-jee5-2.0.2\var\temp\JmsResources.xml

The command is this:

java -jar %GERONIMO_HOME%/bin/deployer.jar --host tpascualw2k --user system
--password manager  --verbose deploy JmsResources.xml 


Do you know if remote deploy works well in geronimo 2.0.2?



<?xml version="1.0" encoding="UTF-8"?>
<application xmlns="http://geronimo.apache.org/xml/ns/j2ee/application-2.0";>
    <dep:environment
xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.2";>
        <dep:moduleId>
                <dep:groupId>console.jms</dep:groupId>
                <dep:artifactId>jmsResources</dep:artifactId>
                <dep:version>1.0</dep:version>
        <dep:type>rar</dep:type>
        </dep:moduleId>
    </dep:environment>
    <ext-module>
        <connector>jmsResources</connector>
        <external-path
xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.2";>
            <dep:groupId>org.apache.geronimo.modules</dep:groupId>
            <dep:artifactId>geronimo-activemq-ra</dep:artifactId>
            <dep:type>rar</dep:type>
        </external-path>
        <connector
xmlns="http://geronimo.apache.org/xml/ns/j2ee/connector-1.2";>
                         <dep:environment
xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.2";>
                           <dep:moduleId>
                                <dep:groupId>console.jms</dep:groupId>
                                <dep:artifactId>jmsResources</dep:artifactId>
                                <dep:version>1.0</dep:version>
                           <dep:type>rar</dep:type>
                                </dep:moduleId>
                           <dep:dependencies>
                             <dep:dependency>
                               
<dep:groupId>org.apache.geronimo.configs</dep:groupId>
                               <dep:artifactId>activemq-broker</dep:artifactId>
                               <dep:type>car</dep:type>
                             </dep:dependency>
                           </dep:dependencies>
                         </dep:environment>
                         <resourceadapter>
                           <resourceadapter-instance>
                             
<resourceadapter-name>jmsResources</resourceadapter-name>
                             <workmanager 
xmlns="http://geronimo.apache.org/xml/ns/naming-1.2";>
                               <gbean-link>DefaultWorkManager</gbean-link>
                             </workmanager>
                           </resourceadapter-instance>
                           <outbound-resourceadapter>
                             <connection-definition>
                              
<connectionfactory-interface>javax.jms.ConnectionFactory</connectionfactory-interface>
                               <connectiondefinition-instance>
                                 <name>IHCIConnectionFactory</name>
                                
<implemented-interface>javax.jms.QueueConnectionFactory</implemented-interface>
                                
<implemented-interface>javax.jms.TopicConnectionFactory</implemented-interface>
                                 <connectionmanager>
                                   <xa-transaction>
                                     <transaction-caching />
                                   </xa-transaction>
                                   <single-pool>
                                     <max-size>10</max-size>
                                     <min-size>0</min-size>
                                    
<blocking-timeout-milliseconds>5000</blocking-timeout-milliseconds>
                                     
<idle-timeout-minutes>0</idle-timeout-minutes>
                                     <match-one />
                                   </single-pool>
                                 </connectionmanager>
                               </connectiondefinition-instance>
                             </connection-definition>
                           </outbound-resourceadapter>
                         </resourceadapter>
                         <!-- ElementSupportData -->
                         <adminobject>
                           
<adminobject-interface>javax.jms.Topic</adminobject-interface>
                          
<adminobject-class>org.apache.activemq.command.ActiveMQTopic</adminobject-class>
                           <adminobject-instance>
                            
<message-destination-name>ElementSupportData</message-destination-name>
                             <config-property-setting
name="PhysicalName">ElementSupportData</config-property-setting>
                           </adminobject-instance>
                         </adminobject>
                         
                          <!-- ExportacionProgPlanData -->
                        
                         <adminobject>
                           
<adminobject-interface>javax.jms.Topic</adminobject-interface>
                          
<adminobject-class>org.apache.activemq.command.ActiveMQTopic</adminobject-class>
                           <adminobject-instance>
                            
<message-destination-name>ExportacionProgPlanData</message-destination-name>
                             <config-property-setting
name="PhysicalName">ExportacionProgPlanData</config-property-setting>
                           </adminobject-instance>
                         </adminobject>
                         
                         <!-- PlanExplotacionData -->
                        
                         <adminobject>
                           
<adminobject-interface>javax.jms.Topic</adminobject-interface>
                          
<adminobject-class>org.apache.activemq.command.ActiveMQTopic</adminobject-class>
                           <adminobject-instance>
                            
<message-destination-name>PlanExplotacionData</message-destination-name>
                             <config-property-setting
name="PhysicalName">PlanExplotacionData</config-property-setting>
                           </adminobject-instance>
                         </adminobject>
                         
                         <!-- RTElementSupportData -->
                        
                         <adminobject>
                           
<adminobject-interface>javax.jms.Topic</adminobject-interface>
                          
<adminobject-class>org.apache.activemq.command.ActiveMQTopic</adminobject-class>
                           <adminobject-instance>
                            
<message-destination-name>RTElementSupportData</message-destination-name>
                             <config-property-setting
name="PhysicalName">RTElementSupportData</config-property-setting>
                           </adminobject-instance>
                         </adminobject>
                         
                         <!-- RTItineraryData -->
                        
                         <adminobject>
                           
<adminobject-interface>javax.jms.Topic</adminobject-interface>
                          
<adminobject-class>org.apache.activemq.command.ActiveMQTopic</adminobject-class>
                           <adminobject-instance>
                             
<message-destination-name>RTItineraryData</message-destination-name>
                             <config-property-setting
name="PhysicalName">RTItineraryData</config-property-setting>
                           </adminobject-instance>
                         </adminobject>
                         
                         <!-- SolicitudServicioData -->
                        
                         <adminobject>
                           
<adminobject-interface>javax.jms.Topic</adminobject-interface>
                          
<adminobject-class>org.apache.activemq.command.ActiveMQTopic</adminobject-class>
                           <adminobject-instance>
                            
<message-destination-name>SolicitudServicioData</message-destination-name>
                             <config-property-setting
name="PhysicalName">SolicitudServicioData</config-property-setting>
                           </adminobject-instance>
                         </adminobject>
                         
                         <!-- SampleQueue (only for tests 
                        
                           <adminobject>
                           
<adminobject-interface>javax.jms.Queue</adminobject-interface>
                          
<adminobject-class>org.apache.activemq.command.ActiveMQQueue</adminobject-class>
                           <adminobject-instance>
                             
<message-destination-name>SampleQueue</message-destination-name>
                             <config-property-setting
name="PhysicalName">SampleQueue</config-property-setting>
                           </adminobject-instance>
                         </adminobject>
                         
                         -->
                        </connector> 
    </ext-module>      
</application>





 












Jacek Laskowski wrote:
> 
> On Dec 12, 2007 2:01 PM, ivanrc <[EMAIL PROTECTED]> wrote:
>>
>> I saw this...
>>
>> <external-path
>> xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.2";>
>>             <dep:groupId>org.apache.geronimo.modules</dep:groupId>
>>             <dep:artifactId>geronimo-activemq-ra</dep:artifactId>
>>             <dep:version>2.1-SNAPSHOT</dep:version>
>>             <dep:type>rar</dep:type>
>>         </external-path>
>>
>>
>> but how can i add this to my connector deploy plan?
> 
> Add the connector plan to your application's deployment plans, exactly
> as outlined in the aforementioned article (in Polish). The trick is to
> create connectors per applications not global connectors for
> everybody.
> 
> Jacek
> 
> -- 
> Jacek Laskowski
> http://www.JacekLaskowski.pl
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Remote-deploy-JMS-Resources-tp14293818s134p14296410.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.

Reply via email to