You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@geronimo.apache.org by punkymt1 <pu...@gmail.com> on 2008/04/03 10:44:13 UTC

EAR deployment need help

Dear Geronimo Users,

I am new to Geronimo but I do not think that it is impossible to learn
deployment on it. But since I am a Netbeans user, most of the descriptors
and stuff are done automatically so I am finding it a bit difficult to
deploy my EAR on Geronimo.

So basically here are my questions:

Can I use the application.xml only to deploy the EAR? I can edit this in
Netbeans to match Geronimo requirements. If yes, what is exactly needed in
the application.xml? I currently have this:

<application version="5" xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/application_5.xsd">
  <display-name>EnterpriseApplication1</display-name>
  <module>
    <ejb>EnterpriseApplication1-ejb.jar</ejb>
  </module>
  <module>
    <web>
      <web-uri>EnterpriseApplication1-war.war</web-uri>
      <context-root>/EnterpriseApplication1-war</context-root>
    </web>
  </module>
</application>

Do I need a geronimo plan?

Thank you.
-- 
View this message in context: http://www.nabble.com/EAR-deployment-need-help-tp16467324s134p16467324.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.


Re: EAR deployment need help

Posted by punkymt1 <pu...@gmail.com>.
Thanks djencks. Just another question .. therefore do I have to use the
schema geronimo-application-2.0.xsd in the schema directory to create the
plan?

Thank you.


djencks wrote:
> 
> 
> On Apr 3, 2008, at 1:44 AM, punkymt1 wrote:
> 
>>
>> Dear Geronimo Users,
>>
>> I am new to Geronimo but I do not think that it is impossible to learn
>> deployment on it. But since I am a Netbeans user, most of the  
>> descriptors
>> and stuff are done automatically so I am finding it a bit difficult to
>> deploy my EAR on Geronimo.
>>
>> So basically here are my questions:
>>
>> Can I use the application.xml only to deploy the EAR? I can edit  
>> this in
>> Netbeans to match Geronimo requirements. If yes, what is exactly  
>> needed in
>> the application.xml? I currently have this:
>>
>> <application version="5" xmlns="http://java.sun.com/xml/ns/javaee"
>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>> xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
>> http://java.sun.com/xml/ns/javaee/application_5.xsd">
>>   <display-name>EnterpriseApplication1</display-name>
>>   <module>
>>     <ejb>EnterpriseApplication1-ejb.jar</ejb>
>>   </module>
>>   <module>
>>     <web>
>>       <web-uri>EnterpriseApplication1-war.war</web-uri>
>>       <context-root>/EnterpriseApplication1-war</context-root>
>>     </web>
>>   </module>
>> </application>
>>
>> Do I need a geronimo plan?
> 
> So far, no.  If your app uses a datasource or services from another  
> javaee app you will need a plan to make the datasource visible to  
> your app.
> 
> thanks
> david jencks
> 
>>
>> Thank you.
>> -- 
>> View this message in context: http://www.nabble.com/EAR-deployment- 
>> need-help-tp16467324s134p16467324.html
>> Sent from the Apache Geronimo - Users mailing list archive at  
>> Nabble.com.
>>
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/EAR-deployment-need-help-tp16467324s134p16485874.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.


Re: EAR deployment need help

Posted by David Jencks <da...@yahoo.com>.
On Apr 3, 2008, at 1:44 AM, punkymt1 wrote:

>
> Dear Geronimo Users,
>
> I am new to Geronimo but I do not think that it is impossible to learn
> deployment on it. But since I am a Netbeans user, most of the  
> descriptors
> and stuff are done automatically so I am finding it a bit difficult to
> deploy my EAR on Geronimo.
>
> So basically here are my questions:
>
> Can I use the application.xml only to deploy the EAR? I can edit  
> this in
> Netbeans to match Geronimo requirements. If yes, what is exactly  
> needed in
> the application.xml? I currently have this:
>
> <application version="5" xmlns="http://java.sun.com/xml/ns/javaee"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
> http://java.sun.com/xml/ns/javaee/application_5.xsd">
>   <display-name>EnterpriseApplication1</display-name>
>   <module>
>     <ejb>EnterpriseApplication1-ejb.jar</ejb>
>   </module>
>   <module>
>     <web>
>       <web-uri>EnterpriseApplication1-war.war</web-uri>
>       <context-root>/EnterpriseApplication1-war</context-root>
>     </web>
>   </module>
> </application>
>
> Do I need a geronimo plan?

So far, no.  If your app uses a datasource or services from another  
javaee app you will need a plan to make the datasource visible to  
your app.

thanks
david jencks

>
> Thank you.
> -- 
> View this message in context: http://www.nabble.com/EAR-deployment- 
> need-help-tp16467324s134p16467324.html
> Sent from the Apache Geronimo - Users mailing list archive at  
> Nabble.com.
>