Compling error

HI, anyone konw why there is compling error? I have got a list of record from db and the following script is used to update one record when i click submit button on that record
Thx a lot
Chikkit
error
Update.java:23: incompatible types
found : java.lang.String
required: java.lang.String[]
String name[] = req.getParameter("name");
^
Update.java:24: incompatible types
found : java.lang.String
required: java.lang.String[]
String email[] = req.getParameter("email");
^
Update.java:25: incompatible types
found : java.lang.String
required: java.lang.String[]
String message[] = req.getParameter("message");
^
3 errors
script
package chikkit;
import javax.servlet.*;
import javax.servlet.http.*;
import java.io.*;
import java.sql.*;
public class Update extends HttpServlet {
private Connection conn = null;
private Statement stat = null;
public void doPost(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException {
PrintWriter out = res.getWriter();
res.setContentType("text/html");
//String name, email, message;
//name = req.getParameter("name");
//email = req.getParameter("email");
//message = req.getParameter("message");
String name[] = req.getParameter("name");
String email[] = req.getParameter("email");
String message[] = req.getParameter("message");
//top html-tags here:
out.println("<html>");
out.println("<head>");
out.println("<title>Thanks</title>");
out.println("</head>");
try {
String dbURL = "jdbc:HypersonicSQL:/members/aFomaSX4K3nMurOq8wdg4oKLfyWvjK6m/myDB/myDB";
Class.forName("org.hsql.jdbcDriver");
conn = DriverManager.getConnection(dbURL, "sa", "");
stat = conn.createStatement();
} catch (Exception e) {
out.println("<br>ERROR: Could not connect to database<br>");
out.print(e);
for(int i=0;i<name.length;i++)
String sql = "update guest set email =" + email[i] +
"where name =" + name;
try {
int numRows = stat.executeUpdate(sql);
stat.close();
} catch (SQLException s) {
out.println("<br>ERROR: Could not update database<br>");
out.print(s);
//try {
//int numRows = stat.executeUpdate(sql);
//stat.close();
//} catch (SQLException s) {
//out.println("<br>ERROR: Could not update database<br>");
//out.print(s);
out.println("<body bgcolor=\"#FFFFFF\" text=\"#000000\">");
out.println("<p> </p>");
out.println("<h3>Thanks for your entry to my guestbook, " + name + "<br>");
out.println("</h3>");
out.println("Go to back to: <a href=\"http://www.mycgiserver.com/~chikkit/GuestBook.jsp\">Viewing the guestbook</a> | ");
out.println("<a href=\"http://www.mycgiserver.com/~chikkit/input.html\">Writing the guestbook</a> | ");
out.println("<a href=\"http://www.mycgiserver.com/~chikkit/tutorial.html\">Tutorial</a>");
out.println("</body>");
out.println("</html>");
try {
conn.close();
} catch (SQLException s) {
out.println("<br>ERROR: Unable to close database connection<br>");

The getParameter method returns a String, so the correct way to use it is:
String name = req.getParameter("name");
String email = req.getParameter("email");
... and so on.
i hope it works!!!

Similar Messages

  • Complie Error for menus (Swing)

    I'm receiving the following complie error. Also, listed is the area for code that is getting the error.
    Thank you for any help that you can provide.
    Error Message:
    P5AWT should be declared abstract; it does not define menuSelected(javax.swing.event.MenuEvent) in P5AWT
    public class P5AWT extends JFrame
    Program:
    public class P5AWT extends JFrame
         implements ActionListener, MenuListener
    private JTextField inputfile;
    private JTextField outputfile;
    private JTextArea ta;
    private JMenuItem newMT, openMT, saveAsMT, exitMT;
    String curFile, filename = "";
    int numstaff;
    Employee[] staff;
    public P5AWT()
    super ("P5AWT Starter Program");
    addWindowListener(new WindowAdapter()
    { public void windowClosing(WindowEvent e) { System.exit(0); }} );
    JMenuBar mb = new JMenuBar ();
    setMenuBar(mb);
    JMenu fileMenu = new JMenu ("File");
    mb.add(fileMenu);
    fileMenu.add (newMT = new JMenuItem ("New", new MenuShortcut(KeyEvent.VK_N)));
    newMT.addMenuListener( new NewCommand());
    fileMenu.add (openMT = new JMenuItem ("Open", new MenuShortcut(KeyEvent.VK_O)));
    openMT.addMenuListener( new LoadFileCommand());
    fileMenu.add (saveAsMT = new JMenuItem ("Save As"));
    saveAsMT.addMenuListener( new SaveAsFileCommand());
    fileMenu.add (exitMT = new JMenuItem ("Exit"));
    exitMT.addMenuListener( new CloseCommand());
    JPanel p3 = new JPanel();
    p3.setLayout(new FlowLayout(FlowLayout.CENTER));
    ta = new JTextArea(20, 60);
    p3.add(ta);
    setLayout(new FlowLayout(FlowLayout.CENTER)); // this overides everything, why?
    add(p3);
    }

    menuSelected is a Abstract method. That means if you implement the MenuListener Class you SHOULD define the menuSelected() event.
    I am not correct with the Method names but logically it seems that tis is the problem.
    Another thing, use setJMenuBar() instead setMenuBar()
    Regards ,
    Karan

  • A complie error of my jsp

    I met a complie error of my jsp, could you tell me what is the problem?
    Here is a part of my jsp, I omit the html part.
    <%
    Class.forName("com.mysql.jdbc.Driver").newInstance();
    java.sql.Connection conn1;
    conn1=DriverManager.getConnection("jdbc:mysql://130.225.76.177/exwh?user=kun&password=some_pass");
    Statement stmt1 = conn.createStatement ();
    ResultSet rs1 = stmt1.executeQuery("select site_name from site, location, location_coountry, country where country.country="Algerina" and country.countryid = location.countryid and location_country.locationid = location.locationid and location.siteid =site.siteid");
    if (rs1 !=null)
    while(rs1.next())
    String sn1=rs1.getString("site_name");
    %>
    <li><a href="DisplaySite?site_name=<%=sn2.replace( ','+') %">'><%= sn2%></a><li><br>
    <%
    stmt1.close();
    conn1.close();
    %>
    The error comments is following:
    Internal Servlet Error:
    org.apache.jasper.JasperException: Unable to compile Note: sun.tools.javac.Main has been deprecated.
    /usr/local/tomcat/work/DEFAULT/projsp/jsp/allsites_3.java:68: ')' expected.
    ResultSet rs1 = stmt1.executeQuery("select site_name from site, location, location_coountry, country where country.country="Algerina" and country.countryid = location.countryid and location_country.locationid = location.locationid and location.siteid =site.siteid");
    ^
    1 error, 1 warning
    at org.apache.tomcat.facade.JasperLiaison.javac(JspInterceptor.java:898)
    at org.apache.tomcat.facade.JasperLiaison.processJspFile(JspInterceptor.java:733)
    at org.apache.tomcat.facade.JspInterceptor.requestMap(JspInterceptor.java:506)
    at org.apache.tomcat.core.ContextManager.processRequest(ContextManager.java:968)
    at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:875)
    at org.apache.tomcat.core.ContextManager.service(ContextManager.java:833)
    at org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Http10Interceptor.java:176)
    at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:494)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:516)
    at java.lang.Thread.run(Thread.java:536)
    What is the meaning of the error comment? I have checked my code, I have not found where need the ")".
    Hopefully,, someone can give me a hint!

