00:14.24 | *** join/#tomcat heaps (eapolo01@hills.ccsf.cc.ca.us) |
00:25.08 | *** join/#tomcat ccali_ (~ccali@pool-151-197-23-21.phil.east.verizon.net) |
00:25.16 | ccali_ | I am getting this exception when trying to establish a connection pool: Naming Exception: javax.naming.NameNotFoundException: No object bound for java:comp/env |
00:26.13 | ccali_ | <PROTECTED> |
00:27.12 | heaps | common problem on tomcat..setting up datasource |
00:27.27 | *** join/#tomcat johnjohn7 (~johnjohn@cpe-24-221-228-20.tx.sprintbbd.net) |
00:27.57 | *** join/#tomcat find_me (~find_me@ACC37299.ipt.aol.com) |
00:28.06 | ccali_ | heaps: you know the cure? |
00:28.08 | heaps | okay lay out what you did or did not do :) |
00:28.14 | ccali_ | ok |
00:28.19 | ccali_ | What I did: |
00:28.44 | ccali_ | added the datasource to the conf file |
00:29.19 | heaps | which one? i can not read minds, crystal ball is in the shop |
00:29.22 | ccali_ | and tried to do this.. |
00:29.23 | ccali_ | <PROTECTED> |
00:29.23 | ccali_ | <PROTECTED> |
00:29.23 | ccali_ | <PROTECTED> |
00:29.34 | ccali_ | server.conf |
00:29.50 | heaps | no such thing i know of |
00:29.58 | heaps | server.conf |
00:30.01 | ccali_ | hehe hang on too many things going on |
00:30.05 | ccali_ | i'm talking out my ass |
00:32.31 | johnjohn7 | are you using the commons pool with jndi? |
00:32.43 | ccali_ | server.xml |
00:33.12 | ccali_ | johnjohn7: are those the libraries that aren't included in the releases |
00:33.42 | johnjohn7 | those referring to.... |
00:34.00 | johnjohn7 | commons is not included with tomcat if commons is what you referred to. |
00:34.31 | ccali_ | right, |
00:34.33 | ccali_ | I don't use it |
00:34.42 | ccali_ | I should though |
00:34.46 | johnjohn7 | what type is "pool" |
00:34.54 | ccali_ | DataSource |
00:35.18 | johnjohn7 | DataSource is an interface for myriad types of "data sources". any particular impl? |
00:36.02 | ccali_ | no, and really I can't find any docs on that |
00:36.07 | ccali_ | are there vendor impls? |
00:36.16 | johnjohn7 | iirc.... heheh |
00:36.17 | heaps | johnjohn7: which version of tomcat are you on that you say commons are not included? |
00:36.28 | johnjohn7 | 4.0x |
00:36.42 | johnjohn7 | actually, some commons libs are. just not jakarta pool. |
00:36.45 | ccali_ | is commons a jakarta specific thing? |
00:36.48 | heaps | i see a commons-dbcp.jar on 4.1.18 |
00:36.55 | johnjohn7 | yes. 4.1.x has them. |
00:36.58 | *** join/#tomcat GodFodder (~rcc@pcp02876841pcs.watrfd01.mi.comcast.net) |
00:37.10 | johnjohn7 | 4.0.6 is what I use.... |
00:38.06 | johnjohn7 | dbcp is the "pooling technology" referred to....yes, it is |
00:38.44 | ccali_ | what if I then want to switch the app to resin, what pooling technologies are available for other containers? |
00:39.51 | heaps | what do people in #resin told you? |
00:40.09 | johnjohn7 | you can just stick dbcp on Resin. |
00:40.28 | johnjohn7 | dbcp isn't dependant on tomcat....(nor vice versa) |
00:41.15 | ccali_ | there actually is no #resin |
00:41.19 | ccali_ | which i'm so disappointed about |
00:41.23 | johnjohn7 | or, you can use jboss....it uses an mbean that you configure with your database via a service and configure in xml. |
00:41.26 | ccali_ | I just am the only one in there :) |
00:41.31 | johnjohn7 | it contains a pool of its own. |
00:41.48 | ccali_ | where can I get jboss |
00:41.51 | johnjohn7 | we are lucky to be chatting here actually. |
00:42.10 | johnjohn7 | well there is a #jboss. |
00:42.16 | ccali_ | and where can I get jbcp |
00:42.20 | johnjohn7 | probably www.jboss.org |
00:42.25 | heaps | is commons a combo of different jars like jndi+naming-common+naming-resources? |
00:42.34 | johnjohn7 | dbcp is in jakarta.apache.org ...look at commons. |
00:42.42 | johnjohn7 | yes. |
00:42.49 | johnjohn7 | ->heaps.: yes |
00:43.02 | ccali_ | once I get dbcp's jar file in the tomcat lib directory, should my code work? |
00:43.13 | heaps | okay ..i was guessing, from the different libs i see on the different tomcat versions i have |
00:43.14 | ccali_ | isn't comp/env always bound to something |
00:43.23 | johnjohn7 | but not those jars like naming. I think there is object pool, a command interpreter, util (datastructures) etc. |
00:43.39 | johnjohn7 | also, an xml "digester" |
00:43.47 | johnjohn7 | is in commons |
00:44.00 | heaps | speaking of digester are you familiar with its usage? |
00:44.11 | johnjohn7 | yes. |
00:44.29 | heaps | darn guy that has an article on onjava.com is so pompous |
00:44.32 | johnjohn7 | digester is nice. as xml is read, you can create domain objects. |
00:44.45 | johnjohn7 | i don't read onjava |
00:44.57 | johnjohn7 | I don't like arrogance. |
00:45.08 | heaps | anyhow, is there something on digester i can configure to indicate which descriptor its failing on? |
00:45.35 | heaps | some onjava articles are okay |
00:45.43 | johnjohn7 | especially vain and nescient arrogance. |
00:46.06 | heaps | :) |
00:46.12 | ccali_ | should I get DBCP as well as pool? |
00:46.14 | johnjohn7 | heaps: you can probably log it. |
00:46.43 | johnjohn7 | prolly yes ccali |
00:46.55 | heaps | johnjohn7: i see it on the loggers if they fail, but sometimes i modify several web.xml and cant tell from the logs which failed |
00:46.58 | johnjohn7 | I think there is one more you might want. |
00:47.30 | ccali_ | how must I then modify my code? |
00:47.39 | ccali_ | what impl of DataSource should pool be, etc. |
00:48.16 | johnjohn7 | ccali: the docs might help. you could use jndi if your container supports it or use the pool as a driver. |
00:48.30 | johnjohn7 | BasicDataSource? |
00:48.30 | heaps | other than it says digester failed during parsing..most i came across with are struts related failures |
00:48.48 | johnjohn7 | oh, struts. ok. |
00:49.16 | heaps | one seems to constantly modify configs when working with struts |
00:49.24 | johnjohn7 | it is hard to find xml errors in a big xml file. |
00:50.02 | johnjohn7 | heaps. that is a big pain. I use a database to softhold my forwards...I made my own impl of a command pattern. You could try webwork. (opensymphony.com) |
00:50.03 | heaps | right, i was hoping there something you know of on Digester that can be configured to give an easy clue |
00:50.38 | johnjohn7 | hm. try setting the debug of digester all the way down to 1 or 0 (DEBUG), I believe it uses log4j there. |
00:50.46 | johnjohn7 | or INFO |
00:51.04 | heaps | i haft to successfully get the webwork samples to work first. i failed miserably so far on different containers/web servers |
00:51.44 | heaps | i would think webwork would be an easy install, but so far i have not been successful |
00:51.46 | johnjohn7 | heaps: I can't, OTOMH, remember how to intercept the exception or get the event handler that gives you failure... |
00:52.31 | heaps | johnjohn7: not that important right now, but if you do remember it or have it noted on your notebook please pass it along |
00:52.37 | johnjohn7 | heaps....it is also kind of messy with xml or properties, I got it to install finally. What worked was reinstalling my container then putting everything back in for some reason. |
00:53.15 | johnjohn7 | with webwork. but....it does work. there is a jar, which if dropped, "should" work. if it doesn't ...probably jdom.jar or some other xml hell issue. |
00:53.27 | heaps | be right back in a few... a visitor is at the door ..sorry |
01:08.15 | *** join/#tomcat find_me (find_me@ACC5AD05.ipt.aol.com) |
01:25.56 | heaps | am back.. |
01:29.17 | *** join/#tomcat johnjohn7 (~johnjohn@cpe-24-221-228-20.tx.sprintbbd.net) |
02:07.48 | *** part/#tomcat heaps (eapolo01@hills.ccsf.cc.ca.us) |
02:38.45 | *** join/#tomcat find_me (find_me@ACC4635F.ipt.aol.com) |
02:49.13 | *** join/#tomcat blur_ (www@dyn-mcb-168-104.dyn.columbia.edu) |
03:26.18 | *** join/#tomcat heaps (eapolo01@hills.ccsf.cc.ca.us) |
03:52.07 | *** join/#tomcat heaps (eapolo01@hills.ccsf.cc.ca.us) |
03:56.40 | *** join/#tomcat jasonb (~jasonb@adsl-66-124-73-250.dsl.sntc01.pacbell.net) |
03:57.49 | heaps | anyone knows how to get this webwork working? i thought it would be just as easy as dropping the webwork.war to tomcat or resin but its not working for me |
03:58.29 | jasonb | What's webwork? |
03:58.46 | heaps | supposedly comparable to struts |
03:59.01 | jasonb | And if it doesn't work on Tomcat, what servlet container does the author say to use it on? |
03:59.16 | jasonb | heaps: Why not just use Struts? :) |
03:59.34 | heaps | just trying things out :) |
03:59.42 | jasonb | ahh. |
04:00.07 | jasonb | How does Tomcat choke on it? |
04:00.55 | heaps | i cant recall what the error was..hang a few and let me see if i can launch it |
04:01.39 | jasonb | Also, which OS/Version, JDK/Version, and Tomcat/Version are you using for this? |
04:02.03 | heaps | am on jdk 1.4.0_01 linux 4.1.18 |
04:03.20 | heaps | thats tomcat :) ..hehe |
04:04.20 | heaps | it was choking on log4j i would think this is in included in the war file..probably not |
04:06.20 | heaps | yep that was it..gesh i just never took the time to put a log4j.jar there |
04:06.43 | jasonb | It's always the exact error message that's important. |
04:07.31 | heaps | shoot, same set-up on resin was choking on jsp |
04:09.46 | heaps | why were you not surprised? you know their developers? |
04:09.55 | jasonb | Somewhat, yeah. |
04:10.40 | heaps | i see, people that you would put your betting againts them huh? :) |
04:10.48 | heaps | betting money.. |
04:11.20 | jasonb | Well, for some things, yes. Not all, though. |
04:12.02 | heaps | i was just kidding..i think people that contribute to these open source projects are talented |
04:13.43 | jasonb | Heh! Well, they are. But, in case you hadn't realized, Resin isn't open source software. |
04:16.10 | heaps | right, how easy for me to forget..thats why its the last in the list of servers i test with :) |
04:21.03 | *** join/#tomcat Gnug225 (Gnug225@24.236.252.191.gha.mi.chartermi.net) |
04:39.46 | *** join/#tomcat vx`schlumpf (~vx_schlum@dsl-213-023-038-062.arcor-ip.net) |
04:53.24 | *** part/#tomcat heaps (eapolo01@hills.ccsf.cc.ca.us) |
05:55.01 | *** part/#tomcat Gnug225 (Gnug225@24.236.252.191.gha.mi.chartermi.net) |
05:55.46 | *** join/#tomcat Gnug225 (Gnug225@24.236.252.191.gha.mi.chartermi.net) |
06:08.52 | *** join/#tomcat Pointy_Work (~Pointwood@fw.agropark.dk) |
06:08.54 | Pointy_Work | join #java |
06:35.08 | *** join/#tomcat Gnug225 (Gnug225@24.236.252.213.gha.mi.chartermi.net) |
07:05.20 | *** join/#tomcat Spline (~dj_aia@anja.isisnetworks.net) |
07:10.07 | *** join/#tomcat Adelheit (~none@80.146.165.65) |
07:27.46 | *** join/#tomcat MaxeyPad (~gimp@12-222-193-248.client.insightBB.com) |
07:30.21 | *** join/#tomcat CSMan (~csman@h24-78-187-137.vn.shawcable.net) |
07:30.25 | CSMan | hi there |
07:31.43 | MaxeyPad | hi, i'm new to tomcat, I'm trying to get it installed actually. I installed java at /usr/local/j2sdk1.4.1_02, set JAVA_HOME = /usr/local/j2sdk1.4.1_02, unpacked tomcat into /usr/local/jakarta-tomcat-4.1.24, set catalina_home = /usr/local/jakarta-tomcat-4.1.24, when I run the startup script in $catalina/bin/startup.sh i just get this output |
07:31.46 | MaxeyPad | hi |
07:31.47 | MaxeyPad | ls |
07:32.02 | MaxeyPad | Using CATALINA_BASE: /usr/local/jakarta-tomcat-4.1.24 |
07:32.02 | MaxeyPad | Using CATALINA_HOME: /usr/local/jakarta-tomcat-4.1.24 |
07:32.02 | MaxeyPad | Using CATALINA_TMPDIR: /usr/local/jakarta-tomcat-4.1.24/temp |
07:32.03 | MaxeyPad | Using JAVA_HOME: /usr/local/j2sdk1.4.1_02/ |
07:32.07 | MaxeyPad | and it does nothing |
07:32.37 | MaxeyPad | I don't see any processes running anyway |
07:32.53 | jasonb | What happens when you do "which java" ? |
07:33.19 | *** join/#tomcat KarolR (~nobody@c169248.adsl.hansenet.de) |
07:33.43 | CSMan | MaxeyPad: have you tried opening this in your browser? http://localhost:8080 ' |
07:34.32 | MaxeyPad | when i do "which java" i get an error... |
07:34.35 | MaxeyPad | ie not in path |
07:34.46 | MaxeyPad | shoudl I just symlink the java binary into the path? |
07:35.34 | jasonb | MaxeyPad: Just do: set PATH=$JAVA_HOME:$PATH ; export PATH |
07:35.47 | jasonb | MaxeyPad: Then try "which java" again. |
07:35.59 | jasonb | woops.. wait |
07:36.12 | jasonb | MaxeyPad: set PATH=$JAVA_HOME/bin:$PATH ; export PATH |
07:36.29 | CSMan | MaxeyPad: nice web =) |
07:36.54 | CSMan | jasonb: so he's not using bash? |
07:36.54 | MaxeyPad | no java in path |
07:36.58 | MaxeyPad | i'm using bash yes |
07:37.24 | CSMan | MaxeyPad: what do you get when http://localhost:8080 |
07:37.27 | jasonb | CSMan: In case he wasn't using bash, I put the export in a separate command. |
07:37.41 | CSMan | jasonb: i do it directly =) |
07:37.56 | jasonb | CSMan: You know what shell you run though. I don't know which shell he runs. |
07:38.06 | CSMan | jasonb: he just said. =) |
07:38.17 | jasonb | CSMan: Yeah, *after* I gave him the command to run. |
07:38.29 | MaxeyPad | i get nothing when i try to hit the page. |
07:38.35 | CSMan | ok... |
07:38.41 | MaxeyPad | when I nmap tha tport isn't open either |
07:38.43 | CSMan | MaxeyPad: what happens when you enter java |
07:39.06 | CSMan | MaxeyPad: nmap behind the router? |
07:39.07 | jasonb | MaxeyPad: Did you set PATH like I said above? |
07:39.43 | MaxeyPad | nmap on the local box |
07:39.44 | CSMan | actually he only needs JAVA_HOME |
07:40.44 | jasonb | CSMan: He needs to be able to test that Java works properly so to eliminate that as part of the trouble. |
07:40.57 | jasonb | MaxeyPad: ?? |
07:41.03 | CSMan | MaxeyPad: are you running tomcat from root? |
07:41.30 | MaxeyPad | ok i think i fixed it |
07:41.34 | MaxeyPad | i'm running java from root |
07:41.39 | CSMan | oh ok |
07:41.58 | CSMan | after you finish i'd like to expose my issue =) |
07:41.58 | jasonb | MaxeyPad: What did you do to fix it? |
07:41.58 | MaxeyPad | when i type which java now I get |
07:42.09 | jasonb | MaxeyPad: Do "java -version" |
07:42.10 | MaxeyPad | I get /usr/local/j2sdk1.4.1_02/bin/java |
07:42.20 | CSMan | MaxeyPad: good =) |
07:42.32 | MaxeyPad | when i do "java -version" i get Killed |
07:42.40 | jasonb | Neat. |
07:42.47 | jasonb | You get killed? |
07:42.57 | CSMan | killed? =P |
07:42.59 | MaxeyPad | i get the output to the console "Killed" |
07:43.05 | CSMan | wtf? |
07:43.14 | CSMan | never seen that b4 |
07:43.15 | jasonb | MaxeyPad: What OS/Version are you running? |
07:43.17 | MaxeyPad | I know thats really fucked up |
07:43.22 | MaxeyPad | its Redhat Linux 8.0 |
07:43.28 | jasonb | CSMan: See why I wanted him to do this?? |
07:43.36 | CSMan | jasonb: 104 |
07:43.47 | MaxeyPad | its a crazy error |
07:43.50 | jasonb | MaxeyPad: Do: strace java -version |
07:43.58 | jasonb | CSMan: 104? |
07:44.03 | MaxeyPad | i get all kinds of shit jasonb |
07:44.11 | CSMan | jasonb: 10 4 (understood) |
07:44.14 | jasonb | MaxeyPad: Yeah, show us the last few lines. |
07:44.24 | MaxeyPad | sched_getscheduler(0x138a) = 0 |
07:44.24 | MaxeyPad | sched_getparam(0x138a, 0x5cb42b58) = 0 |
07:44.24 | MaxeyPad | old_mmap(0x4000, 40960, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4000 |
07:44.24 | MaxeyPad | sigaltstack({ss_sp=0x4000, ss_flags=0, ss_size=40960}, NULL) = 0 |
07:44.25 | MaxeyPad | rt_sigprocmask(SIG_UNBLOCK, [HUP INT QUIT USR2 TERM CHLD], NULL, 8) = 0 |
07:44.27 | MaxeyPad | +++ killed by SIGKILL +++ |
07:44.40 | *** join/#tomcat ps (~user@195.58.110.203) |
07:44.54 | MaxeyPad | when i do set|grep JAVA i get this output |
07:45.00 | MaxeyPad | JAVADIR=/usr/local/j2sdk1.4.1_02/ |
07:45.01 | MaxeyPad | JAVA_HOME=/usr/local/j2sdk1.4.1_02/ |
07:45.11 | jasonb | MaxeyPad: That seems okay. |
07:45.26 | jasonb | MaxeyPad: So does this machine run other applications okay? |
07:45.43 | MaxeyPad | yes, it runs normal apache with modssl, openssh |
07:45.56 | jasonb | MaxeyPad: Anything bigger? |
07:46.03 | MaxeyPad | no its a brand new server |
07:46.08 | jasonb | MaxeyPad: How much ram does it have? |
07:46.17 | MaxeyPad | it has 1 gig of ram |
07:46.28 | CSMan | MaxeyPad: did you test the ram with memtest86? |
07:46.42 | MaxeyPad | no... |
07:46.49 | MaxeyPad | thats just the output during boot |
07:47.17 | MaxeyPad | should I try reinstalling java? |
07:47.40 | *** join/#tomcat thebiMbo (~thebiMbo@212.97.41.22) |
07:47.42 | thebiMbo | hi |
07:47.48 | KarolR | hi |
07:47.57 | jasonb | MaxeyPad: Do this and give us the output: cat /proc/meminfo | head -5 |
07:48.19 | MaxeyPad | <PROTECTED> |
07:48.19 | MaxeyPad | Mem: 793624576 747835392 45789184 0 96038912 532946944 |
07:48.19 | MaxeyPad | Swap: 1311842304 0 1311842304 |
07:48.19 | MaxeyPad | MemTotal: 775024 kB |
07:48.20 | MaxeyPad | MemFree: 44716 kB |
07:48.40 | thebiMbo | is really neede jdk to run tomcat ? is not enough the jre distrib ? |
07:49.25 | CSMan | thebiMbo: it needs jdk to compile servlets i think |
07:49.33 | CSMan | thebiMbo: i mean to compile jsps |
07:49.57 | thebiMbo | oh... i haven't thought about that |
07:50.20 | jasonb | MaxeyPad: Can you again do this and paste in lots of the end of the output to http://www.hellaweb.com:8888/ ? strace java -version |
07:50.41 | KarolR | bimbo, you need javac for JSPs, Jasper (Tomcat's JSP engine) converts JSPs to servlet source code and compiles them to classes. |
07:51.13 | jasonb | There's a way to use jikes to compile the JSPs, but I forget how to tell Tomcat to use that instead of javac. |
07:51.22 | CSMan | well, meanwhile i guess i can expose my issue: |
07:51.27 | jasonb | :) |
07:51.40 | thebiMbo | my issue was to not use jdk but smaller jre |
07:51.49 | KarolR | yes... I haven't used jikes. Would be interesting to try. |
07:52.02 | CSMan | i'm using apache ProxyPass to connect to tomcat but when i click on a servlet link i get a null pointer exception |
07:52.24 | jasonb | thebiMbo: You can use just the JRE if you don't use JSP. If you do use JSP, research how to use jikes, but then you have to deploy both the JRE and jikes.. but that's not such a big deal since jikes isn't real big. |
07:52.31 | thebiMbo | this sohuold be valid for all of the servlet/jsp container out there... right ? |
07:53.00 | jasonb | CSMan: What's ProxyPass? An Apache module? What does it do? |
07:53.02 | thebiMbo | jasonb: i don't use jsp... there's a way to tell that to tomcat ? |
07:53.09 | jasonb | thebiMbo: Not necessarily. |
07:53.28 | hellabot | "maxeypad" pasted [root@episcopal local]# strace at http://www.hellaweb.com:8888/27 |
07:53.37 | CSMan | jasonb: ProxyPass is a directive in mod_proxy that allows a user access a web server located in the intranet =) |
07:53.40 | jasonb | thebiMbo: If you don't use JSP, then Tomcat won't bother trying to use javac.. so you'd just be fine without any special config for that. |
07:54.03 | thebiMbo | jasonb: if i point JAVA_HOME to the root of my jre distrib it complaints about "incorrect JAVA_HOME" ... |
07:54.11 | CSMan | thebiMbo: and the difference is justa few megs in your hard drive =) |
07:54.11 | thebiMbo | when i try to start it |
07:54.20 | MaxeyPad | do you guys think I should just try reinstalling java |
07:54.37 | CSMan | MaxeyPad: i'd do that, if it doesn't work, i'd go for memtest86 |
07:54.53 | thebiMbo | CSMan: maybe your right... its not a big deal... :/ |
07:54.53 | MaxeyPad | thanks guys for the help :) |
07:54.58 | KarolR | jasonb / bimbo: Tomcat might try including tools.jar (also containing javac) |
07:55.08 | KarolR | afaik, there is no tools.jar in jre |
07:55.26 | CSMan | so everybody here is using connectors to attach tomcat to apache? |
07:55.27 | thebiMbo | KarolR: you're right |
07:55.36 | CSMan | nobody using ProxyPass? |
07:55.42 | thebiMbo | CSMan: i'm using directly tomcat ... |
07:56.58 | MaxeyPad | connectors? |
07:57.08 | MaxeyPad | could you point me to a really really newbie installation guide for tomcat |
07:58.30 | KarolR | ibot: jk |
07:58.31 | | bugger all, i dunno, KarolR |
07:58.36 | jasonb | MaxeyPad: Unfortunately, there really isn't one.. except for books. I co-authored Tomcat: The Definitive Guide (O'Reilly), which will be out next month.. |
07:58.42 | KarolR | ibot: jk_mod |
07:58.42 | | KarolR: parse error: dunno what the heck you're talking about |
07:58.50 | KarolR | [ibot] jk_mod |
07:59.00 | KarolR | dammit, how was is again :o) |
07:59.07 | MaxeyPad | jasonb: i have tomcat kickstart in front of me |
07:59.07 | KarolR | ibot: mod_jk |
07:59.11 | | [mod_jk] at http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/doc/jk/aphowto.html |
07:59.12 | MaxeyPad | I tried following their steps |
07:59.15 | KarolR | there we go |
07:59.26 | jasonb | MaxeyPad: And? What did you think? :) |
07:59.36 | KarolR | maxeypad: see the above link. |
07:59.51 | MaxeyPad | i'd rather use perl :) |
07:59.56 | KarolR | ouch, perl. |
07:59.59 | KarolR | *g* |
08:00.00 | KarolR | :o) |
08:00.09 | MaxeyPad | but this book seems kind of unclear |
08:00.23 | MaxeyPad | for someone who knows jack about tomcat, it doesn't seem to cover what I want |
08:00.25 | jasonb | MaxeyPad: Our book has very clear, exact, very easy to follow instructions on how to set up Tomcat in lots of different ways. |
08:00.31 | thebiMbo | thanks to all ... |
08:00.35 | thebiMbo | bye |
08:00.37 | KarolR | bye |
08:00.59 | MaxeyPad | specifically what i'm trying to achieve is an installation of tomcat that will allow me to use reddot |
08:01.07 | KarolR | maxeypad, I have the Wrox: Professional Apache Tomcat book. It's great. |
08:01.08 | jasonb | MaxeyPad: I spent *months* making sure the O'Reilly one was clear and easy to understand/follow. |
08:01.10 | KarolR | I recommend it. |
08:01.27 | jasonb | KarolR: I've heard lots of people say that that book is factually incorrect all over the place. |
08:01.33 | MaxeyPad | jasonb: i'll recommend it to my java dev guys then |
08:01.37 | *** part/#tomcat thebiMbo (~thebiMbo@212.97.41.22) |
08:02.00 | KarolR | jasonb - that might be right. I just covered those pieces that I needed, such as httpd integration |
08:02.01 | jasonb | What is reddot? |
08:02.06 | KarolR | I=it |
08:02.16 | MaxeyPad | Reddot is an ASP implementation that ties in with tomcat |
08:02.35 | MaxeyPad | atleast thats how I understand it to be |
08:02.36 | MaxeyPad | http://www.reddot.com/ |
08:03.11 | jasonb | KarolR: Yeah, it's a big book, with lots of authors, so I had high expectations for it, but aparently none of them were given sufficient time to make sure the book was factually correct. Many have complained about it. |
08:03.58 | KarolR | jasonb, I'm looking forward to the O'Reilly book. I'm an O'Reilly fan you know. But Wrox has put out some good books, too. Especially their J2EE bibles. ;) |
08:04.40 | KarolR | but Wrox is going down as I heard, this will push all readers to O'Reilly I guess. |
08:05.33 | MaxeyPad | I'm a huge fan of o-reilly, I own almost 20 o-reilly titles |
08:05.46 | jasonb | KarolR: Yeah, I've read some decent wrox books too, along with some not so decent ones. But, I think every last O'Reilly book I've had a look at has been excellent.. I suppose they may write a bad-ish one now and then, but usually their books seem highly polished. |
08:06.16 | jasonb | I was shocked when I found out that Wrox was going out of business.. I'm still a little dazed by the thought. |
08:06.17 | KarolR | jasonb, I absolutelly agree. I love O'Reilly books. Their style/content is just excellent. |
08:06.42 | KarolR | they got aquired by Willey's |
08:07.05 | KarolR | jasonb, so you're coauthoring |
08:07.06 | KarolR | ? |
08:07.27 | jasonb | Yeah, Tomcat: The Definitive Guide is by me and Ian Darwin. |
08:07.46 | jasonb | http://www.amazon.com/exec/obidos/ASIN/0596003188/104-4566466-3606358 |
08:07.56 | jasonb | http://search.barnesandnoble.com/booksearch/isbnInquiry.asp?isbn=0596003188 |
08:08.16 | KarolR | great |
08:08.57 | jasonb | Amazon's page is out of date.. the book is actually 336 pages (from what I understand), and they say it's 188 pages. :) |
08:09.21 | ps | Hi |
08:09.25 | jasonb | Hi |
08:09.30 | KarolR | yeah yeah. You always double it to push the price alright. :-P |
08:09.40 | MaxeyPad | a good book on iptables needs to come from o-reilly |
08:09.44 | ps | I have a problem with Tomcat and Client Authenticatin |
08:09.56 | jasonb | MaxeyPad: There's some good HOWTOs out there about iptables. |
08:09.56 | ps | Authentication that is. |
08:10.04 | MaxeyPad | yeh, i know |
08:10.11 | MaxeyPad | it would be nice to have a desktop ref though |
08:10.22 | MaxeyPad | actually more security titles is what i'd love to see |
08:10.46 | *** join/#tomcat fox__ (fox@debian.as) |
08:10.48 | jasonb | MaxeyPad: Our Tomcat book has a looong chapter on Tomcat security.. more than 45 pages I believe. |
08:10.59 | ps | Someone here that has got Client Authentication with certificate to work? |
08:11.21 | ps | ...with tomcat. Seems to be hard to find info about it. |
08:11.21 | jasonb | ps: Yes, but it's extremely tough to do.. |
08:11.42 | MaxeyPad | nice jasonb |
08:11.43 | jasonb | ps: Our book has the only successfully followable docs on how to do that, as far as I know. |
08:12.00 | jasonb | ps: It's not an easy thing to set up at all. |
08:12.01 | MaxeyPad | well i just reinstalled java and I get the same thing |
08:12.01 | ps | oh really!? |
08:12.16 | ps | where can i find this book of yours? |
08:12.41 | jasonb | http://www.amazon.com/exec/obidos/ASIN/0596003188/104-4566466-3606358 |
08:12.48 | jasonb | http://search.barnesandnoble.com/booksearch/isbnInquiry.asp?isbn=0596003188 |
08:13.31 | MaxeyPad | jasonb, I just reinstalled tomcat |
08:13.34 | MaxeyPad | err java |
08:13.38 | jasonb | MaxeyPad: Does this machine currently run a busy server? Like, could there be too many files open on this box while you try running Java? |
08:13.48 | MaxeyPad | it runs nothing basically |
08:13.59 | MaxeyPad | apache with 0 threads active and ssh |
08:14.00 | MaxeyPad | nothing else |
08:15.03 | MaxeyPad | I redownloaded and reinstalled java |
08:15.10 | MaxeyPad | but when do java -version I get |
08:15.11 | ps | hm okej.. well the thing is, i have a deadline on monday and i really need to get it working soon, is there maybe a howto or you can give som good advice? |
08:15.15 | MaxeyPad | "killed" |
08:15.50 | jasonb | MaxeyPad: How many CPUs does this machine have? |
08:15.59 | MaxeyPad | 1 cpu |
08:17.45 | jasonb | MaxeyPad: Is this stock RH 8? How did you install it? Server pkg set? Client pkg set? Custom pkg set? Any mods after the install? |
08:19.10 | MaxeyPad | its a server install |
08:19.22 | MaxeyPad | I built a custom apache from source with mod_ssl |
08:19.30 | MaxeyPad | and I updated openssh |
08:19.32 | MaxeyPad | and openssl |
08:19.33 | MaxeyPad | but thats it |
08:22.00 | jasonb | Can you stop Apache, do a ps to make sure all Apache httpd processes are down, then try Java again? |
08:24.06 | MaxeyPad | i killled apache |
08:24.10 | MaxeyPad | same thing from java |
08:24.25 | MaxeyPad | what environment variables does java rely on |
08:26.01 | jasonb | Not many. |
08:26.29 | jasonb | Did you compile your own kernel on this box, or are you using the stock RH 8 kernel binary? |
08:28.24 | MaxeyPad | custom kernel |
08:28.28 | jasonb | MaxeyPad: I don't think environment variables have anything to do with your problem at this point. |
08:28.28 | MaxeyPad | with GRSecurity |
08:28.36 | jasonb | MaxeyPad: Ahhh.. you didn't tell me about your custom kernel. |
08:29.17 | MaxeyPad | sorry :) |
08:29.26 | MaxeyPad | I can reboot it tomorrow |
08:29.30 | MaxeyPad | and use the stock one |
08:29.32 | MaxeyPad | see if that helps |
08:29.57 | jasonb | That could be your problem. |
08:30.12 | jasonb | I don't want to be too quick to blame your kernel, since it may not be the problem.. but, it could be. |
08:30.19 | MaxeyPad | its possible |
08:30.21 | MaxeyPad | i'll try it |
08:31.10 | jasonb | Cool. |
08:31.29 | jasonb | It's a very strange problem that I've basically never seen.. and I'd guess it's something deep. |
08:32.04 | jasonb | It could be some other things too, but to guess at what other things would be grasping at straws.. You're better off trying the stock kernel next. |
08:32.15 | MaxeyPad | yeh |
08:32.31 | MaxeyPad | I had several install attempts at tomcat |
08:32.40 | MaxeyPad | so the whole install may not be very clean |
08:34.23 | jasonb | Well, it's probably useable.. But something you did prior to that isn't. :) |
08:35.13 | jasonb | MaxeyPad: Another thing you could try is: run other, large applications.. like maybe something like OpenOffice or Mozilla or something else that's real big. |
08:35.24 | jasonb | If one of those crashes the same way, then you know it's not just Java. |
08:36.04 | jasonb | The problem is: if they don't crash the same way, you don't know for sure that it's just a Java problem. |
08:36.40 | jasonb | Also, it could be a threading issue.. so if you turn off native threads in the JVM and it works, then you know it's the threading.. |
08:45.04 | jasonb | Hmm, they might have nuked that. |
08:45.35 | jasonb | You can play with the options shown on this page: http://java.sun.com/docs/hotspot/threads/threads.html |
08:46.13 | jasonb | It says nothing about what's available on Linux, so it's possible that none of the options shown will do anything.. but you can try. |
09:03.28 | CSMan | MaxeyPad: install??? you just unzip the tar.gz |
09:03.35 | *** join/#tomcat FuryForce (1000@openfury.math-info.univ-paris5.fr) |
09:03.40 | *** part/#tomcat FuryForce (1000@openfury.math-info.univ-paris5.fr) |
09:03.41 | CSMan | and sh the script =o |
09:03.43 | *** join/#tomcat FuryForce (1000@openfury.math-info.univ-paris5.fr) |
09:03.47 | FuryForce | Hi all |
09:04.08 | FuryForce | has anyone ever successfully built the mod_jk module for apache |
09:04.15 | CSMan | FuryForce: =D |
09:04.31 | FuryForce | thats the tomcat_connector thingy |
09:04.32 | FuryForce | :o) |
09:04.33 | CSMan | FuryForce: what ver of apache? |
09:05.02 | FuryForce | actually im trying to get tomcat working witrh Apache |
09:05.14 | FuryForce | so I won't be needing to add a :8080 |
09:05.17 | CSMan | FuryForce: answer =P |
09:05.20 | FuryForce | for my java pages |
09:05.34 | FuryForce | ohh sorry |
09:05.37 | FuryForce | ahh 2.0.45 |
09:05.54 | CSMan | did jakarta-tomcat-connectors |
09:06.06 | FuryForce | ... |
09:06.08 | CSMan | s/did/get |
09:06.18 | FuryForce | i did |
09:06.31 | FuryForce | and when I try compiling them the make "screws up" |
09:06.47 | CSMan | did you run the build.sh script? |
09:06.51 | FuryForce | indeed |
09:07.01 | FuryForce | yup did that It had a complaint |
09:07.08 | CSMan | what was it |
09:07.11 | FuryForce | configur.in ACC....something something |
09:07.26 | FuryForce | when I tried comiling from the |
09:07.32 | FuryForce | native2 dir and not native |
09:07.40 | FuryForce | things went a bit more smoothly |
09:07.52 | FuryForce | and it even said to me -with-apxs2 |
09:07.57 | FuryForce | and not just --with-apxs |
09:08.13 | CSMan | so you tried with --with-apxs2? |
09:08.13 | FuryForce | but at the end the make didn't get through |
09:08.19 | FuryForce | yup |
09:08.31 | CSMan | hmmmm... |
09:08.35 | CSMan | lemme check mine |
09:08.35 | FuryForce | actually I know for the version of Apache 2.X.X we need to use apxs2 |
09:09.13 | CSMan | FuryForce: yeah |
09:09.22 | FuryForce | :o) |
09:09.38 | FuryForce | ok if you don't mind ill try doing it all over again and i ll tell you the output ok? |
09:10.31 | FuryForce | btw |
09:10.37 | FuryForce | which ones should i take |
09:10.38 | FuryForce | http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1.2.1/src/ |
09:10.42 | FuryForce | this one or this one |
09:10.54 | FuryForce | http://mir2.ovh.net/ftp.apache.org/dist/jakarta/tomcat-4/source/ |
09:11.04 | FuryForce | i mean |
09:11.16 | CSMan | well, i got the whole jakarta-tomcat-connectors-4.1.24 |
09:11.23 | FuryForce | http://mir2.ovh.net/ftp.apache.org/dist/jakarta/tomcat-4/source/tomcat-connectors-4.1.24-src.tar.gz |
09:11.36 | FuryForce | ok so it works for you I guess |
09:11.45 | CSMan | yeh |
09:11.47 | FuryForce | ok ill take the same then and try |
09:11.47 | FuryForce | ok |
09:12.38 | FuryForce | so first of all this is where I am : |
09:12.39 | FuryForce | /usr/src/jakarta-tomcat-connectors-4.1.24-src/jk/native |
09:12.49 | FuryForce | I believe that this is the place to be... |
09:13.04 | CSMan | ok |
09:13.08 | FuryForce | good |
09:13.30 | FuryForce | now I believe i must do a little chmod on build.sh to have it running |
09:13.48 | FuryForce | and then a little ./build.sh to have the magic start |
09:14.13 | CSMan | yeah |
09:14.46 | FuryForce | ok after the ./.... |
09:14.54 | FuryForce | I get some output and at the end I have: |
09:14.54 | FuryForce | configure.in:24: AC_PROG_CPP was called before AC_PROG_CC |
09:15.13 | FuryForce | and this makes feel like : :o/ |
09:15.29 | FuryForce | :oO < arf arf arf |
09:15.30 | CSMan | FuryForce: yeah, i'm trying to remember how i did it |
09:15.52 | FuryForce | I remember succeding in doing it once a long long time ago in a galaxy far far away |
09:16.05 | FuryForce | and it seems so fat that I believe it was in another life |
09:16.27 | CSMan | lol |
09:17.26 | FuryForce | Counter Strike Man help |
09:18.01 | FuryForce | Call your mojo and find the solution :o) |
09:18.12 | CSMan | FuryForce: try with the 2 version |
09:18.17 | CSMan | native2 |
09:21.03 | FuryForce | ok |
09:21.07 | FuryForce | let me try that |
09:21.12 | FuryForce | but basically whats the version |
09:21.23 | FuryForce | arf what the purpose of native and native2 |
09:21.35 | FuryForce | the 2 any relation with apache 2 |
09:21.39 | FuryForce | or apxs2 |
09:21.39 | FuryForce | ?? |
09:22.03 | CSMan | different stuff mebe |
09:22.41 | FuryForce | ok I didn't get the error |
09:22.48 | FuryForce | after the ./build..... |
09:22.52 | FuryForce | like I said earlier |
09:22.55 | FuryForce | ok now ill do the |
09:23.06 | FuryForce | ./configure --with-apxs2=/usr/..... |
09:23.27 | CSMan | k |
09:24.53 | FuryForce | ok the configure seem to go all well |
09:24.58 | FuryForce | now for the make |
09:25.00 | CSMan | make |
09:25.33 | FuryForce | gotta a big BADA BOOM |
09:25.41 | CSMan | heheh... me too |
09:25.58 | FuryForce | make[1]: /usr/local/apache2/build/libtool: Command not found |
09:25.58 | FuryForce | make[1]: *** [../../../build/jk2/apache2/jk_channel.lo] Error 127 |
09:25.58 | FuryForce | make[1]: Leaving directory `/usr/src/jakarta-tomcat-connectors-4.1.24-src/jk/native2/server/apache2' |
09:25.58 | FuryForce | make: *** [jk2-build] Error 1 |
09:26.13 | FuryForce | i must highlight the fact that i do have libtool installed |
09:26.26 | CSMan | yeah, i got it installed previously |
09:26.41 | FuryForce | Now isn't this bad |
09:28.16 | CSMan | i think it has something to do with APR |
09:29.09 | CSMan | FuryForce: make clean; make |
09:29.13 | CSMan | =D |
09:29.29 | CSMan | oh yeah =P |
09:30.14 | CSMan | "Rockin (gun recoil)" --Duke Nukem. |
09:30.29 | FuryForce | ... |
09:30.35 | FuryForce | and what should i do? |
09:30.39 | FuryForce | :o) |
09:30.52 | FuryForce | whats APR? |
09:31.09 | CSMan | nm about APR |
09:31.17 | CSMan | just make clean;make |
09:31.41 | FuryForce | it still screwing up |
09:31.59 | FuryForce | :o( |
09:32.09 | CSMan | what do you get |
09:32.13 | CSMan | same errors? |
09:32.18 | FuryForce | same thing as above |
09:32.19 | FuryForce | yup |
09:32.21 | CSMan | ok |
09:32.33 | FuryForce | Makes me wanna ARF ARF and a little ARF ARF |
09:32.49 | FuryForce | :o[ |
09:33.14 | CSMan | well, you don't have /usr/local/apache2/build/libtool =) |
09:34.37 | FuryForce | hmmm let me check |
09:35.39 | FuryForce | actually I don't even have the build dir |
09:35.41 | FuryForce | :o) |
09:36.25 | FuryForce | I don't know why but I ahve right now the theme of smallville ringing in my head |
09:36.27 | FuryForce | :o) |
09:36.29 | CSMan | FuryForce: check in /usr/lib/apache2 |
09:36.36 | KharpeeT | bye |
09:37.17 | FuryForce | well don't have it their |
09:37.27 | FuryForce | arf there I mean |
09:38.07 | CSMan | where is your apache dir then??? |
09:38.16 | FuryForce | do u have the build dir? |
09:38.23 | CSMan | yeah |
09:38.24 | FuryForce | /usr/local/apace2 |
09:38.40 | FuryForce | apache2 |
09:38.45 | CSMan | try installing apache-devel or something of that nature |
09:38.54 | FuryForce | hmmm |
09:39.12 | FuryForce | well if i do that with my debian i guess it install me |
09:39.16 | FuryForce | Apache too |
09:39.31 | FuryForce | so I ll have to versions of Apache running that would be bad |
09:39.32 | CSMan | oh.. debian =P |
09:39.36 | FuryForce | :o) |
09:39.45 | CSMan | locate libtool |
09:39.49 | FuryForce | ok |
09:40.21 | FuryForce | done |
09:40.31 | FuryForce | My apache2 sources seem to have a libtool |
09:40.53 | CSMan | hmmmmmmm...... |
09:41.08 | CSMan | check the stuff you can attach with ./configure --help |
09:41.14 | FuryForce | maybe its my apache thats not well installed |
09:41.30 | FuryForce | well you attach alot of stuff |
09:41.33 | CSMan | yeah, you can specify your apache path in configure |
09:41.53 | FuryForce | yeah but I left the default which is /usr/local/apache2 |
09:42.28 | CSMan | FuryForce: the problem is that the dir you specify doesn't have build |
09:42.42 | CSMan | so yeah, might need to reinstall apache |
09:42.56 | CSMan | cuz the script looks for the build folder in your apache path |
09:45.07 | FuryForce | yup possible, but the problem I just can't seem to find the option that will create this dir |
09:45.15 | FuryForce | or is it always created |
09:45.21 | FuryForce | no matter what do you know? |
09:47.11 | FuryForce | brb, I'll try asking the local linux guru here |
09:47.14 | FuryForce | :o) |
09:47.15 | FuryForce | brb |
09:50.45 | KarolR | Hi, any Jakarta Commons DIGESTER users here? I need some advice. |
10:14.27 | FuryForce | CSMan im back |
10:14.33 | FuryForce | are u still there |
10:16.20 | CSMan | yeah |
10:16.26 | CSMan | what's up |
10:18.51 | *** join/#tomcat a4akb (akb@as12-236.qualitynet.net) |
10:19.04 | a4akb | . |
10:19.12 | a4akb | good crowd today. |
10:21.43 | FuryForce | well |
10:21.53 | a4akb | hi ff |
10:21.54 | FuryForce | The guru has me even more confised |
10:21.58 | CSMan | lol |
10:22.09 | FuryForce | :o) |
10:22.20 | a4akb | which guru |
10:22.23 | CSMan | i'd just try to get that dir in my apache installation |
10:22.41 | FuryForce | ok I just realised that I didn't have any build.properties file in native2 when configuring |
10:23.04 | FuryForce | yeah but I just don't see how to get it there |
10:23.13 | FuryForce | a4 my local guru |
10:23.45 | FuryForce | I mean, I can't just make up a : mkdir build and ad libtool in it? |
10:24.10 | CSMan | don't think so... |
10:24.40 | FuryForce | yeah guess not |
10:27.08 | CSMan | i don't know how you install apps in debian |
10:27.18 | CSMan | i guess you use those .deb packages |
10:29.50 | FuryForce | yeah but then it would be too easy and plus I can't use the Debian way cause it'll install a 1.3.X version of apache |
10:31.33 | FuryForce | ok I have to go and eat |
10:31.39 | FuryForce | thanks for your help CS |
10:31.42 | FuryForce | appreciated that |
10:31.56 | FuryForce | have fun and may the force be with you :o) |
10:32.04 | FuryForce | Bye All |
10:32.22 | FuryForce | Long live linux (even if sometimes it screws) |
10:32.31 | *** part/#tomcat FuryForce (1000@openfury.math-info.univ-paris5.fr) |
11:02.48 | *** join/#tomcat svingen (~svingen@ti132110a080-1243.bb.online.no) |
11:07.40 | *** join/#tomcat n0ir (~vol@66-208-246-178.ubr04b.flint01.mi.hfc.comcastbusiness.net) |
11:16.14 | svingen | hey i try to reload a folder and only get this error "Message: FAIL - Application at context path /svingen could not " |
11:16.24 | svingen | is it not normal to get the hole error? |
12:09.47 | *** join/#tomcat xcanuckx (~xcanuckx@217.69.228.185) |
12:10.07 | xcanuckx | hi, is any fimiliar with mod_jk2 |
12:37.39 | *** join/#tomcat KarolR (~nobody@c169248.adsl.hansenet.de) |
12:58.40 | *** join/#tomcat juzam_ (~stewy@CPE-203-51-96-127.nsw.bigpond.net.au) |
12:58.45 | juzam_ | hello! can someone help me run cgi scripts from tomcat? I've uncommented the appropriate lines in web.xml... |
12:58.50 | *** join/#tomcat {aaron} (blah@aeolus.cit.cornell.edu) |
12:59.41 | {aaron} | anybody run into: "The output format must have a '{http://xml.apache.org/xslt}content-handler' property!" when using Xalan with tomcat under 1.4? |
12:59.43 | juzam_ | and followed the directions in the tutorial |
13:11.28 | juzam_ | {aaron}: hmm maybe everyones sleeping... |
13:16.14 | *** join/#tomcat n0ir (~vol@pcp02400027pcs.flint01.mi.comcast.net) |
13:19.03 | *** join/#tomcat n0ir_ (~vol@pcp02400027pcs.flint01.mi.comcast.net) |
13:23.29 | KarolR | sorry I never used Xalan. |
13:34.11 | *** part/#tomcat juzam_ (~stewy@CPE-203-51-96-127.nsw.bigpond.net.au) |
13:57.46 | ps | jasonb: I will not get the book in time (deadline of school project) can you give me some pointers? |
14:08.59 | *** join/#tomcat vktr (~chatzilla@213.149.47.2) |
14:36.07 | *** join/#tomcat Spline (~dj_aia@anja.isisnetworks.net) |
15:08.13 | *** join/#tomcat CSMan (~csman@24.85.180.193) |
15:30.14 | *** join/#tomcat vx`schlumpf (~vx_schlum@dsl-213-023-038-062.arcor-ip.net) |
16:10.26 | *** join/#tomcat nDuff (~ccd@libra.siliconmetrics.com) |
16:11.42 | nDuff | Anyone suggest a good log analysis tool? I'd like to be mailed a list of stack traces with how often each occured, maybe at what times... will write a tool if need be, but twould be nice to reuse someone else's code. |
16:19.46 | fox__ | jasonb: I'm also interested in the question ps asked.. if you can arange something |
16:22.00 | jasonb | hmm.. well, there might be commercial tools that do this. I haven't done much searching for this kind of thing (including OSS projects to do it), so it's possible that there is one out there somewhere. Do lots of google, sourceforge, and freshmeat searches. |
16:23.28 | jasonb | Tomcat doesn't keep stack traces separate from other logs -- they're put right in the log file along with whatever else is there. So, separating them out wouldn't be real easy. Plus, doing some analysis of the stack traces might also be pretty tough. |
16:24.21 | jasonb | Also, since Tomcat rolls the log files, keeping up with the changes would be a little tough too. |
16:28.08 | jasonb | You might be able to hack your way into getting exception stack traces in email, only for your own setup.. anything beyond that would be much harder, I think. |
16:30.10 | *** join/#tomcat a4akb (akb@as5-219.qualitynet.net) |
16:30.34 | a4akb | 8 YELLO YELLO SOS YELLOW YELLOW |
16:30.38 | a4akb | :/ |
16:30.47 | a4akb | 8 YELLO YELLO SOS YELLOW YELLOW |
16:31.08 | a4akb | jasonb are u here? |
16:33.56 | {aaron} | boy that is anoyying |
16:34.16 | a4akb | ;) |
16:34.35 | a4akb | at least caught someone's eye and u typed to break the monologous silence |
16:35.53 | a4akb | 8 YELLO YELLO SOS YELLOW YELLOW |
16:39.39 | a4akb | {aaron} |
17:34.46 | CSMan | hello |
17:45.40 | *** join/#tomcat mr__t__ (~mr_t__@207.91.35.34) |
17:45.47 | *** part/#tomcat mr__t__ (~mr_t__@207.91.35.34) |
17:47.24 | *** join/#tomcat vx`schlumpf (~vx_schlum@dsl-213-023-041-205.arcor-ip.net) |
17:52.04 | *** join/#tomcat a4akb (akb@as20-98.qualitynet.net) |
17:52.28 | CSMan | what is this message trying to tell me? "Accept invalid cookie path=/mywebapp as a prefix of '/mytomcat'? (n)" ? |
18:00.17 | {aaron} | you issued the cookie for the wrong path? i dunno |
18:00.30 | {aaron} | did you have one context issue a cookie, then stop tomcat, rename it, and then restart maybe? |
18:00.48 | {aaron} | where is that message coming from anyway? |
18:02.08 | CSMan | {aaron}: i'm using ProxyPass to access tomcat |
18:02.37 | CSMan | {aaron}: how do i configure cookie paths? will this affect the regular :8080 access? |
18:03.12 | CSMan | {aaron}: it's coming from lynx, and after a create a session any session.getAttribute("something") will throw a null pointer |
18:03.17 | CSMan | exception |
18:03.42 | CSMan | it's like it didn't create the session |
18:05.04 | {aaron} | gah, i have no idea |
18:05.39 | {aaron} | is your proxy rewriting paths or anything? |
18:07.39 | CSMan | {aaron}: i guess, i'm using ProxyPass /mytomcat/ http://tomcat:8080/mywebapp/ |
18:07.51 | {aaron} | well, that would probably do it |
18:10.27 | CSMan | {aaron}: do you know howto set cookie paths? |
18:10.44 | {aaron} | cookie.setPath() |
18:10.57 | {aaron} | no guarantee it will work if you give it an obviously bogus path |
18:11.47 | CSMan | yeah :| |
18:14.49 | *** join/#tomcat DrOszi__ (~droszi@193.110.60.203) |
18:15.14 | *** part/#tomcat DrOszi__ (~droszi@193.110.60.203) |
18:17.05 | *** part/#tomcat a4akb (akb@as20-98.qualitynet.net) |
18:40.14 | *** join/#tomcat a4akb (akb@as12-140.qualitynet.net) |
18:40.15 | *** join/#tomcat n0ir (~vol@65.162.94.30) |
18:41.15 | *** part/#tomcat a4akb (akb@as12-140.qualitynet.net) |
19:44.45 | *** join/#tomcat jasonb (~jasonb@nat1.sp.collab.net) |
19:46.15 | CSMan | what a freakin' hard time |
19:46.49 | CSMan | so, if anybody here is succesfully using tomcat thru Apache's proxy using ProxyPass, please let me know |
19:52.09 | *** join/#tomcat Hellaenergy (~Hellaener@mail.ubiqinc.com) |
19:52.55 | *** join/#tomcat Hellaenergy (~Hellaener@mail.ubiqinc.com) |
19:53.55 | CSMan | yeah, tomcat's administration app doesn't even work well |
19:54.04 | CSMan | so, i guess almost nobody has being succesful with this. |
19:54.36 | CSMan | i'll stick to jk2 for now... dunno how'd be when the intranet server app is ready =( |
20:02.11 | *** join/#tomcat gnr (~chatzilla@ADSL160-26.advancedsl.com.ar) |
20:02.20 | gnr | hi! |
20:02.50 | gnr | anybody here? |
20:05.22 | gnr | ppl, i have a pretty simple question, but is taking me too much time to answer |
20:06.00 | CSMan | gnr: just ask =) |
20:06.08 | gnr | i have a java bean in a jsp app |
20:06.15 | gnr | but i can't find the damn class |
20:06.20 | gnr | shouldn't it go in the WEB-INF/classes ? |
20:06.47 | Hellaenergy | gnr: If you are using the invoker :) |
20:07.05 | gnr | invoker servlet ? |
20:07.19 | gnr | i was using the jsp:useBean tag |
20:07.25 | gnr | couldnt find it |
20:07.30 | gnr | so i tryed a simple |
20:07.36 | gnr | @ import |
20:07.43 | gnr | and even then i can't find it |
20:08.08 | gnr | with package or without it |
20:08.09 | gnr | =( |
20:08.54 | gnr | <%@ page import="abean" %> |
20:08.55 | Hellaenergy | gnr: Sorry I didn't read your question right |
20:09.04 | Hellaenergy | yes it should go in classes |
20:09.54 | gnr | im using tomcat 4.1.24 |
20:09.59 | Hellaenergy | gnr: Look at the web.xml DTD if in doubt |
20:10.06 | gnr | should i change something in the web.xml ? |
20:10.23 | Hellaenergy | Its looking that way but I don't know. |
20:10.59 | gnr | the web.xml doesn't have anything useful |
20:11.03 | gnr | just the dtd |
20:11.06 | gnr | webapp |
20:11.08 | gnr | description |
20:11.23 | gnr | should i map the bean or something ? |
20:11.44 | gnr | i can't find anywhere documentation of something like this |
20:12.00 | gnr | =( |
20:12.57 | gnr | ibrb |
20:13.22 | Hellaenergy | the DTD reference should be at the top of your web.xml |
20:24.54 | *** join/#tomcat JamesInSD (~chatzilla@host-182-198-220-24.midco.net) |
20:24.58 | JamesInSD | hey peoples |
20:25.54 | *** join/#tomcat Gnug225 (Gnug225@24.236.252.190.gha.mi.chartermi.net) |
20:26.07 | Hellaenergy | anyone ever generated this one before? java.lang.OutOfMemoryError |
20:26.11 | ianni | no |
20:26.14 | ianni | smoeone hacked your JVM |
20:26.16 | ianni | and added that |
20:26.19 | ianni | you're the first |
20:26.22 | JamesInSD | any one here use tomcat LE? |
20:27.04 | Hellaenergy | ianni: Gee thanks for the not smart ass comment :) |
20:27.23 | JamesInSD | heh |
20:28.51 | *** join/#tomcat lonux (~larsotto@24.ppp1-3.gk.tiscali.no) |
20:43.10 | *** join/#tomcat Xeonel (~xeonel@gw01.secure-net.ro) |
20:43.29 | Xeonel | I've got a problem with porting a tomcat 3.2.3 app to tomcat 4.1 |
20:44.02 | Xeonel | the context is initialised... but I still recive a 404 tomcat error, and the logs show no errors.... |
20:44.42 | Xeonel | anyone? |
20:49.22 | nDuff | Hellaenergy: well, yer question *did* kinda' merit it :) |
20:49.53 | nDuff | Hellaenergy: try adding a -Xmx flag |
20:50.05 | nDuff | ...to your java command line. |
20:56.09 | Hellaenergy | nDuff: I know :) thanks for the tip. |
21:13.35 | fox__ | Hellaenergy: set CATALINA_OPTS to "-server Xmx256m -Xms64m (or something "better) |
21:18.16 | Hellaenergy | fox__: Good Idea, do you know what the default is? |
21:20.50 | fox__ | no .. i think 64 max and 32 min |
21:20.55 | fox__ | but I'm not sure =/ |
21:21.30 | Hellaenergy | fox__: Thanks |
21:21.51 | *** join/#tomcat n0ir (~vol@pcp02400027pcs.flint01.mi.comcast.net) |
21:27.27 | fox__ | I would like help with client certificate authentication and tomcat but the only way to read something about it on how to get it working is to get the book jasonb recommended =( |
21:28.00 | Hellaenergy | fox__: We will all be happy when jasonb's book hit the market :) |
21:32.23 | fox__ | that book isbn he posted seems to be out |
21:32.48 | fox__ | 10:11|<jasonb> http://www.amazon.com/exec/obidos/ASIN/0596003188/104-4566466-3606358 |
21:32.53 | fox__ | 10:11|<jasonb> http://search.barnesandnoble.com/booksearch/isbnInquiry.asp?isbn=0596003188 |
21:35.23 | Hellaenergy | nice |
21:35.36 | fox__ | but on a swedish webshop it says that it isn't released |
21:36.06 | fox__ | Hellaenergy: the thing is we have a deadline and we will not get the book in time =(( |
21:36.21 | Hellaenergy | wow for once she put an animal on the cover that relates to the name. |
21:39.05 | Hellaenergy | wow that book isn't even on oreilly's site |
21:40.21 | fox__ | noop |
21:44.22 | *** mode/#tomcat [+o Hellaenergy] by ChanServ |
21:45.57 | *** topic/#tomcat by Hellaenergy -> Tomcat Servlet Container Discussion; The Tomcat project is located at http://jakarta.apache.org/tomcat ; If you would like to paste some code or configs for others to see please use http://www.hellaweb.com:8888/ . Servlet JSP Javadocs http://jakarta.apache.org/tomcat/tomcat-4.1-doc/servletapi/index.html ; Preorder Tomcat - The Definitive Guide here: http://www.amazon.com/exec/obidos/ASIN/0596003188/104-1524330-7681537 |
21:51.34 | *** topic/#tomcat by Hellaenergy -> Tomcat Servlet Container Discussion; The Tomcat project is located at http://jakarta.apache.org/tomcat ; If you would like to paste some code or configs for others to see please use http://www.hellaweb.com:8888/ . Servlet JSP Javadocs http://jakarta.apache.org/tomcat/tomcat-4.1-doc/servletapi/index.html ; Preorder - Tomcat: The Definitive Guide here: http://www.amazon.com/exec/obidos/ASIN/0596003188/104-1524330-7681537 |
21:55.32 | *** part/#tomcat Hellaenergy (~Hellaener@mail.ubiqinc.com) |
21:55.35 | *** join/#tomcat Hellaenergy (~Hellaener@mail.ubiqinc.com) |
22:16.26 | jasonb | Yeah, the book isn't quite out yet. |
22:16.39 | jasonb | It'll be out in early June.. just in time for JavaOne (hopefully). |
22:17.25 | jasonb | I just received the very first QC preview of the second half of the book, nearly ready to print, and it looks pretty spiffy. |
22:17.30 | Hellaenergy | jasonb: Congrats you deserve it ;) |
22:18.22 | jasonb | Hellaenergy: Thanks.. I sure hope you guys can get some solid answers from the book. I wrote it while thinking of you guys, and trying to help as much as I knew how in the time allowed to me by O'Reilly. |
22:19.12 | Hellaenergy | jasonb: I'm sure it will |
22:19.59 | *** join/#tomcat Chancer (~ask@a66b91n112client151.hawaii.rr.com) |
22:23.44 | *** join/#tomcat Spline (~dj_aia@anja.isisnetworks.net) |
22:24.01 | fox__ | jasonb: but I need the answers from the book yesterday ;) |
22:24.31 | Spline | buy safari! |
22:24.37 | Spline | I bet it will be on there before its at borders |
22:25.37 | jasonb | It isn't in Safari yet, but I sure hope it is soon. |
22:27.43 | jasonb | fox__: You need info about CLIENT-CERT only? |
22:28.15 | fox__ | yes |
22:28.51 | fox__ | I've put two guys in my project on it and they worked for several days with no luck =/ |
22:30.00 | jasonb | fox__: Yeah, it's *very* tough to do, with lots of potential pittfalls. It took me many days of straight hacking to get it to work so that I could document it for the book. |
22:30.37 | *** join/#tomcat bugfixer (~bugfixer@42gis175.gulftel.com) |
22:31.17 | fox__ | tls encryption and all that works perfectly but the authentication bit is no workie.. I've heard many angry outburst in the project room sofar ... "Tomcatjävel" as they say in swedish ;) |
22:32.33 | jasonb | hehe! |
22:32.42 | jasonb | So what was the problem you were having, exactly? |
22:32.56 | jasonb | I may be able to get you from where it broke to where it works.. |
22:33.02 | jasonb | (no guarantees, though) |
22:34.00 | fox__ | let me check . just a sec |
22:34.35 | jasonb | Take yer time. :) |
22:34.59 | fox__ | tomcat just closes the connection as if it doesn't accepts the certificate |
22:35.20 | jasonb | fox__: did you turn on the JSSE debugging? |
22:35.30 | fox__ | It's past midnight here and I still try to solve work issues... |
22:35.31 | jasonb | What about the Tomcat logs? Does it say anything in there? |
22:35.56 | fox__ | I'm at home so I can't check the logs right now but I will do it first thing in the morning |
22:36.03 | jasonb | ahh. |
22:36.34 | fox__ | if I only had my ssh-tunnel up right now to bypass the firewall ;) |
22:36.41 | fox__ | then I could check ;) |
22:37.17 | jasonb | Oh well. Get some sleep. |
22:37.37 | Spline | fox: justpaste your private key, we'll take care of getting those logs :) |
22:38.38 | fox__ | Spline: hehe you wouldn't even have fun with a self-signed cert on a maching behind double firewalls (firewall and NAT) |
22:39.41 | fox__ | todays issue was getting SOAP over SMTP working... that was fun ;) |
22:39.46 | Spline | oh cool |
22:39.48 | Spline | using axis? |
22:39.58 | fox__ | noop |
22:40.34 | fox__ | We're developing a Webservice-gateway |
22:42.34 | Spline | so you actually did your own SOAP engine? Or just translating SMTP to HTTP somehow? |
22:44.26 | fox__ | yes ... consumer can send soap over smtp to the gateway which forwards it to a provider over http for instance and then get the result back over smtp |
22:47.07 | Spline | how is the routing done? |
22:50.52 | fox__ | In what sense? |
22:51.08 | fox__ | if you have severla providers for one service for example? |
22:51.24 | fox__ | round robin och weighted random |
22:51.40 | fox__ | and whatever routing algorithm you want to implement ;) |
22:54.37 | Spline | No No |
22:54.49 | Spline | lower level, I want to hit server X with a SOAP request |
22:54.55 | Spline | I have to send you an email that gets to server x |
22:55.19 | fox__ | you expose services on the gateway that maps to a provider ... |
22:55.59 | Spline | so it isnt double blind.. arbitrary clients cant hit arbitrary servers |
22:57.05 | fox__ | I don't follow... you always go thru the gateway which determines if you are allowed to use a sertain service |
22:57.39 | Spline | are you making a service or a product? |
22:57.55 | fox__ | a "product" |
22:58.10 | Spline | Oh |
22:58.28 | Spline | And it will require configuration for web services to get mapped to mail addresses? |
22:58.39 | Spline | What about UDDI lookup? |
23:00.16 | fox__ | Spline: sortof .. the smtp support is only an extra feature .. mostly it's http traffic |
23:00.46 | Spline | you implementing stateful SOAP inspection? That would be cool... |
23:00.58 | Spline | IP range X can access service Y, but not service XXX |
23:01.22 | Spline | bbl, cooking |
23:01.42 | fox__ | it would be cool yes but our "product" is not intended for internet webservices in that way |
23:02.05 | fox__ | it's for managing internal webservices with a set of users |
23:04.05 | fox__ | internal in that sense it's within a company infrastucture |
23:05.00 | fox__ | basically to add security/load-balancing aspects to a webservice that exists today without those features |
23:33.57 | *** join/#tomcat heaps (eapolo01@hills.ccsf.cc.ca.us) |