Re: Resource Adapter Reference in MDB

2005-12-02 Thread David Jencks
Your resource adapter or the ra.xml is incomplete.  You need a  
ResourceAdapter implementation class to be declared in the ra.xml in  
order to drive message driven beans.


david jencks

On Dec 2, 2005, at 2:18 AM, Krishnakumar B wrote:


hi David,

The RA file



http://java.sun.com/xml/ns/j2ee";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee

http://java.sun.com/xml/ns/j2ee/connector_1_5.xsd"; version="1.5">

TestRA
Test EIS
1.0



class>com.test.connector.outbound.TestManagedConnectionFactorymanagedconnectionfactory-class>


jndi provider

url

java.lang.String


icf

icf

java.lang.String


name

name

java.lang.String

interface>com.test.connector.TestConnectionFactoryinterface>
class>com.test.connector.outbound.TestConnectionFactoryImplconnectionfactory-impl-class>
com.test.connector.TestConnectionconnection-interface>
class>com.test.connector.outbound.TestConnectionImplclass>


NoTransaction

false




	javax.jms.MessageListenertype>


		class>com.test.connector.inbound.TestActivationSpecImplactivationspec-class>



url



icf



name











I am using a snapshot version post M5.

Regards
Krishnakumar B

On 12/2/05, David Jencks <[EMAIL PROTECTED]> wrote:
After looking at the code I don't see how this is possible.  There's  
no

evidence the ResourceAdapterWrapper gbean is being started.  Could you
show the ra.xml please?  Exactly which version of geronimo are you
using?

thanks
david jencks

On Dec 2, 2005, at 1:36 AM, Krishnakumar B wrote:


hi,

I am trying to get a generic jms resource adapter working. The RA
delivers to MDB whose onMessage is activated.

The MDB openejb-jar.xml has a resource ref link


  
TestMDB

   TestRA
 
   



When deploying this MDB i get the following error.


Error: Unable to distribute wascemq.jar: Unknown resource adapter
reference

(query=geronimo.server:
J2EEApplication=null,J2EEServer=geronimo,j2eeType=JCA
ResourceAdapter,name=TestRA,*)

The RA is deployed successfully and i am able to invoke outbound
connections from a servlet.

The GBeans started have following pattern j2eeType = ResourceAdapter.

I also tried setting resource link to test/jms.rar with same results

Error: Unable to distribute wascemq.jar: Unknown resource adapter
reference

(query=geronimo.server:
J2EEApplication=null,J2EEServer=geronimo,j2eeType=JCA
ResourceAdapter,name=test/jms.rar,*)

I am lost here as to how to fix this. Any ideas or help would be
great

The RA plan is as follows




 TestRA

DefaultWorkManager




  


  
  TestFactory
  
  
  
  
  
  
  
  
  
  



The Geronimo log shows the following GBeans started successfully

GBeanInstanceState for: geronimo.config:name="test/jms.rar" State
changed from starting to running
GBeanInstanceState for:
geronimo.server:
J2EEApplication=null,J2EEServer=geronimo,j2eeType=ResourceAdapterModu 
le

,name=test/jms.rar
State changed from stopped to starting
GBeanInstanceState for:
geronimo.server:
J2EEApplication=null,J2EEServer=geronimo,j2eeType=ResourceAdapterModu 
le

,name=test/jms.rar
State changed from starting to running
GBeanInstanceState for:
geronimo.

Re: Resource Adapter Reference in MDB

2005-12-02 Thread Krishnakumar B
hi David,

The RA file



http://java.sun.com/xml/ns/j2ee";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
   
http://java.sun.com/xml/ns/j2ee/connector_1_5.xsd"; version="1.5">

TestRA
Test EIS
1.0




com.test.connector.outbound.TestManagedConnectionFactory

jndi provider

url

java.lang.String


icf

icf

java.lang.String


name

name

java.lang.String


com.test.connector.TestConnectionFactory

com.test.connector.outbound.TestConnectionFactoryImpl

com.test.connector.TestConnection

com.test.connector.outbound.TestConnectionImpl

NoTransaction

false





javax.jms.MessageListener


com.test.connector.inbound.TestActivationSpecImpl


url



icf



name











I am using a snapshot version post M5.

Regards
Krishnakumar B

