You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@geronimo.apache.org by Russell Collins <Ru...@mclaneat.com> on 2009/04/09 16:06:24 UTC

Deployment Question

I was wondering if someone would point tell me how to manually deploy a .jar file or point me to a link that has the instructions.  I can successfully deploy a regular jar file using the console without any problem.  I was wondering how to perform that same operation using and .xml file and the deploy command.  Also, I am not referring to an ear or ejb.jar archive.  It would be a utility archive with classes that can be used by all of the applications on the server.  Any help that you can provide to me would be great.  Thanks.

RE: Deployment Question

Posted by Russell Collins <Ru...@mclaneat.com>.
Thank you for your help with this information.

From: Kevan Miller [mailto:kevan.miller@gmail.com]
Sent: Thursday, April 09, 2009 4:42 PM
To: user@geronimo.apache.org
Subject: Re: Deployment Question


On Apr 9, 2009, at 2:09 PM, Russell Collins wrote:


Couple of questions that I have with the install-library command:

*         It shows the option for GroupId.  Is there options for Artifact ID and Version?

Pretty sure the answer is no...


*         The way that it installs the jar file, it seems as if the jar file is in the format of <name>-<version>.jar it will install it in the Group/Artifact/Version format in the directory.  Is this assumption correct?  Is this type of format the standard way of naming .jar assemblies?

Correct. It's the maven convention for naming artifacts...


*         With the deploy command, is there a way to specify how a .jar file is to be deployed using an xml descriptor?  If so, what is the format of the xml?

Again, pretty sure the answer is no...

Can see that it could be helpful... You can create a Jira and see if somebody's interested in implementing this. Better yet, you could submit a patch... ;-)

--kevan

Re: Deployment Question

Posted by Kevan Miller <ke...@gmail.com>.
On Apr 9, 2009, at 2:09 PM, Russell Collins wrote:

> Couple of questions that I have with the install-library command:
>
> ·         It shows the option for GroupId.  Is there options for  
> Artifact ID and Version?

Pretty sure the answer is no...

> ·         The way that it installs the jar file, it seems as if the  
> jar file is in the format of <name>-<version>.jar it will install it  
> in the Group/Artifact/Version format in the directory.  Is this  
> assumption correct?  Is this type of format the standard way of  
> naming .jar assemblies?

Correct. It's the maven convention for naming artifacts...

> ·         With the deploy command, is there a way to specify how  
> a .jar file is to be deployed using an xml descriptor?  If so, what  
> is the format of the xml?

Again, pretty sure the answer is no...

Can see that it could be helpful... You can create a Jira and see if  
somebody's interested in implementing this. Better yet, you could  
submit a patch... ;-)

--kevan

RE: Deployment Question

Posted by Russell Collins <Ru...@mclaneat.com>.
Couple of questions that I have with the install-library command:


*         It shows the option for GroupId.  Is there options for Artifact ID and Version?

*         The way that it installs the jar file, it seems as if the jar file is in the format of <name>-<version>.jar it will install it in the Group/Artifact/Version format in the directory.  Is this assumption correct?  Is this type of format the standard way of naming .jar assemblies?

*         With the deploy command, is there a way to specify how a .jar file is to be deployed using an xml descriptor?  If so, what is the format of the xml?

Thank you for any help you can give me.



From: Kevan Miller [mailto:kevan.miller@gmail.com]
Sent: Thursday, April 09, 2009 10:46 AM
To: user@geronimo.apache.org
Subject: Re: Deployment Question


On Apr 9, 2009, at 10:06 AM, Russell Collins wrote:

I was wondering if someone would point tell me how to manually deploy a .jar file or point me to a link that has the instructions.  I can successfully deploy a regular jar file using the console without any problem.  I was wondering how to perform that same operation using and .xml file and the deploy command.  Also, I am not referring to an ear or ejb.jar archive.  It would be a utility archive with classes that can be used by all of the applications on the server.  Any help that you can provide to me would be great.  Thanks.

How about http://cwiki.apache.org/GMOxDOC21/tools-and-commands.html#Toolsandcommands-Installlibrary

--kevan

Re: Deployment Question

Posted by Kevan Miller <ke...@gmail.com>.
On Apr 9, 2009, at 10:06 AM, Russell Collins wrote:

> I was wondering if someone would point tell me how to manually  
> deploy a .jar file or point me to a link that has the instructions.   
> I can successfully deploy a regular jar file using the console  
> without any problem.  I was wondering how to perform that same  
> operation using and .xml file and the deploy command.  Also, I am  
> not referring to an ear or ejb.jar archive.  It would be a utility  
> archive with classes that can be used by all of the applications on  
> the server.  Any help that you can provide to me would be great.   
> Thanks.

How about http://cwiki.apache.org/GMOxDOC21/tools-and-commands.html#Toolsandcommands-Installlibrary

--kevan

RE: Deployment Question

Posted by Russell Collins <Ru...@mclaneat.com>.
Thank you Kevin.  I will look into those.

From: Kevan Miller [mailto:kevan.miller@gmail.com]
Sent: Thursday, April 09, 2009 10:49 AM
To: user@geronimo.apache.org
Subject: Re: Deployment Question


On Apr 9, 2009, at 10:06 AM, Russell Collins wrote:


I was wondering if someone would point tell me how to manually deploy a .jar file or point me to a link that has the instructions.  I can successfully deploy a regular jar file using the console without any problem.  I was wondering how to perform that same operation using and .xml file and the deploy command.  Also, I am not referring to an ear or ejb.jar archive.  It would be a utility archive with classes that can be used by all of the applications on the server.  Any help that you can provide to me would be great.  Thanks.

There's also the gshell equivalent -- http://cwiki.apache.org/GMOxDOC21/gshell.html#GShell-GeronimoGShellCommands

--kevan

Re: Deployment Question

Posted by Kevan Miller <ke...@gmail.com>.
On Apr 9, 2009, at 10:06 AM, Russell Collins wrote:

> I was wondering if someone would point tell me how to manually  
> deploy a .jar file or point me to a link that has the instructions.   
> I can successfully deploy a regular jar file using the console  
> without any problem.  I was wondering how to perform that same  
> operation using and .xml file and the deploy command.  Also, I am  
> not referring to an ear or ejb.jar archive.  It would be a utility  
> archive with classes that can be used by all of the applications on  
> the server.  Any help that you can provide to me would be great.   
> Thanks.

There's also the gshell equivalent -- http://cwiki.apache.org/GMOxDOC21/gshell.html#GShell-GeronimoGShellCommands

--kevan