Java serialization / call wildfly service interface exception: ejbclient000409

QiuSirrr 2021-02-23 14:39:39
java serialization wildfly service interface


     The company's operation background service is Wildfly , Some problems , There is no online solution Tomcat It's convenient to come here .(So, Now it's time to change the frame )
     But there are some problems that have been troubling me for a long time , I still want to record .

     Several new interfaces have been written , Used to record and verify the abnormal flow of mobile phone number , During the test, it was found that there was an exception all the time :

EJBCLIENT000409: No more destinations are available

     According to past experience , I doubt it. Wildfly The newly written interface is not registered , It's not found .
    1、 Please check first Wildfly Is there any omission in the interface annotation 、 Wrong writing (@Remote、@BeanName(“ Implementation class name ”)), And implementation class annotations (@Stateless、@TransactionManagement())

    2、 Check interface parameters 、 Whether the returned entity class is serialized (<span class="colour" style="color: rgb(85, 86, 102);">implements Serializable</span>
    use @Remote The interface parameters of the annotated class and the returned object class need to be serialized .

    Tips: Look up the ,<span class="colour" style="color: rgb(85, 86, 102);">Serializable  Allows us to convert objects into byte sequences , These byte sequences can be stored to regenerate the original object ;Serializable  Automatically masking differences in operating systems 、 Byte order, etc ;Java Of RMI(Remote method invocation Remote method call ) Allows us to manipulate objects on a remote machine as if they were on the local machine , When we send a message to a remote object , It needs to be used  Serializable  Mechanism to send and receive data .</span>

    3、 see  <span class="colour" style="color: rgb(85, 86, 102);">jboss-ejb-client.properties Is the location of the configuration file correct ( I've never met that before , I don't need this profile for my project either )</span>
    The general situation is resources Under the table of contents , No words , Try it one by one .

版权声明
本文为[QiuSirrr]所创,转载请带上原文链接,感谢
https://javamana.com/2021/02/20210223143906238g.html

  1. Golang 实现 Redis(9): 使用GeoHash 搜索附近的人
  2. RxHttp - 轻量级、可扩展、易使用、完美兼容MVVM、MVC架构的网络封装类库
  3. Golang realizes redis (9): using geohash to search nearby people
  4. Rxhttp - lightweight, extensible, easy to use, perfectly compatible with MVVM, MVC architecture network encapsulation class library
  5. Golang realizes redis (9): using geohash to search nearby people
  6. Rxhttp - lightweight, extensible, easy to use, perfectly compatible with MVVM, MVC architecture network encapsulation class library
  7. 读懂框架设计的灵魂 — Java 反射机制
  8. 治疗磁盘空间不足焦虑症,释放容器占用空间——Win10+docker篇
  9. 别再用jodatime了!全网最权威Java8日期时间类LocalDate、LocalDateTime详解
  10. Understanding the soul of framework design java reflection mechanism
  11. 配置客户端以安全连接到Apache Kafka集群4:TLS客户端身份验证
  12. Treating anxiety of insufficient disk space and releasing space occupied by containers -- win10 + docker
  13. Don't use jodatime any more! The most authoritative java 8 date and time classes in the whole network: detailed explanation of localdate and localdatetime
  14. Configure clients to connect securely to Apache Kafka Cluster 4: TLS client authentication
  15. Spring break
  16. 高性能MySQL(三):Schema与数据类型优化
  17. High performance mysql (3): schema and data type optimization
  18. redis解决缓存、击穿、雪崩
  19. redis
  20. 骑士卡:基于Kafka搭建消息中心,上亿消息推送轻松完成
  21. Redis solves cache, breakdown and avalanche
  22. redis
  23. Knight card: build a message center based on Kafka, and push hundreds of millions of messages easily
  24. Oracle OCP 19c 认证1Z0-083考试题库(第2题)
  25. redis的三种模式
  26. kubernetes和docker----2.学习Pod资源
  27. 谈一谈如何远程访问MySQL(腾讯云,云主机)
  28. Linux(五):Linux的文档编辑器Vi
  29. Oracle OCP 19C certification 1z0-083 examination question bank (question 2)
  30. 云原生项目实践DevOps(GitOps)+K8S+BPF+SRE,从0到1使用Golang开发生产级麻将游戏服务器—第6篇
  31. kubernetes和docker----2.学习Pod资源
  32. JSP基于Java开发Web应用程序特点有哪些?
  33. Three modes of redis
  34. Kubernetes and docker -- 2. Learning pod resources
  35. Linux (5): the document editor VI of Linux
  36. Cloud native project practice Devops (gitops) + k8s + BPF + SRE, using golang to develop production level mahjong game server from 0 to 1
  37. Kubernetes and docker -- 2. Learning pod resources
  38. What are the characteristics of JSP developing web application based on Java?
  39. Lottie error: java.lang.AssertionError : android.util.JsonReader .peek
  40. Rxhttp - lightweight, extensible, easy to use, perfectly compatible with MVVM, MVC architecture network encapsulation class library
  41. docker入门到熟练
  42. Java之HTTP网络编程(一):TCP/SSL网页下载
  43. Introduction to docker
  44. HTTP network programming in Java (1): TCP / SSL web page download
  45. mysql 的ACID以及隔离级别
  46. Acid and isolation level of MySQL
  47. Java序列化对字段名的影响
  48. The influence of Java serialization on field names
  49. Redis 日志篇:系统高可用的杀手锏
  50. Java中把一个对象复制给另外一个对象引发的思考
  51. Java之HTTP网络编程(一):TCP/SSL网页下载
  52. Redis log: the killer of system high availability
  53. Thinking about copying one object to another in Java
  54. HTTP network programming in Java (1): TCP / SSL web page download
  55. 数据库--oracle安装配置(本地安装的步骤及各种问题解决方案)
  56. 从事Java9年,27天熬夜把近年遇到的面试题收录成册全网开源!
  57. Database -- Oracle installation configuration (local installation steps and various problem solutions)
  58. Engaged in Java for 9 years, 27 days stay up late, the interview questions encountered in recent years included into a volume, the whole network open source!
  59. Java序列化 / 调用 Wildfly 服务接口异常:EJBCLIENT000409
  60. docker-compose部署Estack