Re: How to resolve JMS Dependency ?

2006-08-10 Thread Krishnakumar B

Hi Manish,

your web.xml has

   resource-ref
   res-ref-namejms/AcevaPublisherQueue/res-ref-name
   res-typejavax.jms.Queue/res-type
   res-authContainer/res-auth
   /resource-ref

change it to

   resource-env-ref
   resource-env-ref-namejms/AcevaPublisherQueue/resource-env-ref-name
   resource-env-ref-typejavax.jms.Queue/resource-env-ref-type
   res-authContainer/res-auth
   /resource-env-ref

and have the following type in your geronimo-web.xml

 nam:resource-env-ref
   nam:ref-namejms/AcevaPublisherQueue/nam:ref-name
   
nam:message-destination-linkjms/AcevaPublisherQueue/nam:message-destination-link
 /nam:resource-env-ref

Ur web.xml has !DOCTYPE web-app PUBLIC -//Sun Microsystems,
Inc.//DTD Web Application 2.3//EN
http://java.sun.com/dtd/web-app_2_3.dtd;
so its in J2EE 1.3 sysntax.

I tried the ra plan u have posted and created a reference to
AcevaPublisherQueue from a sample web application and it works.

Regards
Krishnakumar

On 8/10/06, Manish Satwani [EMAIL PROTECTED] wrote:

attaching modified geronimo-web.xml and openejb-jar.xml in which i have
added admin-object-link

Thanks
Manish


On 8/10/06, Manish Satwani  [EMAIL PROTECTED] wrote:

 Hi All,

 I am stillg getting this erro during deployment.

 Unable to resolve resource reference 'jms/AcevaPublisherQueue' (Could not
auto-map to resource. Try adding a resource-ref mapping to your Geronimo
deployment plan.)
 org.apache.geronimo.common.DeploymentException: Unable to
resolve resource reference 'jms/AcevaPublisherQueue' (Could not auto-map to
resource. Try adding a resource-ref mapping to your Geronimo deployment
plan.) at
org.apache.geronimo.naming.deployment.ENCConfigBuilder.addResourceRefs(ENCConfigBuilder.java:210)

 I have added admin-object-link as suggested by Aaron.

 I am attching my web.xml also...and whole RA plan...


 please do let me know if you need any other configuration filefor
reference...


 please help me ...

 Thanks
 Manish


 On 8/8/06, Aaron Mulder  [EMAIL PROTECTED]  wrote:
  OK, let's back up a bit.
 
  In order to reference JMS resources from a web app:
 
  * For a connection factory, use a resource-ref (I think you did this)
  * For a topic or queue in J2EE 1.4 / Servlet 2.4, use a
  messsage-destination-ref
  * For a topic or queue in J2EE  1.4 / Servlet  2.4, use a
resource-env-ref
 
  So your queue reference was not correct in the snippets you posted.
  For a walkthrough of the correct syntax, see
 
http://chariotsolutions.com/geronimo/geronimo-1.1/web-plan.html#web-plan-jms
  (section 11.3.5.5 has a discussion with examples of both styles).
  Your EJB JAR used EJB 2.0, which suggests that you're using J2EE 1.3,
  but you might be using Servlet 2.4 anyway, which would make the
  difference.
 
  If you want more specific help, you'll need to post your web.xml files.
 
  Thanks,
   Aaron
 
  On 8/8/06, Manish Satwani  [EMAIL PROTECTED] wrote:
   Hi ,
  
   I am new in geronimo  can you please tell me where exactly should
i
   change
   I am attaching all configuration files here
  
   I have 2 war in my ear thats why i attached 2 geronimo-web.xml
  
  
   please help me
  
   Thanks
   Manish
  
  
   On 8/8/06, Krishnakumar B  [EMAIL PROTECTED] wrote:
For referring to Queues u should use
   
nam:resource-env-ref
nam:ref-name/nam:ref-name
admin-object-link/admin-object-link
/nam:resource-env-ref
   
or Message Destination Reference
   
I think both would work
   
   
  
http://www.chariotsolutions.com/geronimo/geronimo-1.1/web-plan.html#web-plan-refs
( You can refer to resource-env-ref for J2EE Connector Administered
Objects )
   
Resource Environment Ref can be used to reference JMS Destinations.
   
Regards
Krishnakumar
   
On 8/8/06, Manish Satwani  [EMAIL PROTECTED] wrote:
 Hi All,

 I am facing problem while deploying my ear on geronimo 1.1

 It is complaining regarding jms/AcevaPublisherQueue (my
application need
 this)

 I have added this queue from console.

we have acm.war file which also access (resource-ref) this queue
 and i have acevaEJB.jar which also have (resource-ref) to this
queue

 i also added resource-link entries in geronimo-web.xml and
   openEJB-jar.xml

 this is in openEjb-jar.xml
 session

ejb-nameCollectionService/ejb-name

   jndi-nameejb/CollectionService/jndi-name
 naming:resource-ref


  
