irclog2html for #tomcat on 20030204

00:38.33*** part/#tomcat bun0 (~hito@ppp-66-123-206-152.dialup.snfc21.pacbell.net)
00:46.00*** part/#tomcat Blaze (dirc@boha41ovy1da.ab.hsia.telus.net)
00:58.16*** join/#tomcat tang^ ([6JxgMrw9o@ahgn23wky5824.ab.hsia.telus.net)
03:31.50*** join/#tomcat lalle_ (lars@h229n2fls31o267.telia.com)
03:45.08*** join/#tomcat lapse (lapse@CPE0050bac94fdd-CM014490004333.cpe.net.cable.rogers.com)
03:46.38*** part/#tomcat lapse (lapse@CPE0050bac94fdd-CM014490004333.cpe.net.cable.rogers.com)
04:00.44*** join/#tomcat Hellaenergy (~Hellaener@hellaweb.com)
04:03.36Hellaenergyyo
04:33.51*** join/#tomcat xerov (123@ip68-4-0-92.pv.oc.cox.net)
04:35.03xerovhello, if im not running tomcat as root, how can i ln -s /home/user/rootwebapp /var/tomcat/webapps-dom/ROOT, when i try it now i get Status 404
04:40.14xerovcan this be done as a non root user?
05:01.17*** join/#tomcat supasteri (~supasteri@r96-5.bas1.srl.dublin.eircom.net)
05:01.43supasterihey guys... quicky for the servlet/jsp gurus :)
05:02.02supasteriis it possible from within a servlet to detect if a user has cancelled a http request?
05:02.27supasterii.e. is some sorta event raised within tomcat?
05:29.22*** part/#tomcat supasteri (~supasteri@r96-5.bas1.srl.dublin.eircom.net)
05:44.19*** join/#tomcat bun0 (~hito@ppp-67-119-118-129.dialup.snfc21.pacbell.net)
05:58.06*** part/#tomcat bun0 (~hito@ppp-67-119-118-129.dialup.snfc21.pacbell.net)
05:59.09*** join/#tomcat akb (akb@as20-27.qualitynet.net)
05:59.18akbhi
06:03.51akbHELP!!
06:03.54akblol
06:05.07akbhey jasonb i am encountering the strangest of problems on this new p4 machine
06:06.17akbfirst my java compiler didnt work as the version was old itseems when i got the latest one, all is well but the sql isnt inserting the right values in the db, i wrote a servlet to take in values, on my p3 it takes them fine be it in english or any other language(Regional)
06:06.45akbbut the p4 takes english only and other language it takes the entires and stores/retrieves in/from the db table as ??????
06:06.56akbanything other than english is stored as ??????
06:07.21akbwhy on earth i am unable to understand.. man i didnt sleep for 48 hrs trying to figure this out!
06:07.40jasonbSounds to me like you're trying to solve 50 problems all at once.
06:07.52jasonbProbably a good idea to take it one step at a time.
06:07.58akblol
06:08.02akbyeah true
06:08.26jasonbSo what version of Java do you have installed on your p4?
06:08.29akbman code works 199% efficiently on a p3 but on this new p4 2Mhz all hell breaks loose
06:08.38akbjsdk1.4.1_01
06:08.40akblatest release
06:08.48akband tomcat 4.1.8 i guess
06:08.51jasonbOkay.  Now, which version did you have installed on your p3?
06:09.02akbjdk 1.2.2
06:09.20jasonbYou realize there's a HUGE difference between those two versions, right?  Including incompatibilities?
06:09.44akbbut i guess new versions are better versions that eliminate the incompatibilities
06:09.49akbnot add more..
06:09.59jasonbYou guess wrong.
06:10.14akband jdk1.2.2/ jdk1.3 dont compile on the p4
06:10.15jasonbNew versions may be better overall, but may indeed introduce new incompatibilities.
06:10.29jasonbdon't compile??  What does that mean?
06:10.36jasonbOkay, back up..
06:10.39akbit gives me a .dll error
06:10.45jasonbWhich operating system are you using?  Windows?
06:10.56akbyeah that too 98 se
06:11.00akb:~~~~~~~~~(
06:11.09jasonbThat's your largest problem.
06:11.12jasonbDon't use Windows.
06:11.35jasonbMicrosoft doesn't want you to be able to run Tomcat.
06:11.40akbwhat should i use then? Unix?
06:11.47jasonbAnything other than Windows.
06:11.56akb:(
06:12.25akbthis is so agonizingly painful
06:12.49akbi wrote an application that is like 30 pages (servlet)
06:13.09jasonbYou may be able to use Solaris's JDK 1.3.x and a very new Tomcat like 4.1.18.
06:13.12akbi built it on my p3 but when i install on a p4 i get this sh**
06:13.27jasonbBoth machines run Win 98?
06:13.30akbyes
06:13.43jasonbThen you can't use jdk 1.2.2 on the p4?
06:13.48jasonbDid you try that?
06:13.48akbno
06:13.53akbyes
06:13.57akbi tried
06:13.59akbwhen i compile it
06:14.04akbit gives me an error
06:14.11akbwait i wrote that error name somewhere
06:14.19jasonbOkay, so then I don't understand..  You put the same OS on the new machine, same exact JDK package and it doesn't run??
06:14.36akbwhen i did some research online on that error, it gave out that it happens only on p4 machines this error encontered
06:14.41jasonbBy the way, you don't compile the JDK.  You might install it, and you might run it, but you don't compile it.
06:14.58akbmy servlets arent being compiled not jdk
06:15.21jasonbOkay, well before you dig into your custom code, just get Tomcat working first.
06:15.31jasonbForget about your servlets for a minute.
06:16.01akbtomcat works 100% fine thanks to hellaguy
06:16.06jasonbIf you found pages on the net about p4s and jdk 1.2.2, then you probably also read what people are doing as a work around?
06:16.17jasonbLike, maybe installing JDK 1.3.x?
06:16.42jasonbOkay, so when you run Tomcat, what JDK do you run it on?  JDK 1.4??
06:16.49akbjavac.exe gave me the error called symcjit.dll error
06:17.01akbyes jdk 1.4.1 and tomcat 1.4.08
06:17.35jasonbWell, I suggest you try harder to get JDK 1.3.x installed since it's much more compatible with jdk 1.2.2 that you were using before.
06:18.07akbi installed 1.3 it too gave me the same error
06:18.09jasonb1.4.1 will run Tomcat I'm sure, but it is incompatible with some code written for JDK 1.3.x and below.
06:18.35akbhmm
06:18.39jasonbhmmm..
06:18.56akbwhat do you suggest finally?
06:19.07jasonbWell, okay, so if you have jdk 1.4.1 installed, and tomcat runs, then what happens when you try to compile your servlets?
06:19.26akbservlets are being compiled well nothing happens
06:19.35jasonbhuh?
06:19.39akbam very happy with tomcat and jdk 1.4.1
06:19.46akbi run my code as well
06:19.48akbthey work fine
06:19.55jasonbOkay, so what's yer problem then??
06:20.19akbbut the problem arises when i use a regional language (NON English)
06:20.34jasonbWhich locale?
06:20.44akbin database it is stored as '???????' not as the chareter i am entering
06:20.50jasonbok.
06:20.57jasonbWhich locale, and which database?
06:21.05akboracle 8i
06:21.17akbam trying to enter arabic text
06:21.40jasonbOkay, I don't know how to tell Oracle how to deal with this, but I know what your problem is, I think.
06:22.08jasonbjust a sec.
06:22.14akbok.. mind you, it works fine on the p3 with jdk1.2.2
06:22.41akbi am able to enter and retrieve arabic text fine on the p3 with lower version of jdk and NOT Tomcat but Javawebserver 2.0
06:23.04jasonbRight.
06:23.21jasonbHere, copy this, put it in a file called PrintEncoding.java:
06:23.23jasonbimport java.io.*;
06:23.23jasonbpublic class PrintEncoding
06:23.23jasonb{
06:23.23jasonb<PROTECTED>
06:23.23jasonb<PROTECTED>
06:23.24jasonb<PROTECTED>
06:23.26jasonb<PROTECTED>
06:23.28jasonb<PROTECTED>
06:23.30jasonb<PROTECTED>
06:23.34jasonb}
06:23.38jasonbCompile that, and run it on your p4, then paste in the output here.
06:24.34akbok
06:27.06akbo's encoding : Cp1256
06:27.56akbthats the output
06:28.15jasonbDoes that look like the right encoding for what you're doing?
06:28.39akb....
06:28.46akbu tell me
06:29.31jasonbWhat it just said is that the JVM is defaulting to the character encoding "Cp1256", and any time you transmit or receive a byte stream without specifying another encoding, that's the one it'll use.
06:29.46akbok..
06:30.03akbso what should i do?
06:30.04jasonbBut, I'm not sure Oracle wants to communicate with that encoding.  It may choose ISO-8859-1 or us-ascii.
06:30.14akbok
06:30.29jasonbThe way I fixed this problem with MySQL is this: I told the JDBC driver to use Unicode.. 16-bit characters.
06:31.21akbok
06:31.21jasonbThe way I told it that was: I set two JDBC URL parameters that were something like useUnicode=true (and one other one that I don't remember).  But, these are specific to the MySQL driver I was using at the time (the mm mysql driver).
06:31.32*** join/#tomcat IRCMonkey (~chatzilla@Toronto-HSE-ppp3674678.sympatico.ca)
06:31.44jasonbThe Oracle JDBC driver you use will likely have similar JDBC URL parameter settings for you to use.
06:31.44akbok
06:32.17akbam using this
06:32.17akbtry
06:32.18akb{
06:32.18akbsuper.init(sc);
06:32.18akbClass.forName("sun.jdbc.odbc.JdbcOdbcDriver");
06:32.18akbcon=DriverManager.getConnection("jdbc:odbc:bubyan","scott","tiger");
06:32.20jasonbif you do your homework and find out that "Cp1256" is indeed the character encoding you need/want, then you should tell your JDBC driver (and hence Oracle) that you want it to use that encoding.
06:32.20akb}
06:32.49jasonbWhat the parameters are, I won't have any idea because I don't have the driver.
06:32.58jasonbBut, you can research the driver's features and find that out
06:33.11akbhmm
06:33.38akbam getting lost right now
06:33.52akbwhy didnt i encounter this problem on the p3 system?
06:33.55jasonbThe trick is just to make sure that the JDBC driver knows the correct character encoding to use.
06:34.11akbit gives me perfect results on the p3 sys with jdk1.2.2
06:34.31akbbut on p4 it whines the living daylights outo f me
06:34.40jasonbProbably you didn't see this problem before because character encoding was handled differently in JDK 1.2.2, or in JavaWebServer, or in the Oracle driver you were using (did you switch driver versions?)..
06:34.56jasonbThings change.
06:35.02akbwhich driver version?
06:35.08akbi didnt do anything
06:35.10jasonbYour Oracle JDBC driver version.
06:35.14akbno
06:35.24akbit is the same default one what the OS gave
06:35.42jasonbIf that's exactly the same, then it's either the change of JDK functionality, or it's the change of the application server (less likely).
06:36.06akbhmm
06:36.14akbthis is weired
06:36.28jasonbDid you install Oracle on this p4 machine from the exact same Oracle CDROM that you installed on the p3?
06:36.28akbman the client thinks i am playing around tricks and the code isnt ready
06:36.34akbyes
06:36.45akbits getting too frustrating
06:36.56jasonbOkay, so then your JDBC driver is almost certainly the exact same one, and it's probably switching JDKs that made things change.
06:37.11jasonbI know from experience that different JDKs treat character encodings differently.
06:37.15jasonb:(
06:37.26akb:`(
06:37.45akbi should have chosen to be a doctor not a software engineer
06:37.53jasonbSo, find out exactly which character encoding you need.. or just try to use Unicode.
06:37.57akbat least i can say the patient his problem ...
06:38.07akbhmm
06:38.24akbhow do i use unicode jasonb?
06:38.26jasonbRemember that String conversion methods in Java take an optional argument for the character encoding to use.
06:38.29akbcan i have a sample example
06:38.52akbok..
06:40.17jasonbI don't really have an example of that.
06:40.26akbam too lost at this moment to think of anything.. can you tell me what exactly should i do so that this problem can be eliminate
06:40.39akbeliminated
06:40.46akbterminated
06:40.49akbexterminated
06:40.57akbwhatever i just want to get rid of it
06:41.11jasonbI think you can use the encoding ISO_8859-1 to make the JDK use 16-bit characters, but doing that may not yield you the correct character set.
06:41.44jasonbI can't tell you exactly what you should do.. what to do depends on what you're writing.
06:42.06akbcan i DCC u a sample code of mine?
06:42.15akbmaybe i missed out something
06:42.18jasonbAll I can tell you is that whenever you send or receive a String in your Java code, you need to make sure to encode/decode it with a character encoding that will do what you want it to do.
06:42.33jasonbUnfortunately, I don't have the time.
06:42.51akb:S
06:43.04akbor atlest
06:43.23akbgive me the url where i can download the jdk1.3.x that you used which worked
06:43.33akbi will try to switch the jdk
06:43.41jasonbWell, I'm no longer convinced you need jdk 1.3.x.
06:43.57jasonbIf you were able to at least run 1.2.2, I'd suggest doing that because you know that JDK works.
06:44.03jasonb1.3.x may not.
06:44.09akbhmm
06:44.21jasonbAnd, btw, they all come from the same SUN web pages, so you should be able to find these very easily.
06:44.25akbjdk1.2.2 gives me  symcjit.dll error
06:44.39akbduring java compilation
06:44.42jasonbBut, I think you'd just be chasing your tail if you tried to switch JDKs now.
06:44.52akbyes
06:45.05akband i got a very short tail i can never catch it up for sure
06:45.19jasonbI suggest that you stick with 1.4.x, and learn some things about character encodings and Java Strings and JDBC drivers.
06:45.51akbhmm
06:45.57jasonbLook at the JavaDoc documentation for java.lang.String, and look for the encoding arguments in the constructor and the toString() methods.
06:46.31jasonbPlus, read the documentation for the Oracle JDBC driver you're using and find out which JDBC URL parameters it supports, and anything about character encodings.
06:46.50akbok
06:47.00akbdo you think this is the problem?
06:47.45jasonbAnd in your code, always do stuff like "fieldString.toString(myCharacterEncoding)" where fieldString is a String you're sending into the database, and myCharacterEncoding is a String variable containing the name of the character encoding you want to use.
06:47.58jasonbI'm positive this is the problem.  I've had it before.
06:48.04akbhmm
06:48.24akbam using a simple :
06:48.26akbString datein=req.getParameter("t1");
06:48.38akbfor input
06:48.50akband am using a simple : getString()
06:48.56akbto fetch the o/p
06:48.58jasonbThen when you pass datein to the JDBC driver, do "datein.toString(myCharacterEncoding)"
06:49.45akbst.executeUpdate("insert into vehicleinfo values ('"+datein+"');
06:49.52akbam storing it this way
06:49.59jasonbAnd when you create your JDBC connection, pass a JDBC URL parameter that tells the driver you want to use the myCharacterEncoding.
06:50.30jasonbSo do this instead: st.executeUpdate("insert into vehicleinfo values ('"+datein.toString(myCharacterEncoding)+"');
06:50.43akbcool
06:51.07jasonbBut, make sure the myCharacterEncoding variable is set right first, and make sure that your connection was created with that char encoding too.
06:51.23akbhow do i do that?
06:51.45jasonbBy doing what I described above -- read the Oracle documentation for the JDBC driver.
06:51.54akbok..
06:51.54jasonbFind out what parameter(s) to use.
06:52.36jasonbAlso, use Google to find out which character encoding you should use.
06:52.47akbhmm
06:52.50jasonbProbably needs to be a char encoding that uses 16-bit characters.
06:53.03jasonb(and is specifically for your language that you're trying to use)
06:53.26akbmyCharacterEncoding is this a subclass?
06:53.45jasonbIt's a variable that you will create, and that you will assign the proper value to.
06:53.48*** part/#tomcat xerov (123@ip68-4-0-92.pv.oc.cox.net)
06:53.56akbok
06:54.02jasonbString myCharacterEncoding = "ISO_8859-1";
06:54.11jasonbSomething like that.. but change the encoding to the one that you need.
06:54.18akbok
06:54.33akbwhich accepts my regional language right?
06:54.38jasonbYes.
06:54.45jasonbAnd that uses 16-bit characters.
06:55.05jasonbI'm not positive it needs 16-bit characters, but I have a feeling it does.
06:55.20akbok
06:55.22jasonbIf the only one you can find only supports 8-bit characters, try it and see if that works.  If not, you need 16-bit characters.
06:56.15akbwhat is ISO_8859-1 used for?
06:56.28akbshall I try to use this and check it out?
06:56.34jasonbIf you want.
06:56.47akbok..
06:56.59jasonbMake sure you pass it to the JDBC driver, though.
06:57.17akb:( how do i pass it?
06:57.33jasonbYou've asked that question like 4 times now, and I've answered it that many times.
06:57.39akboh
06:57.48akbu mean the way u told me
06:57.48akbk
06:58.08akbman i never did this in my life.. and to top it all my mind is a mess at this moment, I am sorry if i sound irritating
06:58.52jasonbYou do need to be able to focus, and to spend a little time on researching and fixing this problem.. otherwise you'll never fix it.
06:59.10akbyes i realise that and understand it very well
07:00.29akbbrb i will try what you said right now :)
07:00.34akbone min
07:03.34nDuff<PROTECTED>
07:15.12akbthe method toString
07:15.34akbit says cant resolve symbol
07:56.15*** join/#tomcat Nurbs (~foo@p50859F30.dip.t-dialin.net)
08:49.17*** join/#tomcat hans___ (~chatzilla@p50800362.dip0.t-ipconnect.de)
08:50.19hans___Hi, is there a change log for the Tomcat 4.x releases somewhere in the web?
08:52.07*** join/#tomcat samppa (~samppa@a4.veijo.ton.tut.fi)
08:53.28samppahi, any http gurus here? i'd like to know the use of IdentityOutputFilter, in which case does Tomcat use identity for Transfer-Encoding?
08:55.39samppain RFC 2616 there are some mentionings about identity transfer-encoding, but it is declared as "do not use" since then
08:56.21samppaTomcat contains support for it, i guess for backward compatibility
10:51.05*** join/#tomcat akb (akb@62.150.153.102)
10:51.08akbsup
11:58.14*** join/#tomcat webdaemon (~webdaemon@Mix-Marseille-107-1-77.abo.wanadoo.fr)
12:15.32*** join/#tomcat NewtUK (~chatzilla@193.133.0.124)
12:41.24*** join/#tomcat webdaemon (~webdaemon@Mix-Marseille-107-1-251.abo.wanadoo.fr)
13:58.46*** join/#tomcat funroll-loops (~cmiller@dialup-209.244.146.247.Dial1.Orlando1.Level3.net)
14:37.57*** join/#tomcat xover (~link@mail.tj.unn.no)
14:51.53*** join/#tomcat hlin___ (~trillian@h0.vonage.bbnplanet.net)
15:18.57*** join/#tomcat akb (akb@62.150.182.167)
15:19.17akbhi ppl
15:19.23akblol jasonb u here?
15:20.49*** join/#tomcat lalle (lars@h229n2fls31o267.telia.com)
15:21.04funroll-loopshi akb r u 1fngd?
15:21.27akbno funroll-loops
15:21.45akbi am unique one and only akb with equally unique situations and doubts..
15:21.48akb:S
15:22.08funroll-loopsOh, good.
15:22.15akblol
15:22.34akbjasonbbbbbbbbbbbbbbbbbbbbbeeeeeeeeeeeeeeeee where r u?
15:22.48akbumm
15:22.51akbfunroll-loops
15:23.11akbi got a doubt that jasonb cleared very well i appreciate that very much
15:23.24akbbut it didnt work :/ maybe its my fault or what i am not sure
15:23.28funroll-loopsWhat?
15:23.31akbcan i share that with you?
15:25.15funroll-loopsIf your code lacks the structure your sentences do, then I imagine it doesn't work very well/.
15:26.14akbwell I am not a cambridge or a Harward like you funroll-loops but my code and sentences do make some sense
15:27.40akbtakecare funroll-loops thanks for the help
15:30.03funroll-loopsGood riddance.  Why are some people willing and eager to trade sloppiness on their parts for difficulty on their reader's parts?  Do they think it's pleasant to read?
16:04.09*** join/#tomcat Claudus (~Claudus@dial-20-41.win.be)
16:04.13funroll-loopsHi.
16:04.21ClaudusHi
16:05.15ClaudusI dont speak english very well
16:05.28Claudusis there some people who speak french ?
16:06.02funroll-loopsPas moi.  Seulment un peu, or something like that.
16:06.12Claudusi' ve got a problem with tomcat 4.1.18
16:06.41Clauduswhen i do %CATALINA_HOME%/bin/startup on W2K
16:07.14ClaudusOOPS i've found sorry :-)
16:07.20funroll-loopsclasspath?
16:08.10Claudusi've do i mispel in java_home environment variable
16:08.11Claudushihi
16:08.22funroll-loopsWe're glad we could help.  :)
16:08.24Claudusi'am so stupid
16:08.33Claudusthank you very much :-)
16:09.51Claudusyeah it's working very well
16:10.42Claudusis it harder on linux dan w2k ?
16:11.41funroll-loopsBy "it", do you mean using Tomcat?  No.  It's pretty much the same, as far as I know.
16:12.22funroll-loopsThough, the Debian packaging of Tomcat is especially nice.
16:18.00Claudusyes tanks i'ill try immediatly
16:18.07Claudusbye and thanks
16:18.10funroll-loopsBye.
16:18.16*** part/#tomcat Claudus (~Claudus@dial-20-41.win.be)
16:55.17*** join/#tomcat Sou|cutter (Sou_cutter@el79-250.med.utah.edu)
17:11.43*** join/#tomcat jurrend (~jurrend@203.77.197.35)
17:51.37*** join/#tomcat webdaemon (~webdaemon@Mix-Marseille-106-4-199.abo.wanadoo.fr)
20:01.02*** join/#tomcat ibot (ibot@rikers.org)
20:01.02*** topic/#tomcat is Tomcat Servlet Container Discussion; The Tomcat project is located at http://jakarta.apache.org/tomcat Some other useful channels for our kind are #struts #apache #web #java
20:02.31*** join/#tomcat ldog (~ldog@ip68-2-131-23.ph.ph.cox.net)
20:05.10*** join/#tomcat kill9 (wack@ANTI2.RES.cmu.edu)
20:05.21kill9hey anyone that can help me with a basic setup q?
20:10.56kill9for some reason my servlets only work when i put them in my /examples folder... if i put them in ROOT/WEB-INF/classes/ they are 404
20:11.15kill9do i have to change tomcats config somehow?
20:15.52*** join/#tomcat LordJ|m (~more@ABordeaux-103-1-11-19.abo.wanadoo.fr)
20:16.05LordJ|mhi
20:16.09funroll-loopsHey.
20:16.38*** join/#tomcat jasonb (~jasonb@ar1-nat-sp.collab.net)
20:17.39LordJ|mis it possible to install cocoon 2.0 on tomcat 4.0.6 and over ?
20:29.01funroll-loopsEh, I want to debug some code by putting System.out.println()s in my code, which works under Linux and tomcat 4.0, but right now I'm using Windows and Tomcat 4.1.  Is there something I should be doing when using either 4.1 or Windows?
20:29.56kill9you could write to a file
20:30.08kill9i assume you are running tomcat as a service?
20:30.12funroll-loopsYes.
20:30.15kill9otherwise you can println and it will go to the console
20:30.15kill9ah ok
20:30.34kill9probably just write to a logfile
20:31.06funroll-loopsThere's a stdout.log and stderr.log in logs/, but they're misleadingly named.
22:21.27*** join/#tomcat Hellaenergy (~Hellaener@209.181.237.141)
22:21.45Hellaenergyanyone here know of a free .eps viewer?
22:31.48funroll-loopsHellaenergy: postscript?  Use a ghostscript, or a front-end for it like 'gv'.
22:44.03*** join/#tomcat destr0 (~duke@msp-65-29-38-209.mn.rr.com)
22:44.09destr0anyone home?
22:45.07jasonbno.
22:45.30destr0excellent
22:45.33funroll-loopsjasonb is right.
22:46.01destr0has anyone here had any success getting the jk2 connector to work with apache 2 on redhat8?
22:46.51destr0did you compile your own mok_jk2.so?
22:47.00jasonbYes.
22:47.09jasonbI ended up needing to, as probably most will.
22:47.32destr0yeah, I dropped it in and it keeps saying that it's not compatible with my version of apache
22:47.50jasonbRight.
22:47.54destr0dropped the binary version from the tomcat site that is.
22:47.56jasonbI have a feeling that basically everyone's in that boat.
22:48.11destr0good thing they don't put anything up on the site about that.
22:48.44destr0do you have to download tomcat source to get the mod_jk2 source?
22:48.46jasonbYeah, I just wish someone would write a new connector so we can throw away jk2.  :)
22:49.06jasonbdestr0: Nope.  jakarta-tomcat-connectors is a separate repository.
22:49.39destr0I just wish I didn't have 1 piss ant customer who has to access my servlet container on 80 because his companies firewall blocks all else.
22:52.15destr0whats the asc on the end of the jk2 module?
22:52.31jasonbasc?
22:54.30destr0there's one source package for jk2 and one with asc on the end and in the binaries section theres mod_jk-2.0.42.so and mod_jk-2.0.42.asc.so
22:55.46jasonbdestr0: Forget about the binaries.
23:00.52*** join/#tomcat TPABKA (tar@dragon.roadtoad.net)
23:00.55TPABKAhello
23:01.23TPABKAare there any docs about how to run tomcat as specified user?
23:02.23jasonbTPABKA: That's just basic UNIX stuff.  Tomcat doesn't require anything special.
23:02.39destr0jasonb: what platform did you build the connectors for?
23:03.06funroll-loopsTPABKA: Though, you can't listen on a port < 1024 if you're not root, as always.
23:03.18TPABKAjasonb: oh ok... thanks
23:03.20jasonbdestr0: Only RedHat 7.1.  But, I could have built them for Solaris as well.
23:03.28TPABKAfunroll-loops: yeah... read that
23:03.44destr0you don't still have your build.properties file handy do you?
23:03.52funroll-loopsTPABKA: Debian just su's.  It works.
23:04.31jasonbdestr0: There are several build.properties files, and anything I changed was specific to my setup, and may not apply to yours.
23:05.07jasonbdestr0: Here, read this.. it's almost correct, and quite helpful: http://www.pubbitch.org/jboss/mod_jk2.html
23:06.09TPABKAhmm
23:06.28TPABKAspeaking about connectors... which one is "the one"? :)
23:09.49*** part/#tomcat kill9 (wack@ANTI2.RES.cmu.edu)
23:10.40*** join/#tomcat oNoGM (ircap72@62-37-161-218.dialup.uni2.es)
23:11.29jasonbTPABKA: There really isn't a uber tomcat connector..  All of them suck.  :)
23:12.32TPABKAheh :)
23:12.55TPABKAi'm installing webapp...
23:13.09TPABKAis there like "leading candidate"?
23:13.27destr0excellent, thanks for that doc jasonb
23:14.06jasonbdestr0: No problem.  That's the best mod_jk2 doc I know of on the net.
23:14.43oNoGMsorry jasonb, which doc?
23:15.04jasonboNoGM: http://www.pubbitch.org/jboss/mod_jk2.html
23:15.31oNoGMthx
23:15.40jasonboNoGM: np.
23:15.57jasonbUsing that, one can actually *almost* get mod_jk2 working.  :)
23:17.13TPABKAheh
23:17.25TPABKAapache2 is still *almost* working :)
23:18.01TPABKAdo i need to build tomcat-webapp.jar?
23:28.04oNoGMsomeone can tell me if AJP is a standard protocol or an Apache protocol??
23:29.27jasonbIt's a standard Apache protocol.  :)
23:29.40funroll-loopsHa!
23:31.32oNoGMi'm looking for a specification reference or some RFC but... nothing
23:31.41funroll-loopsIt's private to Apache.
23:31.59jasonbThere is no RFC.  But, there is at least one protocol doc by Pier Fumagalli and others.
23:32.13oNoGMwhere??
23:33.16jasonboNoGM: This is *real* old, but probably still mainly applies..
23:33.21jasonboNoGM: http://java.apache.org/jserv/protocol/AJPv11.html
23:33.31oNoGMok :)
23:33.51jasonbActually, there's a newer one.. let me look for it.
23:34.04randrewhttp://jakarta.apache.org/tomcat/tomcat-3.2-doc/AJPv13.html perhaps?
23:34.51destr0jasonb: when you built for rh7.2, did you download the apache src from apache, or install the src rpm from redhat?
23:36.08jasonbrandrew: Yes, that's the one I'm thinking of.
23:36.18randrewjasonb: there's also this:
23:36.20randrewhttp://java.apache.org/jserv/protocol/AJPv21.html
23:36.33jasonbdestr0: I actually didn't need to rebuild apache2 itself.  I was able to use a binary release.
23:37.29destr0you don't need to compile the jk2 connectors against apache source code?
23:37.58jasonbrandrew: I have a feeling that ajp21 was never actually implemented.  So, some stuff in there may not apply.
23:38.14jasonbdestr0: You can compile mod_jk2 against apache2 binaries.
23:38.37destr0ahh.
23:38.39destr0awesome.
23:38.46destr0that makes life a little easier
23:38.47jasonbdestr0: I think maybe the apache2 bin distribution contains include files..
23:39.20jasonbdestr0: Yeah, heh.  So they don't make you go through totall fire and brimstone hell, just total hell.  :)
23:39.25randrewjasonb: this looks like it might be useful, too bad you need to use google to find it: http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/doc/
23:39.45jasonbrandrew: It's helpful in fewer ways than it's harmful, IMO.
23:40.17randrewjasonb: there's even an example no less!
23:40.57jasonbrandrew: The examples are horrible, and some are just plain broken.
23:41.46jasonbYou know something's really wrong when the example of how to do something doesn't work.
23:42.38randrewjasonb: are there some unbroken examples which don't use tcp/ip sockets. I have the feeling that the systems I use could be better configured in another way...
23:46.25randrewtomcat 4.1.18, apache 2.0.44 on solaris, which is the best jk2 src dist to build? should I use what's in the tomcat/v4.1.18/src dist directory?
23:46.36destr0jasonb: when you set the the apache home in your build.properties file, did you set it to the home directory of the apache executable?
23:48.18jasonbdestr0: No, to the apache2 binary distribution directory's path.
23:57.17oNoGMI have a problem witn tomcat 4.1.18
23:57.27oNoGMthe another day i installed this version, then i ran my application.
23:57.31oNoGMSuddenly, tomcat throught me an error
23:57.32oNoGMthis one:
23:57.37oNoGMcode too large for an try...catch block (more than 65535 bytes)
23:57.41oNoGMmy app runs correctly un tomcat 4.0.x
23:58.51oNoGMsomeone else has experimented this problem??
23:59.06funroll-loopsCool.
23:59.51TPABKAhmm

Generated by irclog2html.pl by Jeff Waugh - find it at freshmeat.net! Modified by Tim Riker to work with blootbot logs, split per channel, etc.