Hi Max,
> Hi Binod
>
> 1) I'm trying to understand that configuration for outbound message
> flow to foreign JMS provider via genericra, and see in the default
> ra.xml of genericra -
>
> <outbound-resourceadapter>
> <connection-definition>
> <managedconnectionfactory-class>
> *
> com.sun.genericra.outbound.ManagedQueueConnectionFactory
> * </managedconnectionfactory-class>
> .....
> <connection-definition>
> <managedconnectionfactory-class>
> *
> com.sun.genericra.outbound.ManagedTopicConnectionFactory
> * </managedconnectionfactory-class>
> <config-property>
>
> <config-property-name>ConnectionFactoryJndiName</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> </config-property>
> .....
> <connection-impl-class>
> com.sun.genericra.outbound.ConnectionHandle
> </connection-impl-class>
> </connection-definition>
>
> <connection-definition>
> <managedconnectionfactory-class>
>
> *com.sun.genericra.outbound.ManagedJMSConnectionFactory*
> </managedconnectionfactory-class>
> <config-property>
>
> <config-property-name>ConnectionFactoryJndiName</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> </config-property>
> .....
> <connection-impl-class>
> com.sun.genericra.outbound.ConnectionHandle
> </connection-impl-class>
> </connection-definition>
>
> while in J2CA 1.5 Spec p.287 sample ra.xml -
>
> <outbound-resourceadapter>
> <connection-definition>
> <managedconnectionfactory-class>
> *com.wombat.connector.jms.QueueManagedConnectionFactoryImpl*
> </managedconnectionfactory-class>
>
> What actually should we specify in the
> "managedconnectionfactory-class" element ?
It is the factory class that creates ManagedConnection objects
implemented by resource adapter.
In a high level, ManagedConnection means physical connection.
>
> 2) Also, I tried to use the Sun App Server 8.1 MDB simple-client
> example with the QCF and Q changed to those specifying the external
> JMS provider but then got (which I did not get before) -
>
> Jan 12, 2006 7:20:22 PM com.sun.enterprise.connectors.ActiveRAFactory
> createActiveResourceAdapter
> SEVERE: RAR6001 : Class Not found : com.sun.genericra.GenericJMSRA
> Jan 12, 2006 7:20:22 PM com.sun.enterprise.connectors.ActiveRAFactory
> createActiveResourceAdapter
> SEVERE:
> com.sun.enterprise.connectors.ConnectorRuntimeException: Error in
> creating active RAR
> at
> com.sun.enterprise.connectors.ActiveRAFactory.createActiveResourceAdapter(ActiveRAFactory.java:76)
> at
> com.sun.enterprise.connectors.ResourceAdapterAdminServiceImpl.createActiveResourceAdapter(ResourceAdapterAdminServiceImpl.java:267)
> at
> com.sun.enterprise.connectors.ConnectorRuntime.createActiveResourceAdapter(ConnectorRuntime.java:189)
> at
> com.sun.enterprise.naming.factory.AdministeredObjectFactory.getObjectInstance(AdministeredObjectFactory.java:75)
> at
> javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
>
> Why does it happen? Why is com.sun.genericra.GenericJMSRA NOT FOUND
> this time but not before?
I think, for some reason, deployment has failed. Please examine the
server.log and see, if any exception occured
while deployment.
thanks,
Binod.
>
> Thanks
>