hi folks,
i'm running into a frustrating issue with my webapp. i'm using
tomcat 4.1, tiles and
struts. during startup, the application is to initialize a few things including application properties. one of my classes contains a member Properties which is to be populated during initialization with the file from disk. however, if the Properties is a member and not declared in the method, i get an AllocateException. in addition, when i try to getInstance() of my cms and assign it to a member variable of a singleton class of the webapp, i get the same exception... for example:
either of the above two assignments will cause an AllocateException. i can't fathom why this would not work.
on the other hand this will work (but is useless for me in the context of having a singleton class...):
any ideas? thanks!