• 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

deployment descriptor - classpath problem

 
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Deployment descriptor below is working fine on windows machine.



have changed it for Linux, below



And it is not working. The reason behind might be, "It is taking these paths as relative paths, but actually i tried to give absolute paths". Both starts with a slash "/" in linux. So, how to differ?

Kindly help me, folks.


Note: I just did that because of suckin JasperReport
[ March 15, 2005: Message edited by: Babar Qadri ]
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Those are legitimate, absolute paths in Linux.

Out of curiosity, what are you trying to do with a classpath in a webapp?
 
Babar Qadri
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Ben,

JasperReport API checks for "jasper.reports.compile.class.path" as system property, but couldn't find this in my case. Raised exception as a result. Therefore, I did something like below inside my servlet and it is working fine on windows machine.



What do you mean by "legitimate absolute path"?

How to differ between relative and absolute path in linux or unix, as both starts with a slash "/"?

And how to solve it?
[ March 15, 2005: Message edited by: Babar Qadri ]
 
reply
    Bookmark Topic Watch Topic
  • New Topic