Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp
Hibernate version: hibernate 3.2.0.cr2
Mapping documents:Annotations
The code bellow belongs a method of my session bean:
Code:
public List findAll(int pages) {
log.debug("getting all TInscri instances");
try {
Query qry = entityManager.createQuery("from TAvaluno ta");
qry.setMaxResults(100);
qry.setFirstResult(pages*100);
List res = qry.getResultList();
log.debug("get successful");
return res;
} catch (RuntimeException re) {
log.error("get failed", re);
throw re;
}
}
This code returns the following stack trace everytime i try to execute it because of a bad mapping. It seems to me that he is trying to map the column tavaluno0_.CD_LECTIVO as CD3_25_ as a Short but it is a String in the entity and it's a VARCHAR2(2) in the Database.
I mapped my DB using the eclipse tools.
Is this a bug ?
Full stack trace of any exception that occurs:2006-09-11 19:55:37,161 DEBUG [org.hibernate.util.JDBCExceptionReporter] could not execute query [select tavaluno0_.CD_CURSO as CD1_25_, tavaluno0_.CD_ALUNO as CD2_25_, tavaluno0_.CD_LECTIVO as CD3_25_, tavaluno0_.CD_DISCIP as CD4_25_, tavaluno0_.CD_DURACAO as CD5_25_, tavaluno0_.CD_GRU_AVA as CD6_25_, tavaluno0_.CD_AVALIA as CD7_25_, tavaluno0_.CD_LIVRO as CD8_25_, tavaluno0_.PROTEGIDO as PROTEGIDO25_, tavaluno0_.REGISTER_ID as REGISTER10_25_, tavaluno0_.DT_AVALIA as DT11_25_, tavaluno0_.NR_AVALIA as NR12_25_, tavaluno0_.CD_STA_EPO as CD13_25_, tavaluno0_.CD_FINAL as CD14_25_, tavaluno0_.CD_LOCAL as CD15_25_, tavaluno0_.NIA as NIA25_, tavaluno0_.NR_PONDERA as NR17_25_, tavaluno0_.SQ_AVALIA as SQ18_25_, tavaluno0_.CD_QUAL_AVA as CD19_25_ from CSE.T_AVALUNO tavaluno0_]
java.sql.SQLException: Excesso de Dados Numéricos
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:269)
at oracle.jdbc.driver.OracleStatement.getShortValue(OracleStatement.java:4420)
at oracle.jdbc.driver.OracleResultSetImpl.getShort(OracleResultSetImpl.java:517)
at oracle.jdbc.driver.OracleResultSet.getShort(OracleResultSet.java:1517)
at org.jboss.resource.adapter.jdbc.WrappedResultSet.getShort(WrappedResultSet.java:846)
at org.hibernate.type.ShortType.get(ShortType.java:28)
at org.hibernate.type.NullableType.nullSafeGet(NullableType.java:113)
at org.hibernate.type.NullableType.nullSafeGet(NullableType.java:102)
at org.hibernate.type.AbstractType.hydrate(AbstractType.java:81)
at org.hibernate.type.ComponentType.hydrate(ComponentType.java:506)
at org.hibernate.type.ComponentType.nullSafeGet(ComponentType.java:229)
at org.hibernate.type.ManyToOneType.hydrate(ManyToOneType.java:95)
at org.hibernate.persister.entity.AbstractEntityPersister.hydrate(AbstractEntityPersister.java:1983)
at org.hibernate.loader.Loader.loadFromResultSet(Loader.java:1372)
at org.hibernate.loader.Loader.instanceNotYetLoaded(Loader.java:1300)
at org.hibernate.loader.Loader.getRow(Loader.java:1197)
at org.hibernate.loader.Loader.getRowFromResultSet(Loader.java:569)
at org.hibernate.loader.Loader.doQuery(Loader.java:689)
at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:224)
at org.hibernate.loader.Loader.doList(Loader.java:2145)
at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2029)
at org.hibernate.loader.Loader.list(Loader.java:2024)
at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:392)
at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:333)
at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:172)
at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1114)
at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)
at org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:53)
at model.ejbs.TAvalunoHome.findAll(TAvalunoHome.java:97)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)
at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:197)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:78)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:181)
at org.jboss.ejb3.stateless.StatelessLocalProxy.invoke(StatelessLocalProxy.java:79)
at $Proxy144.findAll(Unknown Source)
at servlet.CalculatorActionServlet.doit(CalculatorActionServlet.java:110)
at servlet.CalculatorActionServlet.doPost(CalculatorActionServlet.java:57)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Thread.java:595)
Name and version of the database you are using: Oracle 92Debug level Hibernate log excerpt:2006-09-11 19:55:37,114 DEBUG [org.hibernate.hql.ast.ErrorCounter] throwQueryException() : no errors
2006-09-11 19:55:37,114 DEBUG [org.hibernate.hql.antlr.HqlSqlBaseWalker] select << begin [level=1, statement=select]
2006-09-11 19:55:37,114 DEBUG [org.hibernate.hql.ast.tree.FromElement] FromClause{level=1} : model.ejbs.TAvaluno (ta) -> tavaluno0_
2006-09-11 19:55:37,114 DEBUG [org.hibernate.hql.antlr.HqlSqlBaseWalker] select : finishing up [level=1, statement=select]
2006-09-11 19:55:37,114 DEBUG [org.hibernate.hql.ast.HqlSqlWalker] processQuery() : ( SELECT ( FromClause{level=1} CSE.T_AVALUNO tavaluno0_ ) )
2006-09-11 19:55:37,114 DEBUG [org.hibernate.hql.ast.HqlSqlWalker] Derived SELECT clause created.
2006-09-11 19:55:37,114 DEBUG [org.hibernate.hql.ast.util.JoinProcessor] Using FROM fragment [CSE.T_AVALUNO tavaluno0_]
2006-09-11 19:55:37,114 DEBUG [org.hibernate.hql.antlr.HqlSqlBaseWalker] select >> end [level=1, statement=select]
2006-09-11 19:55:37,114 DEBUG [org.hibernate.hql.ast.AST] --- SQL AST ---
\-[SELECT] QueryNode: 'SELECT' querySpaces (CSE.T_AVALUNO)
+-[SELECT_CLAUSE] SelectClause: '{derived select clause}'
| +-[SELECT_EXPR] SelectExpressionImpl: 'tavaluno0_.CD_CURSO as CD1_25_, tavaluno0_.CD_ALUNO as CD2_25_, tavaluno0_.CD_LECTIVO as CD3_25_, tavaluno0_.CD_DISCIP as CD4_25_, tavaluno0_.CD_DURACAO as CD5_25_, tavaluno0_.CD_GRU_AVA as CD6_25_, tavaluno0_.CD_AVALIA as CD7_25_' {FromElement{explicit,not a collection join,not a fetch join,fetch non-lazy properties,classAlias=ta,role=null,tableName=CSE.T_AVALUNO,tableAlias=tavaluno0_,origin=null,colums={,className=model.ejbs.TAvaluno}}}
| \-[SQL_TOKEN] SqlFragment: 'tavaluno0_.CD_LIVRO as CD8_25_, tavaluno0_.PROTEGIDO as PROTEGIDO25_, tavaluno0_.REGISTER_ID as REGISTER10_25_, tavaluno0_.DT_AVALIA as DT11_25_, tavaluno0_.NR_AVALIA as NR12_25_, tavaluno0_.CD_STA_EPO as CD13_25_, tavaluno0_.CD_FINAL as CD14_25_, tavaluno0_.CD_LOCAL as CD15_25_, tavaluno0_.NIA as NIA25_, tavaluno0_.NR_PONDERA as NR17_25_, tavaluno0_.SQ_AVALIA as SQ18_25_, tavaluno0_.CD_QUAL_AVA as CD19_25_'
\-[FROM] FromClause: 'from' FromClause{level=1, fromElementCounter=1, fromElements=1, fromElementByClassAlias=[ta], fromElementByTableAlias=[tavaluno0_], fromElementsByPath=[], collectionJoinFromElementsByPath=[], impliedElements=[]}
\-[FROM_FRAGMENT] FromElement: 'CSE.T_AVALUNO tavaluno0_' FromElement{explicit,not a collection join,not a fetch join,fetch non-lazy properties,classAlias=ta,role=null,tableName=CSE.T_AVALUNO,tableAlias=tavaluno0_,origin=null,colums={,className=model.ejbs.TAvaluno}}
2006-09-11 19:55:37,114 DEBUG [org.hibernate.hql.ast.ErrorCounter] throwQueryException() : no errors
2006-09-11 19:55:37,114 DEBUG [org.hibernate.hql.ast.QueryTranslatorImpl] HQL: from model.ejbs.TAvaluno ta
2006-09-11 19:55:37,114 DEBUG [org.hibernate.hql.ast.QueryTranslatorImpl] SQL: select tavaluno0_.CD_CURSO as CD1_25_, tavaluno0_.CD_ALUNO as CD2_25_, tavaluno0_.CD_LECTIVO as CD3_25_, tavaluno0_.CD_DISCIP as CD4_25_, tavaluno0_.CD_DURACAO as CD5_25_, tavaluno0_.CD_GRU_AVA as CD6_25_, tavaluno0_.CD_AVALIA as CD7_25_, tavaluno0_.CD_LIVRO as CD8_25_, tavaluno0_.PROTEGIDO as PROTEGIDO25_, tavaluno0_.REGISTER_ID as REGISTER10_25_, tavaluno0_.DT_AVALIA as DT11_25_, tavaluno0_.NR_AVALIA as NR12_25_, tavaluno0_.CD_STA_EPO as CD13_25_, tavaluno0_.CD_FINAL as CD14_25_, tavaluno0_.CD_LOCAL as CD15_25_, tavaluno0_.NIA as NIA25_, tavaluno0_.NR_PONDERA as NR17_25_, tavaluno0_.SQ_AVALIA as SQ18_25_, tavaluno0_.CD_QUAL_AVA as CD19_25_ from CSE.T_AVALUNO tavaluno0_
2006-09-11 19:55:37,114 DEBUG [org.hibernate.hql.ast.ErrorCounter] throwQueryException() : no errors
2006-09-11 19:55:37,114 DEBUG [org.hibernate.jdbc.AbstractBatcher] about to open PreparedStatement (open PreparedStatements: 0, globally: 0)
2006-09-11 19:55:37,114 DEBUG [org.hibernate.jdbc.ConnectionManager] opening JDBC connection
2006-09-11 19:55:37,114 DEBUG [org.hibernate.SQL] select * from ( select row_.*, rownum rownum_ from ( select tavaluno0_.CD_CURSO as CD1_25_, tavaluno0_.CD_ALUNO as CD2_25_, tavaluno0_.CD_LECTIVO as CD3_25_, tavaluno0_.CD_DISCIP as CD4_25_, tavaluno0_.CD_DURACAO as CD5_25_, tavaluno0_.CD_GRU_AVA as CD6_25_, tavaluno0_.CD_AVALIA as CD7_25_, tavaluno0_.CD_LIVRO as CD8_25_, tavaluno0_.PROTEGIDO as PROTEGIDO25_, tavaluno0_.REGISTER_ID as REGISTER10_25_, tavaluno0_.DT_AVALIA as DT11_25_, tavaluno0_.NR_AVALIA as NR12_25_, tavaluno0_.CD_STA_EPO as CD13_25_, tavaluno0_.CD_FINAL as CD14_25_, tavaluno0_.CD_LOCAL as CD15_25_, tavaluno0_.NIA as NIA25_, tavaluno0_.NR_PONDERA as NR17_25_, tavaluno0_.SQ_AVALIA as SQ18_25_, tavaluno0_.CD_QUAL_AVA as CD19_25_ from CSE.T_AVALUNO tavaluno0_ ) row_ where rownum <= ?) where rownum_ > ?
2006-09-11 19:55:37,130 DEBUG [org.hibernate.jdbc.AbstractBatcher] about to open ResultSet (open ResultSets: 0, globally: 0)
2006-09-11 19:55:37,130 DEBUG [org.hibernate.loader.Loader] result row: EntityKey[model.ejbs.TAvaluno#component[cdCurso,cdAluno,cdLectivo,cdDiscip,cdDuracao,cdGruAva,cdAvalia]{cdGruAva=1, cdLectivo=198990, cdCurso=1, cdAluno=132, cdAvalia=99, cdDuracao=S2, cdDiscip=24}]
2006-09-11 19:55:37,161 INFO [org.hibernate.type.ShortType] could not read column value from result set: CD3_25_; Excesso de Dados Numéricos
2006-09-11 19:55:37,161 DEBUG [org.hibernate.jdbc.AbstractBatcher] about to close ResultSet (open ResultSets: 1, globally: 1)
2006-09-11 19:55:37,161 DEBUG [org.hibernate.jdbc.AbstractBatcher] about to close PreparedStatement (open PreparedStatements: 1, globally: 1)
2006-09-11 19:55:37,161 DEBUG [org.hibernate.jdbc.ConnectionManager] aggressively releasing JDBC connection
2006-09-11 19:55:37,161 DEBUG [org.hibernate.jdbc.ConnectionManager] releasing JDBC connection [ (open PreparedStatements: 0, globally: 0) (open ResultSets: 0, globally: 0)]
2006-09-11 19:55:37,161 DEBUG [org.hibernate.util.JDBCExceptionReporter] could not execute query [select tavaluno0_.CD_CURSO as CD1_25_, tavaluno0_.CD_ALUNO as CD2_25_, tavaluno0_.CD_LECTIVO as CD3_25_, tavaluno0_.CD_DISCIP as CD4_25_, tavaluno0_.CD_DURACAO as CD5_25_, tavaluno0_.CD_GRU_AVA as CD6_25_, tavaluno0_.CD_AVALIA as CD7_25_, tavaluno0_.CD_LIVRO as CD8_25_, tavaluno0_.PROTEGIDO as PROTEGIDO25_, tavaluno0_.REGISTER_ID as REGISTER10_25_, tavaluno0_.DT_AVALIA as DT11_25_, tavaluno0_.NR_AVALIA as NR12_25_, tavaluno0_.CD_STA_EPO as CD13_25_, tavaluno0_.CD_FINAL as CD14_25_, tavaluno0_.CD_LOCAL as CD15_25_, tavaluno0_.NIA as NIA25_, tavaluno0_.NR_PONDERA as NR17_25_, tavaluno0_.SQ_AVALIA as SQ18_25_, tavaluno0_.CD_QUAL_AVA as CD19_25_ from CSE.T_AVALUNO tavaluno0_]
java.sql.SQLException: Excesso de Dados Numéricos
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:269)
at oracle.jdbc.driver.OracleStatement.getShortValue(OracleStatement.java:4420)
at oracle.jdbc.driver.OracleResultSetImpl.getShort(OracleResultSetImpl.java:517)
at oracle.jdbc.driver.OracleResultSet.getShort(OracleResultSet.java:1517)
at org.jboss.resource.adapter.jdbc.WrappedResultSet.getShort(WrappedResultSet.java:846)
at org.hibernate.type.ShortType.get(ShortType.java:28)
at org.hibernate.type.NullableType.nullSafeGet(NullableType.java:113)
at org.hibernate.type.NullableType.nullSafeGet(NullableType.java:102)
at org.hibernate.type.AbstractType.hydrate(AbstractType.java:81)
at org.hibernate.type.ComponentType.hydrate(ComponentType.java:506)
at org.hibernate.type.ComponentType.nullSafeGet(ComponentType.java:229)
at org.hibernate.type.ManyToOneType.hydrate(ManyToOneType.java:95)
at org.hibernate.persister.entity.AbstractEntityPersister.hydrate(AbstractEntityPersister.java:1983)
at org.hibernate.loader.Loader.loadFromResultSet(Loader.java:1372)
at org.hibernate.loader.Loader.instanceNotYetLoaded(Loader.java:1300)
at org.hibernate.loader.Loader.getRow(Loader.java:1197)
at org.hibernate.loader.Loader.getRowFromResultSet(Loader.java:569)
at org.hibernate.loader.Loader.doQuery(Loader.java:689)
at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:224)
at org.hibernate.loader.Loader.doList(Loader.java:2145)
at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2029)
at org.hibernate.loader.Loader.list(Loader.java:2024)
at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:392)
at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:333)
at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:172)
at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1114)
at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)
at org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:53)
at model.ejbs.TAvalunoHome.findAll(TAvalunoHome.java:97)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)
at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:197)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:78)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:181)
at org.jboss.ejb3.stateless.StatelessLocalProxy.invoke(StatelessLocalProxy.java:79)
at $Proxy144.findAll(Unknown Source)
at servlet.CalculatorActionServlet.doit(CalculatorActionServlet.java:110)
at servlet.CalculatorActionServlet.doPost(CalculatorActionServlet.java:57)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Thread.java:595)
Thank's in advance,
António Silva[/code]