Ich verwende EJB 3.0 mit JBoss AS 7.1.1 Final. Ich erhalte diese Störung, wenn ich versuche, meinen Client mit dem Server zu verbinden:Kein EJB-Empfänger für die Verarbeitung verfügbar
Aug 15, 2012 12:05:00 PM org.jboss.ejb.client.EJBClient <clinit>
INFO: JBoss EJB Client version 1.0.5.Final
Exception in thread "main" java.lang.IllegalStateException: No EJB receiver available for handling
[appName:GrahamsProjServer,modulename:GrahamsProjServer,distinctname:] combination for invocation context org.jboss.ejb.client.EJBClientInvoc
[email protected]
at org.jboss.ejb.client.EJBClientContext.requireEJBReceiver(EJBClientContext.java:584)
at org.jboss.ejb.client.ReceiverInterceptor.handleInvocation(ReceiverInterceptor.java:119)
at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:181)
at org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java:136)
at org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java:121)
at org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:104)
at $Proxy0.test(Unknown Source)
at grahamsprojclient.main.Start.testItAll(Unknown Source)
at grahamsprojclient.main.Start.main(Unknown Source)
Hier mein standalone.xml ist: http://pastebin.com/BuvQ6f2H
Hier ist mein jboss-ejb-client.properties: http://pastebin.com/mKpqZuZJ
Hier ist der Code für meinen Kunden: http://pastebin.com/wcVBZvKn
Mein Klassenpfad enthält jboss-ejb-client.properties. Ich habe dafür gesorgt, dass ich im Manifest nachgesehen habe.
Wenn ich den Client starten, mit dem Server bereits ausgeführt wird, wird der Server druckt diese jedes Mal:
12:05:00,330 INFO [org.jboss.as.naming] (Remoting "h890bp1" task-3) JBAS011806: Channel end notification received, closing channel Channel ID 2ea5a90b (inbound) of Remoting connection 11d4c3d5 to /127.0.0.1:51992
Ich habe für mehrere Tage an diesem Problem gearbeitet und haben keine Lösung gefunden . Jede Hilfe würde sehr geschätzt werden. Wenn du weitere Informationen von mir benötigst als das was ich gepostet habe, zögere nicht zu fragen und ich poste es sofort.
Weitere Details zu Remote-EJB Anrufe zu konfigurieren, die ich waren nützlich sind http://blog.jonasbandi.net/2013/08/jboss-remote-ejb-invocation-unexpected.html und das zugehörige Beispiel http://github.com/jbandi/JavaExamples/tree/master/ejbremote –