00:02.48 | *** join/#tomcat AnKaP-NiCk (n=armenicu@adsl-75-26-158-117.dsl.irvnca.sbcglobal.net) |
00:02.54 | AnKaP-NiCk | Hi all |
00:04.02 | AnKaP-NiCk | I'm trying to set up jsp application to run on Apache 2.2 trought tomcat 5.5 or 6 can anybody please help me ? |
00:05.27 | AnKaP-NiCk | anybody here ? |
00:07.56 | *** join/#tomcat ramza3__ (n=ramza3@c-24-99-72-157.hsd1.ga.comcast.net) |
00:09.52 | AnKaP-NiCk | So I guess noone uses tomcat ? what are you doing in this channel guys ? |
00:09.59 | AnKaP-NiCk | :) |
00:10.38 | *** join/#tomcat kousuke (n=kikuchi@221x251x19x21.ap221.ftth.ucom.ne.jp) |
01:22.46 | pfn | away-AnKaP-NiCk, you need to learn how to read channel topics |
01:23.34 | away-AnKaP-NiCk | yea |
01:23.50 | away-AnKaP-NiCk | I think it can't help me in this case pfn |
01:24.21 | pfn | Tomcat logs before you attempt to find an answer. SLOW MOTION CHANNEL (we all have jobs): Ask your question, including your TC, Java, & OS versions, then wait; check back often for answers. |
01:24.40 | pfn | you obviously didn't do that |
01:26.49 | away-AnKaP-NiCk | ok |
01:28.06 | away-AnKaP-NiCk | os is Slackware 10.2 tomcat is 6.0.* latest apache 2.2.* latest java is sdk 1.4.3_13 in logs I can't find anything interesting |
01:29.54 | pfn | you aren't describing your problem or question |
01:30.05 | pfn | how can we help you if you are unable to communicate what is wrong? |
01:30.30 | away-AnKaP-NiCk | ok ... can I write site names here ? |
01:31.42 | away-AnKaP-NiCk | anyway I have virtual host called mybidcentral.com doc root for this is /home/sites/test |
01:32.07 | away-AnKaP-NiCk | i have loaded jk2_mod |
01:32.29 | away-AnKaP-NiCk | im workers2.propertires it seems averything is ok ... |
01:33.18 | away-AnKaP-NiCk | tomcat is running with <host=mybidcentral.com appbase=/home/sites/test |
01:34.54 | away-AnKaP-NiCk | but when I wisit mybitcentral.com, I get there tomcat main site like i'm visiting localhost:8080 and when I visit mybidcentral.com/jsp it reads from /home/sites/test/jsp dir and anything is working |
01:41.29 | *** join/#tomcat LongBeach (n=mike@AFontenayssB-152-1-17-238.w82-121.abo.wanadoo.fr) |
01:43.34 | away-AnKaP-NiCk | so ? |
01:49.40 | *** join/#tomcat Smeven (n=steven@cmu-24-35-94-94.mivlmd.cablespeed.com) |
03:03.10 | *** join/#tomcat ramza3 (n=ramza3@c-24-99-72-157.hsd1.ga.comcast.net) |
03:17.55 | ramza3 | anybody seen this before. |
03:17.56 | ramza3 | <PROTECTED> |
03:18.31 | ramza3 | I am trying to use taglibs 2.0 and web app (web.xml) 2.3? |
03:42.11 | *** join/#tomcat rev (n=rev|x@68-112-173-50.dhcp.dlth.mn.charter.com) |
03:44.08 | rev | hi! quick question about HTTPS/SSL and tomcat... i'm trying to get our app, which runs on a linux+apache+tomcat+postgres setup for production, running on my OS X laptop. not surprisingly, it uses HTTPS left and right. my question is- if apache is used as the webserver, does tomcat know anything about the SSL layer involved? |
03:45.05 | lyken | hmm |
03:45.10 | lyken | how are you linking apache and tomcat? |
03:45.16 | lyken | proxy or jk? |
03:46.56 | rev | well, i'm not 100% off the top of my head- i'm new to tomcat and am a drop in replacement for another person... i can check. but i'm trying to get away using just the built-in tomcat server on my laptop. AFAI can tell we don't use any apache-ish stuff-= it's all routed through one magic servlet |
03:46.58 | rev | lemme check |
03:49.36 | lyken | tomcat isn't in osx by default |
03:49.39 | lyken | only jboss is |
03:49.49 | lyken | and it uses tomcat as the servlet/jsp containt |
03:49.55 | lyken | and its really old version |
03:50.04 | rev | i have tomcat insetalleda nd running |
03:50.06 | rev | that isn't the issue |
03:50.32 | rev | using tomcat's builtin web server |
03:50.57 | lyken | re-reading your first statement |
03:51.23 | lyken | your setup on the lpatop is somethign along the lines of tomcat + pg + built in apache? |
03:51.48 | rev | well, the setup on the laptop is now tomcat + pg + tomcat's http server, leaving apache out of the mix |
03:52.05 | rev | tomcat comes with its own web server, something not fancy and not for serious production |
03:52.23 | lyken | yeah i know |
03:52.25 | rev | but for dev testing it'd be fine, performance wise |
03:52.29 | lyken | yer |
03:52.33 | lyken | it'll work just dandy |
03:52.42 | rev | but the issue is the use of SSL everywhere |
03:52.47 | lyken | yer |
03:52.55 | lyken | well id just ssl'afy the tomcat box |
03:52.58 | lyken | and run everything via ssl |
03:53.24 | lyken | im not sure if tomcat gets the uri passed through from apache about ssl |
03:53.31 | lyken | it is dependant on how they setup apache and tomcat to talk |
03:53.40 | rev | here's where my ignorance shows; my knowledge of SSL is very shaky- i can't be tied to one IP, because this machine is getting a new IP all the time |
03:53.40 | lyken | whether its mod_jk or mod_proxy |
03:53.50 | rev | i'll go try to suss that one, one sec |
03:54.05 | lyken | but i think, unless its tomcat-ssl it is unaware |
03:54.24 | rev | so i could just change all the http requests to https and it should stil work? |
03:55.05 | lyken | that i am unsure of :/ |
03:55.17 | lyken | ssl is that lovely vauge bit of my knowledge |
03:55.21 | rev | yeah |
03:55.22 | lyken | i only do apache ssl or tomcat ssl |
03:55.26 | lyken | dont do much passthrough between them |
03:56.39 | rev | ok |
03:57.40 | lyken | a postgres user that isn't in the postgres chan thats a first.. |
03:57.55 | rev | heh, well, i'm not having issues with postgres at all |
03:58.33 | rev | to tell the truth, i'm really an OODBMS + Smalltalk guy and they hired me based on my knowledge of their kind of data model and some other things rather than specific PG/tomcat/java experience |
03:58.34 | rev | ;P |
03:58.59 | lyken | heh |
03:59.08 | lyken | oodbms, which server do you use for that? |
03:59.47 | rev | generally GemStone/S or Magma (for Squeak) |
04:00.01 | rev | i've only dabbled with GOODS |
04:01.03 | lyken | *nods* |
04:01.03 | rev | i've been playing around with db4o for java for freezing objects to look at later when i've run into some funky problem |
04:01.03 | lyken | oodbms has intrigued me for a while |
04:01.04 | lyken | just no one willing to pay me to learn it hehe |
04:01.31 | rev | that's the great thing about a lot of OODBMSs- you don't have to learn much more than what you already know in java |
04:02.09 | rev | at least with the two ones i use in smalltalk, some OODBMS are quite different, there isn't any fancy query language, you're just dealing with objects transparently as if they were on your system, but with transaction supported added |
04:02.45 | rev | so, generally, in addition to a line or two of code bracketing what you are trying to commit, the rest is regular smalltalk |
04:03.12 | rev | not sure if there are oodbms that are that nice for java, but i'd hope so... db4o for java is pretty nice, but not quite *that* nice, but still easy as pie |
04:03.48 | lyken | cools |
04:05.41 | rev | yeah, it is pretty amazing |
04:06.01 | lyken | i need to get out of academia ive been at uni too long |
04:06.20 | rev | part of it is faciliated by the kind of collections libraries you have in smalltalk plus the closure functionality ... like, you just do something like this to find a person named "lyken" instead of fancy sql |
04:07.10 | rev | (DB at: #Root) select: [ :person | person name = 'lyken' ]. |
04:07.25 | lyken | very ruby on rails approach heh |
04:07.45 | lyken | so its almost like an abstraction layer but not? |
04:07.45 | rev | which is the same thing oyu'd do to find the person object with the name lyken if you had a collection on your hands, replacing (DB at: #Root) wit the variable name of the collection |
04:07.58 | lyken | *nods* |
04:08.03 | rev | well, where do you think RoR got it in the first place? :) |
04:08.11 | lyken | hehe, exactly :) |
04:09.24 | lyken | too many geeks work too many hours i say |
04:11.27 | rev | ain't that the truth :) |
04:20.38 | rev | i only work a healthy 40-45 hours a week... cna't imagine pulling 60-80+ weeks |
04:21.07 | rev | i used to go to college full time and work 50 hours a week and that was hell on earth, never want to see that again, even if i'm getting paid for it all :P |
04:26.52 | rev | well, lyken i appreciate the help... i ended up just setting up SSL for the builtin tomcat web server |
04:27.02 | rev | it wasn't hard at all, not sure why i just didn't do it in the first place! :P |
05:25.23 | *** join/#tomcat jasonb (i=noneoyer@adsl-66-124-73-250.dsl.sntc01.pacbell.net) |
05:58.31 | *** join/#tomcat a4akb (n=Akbara@221.134.208.53) |
08:02.04 | *** join/#tomcat seshf (n=hallo@mx1.hesgdv.de) |
08:32.31 | *** join/#tomcat ezratay (n=etaylor@p78-70.acedsl.com) |
08:32.43 | *** join/#tomcat wam (n=wam@p549CFC4F.dip.t-dialin.net) |
08:57.57 | *** join/#tomcat kasbah (n=kasbah@62.206.116.171) |
09:28.31 | *** join/#tomcat wam (n=wam@p549CD295.dip.t-dialin.net) |
09:35.19 | *** join/#tomcat prgrmr_ (n=prgrmr@bzq-88-154-59-214.red.bezeqint.net) |
09:47.35 | *** join/#tomcat lamech (n=dan@cheshirecat.manxome.org) |
10:28.29 | *** join/#tomcat shinmaz (n=shinma@18.90-14-84.ripe.coltfrance.com) |
10:28.33 | shinmaz | hi there |
10:28.43 | shinmaz | hi |
10:28.53 | shinmaz | can i ask you a question about mod_jk for apache ? |
10:30.03 | lyken | you can ask it |
10:30.11 | lyken | if you're lucky someone might be able to help |
10:30.17 | lyken | but most of us avoid mod_jk use |
10:31.11 | shinmaz | why ? |
10:31.23 | lyken | cause its a pain to use, configure and debug |
10:31.33 | shinmaz | is there any way to get the real Client information into Java without it ? |
10:31.46 | lyken | mod proxy? |
10:31.52 | shinmaz | While using ProxyPass directives for instance you cant get the real Client IP Adresse etc ..... |
10:31.56 | shinmaz | am i right ? |
10:32.02 | lyken | i dont see why not |
10:32.23 | shinmaz | you ll see the IP Adress of the Apache Host connecting to the Tomcat engine .... |
10:32.32 | shinmaz | not the browser IP |
10:32.39 | shinmaz | this is not a question, this is an affirmation |
10:32.43 | shinmaz | :) |
10:32.54 | lyken | depends on which funtion call you make |
10:32.59 | shinmaz | ? |
10:33.24 | shinmaz | HTTPSession.GetAddress or something like that ! |
10:33.39 | shinmaz | The J2EE Function exposing the browser Address simply ... |
10:33.44 | shinmaz | for HTTPSession |
10:35.06 | lyken | i know its possible |
10:35.08 | lyken | i have done it |
10:35.11 | lyken | just not in about 2yrs |
10:35.24 | shinmaz | mmmmm |
10:35.35 | shinmaz | Can you send me the code if you still have it ? |
10:35.45 | lyken | thats what im looking for |
10:35.49 | shinmaz | ty |
10:35.52 | lyken | seems i dont have it, and i shouldn't have it actually heh |
10:36.05 | shinmaz | :( |
10:36.07 | shinmaz | ik |
10:36.25 | lyken | but give me a few |
10:36.28 | lyken | i might have something else for ya |
10:37.43 | lyken | can't find it |
10:37.47 | lyken | and all my reference mans are at work |
10:38.02 | lyken | if you hang around other europeans should be awake soon enough |
10:38.59 | shinmaz | HttpServletRequest.getRemoteAddress Give the IP of Apache and not the IP of the Web browser while not usgin mod_jk ! |
10:39.10 | shinmaz | i just give it a try |
10:42.12 | *** join/#tomcat seshf (n=hallo@mx1.hesgdv.de) |
10:43.38 | shinmaz | <PROTECTED> |
10:48.24 | Hugh_ | <shinmaz> is there any way to get the real Client information into Java without it [mod_jk]? <- yes, mod_proxy adds a X-Forwarded-For http header that contains the original IP address |
10:48.55 | Hugh_ | not sure whether it overwrites or augments an existing X-Forwarded-For header if one was passed though |
10:50.15 | shinmaz | ok |
10:50.19 | shinmaz | ty for the hint ! |
10:51.30 | shinmaz | But thats not standard and as a company, some of our client works with some other engine than Tomcat, like Weblogic or WebSphere ! |
10:51.32 | shinmaz | :) |
11:07.03 | *** join/#tomcat lukenet (n=e9925905@L0188P19.dipool.highway.telekom.at) |
11:20.31 | Hugh_ | it's a problem that any servlet container will have if you are using it behind mod_proxy |
11:20.46 | lyken | yup |
11:21.29 | Hugh_ | i don't know what your product is, but you probably want to leave it up to the admin to sort out, or provide some mod_proxy compatability option that uses the other header |
11:21.36 | lyken | yer |
11:27.10 | *** join/#tomcat gregor_k (n=Miranda@p54A18D7B.dip0.t-ipconnect.de) |
13:11.50 | *** join/#tomcat JasDA (n=root@v078.my-vserver.net) |
13:15.03 | JasDA | Hi, does anyone know if it is possible to add the memory usage of the virtual machine to every log4j entry? |
13:24.26 | *** join/#tomcat avramucz (n=avramucz@62.201.97.144) |
13:55.09 | *** join/#tomcat a4akb (n=Akbara@221.134.208.53) |
14:09.56 | *** join/#tomcat juju (n=juju@LAubervilliers-151-11-60-55.w193-251.abo.wanadoo.fr) |
14:20.59 | *** join/#tomcat chrismog (n=cgegner@pool-151-199-172-205.lyn.east.verizon.net) |
14:41.15 | *** join/#tomcat lemao_ (n=lemao@201-68-66-175.dsl.telesp.net.br) |
14:42.25 | lemao_ | Hi. I have an html page that is rendered correctly if I serve it directly from Tomcat but is rendered as text if served from Apache+mod. Any ideas? |
14:43.19 | lemao_ | The browser shows text/html when served directly by tomcat and text/plain when served by Apache+mod_jk+Tomcat |
14:46.40 | *** join/#tomcat wsmoak (n=wsmoak@ip68-96-53-53.ph.ph.cox.net) |
14:48.35 | *** join/#tomcat randrew (n=raj@dolmen.cc.columbia.edu) |
14:50.24 | *** join/#tomcat dingo00w011 (n=dingo001@66.0.129.146) |
14:55.39 | *** join/#tomcat Tomasso (n=nobody@200.123.177.145) |
14:55.51 | Tomasso | how do i deploy an application using linux |
14:56.31 | Tomasso | the easiest way |
15:01.54 | *** join/#tomcat seevash (n=jixjax@user-1121aj9.dsl.mindspring.com) |
15:08.40 | dingo00w011 | has anyone here used basecamp from the 37 signals company - i have a feature that i need to implemnt - virtual hosts- in tomcat- but i do not know where to start or whether i know what i am doing |
15:10.30 | *** join/#tomcat mfroes (n=froid@200-162-218-81.corp.ajato.com.br) |
15:10.37 | mfroes | do anyone knows how to develop a java based network speed test ? |
15:11.13 | wam | mfroes: define "network speed test" |
15:11.45 | mfroes | wam: upload/download rates and packet loss |
15:39.03 | *** join/#tomcat loris_p (n=loris_p@adsl-ull-101-203.47-151.net24.it) |
15:42.25 | *** join/#tomcat loris_p (n=loris_p@adsl-ull-101-203.47-151.net24.it) |
15:42.50 | loris_p | hi |
15:43.37 | loris_p | i have a problem with my first application using tomcat |
15:44.06 | loris_p | i wrote 3 java classes and put it into WEB-INF/classes |
15:44.36 | loris_p | then i wrote a page index.jsp and put it into application root |
15:44.59 | loris_p | in this page i need to use some objects from the 3 classes |
15:45.42 | loris_p | but when i try to use them the server tells me that can't resolv class x like a type |
15:45.53 | loris_p | what am i forgetting? |
15:55.41 | loris_p | please can someone help me? i read a lot of documentation but i didn't find what i need.. |
16:10.10 | randrew | loris_p: are the classes in packages? |
16:10.49 | loris_p | no |
16:10.54 | loris_p | they're .class |
16:12.00 | loris_p | now it's seems to work.. |
16:12.07 | loris_p | i don't know why |
16:12.12 | loris_p | i did nothing :) |
16:12.47 | loris_p | another question: do i always have to write web.xml file? |
16:13.16 | loris_p | (my classes don't produce html and aren't servlet) |
16:13.28 | randrew | yes, web.xml is required by the spec |
16:14.05 | loris_p | uhm ok..and what i write into it if i haven't any servlet? (jsp pages use classes) |
16:16.11 | randrew | <web-app xmlns="http://java.sun.com/xml/ns/j2ee" |
16:16.11 | randrew | <PROTECTED> |
16:16.11 | randrew | <PROTECTED> |
16:16.11 | randrew | <PROTECTED> |
16:16.11 | randrew | </web-app> |
16:17.04 | loris_p | oh thanks :D |
16:17.10 | randrew | : ) |
16:17.34 | randrew | everything's optional, look at the examples w/binary dist |
16:18.22 | loris_p | ok |
16:45.47 | loris_p | bye |
16:45.51 | *** part/#tomcat loris_p (n=loris_p@adsl-ull-101-203.47-151.net24.it) |
16:45.51 | *** join/#tomcat gregor_k_ (n=Miranda@p54A18D7B.dip0.t-ipconnect.de) |
17:04.13 | lemao_ | any body with mod-jk experience? |
17:05.59 | *** part/#tomcat ezratay (n=etaylor@p78-70.acedsl.com) |
17:10.51 | *** join/#tomcat scerra (n=chatzill@mail.mckesson.fr) |
17:23.18 | scerra | Hi, |
17:23.19 | scerra | I'd like to make the users administration of my applications in batch mode : |
17:23.21 | scerra | <PROTECTED> |
17:23.23 | scerra | <PROTECTED> |
17:23.25 | scerra | <PROTECTED> |
17:23.26 | scerra | <PROTECTED> |
17:23.28 | scerra | <PROTECTED> |
17:23.29 | scerra | <PROTECTED> |
17:23.31 | scerra | <PROTECTED> |
17:23.32 | scerra | <PROTECTED> |
17:23.34 | scerra | <?xml version="1.0" encoding="UTF-8"?> |
17:23.35 | scerra | <Server |
17:23.37 | scerra | <PROTECTED> |
17:23.38 | scerra | <PROTECTED> |
17:23.40 | scerra | <PROTECTED> |
17:23.42 | scerra | <PROTECTED> |
17:23.43 | scerra | <PROTECTED> |
17:23.45 | scerra | <PROTECTED> |
17:23.47 | scerra | <PROTECTED> |
17:23.49 | scerra | <PROTECTED> |
17:23.50 | scerra | <PROTECTED> |
17:23.52 | scerra | <PROTECTED> |
17:23.53 | scerra | <PROTECTED> |
17:23.55 | scerra | <PROTECTED> |
17:23.57 | scerra | <PROTECTED> |
17:23.58 | scerra | <PROTECTED> |
17:24.00 | scerra | <PROTECTED> |
17:24.02 | scerra | <PROTECTED> |
17:24.04 | scerra | <PROTECTED> |
17:24.06 | scerra | <PROTECTED> |
17:24.08 | scerra | <PROTECTED> |
17:24.10 | scerra | <PROTECTED> |
17:24.12 | scerra | <PROTECTED> |
17:24.14 | scerra | <PROTECTED> |
17:24.16 | scerra | <PROTECTED> |
17:24.18 | scerra | <PROTECTED> |
17:24.20 | scerra | <PROTECTED> |
17:24.22 | scerra | <PROTECTED> |
17:24.24 | scerra | <PROTECTED> |
17:24.26 | scerra | <PROTECTED> |
17:24.28 | scerra | <PROTECTED> |
17:24.30 | scerra | <PROTECTED> |
17:24.32 | scerra | <PROTECTED> |
17:24.34 | scerra | <PROTECTED> |
17:24.36 | scerra | <PROTECTED> |
17:24.38 | scerra | <PROTECTED> |
17:24.40 | scerra | <PROTECTED> |
17:24.42 | scerra | <PROTECTED> |
17:24.44 | scerra | <PROTECTED> |
17:24.46 | scerra | <PROTECTED> |
17:24.48 | scerra | </Server> |
17:24.50 | scerra | My build.xml : |
17:24.52 | scerra | <?xml version="1.0"?> |
17:24.54 | scerra | <!-- This is an example of how to call JMX MBeans from Ant. --> |
17:24.56 | scerra | <project name="tomcat JMX" default="main" basedir="." |
17:24.58 | scerra | <PROTECTED> |
17:25.00 | scerra | <PROTECTED> |
17:25.02 | scerra | <PROTECTED> |
17:25.04 | scerra | <PROTECTED> |
17:25.06 | scerra | <PROTECTED> |
17:25.08 | scerra | <PROTECTED> |
17:25.10 | scerra | <PROTECTED> |
17:25.12 | scerra | <PROTECTED> |
17:25.14 | scerra | <PROTECTED> |
17:25.16 | scerra | <PROTECTED> |
17:25.18 | scerra | <PROTECTED> |
17:25.20 | scerra | <PROTECTED> |
17:25.22 | scerra | <PROTECTED> |
17:25.24 | scerra | <PROTECTED> |
17:25.26 | scerra | </project> |
17:25.28 | scerra | The result : |
17:25.30 | scerra | Buildfile: build.xml |
17:25.32 | scerra | main: |
17:25.34 | talley | wow. you never heard of www.rafb.net/paste ? |
17:25.34 | scerra | BUILD FAILED |
17:25.36 | scerra | /soft/testsPackagingJ2EE/mckJ2EEApps/testjmx/build.xml:17: javax.management.InstanceNotFoundException: Catalina:type=Realm,path=,host=localhost |
17:25.39 | scerra | Thanks for answers. |
17:30.22 | scerra | sorry, newbie in irc ! |
17:32.41 | *** join/#tomcat a4akb (n=Akbara@221.134.40.116) |
17:33.10 | *** join/#tomcat ForumGuest2506 (n=ForumGue@e-docs.fatwire.com) |
17:42.54 | DenF | I have 2 cluster members, both using Tomcat 5.5 on Solaris 10. I have a webapp deployed on both, and can start up the two servers fine. The webapp is able to sync both together. However, when I shutdown one of the server, it would take forever to shutdown, and my webapp continues to spit out sync errors in the log file (not in the server log). I have waited hours, and the log continues to grow, but the server does not shutdown unless I manually kill the |
17:44.06 | talley | line was too long, got stripped at: "unless I manually kill the |
17:44.09 | talley | " |
17:44.10 | *** join/#tomcat scerra (n=chatzill@mail.mckesson.fr) |
17:46.05 | *** join/#tomcat scerra (n=chatzill@mail.mckesson.fr) |
17:51.47 | DenF | continuing from above: the process. Is this a problem with my webapp, or is there something wrong in my Tomcat setting? Feel free to give me a PM. |
18:12.22 | *** part/#tomcat a4akb (n=Akbara@221.134.40.116) |
18:13.17 | *** join/#tomcat scerra (n=chatzill@mail.mckesson.fr) |
18:14.01 | *** join/#tomcat jasonb (i=noneoyer@adsl-66-124-73-250.dsl.sntc01.pacbell.net) |
19:07.23 | *** join/#tomcat Hugh (n=Hugh@puma.mxtelecom.com) |
19:11.50 | *** join/#tomcat l0ngbeach (n=mike@AFontenayssB-152-1-63-201.w82-121.abo.wanadoo.fr) |
19:29.11 | *** join/#tomcat scerra (n=chatzill@mail.mckesson.fr) |
19:34.13 | *** join/#tomcat scerra (n=chatzill@mail.mckesson.fr) |
20:02.18 | *** join/#tomcat kab (n=abarrera@nat.ti.uach.mx) |
20:03.15 | *** join/#tomcat scerra (n=chatzill@mail.mckesson.fr) |
20:03.39 | *** join/#tomcat Andrea (n=Andrea@host-84-221-253-23.cust-adsl.tiscali.it) |
20:34.59 | *** part/#tomcat wltjr (n=wltjr@gentoo/developer/wltjr) |
20:36.54 | *** join/#tomcat scerra (n=chatzill@mail.mckesson.fr) |
20:38.07 | *** join/#tomcat glen_quagmire (n=Miranda@dsl092-118-166.nyc2.dsl.speakeasy.net) |
20:38.21 | glen_quagmire | can I know the host name from .war file ? |
20:38.42 | glen_quagmire | i have a java class in war file. and i need to do something based on the host address. |
20:38.55 | glen_quagmire | if .war is deployed in a.com, i want to get "a.com" |
20:39.58 | Andrea | glen_quagmire: request.getServerName() |
20:40.22 | glen_quagmire | thanks |
20:42.12 | Andrea | anyone knows where I can find the request URL, inside a jsp responding as an error-page (e.g. HTTP error 404) |
20:42.27 | Andrea | ? |
20:43.53 | *** part/#tomcat dingo00w011 (n=dingo001@66.0.129.146) |
20:44.16 | *** join/#tomcat scerra (n=chatzill@mail.mckesson.fr) |
20:51.07 | *** join/#tomcat scerra (n=chatzill@mail.mckesson.fr) |
20:51.44 | *** join/#tomcat michael (n=michael@213.174.245.247) |
20:58.54 | *** part/#tomcat randrew (n=raj@dolmen.cc.columbia.edu) |
20:59.01 | michael | hallo maybe someone of you can give me a little help. I need to extract from an X509 certificate (x509=X509Certificate.getInstance(anInputStream)) the public key (x509.getPublicKey()). This return an instance of class sun.security.x509.X509Key. I know that the certificates public key is an ECPublicKey (Elliptic Curve PK). But how can i get access to the actual ECPublicKey object, a simple cast from X509Key to ECPublicKey fails. I now this question is n |
20:59.02 | michael | ot specific to tomcat development but i think you know about the java security apis. great thx in advance! |
21:05.06 | Andrea | michael: did you tried to inspect the Object tye returned ? |
21:06.52 | *** join/#tomcat scerra (n=chatzill@mail.mckesson.fr) |
21:11.43 | *** join/#tomcat LiquidG (n=LiquidG@m815f36d0.tmodns.net) |
21:12.18 | LiquidG | how do i upgrade to tomcat native 1.1.2 if i'm on 1.1.1? I've d/l'ed the zip, no clue where/what to do with it |
21:14.49 | *** join/#tomcat Netslayer (n=chris@208.66.26.4) |
21:15.09 | Andrea | LiquidG: you really mean Tomcat version 1.x ? |
21:15.33 | Andrea | are you shure? on the TC website I can see supported 3.x and later.. |
21:15.41 | Andrea | shure = sure |
21:16.36 | Andrea | I guess you mean TC version 3.3.2 (JSP 1.1) |
21:17.35 | LiquidG | Andrea: i've d/l'ed tomcat 5.5.16 (a pre-req for a custom app), and from the tomcat site it recommends upgrading from tomcat native 1.1.1 to 1.1.2 (1.1.1 comes with tomcat 5.5.16) |
21:18.16 | LiquidG | and i have not clue what tomcat native 1.1.1 is :) ... i just do what the release notes tell me to |
21:18.18 | Andrea | LiquidG: oh, I see. I stop where version 5 starts.. sorry. |
21:19.19 | LiquidG | Andrea: thanks anyway ... i'll dig around some more ... i'm hoping here is an exe so that i don't have to recompile anything |
21:20.12 | michael | yes it is an X509Key class |
21:20.52 | *** join/#tomcat scerra (n=chatzill@mail.mckesson.fr) |
21:22.21 | LiquidG | michael: if i'm not authenticating against anything (this is for a dev box), will it matter if i stay on native 1.1.1 and not upgrade? |
21:30.34 | Andrea | michael: I can't find X509Key, just X509Certificate (a container) or X509EncodedKeySpec |
21:31.11 | michael | <PROTECTED> |
21:31.29 | michael | System.out.println(pubkey.getClass()); gives me this classname |
21:32.13 | *** join/#tomcat AnKaP-NiCk (n=armenicu@adsl-75-26-158-117.dsl.irvnca.sbcglobal.net) |
21:32.18 | AnKaP-NiCk | Hi |
21:32.36 | AnKaP-NiCk | anyone can help me with java classes ? I get this error for my client site corticalx.cx_pos.main.SystemAttributes |
21:33.34 | AnKaP-NiCk | org.apache.jasper.JasperException: javax.servlet.ServletException: java.lang.NoClassDefFoundError: Could not initialize class corticalx.cx_pos.main.SystemAttributes |
21:34.11 | AnKaP-NiCk | How can I solve this ? where to download and what to download ... please |
21:34.45 | AnKaP-NiCk | USING Slack 10.2 and TOMCAT 6.0.2 |
21:39.32 | *** join/#tomcat A10n (n=A10n@g2spf.jeeves.ask.info) |
21:40.52 | *** join/#tomcat scerra (n=chatzill@mail.mckesson.fr) |
21:41.12 | A10n | Hi, I'm using tomcat 5.5.x, and I want to create my own connector and setup my server.xml file to open up multiple ports with some using the Http connector and some using a different connector. Is this possible? I noticed that for tomcat 4, you were able to specify a className in the <connector> tag, but I don't see it anymore in tomcat 5.5.x. Thanks for the hle |
21:41.41 | Andrea | michael: I can't go further with the sun.* hierarchy as I can't find docs. Did you already tried with what's in java.security.cert.* ? |
21:42.26 | michael | i'm currently searching the api for any examples or something |
21:42.43 | michael | but it does not look good |
21:42.58 | AnKaP-NiCk | Hi all |
21:43.08 | michael | the java security api is a litte weird |
21:43.30 | Andrea | AnKaP-NiCk: I think you're searching for something created upon a commercial sw: http://www.corticalx.com/services.html Just guessing (better, googling ;) |
21:44.03 | AnKaP-NiCk | Andrea thank you , googling couldn't help me :) |
21:45.15 | AnKaP-NiCk | Andrea do you think they were writing their own java class libraries for hosting ? |
21:45.25 | michael | thx for the help cu |
21:46.06 | AnKaP-NiCk | Kinda I can not use their application on another hosting after quiting contract with them ? |
21:46.13 | *** join/#tomcat scerra (n=chatzill@mail.mckesson.fr) |
21:47.43 | AnKaP-NiCk | Andrea can you plase have a look at the application source ? may be you can help me to substitute their classes with others ? |
21:48.13 | *** join/#tomcat scerra (n=chatzill@mail.mckesson.fr) |
21:55.47 | *** join/#tomcat Jara[zZ] (n=rimaraj@62.123.204.106) |
21:56.13 | *** join/#tomcat scerra (n=chatzill@mail.mckesson.fr) |
22:04.56 | *** join/#tomcat scerra (n=chatzill@mail.mckesson.fr) |
22:14.54 | pfn | don't use silly autoaway scripts |
22:16.41 | jasonb | pfn: You don't do lots of silly things that newbies do. :) |
22:17.24 | *** join/#tomcat scerra (n=chatzill@mail.mckesson.fr) |
22:17.43 | pfn | of course, but we're not newbies |
22:19.20 | jasonb | If only we were newbies.. |
22:19.42 | jasonb | Just think how silly we could be! |
22:25.47 | jasonb | Hmm, if one has a 2D array (in Java) and does int x = arrayName.length; then does x equal the size of the first dimension always? Or, what? |
22:26.19 | pfn | that's a legitimate question? |
22:26.32 | pfn | the answer is yes |
22:26.38 | jasonb | Okay. |
22:26.53 | jasonb | Thanks. I thought so. I was too lazy to google about it. |
22:27.07 | jasonb | That's one of those questions that is likely to be hard to google & get the answer. |
22:31.56 | pfn | well, now that I learned xsl-fo, I think I'm going to rewrite my resume pdf |
22:32.03 | pfn | instead of using the default sean kelly template |
22:33.11 | *** join/#tomcat scerra (n=chatzill@mail.mckesson.fr) |
22:35.06 | *** join/#tomcat Andrea (n=Andrea@host-84-221-253-168.cust-adsl.tiscali.it) |
22:36.25 | A10n | where do i download the source code for org.apache.coyote ? |
22:36.33 | jasonb | heh |
22:36.40 | jasonb | In ASF svn? |
22:36.50 | A10n | Url please? |
22:38.29 | pfn | it should be quite trivial to find |
22:38.37 | pfn | as well, there are source tarballs of tomcat |
22:39.07 | A10n | I have tomcat source code, but it doesn't have org.apache.coyote code |
22:39.25 | jasonb | A10n: It's in the Tomcat connectors src release. |
22:39.54 | jasonb | (tomcat.apache.org is slow right now) |
22:40.01 | *** join/#tomcat scerra (n=chatzill@mail.mckesson.fr) |
22:40.08 | jasonb | http://tomcat.apache.org/download-connectors.cgi |
22:40.18 | A10n | okay, I wasn't sure about that |
22:40.27 | A10n | you know, typing svn.apache.org shouldn't be so hard |
22:41.09 | pfn | you're assuming it's something we know off the top of our heads |
22:41.18 | pfn | which may or may not be the case |
22:41.37 | A10n | <pfn> it should be quite trivial to find |
22:41.41 | A10n | <jasonb> In ASF svn? |
22:41.59 | A10n | i was thinking apache.sourceforge.com |
22:41.59 | pfn | I don't know where it is, I know it's trivial to find |
22:42.01 | A10n | pffff |
22:42.06 | A10n | well thanks for the help. |
22:42.15 | pfn | and ASF svn isn't sourceforge |
22:42.38 | A10n | well that is what I thought ASF stood for. Apache Source Forge instead of Apache Software Foundation |
22:42.50 | jasonb | The URL I gave doesn't work somehow? |
22:43.04 | *** part/#tomcat Andrea (n=Andrea@host-84-221-253-168.cust-adsl.tiscali.it) |
22:43.20 | A10n | it probably does, I havne't tried it yet, but I have came accross that page already. |
22:43.23 | jasonb | Apache Source Forge! Hey, that's a neat idea.. |
22:44.03 | A10n | heh... |
22:44.48 | A10n | jasonb, there isn't an svn repo for the connectors? |
22:45.00 | jasonb | A whole svn repo for just that? |
22:45.43 | A10n | I'm sure developrs who make the connectors use svn... |
22:45.56 | jasonb | They do. |
22:46.53 | jasonb | A10n: Hmm, so the "SVN Repositories" link that is right on the Tomcat home page didn't work for you somehow either? |
22:48.18 | A10n | no, its hard to find it when i'm using brial |
22:49.11 | *** join/#tomcat scerra (n=chatzill@mail.mckesson.fr) |
22:50.27 | jasonb | brial = your hands over your eyes? |
22:51.10 | *** join/#tomcat scerra (n=chatzill@mail.mckesson.fr) |
22:51.36 | *** join/#tomcat tvf (i=tvf-chat@nat/ibm/x-5a49c847db41ce00) |
22:54.44 | A10n | what? I can't read that :P |
22:54.58 | A10n | well thanks for the help, I have to make a custom connector/protocol to do some things |
22:55.10 | *** join/#tomcat scerra (n=chatzill@mail.mckesson.fr) |
23:12.07 | pfn | brial = braille? |
23:13.09 | *** join/#tomcat scerra (n=chatzill@mail.mckesson.fr) |
23:19.53 | *** join/#tomcat scerra (n=chatzill@mail.mckesson.fr) |
23:29.17 | *** join/#tomcat lemao (n=lemao@201-68-66-175.dsl.telesp.net.br) |
23:35.09 | *** join/#tomcat ramza3 (n=ramza3@c-24-99-72-157.hsd1.ga.comcast.net) |
23:46.44 | seevash | Any baby? |
23:46.53 | *** join/#tomcat lemao_ (n=lemao@201-68-66-175.dsl.telesp.net.br) |