00:08.27 | *** join/#tomcat Hellaenergy (~Hellaener@hellaweb.com) |
00:21.46 | *** join/#tomcat Spline (~dj_aia@anja.isisnetworks.net) |
00:22.08 | *** join/#tomcat heaps (eapolo01@hills.ccsf.cc.ca.us) |
00:26.27 | *** join/#tomcat ksb1454 (~ksb1454@ip68-102-147-81.ks.ok.cox.net) |
00:26.39 | ksb1454 | hey is anyone using tomcat on windows |
00:29.34 | heaps | how to check if tomcat is configured to serializes session to disk when shutting down? |
00:31.23 | heaps | ksb1454: has to be windows? |
00:33.44 | ksb1454 | dude i tried everything to get it to work under linux wouldnt do it |
00:34.00 | ksb1454 | last night my name on here was <yes> |
00:34.40 | heaps | really? man you may have a bad copy |
00:35.04 | ksb1454 | the last 5 copies |
00:35.09 | heaps | i have installed tomcat on diff linux and they seem to work off the bat |
00:35.10 | ksb1454 | i dont know about that |
00:35.40 | ksb1454 | im follwing the instructions |
00:35.56 | ksb1454 | unless you want to remote in and see if you can do it |
00:35.58 | heaps | what did you use to download? maybe if you use windows and xfer it over, it corrupts it |
00:36.28 | ksb1454 | nope downloaded straight to linux |
00:36.30 | heaps | sure i dont mind, go ahead set up your box so i can telnet it |
00:36.53 | heaps | you can pm me the details |
00:37.22 | ksb1454 | ok give me 10 minutes or so |
00:37.39 | heaps | ok |
00:38.16 | ksb1454 | ill reinstall mandrake from scratch that way you have a clean install to mess with |
00:38.52 | ksb1454 | what version you want me to download |
00:39.10 | heaps | 4.1.18 |
00:39.20 | ksb1454 | ok |
00:39.44 | heaps | and java 1.4.0_01 minimum |
00:39.48 | ksb1454 | tar.gz |
00:39.55 | heaps | yeah tar.g |
00:39.57 | heaps | z |
00:40.02 | ksb1454 | sdk |
00:40.06 | ksb1454 | or jre |
00:40.11 | heaps | sdk |
00:40.15 | ksb1454 | ok |
00:40.27 | ksb1454 | good becuase i develop web apps also :) |
00:40.51 | heaps | right,,but thats 40Meg so it make take you more than 10 mins |
00:41.01 | ksb1454 | nah cable modem |
00:41.18 | heaps | you're cool, im on dial up still :) |
00:41.55 | ksb1454 | i work alot to pay for it |
00:41.56 | ksb1454 | lol |
00:48.24 | ksb1454 | do you want me install the java packages java1_4_01 and java2ee1_3_01 first |
00:49.03 | heaps | just the java1.4.01 |
00:49.07 | ksb1454 | ok |
00:49.42 | ksb1454 | where should i set the JAVA_HOME variable at |
00:49.59 | Hellaenergy | /etc/profile ;) |
00:49.59 | heaps | whereever you have installed the jdk |
00:50.18 | heaps | yeah..i mis read |
00:50.28 | ksb1454 | right but i mean some people set it in /etc/profiel others set it in bashrc |
00:50.45 | heaps | whichever shell you;re allowing me in |
00:50.57 | ksb1454 | born |
00:51.03 | heaps | ok |
00:51.11 | heaps | then .bashrc |
00:51.17 | ksb1454 | ok |
00:51.32 | ksb1454 | i dont know if ive ever set it in there before |
00:52.06 | heaps | Hella: ey i got jetspeed working but cant save stuff, i have to re unpack all the time |
00:52.33 | heaps | and i saw some people mention their success in using postgresql with it |
00:54.02 | heaps | ksb1454: and have lynx ready, just for me to test if setup is okay, i need some kind of browser |
00:54.32 | *** join/#tomcat cavel (~nobody@nimrod-extern.siliconblue.com) |
00:54.34 | ksb1454 | i think lynx comes preinstalled i i remember right |
00:54.50 | ksb1454 | if i |
00:56.20 | heaps | ok |
00:56.24 | *** join/#tomcat kmitchener (~kmitchene@h0006257f7f2a.ne.client2.attbi.com) |
00:56.50 | ksb1454 | 7th time ive reinstalled this OS :) |
00:56.54 | ksb1454 | im becoming a pro |
00:57.05 | heaps | alright, thats the only way to learn dude |
00:57.48 | heaps | unless you're one of those special talent with rote memories |
00:58.00 | ksb1454 | i dont have to register do i |
00:58.13 | heaps | no register needed |
00:58.16 | ksb1454 | ok |
00:58.26 | ksb1454 | making sure i never have before |
00:58.27 | heaps | except accept the contract i think for the jdk from sun |
00:58.42 | ksb1454 | i mean linux |
00:59.05 | heaps | oh i dont think any one has those |
00:59.17 | heaps | you just install it |
00:59.44 | heaps | only if you need phone support i think, where they require you to get id'd |
01:01.42 | ksb1454 | do i need to set a classpath |
01:01.47 | ksb1454 | or any other variables |
01:02.08 | heaps | just JAVA_HOME i believe is enuff |
01:02.51 | heaps | user classpath is overwritten by tomcat anyways |
01:03.42 | ksb1454 | ok |
01:05.05 | ksb1454 | java will be java2 |
01:05.13 | heaps | ok |
01:05.24 | heaps | ill check anyways |
01:05.28 | ksb1454 | ok |
01:07.39 | ksb1454 | go private if you can |
01:08.12 | ksb1454 | heaps |
01:09.35 | heaps | ok |
01:31.27 | *** join/#tomcat rcaskey (~rcaskey@adsl-154-9-103.asm.bellsouth.net) |
01:33.21 | rcaskey | hey all. I'v got a question. How do I find out what user tomcat is running as? |
01:34.29 | jasonb | On what OS? |
01:34.47 | rcaskey | linux |
01:34.49 | jasonb | ps auwwx | grep java | grep Bootstrap |
01:35.28 | jasonb | Then look on the far left, I believe. |
01:36.37 | rcaskey | tomcat4, how convenient |
01:38.40 | jasonb | :) |
01:42.48 | rcaskey | still dont have perms to write to this file |
01:46.47 | rcaskey | org.apache.jasper.JasperException: access denied (java.io.FilePermission programming_staff2.xml write) |
01:46.55 | rcaskey | anything besides bad perms cause that? |
01:49.04 | ksb1454 | heaps did you change your port to 80 |
01:49.24 | heaps | no i was using 8888 well depends on which app am using |
01:49.52 | heaps | cant do that with a regular user though ie port 80 |
01:50.01 | heaps | must be root, |
01:50.20 | heaps | i dontknow how apache made it possible to run port 80 as regular user |
01:52.03 | *** join/#tomcat ksb1454 (~ksb1454@ip68-102-147-81.ks.ok.cox.net) |
01:52.08 | ksb1454 | heaps? |
01:52.20 | heaps | yes |
01:52.31 | ksb1454 | did you change yours to port 80 |
01:52.40 | heaps | tomcat? no |
01:52.52 | ksb1454 | i just use the connector.http.HTTPConnector dont i |
01:53.02 | ksb1454 | and comment out the 8080 |
01:53.20 | heaps | no you change 8080 to 80 thats all |
01:53.25 | ksb1454 | ok |
01:55.38 | ksb1454 | is there a time limit i should use when shutting down and starting the server |
01:55.58 | heaps | give it a minute..should be enuff |
01:56.02 | ksb1454 | ok |
02:00.14 | ksb1454 | how do you remove full dir |
02:01.04 | heaps | never rm -rf * :) |
02:01.17 | ksb1454 | ok |
02:01.19 | ksb1454 | lol |
02:01.40 | heaps | rm -r dir/path |
02:02.34 | heaps | whats the problem again rcasky? |
02:02.46 | Hellaenergy | ksb1454: rm -fr / |
02:02.53 | ksb1454 | cool |
02:03.05 | heaps | with your eyes closed :P |
02:04.31 | ksb1454 | ha ha |
02:05.05 | ksb1454 | everytime i shut down this server i cringe |
02:05.50 | ksb1454 | should i move java2 out of the root area also heaps |
02:06.06 | heaps | nah leave it there |
02:06.14 | ksb1454 | ok |
02:07.42 | ksb1454 | rpm -iv is a good enough switch isnt |
02:07.44 | ksb1454 | to extract |
02:08.27 | heaps | could be, i dont often use rpm for install |
02:13.59 | *** join/#tomcat pat5star (~pat5star@d235-132-149.home1.cgocable.net) |
02:32.10 | *** join/#tomcat smltiger (~chatzilla@210.22.204.172) |
02:32.58 | smltiger | hello |
02:34.26 | smltiger | how do you do ? |
02:38.24 | *** join/#tomcat smltiger (~chatzilla@210.22.204.174) |
02:39.45 | smltiger | hello? |
02:57.53 | *** join/#tomcat pat5star (~pat5star@d235-132-149.home1.cgocable.net) |
02:58.41 | *** join/#tomcat IRCMonkey (~oldwatch@211.95.121.4) |
03:03.20 | *** join/#tomcat franl (~Hal@1Cust5.tnt33.bos2.da.uu.net) |
03:05.49 | *** join/#tomcat franl (~Hal@1Cust5.tnt33.bos2.da.uu.net) |
03:21.17 | *** part/#tomcat franl (~Hal@1Cust5.tnt33.bos2.da.uu.net) |
03:21.57 | *** join/#tomcat glennOhio (~chatzilla@cvg-65-27-207-121.cinci.rr.com) |
04:00.48 | *** join/#tomcat heaps (eapolo01@hills.ccsf.cc.ca.us) |
04:42.37 | *** part/#tomcat pat5star (~pat5star@d235-132-149.home1.cgocable.net) |
05:20.27 | *** join/#tomcat bugfixer (~bugfixer@42gis175.gulftel.com) |
05:28.21 | *** join/#tomcat bugfixer (~bugfixer@42gis175.gulftel.com) |
05:55.32 | *** join/#tomcat jasonb (~jasonb@adsl-66-124-73-250.dsl.sntc01.pacbell.net) |
06:09.22 | *** join/#tomcat ksb1454 (~ksb1454@ip68-102-147-81.ks.ok.cox.net) |
06:09.36 | ksb1454 | where do i place my class files |
06:10.50 | ksb1454 | anyone here |
06:22.51 | ksb1454 | anyone here |
06:30.47 | *** join/#tomcat worker (~fake@gw.multimed.dk) |
06:30.56 | worker | Good morning! |
06:32.46 | worker | I have a question; I have installed tomcat4 on a Debian GNU/Linux woody. I have created a directory for webpages, and a "WEB-INF/classes" dir, with my servlet. Now my question is: Where can my servlets gain access to files, or where do I setup where they can gain access? |
06:34.30 | jasonb | worker: Hi there. If you run Tomcat without the security manager turned on (the default is that it's off), then any servlet running in Tomcat has full access to everything that the user that Tomcat's running as would have. |
06:36.24 | worker | jasonb : The servlets I'm using, used to use a "systemdir" (on an older servlet engine) or something like that ... does tomcat provide a simular scheme? |
06:37.46 | worker | jasonb : (systemdir = (ServletConfig) config.getInitParameter("sysDir"); |
06:39.36 | worker | (actually, the idea will be that we host a lot of webpages, running their own copy of the servlet, and it would be nice if each servlet only had access to its own file-hierachy) |
06:39.47 | jasonb | worker: You can always pass in an init parameter named "sysDir" to your servlet (and define it however you want) if you'd like to preserve exactly the same behavior and code. But, with no security manager, your servlet is allowed to write anywhere Tomcat's unix user can write. There's always the work dir.. but I forget how one gets that path... |
06:40.38 | jasonb | worker: The only way to enforce one file hierarchy per webapp is to configure and use the security manager. And, that only enforces things per webapp, not per servlet. |
06:40.57 | worker | jasonb : Yeah, browsing the documentation, the closest I could get, was an attribute called "workDir", some context element or something. |
06:41.10 | worker | jasonb : Ok. That sounds like what I need in the long run! :) |
06:41.14 | jasonb | worker: In each webapp you can have 0 or more servlets, though, so if you were to set up each servlet in its own webapp then you could enforce file system limits per servlet/webapp that way. |
06:41.31 | worker | neat |
06:41.58 | worker | Thats what we need. Each website will have a number of servlets, which should access the same filespace. :) |
06:42.16 | jasonb | I also think that each webapp gets its own work dir by default.. it's just that only a security manager can enforce servlets only writing to their own. |
06:42.51 | worker | jasonb : But you cannot help me find the default work dir? |
06:43.13 | jasonb | default work dir? |
06:43.21 | worker | default sysDir :) |
06:43.46 | jasonb | There's no such thing as a "sysDir". You can make one up if you want, and when you do, that's defined however you define it. :) |
06:44.25 | worker | So "sysDir" has been kinda obsoleted by the security manager? |
06:44.52 | worker | I need some way to tell the servlet where it is supposed to find files, and where to write them. |
06:46.18 | jasonb | If I remember correctly, there never was a "sysDir" defined in the Java Servlet Specification. If there was, it's long gone now. |
06:46.27 | worker | ok |
06:47.05 | worker | Maybe its something our webmaster provides. ... I'll look into that. Thank you for your help, jasonb, you cleared up a lot of confusion! |
06:47.28 | jasonb | What I'd do if I were you is just make your servlet(s) use the work dir, and use a security manager to enforce the writing to only that webapp's work dir. |
06:48.02 | jasonb | worker: No problem.. I hope you can get it working with a new Tomcat.. I think you'll really like a newer servlet container. |
06:48.49 | jasonb | worker: Also, I may have some text that could help you set up the security manager... |
06:49.20 | jasonb | worker: See our example chapter, linked from this page: http://www.oreilly.com/catalog/tomcat |
06:49.45 | jasonb | worker: The sample chapter is Chapter 6: Tomcat Security, and it does talk about the security manager. |
06:51.16 | worker | Ok :) |
06:55.03 | *** join/#tomcat did (~did@83.reverse62.fmcf.fr) |
06:55.10 | did | Hi |
06:55.45 | worker | jasonb: Looks like a usefull book |
06:56.06 | jasonb | worker: I'm glad you think so. We tried. :) |
06:56.54 | worker | :) |
06:57.10 | *** join/#tomcat a4akb (akb@as20-79.qualitynet.net) |
06:58.52 | a4akb | Error |
06:59.06 | a4akb | We're sorry, the URL, http://www.oreilly.com/catalog/tomc is either incorrect or no longer available. |
06:59.06 | a4akb | http://www.oreilly.com/catalog/tomc |
06:59.29 | a4akb | http://www.oreilly.com/catalog/tomcat/ |
07:00.54 | worker | a4akb : The linked worked fine for me. |
07:01.24 | a4akb | http://www.oreilly.com/catalog/tomc<---??? |
07:01.38 | a4akb | Tomcat: The Definitive Guide here: http://www.oreilly.com/catalog/tomc'<-- X |
07:02.29 | a4akb | <PROTECTED> |
07:03.32 | a4akb | where are you from worker? |
07:03.36 | a4akb | Germany? |
07:03.47 | worker | No, but same timezone. |
07:03.50 | worker | Denmark :) |
07:04.01 | a4akb | yes, I noticed that |
07:04.04 | worker | a4akb : You? |
07:04.24 | a4akb | am in Kuwait atm |
07:04.36 | worker | ok |
07:19.10 | *** part/#tomcat did (~did@83.reverse62.fmcf.fr) |
07:39.52 | *** join/#tomcat Adelheit (~none@80.146.165.65) |
08:10.50 | *** join/#tomcat IRC (~chatzilla@203.236.139.8) |
08:16.17 | *** join/#tomcat KarolR (~nobody@c187058.adsl.hansenet.de) |
08:18.06 | *** join/#tomcat kiri (~kiri@net-37-162.mweb.co.za) |
08:20.13 | kiri | ...just a quick question. If I try to send mail using JavaMail, does TomCat try to store undelivered mail somewhere on the localhost or if it fails to send the message it throws an error/exception right there and abandons everything? |
08:21.09 | worker | Thats more a javaMail question, I guess. If javamail has problems contacting a mailhost, it generates an exception. |
08:22.16 | worker | I am not sure what happens if the mailserver is ok, but the user is unknown. I guess it might depend on how the mailserver handles it. |
08:38.51 | *** join/#tomcat KarolR (~nobody@c187058.adsl.hansenet.de) |
08:53.55 | *** join/#tomcat Falkom (~Falkom@213.250.161.4) |
08:53.55 | Falkom | hi |
08:55.00 | Falkom | I have problems with tomcat |
08:55.15 | Falkom | I try to see my hosting web |
08:55.28 | Falkom | and sometimes (now, often) the hosting web is crashed |
08:55.59 | Falkom | do you know if exit any parameter to increate the debug mode? |
09:09.08 | *** join/#tomcat bugfixer (~bugfixer@42gis175.gulftel.com) |
09:14.05 | Falkom | bugfixer are you there? |
09:16.06 | *** join/#tomcat worker (~fake@gw.multimed.dk) |
09:19.17 | worker | In older servlet containers, you'd use a "virtual-host.properties" file, where you could set options like: servlets.default.initArgs=sysDir=./home/httpd/servlets/virtual-host/SystemData/ |
09:19.41 | worker | How do I find out how to do this with Tomcat4? |
09:23.09 | workerII | (Google gives some results, but none has proven usefull yet). |
09:37.54 | *** join/#tomcat Anders- (~aje@213.237.104.39.adsl.lmv.worldonline.dk) [NETSPLIT VICTIM] |
09:50.13 | *** join/#tomcat rcaskey (~rcaskey@adsl-154-9-103.asm.bellsouth.net) [NETSPLIT VICTIM] |
10:41.47 | *** join/#tomcat Falkom (~Falkom@213.250.161.4) [NETSPLIT VICTIM] |
10:41.50 | Falkom | hola |
10:41.51 | Falkom | hi |
10:42.35 | Falkom | do you know this kind of error: Unable to open config file? |
10:42.41 | Falkom | in catalina.out |
11:04.53 | *** join/#tomcat squall (~dune@195.25.252.245) |
11:05.07 | squall | hi all , french here ????? |
11:26.54 | *** join/#tomcat vx`schlumpf (~vx_schlum@dsl-213-023-049-054.arcor-ip.net) |
11:30.52 | Falkom | sorry squall any french |
11:30.54 | Falkom | spanish |
11:42.24 | squall | Falkom do you speek English ? |
11:54.57 | *** join/#tomcat IRCMonkey (~chatzilla@ppp-62-11-77-169.dialup.tiscali.it) |
12:15.08 | *** join/#tomcat klapk (~klapk@ilchat01-34.fgi.net) |
12:28.09 | *** join/#tomcat admin (~admin@ip68-102-147-81.ks.ok.cox.net) |
12:28.29 | admin | hi can anyone tell me how to setup my servlet under tomcat |
12:29.23 | admin | hello |
13:06.58 | *** join/#tomcat KarolR (~nobody@c187058.adsl.hansenet.de) |
13:09.42 | *** join/#tomcat Morrowyn (~morrowyn@iskandar.demon.nl) |
13:10.02 | Morrowyn | can someone help me with this tomcat |
13:10.04 | Morrowyn | and apache |
13:10.04 | *** join/#tomcat sysctl2 (~sysctl2@62-151-152-213.tp24.ya.com) |
13:10.14 | sysctl2 | hello |
13:10.20 | sysctl2 | i have a problem |
13:10.28 | Morrowyn | im reading that i need to set the JkWorkerFile to a certain dir |
13:10.30 | sysctl2 | to start tomcat in 80 port |
13:10.36 | Morrowyn | and i have to correct dir |
13:10.58 | Morrowyn | and when i do apachectl configtest it says Syntax error on line 6 of /usr/loc |
13:10.58 | Morrowyn | /jakarta-tomcat3.3.1/conf/jk/mod_jk.conf: |
13:11.47 | sysctl2 | i add new conector to server.xml |
13:11.56 | sysctl2 | i n port 80 |
13:12.02 | sysctl2 | but tomcat non start |
13:17.56 | *** join/#tomcat sysctl2 (~sysctl2@62-151-152-213.tp24.ya.com) |
13:19.04 | squall | sysctl2 you must set an address |
13:19.21 | sysctl2 | how |
13:19.25 | sysctl2 | i change |
13:19.34 | sysctl2 | Connector className="org.apache.coyote.tomcat4.CoyoteConnector" port="8080" .... |
13:19.39 | sysctl2 | by |
13:19.44 | sysctl2 | Connector className="org.apache.coyote.tomcat4.CoyoteConnector" port="80" .. |
13:19.58 | sysctl2 | but when restart tomcat |
13:20.14 | sysctl2 | no listen in any port |
13:20.18 | sysctl2 | what happend |
13:20.30 | sysctl2 | how can fix? |
13:21.11 | Morrowyn | maybe interfering with apache> |
13:21.56 | sysctl2 | apahe is not install |
13:21.59 | Morrowyn | k |
13:22.09 | *** join/#tomcat squall`` (~chatzilla@omaha.lnet.fr) |
13:22.32 | squall`` | <Connector className="org.apache.coyote.tomcat4.CoyoteConnector" acceptCount="100" address="192.168.4.10" bufferSize="2048" compression="off" connectionLinger="-1" connectionTimeout="20000" debug="0" disableUploadTimeout="false" enableLookups="true" maxKeepAliveRequests="100" maxProcessors="75" minProcessors="5" port="80" protocolHandlerClassName="org.apache.coyote.http11.Http11Protocol" proxyPort="0" redirectPort="8443" scheme="http" secure="false" tcpN |
13:22.34 | squall`` | <PROTECTED> |
13:22.35 | squall`` | <PROTECTED> |
13:22.59 | Morrowyn | squall : have u managed to make tomcat work with apache? |
13:23.07 | squall | no apache |
13:23.27 | squall | just jakarta |
13:23.37 | Morrowyn | k |
13:23.41 | Morrowyn | well i have that working |
13:23.50 | Morrowyn | on localhost |
13:23.54 | Morrowyn | so far |
13:24.11 | squall | can you copy here your connector please here |
13:24.14 | KarolR | squall, why do you necessarilly need to specify the address="192.168.4.10" ? |
13:24.40 | squall | i have several eth |
13:24.46 | Morrowyn | the manual states i need to use the JkWorkerFile workers.properties, but when |
13:24.46 | Morrowyn | <PROTECTED> |
13:24.46 | Morrowyn | Can't find the workers file specified |
13:24.51 | KarolR | + what version of tomcat are you using? |
13:24.59 | squall | the last stable |
13:25.04 | KarolR | 4.1.24? |
13:25.09 | squall | yes |
13:25.23 | KarolR | My connector entry looks like this (look at private msg) |
13:25.42 | squall | Morrowyn do you have the interface admin install ? |
13:26.43 | Morrowyn | interface admin install? im doing this as root |
13:27.23 | squall | can i access to your jakarta home page ? |
13:27.56 | Morrowyn | well its still on localhost at the moment |
13:28.28 | squall | http://localhost do you have the jakarta home page ? |
13:30.35 | Morrowyn | yupz |
13:30.42 | Morrowyn | i wanna make it connect with apache |
13:31.13 | sysctl2 | i can not start tomcat in 80 port |
13:31.30 | sysctl2 | i try but tomcat don't start |
13:33.51 | Morrowyn | uhuh |
13:38.51 | Falkom | do you know this error? |
13:39.01 | Falkom | javax.servlet.ServletException: Servlet.init() for servlet jsp threw exception |
13:39.01 | Falkom | at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:935) |
13:39.01 | Falkom | at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java |
13:51.46 | *** join/#tomcat Morrowyn-Too (~morrowyn@iskandar.demon.nl) |
13:51.58 | Morrowyn-Too | back |
13:54.33 | *** part/#tomcat sysctl2 (~sysctl2@62-151-152-213.tp24.ya.com) |
14:10.35 | *** join/#tomcat KarolR (~nobody@c187058.adsl.hansenet.de) |
14:36.56 | Morrowyn | i have restarted the tomcat3ctl and apachectl and now the tomcat doesnt work anymore |
14:41.42 | Morrowyn | oh wait was using tomcat3ctl, but this one doesnt work |
15:01.38 | *** join/#tomcat shaym (~shaym@194.206.160.118) |
15:01.40 | shaym | hy |
15:02.13 | shaym | what's the diff between tomcat and tomcat-LE-jdk1.4 ? |
15:07.23 | Morrowyn | wooohooo, i got tomcat working with apache thru mod_jk :D |
15:07.45 | puff | Morning all. |
15:08.10 | Morrowyn | morning puff |
15:08.48 | *** join/#tomcat Team_Powers (~chatzilla@adsl-68-21-70-227.dsl.dytnoh.ameritech.net) |
15:09.08 | Team_Powers | hello all |
15:11.11 | Team_Powers | I have a question for you all |
15:19.46 | *** join/#tomcat kmitchener (~kmitchene@h0006257f7f2a.ne.client2.attbi.com) |
15:28.18 | *** join/#tomcat KarolR (~nobody@c187058.adsl.hansenet.de) |
15:38.11 | *** join/#tomcat slackerz (~dculp@208.218.214.103) |
15:38.19 | *** part/#tomcat slackerz (~dculp@208.218.214.103) |
15:50.58 | squall | ++ |
15:55.08 | *** part/#tomcat Morrowyn (~morrowyn@iskandar.demon.nl) |
16:07.14 | *** join/#tomcat Spline (~dj_aia@anja.isisnetworks.net) |
16:21.00 | *** join/#tomcat d1rty (jmahood@dsanchez.advance.net) |
16:28.20 | *** join/#tomcat d1rty (jmahood@dsanchez.advance.net) |
16:37.18 | *** join/#tomcat dthought (~none@0x50c488df.adsl-fixed.tele.dk) |
16:39.15 | dthought | Hello - can someone help me fix a "java.lang.NoClassDefFoundError: javax/servlet/http/HttpServletRequest |
16:39.19 | dthought | " problem ? |
16:41.57 | Spline | you need servlet.jar in your classpath |
16:43.14 | dthought | It is: |
16:43.14 | dthought | CLASSPATH=.;E:\Java\Servlet;C:\Tomcat\common\lib\servlet.jar;C:\Tomcat\common\li |
16:43.15 | dthought | b\cos.jar |
16:44.02 | Spline | that isnt your applications classpath |
16:44.13 | Spline | read the web application developers guide on the tomcat site |
16:44.31 | dthought | I have - but I don't really understand it.. |
16:48.47 | Spline | well |
16:48.58 | Spline | tomcat uses delegated classloaders, each with its own classpath |
16:49.55 | dthought | As far as I've figured out the servlet.jar, which contains that HttpServletRequest, should be available to all servlets ? |
16:50.09 | Spline | look for the parts about $CATALINA_HOME/server, $CATALINA_HOME/common, and $CATALINA_HOME/shared |
16:50.12 | Spline | yes |
16:50.32 | dthought | Why can't my program find it then, if it's shared ? |
16:51.20 | Spline | my shared/lib and shared/classes are empty |
16:51.44 | Spline | shared is used by all webapps, and not the tomcat server |
16:51.51 | Spline | common is used by all webapps and the tomcat server |
16:53.21 | dthought | Yes, and servlet.jar is in /common - so as I see it my app should be able to use it ? Do I need to write a web.xml to make it all work ? |
16:54.39 | dthought | I'm simply trying to make a very simple fileupload servlet, using the com.oreilly templates, but it is that which doesnt want to work |
16:54.55 | Spline | no, if you are already seeing the noclassdeffounderror, your servlet is getting executed. However, I always recommend a web.xml over the invoker servlet |
16:55.18 | Spline | you might verify that the servlet.jar in common/lib is intact |
16:55.20 | Spline | use jar -tf |
16:55.24 | Spline | what version of tomcat? |
16:55.28 | dthought | 4.1.24 |
16:56.32 | Spline | yea nothing should work without a web.xml in 4.1.24 unless you enabled the invoker servlet |
16:57.19 | dthought | I did - the first line of the error page is: |
16:57.20 | dthought | description The server encountered an internal error () that prevented it from fulfilling this request. |
16:57.20 | dthought | exception |
16:57.20 | dthought | javax.servlet.ServletException: Invoker service() exception |
16:57.20 | dthought | at org.apache.catalina.servlets.InvokerServlet.serveRequest(InvokerServlet.java:524) |
16:57.20 | dthought | at org.apache.catalina.servlets.InvokerServlet.doPost(InvokerServlet.java:216) |
16:58.19 | Spline | oh |
16:58.29 | Spline | well invoker is a security risk :) I have no idea how to use it |
16:58.34 | dthought | I used this guide : http://www.moreservlets.com/Using-Tomcat-4.html |
16:58.42 | Spline | besides, web.xml is required in the J2EE spec :) |
16:59.44 | Spline | well that guide oversimplified I think |
17:00.11 | Spline | this tells you all that stuff, but it works |
17:00.12 | Spline | http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/index.html |
17:00.21 | Spline | using a web.xml |
17:03.26 | dthought | Hmm - all the usual HelloWorld examples works fine, it's just when I try to use that com.oreilly that one of its classes causes that exception... |
17:04.32 | dthought | Are there any full,"for dummies" "File Upload" servlets somewhere I can look at - and compile, and run ? |
17:04.46 | Spline | I think so |
17:04.54 | Spline | have you looked at the jakarta commons fileupload stuff? |
17:05.06 | Spline | even better than for dummies, you can just use it |
17:05.38 | dthought | Have only briefly looked at it - but it should be easier to figure out ? |
17:06.05 | Spline | nto sure |
17:06.11 | Spline | really, I havent had to do it yet |
17:44.54 | *** join/#tomcat mod_cure (~Cure@cs6668188-51.austin.rr.com) |
17:52.19 | *** join/#tomcat randrew (~raj@dolmen.cc.columbia.edu) |
17:58.39 | *** join/#tomcat Hellaenergy (~Hellaener@mail.ubiqinc.com) |
18:11.10 | Hellaenergy | ibot attension |
18:11.11 | | Hellaenergy: I'm not sure, is it larger than a breadbox? |
18:11.28 | Hellaenergy | ibot google tomcat |
18:11.29 | | Hellaenergy: have you tried http://www.tldp.org/ ? |
18:39.46 | *** join/#tomcat mod_cure (~Cure@cs6668188-51.austin.rr.com) |
18:51.20 | *** join/#tomcat ksb1454 (~ksb1454@ip68-102-147-81.ks.ok.cox.net) |
18:55.53 | ksb1454 | hi anyone here |
19:51.14 | *** join/#tomcat jasonb (~jasonb@nat1.sp.collab.net) |
19:54.38 | Hellaenergy | hi jasonb |
19:54.50 | Hellaenergy | whatcha workin on? |
19:58.47 | jasonb | Hellaenergy: Hi. I got a new work laptop, and I'm spending a little time getting used to RH9. |
19:59.39 | jasonb | Hellaenergy: Instead of continuing to support my own shell script hacks for things, I'm trying to find out if there are GUI ways of doing the same things these days, and in some cases there are (finally). |
20:00.33 | Hellaenergy | Ya thats weird huh |
20:00.43 | Hellaenergy | I just migrated my server to RH9 |
20:00.48 | Hellaenergy | no gui though |
20:01.07 | Hellaenergy | 2.4.21 released yet? |
20:01.09 | dthought | Spline: I think I got something to work using "commons". Thanks |
20:02.26 | jasonb | 2.4.21?? |
20:02.30 | Hellaenergy | kernel |
20:02.32 | jasonb | oh, kernel.. |
20:02.41 | jasonb | I hadn't heard.. |
20:02.51 | Hellaenergy | they are on rc5 |
20:03.01 | Hellaenergy | whould be pretty soon |
20:03.01 | jasonb | 2.4.21-rc5 |
20:03.03 | jasonb | yeah. |
20:03.21 | jasonb | But, I'm using the stock RH9 kernel because it's plenty nice enough for me. |
20:03.32 | jasonb | (that is, the updated one) |
20:03.39 | Hellaenergy | I need more firewalling capabilities |
20:03.45 | jasonb | Like what? |
20:04.02 | Hellaenergy | like custom logging |
20:04.10 | Hellaenergy | ip over ip |
20:04.21 | jasonb | You can't compile that as a module and just load it into the stock kernel? |
20:04.35 | jasonb | What's this ip over ip crap? :) |
20:04.55 | Hellaenergy | It enables you to act as though your a different ip ;) |
20:05.08 | jasonb | Isn't that what NAT is for? |
20:05.15 | Hellaenergy | I like to keep up to date on my kernels ;) |
20:05.37 | Hellaenergy | no nat is for distributing ip's based off of one mother ip |
20:05.48 | Hellaenergy | I am concealing the mother ip |
20:06.05 | Hellaenergy | I'm sure |
20:06.31 | jasonb | Seems to me that you could still change the source address on packets via iptables rules. |
20:06.32 | Hellaenergy | rh released iptables 1.2.8? |
20:06.53 | jasonb | I don't know which version it is, but it's there and it works great.. 2.4 kernel iptables. |
20:07.37 | Hellaenergy | When it comes down to it. I like to use the Linus Branch verus AC |
20:08.37 | jasonb | I don't know enough about what's different between the two to have an opinion.. all I know is the main branch works fine for me, pretty much always, except when they haven't updated a driver -- and then I update it for myself. |
20:09.10 | jasonb | That's the cool thing about Open Source is that if you know what's wrong you really can go in and fix the code. I do that often. |
20:09.28 | jasonb | Don't let anyone tell you that nobody actually fixes the code -- so they don't need the code. It isn't true. |
20:09.30 | Hellaenergy | :) |
20:22.16 | *** join/#tomcat mimelator (~chatzilla@12.104.65.250) |
20:22.50 | mimelator | does anyone know how to use mx4j with tomcat 4.1.24? |
20:23.55 | *** join/#tomcat Spline (~dj_aia@anja.isisnetworks.net) [NETSPLIT VICTIM] |
20:23.55 | *** join/#tomcat Anders- (~aje@213.237.104.39.adsl.lmv.worldonline.dk) [NETSPLIT VICTIM] |
20:24.33 | Hellaenergy | jasonb: You should see this http://netfilter.org/security/2002-02-25-irc-dcc-mask.html |
20:24.45 | Hellaenergy | You prolly don't DCC though :0 |
20:27.52 | jasonb | I do sometimes. Not often. |
20:30.14 | jasonb | Seems that the stock RH9 kernel is unaffected by this bug. |
20:30.36 | jasonb | well, maybe it is. |
20:31.05 | jasonb | But, I don't use that connection tracking helper module. |
20:41.44 | *** join/#tomcat heaps (eapolo01@hills.ccsf.cc.ca.us) |
20:58.49 | *** join/#tomcat vx`schlumpf (~vx_schlum@dsl-213-023-049-054.arcor-ip.net) |
21:05.59 | *** join/#tomcat vx`schlumpf2 (~vx_schlum@dsl-213-023-049-148.arcor-ip.net) |
21:27.45 | *** join/#tomcat cavel (~nobody@nimrod-extern.siliconblue.com) [NETSPLIT VICTIM] |
21:29.23 | *** join/#tomcat johnjohn7 (~johnjohn@cpe-24-221-228-20.tx.sprintbbd.net) |
21:32.06 | johnjohn7 | does Craig McClannahan ever drop by here? |
21:33.12 | jasonb | Nope. :( |
21:36.36 | johnjohn7 | how is it going Jason? I am looking at replicating postgres and soon upgrading to 4.1 finally. Our framework finally made it compatible. |
21:37.51 | johnjohn7 | I am going to look at clustering Postgres on cygwin no less since we have to use windows, crystal reports, jboss and brava all together and cannot afford Oracle (so we went Postgres) which we will eventually put back on a *x type server in a separate tier. |
21:39.42 | Hellaenergy | isn't postgres working on a win32 port? |
21:39.48 | Hellaenergy | other than cygwin |
21:39.49 | Spline | yes |
21:42.06 | *** join/#tomcat ranx_ (~bla@209.80-202-54.nextgentel.com) |
21:43.15 | ranx_ | hi all |
21:44.50 | ranx_ | what really happens when using 'stop' on a web app in the Tomcat 4 html manager? It seems that resources are not freed.. |
21:45.40 | ranx_ | like my web app is listening to a specific port, and I get a Address already in use: JVM_Bind |
21:45.48 | ranx_ | when stop and then start |
21:45.56 | jasonb | johnjohn7: Hi there.. (sorry, was interrupted there) Glad that you're upgrading to 4.1, you'll like it. |
21:46.30 | jasonb | Why do you guys hate Cygwin? Don't you realize that it makes windoze into a tolerable OS? |
21:46.32 | jasonb | :) |
21:47.21 | jasonb | Well, Tomcat too I guess. |
21:48.13 | jasonb | ranx_: Does your webapp start your server as a new Thread? |
21:48.47 | ranx_ | it has a couple of threads, yes |
21:49.43 | jasonb | ranx_: And did you write your webapp to handle the shutdown of those threads when the webapp is shutting down? |
21:51.23 | ranx_ | no, it was not needed before, since we used JRun which do not have that neat stop/start per webapp option |
21:52.53 | jasonb | Then JRun isn't compatible with the Java Servlet Specification. If you're using Tomcat now, you should take advantage of that feature that should always have been available to you. |
21:53.26 | johnjohn7 | Hellaenergy: yes...I've heard. http://developer.postgresql.org/todo.php |
21:55.37 | johnjohn7 | I saw three solutions to present for making my open source data replicatable. 1) wait for postgres to do that todo, 2) use a 3rd party vendor solution (TPVS) like: http://www.peerdirect.com/technology/index.php or just go Oracle (commercial database/open source apps) |
21:56.01 | johnjohn7 | ...my open source ^applications^ ... |
21:56.36 | johnjohn7 | as I require windows, a robust database and replication |
21:57.43 | jasonb | johnjohn7: Or just use C-JDBC: http://c-jdbc.objectweb.org/ |
21:58.40 | jasonb | bbiab. |
22:01.21 | *** part/#tomcat ranx_ (~bla@209.80-202-54.nextgentel.com) |
22:10.16 | johnjohn7 | I was just looking at C-JDBC. It looks good. Cross platform, most any JDBC database etc....Clustered JDBC. I remember objectweb when I did JoNAS |
22:10.41 | jasonb | Yep, it's all still there.. only (sadly) LGPL now. |
22:14.43 | johnjohn7 | jasonb: is your book out on shelves yet? |
22:15.19 | Spline | you guys are so impatient |
22:15.24 | Spline | june |
22:15.32 | johnjohn7 | actually, the o'reilly says June 2003. is it going to be beginning or end. ;) |
22:15.50 | johnjohn7 | Spline: are u the co-author? |
22:15.57 | johnjohn7 | Ian? |
22:23.31 | johnjohn7 | ok. well, I am heavily reading up on CJDBC...I don't think cygwin will harm anything with it as the JDBC driver doesn't care either.... |
22:27.07 | Spline | Nope, just another IRCer |
22:27.38 | *** join/#tomcat franl (~Hal@1Cust247.tnt33.bos2.da.uu.net) |
23:02.52 | jasonb | johnjohn7: The book should be just about printing now, and should be available in paper form in a couple of weeks or so, but I don't know how long it takes online book sellers to get 'em (if they even do, I guess they do..). So, maybe mid June realistically? But, I'll be at JavaOne with 'em.. signing them. :) |
23:08.21 | *** join/#tomcat Spline (~dj_aia@anja.isisnetworks.net) |
23:19.18 | johnjohn7 | thanks. |
23:19.54 | johnjohn7 | I wish I could go to JavaOne. our company is too cheap. But in this day, you go where you can. |
23:29.16 | Spline | when and where is it? |
23:33.13 | johnjohn7 | I don't know. Usually been in spring at a popular convention center in SF, CA, US |
23:33.20 | johnjohn7 | SFO |
23:33.38 | johnjohn7 | Marcone Convention Center? |
23:36.18 | johnjohn7 | Moscone June 10-13 |
23:36.27 | johnjohn7 | http://servlet.java.sun.com/javaone/ |
23:38.15 | Spline | damn |
23:38.18 | Spline | well not this year |
23:48.34 | jkk | hey Spline |
23:48.58 | Spline | hi |
23:49.03 | Spline | two networks at once eh jkk |
23:50.08 | jkk | Spline: well i never disconnect |
23:50.11 | jkk | so it adds up |
23:50.33 | Spline | sure |
23:50.40 | Spline | how many others? |
23:51.20 | jkk | i dunno |
23:51.22 | jkk | all of em? |
23:51.25 | jkk | i could be everywhere |
23:51.28 | jkk | everywhen |
23:51.30 | jkk | everyhow |
23:51.45 | Spline | Liar |
23:51.52 | Spline | you aren't really on the internet at all |
23:51.55 | jasonb | nope! |