naming:ref-namejms/AcevaPublisherConnectionFactory/naming:ref-name


  
naming:resource-linkjms/AcevaPublisherConnectionFactory/naming:resource-link
 /naming:resource-ref
  naming:resource-ref


  
naming:ref-namejms/AcevaPublisherQueue/naming:ref-name


  
naming:resource-linkjms/AcevaPublisherQueue/naming:resource-link
 /naming:resource-ref
 /session


 this is in geronimo-web.xml

 naming:resource-ref
   

Re: How to resolve JMS Dependency ?

2006-08-10 Thread Manish Satwani
Hi Krishnakumar,thanks for your prompt reply...In our product we support/certified Weblogic , SunONE right now and I am going to support Geronimo...I can change web.xml but it will require changes in Weblogic and SunONE specific deployment files as well ( Am I wrong ??? )...which can triggers a regression or require a whole QA cycle to approve it...
is there any solution which does not require changes in web.xml ... I can do anything in geronimo specific deployment files...Please suggest me .by the time I will change and test it  :)
ThanksManishOn 8/10/06, Krishnakumar B [EMAIL PROTECTED] wrote:
Hi Manish,your web.xml hasresource-refres-ref-namejms/AcevaPublisherQueue/res-ref-nameres-typejavax.jms.Queue/res-typeres-authContainer/res-auth
/resource-refchange it toresource-env-refresource-env-ref-namejms/AcevaPublisherQueue/resource-env-ref-nameresource-env-ref-typejavax.jms.Queue
/resource-env-ref-typeres-authContainer/res-auth/resource-env-refand have the following type in your geronimo-web.xmlnam:resource-env-refnam:ref-namejms/AcevaPublisherQueue/nam:ref-name
nam:message-destination-linkjms/AcevaPublisherQueue/nam:message-destination-link/nam:resource-env-refUr web.xml has !DOCTYPE web-app PUBLIC -//Sun Microsystems,Inc.//DTD Web Application 
2.3//ENhttp://java.sun.com/dtd/web-app_2_3.dtdso its in J2EE 1.3 sysntax.I tried the ra plan u have posted and created a reference to
AcevaPublisherQueue from a sample web application and it works.RegardsKrishnakumarOn 8/10/06, Manish Satwani [EMAIL PROTECTED] wrote:
 attaching modified geronimo-web.xml and openejb-jar.xml in which i have added admin-object-link Thanks Manish On 8/10/06, Manish Satwani  
[EMAIL PROTECTED] wrote:   Hi All,   I am stillg getting this erro during deployment.   Unable to resolve resource reference 'jms/AcevaPublisherQueue' (Could not
 auto-map to resource. Try adding a resource-ref mapping to your Geronimo deployment plan.)  org.apache.geronimo.common.DeploymentException: Unable to resolve resource reference 'jms/AcevaPublisherQueue' (Could not auto-map to
 resource. Try adding a resource-ref mapping to your Geronimo deployment plan.) at org.apache.geronimo.naming.deployment.ENCConfigBuilder.addResourceRefs(ENCConfigBuilder.java:210) 
  I have added admin-object-link as suggested by Aaron.   I am attching my web.xml also...and whole RA plan...please do let me know if you need any other configuration filefor
 reference...please help me ...   Thanks  ManishOn 8/8/06, Aaron Mulder  
[EMAIL PROTECTED]  wrote:   OK, let's back up a bit. In order to reference JMS resources from a web app: * For a connection factory, use a resource-ref (I think you did this)
   * For a topic or queue in J2EE 1.4 / Servlet 2.4, use a   messsage-destination-ref   * For a topic or queue in J2EE  1.4 / Servlet  2.4, use a resource-env-ref
 So your queue reference was not correct in the snippets you posted.   For a walkthrough of the correct syntax, see   
http://chariotsolutions.com/geronimo/geronimo-1.1/web-plan.html#web-plan-jms   (section 11.3.5.5 has a discussion with examples of both styles).   Your EJB JAR used EJB 
2.0, which suggests that you're using J2EE 1.3,   but you might be using Servlet 2.4 anyway, which would make the   difference. If you want more specific help, you'll need to post your 
web.xml files. Thanks,  Aaron On 8/8/06, Manish Satwani  [EMAIL PROTECTED]
 wrote:Hi ,   I am new in geronimo  can you please tell me where exactly should ichangeI am attaching all configuration files here
   I have 2 war in my ear thats why i attached 2 geronimo-web.xml  please help me   Thanks
Manish  On 8/8/06, Krishnakumar B  [EMAIL PROTECTED] wrote: For referring to Queues u should use
 nam:resource-env-ref nam:ref-name/nam:ref-name admin-object-link/admin-object-link
 /nam:resource-env-ref or Message Destination Reference I think both would work
http://www.chariotsolutions.com/geronimo/geronimo-1.1/web-plan.html#web-plan-refs
 ( You can refer to resource-env-ref for J2EE Connector Administered Objects ) Resource Environment Ref can be used to reference JMS Destinations.
 Regards Krishnakumar On 8/8/06, Manish Satwani  
[EMAIL PROTECTED] wrote:  Hi All,   I am facing problem while deploying my ear on geronimo 1.1 
  It is complaining regarding jms/AcevaPublisherQueue (my application need  this)   I have added this queue from console.
  we have acm.war file which also access (resource-ref) this queue  and i have acevaEJB.jar which also have (resource-ref) to this
 queue   i also added resource-link entries in geronimo-web.xml andopenEJB-jar.xml   this is in 
openEjb-jar.xml  session  ejb-nameCollectionService/ejb-name jndi-nameejb/CollectionService/jndi-name
  naming:resource-ref  

Re: How to resolve JMS Dependency ?

2006-08-09 Thread Manish Satwani
attaching modified geronimo-web.xml and openejb-jar.xml in which i have added admin-object-linkThanksManishOn 8/10/06, Manish Satwani 
[EMAIL PROTECTED] wrote:Hi All,I am stillg getting this erro during deployment.
Unable to resolve resource reference 'jms/AcevaPublisherQueue' (Could not auto-map to resource.  Try adding a resource-ref mapping to your Geronimo deployment plan.)
org.apache.geronimo.common.DeploymentException: Unable to resolve resource reference 'jms/AcevaPublisherQueue' (Could not auto-map to resource.  Try adding a resource-ref mapping to your Geronimo deployment plan.)
	at org.apache.geronimo.naming.deployment.ENCConfigBuilder.addResourceRefs(ENCConfigBuilder.java:210)
I have added admin-object-link as suggested by Aaron.I am attching my web.xml also...and whole RA plan...please do let me know if you need any other configuration filefor reference...

please help me ...ThanksManishOn 8/8/06, Aaron Mulder 
[EMAIL PROTECTED]
 wrote:OK, let's back up a bit.In order to reference JMS resources from a web app:
 * For a connection factory, use a resource-ref (I think you did this) * For a topic or queue in J2EE 1.4 / Servlet 2.4, use amesssage-destination-ref * For a topic or queue in J2EE  1.4 / Servlet  
2.4, use a resource-env-refSo your queue reference was not correct in the snippets you posted.For a walkthrough of the correct syntax, see

http://chariotsolutions.com/geronimo/geronimo-1.1/web-plan.html#web-plan-jms(section 11.3.5.5 has a discussion with examples of both styles).
Your EJB JAR used EJB 2.0, which suggests that you're using J2EE 
1.3,but you might be using Servlet 2.4 anyway, which would make thedifference.If you want more specific help, you'll need to post your web.xml files.Thanks, AaronOn 8/8/06, Manish Satwani 
[EMAIL PROTECTED] wrote: Hi , I am new in geronimo  can you please tell me where exactly should i
 change I am attaching all configuration files here
 I have 2 war in my ear thats why i attached 2 geronimo-web.xml please help me Thanks Manish On 8/8/06, Krishnakumar B 

[EMAIL PROTECTED] wrote:  For referring to Queues u should use   nam:resource-env-ref  nam:ref-name/nam:ref-name  admin-object-link/admin-object-link
  /nam:resource-env-ref   or Message Destination Reference   I think both would work   

http://www.chariotsolutions.com/geronimo/geronimo-1.1/web-plan.html#web-plan-refs  ( You can refer to resource-env-ref for J2EE Connector Administered  Objects )   Resource Environment Ref can be used to reference JMS Destinations.
   Regards  Krishnakumar   On 8/8/06, Manish Satwani  
[EMAIL PROTECTED] wrote:   Hi All,
 I am facing problem while deploying my ear on geronimo 1.1 It is complaining regarding jms/AcevaPublisherQueue (my application need   this)
 I have added this queue from console.we have acm.war file which also access (resource-ref) this queue   and i have acevaEJB.jar which also have (resource-ref) to this queue
 i also added resource-link entries in geronimo-web.xml and openEJB-jar.xml this is in openEjb-jar.xml   session
   ejb-nameCollectionService/ejb-name
   jndi-nameejb/CollectionService/jndi-name   naming:resource-ref naming:ref-namejms/AcevaPublisherConnectionFactory/naming:ref-name
 naming:resource-linkjms/AcevaPublisherConnectionFactory/naming:resource-link   /naming:resource-ref  naming:resource-ref
 naming:ref-namejms/AcevaPublisherQueue/naming:ref-name naming:resource-linkjms/AcevaPublisherQueue/naming:resource-link
   /naming:resource-ref   /session   this is in geronimo-web.xml naming:resource-ref
 naming:ref-namejms/AcevaPublisherQueue/naming:ref-name naming:resource-linkjms/AcevaPublisherQueue/naming:resource-link
   /naming:resource-ref any enviroment -  depency entry needed? if yes  
   sys:dependency   sys:groupId?/sys:groupId (what   should i write here) sys:artifactId???/sys:artifactId(what should i
 write   here)   /sys:dependency   --   Manish Satwani   Senior Software Engineer
   Aceva Technologies | Unlock Your Working Capital   A-1501, Signature Towers - I,   South City, Gurgaon,   Haryana – 122001   Call at:
   +91-124-2805091/92 Ext. 35
   +91-99113-16998   Visit: http://www.aceva.com 
 -- Manish Satwani Senior Software Engineer
 Aceva Technologies | Unlock Your Working Capital A-1501, Signature Towers - I, South City, Gurgaon, Haryana – 122001 Call at: +91-124-2805091/92 Ext. 35 +91-99113-16998
 Visit: http://www.aceva.com-- 
