2 Replies Latest reply on Jul 1, 2005 1:17 PM by Bill Burke

    Problem running EJB3.0 Stateless Bean Tutorial example

    ksr ksr Newbie

      Hi Folks
      I followed the ejb3.0 tutorial to install and run the tutorial examples. running ant compiles and deploys tutorial.ejb3.

      But while running " ant run " I am getting the following error

      Any guidance is appreciated

      run:
      [java] log4j:WARN No appenders could be found for logger (org.jboss.remoting.Client).
      [java] log4j:WARN Please initialize the log4j system properly.
      [java] Buying 1 memory stick
      [java] Exception in thread "main" java.lang.NoSuchMethodError: org.jboss.security.SecurityAssociation.pushSubjectCon
      text(Ljavax/security/auth/Subject;Ljava/security/Principal;Ljava/lang/Object;)V
      [java] at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:73)
      [java] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:66)
      [java] at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:90)
      [java] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:66)
      [java] at org.jboss.ejb3.stateful.StatefulContainer.dynamicInvoke(StatefulContainer.java:156)
      [java] at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:107)
      [java] at org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:74)
      [java] at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:295)
      [java] at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:169)
      [java] at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:259)
      [java] at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:321)
      [java] at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:141)
      [java] Java Result: 1

      BUILD SUCCESSFUL
      Total time: 3 seconds