1 Reply Latest reply: Dec 2, 2010 9:39 PM by wilson.t RSS

    configuration attributes cannot be mixed

    818879
      Hi,

      I am trying to deploy the examples from the following article: http://www.oracle.com/technetwork/articles/luttikhuizen-adapters-091679.html

      However I get the following exception when I deploy the MailResourceAdapterClient:

      Unable to deploy EJB: D:\Oracle\Middleware\home_11gR1\user_projects\domains\dev_domain\servers\AdminServer\tmp\_WL_user\MailResourceAdapterClient\542bc\MailResourceAdapterClient.jar from MailResourceAdapterClient.jar:

      The ResourceAdapterJNDIName configuration attributes cannot be mixed with any of the following settings: JmsClientId, JmsPollingIntervalSeconds, MaxMessagesInTransaction, DurableSubscriptionDeletion, DistributedDestinationConnection,use81StylePolling,ConnectionFactoryResourceLink, DestinationResourceLink, InitialContextFactory, providerUrl, connectionFactoryJNDIName, destinationJNDIName. .  Please ensure they are mutually exclusive for ejb MailResourceAdapterClientMDBBean(Application: MailResourceAdapterClient, EJBComponent: MailResourceAdapterClient.jar).

      +.+
      +[09:09:43 AM] Weblogic Server Exception: weblogic.application.ModuleException: Exception preparing module: EJBModule(MailResourceAdapterClient.jar)+


      Unable to deploy EJB: D:\Oracle\Middleware\home_11gR1\user_projects\domains\dev_domain\servers\AdminServer\tmp\_WL_user\MailResourceAdapterClient\542bc\MailResourceAdapterClient.jar from MailResourceAdapterClient.jar:

      The ResourceAdapterJNDIName configuration attributes cannot be mixed with any of the following settings: JmsClientId, JmsPollingIntervalSeconds, MaxMessagesInTransaction, DurableSubscriptionDeletion, DistributedDestinationConnection,use81StylePolling,ConnectionFactoryResourceLink, DestinationResourceLink, InitialContextFactory, providerUrl, connectionFactoryJNDIName, destinationJNDIName. .  Please ensure they are mutually exclusive for ejb MailResourceAdapterClientMDBBean(Application: MailResourceAdapterClient, EJBComponent: MailResourceAdapterClient.jar).


      I already checked that none of the properties in the ejb-jar.xml have one of the names mentioned in the error. Any idea what might cause this exception?

      The strange thing is that I tried the exact same deployment before and then it did work....