[jboss-user] [EJB/JBoss] - JBossALL client jar

ypfamily do-not-reply at jboss.com
Thu May 7 00:15:16 EDT 2009


Hi,

Not really sure if this is the right place to ask this, but I can't really find a better place...

I am running a maven-based java client to a remote session bean. The beans are deployed on JBoss 5.0.1-GA. When I manually include a jbossall-client.jar from the [jboss-home]/client directory in the classpath, everything works just fine...

However, when I include (seemingly) the same JAR pulled from JBoss maven repository (http://repository.jboss.org/maven2/org/jboss/client/jbossall-client/5.0.0.GA), it throws the following exception (which tells me that the pulled JAR is missing some classes):
 java.lang.ClassCastException: javax.naming.Reference cannot be cast to org.omg.CORBA.Object
	at com.sun.corba.se.impl.javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:212)

I thought it might have been because the server is 5.0.1 and the JAR's version is 5.0, but I downloaded JBoss 5.0 and the result is the same.

Does anyone know if JBoss just messed up and uploaded jbossall-client.jar to the repository that is missing some classes or am I missing something else here?

Thanks,
Yaakov.





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

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



More information about the jboss-user mailing list