Mantis Bugtracker
  

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

- Relationships

- Notes
(0000462)
user419
10-06-05 00:00

Seem to have gotten past this issue; must have been a problem of my own making. I've got a new question posted to resin-interest but since it's still probably of my own making, I'm not filing it here yet. ;)
 
(0000779)
ferg
01-25-06 16:28

Related to the getResourceAsStream issue on Windows.
 

- Issue History
Date Modified Username Field Change
10-06-05 00:00 ferg New Issue
01-25-06 16:28 ferg Note Added: 0000779
01-25-06 16:28 ferg Assigned To  => ferg
01-25-06 16:28 ferg Status acknowledged => closed
01-25-06 16:28 ferg Resolution open => fixed
01-25-06 16:28 ferg Fixed in Version  => 3.0.18


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
31 total queries executed.
27 unique queries executed.
Powered by Mantis Bugtracker