Manish SatwaniSenior Software EngineerAceva Technologies | Unlock Your Working Capital
A-1501, Signature Towers - I,South City, Gurgaon,Haryana – 122001Call at:+91-124-2805091/92 Ext. 35+91-99113-16998Visit: 
http://www.aceva.com

-- Manish SatwaniSenior Software EngineerAceva Technologies | Unlock Your Working CapitalA-1501, Signature Towers - I,South City, Gurgaon,
Haryana – 122001Call at:+91-124-2805091/92 Ext. 35+91-99113-16998Visit: http://www.aceva.com
?xml version=1.0 encoding=UTF-8?


How to resolve JMS Dependency ?

2006-08-08 Thread Manish Satwani
Hi All,I am facing problem while deploying my ear on geronimo 1.1It is complaining regarding jms/AcevaPublisherQueue (my application need this)I have added this queue from console.we have acm.war
 file which also access (resource-ref) this queueand i have acevaEJB.jar which also have (resource-ref) to this queue i also added resource-link entries in geronimo-web.xml and openEJB-jar.xmlthis is in 
openEjb-jar.xmlsession ejb-nameCollectionService/ejb-name jndi-nameejb/CollectionService/jndi-name naming:resource-ref naming:ref-namejms/AcevaPublisherConnectionFactory/naming:ref-name
 naming:resource-linkjms/AcevaPublisherConnectionFactory/naming:resource-link /naming:resource-ref naming:resource-ref naming:ref-namejms/AcevaPublisherQueue/naming:ref-name
 naming:resource-linkjms/AcevaPublisherQueue/naming:resource-link /naming:resource-ref /sessionthis is in geronimo-web.xmlnaming:resource-ref
 naming:ref-namejms/AcevaPublisherQueue/naming:ref-name naming:resource-linkjms/AcevaPublisherQueue/naming:resource-link /naming:resource-ref
any enviroment -  depency entry needed?if yes sys:dependency sys:groupId?/sys:groupId (what should i write here)
 sys:artifactId???/sys:artifactId(what should i write here) /sys:dependency-- Manish SatwaniSenior Software EngineerAceva Technologies | Unlock Your Working Capital
A-1501, Signature Towers - I,South City, Gurgaon,Haryana – 122001Call at:+91-124-2805091/92 Ext. 35+91-99113-16998Visit: http://www.aceva.com


Re: How to resolve JMS Dependency ?

2006-08-08 Thread Manish Satwani
Hi AllThe following is the error I getting while deploying EARUnable to resolve resource reference 'jms/AcevaPublisherQueue' (Could not find resource 'jms/AcevaPublisherQueue'.  Perhaps it has not yet been configured, or your application does not have a dependency declared for that resource module?)
org.apache.geronimo.common.DeploymentException: Unable to resolve resource reference 'jms/AcevaPublisherQueue' (Could not find resource 'jms/AcevaPublisherQueue'.  Perhaps it has not yet been configured, or your application does not have a dependency declared for that resource module?)
	at org.apache.geronimo.naming.deployment.ENCConfigBuilder.addResourceRefs(ENCConfigBuilder.java:210)
On 8/8/06, Manish Satwani [EMAIL PROTECTED] wrote:
Hi All,I am facing problem while deploying my ear on geronimo 1.1It is complaining regarding jms/AcevaPublisherQueue (my application need this)I have added this queue from console.we have 
acm.war
 file which also access (resource-ref) this queueand i have acevaEJB.jar which also have (resource-ref) to this queue i also added resource-link entries in geronimo-web.xml and openEJB-jar.xmlthis is in 
openEjb-jar.xmlsession ejb-nameCollectionService/ejb-name jndi-nameejb/CollectionService/jndi-name naming:resource-ref naming:ref-namejms/AcevaPublisherConnectionFactory/naming:ref-name
 naming:resource-linkjms/AcevaPublisherConnectionFactory/naming:resource-link /naming:resource-ref naming:resource-ref naming:ref-namejms/AcevaPublisherQueue/naming:ref-name
 naming:resource-linkjms/AcevaPublisherQueue/naming:resource-link /naming:resource-ref /sessionthis is in geronimo-web.xmlnaming:resource-ref
 naming:ref-namejms/AcevaPublisherQueue/naming:ref-name naming:resource-linkjms/AcevaPublisherQueue/naming:resource-link /naming:resource-ref

