Back Forum Reply New

listenerStart Error

.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
at java.lang.Thread.run(Thread.java:619)
web.xml - entries

Code:
lt;context-paramgt;
lt;param-namegt;locatorFactorySelectorlt;/param-namegt;
lt;param-valuegt;/resources/beanRefContext.xmllt;/param-valuegt;
lt;/context-paramgt;
lt;!-- parent context key  defined in the config file --gt;
lt;context-paramgt;
lt;param-namegt;parentContextKeylt;/param-namegt;
lt;param-valuegt;servicelayer-contextlt;/param-valuegt;
lt;/context-paramgt;
The classpath has spring.jar and resources folder. The same WAR works fine when deployed on JBoss server.

Appreciate any quick help.

Thanks for reply, I resolved the issue by two options:

1. Either move the resources folder containing the spring related config files under classes folder.OR
2. Copy it under main project folder parallel to src and add that as source in the build path. What happens then is that like java sources are compiled and copied to classes folder   similarly all the xml files are also copied under classes folder during Project Compilation.

Botton line is tomcat looks for these files under WEB-INF/classes folder. Yet to find solution if someone needs xml files in folder other than WEB-INF/classes.

Thanks all, also please input any comments/suggestions if any.
¥
Back Forum Reply New