    Check this :-
    java.sql.Connection conn1;
    conn1=DriverManager.getConnection("jdbc:mysql://130.225.76.177/exwh?user=kun&password=some_pass");
    Statement stmt1 = conn.createStatement ();
    You have declared conn1 and using conn.
    Check this too:-
    ResultSet rs1 = stmt1.executeQuery("select site_name from site, location, location_coountry, country where country.country="Algerina" and country.countryid = location.countryid and location_country.locationid = location.locationid and location.siteid =site.siteid");
    It expects a ")" after [country="] as the string ends there. Try using country.country='Algerina' instead of country.country="Algerina"

  • Complie Error in Jini program

    hi
    i am doing project in Jini version 2.1 and jdk 1.5
    my problem is when compling the jini program it shows the following error.(It is a client/server program) when i complie the client i faced this problem
    here i complied 3 prgs all r client side programs
    F:\prgs\client>javac ConvertService.java
    F:\prgs\client>javac ConvertClient.java
    ConvertClient.java:41: cannot find symbol
    symbol : class ServiceFinder
    location: class ConvertClient
    ServiceFinder sf = new ServiceFinder(ConvertService.class);
    ^
    ConvertClient.java:41: cannot find symbol
    symbol : class ServiceFinder
    location: class ConvertClient
    ServiceFinder sf = new ServiceFinder(ConvertService.class);
    ^
    ConvertClient.java:41: cannot find symbol
    symbol : class ConvertService
    location: class ConvertClient
    ServiceFinder sf = new ServiceFinder(ConvertService.class);
    ^
    ConvertClient.java:42: cannot find symbol
    symbol : class ConvertService
    location: class ConvertClient
    ConvertService cs = (ConvertService) sf.getObject();
    ^
    ConvertClient.java:42: cannot find symbol
    symbol : class ConvertService
    location: class ConvertClient
    ConvertService cs = (ConvertService) sf.getObject();
    ^
    5 errors
    F:\prgs\client>javac ServiceFinder.java
    Note: ServiceFinder.java uses unchecked or unsafe operations.
    Note: Recompile with -Xlint:unchecked for details.
    pls reply me, if any one knows Jini lang also pls reply me,i need ur help
    thank u
    regards
    rukmani

    help me its veri urgent ..
    Error in these pprogram
    import java.util.*;
    import javax.swing.*;
    import java.text.*;
    javax.swing.JFrame.source.*;
    public class FrameTime extends java.util.TimerTask
    private javax.swing.JFrame target;
    private String titleBase;
    private java.text.SimpleDateFormat dateFormat;
    public FrameTime()
    target = source;
    titleBase =target.getTitle();
    dateFormat = new java.text.SimpleDateFormat("yyyy/MM/dd HH:mm/ss");
    public void run()
    target.setTitle(titleBase+""+dateFormat.format(new java.util.Date()));
    public static void main(String args[])
    JFrame f = new JFrame();
    f.setVisible(true);

  • Suffering an complie error when trying to compile java class in EBS11i

    Hi,
    When I trying to compile java classes with which imported the HttpServletResponse class, will get the follow error message:
    package javax.servlet does not exist
    cannot resolve symbol
    symbol : class HttpServletResponse
    It seems the javax.servlet package is not included in the classpath. But I checked the $CLASSPATH, it seems no problem.
    echo $CLASSPATH
    /u02/applvis/viscomn/util/java/1.4/j2sdk1.4.2_04/lib/tools.jar:/u02/applvis/viscomn/util/java/1.4/j2sdk1.4.2_04/lib/dt.jar:/u02/applvis/viscomn/util/java/1.4/j2sdk1.4.2_04/jre/lib/charsets.jar:/u02/applvis/viscomn/util/java/1.4/j2sdk1.4.2_04/jre/lib/rt.jar:/u02/applvis/viscomn/java/appsborg2.zip:/u02/applvis/visora/8.0.6/forms60/java:/u02/applvis/viscomn/java
    Does anyone know the reason?
    environment: ebs 11i
    Thanks&Regards,
    Xiaofeng

    resolved this issue.
    1. Edit $APPL_TOP/admin/adovars.env file -
    Add the following jar files to the AF_CLASSPATH line -
    Full path of /...../iAS/Apache/Jsdk/lib/jsdk.jar
    Full path of /...../iAS/Apache/Jserv/libexec/ApacheJServ.jar
    2. Bounce the concurrent manager in order to have the changes take effect.

  • Comple errors using JOptionPane

    I'm trying to write a Java program using JOptionPane dialog/display boxes that reads an integer and checks whether it is even using true/false statements. I also want the program must check if the number the user entered is between 1 and 1000.
    I haven't found alot of help in the book I have and i've found some help in another forum but it doesn't seem to compile well, I get the following errors:
    IntegerRead.java:39: cannot find symbol
    symbol : method valueOf(java.lang.String)
    location: class Integer
    int number = Integer.valueOf(s);
    ^
    Integer.java:13: cannot find symbol
    symbol : class Scanner
    location: class Integer
    Scanner input = new Scanner( System.in );
    ^
    Integer.java:13: cannot find symbol
    symbol : class Scanner
    location: class Integer
    Scanner input = new Scanner( System.in );
    Here is the code:
    // Assignment 2.1: IntegerRead.java
    // This program reads an integer, checks if it's even and is between 1 and 1000.
    import javax.swing.JOptionPane; // program uses class JOptionPane
    public class IntegerRead
    public static boolean isNumber(String args)
    if(args.length() > 3)
    throw new IllegalArgumentException("Invalid argument");
    else
    boolean isNumber = false;
    for(int i = 0; i < args.length(); i++)
    char c = args.charAt(i);
    if(Character.isDigit(c))
    isNumber = true;
    else
    isNumber = false;
    return isNumber;
    public static boolean isEven(int aNumber)
    int a = aNumber & 1;
    return (a == 0);
    public static void main(String args[])
    String s = JOptionPane.showInputDialog("Please enter number between 0 to 999");
    System.out.println("Is Number " + isNumber(s));
    if(isNumber(s))
    int number = Integer.valueOf(s);
    System.out.println("Number " + number + "is Even " + isEven(number));
    for(int i = 0; i < 999; i++)
    System.out.println(i + " is " + isEven(i));
    I know i'm missing very simple. I'm new and have tried to build upon what I have so far, but I can't figure it out.
    Thanks....
    Edited by: Scott.Dishman on Jul 9, 2008 4:07 PM

    You have a class named Integer somewhere on your class path. Get rid of it or rename it. If you've already renamed your Integer.java file, you still need to delete the Integer.class file. You should never create your own class that has the same name as a class in the standard java.lang package.

  • Word 2013 VBA Complie error in hidden module: frmabout

    Cannot seem to find a resolution to this problem.
    Happening on one system and weirdly only one user profile.
    Each time the user of profile one opens or closes MS Word 2013 they receive a dialog box indicating the following.
    VBA : COMPILE ERROR IN HIDDEN MODULE: FRMABOUT
    THIS ERROR COMMONLY OCCURS WHE CODE IS INCOMPATIBLE WITH THE VERSION, PLATFORM, OR ARCHITURE OF THIS APPLICATION. CLICK "HELP" FOR INFORMATION ON HOW TO CORRECT THIS ERROR.
    On the same system user, profile two opens and closes MS Word 2013 without any error. 
    Word 2013 seem usable even with the error it's just annoying to the end user.
    System is not connecting to a domain or external server.
    Any assistance is appreciated.
    Art

    Hi,
    For the error message, the FRMABOUT macro code in that template is not compatible with any recent version of Word. We may try to find the template and rename it.
    The template is typically named FRMABOUT.dotm, although the number may be different depending on which version of the wizard you installed.
    There are three possible locations to find the template:
    %appdata%\Microsoft\Word\STARTUP
    C:\Program Files\Microsoft Office\Office15\STARTUP
    C:\Program Files (x86)\Microsoft Office\Office15\STARTUP
    For the first one, paste the path into the address bar of the file explorer and press Enter, so the %appdata% part gets expanded to the proper place in your user profile.
    The last of the locations will exist only if you're running 32-bit Office on 64-bit Windows.
    Look in each place and rename the file wherever you find it. Then restart Word.
    More reference:
    http://support.microsoft.com/kb/921541/en-us
    Regards,
    George Zhao
    TechNet Community Support

  • 1.5.5 Only 1 Comple Error

    I upgrade to the 1.5.5 version and now only get a single compile error at the most each time running a script to create a paclage body. Previously, all errors where listed. I can't find a place to set an option for this. Is this just the way it is? Has someone found a way around this? Any insights would be much appreciated.

    Thanks. The output is from compile. i.e.
    Warning: execution completed with warning
    PACKAGE BODY DMA Compiled.
    1916/5 PLS-00201: identifier 'V_MODELING_VRUN_ID' must be declared
    The issue is that after the upgrade only one compile error will be listed (3rd line). Previously all compile errors were listed. Before one could compile, then fix a number of errors and recompile. After the uprade one must compile fix 1 error, recompile, fix 1 error, recompile, fix 1 error and so on. I am working on a very broad revisions to a largish package, so this quite an annoyance.
    Edited by: nswandel on Oct 27, 2009 10:28 AM

  • Compli error 'Field' but used like a 'Type'

    HelloI have one more question i know i should be able to work this out but still learning. I have a method like this
    void InsertIntoArrayList(int txtPosition, string txtActorName)
    ArrayList ActorArrayList = new ArrayList();
    ActorArrayList.Insert(txtPosition, txtActorName);
    What i.m getting is the red line under ArrayList on both and the error is 'Field' but used like a 'Type'
    I have searched the net most the day and can not seem to work out why.
    Thanks for your help

    I'm still not sure where i have gone wrong here is my full code
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    using System.Windows.Forms;
    using System.IO;
    namespace Checkpoint2
    public partial class frmMain : Form
    public frmMain()
    InitializeComponent();
    System.Collections.ArrayList ActorArrayList = new System.Collections.ArrayList();
    int Position;
    string ArrayList;
    private void frmMain_Load(object sender, EventArgs e)
    void LoadArrayList()
    TextReader tr;
    //txtPosition.Clear();
    // openTextFile;
    tr = File.OpenText("C:\\Users\\warwick\\Desktop\\Web Course\\App Programming\\Checkpoint2\\Checkpoint2\\bin\\Debug\\actors.txt");
    string Actor;
    while (true)
    Actor = tr.ReadLine();
    if (Actor == null)
    break;
    ActorArrayList.Add(Actor);
    //string Actor;
    //Actor = tr.ReadLine();
    //while (tr != null)
    // txtActorName.Text = tr.ReadLine();
    // //cboActor.Text = tr.ReadLine();
    // ActorArrayList.Add(Actor);
    // Position++;
    // Position = ActorArrayList.IndexOf(Actor);
    // txtPosition.Text += Position;
    // break;
    tr.Close();
    // place actors names in comboBoox
    void PopulateActors()
    cboActor.Items.Clear();
    foreach (string Actor in ActorArrayList)
    cboActor.Items.Add(Actor);
    txtActorName.Text = Actor;
    //MessageBox.Show(Actor);
    void WriteArrayList()
    TextWriter tw;
    try
    tw = File.CreateText("C:\\Users\\warwick\\Desktop\\Web Course\\App Programming\\Checkpoint2\\Checkpoint2\\bin\\Debug\\actors.txt");
    foreach (string Actor in ActorArrayList)
    tw.Write(Actor + "\r\n");
    //txtActorName.Text = " ";
    //txtPosition.Text = " ";
    tw.Close();
    catch
    MessageBox.Show("Error could not right to file");
    void InsertIntoArrayList(int txtPosition, string txtActorName)
    ArrayList ActorArrayList = new ArrayList();
    ActorArrayList.Insert(txtPosition, txtActorName);
    void DeleteFromArrayList(int txtPosition)
    ActorArrayList.RemoveAt(txtPosition);
    private void btnInsert_Click(object sender, EventArgs e)
    WriteArrayList();
    private void mnuRead_Click(object sender, EventArgs e)
    LoadArrayList();
    PopulateActors();
    private void btnDelete_Click(object sender, EventArgs e)
    DeleteFromArrayList(Position);
    WriteArrayList();
    MessageBox.Show("Are You Sure");

  • Proc complie error!

    I used proc compile my code, the error message show:
    Syntax error at line 28, column 3, file /usr/include/sys/ipc.h:
    INTERNAL ERROR: Failed assertion [PGE Code=90105]
    I don't know how to fix it up, the precomp sample code can be compiled.
    I'm using RedHat 6.0 Linux 2.2.5-15smp
    The oracle version is 8.0.5
    Thank for your reply
    null

    I've downloaded oracle 8i 8.1.7 and i have linux mandrake 7.2 but the proc precompiler doesn't work.
    How do you have configured the pcscfg.cfg file? This file is empty and that doesn't work without it.
    Thank you for your help.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Michael Daskaloff ([email protected]):
    Hi,
    I think you'd better try with Oracle 8.1.6.1
    I've used it's Pro*C compiler and it works great. I've no problems with it.
    I'm using it on Mandrake 7.1<HR></BLOCKQUOTE>
    null

  • Compler error "integer no too long"  when there is no integer

    My compiler complains that the interger value is too long.
    i want to generate a 12 digit random pin numbers. i have this code that wont compile.
    {private void generate()
          Long pinNumber=0;
          int no=100;
          for(int counter=0;counter<no;counter++)
              pinNumber=Math.round(Math.random()*1000000000000);;
    }}

