I spent another frustrating 1/2 day trying to fix a ‘problem’ , a NoClassDefFound. Initially was only deploying the class to web directory then decided it need to be in the ejb classpath too, put it there, still to no avail, touched the file so that it will be updated and hope that it works, to no avail. I must have a missed an ibatis misconfiguration done by a new developer in the office but showed when i was running the app, because using oc4j, it will only show once the error and ‘marks’ the class as unavailable. Subsequently running the app, bloody NoClassDefFound error keeps coming up. Looked at log files, seeing the last few lines, it was the reporting the same thing as the error page generated by oracle.
I’m working to get rome and hibernate for persisting feeds. All sample feeds are persisting allright except for the one which have SyModule, the exception being thrown is
net.sf.hibernate.PropertyAccessException: IllegalArgumentException occurred calling getter of
xymphany.syndication.domain.synd.DCModuleImpl.id
Read the rest of this entry »
The ibatis documentation provides a sample on how to call a procedure, but how do you call a function in Oracle? The code sample shows it.
<parameterMap id="getSomeFunction" class="java.util.Map" > <parameter property="question1" jdbcType="INTEGER" javaType="java.lang.String" mode="OUT"/> <parameter property="question2" jdbcType="VARCHAR" javaType="java.lang.String" mode="IN"/> <parameter property="question3" jdbcType="INTEGER" javaType="java.lang.String" mode="IN"/> <parameter property="question54" jdbcType="VARCHAR" javaType="java.lang.String" mode="IN"/> <parameter property="question5" jdbcType="VARCHAR" javaType="java.lang.String" mode="IN"/> </parameterMap> Read the rest of this entry »
Using ibatis dao transaction which is configured by dao.xml was giving errors as such,
com.ibatis.sqlmap.engine.transaction.TransactionException: TransactionManager could not start a new transaction. A transaction is already started. Read the rest of this entry »
Been busy last week and this week preparing the house. Removing parquet from the bedroom, it’s quite hot at night, because of the direct sun coming through the windows of the bedrooms and the wood soaking the heat. Started removing parquet on wednesday night, slowly prying it off from the floor. However couldn’t do much because they were quite firmly stuck to the ground. Soaked the floor with water, for a few days, then on saturday from 10am to 2.30 pm managed to remove about 2/3 of the master bedroom parquet. I wanted to get all parquet removed by evening however the progress was too slow, it wouldn’t have finished even by sunday evening with my hand swollen a little. Called my uncle to get a couple of his workers on sunday afternoon, we did the whole removing thing , which finished at 6 in the evening.