I am having a HELL of a time moving my servlet repository from
c:\program files\apache group\apache jserv\servlets
to
c:\program files\apache group\apache\servlets

I don't consider myself an idiot, because I can move it on UNIX, but I can't get
it to move on my laptop running 98, so I must just be missing something.
Are there any special things that the windows .exe install does that makes this
tough? My other thought is that it has something to do with the location of the
Jserv JAR file.

ANY help would be appreciated.

Thanks,
Noah

p.s. If ANYBODY can help me with this wacky JDBC:ODBC error I would LOVE them
for ever. :)
I realize that this isn't a JServ question but I thought I would ask since I am
assuming a lot of you are doing JDBC stuff.
This works on Linux(1.3.6/1.0b4, MySQL/jdbc), but screws up on
Windows(1.3.6/1.0b5, Access/JdbcOdbc).
Shouldn't the same code work on both systems?

==ERROR=======================================================
Message:   [Microsoft][ODBC Driver Manager] Invalid cursor state
SQLState:  24000
ErrorCode: 0
SELECT * FROM addresslist WHERE ID = 'sg';

==CODE========================================================
  Statement stmt;
  ResultSet rs;
//  String queryString = "SELECT * FROM addresslist WHERE ID = '" + account +
"';";
  String queryString = "SELECT * FROM addresslist WHERE ID = 'sg';"; // for WTF
testing

  try
  {
   stmt = (Statement)con.createStatement();
   rs   = (ResultSet)stmt.executeQuery(queryString);
   if (rs.getString("name") == null) // <--------- Bombs out right here
       {
    blankQueryPage(out, req);
    return;
       }
   out.println("<HTML>\n<HEAD>");
   out.println("<TITLE>" + rs.getString("name") + "</TITLE>");
   out.println("</HEAD>");
   out.println("<BODY BGCOLOR=\"#FFFFFF\" TEXT=\"#000000\">");
.
.
.
.

  }
  catch (SQLException ex)
  {
   out.println("<P><PRE>");
   while (ex != null)
   {
    out.println("Message:   " + ex.getMessage());
    out.println("SQLState:  " + ex.getSQLState());
    out.println("ErrorCode: " + ex.getErrorCode());
    ex = ex.getNextException();
    out.println(queryString);
   }
   out.println("</PRE></P>");
  }

  out.println("</BODY></HTML>");
 }


--
  ==============================================================
  Noah Nordrum
  [EMAIL PROTECTED]
  http://www.newfrenchbakery.com/
 12:36pm  up 156 days 17:47 hours
  ==============================================================




-- --------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
READ THE FAQ!!!!     <http://java.apache.org/faq/>
Archives and Other:  <http://java.apache.org/main/mail.html/>
Problems?:           [EMAIL PROTECTED]

Reply via email to