1 Reply Latest reply on Oct 9, 2013 11:30 AM by Sheeraz Junejo

    Add new connection definitions fails in jboss 7.1.1.Final with error

    Sheeraz Junejo Newbie



      We have custom JCA 1.5 Resource Adapter which works OK jboss 4, 5 and 6. But now we are trying to port this Adapter on jboss 7.1.1 Final.


      I have successfully (I think) deployed the resource adapter by following the steps mentioned here https://access.redhat.com/site/documentation/en-US/JBoss_Enterprise_Application_Platform/6/html/Administration_and_Confi… via console under 'Runtime -> Manage Deployments -> Add -> Select RA archive -> Finish -> Enable' and it got enabled successfully. Now I am trying to create a Connection Definition (the one we use to make in *-ds.xml) so that my web application can lookup and use it via Console and it gives me error as soon as I press 'Save'.


      Let me give you the steps;


      1) From 'Profile -> Connector -> Resource Adapters -> myra-ra.rar -> View -> Add'

      2) Jndi-Name : java:jboss/jca/mycf - Connection class: com.company.abc.xyz.outbound.MyManagedConnectionFactory and Press 'Next'

      3) Add a key: name and value: MyConnectionFactory and press 'Save' and I get following output in image pane as response;


      HTTP Response 500 with reason as 'background-validation-millis value defined should be > 0'


      I haven't added this value, where is it picking up from and why its complaining about. Could you please help me find out how to create a connection factory please.