[jboss-user] [JBoss/Spring Integration] - JBoss 4.0.4 + provided example not working

skedrf do-not-reply at jboss.com
Wed Jul 26 02:16:46 EDT 2006


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.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960882#3960882

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960882

More information about the jboss-user mailing list