Unable to connect to registry
gwstern Mar 20, 2007 7:45 PMHi,
I'm trying to setup a simple ZUL->Spring->gateway->ESB->queue->Listener->Action and back flow. I've got the ZUL->Spring->ESB part working but when I try to invoke the Action I get:
16:24:43,092 ERROR [JAXRRegistryImpl] Could not set up a connection to the Registry. Failed to create instance of: null javax.xml.registry.JAXRException: Failed to create instance of: null
when I call registry.findEPR ('ConfigurationManagement', 'whoAmI');
I've using the default JUDDI stuff and I get no errors when I start or redeploy but once I try to call my action, JBossConfigurationManagementAction(), I get this error. I've got two wars:
o) GUI.war which contains the ZUL stuff (this seems to work fine)
o) config_mgr.war which contains my service (subclassing ActionProcessor) and jbossesb.xml
<jbossesb xmlns="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.0.xsd" parameterReloadSecs="5000"> <providers> <jms-provider name="JBossMQ" connection-factory="ConnectionFactory" jndi-context-factory="org.jnp.interfaces.NamingContextFactory" jndi-URL="localhost"> <jms-bus busid="quickstartGwChannel"> <jms-message-filter dest-type="QUEUE" dest-name="queue/A" /> </jms-bus> <jms-bus busid="ConfigurationManagementWhoAmI"> <jms-message-filter dest-type="QUEUE" dest-name="queue/B" selector="function='request' "/> </jms-bus> </jms-provider> </providers> <services> <service category="ConfigurationManagement" name="whoAmI" description="Who Am I"> <listeners> <jms-listener name="JMS-Gateway" busidref="quickstartGwChannel" maxThreads="1" is-gateway="true" /> <jms-listener name="whoAmI" busidref="ConfigurationManagementWhoAmI" maxThreads="1"/> </listeners> <actions> <action class="com.jeppesen.aoc.configurationmanagement.JBossConfigurationManagementAction" name="action1"> </action> </actions> </service> </services> </jbossesb>
Questions:
1) I'm not using StandAloneBootStrapper - should I be ?
2) Does the jbossesb.xml file need to be called jbossesb.xml ?
3) Does the jbossesb.xml file need to be in WEB-INF or the root ?
I know I'm overlooking something simple but I just can find it.