Server log [error -131]

Questions and Answers on installation, deployment, management, locking, tranasactions of Servoy Application Server

Server log [error -131]

Postby AGhisalberti » Wed Oct 27, 2004 11:25 am

on the "server log" panel i get this repetitive error:

com.sybase.jdbc2.jdbc.SybSQLException: ASA Error -131: Syntax error near ',' on line 1

Code: Select all
com.sybase.jdbc2.jdbc.SybSQLException: ASA Error -131: Syntax error near ',' on line 1
   at com.sybase.jdbc2.tds.Tds.processEed(Tds.java:2636)
   at com.sybase.jdbc2.tds.Tds.nextResult(Tds.java:1996)
   at com.sybase.jdbc2.jdbc.ResultGetter.nextResult(ResultGetter.java:69)
   at com.sybase.jdbc2.jdbc.SybStatement.nextResult(SybStatement.java:204)
   at com.sybase.jdbc2.jdbc.SybStatement.nextResult(SybStatement.java:187)
   at com.sybase.jdbc2.jdbc.SybStatement.queryLoop(SybStatement.java:1510)
   at com.sybase.jdbc2.jdbc.SybStatement.executeQuery(SybStatement.java:1495)
   at com.sybase.jdbc2.jdbc.SybPreparedStatement.executeQuery(SybPreparedStatement.java:70)
   at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:324)
   at com.servoy.j2db.persistence.datasource.p.invoke(Unknown Source)
   at $Proxy1.executeQuery(Unknown Source)
   at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:179)
   at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:179)
   at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:179)
   at com.servoy.j2db.dataprocessing.SQLEngine.a(Unknown Source)
   at com.servoy.j2db.dataprocessing.SQLEngine.performQuery(Unknown Source)
   at sun.reflect.GeneratedMethodAccessor128.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:324)
   at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
   at sun.rmi.transport.Transport$1.run(Transport.java:148)
   at java.security.AccessController.doPrivileged(Native Method)
   at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
   at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
   at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
   at java.lang.Thread.run(Thread.java:554)


according to the ASAError messages manual the -131 error code:
<<Probable cause The database server cannot understand the statement you are trying to execute. If you used a keyword (such as DATE) for a column name, try enclosing the keyword in quotation marks (DATE).>>
is there any way to get by which method this error could be generated? (well, other than walking through all the solution, off course ;) )
AGhisalberti
 
Posts: 42
Joined: Mon May 17, 2004 7:23 pm
Location: Italy

Postby jcompagner » Thu Oct 28, 2004 5:49 pm

start servoy developer with stacktrace support:

java -DSTACKTRACE=TRUE -jar servoy_developer.jar

then you will see the sql that is send through it.
You could also send the solution to me who does this.
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8833
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Postby AGhisalberti » Fri Oct 29, 2004 12:14 am

jcompagner wrote:start servoy developer with stacktrace support:

java -DSTACKTRACE=TRUE -jar servoy_developer.jar

then you will see the sql that is send through it.
You could also send the solution to me who does this.

Amazing!
Thanks Johan, this is a great tip.

I'll give a try, in case... ;)

Armando
AGhisalberti
 
Posts: 42
Joined: Mon May 17, 2004 7:23 pm
Location: Italy


Return to Servoy Server

Who is online

Users browsing this forum: No registered users and 1 guest