[jboss-user] [JCA] New message: "Re: How to reference an embedded JCA resource adapater"

2010-03-01 Thread C G
User development,

A new message was posted in the thread "How to reference an embedded JCA 
resource adapater":

http://community.jboss.org/message/529160#529160

Author  : C G
Profile : http://community.jboss.org/people/cgrf

Message:
--
Hi Shane,
 
Thanks for that useful hint. Actually, I'm using maven on this project, too. 
I've been mostly using ant before, so I knew I could do that with ant. Somehow, 
it just didn't come to my mind to look for this feature in maven.
 
As I mentioned before, I'm no longer planning to package the RAR file for this 
project. But still, I'm wondering +if+ there is a way to make a "relative" 
reference to the contained RAR file. It would seem like a very natural thing to 
me, but I'm beginning to suspect that it cannot currently be done in JBoss.
 
Best,
Christian

--

To reply to this message visit the message page: 
http://community.jboss.org/message/529160#529160


___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA] New message: "Re: How to reference an embedded JCA resource adapater"

2010-03-01 Thread Shane McEneaney
User development,

A new message was posted in the thread "How to reference an embedded JCA 
resource adapater":

http://community.jboss.org/message/529148#529148

Author  : Shane McEneaney
Profile : http://community.jboss.org/people/smceneaney

Message:
--
Hi C G,
 
I too have a RAR contained inside an EAR. We build using maven 2 and use a 
variable property to define the name of the EAR and RAR. In our case the 
version number changes all of the time. Ant has similar capabilities to include 
property values that are filtered/replaced at build time.
 
See jboss.xml snippet below.
 

   
  
 SampleOneMDB
 
my-system-${project.version}.ear#my-rar-${project.version}.rar
  
  
 SampleTwoMDB
 
my-system-${project.version}.ear#my-rar-${project.version}.rar
  
  
 SampleOThreeMDB
 
my-system-${project.version}.ear#my-rar-${project.version}.rar
  
   

 
 
 

--

To reply to this message visit the message page: 
http://community.jboss.org/message/529148#529148


___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA] New message: "Re: How to reference an embedded JCA resource adapater"

2010-02-26 Thread C G
User development,

A new message was posted in the thread "How to reference an embedded JCA 
resource adapater":

http://community.jboss.org/message/528751#528751

Author  : C G
Profile : http://community.jboss.org/people/cgrf

Message:
--

> vickyk wrote:
>  
> Well I understand that you have scoped EAR, so what you could do here is have 
> multiple EAR's like plainear.ear and rarear.ear. Both of these ear's should 
> be isolated and share the same CL, this can be controlled via the 
> jboss-app.xml in EAR. The loader-repository entry in the 
> plainear.ear/META-INF/jboss-app.xml and rarear.ear/META-INF/jboss-app.xml 
> should have similar entry.
> You can give it a try and let us know if that sorts the issue.
 
Unfortunately, this did not really solve the issue for me. My main objective 
was to bundle the RAR file inside the EAR without having to hard-code the EAR's 
name anywhere. I still wasn't able to achieve this, although it might well be 
me still doing it wrong. Anyway, we now opted to deploy the RAR seprately after 
all. Thanks again for you support!

--

To reply to this message visit the message page: 
http://community.jboss.org/message/528751#528751


___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA] New message: "Re: How to reference an embedded JCA resource adapater"

2010-02-17 Thread Vicky Kak
User development,

A new message was posted in the thread "How to reference an embedded JCA 
resource adapater":

http://community.jboss.org/message/526781#526781

Author  : Vicky Kak
Profile : http://community.jboss.org/people/vickyk

Message:
--
> cgrf wrote: Another reason is encapsulation: when included within the EAR 
> file, the adapter is not accessible to other applications on the same server. 
> Also, multiple instances of my application could easily "bring along" their 
> own configuration of the adapter.
Well I understand that you have scoped EAR, so what you could do here is have 
multiple EAR's like plainear.ear and rarear.ear. Both of these ear's should be 
isolated and share the same CL, this can be controlled via the jboss-app.xml in 
EAR. The loader-repository entry in the plainear.ear/META-INF/jboss-app.xml and 
rarear.ear/META-INF/jboss-app.xml should have similar entry.
You can give it a try and let us know if that sorts the issue.

--

To reply to this message visit the message page: 
http://community.jboss.org/message/526781#526781


___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA] New message: "Re: How to reference an embedded JCA resource adapater"

2010-02-17 Thread C G
User development,

A new message was posted in the thread "How to reference an embedded JCA 
resource adapater":

http://community.jboss.org/message/526776#526776

Author  : C G
Profile : http://community.jboss.org/people/cgrf

Message:
--
Thanks for your answer. One reason for including the RAR in the EAR would be 
not having to deploy it separately. I would like the whole application and it's 
dependencies to be included in the EAR. Another reason is encapsulation: when 
included within the EAR file, the adapter is not accessible to other 
applications on the same server. Also, multiple instances of my application 
could easily "bring along" their own configuration of the adapter.

--

To reply to this message visit the message page: 
http://community.jboss.org/message/526776#526776


___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA] New message: "Re: How to reference an embedded JCA resource adapater"

2010-02-17 Thread Vicky Kak
User development,

A new message was posted in the thread "How to reference an embedded JCA 
resource adapater":

http://community.jboss.org/message/526773#526773

Author  : Vicky Kak
Profile : http://community.jboss.org/people/vickyk

Message:
--
> cgrf wrote:
>  
> Is there a way to reference the embedded RAR file without hard-coding the 
> containing archive's name? 
> Thanks in advance!
>  
You should package the RAR seperately and not include it in the EAR, what is 
the reason that you want to have it in the EAR?
AFAIK there is not way to refer to the RAR directly when it is a part of the 
EAR.

--

To reply to this message visit the message page: 
http://community.jboss.org/message/526773#526773


___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user