00:00.26 | yassine | jasonb, do you happen to know how i could make multiple inserts with jdbc ? |
00:00.50 | yassine | okay i got dc grgrg |
00:01.59 | yassine | ahh |
00:01.59 | yassine | im here :) |
00:01.59 | jasonb | multiple inserts? |
00:01.59 | yassine | yes to 3 differnt tables |
00:01.59 | yassine | one query |
00:01.59 | jasonb | well, if you make it a JOIN. |
00:03.42 | jasonb | insert into table1, table2 values ('column1 table1 value', 'column1 table2 value'); |
00:03.44 | jasonb | something like that. |
00:05.26 | yassine | ahh okay |
00:06.03 | yassine | merci :) |
00:06.34 | yassine | one laste question before i go sleep what does this directive mean : maxWait="-1" ? |
00:06.58 | jasonb | my sql may not work, but I'm pretty sure you can do it. :) |
00:07.13 | yassine | its for postgresql |
00:07.26 | yassine | i found it here : https://wiki.objectweb.org/jonas/Wiki.jsp?page=Tomcat-To-JOnAS |
00:07.40 | jasonb | Looks like the -1 disables the maxWait feature, whatever the maxWait feature does. |
00:09.17 | yassine | mhh |
00:09.20 | jasonb | maxWait: Maximum time to wait for a dB connection to become available |
00:09.20 | jasonb | <PROTECTED> |
00:09.20 | jasonb | <PROTECTED> |
00:09.52 | yassine | ahhh okay |
00:09.55 | jasonb | http://tomcat.apache.org/tomcat-5.5-doc/jndi-datasource-examples-howto.html |
00:10.19 | jasonb | JOnAS rulez.. except for the license. |
00:13.52 | rhizmoe | okay, following up on my earlier userdir tomcat brouhaha |
00:13.55 | jasonb | Man, this is goofy!: https://wiki.objectweb.org/jonas/Wiki.jsp?page=JOnASLicensing |
00:14.19 | rhizmoe | can i just add random directories to a tomcat instance with a context? |
00:14.35 | rhizmoe | obviously i'm not a programmer if i'm asking basic questions about what a context can do. |
00:14.39 | rhizmoe | fwiw |
00:15.17 | jasonb | What do you mean by "add"? |
00:15.27 | jasonb | And, do you mean inside of one already-deployed webapp or what? |
00:16.04 | yassine | good night jasonb n8 all |
00:16.51 | rhizmoe | actually, i think i misstated my question. i'd like another ROOT on a different port. |
00:17.21 | rhizmoe | so that host.name:8080/index.jsp is one webapp and :9999/index.jsp is another |
00:17.51 | rhizmoe | preferably without two tomcat instances |
00:18.01 | rhizmoe | which would be silly anyway |
00:18.02 | rhizmoe | :) |
00:20.50 | jasonb | g'night yassine |
00:22.20 | jasonb | rhizmoe: Same exact host name? |
00:22.32 | jasonb | (in both cases?) |
00:23.24 | rhizmoe | yes |
00:23.47 | rhizmoe | QA junk. devs need a solo instance/webapp |
00:25.03 | jasonb | I don't think you can do that with Tomcat. |
00:25.12 | jasonb | I never even thought of doing that, in fact. :) |
00:25.30 | rhizmoe | really?! |
00:26.08 | jasonb | There might be ways of rewriting the URLs internally to Tomcat, like with the RewriteValve.. and then map requests off to a different webapp. |
00:26.15 | jasonb | (one that isn't the ROOT webapp) |
00:26.20 | jasonb | But, otherwise, there is no way to do it. |
00:26.24 | rhizmoe | so maybe just give them a dir under webapps like "QA_DEV" or something and let them go nuts that way? |
00:26.41 | rhizmoe | hmm, weird. i'd figure you could divide it up by port. |
00:26.52 | jasonb | You really can't. |
00:27.10 | jasonb | .. unless I'm missing something pretty groundbreaking, and I doubt it. :) |
00:27.38 | jasonb | You can use the same IP address for lots of different host names, and each host name can have a different ROOT webapp. |
00:27.47 | jasonb | But, you cannot have more than one ROOT webapp per host name. |
00:27.59 | jasonb | (even if the requests come in over different ports) |
00:28.20 | jasonb | I must agree that that's a pretty strange limitation. |
00:28.32 | jasonb | It should be one webapp per host:port combo. |
00:28.43 | jasonb | One ROOT webapp that is. |
00:28.56 | jasonb | Or, even one ROOT webapp per protocol://host:port combo. |
00:31.40 | rhizmoe | i guess most situations are handled well enough by people dev'ing on their own boxes :) |
00:35.37 | jasonb | Yeah, but that restriction is sort of arbitrary, and doesn't need to be there. |
00:39.59 | rhizmoe | i want a refund! |
00:40.17 | jasonb | heh! |
00:41.06 | jasonb | Probably RewriteValve would let you do it.. (I'm guessing) |
00:51.19 | *** join/#tomcat remnant (n=lenhan@80362923.dynamic.ucsd.edu) |
01:48.52 | *** join/#tomcat Roaming_Lion (n=Vengeful@cpc2-bror1-0-0-cust260.bmly.cable.ntl.com) |
01:50.39 | Roaming_Lion | Hello all |
01:53.21 | Roaming_Lion | wanting to know whether or not Apache alone can get your site on the web. probably a cringeworthy question to all here, but I had to ask Someone. can Apache alone get my site web'd, or do I need to buy a domain? |
01:58.57 | oxblood | I like your thinking: "webbing my site." |
01:59.47 | oxblood | If you want to have your own domain, of course you have to purchase it with a registrar then have a DNS server to host that domain. |
02:00.18 | oxblood | Unless you are willing to live with accessing your web server via IP. |
02:00.30 | oxblood | Ok, I gotta go to the airport... Argh! |
02:00.46 | Roaming_Lion | that's what I was getting at.. web access. |
02:01.08 | Roaming_Lion | please miss your flight and tell me how to get beyond my own network. |
02:08.08 | Roaming_Lion | It's just for coursework, and I'm an Apache n00b. site's all set up, and server's all config'd, except webusers cannot access it. probably one line of host info I'm missing. anybody? |
02:11.39 | *** join/#tomcat dingo00w011 (n=dingo001@68.113.113.75) |
02:12.08 | dingo00w011 | anyone here? |
02:12.58 | dingo00w011 | i have a question on apache and tomcat with mod_rewrite thrown in |
02:24.43 | *** part/#tomcat dingo00w011 (n=dingo001@68.113.113.75) |
02:29.46 | *** join/#tomcat a4akb (n=Akbara@221.134.208.1) |
02:30.05 | *** part/#tomcat a4akb (n=Akbara@221.134.208.1) |
02:30.16 | *** join/#tomcat a4akb (n=Akbara@221.134.208.1) |
02:40.23 | *** join/#tomcat wsmoak (n=wsmoak@ip68-96-53-138.ph.ph.cox.net) |
03:27.38 | *** join/#tomcat mael_ (n=mael@xdsl-84-44-175-87.netcologne.de) |
03:35.24 | *** join/#tomcat enno__ (n=enno@p508D1CCC.dip0.t-ipconnect.de) |
03:37.20 | *** join/#tomcat lenhan (n=lenhan@wireless-am4.ucsd.edu) |
04:23.13 | *** join/#tomcat columbo (n=chatzill@pool-71-104-25-42.lsanca.dsl-w.verizon.net) |
04:26.53 | *** join/#tomcat jasonb (i=noneoyer@adsl-66-124-73-250.dsl.sntc01.pacbell.net) |
04:36.45 | columbo | jasonb: where in your install is it best to set -Djava.awt.headless=true |
04:39.40 | jasonb | columbo: In *my* install? |
04:39.54 | columbo | yeah, your rpm... |
04:40.02 | jasonb | columbo: /opt/tomcat/conf/tomcat-env.sh. |
04:40.10 | jasonb | columbo: Just find the JAVA_OPTS setting, and put it in there. |
04:40.15 | columbo | i thought that just wanted to make sure. |
04:40.18 | columbo | :D |
04:40.22 | jasonb | columbo: Do you like my RPM? :) |
04:40.32 | columbo | i love it ;) |
04:40.48 | columbo | heh, i'll stop myself there |
04:40.58 | *** join/#tomcat remnant (n=lenhan@80362923.dynamic.ucsd.edu) |
04:40.59 | jasonb | columbo: Did you deinstall the other tomcat package that came with your distro? Or did you install mine in addition? |
04:41.29 | columbo | i didnt install anything actully, just jpackage java and your tomcat |
04:41.42 | jasonb | ahh. What distro are you using? |
04:42.02 | columbo | fc5 x86_64 |
04:42.11 | jasonb | Excellent! That's what I use. :) |
04:42.31 | jasonb | It does come with a "tomcat5" package, but that one shouldn't conflict whatsoever with mine. |
04:42.41 | jasonb | (and, you might not have installed theirs) |
04:43.09 | columbo | yeah, no i did'nt bother, i had played with your rpm on fc4 before this install |
04:43.19 | jasonb | ahh, good. |
04:43.26 | jasonb | So you're an expert with it already. |
04:43.41 | columbo | not at all, not by any means heh |
04:43.51 | jasonb | You're one of my beta testers, since the book it's from isn't published yet. |
04:44.52 | columbo | well no problems thus far |
04:45.44 | jasonb | Sweet. |
04:45.53 | jasonb | Anything it doesn't do that you'd like it to do? |
04:46.37 | columbo | i think i'll find out once i jump into clustering, at this point i'm doing the redimentary stuff. |
04:46.43 | *** part/#tomcat lamp (n=tlampi@masiina.fi) |
04:46.45 | jasonb | Also, did you relocate it, or are you using it in the default path of /opt/tomcat ? |
04:47.10 | columbo | <PROTECTED> |
04:47.44 | jasonb | Okay. I personally like that better than /var (a very strange place to install software, IMHO), but I don't know what the opinion generally is.. |
04:48.00 | jasonb | Plus, my package is fully recolcateable, so anyone can install it wherever they want. |
04:48.26 | jasonb | Do you use the ant build system for building the RPMs, or do you just pull and install the binary RPMs? |
04:49.04 | columbo | i havent had a need to do any source changes, so i took the easy route and just pulled the RPMs |
04:49.21 | columbo | i |
04:49.24 | jasonb | Great. It's wonderful when life can be as simple as it really should be. :) |
04:49.51 | columbo | yeh, i'm pretty excited about getting this site out to production. |
04:50.29 | jasonb | I hope my package makes that easier. It sure makes life easier for me. |
04:51.21 | columbo | i bet. |
04:58.35 | *** join/#tomcat yel (n=yassine@xdsl-87-78-21-220.netcologne.de) |
05:17.36 | *** join/#tomcat valmont (n=chrishol@dsl092-043-004.lax1.dsl.speakeasy.net) |
05:21.45 | *** join/#tomcat lenhan (n=lenhan@ncle-vpn.ucsd.edu) |
05:24.45 | *** join/#tomcat longbeach (n=bobby@AFontenayssB-152-1-81-74.w86-218.abo.wanadoo.fr) |
05:47.06 | columbo | okay, i make changes to tomcat-env.sh and even service tomcat stop, but java processes are still showing unchanged args in TOP |
05:47.58 | lyken | its not calling env vars instead is it ? |
05:48.22 | columbo | doesnt look like it. i rebooted just to see what shows up |
05:49.48 | columbo | requires reboot for those changes to take effect or a java restart which i don't know how to do. |
05:50.17 | columbo | but they do take effect fwiw |
05:52.47 | columbo | i've got a headache now... |
07:14.55 | *** join/#tomcat linuxdesktop (n=manu@202.83.33.102) |
07:17.27 | linuxdesktop | Hi |
07:35.27 | *** join/#tomcat columbo (n=chatzill@pool-71-104-25-42.lsanca.dsl-w.verizon.net) |
07:37.38 | *** join/#tomcat Lfe (n=lfe@svetlana.nu) |
07:38.07 | Lfe | morning! is there an upper limit for how many processes tomcat can spawn? |
07:39.04 | Lfe | (tc5.5) |
07:41.46 | jasonb | Lfe: Tomcat actually spawns no external processes except in the case where you have it configured to fork another JVM for compiling JSPs. |
07:42.41 | jasonb | Lfe: If you're asking about Java itself, no, Java has no internal limit to the number of processes it could spawn. But, the OS could limit it per user. |
07:43.25 | Lfe | jasonb: ok, i see a thing called [tp-processor] which starts at 1-20 and ends up at 400-500 something - then just hung (my mod_jk couldn't connect to it) |
07:43.57 | jasonb | ouch. |
07:43.58 | Lfe | no exceptions from my app (that i've found so far) |
07:44.05 | jasonb | Are you sure that's not "http-processor"? |
07:44.11 | Lfe | no, 100% sure |
07:44.42 | jasonb | Lfe: In your conf/server.xml, do you see anything set to 400 or 500? |
07:45.23 | Lfe | it's at 600 |
07:45.40 | jasonb | What is? |
07:45.41 | Lfe | so that could be one reason (i just didnt see the 500-600) |
07:45.57 | Lfe | sorry, max-threads |
07:46.02 | Lfe | but shouldn't this cycle? |
07:46.09 | jasonb | Okay. Well, so configure it to a smaller number. |
07:46.53 | jasonb | But, to set your expectations properly, mod_jk is probably not going to work real well for you. You should use mod_proxy instead. |
07:47.05 | jasonb | ibot: mod_proxy |
07:47.11 | ibot | extra, extra, read all about it, mod_proxy is at http://jakarta.apache.org/tomcat/tomcat-5.5-doc/proxy-howto.html |
07:49.35 | Lfe | i've looked into mod_proxy, but that can't filter out my static content in a way which jkmount/jkunmount does - or can it? |
07:49.47 | *** join/#tomcat dreivier (n=dreivier@port-87-234-92-4.dynamic.qsc.de) |
07:51.59 | Lfe | i was under the impression that each tomcat processor served the request through ajp and then closed? |
07:52.42 | jasonb | Well, I actually don't remember what mod_jk does as far as its socket connection per request. |
07:53.10 | jasonb | ISTR some talk about keep-alive connections for that, but I don't remember if it's the default or not. |
07:53.31 | jasonb | About the jkmount/jkunmount, can you give me an example of what you would do with it? |
07:56.12 | Lfe | i have some wildchar mounts, a directory mount plus an unmount in that dir |
07:56.42 | Lfe | i'll look into the relationship between max_threads,max_spare_threads and max_min_threads for the connector and see if that should change something |
07:58.45 | Lfe | jasonb: thank you for your fast and helpful comments! |
07:59.03 | jasonb | Lfe: You're welcome. |
07:59.14 | jasonb | Lfe: You might want to have a look at the httpd docs for mod_proxy.. |
07:59.22 | jasonb | Lfe: I'm sure it does all the things you want it to do. |
07:59.29 | jasonb | Lfe: For example: http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#noproxy |
08:00.01 | Lfe | jasonb: i will look into it. may i ask why i should prefer mod_proxy over the ajp protocol? overcocming my processor-spawning-thing ? |
08:00.46 | Lfe | yeah, guess i could do a locationmatch or similar |
08:01.27 | jasonb | Lfe: In general, mod_jk is quite buggy and unreliable. |
08:01.39 | jasonb | Lfe: Which version of Apache httpd are you using? |
08:02.12 | Lfe | 2.2.2 :( i will be a good citizen and upgrade! |
08:02.27 | jasonb | excellent! |
08:02.30 | Lfe | too bad, i've had a nice relationship with jk so far |
08:02.45 | jasonb | So then mod_proxy in your Apache speaks the AJP protocol. |
08:03.16 | jasonb | See this page: http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#proxypass |
08:03.27 | Lfe | yes, youre right - i just haven't looked into it very thorough since jk has been working out for me |
08:03.34 | jasonb | For ProxyPass, there is a "!" syntax where you can say what it is *not* to proxy. |
08:04.19 | Lfe | jasonb: i'll have some java and read up some. thanks again for pointers :) |
08:04.35 | jasonb | Well, it's up to you whether you want to use mod_jk or not. In this channel, we've been through the wringer with mod_jk and tend to not want to support it versus mod_proxy. |
08:04.46 | jasonb | Lfe: You're welcome. |
08:05.39 | Lfe | jasonb: ill have that in mind.. on the other hand, there's no reason to not use lighttpd and proxy through there now :) (no ajp though) |
08:07.13 | jasonb | Well, if it can proxy to Tomcat, then you really don't need AJP unless performance is a problem.. but if you're really worried about performance for your dynamic pages, you would not put any other web server in front of Tomcat. |
08:29.33 | *** join/#tomcat fix- (n=Bjorn@86.39.154.74) |
08:32.41 | *** join/#tomcat dreivier (n=dreivier@port-87-234-92-4.dynamic.qsc.de) |
08:44.02 | Lfe | jasonb: been looking into it a bit now, and it seems like i had all the 500 threads in a busy state - and then it somehow didn't flush |
09:14.00 | *** join/#tomcat tommyd (n=chatzill@85.232.10.17) |
09:14.19 | tommyd | Hi all! |
09:14.35 | tommyd | I have a configuration question regarding tomcat and log4j |
09:15.12 | yel | jasonb, still awake ? |
09:15.15 | tommyd | I'm trying to make log4j recognize the env var $CATALINA_HOME, but I'm unsure how to accomplish that |
09:15.31 | tommyd | i.e. ${CATALINA_HOME} doesn't work in the XML config file |
09:15.55 | tommyd | so I wonder if this file is touched by tomcat itself or if I should ask somebody involved with log4j... |
09:18.48 | tommyd | on the other hand I've seen it working with ${catalina.base}, but this is not set to an absolute path |
09:18.57 | tommyd | (and I symlink my webapps) |
09:20.26 | tommyd | any pointers? |
09:23.10 | yassine | mhh tommyd i dont have answers for your questions but a suggestion |
09:23.46 | yassine | most people puts there log4j.properties in WEB-INF/classes/ |
09:24.06 | yassine | and afaik its get picked by tomcat without problem |
09:24.20 | tommyd | well, its not the config file which is not picked |
09:24.26 | tommyd | (this one makes no problems) |
09:24.28 | yassine | the driver ? |
09:24.35 | yassine | sorry |
09:24.38 | yassine | i mean the jar |
09:24.41 | tommyd | its the problem to define a path / file to which is logged |
09:25.33 | tommyd | there is a "appender" section in the log4j xml file which has a parameter "File" and this param needs to be set to a path |
09:25.47 | tommyd | I surely could set it to an absolute path, but this would be system dependent |
09:26.15 | tommyd | I'd like to use tomcat's own "$CATALINA_HOME/logs" directory to which is logged |
09:29.19 | *** join/#tomcat kasbah (n=kasbah@62.206.116.171) |
09:30.20 | tommyd | hrm... ${catalina.home} |
09:30.35 | tommyd | seems to work... ok, problem solved for now... thanks! |
09:40.07 | *** join/#tomcat bdudney_ (n=bdudney@c-24-9-189-43.hsd1.co.comcast.net) |
09:57.07 | kasbah | i have a problem with the HttpSession object ... it is creating a new session every time ... it dosn't look like it is setting any cookie ... what am i doing wrong? |
10:00.09 | linuxdesktop | <PROTECTED> |
10:00.12 | linuxdesktop | is it possible |
10:38.01 | *** join/#tomcat bdudney (n=bdudney@c-24-9-189-43.hsd1.wa.comcast.net) |
10:39.01 | *** part/#tomcat tommyd (n=chatzill@85.232.10.17) |
10:48.25 | *** join/#tomcat jsisson (n=sissonj@59.167.35.7) |
11:33.45 | *** join/#tomcat decbert_ (n=tom@ronburgandy.netspot.com.au) |
11:46.17 | *** join/#tomcat bjorn- (i=drazq@numbat.inamo.no) |
11:46.20 | *** part/#tomcat bjorn- (i=drazq@numbat.inamo.no) |
11:47.59 | *** join/#tomcat Fracture (n=Fracture@dsl-202-173-191-84.qld.westnet.com.au) |
11:49.41 | *** join/#tomcat dim (n=dim@darkstar.tapoueh.org) |
11:49.51 | dim | hi guys |
11:50.18 | dim | my tomcat4 installation don't compile java generated from jsp pages |
11:50.28 | dim | i've read docs and faqs, tried given tips |
11:50.31 | dim | nothing helps |
11:56.34 | dim | root@patrocle:/var/lib/tomcat4/work/Standalone/localhost/SitesWeb# javac * |
11:56.34 | dim | index_d_jsp.java:10: '.' expected |
11:56.34 | dim | import EquivalenceCaractere; |
11:57.05 | *** join/#tomcat a4akb (n=Akbara@dialpool-210-214-50-25.maa.sify.net) |
11:57.09 | *** join/#tomcat Darks (i=darks@bzq-84-108-49-208.cablep.bezeqint.net) |
11:57.12 | Darks | hi |
11:57.20 | Darks | i install the tomcat |
11:57.36 | Darks | how i login whoit user and pass |
11:57.39 | *** join/#tomcat speedy (n=speedy@194.126.63.82) |
12:02.27 | *** join/#tomcat yassinework (n=yel@h-213.61.164.152.host.de.colt.net) |
12:02.28 | Darks | [14:57] <Darks> hi |
12:02.28 | Darks | [14:57] <Darks> i install the tomcat |
12:02.28 | Darks | [14:57] <Darks> how i login whoit user and pass |
12:05.27 | *** join/#tomcat bdudney_ (n=bdudney@c-24-9-189-43.hsd1.co.comcast.net) |
12:08.46 | *** join/#tomcat jsisso1 (n=sissonj@59.167.35.7) |
12:10.29 | yassinework | hi * |
12:11.16 | yassinework | Darks, did you created users and assigned necessary roles to them so that you can use them to logs in ? |
12:25.29 | Darks | yassinework |
12:25.35 | yassinework | ? |
12:25.40 | Darks | i dont no how to do it |
12:25.52 | Darks | NOTE: For security reasons, using the administration webapp is restricted to users with role "admin". The manager webapp is restricted to users with role "manager". Users are defined in $CATALINA_HOME/conf/tomcat-users.xml. |
12:25.52 | Darks | Included with this release are a host of sample Servlets |
12:25.57 | Darks | i go to the |
12:26.02 | Darks | conf/tomcat-users.xml |
12:26.15 | yassinework | yes |
12:26.24 | Darks | i cange to tomcat-users.xml the user |
12:26.27 | yassinework | open it there you will finde some examples |
12:26.27 | Darks | to admin |
12:26.33 | Darks | bat i can git in |
12:26.45 | yassinework | ? |
12:26.52 | Darks | i need to make new one? |
12:26.54 | yassinework | did you restarted tomcat ? |
12:27.04 | Darks | how i restart it? |
12:27.12 | yassinework | how did you started it ? |
12:27.24 | Darks | i install the bin |
12:27.57 | Darks | netdirector-3.0.e.RC1-linux-prod-installer.bin |
12:28.05 | yassinework | :s |
12:28.19 | Darks | how is restart tomcat |
12:28.30 | yassinework | sorry i dont know that but you can cd /path/to/tomcat/bin |
12:28.36 | yassinework | and ./startup.sh |
12:28.47 | yassinework | and ./shutdown.sh |
12:29.19 | Darks | [root@localhost jakarta-tomcat]# ./shutdown.sh |
12:29.19 | Darks | bash: ./shutdown.sh: No such file or directory |
12:29.19 | Darks | [root@localhost jakarta-tomcat]# |
12:29.56 | dim | does tomcat 4.1 run on jdk 1.3 ? |
12:30.52 | Darks | yassinework |
12:30.55 | Darks | [root@localhost bin]# ./shutdown.sh |
12:30.55 | Darks | Using CATALINA_BASE: /opt/netdirector-3.0.e.RC1/jakarta-tomcat |
12:30.55 | Darks | Using CATALINA_HOME: /opt/netdirector-3.0.e.RC1/jakarta-tomcat |
12:30.56 | Darks | Using CATALINA_TMPDIR: /opt/netdirector-3.0.e.RC1/jakarta-tomcat/temp |
12:30.56 | Darks | Using JAVA_HOME: /opt/netdirector-3.0.e.RC1/j2sdk |
12:30.56 | Darks | [root@localhost bin]# |
12:31.18 | yassinework | Darks, please use pastbine |
12:31.38 | yassinework | Darks, why not deinstalling that netdi*** stuff and do it manually ? |
12:32.22 | Darks | man thenks now ites work |
12:32.27 | dim | what about running tomcat 4.1 on top of jdk 1.3 ? |
12:32.57 | dim | the problem i get is a non-packaged webapp (jsp) which does not compile into tomcat4.1 / jdk1.4 |
12:36.31 | Darks | how i can add server? |
12:43.05 | yassinework | download the package from its source tomcat.apache.org |
12:43.13 | yassinework | and unpack it and ... |
12:58.53 | *** join/#tomcat fix- (n=Bjorn@86.39.154.74) |
13:07.50 | *** join/#tomcat sail_ (n=sail@mdsnwikwbas08-pool28-a244.mdsnwikw.tds.net) |
13:14.54 | *** join/#tomcat epswing (i=epswing@TOROON12-1178068039.sdsl.bell.ca) |
13:21.59 | Darks | yassinework |
13:22.05 | yassinework | . |
13:22.10 | Darks | how i can add samba server to |
13:23.16 | Darks | yassinework ? |
13:23.28 | yassinework | samba server ? |
13:23.48 | Darks | yes |
13:24.36 | Darks | let me show https://sourceforge.net/dbimage.php?id=64487 |
13:25.00 | Darks | my engles is bad show forget me |
13:25.36 | yassinework | what is your native language ? |
13:25.43 | yassinework | spanish ? |
13:26.09 | Darks | no man |
13:26.15 | Darks | i from israel |
13:26.22 | Darks | and you? |
13:26.28 | yassinework | ahh what is your native language ? |
13:27.19 | Darks | engles |
13:27.31 | Darks | english |
13:30.37 | *** join/#tomcat a4akb (n=Akbara@221.134.209.196) |
13:42.54 | *** join/#tomcat Mortuis (n=jmort@bi-02pt1.bluebird.ibm.com) |
13:45.45 | *** join/#tomcat dariius (n=dariius@82.138.86.21) |
13:46.02 | dariius | Hi all |
13:46.38 | dariius | First sorry for my poor english |
13:46.45 | dariius | and my question is |
13:47.19 | dariius | i have some tomcat server in a load balancing state behind some apache |
13:47.47 | dariius | the file system on which servlet are is read only for security purposes ( nfs mounted) |
13:49.29 | dariius | when i undeployed an application the tomcat try to erase the files but cannot (cause of RO filesystem) |
13:49.46 | dariius | sometimes the tomcat freeze and a full restart have to be done |
13:50.27 | dariius | is there any issues about having tha apllications on a read only NFS mounted filesystem ? |
13:51.17 | dariius | version is 5.5.7 |
13:52.54 | yassinework | Darks, im from Germany |
14:09.07 | *** join/#tomcat prgrmr (n=prgrmr@bzq-88-153-3-181.red.bezeqint.net) |
14:20.15 | *** part/#tomcat Darks (i=darks@bzq-84-108-49-208.cablep.bezeqint.net) |
15:09.55 | *** join/#tomcat bdudney (n=bdudney@c-24-9-189-43.hsd1.co.comcast.net) |
15:13.04 | dim | java.io.FilePermission /var/lib/tomcat4/webapps/indexer/log/2006-08-23-General.log write |
15:13.35 | dim | i fixed unix privileges (776, tomcat4:www-data) for directory (file does not exists) |
15:14.01 | dim | must I edit some java/catalina/tomcat/jdk policy or property ? |
15:16.13 | *** join/#tomcat sail_ (n=sail@wireless299.cs.wisc.edu) |
15:38.42 | *** join/#tomcat unbekannt (n=unbekann@207.173.88.66) |
15:41.40 | unbekannt | Is there a way to set the Host header that tomcat uses with jsessionid/cookies? |
15:42.10 | unbekannt | we want to share sessions across multiple hosts |
15:42.28 | unbekannt | so instead of setting the cookie to 'server1.foo.com', it would set it to 'foo.com' |
15:48.48 | *** join/#tomcat mael (n=mael@xdsl-87-78-176-233.netcologne.de) |
16:15.46 | *** join/#tomcat remnant (n=lenhan@mail.catholic.com) |
16:17.15 | *** join/#tomcat dreivier (n=dreivier@port-87-234-92-4.dynamic.qsc.de) |
16:47.20 | *** part/#tomcat a4akb (n=Akbara@221.134.209.196) |
16:58.12 | *** join/#tomcat a4akb (n=Akbara@221.134.209.196) |
17:17.49 | *** join/#tomcat yel (n=yassine@xdsl-87-78-21-149.netcologne.de) |
18:09.51 | *** join/#tomcat remnant (n=lenhan@mail.catholic.com) |
18:30.00 | *** part/#tomcat a4akb (n=Akbara@221.134.209.196) |
19:11.12 | *** join/#tomcat a4akb (n=Akbara@221.134.209.196) |
21:20.55 | longbeach | [code=CANT_CONNECT_LOOPBACK] Cannot connect due to potential loopback problems |
21:20.58 | longbeach | :/ |
21:21.25 | *** part/#tomcat a4akb (n=Akbara@221.134.209.196) |
21:21.53 | *** join/#tomcat kasbah (n=kasbah@62.206.116.171) |
21:21.53 | *** part/#tomcat unbekannt (n=unbekann@207.173.88.66) |
21:21.53 | kasbah | how can i calculate a md5sum in java? |
21:37.24 | Alconquian | kasbah: there are lots of examples to be found on google! |
21:37.28 | yassine | kasbah, i think there is already a function for that in the jdk |
21:37.39 | kasbah | hmm, can't find it |
21:37.39 | Alconquian | kasbah: here's something containing code I jacked from some google search, http://rafb.net/paste/results/QMdT3j77.html |
21:37.42 | Alconquian | hashType should be "MD5" when calling it |
21:37.45 | Alconquian | there's also SHA1, SHA256, etc. |
21:38.10 | kasbah | oh, thank you |
21:38.17 | kasbah | now i just have to understand that ... ;) |
21:38.18 | kasbah | <- java newbie |
21:39.32 | *** part/#tomcat Mortuis (n=jmort@bi-02pt1.bluebird.ibm.com) |
22:02.30 | *** join/#tomcat Fracture (n=Fracture@dsl-202-173-191-84.qld.westnet.com.au) |
22:03.44 | *** join/#tomcat travis (n=travis@69-173-106-145.albyny.adelphia.net) |
22:04.01 | travis | if i want a double-quote in an AccessLogValve pattern, can i just go pattern="some stuff here "quoted thing" other stuff"? will " be interpreted properly? |
22:04.40 | *** part/#tomcat Aphelion (n=travis@unaffiliated/lv) |
22:08.02 | *** join/#tomcat golqm-noob (i=poisoner@11383.unitednetworx.com) |
22:31.31 | *** join/#tomcat dreivier (n=dreivier@port-87-234-92-4.dynamic.qsc.de) [NETSPLIT VICTIM] |
22:31.31 | *** join/#tomcat mael (n=mael@xdsl-87-78-176-233.netcologne.de) [NETSPLIT VICTIM] |
22:31.33 | *** join/#tomcat decbert_ (n=tom@ronburgandy.netspot.com.au) [NETSPLIT VICTIM] |
22:31.33 | *** join/#tomcat oxblood (n=vee@user-1121crg.dsl.mindspring.com) [NETSPLIT VICTIM] |
22:31.35 | *** join/#tomcat giszo (n=King@cyberserver.hu) [NETSPLIT VICTIM] |
22:34.52 | yassine | lyken, are you there ? |
22:35.37 | *** join/#tomcat tottinge (n=tottinge@ip67-153-232-125.z232-153-67.customer.algx.net) |
22:35.38 | *** join/#tomcat kasbah (n=kasbah@gprs-pool-1-012.eplus-online.de) |
22:35.38 | tottinge | Anyone here install tomcat via ubuntu? |
22:35.38 | tottinge | apt-get, I mean. |
22:35.51 | *** join/#tomcat Led_Zeppelin (n=Led_Zepp@cpe-65-24-170-13.columbus.res.rr.com) |
22:35.51 | Led_Zeppelin | hey, any Lucene users here? |
22:35.51 | Led_Zeppelin | was wondering, what is better to use JSP or servlet when working with Lucene in a Tomcat Env |
22:51.16 | yassine | tottinge, dont do that |
22:51.20 | *** join/#tomcat bdudney (n=bdudney@c-24-9-189-43.hsd1.wa.comcast.net) |
22:51.25 | Led_Zeppelin | any lucene users here? with tomcat? |
22:51.25 | tottinge | Gee, thanks. |
22:51.26 | yassine | Led_Zeppelin, boths components you stated are not depending on lucene nor does lucene depend on them so its a matter or your design |
22:51.32 | Led_Zeppelin | yassine, yep, I know. Just wanted some advice here about developing with it |
22:51.36 | Led_Zeppelin | on tc |
22:51.39 | yassine | Led_Zeppelin, i would only suggest keeping MVC in mind |
22:51.51 | Led_Zeppelin | MVC? what is that? |
22:51.51 | yassine | think of your application in tiere |
22:51.51 | Led_Zeppelin | oh, a part of my application for mine |
22:51.51 | Led_Zeppelin | i think i know what you mean |
22:51.51 | yassine | your application = {| Model | View | Controller| } |
22:51.52 | Led_Zeppelin | oh! |
22:51.52 | yassine | Model = Data model |
22:51.52 | Led_Zeppelin | hmm |
22:51.52 | Led_Zeppelin | hehe, seems like you are a pro at this yassine |
22:51.52 | Led_Zeppelin | lol |
22:51.52 | yassine | not im here to learn just like you |
22:51.52 | Led_Zeppelin | this lucene is killing me here |
22:51.52 | yassine | and since you seem to be lucky i have a book on MVC here under the old pizza from last week laying :) |
22:52.07 | yassine | Led_Zeppelin, i have been told its a real Pain but it is worth that pain |
22:52.07 | Led_Zeppelin | haha |
22:52.07 | yassine | i only hope you exactly know what you want to do with it |
22:52.08 | yassine | because otherwise the whole pain will be useless for you |
22:52.08 | Led_Zeppelin | true |
22:52.08 | kasbah | Led_Zeppelin: you schould by a good book about patterns |
22:52.08 | Led_Zeppelin | simple index+search |
22:52.08 | yassine | if i were you i would make table of my requirements |
22:52.08 | yassine | and get a list of features (lucene or even other engine ) and make than my decision |
22:52.09 | Led_Zeppelin | \ds ? |
22:52.10 | yassine | i tried \d |
22:52.10 | yassine | ahh that works thanks you |
22:52.11 | yassine | but why can't i select * from my_seq ? |
22:52.17 | Led_Zeppelin | seq is an entitity |
23:01.16 | Led_Zeppelin | what are you trying to do? |
23:01.19 | Led_Zeppelin | get the last number used in a sequence ? |
23:01.26 | yassine | i made a mistake :) |
23:01.44 | yassine | i created it via phppgssql |
23:01.49 | yassine | and i named it orderID |
23:01.54 | Led_Zeppelin | thats your problem :p |
23:01.59 | Led_Zeppelin | thats your problem :p |
23:02.35 | yassine | which doese not work ffrom the command line since everytime i select * from orderID |
23:02.35 | yassine | it gets converted to orderid |
23:26.19 | adf323 | Hello all, I'm having a problem with Tomcat and SSL. I've created a SSL Cert, added it to the keystore, and added it to the JRE/JVM cacerts. Yet I still get the following error: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target. |
23:26.20 | adf323 | I thought I had set this up correctly? |
23:38.50 | adf323 | To all, One of my coworkers pointed it out for me! Forgot to restart Tomcat after added the SSL key to the JVM cacerts! |
23:38.51 | adf323 | oops! |
23:43.16 | oxblood | I got my book today: "How Tomcat Works". |
23:45.52 | *** join/#tomcat sail_ (n=sail@mdsnwikwbas08-pool28-a244.mdsnwikw.tds.net) |