any enviroment -  depency entry needed?if yes sys:dependency sys:groupId?/sys:groupId (what should i write here)
 sys:artifactId???/sys:artifactId(what should i write here) /sys:dependency-- Manish SatwaniSenior Software EngineerAceva Technologies | Unlock Your Working Capital
A-1501, Signature Towers - I,South City, Gurgaon,Haryana – 122001Call at:+91-124-2805091/92 Ext. 35+91-99113-16998Visit: 
http://www.aceva.com

-- Manish SatwaniSenior Software EngineerAceva Technologies | Unlock Your Working CapitalA-1501, Signature Towers - I,South City, Gurgaon,Haryana – 122001
Call at:+91-124-2805091/92 Ext. 35+91-99113-16998Visit: http://www.aceva.com


Re: How to resolve JMS Dependency ?

2006-08-08 Thread Krishnakumar B

Hi Manish,

Can u try

naming:resource-ref
   naming:ref-namejms/AcevaPublisherQueue/naming:ref-name
  naming:resource-linkAcevaPublisherQueue/naming:resource-link
/naming:resource-ref

where link refers to
message-destination-nameAcevaPublisherQueue/message-destination-name
in RA plan.

In case this does not work can u post the RA plan?

Regards
Krishnakumar




On 8/8/06, Manish Satwani [EMAIL PROTECTED] wrote:

Hi All

The following is the error I getting while deploying EAR

Unable to resolve resource reference 'jms/AcevaPublisherQueue' (Could not
find resource 'jms/AcevaPublisherQueue'. Perhaps it has not yet been
configured, or your application does not have a dependency declared for that
resource module?)
org.apache.geronimo.common.DeploymentException: Unable to
resolve resource reference 'jms/AcevaPublisherQueue' (Could not find
resource 'jms/AcevaPublisherQueue'. Perhaps it has not yet been configured,
or your application does not have a dependency declared for that resource
module?) at
org.apache.geronimo.naming.deployment.ENCConfigBuilder.addResourceRefs(ENCConfigBuilder.java:210)


On 8/8/06, Manish Satwani [EMAIL PROTECTED] wrote:

 Hi All,

 I am facing problem while deploying my ear on geronimo 1.1

 It is complaining regarding jms/AcevaPublisherQueue (my application need
this)

 I have added this queue from console.

 we have acm.war file which also access (resource-ref) this queue
 and i have acevaEJB.jar which also have (resource-ref) to this queue

 i also added resource-link entries in geronimo-web.xml and openEJB-jar.xml

 this is in openEjb-jar.xml
 session
 ejb-nameCollectionService/ejb-name
 jndi-nameejb/CollectionService/jndi-name
 naming:resource-ref

naming:ref-namejms/AcevaPublisherConnectionFactory/naming:ref-name

naming:resource-linkjms/AcevaPublisherConnectionFactory/naming:resource-link
 /naming:resource-ref
  naming:resource-ref

naming:ref-namejms/AcevaPublisherQueue/naming:ref-name

naming:resource-linkjms/AcevaPublisherQueue/naming:resource-link
 /naming:resource-ref
 /session


 this is in geronimo-web.xml

 naming:resource-ref

naming:ref-namejms/AcevaPublisherQueue/naming:ref-name

naming:resource-linkjms/AcevaPublisherQueue/naming:resource-link
 /naming:resource-ref



 any enviroment -  depency entry needed?

 if yes

 sys:dependency
 sys:groupId?/sys:groupId
(what should i write here)

sys:artifactId???/sys:artifactId(what should i write
here)
 /sys:dependency


 --
 Manish Satwani
 Senior Software Engineer
 Aceva Technologies | Unlock Your Working Capital
 A-1501, Signature Towers - I,
 South City, Gurgaon,
 Haryana – 122001
 Call at:
 +91-124-2805091/92 Ext. 35
 +91-99113-16998
 Visit: http://www.aceva.com



--
Manish Satwani
Senior Software Engineer
Aceva Technologies | Unlock Your Working Capital
A-1501, Signature Towers - I,
South City, Gurgaon,
Haryana – 122001
Call at:
+91-124-2805091/92 Ext. 35
+91-99113-16998
Visit: http://www.aceva.com


Re: How to resolve JMS Dependency ?

2006-08-08 Thread Manish Satwani
Here is my RA planOn 8/8/06, Krishnakumar B [EMAIL PROTECTED] wrote:
Hi Manish,Can u trynaming:resource-refnaming:ref-namejms/AcevaPublisherQueue/naming:ref-name naming:resource-linkAcevaPublisherQueue/naming:resource-link
/naming:resource-refwhere link refers tomessage-destination-nameAcevaPublisherQueue/message-destination-namein RA plan.In case this does not work can u post the RA plan?
RegardsKrishnakumarOn 8/8/06, Manish Satwani [EMAIL PROTECTED] wrote: Hi All The following is the error I getting while deploying EAR
 Unable to resolve resource reference 'jms/AcevaPublisherQueue' (Could not find resource 'jms/AcevaPublisherQueue'. Perhaps it has not yet been configured, or your application does not have a dependency declared for that
 resource module?) org.apache.geronimo.common.DeploymentException: Unable to resolve resource reference 'jms/AcevaPublisherQueue' (Could not find resource 'jms/AcevaPublisherQueue'. Perhaps it has not yet been configured,
 or your application does not have a dependency declared for that resource module?) at org.apache.geronimo.naming.deployment.ENCConfigBuilder.addResourceRefs(ENCConfigBuilder.java:210)
 On 8/8/06, Manish Satwani [EMAIL PROTECTED] wrote:   Hi All,   I am facing problem while deploying my ear on geronimo 
