irclog2html for #tomcat on 20040324

00:08.28vinse2if no one can answer the following question, please point me to a page that can: how do i enable EL in a webapp, i have a page that works in one webapp but not the other
00:08.56vinse2where "works" means EL expressions are evaluated
00:15.14jasonbvinse2: Did you verify that the two webapps are indeed both declared to be Servlet 2.4 webapps?
00:15.35vinse2of course not
00:15.39vinse2otherwise i bet it would work
00:16.17vinse2but this is the sample file i got for the tomcat pooling connection
00:16.30vinse2so i assumed the configuration would be correct
00:16.43vinse2where do i declare that?
00:20.14vinse2found it, let's see if that fixes it
00:35.40_gev_OK bye everyone thanx for info !!!!
00:36.38vinse2is web.xml required to be well-formed? because the one for the mysql example isnt
00:36.42vinse2site is here http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-datasource-examples-howto.html
00:37.29vinse2i didnt think it would even deploy if that were the case
00:41.12jasonbHmm, I'd suggest you modify it so that it is well-formed.  It doesn't need to be valid, just well-formed.
00:41.58jasonbWell, I guess Tomcat has its own idea of what's valid, so if Tomcat decides it's not valid, it'll tell you (in a log file).
00:43.52vinse2modified it and got VERY uninspected results
00:44.15vinse2i guess that's what i get for figuring that two years without doing any JSP would be no big deal
00:44.51vinse2i'm gonna go contemplate suicide, decide against it at the last second, and come back and break  everything down a little more
00:44.59vinse2i feel like i'm trouble shooting 30 things at once
00:45.08vinse2see ya'll later!
00:49.09*** join/#tomcat jbalint (~Jess@cpe-024-033-229-195.insight.rr.com)
01:15.44*** join/#tomcat matroska (~chatzilla@ppp-68-122-227-102.dsl.pltn13.pacbell.net)
01:17.04matroskadoes anyone know about any of the following : - log file parsing toolkit ; log file (or any structured file) analyzer or convertor (to another structure or to analyzed data)
01:20.45matroskaone more thing ... an event and trigger handling toolkit ; the log one should be able to handle structured ascii data something that i can probably do more programming on to use wih other apps as well
01:28.00vinse2so you mean something that's a DOM and XSLT for non-XML files?
01:28.11vinse2it sounds like that's what you're describing, and i dont think it exists
01:39.00vinse2wow
01:39.08vinse2i'm back to my original error from this morning!
01:39.45vinse2it looks like EL wasnt working cuz of the web.xml file on the example site ... it had two starting <web-xml> tags
01:40.17vinse2but now that EL works again, i get javax.servlet.ServletException: Unable to get connection, DataSource invalid: "org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null', cause: No suitable driver"
01:40.20vinse2again
01:41.30vinse2and again, with the exception of correcting the web.xml file so it only has <web.xml> site, i've followed the DBCP instructions exactly
01:41.50vinse2only has one <web.xml> element, i mean
01:42.18vinse2<web-xml> should be <web-app> in all above statements
01:42.24jasonbvinse2: This is a common occurrence -- someone follows some docs on the Jakarta Tomcat docs pages and finds that it didn't work, and eventually narrows it down to the docs being slightly wrong -- just enough so it won't work.
01:42.35vinse2heh
01:42.43vinse2do they generally then kill themselves?
01:43.22jasonbI actually haven't tried to set up (and get working) db connection pooling like that shown on the page I showed you, but I also don't know of any good reference for that online.
01:45.13vinse2is there any reasonable way to troubleshoot it?
01:45.31vinse2other than putting debugging in tomcat classes ;/
01:47.28jasonbThe way I'd approach it is paste that error message into Google and see what others say about it.. plus, use Google to find other pages saying how to configure server.xml for db connection pooling.
01:47.32jasonbThat's about it.
01:49.35vinse2i googled the error message long time ago
01:49.47vinse2i'll try to search for more dbcp sites
01:50.58jasonbOh, and also going over all of your log files with a fine-toothed comb may actually alert you to some output that better describes the problem.. and/or turning up the debug logging levels on various elements (like Engine and Server and Service)..
01:56.56vinse2This seems to be a bug with the Tomcat 5.016. You may have success by putting the contents of <ResourceParams name="jdbc/TestDB"> in the specific default xml config file for that webapp.  That shouild be located in $CATALINA_HOME/Catalina/localhost/yourapp.xml
01:57.08vinse2that's from another site
01:57.23vinse2that says that yes, the tomcat site's example doesnt work for everyone
01:57.35vinse2but i have no such yourapp.xml file
01:58.02vinse2where can i find the "default xml config file" ?
02:00.52vinse2going to dinner ... god i hate coming back to work after dinner =0
02:38.05*** part/#tomcat asac (~alex@c132191.adsl.hansenet.de)
02:49.14*** join/#tomcat Deathscythe30 (Death@d57-42-63.home.cgocable.net)
02:59.04*** join/#tomcat vinse_dinner (~delfonic_@66-151-49-205.sog.polarisnet.net)
03:06.06*** join/#tomcat bread_work (~delfonic_@66-151-49-205.sog.polarisnet.net)
03:23.14*** join/#tomcat vinse_dinner (~delfonic_@66-151-49-205.sog.polarisnet.net)
03:39.12*** join/#tomcat bread_work (~delfonic_@66-151-49-205.sog.polarisnet.net)
04:28.54*** join/#tomcat Gnug225 (~Gnug225@24.236.252.184)