Announcement Announcement Module
Collapse
No announcement yet.
org.springframework.ejb.access.EjbAccessException: EJB home .. has no no-arg create() Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • org.springframework.ejb.access.EjbAccessException: EJB home .. has no no-arg create()

    In our WebSphere Application cluster environment, an EJB can be invoked successfully in one cluster member (server1), but failed in another cluster member (server2). If server2 is started before server1 then everything works fine in both the servers.


    Exception Trace:

    org.springframework.ejb.access.EjbAccessException: EJB home [IOR:00bdbdbd00000048524d493a636f6d2e61646476616c2e 7573657273657373696f 6e2e6170692e5573657250726f70657274794d616e61676572 486f6d653a3030303030303030303030303030303000000000 010000000000000a58000102bd00000 01b636e3161666c737773373530372e67646e696e6469612e6 36f6d00bd26acbdbd000000b64a4d42490000001215a999e23 7343035393561393939653262616437 000000240000009249454a50020147df4f2f0a61666b6c6d71 61636c7503454a4200000075acac0002000100290000005f5f 686f6d654f66486f6d6573235f5f686 f6d654f66486f6d6573235f5f686f6d654f66486f6d6573084 36172676f726573237573657273657373696f6e656a622d362 e302d534e415053484f542e6a617223 5573657250726f70657274794d616e616765724265616ebdbd 00000010000000010000001400bdbdbd050100010000000000 0101000000000049424d0a000000080 0bd00011600000100000026000000020002bdbd00000021000 003200001bdbd000000060002bdbd000000240000002000bd0 0260002bdbd000000010000000e3130 2e3233302e3139372e37330023f1004000000000000806062b 1200021e020000001b0401000806062b1200021e020000000b 637573746f6d5265616c6dbd0000000 000000001494210ce000000100000000c637573746f6d52656 16c6d0000000000000000000042bdbd000000240000002000b d00660042bdbd000000010000000e31 302e3233302e3139372e37330023f200400000000000080606 2b1200021e020000001b0401000806062b1200021e02000000 0b637573746f6d5265616c6dbd00000 00000000001494210ce000000100000000c637573746f6d526 5616c6d0000000000000000000002bdbd00000024000000200 0bd00260002bdbd000000010000000e 31302e3233302e3139372e37330023f1004000000000000806 066781020101010000001b0401000806066781020101010000 000b637573746f6d5265616c6dbd000 0000000000001494210ce000000100000000c637573746f6d5 265616c6d0000000000000000000042bdbd000000240000002 000bd00660042bdbd00000001000000 0e31302e3233302e3139372e37330023f20040000000000008 06066781020101010000001b04010008060667810201010100 00000b637573746f6d5265616c6dbd0 000000000000001494210ce000000100000000c637573746f6 d5265616c6d0000000000000000000002bdbd0000002400000 02000bd00260002bdbd000000010000 000e31302e3233302e3139372e37330023f100400000000000 0806062b1200021e060000001b0401000806062b1200021e06 0000000b637573746f6d5265616c6db d0000000000000001494210ce000000100000000c637573746 f6d5265616c6d0000000000000000000042bdbd00000024000 0002000bd00660042bdbd0000000100 00000e31302e3233302e3139372e37330023f2004000000000 000806062b1200021e060000001b0401000806062b1200021e 060000000b637573746f6d5265616c6 dbd0000000000000001494210ce000000100000000c6375737 46f6d5265616c6d00000000000000000049424d21000000b80 0bd00010001bdbd0000000743555354 4f4d00bd0000002649424d2057656253706865726520417070 6c69636174696f6e20536572766572202d204e4400bdbd0000 0009372e302e302e323100bdbdbd000 0000931322f31342f313100bdbdbd0000000c6366323131313 5302e3034000000003f2863656c6c293a446d67723030314e6 f646543656c6c3a286e6f6465293a61 666b6c6d716130324e6f64653a28736572766572293a6e6f64 656167656e7400bdffff0001000000140000000800bd007e00 0123f249424d0b000000aa000000040 00f446d67723030314e6f646543656c6c000a61666b6c6d716 1636c750000000223f123f223f123f2001a636e3161666c737 773373530382e67646e696e6469612e 636f6d26ac001a636e3161666c737773373530372e67646e69 6e6469612e636f6d26ac000000390000000002000b434c5553 5445524e414d45000a61666b6c6d716 1636c75000843454c4c4e414d45000f446d67723030314e6f6 46543656c6c00000000bdbd000000030000002600bdbdbd000 0001b636e3161666c73777337353038 2e67646e696e6469612e636f6d00bd26acbdbd000000030000 002600bdbdbd0000001b636e3161666c737773373530372e67 646e696e6469612e636f6d00bd26acb dbd49424d04000000050005020102bdbdbd0000001f0000000 400bd0003000000200000000400bd000100000025000000040 0bd000300000021000003200001bdbd 000000060002bdbd000000240000002000bd00260002bdbd00 0000010000000e31302e3233302e3139372e3733001b690040 00000000000806062b1200021e02000 0001b0401000806062b1200021e020000000b637573746f6d5 265616c6dbd0000000000000001494210ce000000100000000 c637573746f6d5265616c6d00000000 00000000000042bdbd000000240000002000bd00660042bdbd 000000010000000e31302e3233302e3139372e3733001b6a00 4000000000000806062b1200021e020 000001b0401000806062b1200021e020000000b637573746f6 d5265616c6dbd0000000000000001494210ce0000001000000 00c637573746f6d5265616c6d000000 0000000000000002bdbd000000240000002000bd00260002bd bd000000010000000e31302e3233302e3139372e3733001b69 0040000000000008060667810201010 10000001b0401000806066781020101010000000b637573746 f6d5265616c6dbd0000000000000001494210ce00000010000 0000c637573746f6d5265616c6d0000 000000000000000042bdbd000000240000002000bd00660042 bdbd000000010000000e31302e3233302e3139372e3733001b 6a00400000000000080606678102010 1010000001b0401000806066781020101010000000b6375737 46f6d5265616c6dbd0000000000000001494210ce000000100 000000c637573746f6d5265616c6d00 00000000000000000002bdbd000000240000002000bd002600 02bdbd000000010000000e31302e3233302e3139372e373300 1b69004000000000000806062b12000 21e060000001b0401000806062b1200021e060000000b63757 3746f6d5265616c6dbd0000000000000001494210ce0000001 00000000c637573746f6d5265616c6d 0000000000000000000042bdbd000000240000002000bd0066 0042bdbd000000010000000e31302e3233302e3139372e3733 001b6a004000000000000806062b120 0021e060000001b0401000806062b1200021e060000000b637 573746f6d5265616c6dbd0000000000000001494210ce00000 0100000000c637573746f6d5265616c 6d00000000000000000049424d21000000b800bd00010001bd bd00000007435553544f4d00bd0000002649424d2057656253 7068657265204170706c69636174696 f6e20536572766572202d204e4400bdbd00000009372e302e3 02e323100bdbdbd0000000931322f31342f313100bdbdbd000 0000c63663231313135302e30340000 00003f2863656c6c293a446d67723030314e6f646543656c6c 3a286e6f6465293a61666b6c6d716130324e6f64653a287365 72766572293a61666b6c6d716130320 0bdffff0001000000140000000800bd007e00011b6a] has no no-arg create() method
    at org.springframework.ejb.access.AbstractSlsbInvoker Interceptor.getCreateMethod(AbstractSlsbInvokerInt erceptor.java:142)
    at org.springframework.ejb.access.AbstractRemoteSlsbI nvokerInterceptor.getCreateMethod(AbstractRemoteSl sbInvokerInterceptor .java:126)
    at org.springframework.ejb.access.AbstractSlsbInvoker Interceptor.create(AbstractSlsbInvokerInterceptor. java:218)
    at org.springframework.ejb.access.AbstractRemoteSlsbI nvokerInterceptor.newSessionBeanInstance(AbstractR emoteSlsbInvokerInte rceptor.java:225)
    at org.springframework.ejb.access.SimpleRemoteSlsbInv okerInterceptor.getSessionBeanInstance(SimpleRemot eSlsbInvokerIntercep tor.java:142)
    at org.springframework.ejb.access.SimpleRemoteSlsbInv okerInterceptor.doInvoke(SimpleRemoteSlsbInvokerIn terceptor.java:98)
    at org.springframework.ejb.access.AbstractRemoteSlsbI nvokerInterceptor.invokeInContext(AbstractRemoteSl sbInvokerInterceptor .java:141)
    at org.springframework.ejb.access.AbstractSlsbInvoker Interceptor.invoke(AbstractSlsbInvokerInterceptor. java:189)
    at org.springframework.aop.framework.ReflectiveMethod Invocation.proceed(ReflectiveMethodInvocation.java :172)
    at org.springframework.aop.framework.JdkDynamicAopPro xy.invoke(JdkDynamicAopProxy.java:202)

  • #2
    For those who come across this issue can try the solution as follows:

    1. By parsing the IOR string identify the Bean name
    2. Add the homeInterface property [<property name="homeInterface" value="com.org.module.XyzHome"/>] for the identified bean

    Comment

    Working...
    X