• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

EJBCLIENT000025: No EJB receiver available for handling error when EJB call happen spring boot appli

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have trying to configure JNDI property and then trying to connection between spring boot and other non spring boot context. but connection done not created and when we trying to get data its give following error.

This is was i do for configration :
@Bean  
public Context context() throws NamingException {
   Properties jndiProps = new Properties();
   jndiProps.put("java.naming.factory.initial", "org.jboss.naming.remote.client.InitialContextFactory");
   jndiProps.put("jboss.naming.client.ejb.context", true);
   jndiProps.put("java.naming.provider.url",  "http-remoting://192.168.101.136:8080");
   jndiProps.put( Context.URL_PKG_PREFIXES, "org.jboss.ejb.client.naming" );
   jndiProps.put( Context.SECURITY_PRINCIPAL, "admin" );
   jndiProps.put( Context.SECURITY_CREDENTIALS, "jboss" );
   return new InitialContext(jndiProps);
}


@Bean
public Users userDelegate(Context context) throws NamingException {

   return (Users) context.lookup(this.getFullName(Users.class));
}

private String getFullName(Class classType) {
   String moduleName = "collab-ejb/";
   String beanName = classType.getSimpleName();
   String viewClassName = classType.getName();
   return "java:global/collab-ear/" +moduleName + beanName + "!" + viewClassName;
}

Error :

EJBCLIENT000025: No EJB receiver available for handling [appName:collab-ear, moduleName:collab-ejb, distinctName:] combination for invocation context org.jboss.ejb.client.EJBClientInvocationContext@39ec1f5a




we are looking for RMI connection between springboot context and EJB context in wildfly server.Please suggest any way to get data with EJB call.

 
Master Rancher
Posts: 451
6
IntelliJ IDE Spring Fedora
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Where's the error?
 
jignesh kanjariya
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have post the error .please check and give a solution how we can achieve in spring-boot to wild-fly server context.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!