Open glassfishrobot opened 13 years ago
Reported by riduidel
riduidel said: Seems like it is due to CreateDomainMacro#createJMSDestination which creates, as first step, a resource corresponding to existing connectionFactory. I don't know how to do it, but, to my mind, a solution would be to query existing connection factories (using list-jms-resources with the correct type see http://download.oracle.com/docs/cd/E18930_01/html/821-2433/list-jms-resources-1.html#scrolltoc) before trying to create current one. No ?
This issue was imported from java.net JIRA MAVEN_GLASSFISH_PLUGIN-9
When defining in a domain configuration more than one JMS destination (or one JMS destination and one JMS connection factory), the plugin tries to create the connection factory more than once, and fails.
As an example, with the following domain infos
Running mvn glassfish:create-domain -e will generate the following error log
Environment
Windows XP, Glassfish 3.0.1, maven-glassfish-plugin 2.1
Affected Versions
[current]