cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "davide semprini" <semprini_dav...@hotmail.com>
Subject ESQL CONNECTION PROBLEM
Date Wed, 06 Dec 2000 14:42:05 GMT
Hi,
I am not able to connect with my dbase with esql connection,
my code is dadde.xml:

<esql:connection>
  <esql:dburl>jdbc:oracle:thin:@100.0.0.1:1521:***</esql:dburl>
      <esql:driver>oracle.jdbc.driver.OracleDriver</esql:driver>
      <esql:username>*******</esql:username>
      <esql:password>*******</esql:password>
      <esql:execute-query>
     <esql:query>select nome,cognome from dati</esql:query>

     <esql:results>
       <esql:row-results>
       <nome><esql:get-string column="nome"/></nome>
       </esql:row-results>
      </esql:results>

<esql:no-results>
<error>no results were found</error>
</esql:no-results>
<esql:error-results>
<message><esql:get-message/></message>
<stacktrace><esql:get-stacktrace/></stacktrace>
</esql:error-results>

</esql:execute-query>

<!- is this possible to make other query inside ??-->
</esql:connection>

and then when I request the page, cocoon reply:

jdbc:oracle:thin:@100.0.0.1:1521:*** oracle.jdbc.driver.OracleDriver ******* 
******* java.util.EmptyStackException at 
java.lang.Throwable.fillInStackTrace(Native Method) at 
java.lang.Throwable.fillInStackTrace(Compiled Code) at 
java.lang.Throwable.<init>(Compiled Code) at 
java.lang.Exception.<init>(Compiled Code) at 
java.lang.RuntimeException.<init>(Compiled Code) at 
java.util.EmptyStackException.<init>(Compiled Code) at 
java.util.Stack.peek(Compiled Code) at 
_eidos._home._muvi002._httpd._cocoon_1_8._visit._dadde._esql_execute_query_N138b49c(Compiled

Code) at 
_eidos._home._muvi002._httpd._cocoon_1_8._visit._dadde.populateDocument(_dadde.java:336) 
at org.apache.cocoon.processor.xsp.XSPPage.getDocument(Compiled Code) at 
org.apache.cocoon.processor.xsp.XSPProcessor.process(Compiled Code) at 
org.apache.cocoon.Engine.handle(Compiled Code) at 
org.apache.cocoon.Cocoon.service(Compiled Code) at 
javax.servlet.http.HttpServlet.service(Compiled Code) at 
org.apache.jserv.JServConnection.processRequest(Compiled Code) at 
org.apache.jserv.JServConnection.run(Compiled Code) at 
java.lang.Thread.run(Compiled Code)

Iam not able to connect at my dbase with this,
I can connect at my dbase via sql processor
turbine connection pool with only esql taglib <esql-execute-query>
to make 1 query
and when i use the structure of <esql-connection> don't match!!!!

why?????????????

tanks a lot at everybody that reply me,
I use cocoon 1.8  apache 1.3.2 os: unix



_____________________________________________________________________________________
Get more from the Web.  FREE MSN Explorer download : http://explorer.msn.com


Mime
View raw message