02:15.44 | rat1101 | yo yo yo |
03:09.55 | |2aiden | anyone know why i get this root cause error when trying run the servlet? |
03:09.56 | |2aiden | java.lang.NoClassDefFoundError: org/apache/xerces/framework/XMLParser |
03:34.30 | DnD17 | he |
03:34.56 | DnD17 | is tomcat really good |
03:35.04 | DnD17 | or just a hype |
03:35.11 | DnD17 | anyone? |
07:32.24 | TD | hi, to switch on follow symlinks can I put allowLinking="true" in a <context> tag? |
07:39.03 | TD | found it |
07:45.13 | apflux | hello |
07:46.03 | apflux | i get an error when loading catalina, |
07:46.32 | apflux | when bootstrap loads IllegalMonitorStateException from jdk1.2.2\jre\lib\rt |
07:47.05 | apflux | it throws an exception and says current thread not owner |
08:56.20 | hawkeye | HELP |
08:56.23 | hawkeye | <g> |
08:56.49 | hawkeye | hmmm anybody actually here? |
09:37.16 | hawkeye | so not a popular room huh? |
09:50.39 | hawkeye | hey skeeze |
10:06.33 | skeeze | Howdy |
10:07.00 | skeeze | Could anyone help me troubleshoot a problem with my Tomcat/WinXP setup? |
10:07.11 | hawkeye | lol that's what I'm here for. <g> |
10:07.15 | hawkeye | but if I can I will |
10:07.33 | hawkeye | oh wait I don't know anything about XP |
10:07.39 | hawkeye | I'm running on Linux |
10:07.44 | skeeze | I've got it started, it runs HTML docs, but not JSP |
10:08.14 | hawkeye | hmmm how about servelets? |
10:08.37 | skeeze | Dunno, I'm only concerned with JSPs |
10:08.45 | hawkeye | I've had that happen before I think it has to do with the class Pa |
10:08.48 | hawkeye | PATH |
10:09.11 | hawkeye | yeah but if you can run the serverlet test but not the JSP ones it would tell us something about your install |
10:09.38 | skeeze | I've read about that, but I have the servlet.jar in my classpath |
10:09.47 | skeeze | Lemme try running a servlet test |
10:10.19 | skeeze | Servlet tests run. |
10:11.22 | skeeze | This is the error I'm getting: An error occurred at line: -1 in the jsp file: null |
10:12.48 | hawkeye | are you trying the Test JSP files or your own? |
10:13.15 | skeeze | Test JSP files... |
10:13.23 | skeeze | the ones on the example page |
10:17.20 | hawkeye | okay do you have apache installed? |
10:18.01 | skeeze | Yes. |
10:18.05 | skeeze | Apache2 |
10:19.41 | hawkeye | ahh okay |
10:19.47 | hawkeye | are you using mod_jk? |
10:20.17 | skeeze | No, I'm basically trying to use the two independently...this is just so I can do development here w/o using the school's server |
10:29.51 | hawkeye | ahhh sorry its taken me so long |
10:30.01 | skeeze | its cool |
10:30.09 | hawkeye | Well in the past I've had problems with Apache trying to server the jsp files |
10:30.24 | hawkeye | (but if you have them on different ports that not the problem) |
10:31.28 | skeeze | Yeah, its on 8080...but its almost like its not getting the JSP to serve since it says null as the file name |
10:31.31 | hawkeye | I'm looking now for where the JSP engine is set to point to the JDK |
10:31.52 | hawkeye | yeah if it can't compile the page you'll get that |
10:32.15 | hawkeye | have you tried compiling the page manually then seeing if you can view that page? |
10:32.42 | skeeze | No, what options do you use to compile a JSP? |
10:32.45 | hawkeye | there is a simple answer to this I've come across it before I'm trying to go though my logs to see if I can find it |
10:32.58 | hawkeye | javac (the same as anything else) |
10:33.22 | skeeze | It says invalid file when I do javac Hello.jsp |
10:33.38 | hawkeye | hmmmm. sec |
10:33.59 | skeeze | k |
10:40.19 | hawkeye | np can't seem to find it. sorry. |
10:40.19 | hawkeye | I do know it was an easy fix |
10:40.19 | hawkeye | and it was commond a few version back |
10:40.22 | hawkeye | I haven't had that issue in awhile though |
10:40.29 | skeeze | Alright, well I appreciate you trying... |
10:40.38 | hawkeye | I'd say check your settings in server.xml |
10:40.48 | hawkeye | make sure that the paths there are correct |
10:41.03 | skeeze | I read something that I should uncomment the stuff about ROOT, should I ? |
10:41.14 | skeeze | <Context path="" docBase="ROOT" debug="0"/> |
11:03.08 | Speedster | to fix it |
11:05.46 | Speedster | <Context className="org.apache.catalina.core.StandardContext" cachingAllowed="true" charsetMapperClass="org.apache.catalina.util.CharsetMapper" cookies="true" crossContext="false" debug="0" displayName="Welcome to Tomcat" docBase="C:\Program Files\Apache Group\Tomcat 4.1.14\webapps\ROOT" mapperClass="org.apache.catalina.core.StandardContextMapper" path="" privileged="false" reloadable="false" swallowOutput="false" useNaming="true" wrappe |
11:05.47 | Speedster | </Context> |
11:05.57 | Speedster | change the docBase to whatever your ROOT is |
11:06.09 | Speedster | and change reloadable to reloadable="true" |
11:06.13 | Speedster | i think that should fix it |
11:06.52 | Speedster | or if not, uncomment <Context path="" docBase="ROOT" debuge="0" /> |
11:07.04 | Speedster | and make it <Context path="" docBase="ROOT" debuge="0" reloadable="true" /> |
11:07.09 | Speedster | err debug* |
11:07.09 | Speedster | hehe |
11:08.39 | skeeze | Add that context block? |
11:11.01 | Speedster | ya |
11:11.07 | Speedster | one of the 2 shoudl work |
11:11.19 | Speedster | but if you use the second... fix my debuge to debug :P |
11:11.19 | Speedster | hehe |
11:11.23 | skeeze | Giving it a shot now.. what is at the end of wrappe... portion |
11:12.26 | Speedster | i read the first one in the 4.1.14 server.xml...don't know anything bout it's functionality... but the rest of em come with a commented <Context path="" docBase="ROOT" debug="0" /> |
11:15.25 | skeeze | Nope, I'm still getting the same errors using the 2nd option. |
11:15.46 | Speedster | u mean when you try to compile a jsp? |
11:16.16 | skeeze | Yeah...it won't run any JSP |
11:16.24 | Speedster | that's cuz u don't compile jsp's |
11:16.31 | skeeze | The first option won't allow me to start the server. |
11:16.44 | skeeze | I'm not trying to compile any JSPs, I'm just trying to run the examples. |
11:16.54 | Speedster | you save the jsp file in your root dir or in a subfolder and tomcat will automatically compile the jsp's.. |
11:17.07 | Speedster | and your examples are in your ROOT , or your examples folder? |
11:17.14 | skeeze | examples |
11:17.22 | Speedster | ok examples should autoreload |
11:17.30 | Speedster | what version of tomcat? |
11:17.56 | skeeze | 4.1 |
11:18.09 | Speedster | hmm |
11:18.21 | Speedster | they usually work right on install |
11:18.30 | Speedster | http://localhost:8080/examples |
11:18.32 | Speedster | usually does it |
11:18.48 | Speedster | only versions after 4.1.12 have i had problems with JSP compiling |
11:18.53 | skeeze | The servlets work, but no the JSPs |
11:19.27 | Speedster | does it give you an error about tablibs or something |
11:19.43 | skeeze | Nope, no mention of that anywhere on the error page. |
11:19.59 | Speedster | ok what's the 2nd error section say as it's first line? |
11:20.13 | skeeze | at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:120) |
11:21.08 | Speedster | you might need to add your $Catalina\server\lib\something.jar to your classpath environmental variable |
11:21.21 | Speedster | i can't rememember where the jasper-compiler.jar is |
11:21.29 | Speedster | wherever that is...add that file to classpath |
11:21.38 | Speedster | it's either server\lib or common\lib |
11:21.47 | skeeze | Okay, I'll try that....it sucks that you have to reboot to get the CLASSPATH to stick :( |
11:21.56 | Speedster | you do? |
11:22.02 | Speedster | what windows? |
11:22.04 | skeeze | It appears that way. |
11:22.04 | skeeze | XP |
11:22.29 | Speedster | i usually don't have to |
11:22.57 | skeeze | Do I end the classpath with a ; |
11:23.06 | skeeze | Or only as a delimiter |
11:24.48 | Speedster | every classpath that has something after it, you use a ; |
11:24.53 | Speedster | but very last one...it's optional |
11:25.27 | skeeze | Interesting....i have these set in the environmental variables, but when I do a set in the command prompt, it doesn't show either under CLASSPATH |
11:26.07 | Speedster | i know winxp is screwed up that way |
11:26.17 | Speedster | and setting it under cmd prompt doesn't work :P hehe |
11:26.18 | skeeze | so is it set or not? |
11:26.23 | Speedster | probably is |
11:26.25 | skeeze | okay |
11:26.57 | skeeze | added jasper-compiler.jar, restarted the server and still no dice |
11:27.35 | BMania_ | Anyone using web frameworks beside struts? |
11:27.55 | BMania_ | I love struts just wanted to see what other peope are doing |
11:28.56 | skeeze | let me try rebooting, brb |
11:30.44 | jasonb | BMania_: Use Struts. Trust me. |
11:30.52 | Speedster | then i have no idea skeeze :) |
11:32.57 | BMania_ | ok, that was easy |
11:39.54 | skeeze | speedster: I appreciate your help. I just reinstalled it and it worked out of the box... |
11:40.13 | Speedster | ok good ...that's what it should have done hehe :) |
11:40.32 | Speedster | anything after 4.1.12 i've had problems though but have fun with that one :) |
11:41.03 | Speedster | i'm actually running a milestone 5.0.0 right now...only one that's worked since 4.1.12 for me |
12:24.35 | Superduck | hi |
17:18.29 | psionic1 | anyone awake? |
17:58.16 | Speedster | hehe ya :) |
18:31.48 | tn0 | hello |
19:21.29 | __d | HI |
19:23.38 | jasonb | __d: Hi. You must be a python programmer. :) |
19:38.01 | __d | no, ive never touched python |
19:38.16 | __d | c++/c and java, and lately mostly c/c++ |
19:46.31 | jasonb | Ahh, that explains it.. |
20:42.31 | __d | explains what |
20:43.23 | jasonb | The underscores in your nick, of course. |
20:43.29 | __d | oh |
20:43.40 | __d | yes, i guess im mangled |
20:44.24 | __d | now...i need to fix this code..im decoding the binary data backwards for some reason (reason = im tired) |
20:44.24 | jasonb | People who code in python loooove underscores. |
20:46.51 | __d | i dont think ive ever even seen any python |
20:47.13 | jasonb | If you like underscores, you'd LOVE it. |
20:54.13 | __d | im not a big fan of underscores |
20:58.16 | jasonb | Then you're not going to like python. |
20:58.48 | __d | i dont feel like learning another language at this point either |
20:59.04 | __d | maybe ill look at that c# crap if it catches on |
20:59.06 | jasonb | __d: If you know Java, you're set. You shouldn't need python. |
20:59.47 | jasonb | __d: Don't bother with that either, it's just a Java take-off anyway. |
20:59.58 | __d | ive written one production application in c# |
21:00.07 | __d | the api is a bit different, its not as good |
21:00.15 | jasonb | Yeah, see? |
21:00.17 | __d | well, for the backend stuff at least...i dont deal with gui much |