• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.

 
Bartender
Posts: 667
14
TypeScript Fedora
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Where's the error?
 
jignesh kanjariya
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
You're not going crazy. You're going sane in a crazy word. Find comfort in this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic