ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amad Fida" <amad.f...@gmail.com>
Subject Collection property in resultMap
Date Wed, 26 Oct 2005 04:31:47 GMT
Hi all, 

I have a table which has columns like CutomField1, CustomField2, etc

Now I have a class

Class User {

	private Collection customFields;
	.....
}

How would I map individual columns to single collection property?

Is something like this possible?

  <resultMap id="user" class="User">
    <result property="customFiels[0]" column="CustomField1"/>
    <result property="customFiels[1]" column="CustomField2"/>
    <result property="customFiels[2]" column="CustomField3"/>

	....


Thanks

Amad



-----Original Message-----
From: Prashanth Sukumaran [mailto:prashanthsukumaran@yahoo.com] 
Sent: Monday, January 24, 2005 8:23 AM
To: ibatis-user-java@incubator.apache.org; Rahesh Kumar
Subject: Re: Error dispatching bean action via URL pattern

Hi Rahesh,

Do you do the data load on to the target database you are using.  If the
data is missing you can
get the following error.  It is possible that you created the tables but did
not upload the data. 


One of the common reasons of NullPointerException in iBatis is when you
define the bean with a
primitive data type and when you insert the data into the database you are
inserting NULL and when
you are retrieving the data back you are not defining in your SQL map how
the NULL should be
treated.

iBatis performs the Obj.getFloatValue() or Obj.getIntValue() etc.

Rgds
Prashanth.


--- Rahesh Kumar <rahesh@gmail.com> wrote:

