00:17.31 | *** join/#tomcat etaylor (n=chatzill@p78-70.acedsl.com) |
00:18.20 | pfn | jasonb oh yeah, my screenshot thing kinda works in linux... I installed gimp and tried it out... except java encodes the file in some format that doesn't work... |
00:18.24 | pfn | go figure eh |
00:19.26 | jasonb | Java encodes it? When? |
00:20.27 | pfn | when? when you paste it into the applet |
00:20.52 | jasonb | And Java encodes it into something that Java can't understand? :) |
00:21.19 | jasonb | I guess that's a bug you haven't chased down yet. |
00:21.30 | pfn | no, it encodes it into something that most jpeg viewers can't understand |
00:21.37 | pfn | wrong colormode setting or something |
00:21.46 | pfn | looks like it's saved as cmyk instead of rgb, or something similar |
00:21.48 | jasonb | Okay, so your code can fix it before the viewer gets it, right? |
00:22.01 | pfn | yeah, I think I've encountered this before |
00:22.05 | pfn | I just don't recall the fix ;-) |
00:22.20 | jasonb | At least you know where it's going wrong. That's good. |
00:23.07 | pfn | you know what's sad? it seems linux is ahead of the game with respect to mac |
00:23.12 | pfn | osx doesn't support images on the clipboard at all |
00:23.28 | pfn | at least from one user that tried to test it for me |
00:27.27 | sgodsell | java usually encodes it into png |
00:28.39 | jasonb | pfn: I find that hard to believe, but OSX is weird. :) |
00:30.15 | jasonb | pfn: I suppose they may have decided against storing images in the clipboard because mac people love to work on really huge images, and not care about what computing resources are affected by that. They probably decided not to allow graphics users to bring down the OS by putting huge images into RAM like that.. or something. |
00:33.08 | pfn | jasonb I mean for java... I don't know about osx itself |
00:33.28 | pfn | sgodsell, and no, that's not true |
00:40.08 | pfn | jasonb alrighty, it works now... now to find an application on linux that streamlines copying an image to clipboard, instead of having to load gimp... heh |
00:40.19 | pfn | http://www.hanhuy.com/screenshot/new |
00:41.21 | jasonb | cool. |
00:41.44 | pfn | having to load gimp is lame |
00:41.46 | jasonb | I tried copying images with nautilus before. Maybe it would work now. |
00:42.02 | pfn | I don't think that works |
00:42.19 | pfn | nautilus exports copies as file copies (unless nautilus has image copy support) |
00:42.27 | jasonb | When you have an image in the nautilus window and you select it and hit ctrl-C? |
00:42.37 | pfn | my applet is purely working off of clipboard image data |
00:42.42 | pfn | that results in a file copy |
00:42.47 | jasonb | oh. |
00:42.58 | jasonb | Can't you make your applet receive the copy as well? |
00:44.15 | pfn | yeah, I can |
00:44.41 | jasonb | I think it would work with a lot more programs if it could do that. |
00:45.00 | jasonb | In fact, you might already have most of the code. :) |
00:45.17 | pfn | I do have most of the code already, from my cms/ria project |
00:45.35 | pfn | this thing just came up from a small need to paste screenshots of error dialogs, etc. from time to time |
00:47.20 | jasonb | Yeah. |
00:47.30 | jasonb | But, it does seem like a cool idea. |
00:47.42 | jasonb | We have plenty of ways of pasting text, but not images really. |
00:47.52 | pfn | I'll think about enhancing dnd/file-copy support when I get around to it |
00:55.14 | *** join/#tomcat schtinky (n=cyrus@74-131-121-26.dhcp.insightbb.com) |
00:55.27 | caverdude | my tomcat 5 book says I must install jsse |
00:55.41 | caverdude | maybe this changed in tomcat 6 though |
00:56.58 | jasonb | It was the case for older JVMs. |
00:56.59 | schtinky | apache-tomcat-5.5.20, fedora 6, kernel 2.6.18 stock, jdk1.5.0_09: need to have tomcat start automatically as "user" on boot, but haven't been able to do that. It always seems to know that it's the "root" user who has started it when put in bootup scripts. Can someone suggest a simple solution? |
00:57.23 | caverdude | jasonb: ah I see |
00:57.26 | pfn | your bootup scripts need to su to the correct user |
00:57.35 | pfn | java 1.4 and earlier may require jsse |
00:58.08 | jasonb | schtinky: The simple solution is to install my Tomcat 5.5 RPM, it does exactly what you want. |
00:58.28 | jasonb | pfn: I think it was 1.3 and earlier. |
00:58.46 | pfn | hmm, maybe that's it |
00:58.51 | jasonb | caverdude: Which old crusty Tomcat book do you have? |
01:11.42 | caverdude | jasonb I have yours and Pro Apache tomcat 5/5.5 |
01:12.29 | jasonb | caverdude: Okay. :) Our new one will be out within a short number of months. |
01:13.43 | caverdude | cool |
01:14.41 | jasonb | I'm working on the last chapter now. |
01:16.21 | jasonb | Welp, I'm heading home. TTYL guys. |
01:16.36 | caverdude | take it easy |
01:21.15 | schtinky | jasonb: I installed the rpm and rebooted, but tomcat did not start |
01:21.59 | schtinky | jasonb: nevermind I need to engage the service first |
01:22.05 | schtinky | jasonb: trying again right now |
01:25.49 | *** join/#tomcat RProgrammer (n=RProgram@WPNT834.dsl.gcectelecom.com) |
01:26.47 | RProgrammer | What is the best way to hide JSP from external requests, but use it for the view in a servlet-front MVC setup? |
01:26.49 | *** join/#tomcat compair1 (i=ariel@gateway/tor/x-326f1cd92b5be0eb) |
01:31.16 | schtinky | jasonb: where is the tomcat root directory after installing the RPM? |
01:31.35 | *** join/#tomcat LongBeach (n=mike@AFontenayssB-152-1-46-161.w83-114.abo.wanadoo.fr) |
01:32.18 | schtinky | jasonb: n/m I found it |
01:37.46 | pfn | RProgrammer, WEB-INF |
01:39.03 | RProgrammer | So the servlet just forwards to, say "/WEB-INF/jsp/theView.jsp" ? |
01:39.58 | pfn | yes |
01:40.25 | RProgrammer | And, how popular would you say Stripes is? |
01:51.04 | RProgrammer | That popular huh? |
01:53.58 | lyken | lol |
01:56.20 | evosh | I hope jason covers SSL throughly in his book. |
02:02.54 | lyken | yes he does |
02:03.06 | lyken | its pretty cake when you get into it |
02:04.28 | RProgrammer | How does tomcat handle multipart file uploads? |
02:04.43 | RProgrammer | If the file starts being uploaded before the request? |
02:04.45 | lyken | however you write it too :) |
02:05.18 | RProgrammer | But without the request how can you write it too? |
02:05.53 | lyken | i mean the upload is handled how you write the upload script :/ |
02:05.59 | lyken | 'method' .. |
02:06.11 | RProgrammer | Is there any default? |
02:06.35 | lyken | just use this |
02:06.36 | lyken | http://www.oop-reserch.com/ |
02:09.18 | RProgrammer | I take it those are two different projects? |
02:19.28 | pfn | huh? upload is never occurring before the request |
02:24.55 | evosh | This uploading is a fishy business. |
03:30.38 | jwisher | hey, what do you think the best way to run tomcat on port 80 is? i have read several methods, setting uid to 0 with a script, using ipchains/ipfw, just running as root... are there any others and which is best? |
03:31.33 | lyken | depends on how busy the box is |
03:31.52 | lyken | you can build it into an app that can be run as root |
03:31.58 | lyken | you can use connectors |
03:32.00 | lyken | you can use the firewall |
03:32.05 | jwisher | supposing it is very busy? |
03:55.52 | caverdude | Mandrive 2007, Tomcat 6.0.7 Jdk 1.6 any reason I can't symlink to a .jar file under /lib in my tomcat intalation/ |
03:56.23 | caverdude | eh |
04:21.06 | lyken | why would you symlink? |
04:21.30 | lyken | jwisher: depends on your needs, i can suggest benchmarking the different methods and finding the best for your use case |
04:41.28 | *** join/#tomcat jasonb (i=noneoyer@adsl-66-124-73-250.dsl.sntc01.pacbell.net) |
05:44.11 | caverdude | I'm going crazy |
05:44.19 | caverdude | a few weeks ago I run the manager app |
05:44.20 | caverdude | now I can't |
05:44.24 | caverdude | its not even in the install |
05:44.32 | caverdude | or the archive file I downloaded |
05:44.37 | caverdude | but it was a few weeks ago |
05:53.18 | jasonb | How are you checking to see if it's in there? |
05:54.14 | caverdude | maybe I need to use localhost |
05:54.19 | caverdude | instead of my domain name |
05:55.29 | caverdude | well that takes me to a blank page |
05:55.32 | caverdude | hrm |
05:56.16 | jasonb | Which URL are you trying? |
05:56.41 | caverdude | http://localhost/manager/html |
05:57.09 | jasonb | Okay, and what are the settings on the localhost <Host> in server.xml? |
05:59.32 | caverdude | let me check |
05:59.58 | caverdude | it looks normal |
06:00.37 | caverdude | <host name="localhost" |
06:00.43 | caverdude | should I change that to my domain? |
06:01.27 | jasonb | no |
06:01.57 | jasonb | I suggest reading the docs on the <Host> element and set the deployment attributes to do what you're trying to do. |
06:04.36 | caverdude | oh wait |
06:04.40 | caverdude | I edited the wrong xml |
06:04.42 | lyken | lol |
06:04.43 | caverdude | yes I did change the host |
06:07.30 | caverdude | hehe I accidentally removed the default <host |
06:09.01 | caverdude | thanks jasonb for nudging me in the correct direction |
06:11.19 | jasonb | caverdude: You're welcome. |
06:16.46 | caverdude | now I have a webapp that is not deploying, must be some errors |
06:18.48 | *** join/#tomcat stork (n=sh2-136@storkey.plus.com) |
06:50.20 | lyken | heh |
06:52.14 | caverdude | ok its working now |
06:52.23 | caverdude | i created a database with hypersonic sql |
06:52.34 | caverdude | I'm trying to figure out what the db file is called |
06:53.25 | caverdude | I have db1.hsql.1ck? that sound like the db file? |
06:56.51 | lyken | no idea i only use postgres |
06:58.00 | caverdude | it apears to be binary |
06:58.08 | caverdude | the last time I used this, it made db1.hsql.data |
06:58.15 | caverdude | but no maybe its lck |
06:58.28 | lyken | i dunno checks the hypersonic website |
07:02.02 | *** join/#tomcat jjchen (n=jjchen@61.171.134.113) |
07:18.05 | *** join/#tomcat msupino (n=msupino@62.90.54.48) |
07:19.55 | msupino | Hi, i am running tomcat 5.5.12 on windows 2003, jdp 1.5.0p3 , and for some reason, tomcat returns "HTTP/1.1 400 Bad Request" on HTTP/1.0 requests, i have another server, with same settings which answers correctly, any idea ? |
07:20.04 | msupino | jdp = jdk |
08:22.12 | *** join/#tomcat pucko (n=andreas@81-234-246-21-o933.tbon.telia.com) |
08:50.21 | caverdude | anyone here familiar with hypersonic sql? |
08:51.26 | caverdude | I made a database with a servlet called "database.hsql" and I can only see 3 files database.hsql.lck database.hsql.properties database.hsql.log but shouldnt I see a database.hsql.data? |
09:23.42 | *** join/#tomcat gregor_k (n=a@p54A199B2.dip0.t-ipconnect.de) |
09:27.59 | dmiles_afk | when i start tomcat from eclipse .. my webapps directory is not applicable? |
09:28.08 | lyken | who knows |
09:28.15 | lyken | thats an eclipse problem, not tomcat |
09:29.10 | dmiles_afk | probably .. if one runs tomcat from javaw i wonder how they set up the location of webapps |
09:32.41 | lyken | eh? |
09:35.43 | dmiles_afk | its ok.. i am looking it up |
09:35.53 | lyken | if you want to run tomcat stand alone |
09:35.59 | lyken | you will have webapps within the tomcat install tree |
09:36.07 | lyken | unless you specify otherwise in the server.xml |
09:37.12 | *** join/#tomcat adeeln (i=adeel@c-67-187-165-216.hsd1.ca.comcast.net) |
09:37.15 | dmiles_afk | thats why i thought eclipse shouldnt have "changed" the defaults from server.xml |
09:39.32 | dmiles_afk | i guess the idea is that the IDE spawns a spceial littl eserver for your project .. and only exports the "project" .. so once i get the project right i'll just copy it later to the real tomcat webserver dirrecotry |
09:39.44 | lyken | that is correct |
09:39.50 | lyken | it runs its own copy i believe |
09:39.55 | lyken | and wehn you're done |
09:40.07 | lyken | you can export the war or the webapp and distribute it |
09:43.27 | dmiles_afk | if i have a .war and a dirrectory.. and i am adding files into the unwared/ .. if i delete the unwared.war file.. will it delete everything? |
09:44.12 | lyken | i dont know to be honest, ive never used eclipse |
09:44.26 | lyken | a war is just a compressed version of the unwarred i think.. |
09:44.30 | dmiles_afk | basically should i stop tomcat. move the .war waya .. then restart tomcat |
09:44.45 | dmiles_afk | +? oh this is not eclipse dependant |
09:45.02 | lyken | if you're just using tomcat stand alone without any of the other stuff |
09:45.06 | lyken | and you have a .war file |
09:45.18 | lyken | you can uncompress the war and deploy the directory it creates inside of WEBAPPS |
09:46.02 | lyken | if you undeploy the war file it will remove it |
09:46.07 | dmiles_afk | right . litterally JSPWiki.war.. i noticed it will unzip when tomcat starts.. whne i move/dlete the JSPWiki.war .. tomcat "deletes" the JSPWiki/ |
09:46.16 | lyken | yer |
09:46.22 | dmiles_afk | ok yeah .. "undeployed" :( |
09:46.48 | lyken | id suggest manually uncompressing the war file into the webapps manually |
09:46.57 | lyken | you'll get more output to the logs and stuff for tracing of errors |
09:47.09 | lyken | war files are good if you need a single file for distribution |
09:47.16 | dmiles_afk | so this case tomcat wont try to manage the dirrectory? |
09:48.01 | dmiles_afk | ok good.. becasue its a wiki that stores files in the webapp dirrectory ;P they havent been important but it has deleted them a few times |
09:48.12 | lyken | you can still access it via the manager app |
09:48.25 | lyken | but unless you undeploy the uncompressed version |
09:48.28 | lyken | tomcat wont touch it |
09:48.50 | lyken | undeploy i believe by default is remove from filesystem also.. |
09:49.29 | lyken | the wiki app should let you store those uploaded files outside of the app tree |
09:49.36 | lyken | im sure there is config settings that'd allow this |
09:49.44 | lyken | and just symlink it back in |
09:49.52 | lyken | i assume linux/unix os here |
09:50.06 | dmiles_afk | that'll work |
09:50.31 | lyken | i wrote a media archiving manager in java/jsp/servlets |
09:50.47 | lyken | and all the media (8TB) sat on a disk array that was accessed using symlinks |
09:52.34 | dmiles_afk | nice.. yeah.. i need to abstract out the jspwiki filesystem .. they made it easy.. i also use jamwiki which stores each file as a sql blob.. but whats nice is i can use the wiki to edit it's own .jsp files |
09:53.00 | lyken | yer |
09:53.04 | dmiles_afk | (so thats why been choosing the real filesystem) |
09:53.09 | lyken | internal template and engine editors can be fun |
09:55.07 | dmiles_afk | well creating a .aiml bot editing site.. that the chatbots suck off a .jsp for their runtime content.. the idea is the .jsp can serve out "smart" question/answering |
09:55.31 | lyken | arh |
09:55.35 | dmiles_afk | hehe |
09:55.37 | lyken | i really dont like those 'chat bots' |
09:55.38 | lyken | heh |
09:56.07 | lyken | the system im developing atm has IM features in it though |
09:56.09 | dmiles_afk | i used to be a real ai programmer for a living.. i cant stand those bots but the customer likes them |
09:56.37 | lyken | arh |
09:56.44 | lyken | yer i did a lot of research in GA's and SVMs |
09:57.05 | dmiles_afk | SVM=? |
09:57.14 | lyken | support vector machines |
09:57.46 | dmiles_afk | ah.. yeah .. lots of SVM ;P.. well in NL |
09:58.00 | lyken | yer |
09:58.25 | lyken | i worked with Joachim Diederich |
09:58.49 | dmiles_afk | speaking which in about 2 weeks cyc (expert system) is goign to be releasing a java port |
09:59.10 | lyken | cools |
09:59.14 | lyken | i havent touched AI stuff in about 6 years |
09:59.59 | lyken | these days its mostly evil evil customer driven webapps |
10:00.27 | lyken | although i got some cool social networking stuff happening which keeps me happy |
10:03.33 | lyken | he was one of the most informed lecturers ive ever had |
10:04.21 | lyken | we worked on a undergrad project working with deutsche wella media research group |
10:07.20 | dmiles_afk | did you create rule learning things? |
10:08.41 | lyken | my section |
10:09.00 | lyken | used an automatic speech recognition library from the university of missippi |
10:09.02 | dmiles_afk | yeag |
10:09.23 | lyken | to attempt automatically transscribe english and mandarin chinese news reports |
10:09.33 | lyken | (very high error rate) however |
10:09.34 | adeeln | i'm running tomcat 5.5.2/jdk 1.6/gentoo (but with a normal tomcat install) and i keep getting the following error: 'Caused by: com.mysql.jdbc.CommunicationsException: Communications link failure due to underlying exception:' |
10:09.56 | lyken | and from that transcription to topic detection and search on those topics for display in the news feed as it was happneing |
10:10.51 | lyken | using topic mapping and a few other things to have micro and macro topic areas available for 'detailed' inforamtion regarding a news report |
10:11.12 | lyken | say a news story on the war in iraq, then links would show up about war, iraq, yadda |
10:11.25 | lyken | adeeln: how did you install it |
10:11.35 | dmiles_afk | at least you can listen out "topic words" |
10:13.01 | lyken | yer |
10:13.09 | adeeln | lyken: it came bundled with the webapp i'm trying to get working |
10:13.13 | lyken | that was my part of the system |
10:13.38 | lyken | there was also emotional ranking and automatic text to speech with emotional inclines in the voices |
10:13.58 | lyken | and also relevant ranking system scored by the user |
10:14.02 | lyken | adeeln: wot app? |
10:14.18 | adeeln | lyken: alfresco |
10:14.55 | adeeln | i'm using mysql-connector-java-5.0.3-bin.jar as the connector |
10:18.34 | lyken | oh that application |
10:18.38 | lyken | *shakes fist at it* |
10:18.47 | lyken | i had my research co-ordinator walk in last week and say |
10:18.51 | lyken | 'install alfresco' |
10:18.58 | lyken | after an hour of research i walked into his office |
10:19.00 | adeeln | it was working when i used their HSQL dbase |
10:19.01 | lyken | 'NO' |
10:19.03 | lyken | and wlaked out |
10:19.03 | adeeln | hahah |
10:19.24 | adeeln | it shouldn't be that hard to get working though |
10:19.35 | adeeln | get their war, and deploy it...at least that's what i gather |
10:19.51 | lyken | let me rtfm real quick |
10:20.00 | adeeln | rtfm? |
10:20.15 | lyken | read the f#$king manual |
10:20.21 | adeeln | hahah |
10:20.51 | adeeln | their manual says it should be easy to get it working with mysql, but for the life of me, i don't know what the hell is wrong |
10:21.17 | lyken | yer well ill follow their 'isntall' and see if its broken :) |
10:21.40 | adeeln | is there a way to test the mysql jdbc connector? |
10:21.55 | lyken | heaps of ways |
10:22.02 | adeeln | what's the simplest? |
10:22.04 | lyken | so you did a quick install ? |
10:22.13 | lyken | with hsql ? |
10:22.19 | lyken | now changing it to mysql ? |
10:22.54 | adeeln | i did the advanced install method |
10:23.17 | adeeln | could it be that i need to use jdk 1.5? |
10:23.20 | adeeln | and not jdk 1.6? |
10:23.28 | lyken | 1.6 should work |
10:23.55 | lyken | i love how they only show postgres and oracle examples |
10:23.59 | lyken | take that mysql ! |
10:24.07 | adeeln | hahah |
10:24.13 | lyken | i hate that db |
10:24.22 | lyken | but that isnt helping you :) |
10:24.24 | adeeln | i'm not a fan of it either |
10:24.26 | adeeln | but whatever |
10:24.32 | adeeln | i don't want 4 different databases |
10:25.47 | lyken | so you have tomcat installed |
10:25.56 | lyken | and the mysql connector in common/lib ? |
10:25.59 | adeeln | yep |
10:28.05 | lyken | google is my friend :) |
10:28.10 | lyken | i think i might have found the problem and solution |
10:28.41 | adeeln | interesting...i've been reading something off their wiki/forums and it doesn't really seem to work |
10:28.44 | adeeln | can you send me the link? |
10:29.20 | lyken | http://forums.alfresco.com/viewtopic.php?p=8143&sid=855354697836e2fdd65cb74cf944178a |
10:29.25 | lyken | on their damn forums ! |
10:30.44 | *** join/#tomcat Hugh (n=Hugh@puma.mxtelecom.com) |
10:30.45 | adeeln | its a similar problem...but there's no solution |
10:31.08 | lyken | heh |
10:31.44 | lyken | did you try rebooting? |
10:32.30 | adeeln | i think i know what the problem is |
10:32.40 | *** part/#tomcat Hugh (n=Hugh@puma.mxtelecom.com) |
10:32.43 | adeeln | the webapp didn't load the mysql connector from common/lib |
10:35.43 | lyken | okies lemme dig up some msyql test code |
10:36.13 | adeeln | even copying over the connector to the webapp didn't help |
10:39.32 | lyken | adeeln: try some of this code to see if tomcat is working properly |
10:39.36 | lyken | http://www.java2s.com/Code/Java/Database-SQL-JDBC/JDBCSimpleConnection.htm |
10:40.38 | adeeln | lyken: you'll need to help me with compiling and getting the code to run |
10:40.44 | adeeln | java isn't my strong suite |
10:41.09 | lyken | arh, admin thrown in the deepend? |
10:41.13 | lyken | lolz |
10:41.17 | adeeln | always |
10:42.31 | lyken | http://www.kitebird.com/articles/jdbc.html |
10:42.37 | lyken | thats even got how to compile instructions ;) |
10:43.29 | lyken | oh wait |
10:43.33 | lyken | that'll be stand alone |
10:48.18 | lyken | give me a moment adeeln im writing you a quick JSP test file |
10:49.32 | adeeln | sure, thanks |
10:53.16 | lyken | i assume you can make a quick database in mysql? :) |
10:53.33 | adeeln | yeah i can |
10:54.04 | lyken | okies |
10:54.28 | lyken | create a db called testdb make a table called mytable and put say a simple text field and some data in it of some sort |
10:55.02 | lyken | call the field myfield |
10:55.38 | adeeln | sure |
10:56.33 | lyken | http://rafb.net/p/dKRCe780.html |
10:56.40 | lyken | copy that code save it as mysqltest.jsp or something |
10:56.45 | lyken | cahnge the username and password if needed |
10:56.54 | lyken | and load that up in the webapps tree somewhere |
11:02.37 | adeeln | trying it now |
11:03.39 | adeeln | i get a 404 error |
11:03.47 | lyken | where did you put the file? |
11:03.50 | adeeln | The requested resource (/test.jsp) is not available |
11:03.58 | lyken | in tomcat/WEBAPPS/testapp/test.jsp ? |
11:04.14 | adeeln | nope, just webapps/test.jsp |
11:04.18 | lyken | yer |
11:04.19 | lyken | that wont work |
11:04.22 | lyken | need to create a sub dir |
11:04.26 | lyken | for a webapplication instance |
11:04.29 | adeeln | moving it now |
11:08.10 | adeeln | nope, nothing |
11:09.16 | adeeln | alright, i think i'm just going to default it |
11:09.18 | adeeln | and see if it works |
11:09.20 | lyken | okies |
11:09.30 | adeeln | and maybe worry about the mysql later on |
11:09.35 | lyken | hehe |
11:11.27 | *** join/#tomcat kou_note (n=chocoa@host86-138-213-139.range86-138.btcentralplus.com) |
11:25.02 | *** join/#tomcat WhoDey (n=what@204.8.10.118) |
11:29.15 | *** join/#tomcat LongBeach (n=mike@AFontenayssB-152-1-46-161.w83-114.abo.wanadoo.fr) |
11:30.12 | *** join/#tomcat kousuke (n=kikuchi@221x251x19x21.ap221.ftth.ucom.ne.jp) |
11:57.06 | dmiles_afk | why would http://m.y.i.p:8080/manager/html be 404? |
11:58.30 | lyken | cause its not installed/ |
11:59.51 | dmiles_afk | is /admin pART of 6.0? bc it's working |
12:32.08 | Hattori | what's the best heap snapshot analyzer? |
12:32.40 | Hattori | is there anything that find differences from 2 snapshot and tell which instances grow etc? |
12:34.43 | lyken | dmiles_afk: not sure |
12:50.11 | *** join/#tomcat poguy (i=oa@cc-18.erin.utoronto.ca) |
14:00.18 | *** join/#tomcat awelynant (n=cskinfil@208.65.172.147) |
14:04.01 | jasonb | Hattori: The NetBeans Profiler, or Yourkit. |
14:13.07 | Hattori | yourjavakit? |
14:13.34 | Hattori | yourkit java profiler i mean |
14:34.12 | *** join/#tomcat randrew (n=raj@dolmen.cc.columbia.edu) |
14:36.38 | *** join/#tomcat a4akb (n=Akbara@62.215.156.215) |
14:36.57 | a4akb | jasonb hi |
14:45.19 | *** join/#tomcat a4akb (n=Akbara@62.215.156.215) |
14:47.56 | Hattori | what is live option for jmap? |
14:48.13 | Hattori | "If the live suboption is specified, only live objects are counted." |
14:48.29 | Hattori | it means those objects that can't be garbage collected? |
14:52.47 | *** join/#tomcat roue (n=roue@afterthought.ACS.Carleton.edu) |
14:59.28 | *** join/#tomcat GoTIniya (n=sladur_2@82.103.85.58) |
15:29.49 | *** join/#tomcat aluchko (n=aluchko@S01060002724eb0b7.ed.shawcable.net) |
15:32.51 | *** join/#tomcat cowboyway (i=LinuxDev@AC85B698.ipt.aol.com) |
16:05.22 | *** join/#tomcat qbert (n=qbert@cpe-68-206-121-134.stx.res.rr.com) |
16:18.40 | *** join/#tomcat awelynant (n=cskinfil@208.65.172.147) |
16:20.17 | *** join/#tomcat jwisher_ (n=jwisher@87-194-191-78.bethere.co.uk) |
16:27.43 | qbert | anyone thats using tomcat 5.5 can you paste your <Context for your connection pool ? I keep getting org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null'] |
16:33.20 | Hattori | i have this in context.xml: http://paste.uni.cc/15025 |
16:34.18 | Hattori | did u put jdbc drivers in common/lib ? |
16:35.48 | Hattori | and web.xml add this: http://paste.uni.cc/15028 |
16:38.14 | Hattori | that's to connect to mysql db |
16:43.36 | *** join/#tomcat jwisher (n=jwisher@87-194-191-78.bethere.co.uk) |
16:47.12 | qbert | does it matter where those go in the server.xml file ? |
16:47.24 | qbert | oh they go in context not server ? |
16:48.24 | Hattori | i created a context.xml file |
16:48.30 | Hattori | i didn't put in server.xml |
16:49.23 | Hattori | context.xml goes under META-INF dir of your webapp |
16:58.02 | qbert | Hattori, that got it :) , strangely though when I put almost the exact same thing in server.xml it didnt work |
17:02.24 | Hattori | yep i spent some days on that too =\ |
17:02.35 | Hattori | i read almost all google, two times. |
17:02.45 | Hattori | ;} |
17:07.14 | fallout | qbert: my guess is you had some other problem. shouldn't make much of a difference where you configure your context provided it is in one of the appropriate places. |
17:07.18 | fallout | server.xml should work just fine. |
17:12.51 | Hattori | yep but seems to be more difficult |
17:13.09 | Hattori | and having each webapps context file separate sounds better, isn't it? |
17:13.48 | fallout | it's not at all. |
17:13.51 | fallout | er |
17:14.03 | fallout | it may be better depending on your situtation.. it's not any more difficult. |
17:15.59 | pfn | it isn't any more difficult |
17:16.04 | pfn | it's actually much easier that they're separate |
17:16.53 | qbert | hey pfn |
17:17.43 | Hattori | ya well it's like to have 2 class on same file or write classes on separate files |
17:18.06 | Hattori | you don't have to follow one way to get it working, u follow what u like. |
17:18.49 | Hattori | pfn: wasn't a gc problem.. did u say that? ;} |
17:18.54 | pfn | yes |
17:19.02 | Hattori | eheh |
17:19.15 | Hattori | are u in mood for some lame java questions? |
17:19.21 | pfn | just ask |
17:19.36 | Hattori | i'm afraid to post them in the other channel, Mx* will eat me :) |
17:19.47 | pfn | try ##java |
17:20.20 | Hattori | oh, nice |
17:20.53 | Hattori | i posted them in sun forums, so are easier to be read, if u want to have a look i can paste u |
17:26.11 | *** join/#tomcat pappy-_ (n=alex@dslb-084-059-016-089.pools.arcor-ip.net) |
17:47.02 | *** join/#tomcat poguy (i=oa@cc-18.erin.utoronto.ca) |
17:47.16 | *** part/#tomcat poguy (i=oa@cc-18.erin.utoronto.ca) |
18:22.00 | *** join/#tomcat Jay (n=Jay@66-17-52-1.biz.snlo.arrival.net) |
18:22.31 | Jay | when i access http://localhost:8080/, i get the tomcat start page, where is this access logged? |
18:28.27 | fallout | by default, there isn't access logging. |
18:29.13 | fallout | these docs are for 5.0, but it should get you started: |
18:29.14 | fallout | http://tomcat.apache.org/tomcat-5.0-doc/config/valve.html |
18:52.39 | *** join/#tomcat Ionel (n=chatzill@ionel.blueintel.ro) |
18:55.25 | *** join/#tomcat adaro (n=jboss@ip3e83566f.speed.planet.nl) |
19:06.09 | *** part/#tomcat vinse (n=vinse@208.253.223.146) |
19:09.33 | a4akb | lyken: you there? |
20:12.47 | *** part/#tomcat a4akb (n=Akbara@62.215.156.215) |
20:36.05 | *** join/#tomcat stork (n=sh2-136@storkey.plus.com) |
20:38.24 | *** join/#tomcat |ntruder (n=cocaine@86-107-51-28.Asconet.ro) |
21:13.22 | *** join/#tomcat quotemstr_ (n=quotemst@64.61.107.66) |
21:21.46 | quotemstr_ | How can I give each user a webapps directory with UserConfig? |
21:44.36 | *** join/#tomcat wimpies (n=u19809@cable-195-162-216-93.upc.chello.be) |
21:44.55 | wimpies | anybody here that can help with security issues > |
21:56.48 | *** join/#tomcat dvayanu (n=another@ppp-82-135-83-45.dynamic.mnet-online.de) |
22:07.21 | *** join/#tomcat Hattorii (n=ciccio@host174-154-dynamic.14-87-r.retail.telecomitalia.it) |
22:23.04 | wimpies | Anybody ? |
22:23.21 | *** join/#tomcat adeeln (i=adeel@c-67-187-165-216.hsd1.ca.comcast.net) |
22:27.38 | pfn | read the topic |
22:29.38 | wimpies | Sorry. I get access denied (java.util.PropertyPermission rfcyber.home write) but AFAIK the catalina.out contains good grants for this property. I run 5.5 under ubuntu with sun's jre 1.5.0-11 |
23:03.57 | *** join/#tomcat Hattorii (i=darkrad@host214-165-dynamic.8-87-r.retail.telecomitalia.it) |
23:05.53 | dmiles_afk | with <param-name>listings</param-name><param-value>true</param-value> .. how can i make it also expose the WEB-INF dirrecory? |
23:06.19 | dmiles_afk | i supposed i can "type |
23:06.32 | dmiles_afk | it in" :) but want a link in dirrecotyr view |
23:21.11 | *** join/#tomcat map7 (n=map7@teksup41.lnk.telstra.net) |
23:21.12 | *** join/#tomcat Hattori (i=darkrad@host131-165-dynamic.8-87-r.retail.telecomitalia.it) |
23:27.17 | *** join/#tomcat schtinky (n=cyrus@74-131-121-26.dhcp.insightbb.com) |
23:41.36 | schtinky | how do I allow access to a java web application (specifically my SOAP services) to ONLY one ip address (blocking all others)? Which file to I hack into? |