-
1. Re: java.lang.IllegalStateException: EJBCLIENT000025: No EJB receiver available with jndi.properties
rzvikas May 7, 2013 7:37 AM (in response to rzvikas)Can I replace jboss-ejb-client.properties with jndi.properties ?
-
2. Re: java.lang.IllegalStateException: EJBCLIENT000025: No EJB receiver available with jndi.properties
jaikiran May 8, 2013 2:11 AM (in response to rzvikas)jboss-ejb-client.properties and jndi.properties are meant for two different things and aren't meant to replace one another.
-
3. Re: java.lang.IllegalStateException: EJBCLIENT000025: No EJB receiver available with jndi.properties
rzvikas May 8, 2013 10:05 AM (in response to jaikiran)ok, Can I use just use jndi.properties to make connection from client to server without jboss-ejb-client.properties with JBOSS 7.2.0.Final ?
jndi.properties :
java.naming.factory.initial=org.jboss.naming.remote.client.InitialContextFactory
java.naming.factory.url.pkgs=org.jboss.ejb.client.naming
java.naming.provider.url=remote://localhost:4547
java.naming.security.principal=admin1
java.naming.security.credentials=sample!23
-
4. Re: java.lang.IllegalStateException: EJBCLIENT000025: No EJB receiver available with jndi.properties
jaikiran May 8, 2013 10:44 AM (in response to rzvikas)See this https://docs.jboss.org/author/display/AS71/Remote+EJB+invocations+via+JNDI+-+EJB+client+API+or+remote-naming+project. It explains what can be done using EJB client API and what can be done using remote naming
-
5. Re: java.lang.IllegalStateException: EJBCLIENT000025: No EJB receiver available with jndi.properties
frrosty May 14, 2013 11:46 AM (in response to rzvikas)im getting the same issue as you on this
-
6. Re: java.lang.IllegalStateException: EJBCLIENT000025: No EJB receiver available with jndi.properties
ramsrib Jul 7, 2013 4:46 AM (in response to rzvikas)I faced the same issue & tried all the possibilities to fix this.
At last, I found the solution :
Eariliear, I used this jar files to resolve dependencies which acutal caused the failure.
jboss-ejb-client-1.0.5.Final.jar
jboss-marshalling-1.3.11.GA.jar
jboss-remoting-3.2.3.GA.jar
xnio-api-3.0.3.GA.jarxnio-nio-3.0.3.GA.jar
jboss-sasl-1.0.0.Final.jar
Now, I removed all the above jar from library & just added this following jar alone which fixed the issue.
jboss/bin/client/jboss-client.jar
This jboss-client.jar contains the classes required for remote JMS and EJB usage, and consists of the following shaded artifacts:
org.jboss.spec.javax.jms:jboss-jms-api_1.1_spec
org.jboss.spec.javax.transaction:jboss-transaction-api_1.1_spec
org.jboss.spec.javax.ejb:jboss-ejb-api_3.1_spec
org.jboss:jboss-remote-naming
org.jboss.logging:jboss-logging
org.jboss.marshalling:jboss-marshalling
org.jboss.marshalling:jboss-marshalling-river
org.jboss.remoting3:jboss-remoting
org.jboss.remoting3:remoting-jmx
org.jboss.sasl:jboss-sasl
org.jboss.xnio:xnio-api
org.jboss.xnio:xnio-nio
org.jboss.netty:netty
org.hornetq:hornetq-core-client
org.hornetq:hornetq-jms-client
-
7. Re: java.lang.IllegalStateException: EJBCLIENT000025: No EJB receiver available with jndi.properties
javafoot Dec 3, 2013 9:19 PM (in response to ramsrib)Please try this property:
jndiProps.put("jboss.naming.client.ejb.context", true);// MUST have.
-
8. Re: java.lang.IllegalStateException: EJBCLIENT000025: No EJB receiver available with jndi.properties
champagne Mar 8, 2016 1:04 AM (in response to rzvikas)No, you can't invoke EJB withoutjboss-ejb-client.properties.
jboss-ejb-client.properties is required in JBoss AS 7 and WildFly AS.
And don't forget to place jboss-ejb-client.properties under war/WEB-INF/ or ear/META-INF/.