2 Replies Latest reply on Jul 26, 2006 7:04 AM by skedrf

    JBoss 4.0.4 + provided example not working

    skedrf

      Hi,

      I downloaded latest version of Spring Deployer and tried it with JBoss v. 4.0.4 GA.

      I wanted to see how provided example works. So, I followed the instructions (JBoss-Spring-Example.doc) and deployed deployer itself and JBoss Spring example application.

      But deployment of the example application always fails with same error:
      ERROR [ContextLoader] Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'randomizer' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: org.jboss.tutorial.ee.service.Randomizer not bound
      Caused by: javax.naming.NameNotFoundException: org.jboss.tutorial.ee.service.Randomizer not bound

      Whole exception stack is pretty big, but I can post it if it is necessary.

      Any ideas what is wrong? It is just a plain and clean JBoss installation with Spring deployer and JBoss Spring example, nothing more.

      Java version 1.5.0_05-b05,
      JBoss version 4.0.4.GA (build: CVSTag=JBoss_4_0_4_GA date=200605151000)
      Spring Deployer 1.3.


      PS. hopefully this is right forum for these questions.