2 Replies Latest reply on Jan 6, 2006 9:19 AM by Atif Shahab

    Error w/ the Articles tutorial

    Bill May Newbie

      I get the following error after clicking the "create articles" button.

      The only thing I changed was changed @Inject to @PersistenceContext (name="postgresDS")

      Any input would really help.

      20:12:04,421 INFO [STDOUT] java.io.NotSerializableException: org.jboss.ejb3demo.Author
      20:12:04,421 INFO [STDOUT] at java.io.ObjectOutputStream.writeObject0(Unknown Source)
      20:12:04,421 INFO [STDOUT] at java.io.ObjectOutputStream.writeObject(Unknown Source)
      20:12:04,421 INFO [STDOUT] at org.jboss.aop.joinpoint.InvocationResponse.writeExternal(InvocationResponse.java:86)
      20:12:04,421 INFO [STDOUT] at java.io.ObjectOutputStream.writeExternalData(Unknown Source)
      20:12:04,421 INFO [STDOUT] at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)
      20:12:04,421 INFO [STDOUT] at java.io.ObjectOutputStream.writeObject0(Unknown Source)
      20:12:04,421 INFO [STDOUT] at java.io.ObjectOutputStream.writeObject(Unknown Source)
      20:12:04,421 INFO [STDOUT] at java.rmi.MarshalledObject.(Unknown Source)
      20:12:04,421 INFO [STDOUT] at org.jboss.ejb3.stateless.StatelessContainer.dynamicInvoke(StatelessContainer.java:199)
      20:12:04,421 INFO [STDOUT] at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:107)
      20:12:04,421 INFO [STDOUT] at org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:37)
      20:12:04,421 INFO [STDOUT] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
      20:12:04,421 INFO [STDOUT] at org.jboss.ejb3.stateless.StatelessRemoteProxy.invoke(StatelessRemoteProxy.java:88)
      20:12:04,421 INFO [STDOUT] at $Proxy137.addAuthor(Unknown Source)
      20:12:04,421 INFO [STDOUT] at org.jboss.ejb3demo.web.AuthorServlet.createArticles(AuthorServlet.java:50)
      20:12:04,421 INFO [STDOUT] at org.jboss.ejb3demo.web.AuthorServlet.doPost(AuthorServlet.java:42)
      20:12:04,421 INFO [STDOUT] at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      20:12:04,421 INFO [STDOUT] at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      20:12:04,421 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
      20:12:04,421 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      20:12:04,421 INFO [STDOUT] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
      20:12:04,421 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      20:12:04,421 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      20:12:04,421 INFO [STDOUT] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
      20:12:04,421 INFO [STDOUT] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
      20:12:04,421 INFO [STDOUT] at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
      20:12:04,421 INFO [STDOUT] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159)
      20:12:04,421 INFO [STDOUT] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
      20:12:04,421 INFO [STDOUT] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
      20:12:04,421 INFO [STDOUT] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
      20:12:04,421 INFO [STDOUT] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
      20:12:04,421 INFO [STDOUT] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
      20:12:04,421 INFO [STDOUT] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
      20:12:04,421 INFO [STDOUT] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
      20:12:04,421 INFO [STDOUT] at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
      20:12:04,421 INFO [STDOUT] at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
      20:12:04,421 INFO [STDOUT] at java.lang.Thread.run(Unknown Source)