Monday, November 09, 2009

System.Data.OracleClient requires Oracle client software version 8.1.7 or greater

Yes, they are many resources on the web about this problem, but none helped me. And because I encountered this problem twice and did not remember how I solved it, I thought of posting this, at least as a note to self.
The solutions on web suggest that you are not allowed to read/execute some dlls in the oracle client because rights on that folder are not properly configured. Not the case. Real problem: Missing MSVCR71.dll. Problem with Oracle 10g Instant Client on Vista and Windows 7. Discovered this by using ProcMon to see what my application is searching for in the oracle client folder. The same way I discovered I was missing the Network\admin folder where tnsnames.ora files should be located.

Monday, January 26, 2009

org.ajax4jsf.config.ParsingException: No filter mapping set for a filter

It goes something like this:

ERROR [[/WaSFP]] Exception starting filter richfaces
javax.servlet.ServletException: Error parse web application config

Caused by: org.ajax4jsf.config.ParsingException: No filter mapping set for a filter richfaces
at org.ajax4jsf.config.WebXMLParser.init(
at org.ajax4jsf.config.WebXMLParser.init(

It seemed strange, because I had defined a filter mapping and It worked for me before, so why not now? I had something like this in my web.xml:

<!-- Richfaces configuration-->
<display-name>RichFaces Filter</display-name>
<servlet-name>Faces Servlet</servlet-name>
<servlet-name>Faces Config</servlet-name> <!-- wrong, 'Faces Servlet' here-->
<servlet-name>Faces Config</servlet-name> <!-- wrong again, 'Faces Servlet' here-->

Eclipse 3.4 with JBoss tools - Richfaces VPE 3.0.0 CR1. Nerver trust the IDE :)