glassfish
  1. glassfish
  2. GLASSFISH-18402

EJB lookup problem with webstart; multithreaded use of same client-side proxy?

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 3.1.2_b18, 3.1.2_b19, 3.1.2_b20, 3.1.2_b21, 3.1.2_b22, 3.1.2_b23
    • Fix Version/s: None
    • Component/s: orb
    • Labels:
      None

      Description

      Our enterprise application contains an EJB module and the application client. The remote jndi lookup in the application client works fine, if the client stub runs with the appclient shell script. But when the application is executed via webstart, the beans won't be located properly due to the following error:

      Caused by: javax.naming.NamingException: ejb ref resolution error for remote business interfacede.beans.einkauf.MyServiceBeanRemote [Root exception is java.lang.IllegalArgumentException: java.lang.ClassCastException@532c81b7]
      	at com.sun.ejb.EJBUtils.lookupRemote30BusinessObject(EJBUtils.java:434)
      	at com.sun.ejb.containers.RemoteBusinessObjectFactory.getObjectInstance(RemoteBusinessObjectFactory.java:75)
      	at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
      	at com.sun.enterprise.naming.impl.SerialContext.getObjectInstance(SerialContext.java:556)
      	at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:514)
      	... 15 more
      Caused by: java.lang.IllegalArgumentException: java.lang.ClassCastException@532c81b7
      	at sun.reflect.GeneratedMethodAccessor48.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      	at java.lang.reflect.Method.invoke(Method.java:597)
      	at com.sun.ejb.EJBUtils.lookupRemote30BusinessObject(EJBUtils.java:422)
      	... 19 more
      

      Maybe a cache issue, but we have no clue what goes wrong here.

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Harshad Vilekar
            Reporter:
            andydr
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: