Anonymous | Login | Signup for a new account | 12-17-2024 08:40 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0000415 | [Resin] | minor | always | 10-06-05 00:00 | 01-25-06 16:28 | ||||
Reporter | ferg | View Status | public | ||||||
Assigned To | ferg | ||||||||
Priority | normal | Resolution | fixed | ||||||
Status | closed | Product Version | |||||||
Summary | 0000415: classloader not picking up property | ||||||||
Description |
RSN-461 (rep by Geoffrey Wiseman) In order to include property files (e.g. log4j.properties) in the classpath in Resin without including them in my WAR, I have previously JAR'd them up and put them in resin/lib. This is awkward, because multiple apps get access to the same set of property files, potentially, and jarring them is less convenient than being able to edit them without any post-edit work (no matter how automatable). After seeing the <classloader> option in the webapp, I decided to investigate if I could use that to load property files by including a directory in which my property files were located. This is failing (can't locate hibernate.conf, in this case). So, two questions: 1> Will these classloader tags work for resource files as well as .java (compiling-loader) .jar (library-loader) and .class (simple-loader) files? I've been assuming that simple-loader or compiling-loader will do the job, but it doesn't seem to be helping me. 2> Is there any way to get debug information on Resin's classloading so I can tell why it's failing to locate the file? Perhaps I've messed up the configuration, but it's difficult for me to tell right now. |
||||||||
Additional Information | |||||||||
Attached Files | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
31 total queries executed. 27 unique queries executed. |