1.1   It is complaining regarding jms/AcevaPublisherQueue (my application need this)   I have added this queue from console.   we have acm.war
 file which also access (resource-ref) this queue  and i have acevaEJB.jar which also have (resource-ref) to this queue   i also added resource-link entries in geronimo-web.xml and openEJB-jar.xml
   this is in openEjb-jar.xml  session  ejb-nameCollectionService/ejb-name  jndi-nameejb/CollectionService/jndi-name
  naming:resource-ref  naming:ref-namejms/AcevaPublisherConnectionFactory/naming:ref-name  naming:resource-linkjms/AcevaPublisherConnectionFactory/naming:resource-link
  /naming:resource-ref naming:resource-ref  naming:ref-namejms/AcevaPublisherQueue/naming:ref-name  naming:resource-linkjms/AcevaPublisherQueue/naming:resource-link
  /naming:resource-ref  /sessionthis is in geronimo-web.xml   naming:resource-ref 
 naming:ref-namejms/AcevaPublisherQueue/naming:ref-name  naming:resource-linkjms/AcevaPublisherQueue/naming:resource-link  /naming:resource-ref
 any enviroment -  depency entry needed?   if yes   sys:dependency  sys:groupId?/sys:groupId
 (what should i write here)  sys:artifactId???/sys:artifactId(what should i write here)  /sys:dependency  
  --  Manish Satwani  Senior Software Engineer  Aceva Technologies | Unlock Your Working Capital  A-1501, Signature Towers - I,  South City, Gurgaon,
  Haryana – 122001  Call at:  +91-124-2805091/92 Ext. 35  +91-99113-16998  Visit: http://www.aceva.com
 -- Manish Satwani Senior Software Engineer Aceva Technologies | Unlock Your Working Capital A-1501, Signature Towers - I, South City, Gurgaon, Haryana – 122001 Call at:
 +91-124-2805091/92 Ext. 35 +91-99113-16998 Visit: http://www.aceva.com-- Manish SatwaniSenior Software Engineer
Aceva Technologies | Unlock Your Working CapitalA-1501, Signature Towers - I,South City, Gurgaon,Haryana – 122001Call at:+91-124-2805091/92 Ext. 35+91-99113-16998Visit: 
http://www.aceva.com
?xml version=1.0 encoding=UTF-8?
connector xmlns=http://geronimo.apache.org/xml/ns/j2ee/connector-1.1;
dep:environment xmlns:dep=http://geronimo.apache.org/xml/ns/deployment-1.1;
dep:moduleId
dep:groupIdconsole.jms/dep:groupId
dep:artifactIdAceva/dep:artifactId
dep:version1.0/dep:version
dep:typerar/dep:type
/dep:moduleId
dep:dependencies
dep:dependency
dep:groupIdgeronimo/dep:groupId
dep:artifactIdactivemq-broker/dep:artifactId
dep:typecar/dep:type
/dep:dependency
/dep:dependencies
/dep:environment
resourceadapter
resourceadapter-instance
resourceadapter-nameAceva/resourceadapter-name
config-property-setting name=Passwordaceva/config-property-setting
config-property-setting name=UserNameaceva/config-property-setting
nam:workmanager xmlns:nam=http://geronimo.apache.org/xml/ns/naming-1.1;
nam:gbean-linkDefaultWorkManager/nam:gbean-link
/nam:workmanager
/resourceadapter-instance
outbound-resourceadapter
connection-definition
connectionfactory-interfacejavax.jms.ConnectionFactory/connectionfactory-interface
connectiondefinition-instance
namejms/AcevaPublisherConnectionFactory/name
implemented-interfacejavax.jms.QueueConnectionFactory/implemented-interface
implemented-interfacejavax.jms.TopicConnectionFactory/implemented-interface
connectionmanager
xa-transaction
transaction-caching/

Re: How to resolve JMS Dependency ?

2006-08-08 Thread Manish Satwani
nippet from my RA planadminobject-instance message-destination-namejms/AcevaPublisherQueue/message-destination-name config-property-setting name=PhysicalNameAcevaPublisherQueue/config-property-setting
 /adminobject-instanceOn 8/8/06, Krishnakumar B [EMAIL PROTECTED] wrote:
Hi Manish,Can u trynaming:resource-refnaming:ref-namejms/AcevaPublisherQueue/naming:ref-name naming:resource-linkAcevaPublisherQueue/naming:resource-link
/naming:resource-refwhere link refers tomessage-destination-nameAcevaPublisherQueue/message-destination-namein RA plan.In case this does not work can u post the RA plan?
RegardsKrishnakumarOn 8/8/06, Manish Satwani [EMAIL PROTECTED] wrote: Hi All The following is the error I getting while deploying EAR
 Unable to resolve resource reference 'jms/AcevaPublisherQueue' (Could not find resource 'jms/AcevaPublisherQueue'. Perhaps it has not yet been configured, or your application does not have a dependency declared for that
 resource module?) org.apache.geronimo.common.DeploymentException: Unable to resolve resource reference 'jms/AcevaPublisherQueue' (Could not find resource 'jms/AcevaPublisherQueue'. Perhaps it has not yet been configured,
 or your application does not have a dependency declared for that resource module?) at org.apache.geronimo.naming.deployment.ENCConfigBuilder.addResourceRefs(ENCConfigBuilder.java:210)
 On 8/8/06, Manish Satwani [EMAIL PROTECTED] wrote:   Hi All,   I am facing problem while deploying my ear on geronimo 
1.1   It is complaining regarding jms/AcevaPublisherQueue (my application need this)   I have added this queue from console.   we have acm.war
 file which also access (resource-ref) this queue  and i have acevaEJB.jar which also have (resource-ref) to this queue   i also added resource-link entries in geronimo-web.xml and openEJB-jar.xml
   this is in openEjb-jar.xml  session  ejb-nameCollectionService/ejb-name  jndi-nameejb/CollectionService/jndi-name
  naming:resource-ref  naming:ref-namejms/AcevaPublisherConnectionFactory/naming:ref-name  naming:resource-linkjms/AcevaPublisherConnectionFactory/naming:resource-link
  /naming:resource-ref naming:resource-ref  naming:ref-namejms/AcevaPublisherQueue/naming:ref-name  naming:resource-linkjms/AcevaPublisherQueue/naming:resource-link
  /naming:resource-ref  /sessionthis is in geronimo-web.xml   naming:resource-ref 
 naming:ref-namejms/AcevaPublisherQueue/naming:ref-name  naming:resource-linkjms/AcevaPublisherQueue/naming:resource-link  /naming:resource-ref
 any enviroment -  depency entry needed?   if yes   sys:dependency  sys:groupId?/sys:groupId
 (what should i write here)  sys:artifactId???/sys:artifactId(what should i write here)  /sys:dependency  
  --  Manish Satwani  Senior Software Engineer  Aceva Technologies | Unlock Your Working Capital  A-1501, Signature Towers - I,  South City, Gurgaon,
  Haryana – 122001  Call at:  +91-124-2805091/92 Ext. 35  +91-99113-16998  Visit: http://www.aceva.com
 -- Manish Satwani Senior Software Engineer Aceva Technologies | Unlock Your Working Capital A-1501, Signature Towers - I, South City, Gurgaon, Haryana – 122001 Call at:
 +91-124-2805091/92 Ext. 35 +91-99113-16998 Visit: http://www.aceva.com-- Manish SatwaniSenior Software Engineer
Aceva Technologies | Unlock Your Working CapitalA-1501, Signature Towers - I,South City, Gurgaon,Haryana – 122001Call at:+91-124-2805091/92 Ext. 35+91-99113-16998Visit: 
http://www.aceva.com


Re: How to resolve JMS Dependency ?

2006-08-08 Thread Krishnakumar B

For referring to Queues u should use

nam:resource-env-ref
   nam:ref-name/nam:ref-name
   admin-object-link/admin-object-link
/nam:resource-env-ref

or Message Destination Reference

I think both would work

http://www.chariotsolutions.com/geronimo/geronimo-1.1/web-plan.html#web-plan-refs
( You can refer to resource-env-ref for J2EE Connector Administered
Objects )

Resource Environment Ref can be used to reference JMS Destinations.

Regards
Krishnakumar

On 8/8/06, Manish Satwani [EMAIL PROTECTED] wrote:

Hi All,

I am facing problem while deploying my ear on geronimo 1.1

It is complaining regarding jms/AcevaPublisherQueue (my application need
this)

I have added this queue from console.


we have acm.war file which also access (resource-ref) this queue

and i have acevaEJB.jar which also have (resource-ref) to this queue

i also added resource-link entries in geronimo-web.xml and openEJB-jar.xml

this is in openEjb-jar.xml
session
ejb-nameCollectionService/ejb-name
jndi-nameejb/CollectionService/jndi-name
naming:resource-ref

naming:ref-namejms/AcevaPublisherConnectionFactory/naming:ref-name

naming:resource-linkjms/AcevaPublisherConnectionFactory/naming:resource-link
/naming:resource-ref
 naming:resource-ref

naming:ref-namejms/AcevaPublisherQueue/naming:ref-name

