• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
  • Piet Souris
  • Frits Walraven
  • Carey Brown

classpath problem

Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a weird problem in one of the hosts configure on Resin.
The application can't access a certain lib that locates at WEB-INF/lib and can't access a configuration file conf.txt at WEB-INF/classes.
I can access the servlet in the classes folder and the application runs fine if I put my jar in <RESIN-ROOT>/lib and the conf file in <RESIN-ROOT>.
I add the classpath derivative in my host configuration but still the problem remains.
<classpath id=WEB-INF/classes' compile='false'/>
<classpath library-dir='WEB-INF/lib'/>
<servlet-mapping url-pattern='/servlet/*'servlet-name='invoker'/>
<servlet-mapping url-pattern='*.jsp' servlet-name='com.caucho.jsp.JspServlet'/>
Any ideas ???
thanks in advance
I found a beautiful pie. And a tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic