[jboss-user] [EJB 3.0] - ClientSocketFactory with EJB3 JBoss-5.0.0.Beta4

slimamar do-not-reply at jboss.com
Fri Apr 25 06:40:47 EDT 2008


Hello,

We want to use a ClientSocketFactory and after some reads (Remoting guide)
we have configured this in the file $JBOSS_HOME/server/<my-conf>/deploy/ejb3-connectors-service.xml :

<?xml version="1.0" encoding="UTF-8"?>
<!--
   JBoss EJB3Deployer
   
   $Id: jboss-service.xml 41488 2006-02-25 00:14:09Z dimitris $
-->


   
      <!-- socket://${jboss.bind.address}:3873 -->
      
        
          
            1
            303
            2
            ${jboss.bind.address}
            3873
            60000
            myPackage.MyClientSocketFactory
            myPackage.MyClientSocketFactory
          
          
            org.jboss.aspects.remoting.AOPRemotingInvocationHandler
           
        
      
   



Unfortunately, this does not work and we have an exception in the client side :
javax.naming.NamingException: Could not dereference object [Root exception is javax.ejb.EJBException: Invalid invocation of local interface]
cause exception : java.lang.ClassCastException: java.lang.String

What's wrong ?

Thank's in advance. 

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

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



More information about the jboss-user mailing list