Forum OpenACS Q&A: Response to ns_java problem
aolserver log
14/Sep/2002:14:24:58][2497.7176][-sched:102-] Notice: registerTclJavaFunctions: registering commands Notice: Running scheduled proc wm_process_queue... [14/Sep/2002:14:24:58][2497.7176][-sched:102-] Debug: NsJava_GetThreadEnv: attach to JVM [14/Sep/2002:14:24:58][2497.7176][-sched:102-] Debug: NsJava_GetThreadEnv: attach to JVM worked [14/Sep/2002:14:24:58][2497.7176][-sched:102-] Debug: NsJava_GetThreadEnv: save env 136102516 tid = 7176 [Loaded nsjava/internal/Commands.class from /var/lib/aolserver/bin/nsjava.jar] [Loaded java/lang/Long.class from /usr/java/jdk118_v3/lib/classes.zip] [Loaded nsjava/NsLog.class from /var/lib/aolserver/bin/nsjava.jar] [Loaded java/lang/Runtime.class from /usr/java/jdk118_v3/lib/classes.zip] [Loaded nsjava/internal/TclString.class from /var/lib/aolserver/bin/nsjava.jar] [Loaded nsjava/internal/InternalRep.class from /var/lib/aolserver/bin/nsjava.jar] [Loaded nsjava/internal/TclObject.class from /var/lib/aolserver/bin/nsjava.jar] [Loaded nsjava/internal/TclList.class from /var/lib/aolserver/bin/nsjava.jar] [Loaded java/util/Vector.class from /usr/java/jdk118_v3/lib/classes.zip] [Loaded nsjava/internal/Util.class from /var/lib/aolserver/bin/nsjava.jar] [Loaded nsjava/internal/FindElemResult.class from /var/lib/aolserver/bin/nsjava.jar] [Loaded java/lang/ClassNotFoundException.class from /usr/java/jdk118_v3/lib/classes.zip] [Loaded nsjava/internal/TclInteger.class from /var/lib/aolserver/bin/nsjava.jar] [Loaded nsjava/internal/TclBoolean.class from /var/lib/aolserver/bin/nsjava.jar] [Loaded nsjava/internal/StrtoulResult.class from /var/lib/aolserver/bin/nsjava.jar] [Loaded java/lang/reflect/Array.class from /usr/java/jdk118_v3/lib/classes.zip] [Loaded nsjava/internal/Interp.class from /var/lib/aolserver/bin/nsjava.jar] [Loaded java/lang/Boolean.class from /usr/java/jdk118_v3/lib/classes.zip] [Loaded java/lang/Float.class from /usr/java/jdk118_v3/lib/classes.zip] [Loaded java/lang/Double.class from /usr/java/jdk118_v3/lib/classes.zip] [Loaded java/lang/Byte.class from /usr/java/jdk118_v3/lib/classes.zip] [Loaded java/lang/Short.class from /usr/java/jdk118_v3/lib/classes.zip] [Loaded java/lang/Void.class from /usr/java/jdk118_v3/lib/classes.zip] Error: can't read "arg": no such variable Notice: Done running scheduled proc wm_process_queue. [14/Sep/2002:14:25:17][2497.8200][-conn0-] Notice: Querying 'select creation_user from wm_outgoing_messages where outgoing_msg_id = 31;' [14/Sep/2002:14:25:17][2497.8200][-conn0-] Notice: dbinit: sql(localhost::balaton): 'select creation_user from wm_outgoing_messages where outgoing_msg_id = 31' [14/Sep/2002:14:25:17][2497.8200][-conn0-] Notice: Querying 'begin transaction;' [14/Sep/2002:14:25:17][2497.8200][-conn0-] Notice: Ns_PgExec: Entering transaction [14/Sep/2002:14:25:17][2497.8200][-conn0-] Notice: dbinit: sql(localhost::balaton): 'begin transaction' [14/Sep/2002:14:25:17][2497.8200][-conn0-] Debug: NsJava_GetThreadEnv: attach to JVM [14/Sep/2002:14:25:17][2497.8200][-conn0-] Debug: NsJava_GetThreadEnv: attach to JVM worked [14/Sep/2002:14:25:17][2497.8200][-conn0-] Debug: NsJava_GetThreadEnv: save env 143462460 tid = 8200 Notice: error: can't read "arg": no such variable [14/Sep/2002:14:25:17][2497.8200][-conn0-] Notice: Querying 'abort transaction;' [14/Sep/2002:14:25:17][2497.8200][-conn0-] Notice: Ns_PgExec: Rolling back transaction [14/Sep/2002:14:25:17][2497.8200][-conn0-] Notice: dbinit: sql(localhost::balaton): 'abort transaction' 202.88.148.231 - - [14/Sep/2002:14:25:17 +0530] "GET /webmail/message-send-3.tcl?outgoing_msg_id=31&response_to_msg_id= HTTP/1.0" 500 2084 "http://.dyndns.org:8050/webmail/message-send-2.tcl" "Mozilla/4.78 [en] (X11; U; Linux 2.4.7-10 i686)" [14/Sep/2002:14:25:19][2497.8200][-conn0-] Notice: Querying 'select creation_user from wm_outgoing_messages where outgoing_msg_id = 31;'