DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21351>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21351 Cannot override properties using my.properties file Summary: Cannot override properties using my.properties file Product: Jetspeed Version: 1.4b4 Platform: PC OS/Version: Linux Status: NEW Severity: Critical Priority: Other Component: Portlet Container AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Using Jetspeed 1.4-b4, I made two entries into my.properties to override two properties in the default property file and then modified web.xml to use my.properties but I cannot get it to work. I am receiving the following exception: org.apache.jasper.JasperException: ServiceBroker: unknown service PoolService requested at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:367) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:293) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:240) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) I looked at bug 16781 and tried removing the LoggingService entry but no luck - then I get a Horrible Exception on 'enabled' not being a boolean declaration. ------------------------- my.properties entries: topnav.logo.file=images/banner.gif leftnav.enable=false ------------------------- web.xml entry: <param-value> WEB-INF/conf/my.properties </param-value> Commenting out all of my.properties except for services.ResourceService.classname = org.apache.jetspeed.services.resources.JetspeedResourceService and include = TurbineResources.properties result: portal displays and then uncommenting them one at a time I get the following: uncommenting: services.JetspeedSecurity.password.expiration.period result: Horrible Exception: java.lang.ClassCastException: 'password.expiration.period' doesn't map to a Integer object uncommenting: services.Registry.refreshRate result: portal refuses to load - no exceptions uncommenting: services.PortletStats.enabled uncommenting: customizer.preview.enable uncommenting: automatic.logon.enable result: Horrible Exception: java.lang.ClassCastException: 'enabled' doesn't map to a Boolean object Ok, so other than the most minimal of entries in my.properties, nothing works. Gerry Reno --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