On 12/2/05, David Jencks <[EMAIL PROTECTED]> wrote:
> After looking at the code I don't see how this is possible.  There's no
> evidence the ResourceAdapterWrapper gbean is being started.  Could you
> show the ra.xml please?  Exactly which version of geronimo are you
> using?
>
> thanks
> david jencks
>
> On Dec 2, 2005, at 1:36 AM, Krishnakumar B wrote:
>
> > hi,
> >
> > I am trying to get a generic jms resource adapter working. The RA
> > delivers to MDB whose onMessage is activated.
> >
> > The MDB openejb-jar.xml has a resource ref link
> >
> > 
> >   
> > TestMDB
> > 
> >TestRA
> >  
> >
> > 
> > 
> >
> > When deploying this MDB i get the following error.
> >
> >
> > Error: Unable to distribute wascemq.jar: Unknown resource adapter
> > reference
> >
> > (query=geronimo.server:
> > J2EEApplication=null,J2EEServer=geronimo,j2eeType=JCA
> > ResourceAdapter,name=TestRA,*)
> >
> > The RA is deployed successfully and i am able to invoke outbound
> > connections from a servlet.
> >
> > The GBeans started have following pattern j2eeType = ResourceAdapter.
> >
> > I also tried setting resource link to test/jms.rar with same results
> >
> > Error: Unable to distribute wascemq.jar: Unknown resource adapter
> > reference
> >
> > (query=geronimo.server:
> > J2EEApplication=null,J2EEServer=geronimo,j2eeType=JCA
> > ResourceAdapter,name=test/jms.rar,*)
> >
> > I am lost here as to how to fix this. Any ideas or help would be
> > great
> >
> > The RA plan is as follows
> >
> > 
> >
> > 
> >  TestRA
> > 
> > DefaultWorkManager
> > 
> > 
> >
> > 
> >   
> >
> > 
> >   
> >   TestFactory
> >> name="url">
> >> name="icf">
> >> name="name">
> >   
> >   
> >   
> >   
> >   
> >   
> >   
> >
> > 
> >
> > The Geronimo log shows the following GBeans started successfully
> >
> > GBeanInstanceState for: geronimo.config:name="test/jms.rar" State
> > changed from starting to running
> > GBeanInstanceState for:
> > geronimo.server:
> > J2EEApplication=null,J2EEServer=geronimo,j2eeType=ResourceAdapterModule
> > ,name=test/jms.rar
> > State changed from stopped to sta

Re: Resource Adapter Reference in MDB

2005-12-02 Thread David Jencks
After looking at the code I don't see how this is possible.  There's no  
evidence the ResourceAdapterWrapper gbean is being started.  Could you  
show the ra.xml please?  Exactly which version of geronimo are you  
using?


thanks
david jencks

On Dec 2, 2005, at 1:36 AM, Krishnakumar B wrote:


hi,

I am trying to get a generic jms resource adapter working. The RA
delivers to MDB whose onMessage is activated.

The MDB openejb-jar.xml has a resource ref link


  
TestMDB

   TestRA
 
   



When deploying this MDB i get the following error.


Error: Unable to distribute wascemq.jar: Unknown resource adapter
reference
 
(query=geronimo.server: 
J2EEApplication=null,J2EEServer=geronimo,j2eeType=JCA

ResourceAdapter,name=TestRA,*)

The RA is deployed successfully and i am able to invoke outbound
connections from a servlet.

The GBeans started have following pattern j2eeType = ResourceAdapter.

I also tried setting resource link to test/jms.rar with same results

Error: Unable to distribute wascemq.jar: Unknown resource adapter
reference
 
(query=geronimo.server: 
J2EEApplication=null,J2EEServer=geronimo,j2eeType=JCA

ResourceAdapter,name=test/jms.rar,*)

I am lost here as to how to fix this. Any ideas or help would be  
great


The RA plan is as follows




 TestRA

DefaultWorkManager





	 



TestFactory













The Geronimo log shows the following GBeans started successfully

GBeanInstanceState for: geronimo.config:name="test/jms.rar" State
changed from starting to running
GBeanInstanceState for:
geronimo.server: 
J2EEApplication=null,J2EEServer=geronimo,j2eeType=ResourceAdapterModule 
,name=test/jms.rar

State changed from stopped to starting
GBeanInstanceState for:
geronimo.server: 
J2EEApplication=null,J2EEServer=geronimo,j2eeType=ResourceAdapterModule 
,name=test/jms.rar

State changed from starting to running
GBeanInstanceState for:
geronimo.server: 
J2EEApplication=null,J2EEServer=geronimo,ResourceAdapter=test/ 
jms.rar,j2eeType=JCAResource,name=test/jms.rar

State changed from stopped to starting
GBeanInstanceState for:
geronimo.server: 
J2EEApplication=null,J2EEServer=geronimo,ResourceAdapter=test/ 
jms.rar,j2eeType=JCAResource,name=test/jms.rar

State changed from starting to running
GBeanInstanceState for:
geronimo.server: 
J2EEApplication=null,J2EEServer=geronimo,JCAResource=test/ 
jms.rar,j2eeType=JCAConnectionManager,name=TestFactory

State changed from stopped to starting
GBeanInstanceState for:
geronimo.server: 
J2EEApplication=null,J2EEServer=geronimo,JCAResource=test/ 
jms.rar,j2eeType=JCAConnectionManager,name=TestFactory

State changed from starting to running
GBeanInstanceState for:
geronimo.server: 
J2EEApplication=null,J2EEServer=geronimo,JCAResource=test/ 
jms.rar,j2eeType=JCAConnectionFactory,name=TestFactory

State changed from stopped to starting
GBeanInstanceState for:
geronimo.server: 
J2EEApplication=null,J2EEServer=geronimo,JCAResource=test/ 
jms.rar,j2eeType=JCAConnectionFactory,name=TestFactory

