Also, in your environment, where do the properties files live?

This may seem like a dumb question, but I still can't figure out where to actually put a properties file and point to that in the propertyPlaceholderConfigurer bean. Everything I've tried just renders a 404 from tomcat, so I must have a typo or something.

Here's what I have in my deployerConfigContext.xml:

<bean id="propertyPlaceholderConfigurer"
class = "org .springframework.beans.factory.config.PropertyPlaceholderConfigurer">
    <property name="locations">
        <list>
            <value>my-env.properties</value>
        </list>
    </property>
</bean>

...and that properties file contains this single line:

target.hostname=my.host.domain.edu

... which isn't used anywhere yet.

I've tried putting 'my-env.properties' in the WEB-INF, webapp, and main directories of my local CAS source, but CAS just 404's after I redeploy. Am I missing a step? I thought keeping it in the same directory would make the relative path work, without adding it manually anywhere.

The only thing I see in any of the logs is this line in catalina.out:
Exception in thread "ContainerBackgroundProcessor[StandardEngine[Catalina]]" java.lang.OutOfMemoryError: PermGen space


-Aaron

---------------------------------
Aaron Fuleki
Senior Web Architect
Denison University
740.587.5752
---------------------------------

--
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to