    faustofrancis wrote:
    pinNumber=Math.round(Math.random()*1000000000000);;The largest valid integer is 2147483647. You'll need to use longs, which means suffixing long constants with "L".
    Also, multiplying Math.random() by a large number isn't a good idea, since it returns an int double. In addition, are PINs that begin with 0 okay?
    Edited by: paul.miner on Dec 10, 2007 10:55 PM

  • Jdev 10.1.2 import war from eclipse complie Error

    FIXED type Attribute value not equal to the default value 'http://java.sun.com/xml/ns/j2ee '.
    Attribute 'xmlns:xsi' used but not declared.
    ub=unable to load taghandler class:/WEB-INF/struts-html.tld

    unable to load taghandler class:/WEB-INF/struts-html.tld
    Add the struts.jar to the Classpath.

  • Problem fixing compile error in wm generated procedure

    Dear OWM Wizards,
    I have made an error in an update trigger during a BeginDDL and CommitDDL session:
    exec dbms_wm.BeginDDL('TABLE1');
    exec dbms_wm.BeginDDL('TABLE2');
    create or replace trigger table1_ut
    before update
    on table1_lts
    for each row
    begin
    update table2_lts
    set ....
    end;
    exec dbms_wm.CommitDDL('TABLE2');
    exec dbms_wm.CommitDDL('TABLE1');
    Note the _lts* in the update above.
    The last command succeed with complie errors, but left the table in CDDL state.
    Using the information Unable to run BeginDDL on a version enabled table on OWM 9.2.0.8, I was able to bring the table back into "VERSIONED" state (using ignore_last_error => true in CommitDDL).
    Now I have a wm$table1_ut procedure referencing a non-existing table2_lts and am unable to start a ddl session on TABLE1:
    $ exec dbms_wm.BeginDDL('TABLE1');
    ERROR:
    ORA-24344: Erfolg mit Kompilierungsfehler
    ORA-06512: in "SYS.OWM_DDL_PKG", Zeile 3200
    ORA-06512: in "SYS.LT", Zeile 11857
    ORA-06512: in Zeile 1
    $ select * from all_wm_vt_errors;
    Es wurden keine Zeilen ausgewählt
    TABLE1_LTS is not created. And recompiling the procedure does not work, with ORA-20037 attempt to modify a WM generated procedure
    What can I do?
    Any help appreciated,
    Jens
    Edited by: user535318 on Aug 14, 2009 5:37 AM