State changed from starting to running
GBeanInstanceState for:
geronimo.server: 
J2EEApplication=null,J2EEServer=geronimo,ResourceAdapterModule=test/ 
jms.rar,j2eeType=ResourceAdapter,name=test/jms.rar

State changed from stopped to starting
GBeanInstanceState for:
geronimo.server: 
J2EEApplication=null,J2EEServer=geronimo,ResourceAdapterModule=test/ 
jms.rar,j2eeType=ResourceAdapter,name=test/jms.rar

State changed from starting to running
GBeanInstanceState for:
geronimo.server: 
J2EEApplication=null,J2EEServer=geronimo,JCAResource=test/ 
jms.rar,j2eeType=JCAManagedConnectionFactory,name=TestFactory

State changed from stopped to starting
GBeanInstanceState for:
geronimo.server: 
J2EEApplication=null,J2EEServer=geronimo,JCAResource=test/ 
jms.rar,j2eeType=JCAManagedConnectionFactory,name=TestFactory

State changed from starting to running

Regards
Krishnakumar B





Resource Adapter Reference in MDB

2005-12-02 Thread Krishnakumar B
hi,

I am trying to get a generic jms resource adapter working. The RA
delivers to MDB whose onMessage is activated.

The MDB openejb-jar.xml has a resource ref link


  
TestMDB

   TestRA
 
   



When deploying this MDB i get the following error.


Error: Unable to distribute wascemq.jar: Unknown resource adapter
reference
(query=geronimo.server:J2EEApplication=null,J2EEServer=geronimo,j2eeType=JCA
ResourceAdapter,name=TestRA,*)

The RA is deployed successfully and i am able to invoke outbound
connections from a servlet.

The GBeans started have following pattern j2eeType = ResourceAdapter.

I also tried setting resource link to test/jms.rar with same results

Error: Unable to distribute wascemq.jar: Unknown resource adapter
reference
(query=geronimo.server:J2EEApplication=null,J2EEServer=geronimo,j2eeType=JCA
ResourceAdapter,name=test/jms.rar,*)

I am lost here as to how to fix this. Any ideas or help would be great

The RA plan is as follows




 TestRA

DefaultWorkManager








TestFactory













The Geronimo log shows the following GBeans started successfully

GBeanInstanceState for: geronimo.config:name="test/jms.rar" State
changed from starting to running
GBeanInstanceState for:
geronimo.server:J2EEApplication=null,J2EEServer=geronimo,j2eeType=ResourceAdapterModule,name=test/jms.rar
State changed from stopped to starting
GBeanInstanceState for:
geronimo.server:J2EEApplication=null,J2EEServer=geronimo,j2eeType=ResourceAdapterModule,name=test/jms.rar
State changed from starting to running
GBeanInstanceState for:
geronimo.server:J2EEApplication=null,J2EEServer=geronimo,ResourceAdapter=test/jms.rar,j2eeType=JCAResource,name=test/jms.rar
State changed from stopped to starting
GBeanInstanceState for:
geronimo.server:J2EEApplication=null,J2EEServer=geronimo,ResourceAdapter=test/jms.rar,j2eeType=JCAResource,name=test/jms.rar
State changed from starting to running
GBeanInstanceState for:
geronimo.server:J2EEApplication=null,J2EEServer=geronimo,JCAResource=test/jms.rar,j2eeType=JCAConnectionManager,name=TestFactory
State changed from stopped to starting
GBeanInstanceState for:
geronimo.server:J2EEApplication=null,J2EEServer=geronimo,JCAResource=test/jms.rar,j2eeType=JCAConnectionManager,name=TestFactory
State changed from starting to running
GBeanInstanceState for:
geronimo.server:J2EEApplication=null,J2EEServer=geronimo,JCAResource=test/jms.rar,j2eeType=JCAConnectionFactory,name=TestFactory
State changed from stopped to starting
GBeanInstanceState for:
geronimo.server:J2EEApplication=null,J2EEServer=geronimo,JCAResource=test/jms.rar,j2eeType=JCAConnectionFactory,name=TestFactory
State changed from starting to running
GBeanInstanceState for:
geronimo.server:J2EEApplication=null,J2EEServer=geronimo,ResourceAdapterModule=test/jms.rar,j2eeType=ResourceAdapter,name=test/jms.rar
State changed from stopped to starting
GBeanInstanceState for:
geronimo.server:J2EEApplication=null,J2EEServer=geronimo,ResourceAdapterModule=test/jms.rar,j2eeType=ResourceAdapter,name=test/jms.rar
State changed from starting to running
GBeanInstanceState for:
geronimo.server:J2EEApplication=null,J2EEServer=geronimo,JCAResource=test/jms.rar,j2eeType=JCAManagedConnectionFactory,name=TestFactory
State changed from stopped to starting
GBeanInstanceState for:
geronimo.server:J2EEApplication=null,J2EEServer=geronimo,JCAResource=test/jms.rar,j2eeType=JCAManagedConnectionFactory,name=TestFactory
State changed from starting to running

Regards
Krishnakumar B