00:08.28 | vinse2 | if 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.56 | vinse2 | where "works" means EL expressions are evaluated |
00:15.14 | jasonb | vinse2: Did you verify that the two webapps are indeed both declared to be Servlet 2.4 webapps? |
00:15.35 | vinse2 | of course not |
00:15.39 | vinse2 | otherwise i bet it would work |
00:16.17 | vinse2 | but this is the sample file i got for the tomcat pooling connection |
00:16.30 | vinse2 | so i assumed the configuration would be correct |
00:16.43 | vinse2 | where do i declare that? |
00:20.14 | vinse2 | found it, let's see if that fixes it |
00:35.40 | _gev_ | OK bye everyone thanx for info !!!! |
00:36.38 | vinse2 | is web.xml required to be well-formed? because the one for the mysql example isnt |
00:36.42 | vinse2 | site is here http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-datasource-examples-howto.html |
00:37.29 | vinse2 | i didnt think it would even deploy if that were the case |
00:41.12 | jasonb | Hmm, I'd suggest you modify it so that it is well-formed. It doesn't need to be valid, just well-formed. |
00:41.58 | jasonb | Well, 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.52 | vinse2 | modified it and got VERY uninspected results |
00:44.15 | vinse2 | i guess that's what i get for figuring that two years without doing any JSP would be no big deal |
00:44.51 | vinse2 | i'm gonna go contemplate suicide, decide against it at the last second, and come back and break everything down a little more |
00:44.59 | vinse2 | i feel like i'm trouble shooting 30 things at once |
00:45.08 | vinse2 | see 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.04 | matroska | does 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.45 | matroska | one 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.00 | vinse2 | so you mean something that's a DOM and XSLT for non-XML files? |
01:28.11 | vinse2 | it sounds like that's what you're describing, and i dont think it exists |
01:39.00 | vinse2 | wow |
01:39.08 | vinse2 | i'm back to my original error from this morning! |
01:39.45 | vinse2 | it looks like EL wasnt working cuz of the web.xml file on the example site ... it had two starting <web-xml> tags |
01:40.17 | vinse2 | but 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.20 | vinse2 | again |
01:41.30 | vinse2 | and 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.50 | vinse2 | only has one <web.xml> element, i mean |
01:42.18 | vinse2 | <web-xml> should be <web-app> in all above statements |
01:42.24 | jasonb | vinse2: 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.35 | vinse2 | heh |
01:42.43 | vinse2 | do they generally then kill themselves? |
01:43.22 | jasonb | I 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.13 | vinse2 | is there any reasonable way to troubleshoot it? |
01:45.31 | vinse2 | other than putting debugging in tomcat classes ;/ |
01:47.28 | jasonb | The 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.32 | jasonb | That's about it. |
01:49.35 | vinse2 | i googled the error message long time ago |
01:49.47 | vinse2 | i'll try to search for more dbcp sites |
01:50.58 | jasonb | Oh, 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.56 | vinse2 | This 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.08 | vinse2 | that's from another site |
01:57.23 | vinse2 | that says that yes, the tomcat site's example doesnt work for everyone |
01:57.35 | vinse2 | but i have no such yourapp.xml file |
01:58.02 | vinse2 | where can i find the "default xml config file" ? |
02:00.52 | vinse2 | going 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) |