    Hi,
    You could have called dbms_wm.beginDDL on TABLE2 prior to executing it on TABLE1. This would have recreated the TABLE2_LTS table, allowing the trigger to be successfully created. You would then be able to redefine the trigger.
    Regards,
    Ben

  • Error exposing map parameter method

    hi am trying to call my method in my login button-> ActionListener->Map userinfo =((OperationBinding) bindings.get(PerformSdmsLogon)).execute(). am geting this error when am compling
    Error(45,75): The class of the deferred-methods return type "{0}" can not be found.
    Error(45,90): No property editor found for the bean "javax.el.MethodExpression".
    but when i test my method am able to return data without a problem

    no i what to expose my method in the backing bean how can i do that,yes the action lestner call #{bindings.PerformSdmsLogon.execute} without a problem,but does not return value when i navigate to my home page, the problem is when i put Map map = (Hashmap)bindings.get(PerformSdmsLogon).execute();
    Edited by: Tshifhiwa on 2012/06/28 1:21 PM

  • Peoplecode compile error(wrong number of parameter)

    i am getting the below error when i click on "MAINTAIN ITEMS" under the navigation "ENTERPRISE LEARNING->CATALOG" in ELM.
    "PEOPLECODE COMPLIE ERROR(WRONG NUMBER OF PARAMETER(2,16)) FOR PROGRAM LECS.COMPONENTS.CATALOGITEMCOMMON.ONEXECUTE.(2,405). A PEOPLECODE PROGRAM FOR THE SPECIFIED REFERENCE FAILED TO COMPILE CORRECTLY FOR THE INDICATED REASON" .
    Let me know if anyone has any idea on this and how to fix this.

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by SQLJ Development ([email protected]):
    Mmmh. This may be a bug in the way SQLJ resolves functions/stored procedures. Could you send me your infile/.sql/.sqlj files so that I can reproduce your problem? Thanks!
    In the meantime, if everything works at runtime, you may have to ignore the errors and do your final compile offline.<HR></BLOCKQUOTE>
    I haven't forgotten. We've got a lot of code, and will try to boil down to an illustrative example when we can.
    At the moment, an off-line compile seems to work - though you might want to check my other post today :-)
    null

Maybe you are looking for