Help coderanch get a
new server
by contributing to the fundraiser
  • 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

classpath problem

 
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello
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
/Shraga.
 
No, tomorrow we rule the world! With this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/t/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic