Subject Re: Newbie questions
Author Milan Babuskov
--- Roman Rokytskyy wrote:
> > 1. I don't have 'common' directory in my CATALINA_HOME. Should I
> > simply create it?
>
> No, simply put the jaybird-2.1.3-full.jar into lib/ directory. That
> should be enough.

Thanks.

I tried that, and now I'm trying to run the sample 'test' web app from
FAQ page in Jaybird docs. I do get the "Enter name" screen, and when I
click submit, I get this:

org.apache.jasper.JasperException: Unable to compile class for JSP:

An error occurred at line: 49 in the jsp file: /jsp/test/search.jsp
sqlString cannot be resolved
46: String sqlString = "SELECT * FROM CUSTOMERS WHERE LAST_NAME = \'"
+ lastName +"\'";
47: // Switch back to html so we can print out the sqlString on the
web page.
48: %>
49: The SQL String is: <%=sqlString%><p>
50: <%
51: PreparedStatement StatementRSFind=null;
52: ResultSet RSFind=null;


An error occurred at line: 57 in the jsp file: /jsp/test/search.jsp
connRSFind cannot be resolved
54: boolean rsReady = false;
55: try
56: {
57: StatementRSFind = connRSFind.prepareStatement(sqlString);
58: RSFind = StatementRSFind.executeQuery();
59: rsReady = RSFind.next();
60: }

etc. There are more error messages that follow, but I guess this is
enough.

Are Jaybird docs still valid for Tomcat 6? Should I install some
earlier version (given the fact that I'm a complete Java newbie, and
have little chance of debugging anything)?

P.S. I also tried restarting Tomcat a few times, but that didn't help.

Thanks,
Milan.