JSP error...

2003-01-29 Thread Shyama Sunder Popuri
Hi Gurus, I have a problem over here. This JSP works fine out side Jbuilder, but has a problem when I try to run the same in Jbuilder env. I get this error while I try to compile the JSP in JBuilder. "ms_search_results.jsp": org.apache.jasper.compiler.ParseException: Cannot read file: ze file

Re: Strange error

2003-01-29 Thread Paul Copeland
The usual cache-control example is not complete. Try this: // Cache-Control for HTTP 1.1, Expires and Pragma for older browsers response.setHeader("Cache-Control", "no-cache; no-store; must-revalidate; proxy-revalidate"); response.setHeader("Expires", "0"); response.setHeader("Pragma", "no-cache"

Re: jdbc driver location

2003-01-29 Thread Bryan LaPlante
Thanks I will try that. I Appreciate the help. - Original Message - From: "Kenny G. Dubuisson, Jr." <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, January 29, 2003 9:57 AM Subject: Re: jdbc driver location > I don't believe the JDBC drivers come with Tomcat. I downloaded m

Re: jdbc driver location

2003-01-29 Thread Kenny G. Dubuisson, Jr.
I don't believe the JDBC drivers come with Tomcat. I downloaded my JDBC drivers from Oracle as a JAR file and put it in $CATALINA_HOME/lib. Hope this helps, Kenny - Original Message - From: "Bryan LaPlante" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, January 29, 2003 9:0

jdbc driver location

2003-01-29 Thread Bryan LaPlante
Does anyone know where in Tomcat 4 the jdbc drivers can be found. I am having a tough time getting a simple connection to a DataSource. In addition to that does anyone know in what jndi Context are DataSources saved? So far I have only been able to find any context references in java:comp it seems

Re: trouble with readin value from Runtime.exec(cmd)

2003-01-29 Thread Kenny Dao
Hi , I think it returns nothing because r.exec was not excecute successfully, if you do System.out.println(p.exitValue) it will return a value other than 0 (zero) which mean the execuction had been failed. Also I don't think Java allow you r.exec execute every on one line like that. I think there

Re: odd oracle error

2003-01-29 Thread Ritesh Gupta
Yep, thats right, you should close EVERYTHING as mentioned by Rajesh as in : > Rule - close everything ResultSets, any (prepared/update)statements, connections (in case you are re-openning for any new query) should be closed in a finally block of your code where you use the above. The problem th

Re: odd oracle error

2003-01-29 Thread Thiharie Rajesh
Database end You need to increase the number of allowable open cursors at the database end. Please lookup your Oracle documentation to get to the right point. Close ResultSets This happens because you do not close ResultSets. Rule - close everything Remember that the rule is to close every resour

odd oracle error

2003-01-29 Thread Cosmin Cremarenco
hello at rare, random times we get the following error from our oracle 8i server (8.1.7): java.sql.SQLException: ORA-01000: maximum open cursors exceeded at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:168) at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:208) at oracle.jdbc.t