Mantis - Resin
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
415 | minor | always | 10-06-05 00:00 | 01-25-06 16:28 | |
|
|||||
Reporter: | ferg | Platform: | |||
Assigned To: | ferg | OS: | |||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | |||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | 3.0.18 | ||
|
|||||
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. |
||||
Steps To Reproduce: | |||||
Additional Information: | |||||
Relationships | |||||
Attached Files: |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|