Thursday, March 22, 2007

Tomcat Stopped ?

An unexpected error has been detected by Java Runtime Environmet

Problematic Frame:
V [libjvm.so+0x2e4dde]

Read a lot of Forum, found out that it was a version bug or something.
I currently have 1.6 installed. Checked that /usr/bin/java is old so I had to
remove it. Then downgraded to 1.5. It got fixed. Just wasn't sure if downgrading it
or removing the old java fixed it.

Monday, March 19, 2007

postgresql please respond

Postgres doesnt start.
/usr/local/pgsql/bin/postmaster -D /usr/local/pgsql/data >logfile 2>&1 & 
<--start postgres service (doesn't work)

keeps saying that there is another process going. Tried killing it but it doesn't exist.

Tried other commands, then found out the solution was simple. Just DELETE the postmaster.pid found inside [data] and start it again

Monday, March 05, 2007

Missing Bundle

error in jsf
f:loadbundle basename="#{payslipForm.bundleName}" Can't find bundle for base name
What went wrong?
I added the following code in my jsp file:
...

f:loadbundle var="text" basename="#{payslipForm.bundleName}"

...

edited my message properties (in this case, ApplicationResources.properties)
and added a few lines:
# -- payslipForm --
payslipForm.title=Online Payslip View
payslipForm.heading=My Payslip

What I forgot was the name for my bundle should be the same as the one I declared as my managed bean. Anyways I'm learning..