0 Replies Latest reply on Apr 9, 2010 4:41 AM by Frank Bitzer

    Remote ServiceInvoker from JBoss AS

    Frank Bitzer Newbie

      Hi there,

       

      in our application, we are using a JBoss AS 5.1 server and - on another machine - a JBoss ESB 4.7. instance. The .esb modules are deployed to the JBoss ESB server. On the JBoss AS, we deploy an EAR file.

       

      Now I'm getting into serious trouble invoking the ESB services remotely from the AS using ServiceInvoker class.

       

      I already created a simple JAR project for the remote ServiceInvoker with all the config files and dependencies (I'm using Maven). And it works just fine!

       

      However, when I use the same config files and dependencies to package an EAR and deploy it to Jboss AS 5.1, it can not invoke the services. It seems like it can not find the jbossesb-properties.xml file. I get the following stacktrace:

       

      10:15:40,072 DEBUG [RegistryFactory] Going to load null
      10:15:40,072 INFO  [SecurityGroupFunctions] ----ERROR creating security group----
      10:15:40,072 ERROR [STDERR] org.jboss.soa.esb.listeners.message.MessageDeliverException: Invocation exception. null
      10:15:40,074 ERROR [STDERR]     at org.jboss.soa.esb.client.ServiceInvoker.loadServiceClusterInfo(ServiceInvoker.java:545)
      10:15:40,076 ERROR [STDERR]     at org.jboss.soa.esb.client.ServiceInvoker.<init>(ServiceInvoker.java:174)
      10:15:40,077 ERROR [STDERR]     at org.jboss.soa.esb.client.ServiceInvoker.<init>(ServiceInvoker.java:155)
      10:15:40,079 ERROR [STDERR]     at org.jboss.soa.esb.client.ServiceInvoker.<init>(ServiceInvoker.java:197)
      10:15:40,080 ERROR [STDERR]     at cloud.utils.RemoteServiceInvoker.invokeServiceSync(RemoteServiceInvoker.java:41)
      10:15:40,082 ERROR [STDERR]     at cloud.controller.service.impl.helper.SecurityGroupFunctions.createGroup(SecurityGroupFunctions.java:92)
      10:15:40,083 ERROR [STDERR]     at cloud.controller.service.impl.ControllerServiceBean.ec2CreateSecurityGroup(ControllerServiceBean.java:640)
      10:15:40,085 ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      10:15:40,087 ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      10:15:40,088 ERROR [STDERR]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      10:15:40,090 ERROR [STDERR]     at java.lang.reflect.Method.invoke(Method.java:597)
      10:15:40,091 ERROR [STDERR]     at org.jboss.aop.joinpoint.MethodInvocation.invokeTarget(MethodInvocation.java:122)
      10:15:40,093 ERROR [STDERR]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:111)
      10:15:40,094 ERROR [STDERR]     at org.jboss.ejb3.EJBContainerInvocationWrapper.invokeNext(EJBContainerInvocationWrapper.java:69)
      10:15:40,096 ERROR [STDERR]     at org.jboss.ejb3.interceptors.aop.InterceptorSequencer.invoke(InterceptorSequencer.java:73)
      10:15:40,098 ERROR [STDERR]     at org.jboss.ejb3.interceptors.aop.InterceptorSequencer.aroundInvoke(InterceptorSequencer.java:59)
      10:15:40,099 ERROR [STDERR]     at sun.reflect.GeneratedMethodAccessor268.invoke(Unknown Source)
      10:15:40,101 ERROR [STDERR]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      10:15:40,102 ERROR [STDERR]     at java.lang.reflect.Method.invoke(Method.java:597)
      10:15:40,104 ERROR [STDERR]     at org.jboss.aop.advice.PerJoinpointAdvice.invoke(PerJoinpointAdvice.java:174)
      10:15:40,105 ERROR [STDERR]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      10:15:40,107 ERROR [STDERR]     at org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor.fillMethod(InvocationContextInterceptor.java:72)
      10:15:40,109 ERROR [STDERR]     at org.jboss.aop.advice.org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor_z_fillMethod_23150623.invoke(Inv
      ontextInterceptor_z_fillMethod_23150623.java)
      10:15:40,110 ERROR [STDERR]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      10:15:40,112 ERROR [STDERR]     at org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor.setup(InvocationContextInterceptor.java:88)
      10:15:40,113 ERROR [STDERR]     at org.jboss.aop.advice.org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor_z_setup_23150623.invoke(Invocati
      tInterceptor_z_setup_23150623.java)
      10:15:40,115 ERROR [STDERR]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      10:15:40,117 ERROR [STDERR]     at org.jboss.ejb3.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:62)
      10:15:40,118 ERROR [STDERR]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      10:15:40,120 ERROR [STDERR]     at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.j
      10:15:40,121 ERROR [STDERR]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      10:15:40,123 ERROR [STDERR]     at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
      10:15:40,124 ERROR [STDERR]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      10:15:40,126 ERROR [STDERR]     at org.jboss.ejb3.tx.NullInterceptor.invoke(NullInterceptor.java:42)
      10:15:40,128 ERROR [STDERR]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      10:15:40,129 ERROR [STDERR]     at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:68)
      10:15:40,131 ERROR [STDERR]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      10:15:40,132 ERROR [STDERR]     at org.jboss.aspects.tx.TxPolicy.invokeInNoTx(TxPolicy.java:66)
      10:15:40,134 ERROR [STDERR]     at org.jboss.ejb3.tx.TxInterceptor$NotSupported.invoke(TxInterceptor.java:92)
      10:15:40,136 ERROR [STDERR]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      10:15:40,137 ERROR [STDERR]     at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
      10:15:40,139 ERROR [STDERR]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      10:15:40,140 ERROR [STDERR]     at org.jboss.ejb3.tx.NullInterceptor.invoke(NullInterceptor.java:42)
      10:15:40,142 ERROR [STDERR]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      10:15:40,143 ERROR [STDERR]     at org.jboss.ejb3.security.RoleBasedAuthorizationInterceptorv2.invoke(RoleBasedAuthorizationInterceptorv2.java:201)
      10:15:40,145 ERROR [STDERR]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      10:15:40,147 ERROR [STDERR]     at org.jboss.ejb3.security.Ejb3AuthenticationInterceptorv2.invoke(Ejb3AuthenticationInterceptorv2.java:186)
      10:15:40,148 ERROR [STDERR]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      10:15:40,150 ERROR [STDERR]     at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:41)
      10:15:40,151 ERROR [STDERR]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      10:15:40,153 ERROR [STDERR]     at org.jboss.ejb3.BlockContainerShutdownInterceptor.invoke(BlockContainerShutdownInterceptor.java:67)
      10:15:40,154 ERROR [STDERR]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      10:15:40,156 ERROR [STDERR]     at org.jboss.aspects.currentinvocation.CurrentInvocationInterceptor.invoke(CurrentInvocationInterceptor.java:67)
      10:15:40,158 ERROR [STDERR]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      10:15:40,159 ERROR [STDERR]     at org.jboss.ejb3.session.SessionSpecContainer.invoke(SessionSpecContainer.java:176)
      10:15:40,161 ERROR [STDERR]     at org.jboss.ejb3.session.SessionSpecContainer.invoke(SessionSpecContainer.java:216)
      10:15:40,162 ERROR [STDERR]     at org.jboss.ejb3.proxy.impl.handler.session.SessionProxyInvocationHandlerBase.invoke(SessionProxyInvocationHandlerBa
      207)
      10:15:40,164 ERROR [STDERR]     at org.jboss.ejb3.proxy.impl.handler.session.SessionProxyInvocationHandlerBase.invoke(SessionProxyInvocationHandlerBa
      164)
      10:15:40,166 ERROR [STDERR]     at $Proxy358.ec2CreateSecurityGroup(Unknown Source)
      10:15:40,167 ERROR [STDERR]     at cloud.controller.facade.impl.ControllerFacadeBean.createSecurityGroup(ControllerFacadeBean.java:127)
      10:15:40,169 ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      10:15:40,170 ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      10:15:40,172 ERROR [STDERR]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      10:15:40,174 ERROR [STDERR]     at java.lang.reflect.Method.invoke(Method.java:597)
      10:15:40,175 ERROR [STDERR]     at org.jboss.aop.joinpoint.MethodInvocation.invokeTarget(MethodInvocation.java:122)
      10:15:40,177 ERROR [STDERR]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:111)
      10:15:40,178 ERROR [STDERR]     at org.jboss.ejb3.EJBContainerInvocationWrapper.invokeNext(EJBContainerInvocationWrapper.java:69)
      10:15:40,180 ERROR [STDERR]     at org.jboss.ejb3.interceptors.aop.InterceptorSequencer.invoke(InterceptorSequencer.java:73)
      10:15:40,182 ERROR [STDERR]     at org.jboss.ejb3.interceptors.aop.InterceptorSequencer.aroundInvoke(InterceptorSequencer.java:59)
      10:15:40,183 ERROR [STDERR]     at sun.reflect.GeneratedMethodAccessor268.invoke(Unknown Source)
      10:15:40,185 ERROR [STDERR]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      10:15:40,186 ERROR [STDERR]     at java.lang.reflect.Method.invoke(Method.java:597)
      10:15:40,188 ERROR [STDERR]     at org.jboss.aop.advice.PerJoinpointAdvice.invoke(PerJoinpointAdvice.java:174)
      10:15:40,190 ERROR [STDERR]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      10:15:40,191 ERROR [STDERR]     at org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor.fillMethod(InvocationContextInterceptor.java:72)
      10:15:40,193 ERROR [STDERR]     at org.jboss.aop.advice.org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor_z_fillMethod_23150623.invoke(Inv
      ontextInterceptor_z_fillMethod_23150623.java)
      10:15:40,195 ERROR [STDERR]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      10:15:40,196 ERROR [STDERR]     at org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor.setup(InvocationContextInterceptor.java:88)
      10:15:40,198 ERROR [STDERR]     at org.jboss.aop.advice.org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor_z_setup_23150623.invoke(Invocati
      tInterceptor_z_setup_23150623.java)
      10:15:40,199 ERROR [STDERR]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      10:15:40,201 ERROR [STDERR]     at org.jboss.ejb3.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:62)
      10:15:40,203 ERROR [STDERR]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      10:15:40,204 ERROR [STDERR]     at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.j
      10:15:40,206 ERROR [STDERR]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      10:15:40,208 ERROR [STDERR]     at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
      10:15:40,209 ERROR [STDERR]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      10:15:40,211 ERROR [STDERR]     at org.jboss.ejb3.tx.NullInterceptor.invoke(NullInterceptor.java:42)
      10:15:40,212 ERROR [STDERR]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      10:15:40,214 ERROR [STDERR]     at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:68)
      10:15:40,216 ERROR [STDERR]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      10:15:40,217 ERROR [STDERR]     at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
      10:15:40,219 ERROR [STDERR]     at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:190)
      10:15:40,221 ERROR [STDERR]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      10:15:40,222 ERROR [STDERR]     at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
      10:15:40,224 ERROR [STDERR]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      10:15:40,225 ERROR [STDERR]     at org.jboss.ejb3.tx.NullInterceptor.invoke(NullInterceptor.java:42)
      10:15:40,227 ERROR [STDERR]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      10:15:40,229 ERROR [STDERR]     at org.jboss.ejb3.security.RoleBasedAuthorizationInterceptorv2.invoke(RoleBasedAuthorizationInterceptorv2.java:201)
      10:15:40,230 ERROR [STDERR]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      10:15:40,232 ERROR [STDERR]     at org.jboss.ejb3.security.Ejb3AuthenticationInterceptorv2.invoke(Ejb3AuthenticationInterceptorv2.java:186)
      10:15:40,234 ERROR [STDERR]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      10:15:40,235 ERROR [STDERR]     at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:41)
      10:15:40,237 ERROR [STDERR]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      10:15:40,238 ERROR [STDERR]     at org.jboss.ejb3.BlockContainerShutdownInterceptor.invoke(BlockContainerShutdownInterceptor.java:67)
      10:15:40,240 ERROR [STDERR]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      10:15:40,242 ERROR [STDERR]     at org.jboss.aspects.currentinvocation.CurrentInvocationInterceptor.invoke(CurrentInvocationInterceptor.java:67)
      10:15:40,243 ERROR [STDERR]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      10:15:40,245 ERROR [STDERR]     at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:306)
      10:15:40,247 ERROR [STDERR]     at org.jboss.ejb3.stateless.StatelessContainer.invokeEndpoint(StatelessContainer.java:662)
      10:15:40,248 ERROR [STDERR]     at org.jboss.wsf.container.jboss50.invocation.InvocationHandlerEJB3.invoke(InvocationHandlerEJB3.java:96)
      10:15:40,250 ERROR [STDERR]     at org.jboss.ws.core.server.ServiceEndpointInvoker.invoke(ServiceEndpointInvoker.java:222)
      10:15:40,251 ERROR [STDERR]     at org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:474)
      10:15:40,253 ERROR [STDERR]     at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:295)
      10:15:40,255 ERROR [STDERR]     at org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:205)
      10:15:40,256 ERROR [STDERR]     at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:131)
      10:15:40,258 ERROR [STDERR]     at org.jboss.wsf.common.servlet.AbstractEndpointServlet.service(AbstractEndpointServlet.java:85)
      10:15:40,259 ERROR [STDERR]     at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      10:15:40,261 ERROR [STDERR]     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      10:15:40,263 ERROR [STDERR]     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      10:15:40,264 ERROR [STDERR]     at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      10:15:40,266 ERROR [STDERR]     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      10:15:40,267 ERROR [STDERR]     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      10:15:40,269 ERROR [STDERR]     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
      10:15:40,271 ERROR [STDERR]     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      10:15:40,272 ERROR [STDERR]     at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
      10:15:40,274 ERROR [STDERR]     at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
      10:15:40,275 ERROR [STDERR]     at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126
      10:15:40,277 ERROR [STDERR]     at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
      10:15:40,279 ERROR [STDERR]     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      10:15:40,280 ERROR [STDERR]     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      10:15:40,282 ERROR [STDERR]     at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
      10:15:40,284 ERROR [STDERR]     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      10:15:40,285 ERROR [STDERR]     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
      10:15:40,287 ERROR [STDERR]     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
      10:15:40,289 ERROR [STDERR]     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
      10:15:40,290 ERROR [STDERR]     at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
      10:15:40,292 ERROR [STDERR]     at java.lang.Thread.run(Thread.java:619)
      10:15:40,294 ERROR [STDERR] Caused by: org.jboss.soa.esb.services.registry.RegistryException: Invocation exception. null
      10:15:40,295 ERROR [STDERR]     at org.jboss.soa.esb.services.registry.RegistryFactory.createRegistry(RegistryFactory.java:121)
      10:15:40,297 ERROR [STDERR]     at org.jboss.soa.esb.services.registry.RegistryFactory.getRegistry(RegistryFactory.java:86)
      10:15:40,298 ERROR [STDERR]     at org.jboss.soa.esb.listeners.RegistryUtil.getEprs(RegistryUtil.java:220)
      10:15:40,300 ERROR [STDERR]     at org.jboss.soa.esb.client.ServiceInvoker.loadServiceClusterInfo(ServiceInvoker.java:532)
      10:15:40,301 ERROR [STDERR]     ... 136 more
      10:15:40,303 ERROR [STDERR] Caused by: java.lang.NullPointerException
      10:15:40,305 ERROR [STDERR]     at java.lang.Class.forName0(Native Method)
      10:15:40,306 ERROR [STDERR]     at java.lang.Class.forName(Class.java:247)
      10:15:40,308 ERROR [STDERR]     at org.jboss.soa.esb.util.ClassUtil.forName(ClassUtil.java:65)
      10:15:40,310 ERROR [STDERR]     at org.jboss.soa.esb.services.registry.RegistryFactory.createRegistry(RegistryFactory.java:110)
      10:15:40,311 ERROR [STDERR]     ... 139 more

       

       

      Especially note the debug output

       

      10:15:40,072 DEBUG [RegistryFactory] Going to load  null

       

      After some research in the RegistryFactory source code, I found out that it should load a class that is specified in the property

      org.jboss.soa.esb.registry.implementationClass in the jbossesb-properties.xml file at this place.

      Does anyone know where to put the jbossesb-properties.xml in the EAR or in JBoss AS 5.1 so that it can be found?

      Are there any samples for a remote ServiceInvoker from an application deployed to a JBoss AS 5.1 instance?

      Any help would be appreciated, I'm totally stuck

      Thanks,
      Frank