00:02.25 | *** join/#tomcat maeste (~stefano@194.185.94.45) |
00:02.44 | maeste | hi all |
00:06.27 | maeste | I'm experience a strange trouble with tomcat 4.0.4. Some client recive trunked page. Any ideas? |
00:13.13 | *** join/#tomcat H3llaenergy (~Hellaener@hellaweb.com) |
00:17.03 | *** join/#tomcat Dr_No (~chatzilla@aubert.oberon.no) |
01:25.26 | *** join/#tomcat sebAtInovoDotBe (~chatzilla@213.177.68.243) |
01:28.27 | *** join/#tomcat sebAtInovoDotBe (~sebAtInov@213.177.68.243) |
01:29.50 | *** part/#tomcat sebAtInovoDotBe (~sebAtInov@213.177.68.243) |
04:52.03 | *** join/#tomcat sherifd29 (~fjhfj@menanet21729134186.menanet.net) |
05:00.52 | *** join/#tomcat agent29 (~tonni@pc63222.stofanet.dk) |
05:27.56 | sherifd29 | where can I find easy howto to configure tomcat4 with apache on linux (I already installed apache and tomcat as standalone and they r working each by itself) |
07:10.41 | *** join/#tomcat Diavolos (~as@141.72.80.141) |
08:12.50 | *** join/#tomcat Esaj (~jason@jdd30.joh.cam.ac.uk) |
08:13.06 | Esaj | how do I block all requests not from 127.0.0.1? |
08:13.22 | JakWORK | to what? |
08:13.46 | JakWORK | the http listener? or the webapp connector? to some other connector? |
08:14.16 | Esaj | well, the http listener mainly - but everything would be good |
08:15.53 | Esaj | ok |
08:16.03 | Esaj | thanks |
08:16.29 | JakWORK | np.... hows life in cam? /me is past magd peep... |
08:19.16 | *** join/#tomcat agent29 (~tonni@pc63222.stofanet.dk) |
08:20.03 | Esaj | hehe |
08:20.18 | Esaj | I'm a fresher |
08:20.34 | Esaj | How can you tell? |
08:20.56 | JakWORK | Affiliation(s): St John's College - 2002 entry |
08:21.00 | Esaj | hehe |
08:21.25 | Esaj | a few more clicks, you have my room number... |
08:21.43 | Esaj | compsci |
08:21.44 | JakWORK | ... you woudln't have a thor account yet (if thor is still going?) |
08:21.45 | Esaj | hehe |
08:21.51 | Esaj | thor account? |
08:21.56 | Esaj | compsci |
08:22.11 | JakWORK | thor is (was) a cluster of machines used by compsci's and physicists |
08:22.27 | Esaj | haven't heard of it |
08:22.27 | JakWORK | think they might have binned all but the sun box that was used mainly for physics now though..... |
08:23.02 | Esaj | I have a couple of accounts on various servers |
08:23.16 | JakWORK | yes... saw your srcf presence :) |
08:23.25 | Esaj | hehe |
08:24.24 | JakWORK | what natsci options are you doing? |
08:24.31 | Esaj | guess |
08:24.35 | Esaj | physics :) |
08:24.48 | JakWORK | fool! |
08:25.00 | JakWORK | you'll actually have to do some work :( |
08:25.03 | Esaj | I did it for A-level you know! |
08:25.10 | JakWORK | so does everyone |
08:25.33 | JakWORK | you will not enjoy easter term :P |
08:25.42 | Esaj | I didn't do Chemistry or Biology |
08:25.52 | JakWORK | geology is the doss-subject of choice :-) |
08:25.58 | Esaj | JakWORK: I will enjoy Easter term very much thank you :P |
08:26.21 | JakWORK | JakWORK: if you enjoy it then you'll probably switch to the maths tripos ;-) |
08:26.31 | Esaj | Positive confession... or something :) |
08:26.41 | Esaj | Talking to yourself now... |
08:26.59 | Esaj | I'd prefer it if it was 100% compsci |
08:27.13 | Esaj | it's stupid having to switch between subjects |
08:27.27 | JakWORK | most compsci's would.... but then they'd probably all end up as insane as the mathmos :-) |
08:28.39 | *** join/#tomcat Speedster (Speedsty@h24-76-196-105.va.shawcable.net) |
08:29.14 | Esaj | So what are you doing at the moment? |
08:30.14 | JakWORK | working for a small company in west london... finished compsci the year b4 last |
08:30.39 | Esaj | java coding? |
08:40.31 | JakWORK | yeah some jav |
08:40.32 | JakWORK | a |
09:02.26 | geoffeg | ant++ |
09:03.33 | *** join/#tomcat sistepi (~DonT@212.210.169.90) |
09:04.07 | sistepi | hi to all ! is there someone who can help me about apache-tomcat ? |
09:05.24 | sistepi | hello ....... |
09:05.29 | sistepi | is there someone ?!?! |
09:33.27 | *** join/#tomcat vaix (~jomarqua@fw1.planalytics.com) |
09:34.11 | *** join/#tomcat Speedster (Speedsty@h24-76-196-105.va.shawcable.net) |
09:35.19 | *** join/#tomcat kms (~kms@pc2-cowc1-3-cust135.renf.cable.ntl.com) |
09:41.02 | *** join/#tomcat ThEDeVIl (~robin09@qn-213-73-211-87.quicknet.nl) |
09:41.34 | ThEDeVIl | how come, that if I installed tomcat, and then run it, that it first gives me like 5 processes of "java", and after a while nearly 20! |
09:41.41 | ThEDeVIl | while noone even checked the site once |
09:41.49 | ThEDeVIl | I using RedHat 7.3 |
09:41.55 | ThEDeVIl | j2sk1.4.0_01 |
09:42.09 | ThEDeVIl | something like that |
09:43.48 | *** join/#tomcat Hellaenergy (~hellaener@209.181.237.141) |
09:44.00 | *** join/#tomcat Remm (~chatzilla@AToulouse-105-1-21-195.abo.wanadoo.fr) |
09:44.08 | Hellaenergy | Hey Remm |
09:44.16 | Remm | hi all |
09:44.20 | ThEDeVIl | lo |
09:44.24 | ThEDeVIl | how come, that if I installed tomcat, and then run it, that it first gives me like 5 processes of "java", and after a while nearly 20! |
09:44.27 | ThEDeVIl | while noone even checked the site once |
09:44.29 | ThEDeVIl | I using RedHat 7.3 |
09:44.31 | ThEDeVIl | j2sk1.4.0_01 |
09:44.33 | ThEDeVIl | something like that |
09:44.34 | Hellaenergy | Have any of you been using 4.1.12? |
09:44.37 | ThEDeVIl | can someone help me? |
09:44.49 | Remm | tomcat starts a few threads on startup |
09:44.59 | ThEDeVIl | about 5 yes |
09:45.05 | ThEDeVIl | but why do I have 20 about now? |
09:45.08 | ThEDeVIl | and will it grow bigger |
09:45.21 | ThEDeVIl | it are nearly 40 btw |
09:45.26 | Hellaenergy | ThEDeVIl: thats normal |
09:45.28 | lalle | What does Swallow Output mean? |
09:45.42 | Hellaenergy | takes it in |
09:45.46 | Remm | with the default config, you may get about 10 threads on startup |
09:46.09 | ThEDeVIl | 5686 - 5721 <--- ALL those PID are the "java" process now |
09:46.25 | Remm | and then you have to add N, where N is the number of concurrent requests over 5 (or 4) |
09:46.26 | ThEDeVIl | 35 processes |
09:46.49 | ThEDeVIl | there is noone requesting any page |
09:46.53 | ThEDeVIl | and it uses 35 processes |
09:46.53 | ThEDeVIl | :S |
09:47.20 | Remm | system.out and system.err will go to the log files instead of the console |
09:47.29 | Hellaenergy | ThEDeVIl: what do you have a 486 or something? |
09:47.40 | Hellaenergy | :) |
09:47.42 | Remm | this is unexpected |
09:47.56 | Hellaenergy | Remm: Are you running 4.1.12? |
09:48.24 | Hellaenergy | is anyone for that matter? |
09:48.44 | Remm | well, i'm always "running" the latest 4.1.x from CVS |
09:48.45 | TheSteve0 | Hey Remm: long time no see. Its nice to see a developer here |
09:48.56 | ThEDeVIl | no |
09:49.00 | ThEDeVIl | a Pentium III |
09:49.06 | Remm | i don't have any production server running tomcat unfortunately |
09:49.32 | TheSteve0 | Hellaenergy: I am running 4.1.12 on RH8 linux wiht jdk 1.4.1 |
09:49.43 | Hellaenergy | I am seeing some weird error in my catalina.out |
09:49.56 | Hellaenergy | TheSteve0: any errors logged? |
09:50.00 | Remm | i haven't been on irc a lot for some time |
09:50.10 | Hellaenergy | welcome back |
09:50.15 | Remm | and what's the error ? |
09:50.21 | Hellaenergy | on sec |
09:50.24 | TheSteve0 | Yeah, what kind of error |
09:50.40 | TheSteve0 | brb, need to print something from my windows box |
09:51.18 | Hellaenergy | SEVERE: Can't create apr |
09:51.18 | Hellaenergy | java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory |
09:51.43 | Hellaenergy | This is from the binary distro |
09:53.13 | Hellaenergy | Do you get this error TheSteve0? |
09:53.16 | Remm | I've read of people having similar problems with commons-logging, but never got the error (and I don't think any developer got or reproduced the problem) |
09:53.34 | Hellaenergy | thats just great ;) |
09:53.54 | Remm | I don't know what causes it |
09:54.48 | Remm | do you have the two commons-logging JARs ? |
09:54.48 | Remm | one in common/lin, the other in server/lib |
09:54.48 | Hellaenergy | I shouldn't but I will check |
09:55.15 | Hellaenergy | yes |
09:56.00 | Remm | and you're trying to use JK 2 ? |
09:56.06 | Hellaenergy | yes |
09:56.25 | Hellaenergy | why do you ask? |
09:56.44 | Remm | do you get the error if you disable JK 2 ? |
09:57.51 | Hellaenergy | I tried moving commons-logging.jar out of server/lib and that didn't work |
09:57.57 | TheSteve0 | haven't seen it |
09:58.02 | Hellaenergy | I will try disabling jk2 |
09:59.49 | kms | is there a memory leak in tomcat? if i use ab and request a few hundred thousands of pages, memory keeps rising, but it doesn't look like it is freed... |
10:00.49 | Remm | you can get that if you benchmark something which creates sessions |
10:02.50 | Hellaenergy | enable garbage collection |
10:03.16 | *** join/#tomcat JakWORK (chris@217.207.98.115) |
10:03.53 | Hellaenergy | Remm: the error went away when I disabled jk2 |
10:05.14 | Remm | ok |
10:05.28 | Remm | are you using JDK 1.4 and/or log4j ? |
10:05.39 | Hellaenergy | 1.4 |
10:05.54 | Hellaenergy | 1.4.0_01 |
10:06.53 | Hellaenergy | also cant a mod_jk2.conf be auto generated? |
10:07.00 | Hellaenergy | also can a mod_jk2.conf be auto generated? |
10:07.28 | Remm | i don't think so |
10:08.24 | Hellaenergy | Nov 14, 2002 11:25:50 AM org.apache.coyote.http11.Http11Protocol init |
10:08.26 | Hellaenergy | INFO: Initializing Coyote HTTP/1.1 on port 8080 |
10:08.26 | Hellaenergy | mod_jk location: libexec/mod_jk.so |
10:08.26 | Hellaenergy | Make sure it is installed corectly or set the config location |
10:08.26 | Hellaenergy | Using <ApacheConfig modJk="PATH_TO_MOD_JK.SO_OR_DLL" /> |
10:08.26 | Hellaenergy | Starting service Tomcat-Standalone |
10:08.27 | Hellaenergy | Apache Tomcat/4.1.12 |
10:08.29 | Hellaenergy | Nov 14, 2002 11:25:54 AM org.apache.coyote.http11.Http11Protocol start |
10:08.31 | Hellaenergy | INFO: Starting Coyote HTTP/1.1 on port 8080 |
10:08.33 | Hellaenergy | sorry |
10:08.49 | Hellaenergy | where do you think tomcat is finding that libexec/mod_jk.so stuff? |
10:09.01 | Hellaenergy | I don't have that defined anywhere |
10:09.10 | Hellaenergy | at least I don't think so |
10:10.02 | kms | Remm: yes, i thought about that. but wouldn't the sessions expire after a while? i'm just accessing one simple jsp page. |
10:10.53 | *** join/#tomcat Gnabbe (jonas@h55r308-3.delphi.afb.lu.se) |
10:11.06 | Remm | the sessions take minutes to expire by default |
10:11.23 | Gnabbe | hey you all. which jvm is concidered the fastest? i want tomcat but i don't have the fastest machine around |
10:11.24 | Hellaenergy | welcome Gnabbe |
10:11.31 | Remm | did you look at the jk docs ? http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/doc/ |
10:11.34 | Gnabbe | thanks |
10:11.43 | Remm | sun 1.4.1 is supposed to be fast |
10:11.47 | kms | Remm: i think it is set to 30 min. in my web.xml, i left the server running for a lot more than that... |
10:12.19 | Hellaenergy | Remm: what was that comment in reference to? |
10:12.38 | Gnabbe | alright... i always thought that the ibm one was fast but that was a few years ago =) |
10:13.11 | Remm | at a conservative 500 req/s, that's nearly one million sessions |
10:13.57 | Remm | the sun VM improved some stuff which is critical to tomcat in 1.4.0 and 1.4.1, so maybe it's closer or faster |
10:14.09 | Remm | your question |
10:14.41 | Remm | i see in the sources costin added a program to generate configs for mod_jk and mod_jk2 |
10:14.42 | Gnabbe | maybe i'll just go along with the sun one then |
10:15.03 | Hellaenergy | Remm: starting when? |
10:15.04 | Gnabbe | btw, do i need the apache mod_webapp? I see that my debian package recommends that one too |
10:15.15 | Gnabbe | i thought it was enough with mod_jk |
10:15.18 | Remm | the main class is org.apache.jk.config.WebXml2Jk |
10:15.25 | Hellaenergy | Gnabbe: no |
10:15.29 | Remm | yes, use mod_jk |
10:15.39 | Gnabbe | what is mod_webapp then? an older module? |
10:16.05 | kms | Remm: i started tomcat, did 100k requests, and then just left it running. i've turned on logging of GC... |
10:16.16 | kms | Remm: oh well, it is not that big deal i guess |
10:17.42 | Remm | after the 30 mins, the sessions are supposed to be removed and the memory freed inside the VM (although the VM process size itself won't go down, it never gives the mem back to the OS) |
10:17.43 | Gnabbe | it says something about to "hook up IMHO for use with apache" (in the mod_webapp description).. what exactly is IMHO? |
10:18.45 | Gnabbe | sorry for asking... just have one more question. does the 1.4jdk work with older tomcat such as 4.0.3 for example? |
10:19.39 | Remm | Gnabbe: Not too well overall. There's some incomtibilities with I/O handling in some cases |
10:20.09 | Remm | you could get IOException with something saying the stream state is invalid |
10:20.25 | kms | rema: it should give it back to the os :) |
10:21.00 | kms | Remm: http://skontorp.net/screenshots/screenshot-12112002-1002.jpg - you can see the use here. the "Used heap" doesn't go down, though, you won't see that in the screenshot. |
10:21.39 | kms | Remm: it is just a short timeframe |
10:21.57 | kms | Remm: i would have assume the blue line would go down after a while |
10:22.07 | Gnabbe | Remm: alright, which jdk do you recommend for use with 4.0.3? |
10:22.20 | Gnabbe | because that is all that is offered in debian stable at this point |
10:22.29 | Gnabbe | and tomcat3 also but that seems a bit old |
10:23.51 | Remm | 1.3.1 |
10:25.14 | Gnabbe | alright... thanks for all the good help |
10:25.25 | vaix | can anyone comment on 2 things: 1) what is the le version? (a link would be nice), 2) is there a best jdk+tomcat combo? w/ 1.4.0.01 and 4.1.12 i have libstdc errors, w/ 1.4.1.01 and 4.1.12 my developers are telling me there is some issues - apparently caused by a bug in the logging component? |
10:26.46 | Remm | kms: I would have to try reproducing it |
10:27.18 | kms | Remm: you a developer? |
10:27.46 | Remm | yes |
10:28.34 | Remm | kms: you forgot to mention which version of tomcat you were using |
10:28.36 | kms | just set up a simple jsp and try something like "ab -n 100000 -c 15 http://tomcat/simple.jsp" |
10:28.50 | kms | Remm: details here are j2sdk 1.4.1_01 and tomcat 4.1.12 |
10:29.46 | kms | if you can't see the effect, I'll give you more details, including the jsp i've tested this on |
10:29.55 | kms | thanks! |
10:30.05 | Remm | you might want to try with a short timeout for sessions, to see what happens |
10:30.19 | *** part/#tomcat Gnabbe (jonas@h55r308-3.delphi.afb.lu.se) |
10:31.34 | kms | yeah, i can give that i try... |
10:31.49 | kms | is there any way to easily see the instanciated objects? jdb or something... |
10:33.42 | Remm | or optimizeit (which i use to optimize for speed usually) |
10:33.55 | Hellaenergy | Remm: is it possible to share sessions between http and https? |
10:34.24 | Hellaenergy | or anyone for that matter? |
10:34.47 | Hellaenergy | ibot: do you know? |
10:34.47 | | yea, its x amount |
10:35.02 | Hellaenergy | oh thats right :) |
10:37.21 | ThEDeVIl | anyone knows a good tutorial on how to add PHP support to tomcat |
10:37.31 | ThEDeVIl | or anyone can explain that well? |
10:37.43 | Hellaenergy | you would want to use apache for that |
10:37.49 | ThEDeVIl | can't |
10:37.53 | ThEDeVIl | have to use tomcat |
10:37.54 | ThEDeVIl | :( |
10:38.01 | Hellaenergy | why? |
10:38.06 | ThEDeVIl | project for school |
10:38.12 | ThEDeVIl | I study Higher Informatica |
10:38.23 | ThEDeVIl | we have to programm in JSP, Servlets and Java Beans |
10:38.37 | ThEDeVIl | so have to use tomcat |
10:38.40 | Hellaenergy | so why php then? |
10:38.43 | ThEDeVIl | well |
10:38.48 | ThEDeVIl | for personal purpose ;a0 |
10:38.50 | ThEDeVIl | ;) |
10:38.57 | ThEDeVIl | and for PHPMyAdmin |
10:39.26 | ThEDeVIl | I thought tomcat was a sort of extension of apache also |
10:39.29 | Hellaenergy | stick to the assignment kid :) |
10:39.30 | ThEDeVIl | jakarta tomcat' |
10:40.04 | ThEDeVIl | first of all, I am not a kid, I am 18 ;) and second, It should be possible, or is tomcat that bad? |
10:40.18 | Hellaenergy | bad no |
10:40.21 | Hellaenergy | kid yes |
10:40.26 | Hellaenergy | jk |
10:40.29 | ThEDeVIl | :P |
10:40.45 | Hellaenergy | :) |
10:40.46 | ThEDeVIl | is it possible? |
10:40.47 | kms | ThEDeVIl: run apache and tomcat. connect them with jk or jk2 |
10:40.55 | ThEDeVIl | jk? |
10:40.59 | ThEDeVIl | where can I find info on jk |
10:41.11 | Hellaenergy | ibot: mod_jk |
10:41.11 | | Hellaenergy: are you smoking crack? |
10:41.16 | Hellaenergy | yes |
10:41.20 | ThEDeVIl | lol |
10:41.25 | Hellaenergy | ibot: mod_jk how to |
10:41.25 | | Hellaenergy: parse error: dunno what the heck you're talking about |
10:41.27 | kms | ThEDeVIl: somewhere on the jakarta webpage :) |
10:41.32 | ThEDeVIl | ok' |
10:41.45 | Hellaenergy | ibot: mod_jk2 how to |
10:41.45 | | wish i knew, Hellaenergy |
10:41.53 | Hellaenergy | ibot: mod_jk2 how-to |
10:41.53 | | Hellaenergy: parse error: dunno what the heck you're talking about |
10:41.59 | Hellaenergy | okok |
10:42.18 | ThEDeVIl | ibot: mod_jk2 |
10:42.18 | | [mod_jk2] at http://www.johnturner.com/howto/apache-tomcat-howto.html |
10:42.23 | ThEDeVIl | :D |
10:42.37 | Hellaenergy | man I spend more time configuring tomcat then I do writing servlets |
10:42.43 | ThEDeVIl | lol |
10:42.45 | Hellaenergy | thats go to change :) |
10:42.49 | Hellaenergy | s/go/got |
10:42.51 | ThEDeVIl | btw |
10:43.07 | ThEDeVIl | does anyone of you know how to make servlets work with a MySQL database? |
10:43.14 | ThEDeVIl | and if yes, where can I find info/tutorials |
10:43.52 | ThEDeVIl | lol |
10:43.59 | ThEDeVIl | should be the same as in an applet? |
10:44.05 | ThEDeVIl | if yes, then I can make it myself |
10:44.12 | ThEDeVIl | I can programm Java in Applets etc |
10:44.18 | ThEDeVIl | but servlets, never tried.... |
10:44.21 | ThEDeVIl | this is my first tiem |
10:44.23 | ThEDeVIl | time |
10:44.29 | Hellaenergy | get a book |
10:44.38 | Hellaenergy | oreilly |
10:44.41 | ThEDeVIl | I got ehm |
10:44.47 | Hellaenergy | read them |
10:44.52 | ThEDeVIl | More Java Servlets and Java Servers or something |
10:44.59 | ThEDeVIl | a book also about Servlets and JSP |
10:45.06 | ThEDeVIl | nuttin about SQL connections :S |
10:45.14 | Hellaenergy | jdbc? |
10:45.17 | ThEDeVIl | only about the basic stuff, like using the GET etc |
10:45.18 | ThEDeVIl | nope |
10:45.24 | ThEDeVIl | but if it is the same as in normal Java |
10:45.25 | Hellaenergy | read further |
10:45.27 | ThEDeVIl | then I can do it |
10:45.35 | Hellaenergy | yes |
10:45.40 | Hellaenergy | of course |
10:45.41 | ThEDeVIl | I used MySQL, Sybase etc with Java |
10:46.04 | ThEDeVIl | servlets == java spitting some HTML code? |
10:47.04 | Hellaenergy | browse this and tell me what you think: http://java.sun.com/products/servlet/2.2/javadoc/index.html |
10:47.06 | ThEDeVIl | or am I wrong |
10:47.31 | ThEDeVIl | hmmm |
10:47.44 | ThEDeVIl | Servlets == Java with some other packages then Applets would have |
10:47.48 | ThEDeVIl | ok, then I am saved |
10:47.49 | Hellaenergy | I am sure those book your read described that in the preface |
10:47.50 | ThEDeVIl | :D |
10:48.10 | ThEDeVIl | neway |
10:48.12 | ThEDeVIl | gtg now |
10:48.15 | ThEDeVIl | movie waiting for me |
10:48.19 | ThEDeVIl | thnx for all your help people |
10:48.21 | Hellaenergy | peace |
10:48.22 | ThEDeVIl | :D |
10:48.24 | ThEDeVIl | cya l8er |
10:48.50 | kms | Remm: tried using jdb and connect to the running tomcat now... i got thrown off when i started the ab :) |
10:49.24 | vaix | Does anyone have problems w/ j2sdk 1.4.1_01 (or 1.4.0_01) and tomcat 4.1.12 ? - everytime i start, it throws a null-pointer at: org.apache.commons.logging.LogConfigurationException |
10:49.26 | agent29 | Hey Hellaenergy |
10:49.43 | kms | Remm: it had this command "classes", but i'm not sure if that would have shown me what was eating memory for breakfast |
10:50.06 | agent29 | Hellaenergy: I got my tomcat up and running - only using debs :-) |
10:51.12 | Hellaenergy | good job |
10:51.18 | Hellaenergy | with mod_jk? |
10:51.48 | Remm | I don't think i ever user jdb; I can't help much there |
10:54.56 | Hellaenergy | is servlets.jar now servlets-common.jar? |
10:55.16 | agent29 | Hellaenergy: yep, Apache 1.3.26, Tomcat 4.0.4 and libapache-mod-jk |
10:55.31 | Hellaenergy | I am now a apache2 man |
10:55.43 | agent29 | yaks |
10:55.45 | Hellaenergy | I got frickin mod_perl to compile with it finally :) |
10:55.52 | agent29 | nice |
10:56.03 | Hellaenergy | now I am working on mod_jk2 :) |
10:56.36 | agent29 | well, I'll have to wait to PHP officially supports Apache2 |
10:58.49 | Hellaenergy | agent29: what kind of project are you working on (servlets) |
11:02.55 | agent29 | Hellaenergy: I have a relativly big website written in PHP which I want to convert to JSP and servlets |
11:03.12 | Hellaenergy | why? |
11:03.59 | agent29 | Hellaenergy: cause I need to create a backend for some functions like chat etc. |
11:04.27 | Hellaenergy | you could just use embedded applets |
11:05.37 | agent29 | Hellaenergy: yep, but I bored and need to learn something new :-) |
11:05.49 | Hellaenergy | now thats a good reason ;) |
11:06.43 | agent29 | Hellaenergy: also I'll soon work on a new website with games etc. written in java written in java |
11:10.24 | agent29 | you know... written in java ;-) |
11:10.32 | Hellaenergy | What does a Host Alias name achieve? I am looking in the Tomcat Administration Tool |
11:10.48 | Hellaenergy | under Host |
11:11.07 | agent29 | the same as servername in httpd.conf as far as I've read |
11:11.20 | Hellaenergy | host is now localhost |
11:11.32 | agent29 | for virtualhosts i think |
11:11.36 | Hellaenergy | if i add www.thelinuxshack.com it will be that too |
11:11.41 | Hellaenergy | ? |
11:11.47 | agent29 | hmmm |
11:12.37 | agent29 | not sure what you mean |
11:12.59 | *** join/#tomcat [xer0] (~[xer0]@204.60.186.16) |
11:13.04 | [xer0] | su; |
11:13.08 | [xer0] | sup* |
11:13.08 | Hellaenergy | I can reference is know as www.thelinuxshack.com too? |
11:13.14 | Hellaenergy | hey hey hey |
11:13.17 | *** part/#tomcat vaix (~jomarqua@fw1.planalytics.com) |
11:13.28 | [xer0] | sup hella |
11:13.41 | Hellaenergy | not much; configuring tomcat as usual |
11:13.51 | [xer0] | heh me too |
11:13.57 | Hellaenergy | getting errors as usual :) |
11:14.02 | [xer0] | me TOO |
11:14.09 | [xer0] | what platform u on? |
11:14.13 | Hellaenergy | linux |
11:14.16 | Hellaenergy | deb |
11:14.22 | [xer0] | debain? |
11:14.26 | Hellaenergy | 2.4.20pre11 |
11:14.33 | Hellaenergy | yup |
11:14.51 | [xer0] | is the best linux flavor for tomcat? |
11:15.00 | [xer0] | in your opionion? |
11:15.10 | Hellaenergy | that or Redhat |
11:15.14 | [xer0] | 7.2? |
11:15.20 | Hellaenergy | sure |
11:15.25 | agent29 | Hellaenergy: Still working on iptables? |
11:15.32 | Hellaenergy | yes |
11:15.38 | [xer0] | hella |
11:15.44 | [xer0] | lol my job has me running tomcat on nt 4.0 |
11:15.45 | [xer0] | rofl |
11:15.45 | Hellaenergy | got a script for me to review? |
11:15.51 | Hellaenergy | ouch |
11:16.07 | [xer0] | heard of any problems with nt and tomcat? |
11:16.18 | Hellaenergy | ya NT |
11:16.21 | agent29 | Hellaenergy: You can have the one I'm using - same mail address ? |
11:16.23 | Hellaenergy | :) |
11:16.33 | Hellaenergy | yup |
11:16.41 | Hellaenergy | agent29: yes |
11:16.46 | [xer0] | what kinda script hella? |
11:16.54 | Hellaenergy | top secret |
11:17.03 | Hellaenergy | ;| shhhhh! |
11:17.07 | [xer0] | sploit script? |
11:17.18 | Hellaenergy | hella no |
11:17.21 | [xer0] | err |
11:17.22 | [xer0] | heh |
11:18.06 | [xer0] | yah NT does sucks |
11:18.08 | [xer0] | big time |
11:18.15 | Hellaenergy | what is your problem? |
11:18.17 | [xer0] | you ever heard of a app called File NET? |
11:18.20 | Hellaenergy | with tomcat? |
11:18.23 | [xer0] | i dont have a problem |
11:18.31 | Hellaenergy | no |
11:18.43 | [xer0] | heh no problems here |
11:18.48 | [xer0] | not yet atleast |
11:18.48 | Hellaenergy | good |
11:18.54 | [xer0] | just coming to talk with you guys |
11:19.00 | Hellaenergy | oh cool |
11:19.02 | [xer0] | see if i can learn more cool things about tomcat :p |
11:19.14 | Hellaenergy | thats what this channel is here for |
11:19.19 | [xer0] | of course the website offers lots |
11:19.24 | [xer0] | but somes IRC is better |
11:19.35 | Hellaenergy | naaaa |
11:19.39 | [xer0] | hella u in charge here? |
11:19.39 | agent29 | Hellaenergy: there you go |
11:19.57 | Hellaenergy | [xer0] I started the channel |
11:20.04 | [xer0] | damn thats hot |
11:20.17 | Hellaenergy | I don't claim to be in charge |
11:20.30 | [xer0] | i know hella |
11:20.30 | [xer0] | heh |
11:20.38 | [xer0] | i should have pharsed differently |
11:20.49 | Hellaenergy | I just thought it would be a great idea |
11:20.58 | [xer0] | definately |
11:21.18 | Hellaenergy | after all the trouble it took to get it going on my own |
11:21.27 | [xer0] | can you safely run tomcat in a production enviroment on a Unix server with ibm websphere in your opionion? |
11:21.36 | Hellaenergy | wow |
11:21.48 | Hellaenergy | I know some people do it |
11:21.57 | [xer0] | sure me too |
11:22.09 | Hellaenergy | what is your idea of safe? |
11:22.41 | Hellaenergy | agent29: thanks |
11:22.41 | [xer0] | not crashing |
11:22.56 | [xer0] | heh and of course security holes as well |
11:23.00 | [xer0] | more so stablility |
11:23.06 | Hellaenergy | it is pretty solid. They are still working on it of course :) |
11:23.32 | Hellaenergy | security is not a very well addressed issue (i don't think) with tomcat. |
11:23.34 | [xer0] | what about tomcat on a netware 5 box? |
11:23.47 | [xer0] | security is a huge issue with me :P |
11:23.54 | Hellaenergy | me too |
11:24.05 | Hellaenergy | netware? |
11:24.10 | [xer0] | novell |
11:24.19 | [xer0] | no good? |
11:24.20 | Hellaenergy | never done that |
11:24.37 | Hellaenergy | novell can kiss my grits |
11:24.49 | [xer0] | rofl why do u say that? |
11:24.50 | Hellaenergy | sorry to any novell users |
11:25.03 | Hellaenergy | rofl? |
11:25.29 | Hellaenergy | it's not *nix :) |
11:26.31 | agent29 | Hellaenergy: If you find an error - mail it to me rather than fix it on my server yourself :-) |
11:27.02 | Hellaenergy | so you can fix yours too? |
11:27.09 | agent29 | yep |
11:27.12 | Hellaenergy | k |
11:27.26 | Hellaenergy | you know there is a netfilter channel? |
11:27.37 | agent29 | But its pretty strict - so there should be no troubles |
11:27.44 | agent29 | ehm... nope |
11:30.51 | [xer0] | rofl = lol |
11:31.09 | Hellaenergy | what is the best servlet hosting site in the us? |
11:32.03 | [xer0] | my basement |
11:32.10 | Hellaenergy | ;p |
11:32.11 | [xer0] | lol |
11:32.38 | agent29 | wouldn't know... Is Denmark to far away ;-) |
11:32.40 | Hellaenergy | I want to do a servlet based site for a client but I don't want to host it on my server at home |
11:32.52 | Hellaenergy | maybe not |
11:33.02 | *** join/#tomcat Xeroxer (d98jpa@login-3.efd.lth.se) |
11:33.03 | Hellaenergy | if the pipe is fast enough |
11:33.11 | Hellaenergy | yo Xeroxer! |
11:33.42 | Xeroxer | i just installed tomcat 4.0.3 on my debian machine and in the docs it says that it has a built in webserver. Is this one to prefer before apache? |
11:33.50 | Xeroxer | nice to meet you too Hellaenergy |
11:33.57 | Hellaenergy | Remm: what do you suppose that logging error is caused by anyways? |
11:34.07 | agent29 | Xeroxer: depends |
11:34.11 | Hellaenergy | How are you doing today Xeroxer? |
11:34.36 | Xeroxer | agent29: depends on what? I'm not going to run a _huge_ site on it, at least not at first =) |
11:34.54 | Xeroxer | agent29: or it's not the performance that is different? |
11:35.04 | agent29 | Xeroxer: Tomcat have a reputation of been a bit slower processing static content than eg. apache |
11:35.13 | agent29 | been = being |
11:35.27 | Hellaenergy | Xeroxer: so you apache for your static content :) |
11:35.34 | Hellaenergy | s/you/use |
11:36.01 | Xeroxer | i already have apache on port 80 so that means that i should bind tomcat on another port and forward servlet traffic only there? is that the preferred setup? |
11:36.18 | Hellaenergy | yes |
11:36.21 | Hellaenergy | connectors |
11:36.26 | agent29 | Xeroxer: Its quit easy... apt-get install apache tomcat4 tomcat4-webapps libapache-mod-jk |
11:36.28 | Hellaenergy | see the topic |
11:36.50 | Hellaenergy | agent29: what where you doing wrong before then? |
11:37.08 | Xeroxer | agent29: thanks ... already installed that. btw, does libapache-mod-jk and libapache-mod-webapp do the same job? |
11:37.18 | agent29 | Hellaenergy: the mod_jk.conf I guess |
11:37.18 | Hellaenergy | yes |
11:37.20 | Xeroxer | i could quite figure out which one is for what |
11:37.27 | Xeroxer | couldn't |
11:38.17 | Hellaenergy | same thing |
11:38.27 | Hellaenergy | different writers |
11:38.47 | agent29 | Hellaenergy: all I rellay had to do was enabling ajp13 in server.xml and provide the correct mod_jk.conf |
11:39.00 | Xeroxer | alright... now all i have to do is to install some kind of java environment and i'm up and running =) |
11:39.09 | Hellaenergy | look what I found on tomcatzilla |
11:39.19 | agent29 | apt-get install j2sdk1.3 |
11:39.27 | Hellaenergy | http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14017 |
11:39.32 | Xeroxer | agent29: i don't have that in stable =/ |
11:39.41 | agent29 | Xeroxer: hang on |
11:39.42 | Xeroxer | so i'm installing j2sdk1.3 by hand |
11:39.49 | kms | i'm going to develop my application with struts. however, I have yet to decide on a persistance layer.. there are so many to choose from :) |
11:40.30 | agent29 | add this to your /etc/apt/sources.list: deb ftp://sunsite.dk/mirrors/java-linux/debian woody non-free |
11:41.00 | kms | Hellaenergy: it seems to be the way to go.. |
11:41.01 | Xeroxer | agent29: thanks a bunch! |
11:41.08 | Hellaenergy | definatly |
11:41.09 | agent29 | Xeroxer: np |
11:42.26 | kms | Hellaenergy: http://jakarta.apache.org/struts/resources/models.html |
11:42.57 | Xeroxer | agent29: is that the blackdown jdk? |
11:43.06 | agent29 | Xeroxer: yep |
11:43.31 | Xeroxer | is there any difference from the sun one or is it just that they make friendlier packages for other dists? |
11:44.15 | agent29 | Xeroxer: I think the main difference is some licence issues - but I'm not sure |
11:45.04 | agent29 | Xeroxer: haven't encountered any problems with blackdown yet |
11:45.10 | Xeroxer | well once again. thanks for the help |
11:46.51 | agent29 | So, I want to create some virtualhosts for tomcat - how should the directory structure be? |
11:59.10 | *** join/#tomcat Daagar (~daagar@transgenomic-gw.customer.alter.net) |
11:59.28 | *** part/#tomcat Daagar (~daagar@transgenomic-gw.customer.alter.net) |
12:00.49 | *** join/#tomcat Remm (~chatzilla@AToulouse-105-1-21-195.abo.wanadoo.fr) |
12:15.54 | *** join/#tomcat Xeroxer (d98jpa@login-3.efd.lth.se) |
12:19.41 | *** join/#tomcat cmmmmm (~cmmmm@rrcs-central-24-123-3-158.biz.rr.com) |
12:21.44 | cmmmmm | Any Weblogic users? |
12:21.59 | cmmmmm | I'm looking for the weblogic apache module (mod_wl) |
12:22.17 | cmmmmm | or, does anyone know of a weblogic irc channel? |
12:23.45 | Hellaenergy | no |
12:42.23 | *** join/#tomcat jasonb (~jasonb@ar1-nat-sp.collab.net) |
12:44.40 | Hellaenergy | someone show me an example of a working jk2 server.xml, jk2.properties and workers2.properties, please |
12:46.00 | cmmmmm | I gave up with jk |
12:46.08 | Hellaenergy | jk2 |
12:46.13 | Hellaenergy | :) |
12:46.17 | cmmmmm | Gave up with that also:) |
12:46.28 | cmmmmm | I ended up using apache's mod_proxy |
12:46.34 | Hellaenergy | I know its a big pain in you know what |
12:46.52 | Hellaenergy | Its personal now though :) |
12:47.12 | cmmmmm | That's the way I saw it for about 2 solid days |
12:47.16 | cmmmmm | Use mod_proxy |
12:47.18 | cmmmmm | http://jakarta.apache.org/tomcat/tomcat-4.1-doc/proxy-howto.html |
12:47.30 | Hellaenergy | NO |
12:47.32 | Hellaenergy | :) |
12:47.38 | cmmmmm | ok... |
12:47.51 | Hellaenergy | if I can't do it who can? |
12:47.52 | cmmmmm | mess around with mod_jk for another 2 days and then use it:) |
12:48.03 | cmmmmm | If you figure it out let me know |
12:48.09 | Hellaenergy | its already been 2 days |
12:48.12 | Hellaenergy | ok |
12:48.18 | cmmmmm | Using Tomcat 4.1 and Apache 2.0? |
12:48.32 | Hellaenergy | yes |
12:48.54 | cmmmmm | on linux? |
12:49.00 | Hellaenergy | check out what this guy wrote |
12:49.00 | Hellaenergy | http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14017 |
12:49.04 | Hellaenergy | yes |
12:49.09 | cmmmmm | use mod_proxy |
12:49.30 | Hellaenergy | why? |
12:50.20 | cmmmmm | I'm sure you've read all of the horror stories about getting it to build |
12:50.39 | cmmmmm | mod_proxy is just as fast (I believe) and you can get it set up in 2 minutes |
12:50.41 | Hellaenergy | oh building it was not a problem |
12:50.52 | Hellaenergy | well a little one |
12:51.00 | Hellaenergy | but getting it to work is another |
12:51.42 | Hellaenergy | hm |
12:52.26 | Hellaenergy | i had mod_jk working with apache 1.3.26 and Apache 4.1.10 |
12:52.37 | Hellaenergy | i must move on |
12:52.50 | jasonb | Hellaenergy: You might want to see this: http://www.pubbitch.org/jboss/mod_jk2.html |
12:53.07 | jasonb | Hellaenergy: But, it's for TC 4.0, not 4.1. |
12:53.25 | jasonb | Hellaenergy: The cool thing is that it is basically easier to do with 4.1 than with 4.0. |
12:53.31 | Hellaenergy | http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14017 |
12:53.48 | jasonb | Hellaenergy: (because 4.1 includes the Java side of jk2 by default) |
12:53.48 | Hellaenergy | that dude wrote a how to for apache2 and tomact 4.1.12 |
12:53.53 | Hellaenergy | with modjk2 |
12:54.03 | jasonb | Hellaenergy: Yeah, I'm going to have a look at that. |
13:09.44 | agent29 | Hellaenergy: up and running are you? |
13:18.12 | Hellaenergy | nope |
13:27.27 | *** join/#tomcat hesby (~hesby@ip67.unival.com) |
13:35.43 | *** join/#tomcat kiri (kiri@chris.mweb.co.zw) |
13:39.03 | hesby | So is it insane to run Tomcat 3 in production? |
13:53.26 | *** join/#tomcat kiri (kiri@chris.mweb.co.zw) |
14:00.02 | hesby | Oh kiri, you missed everything while you were gone |
14:01.38 | agent29 | how do I go about setting up the directory for virtualhost? Should I create /WEB-INF etc. ? |
14:07.01 | kms | anyone know where i can find more information on "xdoc"? |
14:12.12 | Hellaenergy | agent29: add the directory to your server.xml |
14:13.07 | *** join/#tomcat wasabi (~jhaltom@64.25.11.66) |
14:13.30 | Hellaenergy | waaaazzzzuuupp wasabi! |
14:13.37 | wasabi | ahh stop it |
14:14.06 | wasabi | what's a good way to debug print from a jsp? |
14:14.14 | wasabi | I was hoping System.out.println would just come out on stdout |
14:14.24 | Hellaenergy | doesn't it |
14:14.25 | wasabi | ... but I apparently can't see stdout of tomcat easily. |
14:14.29 | wasabi | Yah im sure it does |
14:15.01 | Hellaenergy | what is the document type? |
14:15.07 | Hellaenergy | text/plain? |
14:15.21 | wasabi | text/html |
14:15.25 | agent29 | Hellaenergy: Can you give/mail an example? My head is spinning with reading docs |
14:15.36 | wasabi | me? |
14:15.36 | wasabi | heh |
14:15.38 | Hellaenergy | sure |
14:15.41 | Hellaenergy | hold on |
14:15.47 | Hellaenergy | what address |
14:15.55 | agent29 | tonni@cazoo.dk |
14:15.56 | hesby | wasabi, a jsp uses out.println() |
14:16.13 | wasabi | I can't see that because hte page is throwing an exception |
14:16.21 | hesby | System.out is the shell that started tomcat |
14:16.22 | wasabi | oh wait idea |
14:16.38 | wasabi | It's throwing an SqlException, and I need to be able to see what sql string its sending |
14:16.39 | wasabi | =/ |
14:17.50 | *** join/#tomcat AngusMezick (~AngusMezi@209.96.199.2) |
14:18.50 | AngusMezick | hello, I am having problems getting legacy 1.1 JSP tags to work with tomcat 4.1. Can anyone please point me to a resource where I can find what I need to changes? |
14:21.19 | *** join/#tomcat sparv (~gus@draco.research.olin.edu) |
14:22.13 | sparv | Hi, I am trying to figure something out.... Would tomcat get upset if I tried to have a web application within a web application (in the served directories) |
14:24.02 | Hellaenergy | AngusMezick: did you look on the jakarta.apache.org/tomact/ site? |
14:24.10 | Hellaenergy | sparv: dono here |
14:24.40 | sparv | Hellaenergy: hmm yeah looks pretty quiet in this channel |
14:24.57 | AngusMezick | Hell: Yup, I am jsut having trouble locating any specific information about what type of JSP code the tag pooling doesn't like |
14:25.18 | AngusMezick | Hell: I am just told that if my tags don't follow the 1.2 spec I am in trouble |
14:25.32 | Hellaenergy | look up legecy jsp migration on google |
14:25.45 | Hellaenergy | ? |
14:27.25 | AngusMezick | <--- is porting code from iplanet4.1 (jsp1.0) to tomcat 4.1 *shiver* |
14:28.46 | AngusMezick | No luck |
14:29.20 | hesby | wasabi you still having trouble printing the SQLException? |
14:32.33 | wasabi | naw. |
14:33.23 | hesby | cool |
14:33.36 | hesby | I'm just starting with JSP, but I like it a lot already |
14:37.24 | AngusMezick | Ahh, I think I have it: |
14:37.25 | AngusMezick | http://www.onjava.com/pub/a/onjava/2001/11/07/jsp12.html?page=2 |
14:40.51 | Hellaenergy | did that do it AngusMezick? |
14:43.37 | AngusMezick | Somewhat. I think I need to add a bit of logging to my code to see exactly what is happening. |
14:44.15 | AngusMezick | I don't think I have any class variables that aren't tag attributes. |
15:03.28 | AngusMezick | Anyone know if setParent is called before EVERY call of doStartTag? |
15:06.25 | AngusMezick | System.out.println("setting parent for ..."); :) |
15:06.41 | AngusMezick | kinda |
15:07.22 | *** join/#tomcat ibot (ibot@rikers.org) |
15:07.22 | *** topic/#tomcat is The Jakarta Tomcat Project http://jakarta.apache.org/tomcat | Connectors - http://jakarta.apache.org/builds/jakarta-tomcat-connectors/ |
15:14.09 | *** join/#tomcat EricTheRed (~ericthere@208.44.151.134) |
15:15.15 | *** part/#tomcat EricTheRed (~ericthere@208.44.151.134) |
15:18.34 | Hellaenergy | man I have ajp 8009 listening how the hell do I connect to it |
15:18.58 | *** join/#tomcat IRCMonkey (~chatzilla@208.44.151.134) |
15:19.03 | Hellaenergy | 8009/tcp open ajp13 |
15:19.16 | Hellaenergy | Yo IRCMonkey |
15:20.22 | agent29 | telnet 8009? :-) |
15:20.51 | Hellaenergy | it connects |
15:21.34 | Hellaenergy | it won't let go arrg |
15:21.52 | Hellaenergy | what command tells it done :) |
15:22.07 | agent29 | ctrl+c ? |
15:22.13 | Hellaenergy | nope |
15:22.18 | Hellaenergy | z d |
15:22.21 | Hellaenergy | nope nope |
15:22.23 | jasonb | ctrl-] |
15:22.28 | *** join/#tomcat neo (~Andy@hax0r-9600bps-analog-modem-pool.3solv.net) |
15:22.35 | Hellaenergy | that did it |
15:22.56 | Hellaenergy | thanks jasonb |
15:23.05 | jasonb | Hellaenergy: np. |
15:23.30 | Hellaenergy | it was a chineese handcuff tomcat-connector |
15:28.26 | *** join/#tomcat IRCMonkey (~chatzilla@216.195.17.169) |
15:28.57 | hesby | aarg...my sysadmins only have the JRE on the tomcat server, so I can't run JSP |
15:29.22 | jasonb | hesby: No jikes? What about precompilation? |
15:35.40 | hesby | I can precompile on some other box, but it is a pain by comparison |
15:36.40 | jasonb | hesby: So bundle jikes and have Tomcat invoke it from within your webapp dir. :) |
15:38.13 | hesby | Me dumb...how do I trick tomcat into compiling modified JSPs with jikes? |
15:45.42 | lalle | Hmm, tomcat under netbsd? |
16:09.54 | *** part/#tomcat geoffeg (~geoffeg@ddsl-216-196-223-237.fuse.net) |
16:10.49 | *** join/#tomcat geoffeg (~geoffeg@ddsl-216-196-223-237.fuse.net) |
16:11.17 | wasabi | Is there any way to store a variable on a jsp page that is good within the context of the request? |
16:11.22 | wasabi | And expires at the end of the request? |
16:21.24 | wasabi | first I thought to do a field of the page... however that would get messed up with other requests |
16:37.07 | *** join/#tomcat Freix (~robbie@host137-12.pool80116.interbusiness.it) |
17:34.05 | *** part/#tomcat geoffeg (~geoffeg@ddsl-216-196-223-237.fuse.net) |
17:46.29 | *** join/#tomcat youphoric420 (~chatzilla@207.250.6.19) |
17:46.40 | youphoric420 | anyone here used mod_jk2? |
17:47.00 | ThEDeVIl | nope, but got a site about the use of it |
17:47.13 | youphoric420 | that would help |
17:47.40 | youphoric420 | i got apache2-tomcat4.1 to connect via jk2 but my vhosts aren't working |
17:48.26 | ThEDeVIl | http://www.johnturner.com/howto/apache-tomcat-howto.html |
17:49.45 | youphoric420 | "Apache 2.0.40 + Tomcat 4.1.10 + mod_jk2 (RedHat 7.2 -- soon!)" doh |
17:50.28 | ThEDeVIl | can ya use that? |
17:51.32 | youphoric420 | well he doesn't have a jk2 howto .... but i think i found a message on tomcat-user that fixes my problem |
17:51.42 | ThEDeVIl | ok |
17:55.17 | jasonb | youphoric420: Do you have a URL for that message? |
18:09.46 | youphoric420 | yeah... hasn't solved my problem yet tho |
18:10.06 | youphoric420 | http://marc.theaimsgroup.com/?l=tomcat-user&m=103533464604597&w=2 |
18:10.07 | youphoric420 | and |
18:10.19 | youphoric420 | http://marc.theaimsgroup.com/?l=tomcat-user&m=103433964720273&w=2 |
18:10.56 | ThEDeVIl | I got a question |
18:11.16 | ThEDeVIl | I now got it that I can goto: http://www.domain.com:8080/ and get the tomcat page |
18:11.36 | ThEDeVIl | now I want to go to http://www.domain.com:8080/~devil/ and recieve my home dir page |
18:11.39 | ThEDeVIl | get what I mean? |
18:31.06 | *** join/#tomcat TheSteve1 (~Steve@130.132.16.58) |
18:31.20 | *** join/#tomcat agent29 (~tonni@pc63222.stofanet.dk) |
18:31.27 | *** part/#tomcat agent29 (~tonni@pc63222.stofanet.dk) |
18:34.28 | jasonb | ThEDeVIl: Tomcat can do that with a listener like this: |
18:34.30 | jasonb | <Listener className="org.apache.catalina.startup.UserConfig" |
18:34.30 | jasonb | <PROTECTED> |
18:34.30 | jasonb | <PROTECTED> |
18:34.30 | jasonb | <PROTECTED> |
18:34.55 | ThEDeVIl | ok |
18:35.01 | ThEDeVIl | well, I couldn't find anything |
18:35.13 | ThEDeVIl | so, if I make it like that |
18:35.14 | jasonb | ThEDeVIl: Put that inside your <Host> |
18:35.15 | ThEDeVIl | it would work? |
18:35.30 | jasonb | ThEDeVIl: I think. Try it. |
18:36.01 | ThEDeVIl | in web.xml |
18:36.03 | ThEDeVIl | or server.xml |
18:36.45 | jasonb | server.xml. |
18:37.43 | ThEDeVIl | <PROTECTED> |
18:37.43 | ThEDeVIl | <PROTECTED> |
18:37.43 | ThEDeVIl | <PROTECTED> |
18:37.47 | ThEDeVIl | about there? |
18:37.50 | ThEDeVIl | or someone else |
18:37.53 | jasonb | Just under that I think. |
18:37.56 | ThEDeVIl | ok |
18:40.21 | TheSteve1 | Why can't I get auto-expand to work for war files |
18:40.52 | TheSteve1 | I put the war file in the webapp directory and then I type in the name (without the war) and I get a 404 error |
18:41.09 | TheSteve1 | Do I need to define a context? |
18:58.00 | youphoric420 | your host needs unpackWARs="true" |
18:58.56 | youphoric420 | woohoo! i got jk2 working... but had to do all my uri config from within workers2.properties ... can't get it to work w/ directives within my httpd.conf |
18:58.57 | TheSteve1 | youphoric420: in my server.xml? and if so where? |
18:59.34 | youphoric420 | TheSteve1: yeah, server.xml ... something like this |
18:59.36 | youphoric420 | <Host name="localhost" debug="0" appBase="webapps" unpackWARs="true" autoDeploy="true"> |
18:59.45 | youphoric420 | you may need that autoDeploy="true" as well |
18:59.58 | TheSteve1 | thanks |
19:00.34 | youphoric420 | np, let me know if it works |
19:02.14 | TheSteve1 | I am not going to check it out now, I already unpacked the war file manually. |
19:02.25 | TheSteve1 | Struts validation in killing me today |
20:19.36 | youphoric420 | argh i can failover but load balancing still not working |
21:35.43 | *** join/#tomcat Hellaenergy (~Hellaener@hellaweb.com) |
21:35.47 | *** join/#tomcat jasonb (~jasonb@adsl-66-124-73-250.dsl.sntc01.pacbell.net) |
22:10.34 | *** join/#tomcat jasonb_ (~jasonb@66.124.73.250) |