Everything Java Apache Geospatial Open Source. Hello Shinning Stars!!! Vincent Massol, Raphael Luta, Santiago Gala, Carsten Z.

Tuesday, April 11, 2006

Jetspeed preferences or the Portal api preferences are getting on my nerves. I am specifying preferences in the psml file. When I debug I get calls to two separate FragmentImpl.getPreferences methods.

The first is a call to the FragmentImpl in package,
org.apache.jetspeed.om.page.psml
Which is related to the portlet itself.

The second is a call to the FragmentImpl in package,
org.apache.jetspeed.om.page.impl
Which is related to layouts.

The fist call populates a o.a.j.om.preference.impl.FragmentPortletPreferenceSet from o.a.j.om.page.ContentFragmentImpl. Then pluto eats the preference and I never see it in my portlet.
I just participated in Jim's web seminar on LAMP. I picked up a few tips about linux.

/etc/security/limit.conf

fs.file.limit
max.user.processes
net.ipv4.ip_local_port_range

Apache
KeepAlives
Min/Max SpareServerThreads
MaxRequestsPerChild

Contact info:
jimj@covalent.net
seminars@covalent.net

Monday, April 03, 2006

Caused by: java.lang.IllegalArgumentException: Illegal pattern character 'x'

Hmm, this is the second time I got this exception using Andromda. It is caused by an invalid character in my @andromda.presentation.view.field.format tagged value. Dates can not use the 'maxlength 10' value 'strict dd/MM/yyyy' is better validation rule.