0 Replies Latest reply on Apr 1, 2002 1:30 AM by josephlong

    why show this error!!!!

    josephlong Newbie

      SQL> select count(*) from mytable;

      COUNT(*)
      ----------
      7690

      PreparedStatement ps=conn.prepareStatement(select * from mytable)
      ResultSet rs = ps.executeQuery();
      try{
      while(rs.next()){}
      ///////////////
      [ERROR,Default] java.lang.ArrayStoreException
      [ERROR,Default] at java.lang.System.arraycopy(Native Method)
      [ERROR,Default]
      [ERROR,Default] at java.util.Vector.copyInto(Vector.java:152)
      [ERROR,Default]
      [ERROR,Default] at com.eba.servlet.myServlet.myquery(myservlet.java:235)
      [ERROR,Default]
      [ERROR,Default] at com.eba.servlet.myservlet.service(myservlet.ja
      va:141)
      [ERROR,Default]
      [ERROR,Default] at javax.servlet.http.HttpServlet.service(HttpServlet.java:85
      3)
      [ERROR,Default]
      [ERROR,Default] at org.apache.catalina.core.ApplicationFilterChain.internalDo
      Filter(ApplicationFilterChain.java:247)
      [ERROR,Default]
      [ERROR,Default] at org.apache.catalina.core.ApplicationFilterChain.doFilter(A
      pplicationFilterChain.java:193)
      [ERROR,Default]
      [ERROR,Default] at org.apache.catalina.core.StandardWrapperValve.invoke(Stand
      ardWrapperValve.java:243)
      [ERROR,Default]
      [ERROR,Default] at org.apache.catalina.core.StandardPipeline.invokeNext(Stand
      ardPipeline.java:566)
      [ERROR,Default]
      [ERROR,Default] at org.apache.catalina.core.StandardPipeline.invoke(StandardP
      ipeline.java:472)
      [ERROR,Default]
      [ERROR,Default] at org.apache.catalina.core.ContainerBase.invoke(ContainerBas
      e.java:943)
      [ERROR,Default]
      [ERROR,Default] at org.apache.catalina.core.StandardContextValve.invoke(Stand
      ardContextValve.java:201)
      [ERROR,Default]
      [ERROR,Default] at org.apache.catalina.core.StandardPipeline.invokeNext(Stand
      ardPipeline.java:566)
      [ERROR,Default]
      [ERROR,Default] at org.apache.catalina.authenticator.AuthenticatorBase.invoke
      (AuthenticatorBase.java:472)
      [ERROR,Default]
      [ERROR,Default] at org.apache.catalina.core.StandardPipeline.invokeNext(Stand
      ardPipeline.java:564)
      [ERROR,Default]
      [ERROR,Default] at org.apache.catalina.valves.CertificatesValve.invoke(Certif
      icatesValve.java:246)
      [ERROR,Default]
      [ERROR,Default] at org.apache.catalina.core.StandardPipeline.invokeNext(Stand
      ardPipeline.java:564)
      [ERROR,Default]
      [ERROR,Default] at org.apache.catalina.core.StandardPipeline.invoke(StandardP
      ipeline.java:472)
      [ERROR,Default]
      [ERROR,Default] at org.apache.catalina.core.ContainerBase.invoke(ContainerBas
      e.java:943)
      [ERROR,Default]
      [ERROR,Default] at org.apache.catalina.core.StandardContext.invoke(StandardCo
      ntext.java:2344)
      [ERROR,Default]
      [ERROR,Default] at org.apache.catalina.core.StandardHostValve.invoke(Standard
      HostValve.java:164)
      [ERROR,Default]
      [ERROR,Default] at org.apache.catalina.core.StandardPipeline.invokeNext(Stand
      ardPipeline.java:566)
      [ERROR,Default]
      [ERROR,Default] at org.apache.catalina.valves.ErrorDispatcherValve.invoke(Err
      orDispatcherValve.java:170)
      [ERROR,Default]
      [ERROR,Default] at org.apache.catalina.core.StandardPipeline.invokeNext(Stand
      ardPipeline.java:564)
      [ERROR,Default]
      [ERROR,Default] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRe
      portValve.java:170)
      [ERROR,Default]
      [ERROR,Default] at org.apache.catalina.core.StandardPipeline.invokeNext(Stand
      ardPipeline.java:564)
      [ERROR,Default]
      [ERROR,Default] at org.apache.catalina.core.StandardPipeline.invoke(StandardP
      ipeline.java:472)
      [ERROR,Default]
      [ERROR,Default] at org.apache.catalina.core.ContainerBase.invoke(ContainerBas
      e.java:943)
      [ERROR,Default]
      [ERROR,Default] at org.apache.catalina.core.StandardEngineValve.invoke(Standa
      rdEngineValve.java:163)
      [ERROR,Default]
      [ERROR,Default] at org.apache.catalina.core.StandardPipeline.invokeNext(Stand
      ardPipeline.java:566)
      [ERROR,Default]
      [ERROR,Default] at org.apache.catalina.core.StandardPipeline.invoke(StandardP
      ipeline.java:472)
      [ERROR,Default]
      [ERROR,Default] at org.apache.catalina.core.ContainerBase.invoke(ContainerBas
      e.java:943)
      [ERROR,Default]
      [ERROR,Default] at org.apache.catalina.connector.http.HttpProcessor.process(H
      ttpProcessor.java:1011)
      [ERROR,Default]
      [ERROR,Default] at org.apache.catalina.connector.http.HttpProcessor.run(HttpP
      rocessor.java:1106)
      [ERROR,Default]
      [ERROR,Default] at java.lang.Thread.run(Thread.java:484)
      [ERROR,Default]
      [INFO,Default] curr_Page_ =null
      [INFO,OracleDS] org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl created new Connectio
      n (oracle.jdbc.driver.OracleConnection) with XAResource org.jboss.pool.jdbc.xa.wrappe
      r.XAResourceImpl and XAConnection org.jboss.pool.jdbc.xa.wrapper.XAConnectionImpl.
      [INFO,OracleDS] No transaction right now.
      ////////////////
      why why!!!!!!!!!!!!!!
      database oracle9i
      jboss 2.4