0 Replies Latest reply on Dec 8, 2004 6:36 AM by arun Nagarajan

    EJB with HttpServlet request

    arun Nagarajan Newbie

      Hi,
      i am trying to invoke an ejb with a request parameter in JBoss 4.0
      and its throwing me the following exception

      java.lang.reflect.UndeclaredThrowableException......


      17:06:23,843 ERROR [STDERR] Caused by: java.io.NotSerializableException: org.apa
      che.coyote.tomcat5.CoyoteRequestFacade
      17:06:23,843 ERROR [STDERR] at java.io.ObjectOutputStream.writeObject0(Objec
      tOutputStream.java:1075)
      17:06:23,843 ERROR [STDERR] at java.io.ObjectOutputStream.writeArray(ObjectO
      utputStream.java:1245)
      17:06:23,843 ERROR [STDERR] at java.io.ObjectOutputStream.writeObject0(Objec
      tOutputStream.java:1069)
      17:06:23,843 ERROR [STDERR] at java.io.ObjectOutputStream.writeObject(Object
      OutputStream.java:291)
      17:06:23,843 ERROR [STDERR] at org.jboss.invocation.MarshalledValue.(M
      arshalledValue.java:57)
      17:06:23,843 ERROR [STDERR] at org.jboss.invocation.MarshalledInvocation.wri
      teExternal(MarshalledInvocation.java:407)
      17:06:23,843 ERROR [STDERR] at java.io.ObjectOutputStream.writeExternalData(
      ObjectOutputStream.java:1304)
      17:06:23,843 ERROR [STDERR] at java.io.ObjectOutputStream.writeOrdinaryObjec
      t(ObjectOutputStream.java:1282)
      17:06:23,843 ERROR [STDERR] at java.io.ObjectOutputStream.writeObject0(Objec
      tOutputStream.java:1073)
      17:06:23,843 ERROR [STDERR] at java.io.ObjectOutputStream.writeObject(Object
      OutputStream.java:291)
      17:06:23,843 ERROR [STDERR] at org.jboss.invocation.MarshalledValue.(M
      arshalledValue.java:57)
      17:06:23,843 ERROR [STDERR] at org.jboss.invocation.MarshallingInvokerInterc
      eptor.invoke(MarshallingInvokerInterceptor.java:46)
      17:06:23,843 ERROR [STDERR] at org.jboss.proxy.TransactionInterceptor.invoke
      (TransactionInterceptor.java:46)
      17:06:23,843 ERROR [STDERR] at org.jboss.proxy.SecurityInterceptor.invoke(Se
      curityInterceptor.java:55)
      17:06:23,843 ERROR [STDERR] at org.jboss.proxy.ejb.StatelessSessionIntercept
      or.invoke(StatelessSessionInterceptor.java:97)
      17:06:23,843 ERROR [STDERR] at org.jboss.proxy.ClientContainer.invoke(Client

      Pls help me out.
      Thanx in advance
      Arun