0 Replies Latest reply on Sep 12, 2007 5:22 AM by Igor Kolomiyets

    Wierd trouble while deploying application to clustere JBoss

    Igor Kolomiyets Newbie

      Hi everyone,

      i am attempting to move an existing application to the clustered environment.
      Application consists of one ejb module and one web frontend application packed into .ear file.
      It works fine on single instance of JBoss 4.2 but when it is deployed to clustered Jboss 4.2 deployment goes allright but when web application attempts to create a stetless session bean from ejb module following error appears in the log:

      java.lang.IllegalArgumentException: object is not an instance of declaring class
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.ha.framework.interfaces.HARMIClient.invoke(HARMIClient.java:258)
      at $Proxy367.lookup(Unknown Source)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:606)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:568)
      at javax.naming.InitialContext.lookup(InitialContext.java:351)
      etc.......

      Did anyone observe something similar or at least knows which direction should i dig further?