struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hertzel Karbasi - OPTinity eBusiness Solutions <hert...@optinity.com>
Subject [MVC-Programmers] BaseBeans WEBPIM fails in com.common.BaseDAO.invokePreparedSetter??
Date Thu, 30 May 2002 11:49:01 GMT
Hello All

Any assistance/suggestions to workaround the following failuire in WEBPIM
WebApplication will be appreciated.
Database = DB2
Applicatio Server = WebSphere W2k

Thanks
Hertzel

Save in NameZoomAct fails in BaseDAO.invokePrepareSetter in statement:
setter.invoke( stmt, new Object[] { new Integer(index), value } );

The values are:  setMethodName = setString
                      value = and Object cast of a string "Jordan"
                     index = 1
Update SQL: UPDATE NULLID.names set LAST_NAME = ?, FIRST_NAME = ?, REGION =
?, PHONE = ?, EMAIL = ? WHERE ID = ?

with the following error:

java.lang.IllegalAccessException:
com/ibm/ejs/cm/proxy/PreparedStatementProxy
at com.common.BaseDAO.invokePreparedSetter(BaseDAO.java:606)
at com.common.BaseDAO.populateInsert(BaseDAO.java:569)
at com.common.BaseDAO.populateUpdate(BaseDAO.java:579)
at com.common.BaseDAO.update(BaseDAO.java:431)
at com.common.BaseFrmBean.save(BaseFrmBean.java:89)
at com.webPIM.app.NameZoomAct.saveExec(NameZoomAct.java:61)
at com.common.BaseAct.execute(BaseAct.java:183)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProces
sor.java:437)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:264)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1161)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:471)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
com.ibm.servlet.engine.webapp.StrictServletInstance.doService(ServletManager
.java:827)
at
com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(StrictLifecycl
eServlet.java:167)
at
com.ibm.servlet.engine.webapp.IdleServletState.service(StrictLifecycleServle
t.java:297)
at
com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(StrictLifecycle
Servlet.java:110)
at
com.ibm.servlet.engine.webapp.ServletInstance.service(ServletManager.java:47
2)
at
com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(ServletMan
ager.java:1012)
at
com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(ServletManag
er.java:913)
at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(W
ebAppRequestDispatcher.java:523)
at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebAppRequest
Dispatcher.java:282)
at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebAppRequestD
ispatcher.java:112)
at com.ibm.servlet.engine.srt.WebAppInvoker.doForward(WebAppInvoker.java:91)
at
com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.
java:184)
at
com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedIn
vocation.java:67)
at
com.ibm.servlet.engine.invocation.CacheableInvocationContext.invoke(Cacheabl
eInvocationContext.java:106)
at
com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequ
estProcessor.java:125)
at
com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener
.java:315)
at
com.ibm.servlet.engine.http11.HttpConnection.handleRequest(HttpConnection.ja
va:60)
at
com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:323)
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:252)
at com.ibm.ws.util.CachedThread.run(ThreadPool.java:122)




Mime
View raw message