[jboss-user] [Clustering/JBoss] - Wierd trouble while deploying application to clustere JBoss

inksystems do-not-reply at jboss.com
Wed Sep 12 05:22:53 EDT 2007


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?


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4083343#4083343

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4083343



More information about the jboss-user mailing list