> Hi 
> 
>  I am new to this technology,I have been working on IBatis now,when I
> try to run the JPetstore application i get this following errors
> 
> com.ibatis.struts.BeanActionException 
> Error dispatching bean action via URL pattern ('viewProduct'). Cause:
> java.lang.reflect.InvocationTargetException
> 
> 
> Stack
> com.ibatis.struts.BeanActionException: Error dispatching bean action
> via URL pattern ('viewProduct').  Cause:
> java.lang.reflect.InvocationTargetException
> Caused by: java.lang.reflect.InvocationTargetException
> 	at com.ibatis.struts.BeanAction.execute(BeanAction.java:140)
> 	at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProces
sor.java:484)
> 	at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
> 	at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
> 	at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> 	at
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247)
> 	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
> 	at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:260)
> 	at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
> 	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> 	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> 	at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:191)
> 	at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
> 	at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase
.java:493)
> 	at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
> 	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> 	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> 	at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
> 	at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
)
> 	at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
> 	at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:170)
> 	at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
> 	at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172
)
> 	at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
> 	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> 	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> 	at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:174)
> 	at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
> 	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> 	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> 	at
org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
> 	at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:432)
> 	at
>
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction(Http11Protocol.java:386)
> 	at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:534)
> 	at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:530)
> 	at java.lang.Thread.run(Thread.java:484)
> 
> Caused by: 
> java.lang.reflect.InvocationTargetException:
> com.ibatis.dao.client.DaoException: Failed to queryForPaginatedList -
> id [getItemListByProduct], parameterObject [AV-CB-01], pageSize [4]. 
> Cause: com.ibatis.common.jdbc.exception.NestedSQLException:
> --- The error occurred in
> com/ibatis/jpetstore/persistence/sqlmapdao/sql/Item.xml.
> --- The error occurred while applying a result map.  
> --- Check the Item.itemResult.  
> --- Check the result mapping for the 'attribute5' property.  
> --- Cause: java.lang.NullPointerException
> Caused by: java.lang.NullPointerException
> Caused by: com.ibatis.common.jdbc.exception.NestedSQLException:   
> --- The error occurred in
> com/ibatis/jpetstore/persistence/sqlmapdao/sql/Item.xml.
> --- The error occurred while applying a result map.  
> --- Check the Item.itemResult.  
> --- Check the result mapping for the 'attribute5' property.  
> --- Cause: java.lang.NullPointerException
> Caused by: java.lang.NullPointerException
> 	at
>
com.ibatis.dao.client.template.SqlMapDaoTemplate.queryForPaginatedList(SqlMa
pDaoTemplate.java:263)
> 	at
>
com.ibatis.jpetstore.persistence.sqlmapdao.ItemSqlMapDao.getItemListByProduc
t(ItemSqlMapDao.java:42)
> 	at java.lang.reflect.Method.invoke(Native Method)
> 	at com.ibatis.dao.engine.impl.DaoProxy.invoke(DaoProxy.java:61)
> 	at $Proxy0.getItemListByProduct(Unknown Source)
> 	at
com.ibatis.jpetstore.service.CatalogService.getItemListByProduct(CatalogServ
ice.java:70)
> 	at
com.ibatis.jpetstore.presentation.CatalogBean.viewProduct(CatalogBean.java:1
61)
> 	at java.lang.reflect.Method.invoke(Native Method)
> 	at com.ibatis.struts.BeanAction.execute(BeanAction.java:138)
> 	at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProces
sor.java:484)
> 	at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
> 	at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
> 	at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> 	at
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247)
> 	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
> 	at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:260)
> 	at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
> 	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> 	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> 	at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:191)
> 	at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
> 	at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase
.java:493)
> 	at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
> 	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> 	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> 	at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
> 	at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
)
> 	at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
> 	at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:170)
> 	at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
> 	at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172
)
> 	at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
> 	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> 	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> 	at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:174)
> 	at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
> 	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> 	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> 	at
org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
> 	at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:432)
> 	at
>
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction(Http11Protocol.java:386)
> 	at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:534)
> 	at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:530)
> 	at java.lang.Thread.run(Thread.java:484)
> 
> Caused by: 
> com.ibatis.common.jdbc.exception.NestedSQLException:   
> --- The error occurred in
> com/ibatis/jpetstore/persistence/sqlmapdao/sql/Item.xml.
> --- The error occurred while applying a result map.  
> --- Check the Item.itemResult.  
> --- Check the result mapping for the 'attribute5' property.  
> --- Cause: java.lang.NullPointerException
> Caused by: java.lang.NullPointerException
> 	at
>
com.ibatis.sqlmap.engine.mapping.statement.GeneralStatement.executeQueryWith
Callback(GeneralStatement.java:157)
> 	at
>
com.ibatis.sqlmap.engine.mapping.statement.GeneralStatement.executeQueryForL
ist(GeneralStatement.java:99)
> 	at
>
com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.queryForList(SqlMapExec
utorDelegate.java:341)
> 	at
com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl.queryForList(SqlMapSessionIm
pl.java:81)
> 	at
com.ibatis.sqlmap.engine.impl.SqlMapClientImpl.queryForList(SqlMapClientImpl
.java:58)
> 	at
>
com.ibatis.sqlmap.engine.mapping.statement.PaginatedDataList.getList(Paginat
edDataList.java:128)
> 	at
>
com.ibatis.sqlmap.engine.mapping.statement.PaginatedDataList.pageTo(Paginate
dDataList.java:88)
> 	at
com.ibatis.sqlmap.engine.mapping.statement.PaginatedDataList.(PaginatedDataL
ist.java:36)
> 	at
>
com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.queryForPaginatedList(S
qlMapExecutorDelegate.java:378)
> 	at
>
com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl.queryForPaginatedList(SqlMap
SessionImpl.java:85)
> 	at
>
com.ibatis.sqlmap.engine.impl.SqlMapClientImpl.queryForPaginatedList(SqlMapC
lientImpl.java:62)
> 	at
>
com.ibatis.dao.client.template.SqlMapDaoTemplate.queryForPaginatedList(SqlMa
pDaoTemplate.java:261)
> 	at
>
com.ibatis.jpetstore.persistence.sqlmapdao.ItemSqlMapDao.getItemListByProduc
t(ItemSqlMapDao.java:42)
> 	at java.lang.reflect.Method.invoke(Native Method)
> 	at com.ibatis.dao.engine.impl.DaoProxy.invoke(DaoProxy.java:61)
> 	at $Proxy0.getItemListByProduct(Unknown Source)
> 	at
com.ibatis.jpetstore.service.CatalogService.getItemListByProduct(CatalogServ
ice.java:70)
> 	at
com.ibatis.jpetstore.presentation.CatalogBean.viewProduct(CatalogBean.java:1
61)
> 	at java.lang.reflect.Method.invoke(Native Method)
> 	at com.ibatis.struts.BeanAction.execute(BeanAction.java:138)
> 	at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProces
sor.java:484)
> 	at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
> 	at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
> 	at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> 	at
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247)
> 	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
> 	at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:260)
> 	at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
> 	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> 	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> 	at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:191)
> 	at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
> 	at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase
.java:493)
> 	at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
> 	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> 	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> 	at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
> 	at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
)
> 	at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
> 	at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:170)
> 	at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
> 	at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172
)
> 	at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
> 	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> 	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> 	at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:174)
> 	at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
> 	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> 	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> 	at
org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
> 	at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:432)
> 	at
>
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction(Http11Protocol.java:386)
> 	at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:534)
> 	at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:530)
> 	at java.lang.Thread.run(Thread.java:484)
> 
> Caused by: 
> java.lang.NullPointerException
> 	at com.ibatis.jpetstore.domain.Item.getSupplierId(Item.java:60)
> 	at
com.ibatis.common.beans.GenericProbe.setObject(GenericProbe.java:58)
> 	at
>
com.ibatis.sqlmap.engine.accessplan.ComplexAccessPlan.setProperties(ComplexA
ccessPlan.java:21)
> 	at
com.ibatis.sqlmap.engine.exchange.JavaBeanDataExchange.setData(JavaBeanDataE
xchange.java:73)
> 	at
>
com.ibatis.sqlmap.engine.mapping.result.BasicResultMap.setResultObjectValues
(BasicResultMap.java:148)
> 	at
>
com.ibatis.sqlmap.engine.mapping.statement.RowHandlerCallback.handleResultOb
ject(RowHandlerCallback.java:29)
> 	at
com.ibatis.sqlmap.engine.execution.SqlExecutor.handleResults(SqlExecutor.jav
a:279)
> 	at
com.ibatis.sqlmap.engine.execution.SqlExecutor.executeQuery(SqlExecutor.java
:127)
> 	at
>
com.ibatis.sqlmap.engine.mapping.statement.GeneralStatement.sqlExecuteQuery(
GeneralStatement.java:174)
> 	at
>
com.ibatis.sqlmap.engine.mapping.statement.GeneralStatement.executeQueryWith
Callback(GeneralStatement.java:142)
> 	at
>
com.ibatis.sqlmap.engine.mapping.statement.GeneralStatement.executeQueryForL
ist(GeneralStatement.java:99)
> 	at
>
com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.queryForList(SqlMapExec
utorDelegate.java:341)
> 	at
com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl.queryForList(SqlMapSessionIm
pl.java:81)
> 	at
com.ibatis.sqlmap.engine.impl.SqlMapClientImpl.queryForList(SqlMapClientImpl
.java:58)
> 	at
>
com.ibatis.sqlmap.engine.mapping.statement.PaginatedDataList.getList(Paginat
edDataList.java:128)
> 	at
>
com.ibatis.sqlmap.engine.mapping.statement.PaginatedDataList.pageTo(Paginate
dDataList.java:88)
> 	at
com.ibatis.sqlmap.engine.mapping.statement.PaginatedDataList.(PaginatedDataL
ist.java:36)
> 	at
>
com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.queryForPaginatedList(S
qlMapExecutorDelegate.java:378)
> 	at
>
com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl.queryForPaginatedList(SqlMap
SessionImpl.java:85)
> 	at
>
com.ibatis.sqlmap.engine.impl.SqlMapClientImpl.queryForPaginatedList(SqlMapC
lientImpl.java:62)
> 	at
>
com.ibatis.dao.client.template.SqlMapDaoTemplate.queryForPaginatedList(SqlMa
pDaoTemplate.java:261)
> 	at
>
com.ibatis.jpetstore.persistence.sqlmapdao.ItemSqlMapDao.getItemListByProduc
t(ItemSqlMapDao.java:42)
> 	at java.lang.reflect.Method.invoke(Native Method)
> 	at com.ibatis.dao.engine.impl.DaoProxy.invoke(DaoProxy.java:61)
> 	at $Proxy0.getItemListByProduct(Unknown Source)
> 	at
com.ibatis.jpetstore.service.CatalogService.getItemListByProduct(CatalogServ
ice.java:70)
> 	at
com.ibatis.jpetstore.presentation.CatalogBean.viewProduct(CatalogBean.java:1
61)
> 	at java.lang.reflect.Method.invoke(Native Method)
> 	at com.ibatis.struts.BeanAction.execute(BeanAction.java:138)
> 	at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProces
sor.java:484)
> 	at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
> 	at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
> 	at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> 	at
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247)
> 	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
> 	at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:260)
> 	at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
> 	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> 	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> 	at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:191)
> 	at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
> 	at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase
.java:493)
> 	at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
> 	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> 	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> 	at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
> 	at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
)
> 	at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
> 	at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:170)
> 	at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
> 	at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172
)
> 	at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
> 	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> 	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> 	at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:174)
> 	at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
> 	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> 	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> 	at
org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
> 	at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:432)
> 	at
>
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction(Http11Protocol.java:386)
> 	at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:534)
> 	at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:530)
> 	at java.lang.Thread.run(Thread.java:484)
> 
> 
> I am using tomcat server and struts,can u just help me out in solving
> this problem
> I have checked the class files ,its  in correct location
> 
> Thanks
> 
> Rahesh
> 



		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - now with 250MB free storage. Learn more.
http://info.mail.yahoo.com/mail_250


Mime
View raw message