4 Replies Latest reply on Jun 23, 2004 5:27 AM by sedj

    Problems binding JNDI references to non-serializable objects

    sedj Newbie


      I am having trouble binding a non-serializable object under the JNDI context java:comp/env. I have tried local EJB, JCA, from a webapp, and using jboss-compliant mbeans.

      Every time I try to bind the object, and intialize it, JBoss trys to serialize it, and then errors with a NotSerializableException.

      What is the best way to bind a non-serializable object to a JNDI context ?

      Thanks for any help