Sorry forgot to mention I have oscache-2.1.1.jar inside WEB-INF\Lib which is working fine in windows and failing in unix. I extracted the jar in from my unix server and it contains the jar which fine and having the NeedsRefreshException class.
I did check the case sense between windows and unix. any idea what could be the problem? On 6/14/07, Musachy Barroso <[EMAIL PROTECTED]> wrote:
Seems like you don't have oscache jar on your lib folder. musachy On 6/14/07, Sachin <[EMAIL PROTECTED]> wrote: > > Help me on the below error > > [6/14/07 9:48:11:304 EDT] 152c2ad5 WebGroup E SRVE0026E: [Servlet > Error]-[com/opensymphony/oscache/base/NeedsRefreshException]: > java.lang.NoClassDefFoundError: > com/opensymphony/oscache/base/NeedsRefreshException at > java.lang.Class.forName1(Native Method) at java.lang.Class.forName( > Class.java(Compiled Code)) at > gov.ohio.jfs.oakscapis.persistence.DBAccessManager.getInstance( > DBAccessManager.java:43) at > gov.ohio.jfs.oakscapisweb.actions.CoaCasAction.execute(CoaCasAction.java > :90) > at org.apache.struts.action.RequestProcessor.processActionPerform( > RequestProcessor.java:419) at > org.apache.struts.action.RequestProcessor.process(RequestProcessor.java > :224) > at org.apache.struts.action.ActionServlet.process(ActionServlet.java :1194) > at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) at > javax.servlet.http.HttpServlet.service(HttpServlet.java:740) > ........................................... > ........................................... > ........................................... > > > > Code snippet: > > public static DBAccessManager getInstance() { > return instance; > } > > private final static String _prefix = " > xxx.xxx.xxx.xxxxxxx.persistence > ."; > > public static DBAccess getInstance(String dataType) throws > IllegalAccessException, > InstantiationException, > ClassNotFoundException{ > String className = _prefix + dataType+"Access"; > Class cls = Class.forName(className); > return (DBAccess) cls.newInstance(); > > } > -- > Satheesh.c > -- "Hey you! Would you help me to carry the stone?" Pink Floyd
-- Satheesh.c