naming:resource-linkjms/AcevaPublisherQueue/naming:resource-link
/naming:resource-ref
/session


this is in geronimo-web.xml

naming:resource-ref

naming:ref-namejms/AcevaPublisherQueue/naming:ref-name

naming:resource-linkjms/AcevaPublisherQueue/naming:resource-link
/naming:resource-ref



any enviroment -  depency entry needed?

if yes

sys:dependency
sys:groupId?/sys:groupId (what
should i write here)

sys:artifactId???/sys:artifactId(what should i write
here)
/sys:dependency


--
Manish Satwani
Senior Software Engineer
Aceva Technologies | Unlock Your Working Capital
A-1501, Signature Towers - I,
South City, Gurgaon,
Haryana – 122001
Call at:
+91-124-2805091/92 Ext. 35
+91-99113-16998
Visit: http://www.aceva.com


Re: How to resolve JMS Dependency ?

2006-08-08 Thread Aaron Mulder

OK, let's back up a bit.

In order to reference JMS resources from a web app:

* For a connection factory, use a resource-ref (I think you did this)
* For a topic or queue in J2EE 1.4 / Servlet 2.4, use a
messsage-destination-ref
* For a topic or queue in J2EE  1.4 / Servlet  2.4, use a resource-env-ref

So your queue reference was not correct in the snippets you posted.
For a walkthrough of the correct syntax, see
http://chariotsolutions.com/geronimo/geronimo-1.1/web-plan.html#web-plan-jms
(section 11.3.5.5 has a discussion with examples of both styles).
Your EJB JAR used EJB 2.0, which suggests that you're using J2EE 1.3,
but you might be using Servlet 2.4 anyway, which would make the
difference.

If you want more specific help, you'll need to post your web.xml files.

Thanks,
Aaron

On 8/8/06, Manish Satwani [EMAIL PROTECTED] wrote:

Hi ,

I am new in geronimo  can you please tell me where exactly should i
change
I am attaching all configuration files here

I have 2 war in my ear thats why i attached 2 geronimo-web.xml


please help me

Thanks
Manish


On 8/8/06, Krishnakumar B [EMAIL PROTECTED] wrote:
 For referring to Queues u should use

 nam:resource-env-ref
 nam:ref-name/nam:ref-name
 admin-object-link/admin-object-link
 /nam:resource-env-ref

 or Message Destination Reference

 I think both would work


http://www.chariotsolutions.com/geronimo/geronimo-1.1/web-plan.html#web-plan-refs
 ( You can refer to resource-env-ref for J2EE Connector Administered
 Objects )

 Resource Environment Ref can be used to reference JMS Destinations.

 Regards
 Krishnakumar

 On 8/8/06, Manish Satwani  [EMAIL PROTECTED] wrote:
  Hi All,
 
  I am facing problem while deploying my ear on geronimo 1.1
 
  It is complaining regarding jms/AcevaPublisherQueue (my application need
  this)
 
  I have added this queue from console.
 
 we have acm.war file which also access (resource-ref) this queue
  and i have acevaEJB.jar which also have (resource-ref) to this queue
 
  i also added resource-link entries in geronimo-web.xml and
openEJB-jar.xml
 
  this is in openEjb-jar.xml
  session
  ejb-nameCollectionService/ejb-name
 
jndi-nameejb/CollectionService/jndi-name
  naming:resource-ref
 
 
naming:ref-namejms/AcevaPublisherConnectionFactory/naming:ref-name
 
 
naming:resource-linkjms/AcevaPublisherConnectionFactory/naming:resource-link
  /naming:resource-ref
   naming:resource-ref
 
 
naming:ref-namejms/AcevaPublisherQueue/naming:ref-name
 
 
naming:resource-linkjms/AcevaPublisherQueue/naming:resource-link
  /naming:resource-ref
  /session
 
 
  this is in geronimo-web.xml
 
  naming:resource-ref
 
 
naming:ref-namejms/AcevaPublisherQueue/naming:ref-name
 
 
naming:resource-linkjms/AcevaPublisherQueue/naming:resource-link
  /naming:resource-ref
 
 
 
  any enviroment -  depency entry needed?
 
  if yes
 
  sys:dependency
  sys:groupId?/sys:groupId
(what
  should i write here)
 
  sys:artifactId???/sys:artifactId(what should i
write
  here)
  /sys:dependency
 
 
  --
  Manish Satwani
  Senior Software Engineer
  Aceva Technologies | Unlock Your Working Capital
  A-1501, Signature Towers - I,
  South City, Gurgaon,
  Haryana – 122001
  Call at:
  +91-124-2805091/92 Ext. 35
  +91-99113-16998
  Visit: http://www.aceva.com




--

Manish Satwani
Senior Software Engineer
Aceva Technologies | Unlock Your Working Capital
A-1501, Signature Towers - I,
South City, Gurgaon,
Haryana – 122001
Call at:
+91-124-2805091/92 Ext. 35
+91-99113-16998
Visit: http://www.aceva.com