irclog2html for #tomcat on 20051220

00:46.31*** join/#tomcat jasonb (i=noneoyer@adsl-66-124-73-250.dsl.sntc01.pacbell.net)
02:05.14jasonblyken: you around?
02:07.39jasonblyken: The OSS broadcomm 43xx driver works for me now under FC4..  JSYK.  http://bcm43xx.berlios.de/
02:29.07*** join/#tomcat FreemaniaX (n=Freemani@pcp0011117215pcs.elkrdg01.md.comcast.net)
02:35.59*** join/#tomcat vinse_ (n=vinse_@208.253.223.146)
02:53.33*** join/#tomcat vinse_ (n=vinse_@208.253.223.146)
03:27.58CAzanyone in here use tomcat with Solaris 10 ?
03:41.33*** join/#tomcat map7 (n=map7@teksup41.lnk.telstra.net)
03:44.05*** join/#tomcat puff (i=puff@66.45.34.102)
03:45.16map7I'm starting a large project using JSP but want to know how I should design it?  I've learnt some UML but understand that this should only be used for tricky and common parts of code.  What methods do you guys use to design?
03:50.11CAzmap7 you ever worked on a large project ?
03:50.34*** join/#tomcat dorileo (n=dorileo@201.22.172.98.adsl.gvt.net.br)
03:50.37map7not this large, it's an Accounting system
03:50.44CAzyikes
03:50.53CAzbut i guess that's where all the money is
03:51.36map7what design method do u use?
03:58.00map7I'm thinking of breaking up the business layer into sections and showing them visually in a basic flow chart
03:58.19map7Then use UML to show any tricky or common parts of the project
03:58.57map7It's only the business layer I'm having trouble designing, I'm fine with DB, or User Interface
04:00.05map7what are your thoughts?
04:35.24puffEvening.
04:35.34puffmap7: That's a large topic :-).
04:36.05puffmap7: JSP is intended for fairly shallow purposes.
04:36.17map7yes i know, i just want to know where to look
04:36.34puffmap7: Can you clarify your question a bit?
04:36.58puffmap7: I've done a fair bit of java webapps, for the financial and medical industries.
04:37.21puffmap7: Btw, you may want to dig up a copy of Martin Fowler's _UML Distilled_.
04:37.49puffmap7: He also has a book on financial patterns, but I suspect the subject domain of his book may be more than you need.
04:37.49map7I have a book called UML for Java Programmers
04:38.10puffmap7: That's cool... Fowler's book is considered extremely good.
04:38.35puffmap7: It was one of the first UML books and it became one of the most popular... mainly because he focused on "just enough"
04:38.49puffmap7: His books in general are pretty damn good for higher level coding topics.
04:38.57puffmap7: Also very readable.
04:39.22map7puff: cool i might get it
04:39.28map7puff: I need to know where to start design of the application layer
04:39.30puffmap7: You should also maybe pick up his Enterprise Application PAtterns.
04:39.43puffmap7:  I need to hear a little bit more about your context...
04:40.29map7puff: well I am programming an accounting package, it will generate reports and such.
04:40.34puffmap7: First, are you working for a big company, small company, medium company?
04:40.46puffmap7:  Is this something you're coding up custom for your employer?
04:40.50puffmap7:  What's your experience level?
04:41.14map7medium company, and it will be sold commercial
04:41.30puffmap7: Report-oriented?  Good, that's a little more reasonable for a starter project.
04:41.34map7I've programmed in many languages and done something simular to this before
04:41.36puffmap7: Hm, you working alone on this?
04:41.53map7mainly yes
04:42.09puffmap7: Is this going to be hosted or are you selling shrinkwrapo?
04:42.20map7.hosted
04:42.22map7here
04:42.25puffmap7: What part of the world are you in ? :-)
04:42.36map7australia
04:42.41puffmap7: Fun.
04:42.45puffmap7:  I have friends from oz.
04:42.49map7cool
04:43.02map7so i've just about finished design of the database
04:43.15map7and would like to start working on the application level
04:43.32puffAh, sounds like you have a clearer idea of what you're doing than you sounded like at first.
04:43.57map7all my DB is designed using NIAM and ER diagrams
04:43.58puffCan you discuss the requirements a little?
04:45.01puffOkay, so the general scheme of a J2ee/webapp is that you have typically five layers.
04:45.08puffThis is, of course, a generalization.
04:45.35map7basically the requirements are: reporting such as bal sheet, p&l, trail bal, etc.  data entry of payments journals, reciept journals.  Multi language, fast, flexible, appointments, todo list, phone messages.
04:45.57puffOn one end you have the database.  On the other end you have the JSPs, which generally should be extremely simple and are just in charge of taking specialized data objects and outputing HTML with the data in it.
04:46.09lykennice jason
04:46.21pufflyken: What?
04:46.57puffmap7: A classic mistake is putting too much into the JSPs.  This is why the boys at Sun came up with "Model 2 MVC"
04:46.59lykenbroadcom driver for his mac
04:47.03puffAh, cool.
04:47.37puffmap7: "Model 2 MVC" (and various variations on the phrase) was simply an attempt to redefine "the usual" way of writing a J2EE application and include some good basic design principles.
04:47.57lyken'i know mvc'!!
04:48.02map7puff: ok
04:48.07puffmap7: There is much confusion resulting from the massive amounts of stuff written about this :-).
04:48.54puffMVC is basically a simple way of divvying up the application design, the smalltalk crowd came up with it long ago.    Model, View, and Controller.  The same crowd that invented MVC no longer like it, btw, their preferred scheme is "Morphic"
04:49.21puffOh, yeah, they came up with MVC in a GUI context, for devleoping GUI components.
04:49.52map7i remember this from UNI
04:49.58puffmap7: Yeah, I'm sure you do :-).
04:50.21puffSo, how much do you know about tomcat, servlets, webapps, j2ee, etc?
04:51.13map7well I'm new to tomcat and servlets but have already setup my tomcat under FreeBSD and written a servlet that connects to mysql
04:51.20map7and displays a list from a table
04:51.30map7then i was happy with that so I started design
04:51.46map7I chose this language over PHP mainly because it scaleable
04:51.50map7and PHP isn't
04:51.51puffmap7: Cool to hear that.  I'm more worried about the general shape of webapps and j2ee ... a lot of people don't click to that.
04:52.01puffmap7: As I said earlier, you have 5 layers. Leaving aside JSP for a moment...
04:52.32map7and I've connected to webapps and connected through to the DB from there as well
04:52.35puffmap7: So you have the database layer.  Typically people like to have some sort of object-relational mapping (ORM) layer between the database and the rest of the apop.
04:52.53puffmap7: This is because an object model and a relational data model don't really mesh all that well.
04:53.13map7yes i see
04:53.29puffAnd the general topic area of object databases has really not matured yet, and ORMs have become very popular in the past 5-10 years, largely due to the rise of J2EE apps IHMO.
04:54.36puffBecause of this "impedance mismatch" (a term borrowed from electronics and kept around because it just sounds so cool and techie) ORMs are problematic...
04:55.03puffHm... see, it's all about finding strategies for dividing up the code.
04:55.17puffIn ways that make it more feasible to tay sane.
04:55.20puffStay sane.
04:55.56puffUnfortunately, none of these strategies is perfect.  They all break down.
04:56.01puffSo you do the best you can and muddle through.
04:56.08map7I've read that I shouldn't use UML for designing the whole thing, and I see why it becomes too repeatitive and too many diagrams
04:56.22puffYeah.... UML is best used sparingly, IMHO.
04:57.02puffUML is useful if you need to communicate what you're doing in a formal manner.  informal UML at the whiteboard is useful as a commonly-understood notation, but if you get too neurotic about "doing  it right" it's a pain in the ass.
04:57.07map7So maybe i should use just a flow chart to show certain areas of the program and give a graphical representation of the overall area
04:57.17puffUML tools that are no "round trip" are, IMHO, worthless and worse than worthless.
04:57.48puffEr, not "round-trip".  Round-trip means you can point the tool at some java source and generate diagrams, and adjust diagrams and have it update the source to match.
04:58.05puffTool that let you draw diagrams and genreate source from it are poison, IMHO, because the source changes.
04:58.17map7i agree
04:58.24map7CASE tools are crap
04:58.30puffThe source is the truth because it, ultimately, is what's going to run.  Anything that obscures that is going to kill you.
04:58.34puffSlowly or quickly.
04:59.11puffEven UML tools that *are*  "round-trip" are dubiious, but at least they're not so flat-out counterproductive.
04:59.12map7puff: What's a good book on design
04:59.37puffUnfortuantely, you're going to need a library.  Martin Fowler's _Enterprise Application Patterns_ is a good one.
04:59.50puffmap7: Good starting point.
04:59.59map7ok ill check it out
05:00.06puffCool.
05:00.18puffI've gotta head out momentarily.
05:00.36map7puff: ok well ill catch ya around
05:00.42map7thanks for the insite
05:00.45puffDamn, this is a complex topic... I can sort of envision what I want to say, but I can't articulate it :-).
05:00.58map7i may require a lot more discussion later
05:01.04puffSure.
05:01.20puffI wish I knew of a good mailing list for this sort of convo.  If you find one, let me know.
05:01.31lykenheh
05:01.36map7yeah i will
05:01.40lykenmailing list would be slow and painful
05:01.43lykenyou just need an open forum
05:02.00pufflyken: Eh... I like mailing lists.
05:02.17pufflyken: Different style of discourse, but useful.
05:02.21lykenindeed
05:02.54puffmap7: One last thing... be wary of "frameworks" in the java webapp world.
05:03.01puffmap7: also be wary of ejbs.
05:03.07puffmap7:  Though I hear ejbs are getting better.
05:03.12lykenejbs *shudder*
05:03.27pufflyken: ejb3 is supposed to be much, much influenced bvy hibernate.
05:03.39lykenarh
05:03.49lykenyer i got bitten by ejb on a project about 2 years ago
05:03.53lykenhavent touched em since
05:03.58puffmap7: Lots of people advocate using frameworks. Almost all of these frameworks have their own implementation of MVC.  
05:04.21pufflyken: I'd like to hear about that, some time, because I hear lots of vague criticisms of ejb but few detailed experiences.
05:04.41pufflyken: I'd like to have some detailed horror stories to cite :-).
05:04.45lykeni think it was a comibination of 'ejbs' and internal framework
05:04.56lykenwhich just broke so many 'standards'
05:04.59puffmap7: I don't like most of these MVC frameworks, for various reasons.
05:05.07lykenbecause of some hack programmer that started the project
05:05.27puffmap7: A big reason being that there's little need for most of the MVC crap in them, servlets can provide MVC quite well.
05:06.24puffmap7: Another big reason being that I'm not sure they really solve the problems they set out to solve, and in the proces they lead you down a non-standard path, so you're basically adding more complexity to your project for a dubious payoff.
05:07.10map7well i haven't used frameworks but it sounds crap
05:07.20puffmap7: Typically MVC is meant to be such;  to start with, most of your HTML should be generated by extremely shallow JSPs.  
05:07.54puffmap7: Other parts of your application will do the logic, munge the data, etc, and prepare a data object (typically called just "A java bean", but frnakly I think that term gets so overused that it's almost useless).
05:08.11puffThen your code will invoke the jsp somehow, passing the data object along.
05:08.31puffThe JSP will pull the details out of the data object and print HTML, inserting the details into the HTML.
05:08.46puffNow your JSP gets "invoked" and how the data gets passed, there are several options.
05:09.03puffThere's a server-side include/forward, or a client-side redirect.
05:09.22*** join/#tomcat dorileo_ (n=dorileo@200.175.149.85.adsl.gvt.net.br)
05:09.58puffThe server-side include/forward always passes the http request and http response objects, and you add your javabean as an "attribute" on the request.
05:10.10puffA request attribute is sort of like a request parameter, except the value can be any java opbject.
05:10.32puffYou can also pass it less directly, by setting a session attribute.
05:10.48puffI generally prefer to use a client-side redirect and pass the javabean as a session attribute.
05:11.05puffMainly because using a redirect prevents the browser from re-submitting form data.
05:11.41puffNote, however, that this means that multiple browser windows/requests may clash, since they're sharing the same session space.
05:12.03puffIn general, this is a design constraint.  I think it's preferable to focus on solving that problem than on the problems you get from the other alternatives.
05:12.26puffBut then again, I can't say I've spent a ton of time trying the other alternatives.
05:14.00puffBtw, be wary of putting too much into your user sessions.  Remember that each user is going to have a session, that's going to add up to memory usage...
05:14.03puffOkay, now we've gone over the javabean and the display-oriented JSP and the way you invoke it... but what about the other two parts of the process, the initial brower request and the application logic?
05:14.56puffThe initial browser request sends an HTTP request to the server, one of the parameters of that request is going to be the page requested.  Also any form parameters.
05:15.54puffThis is where a lot of MVC frameworks fuck up, IMNSHO.  They decide we need some sort of special, complex mapping solution, some way of defining this reqeust invoke that logic.  Well, we HAVE one of those, it's called HTTP.  I.e. the page you request.
05:16.51map7puff: i gotta go, catch u l8r
05:16.55puffMost MVC frameworks try to bury and obscure the mapping, usually in a specially chosen form parameter.  I prefer to keep it visible in the page you're requesting.
05:16.57puffOkay, nevermind.
06:14.55*** join/#tomcat dorileo_ (n=dorileo@200.175.149.85.adsl.gvt.net.br)
06:20.25*** join/#tomcat jasonb (i=noneoyer@adsl-66-124-73-250.dsl.sntc01.pacbell.net)
06:48.40*** part/#tomcat jsisson (n=sissonj@210-0-83-196.nexnet.net.au)
07:31.45*** join/#tomcat GedasRx (i=usr26@c1.edrana.lt)
08:00.05*** join/#tomcat GedasRx (i=usr36@c1.edrana.lt)
08:12.23*** join/#tomcat vinse__ (n=vinse_@ppp-71-139-118-75.dsl.snfc21.pacbell.net)
09:59.41*** join/#tomcat didier (n=didier@aa3.informactis.com)
10:00.11didierhello, is there a way to reload an application with a command in a cmd.exe window ?
10:33.31*** join/#tomcat dreivier (n=dreivier@port-212-202-43-109.dynamic.qsc.de)
10:59.08*** join/#tomcat jsisson (n=sissonj@ppp39-16.lns2.syd6.internode.on.net)
11:18.24*** join/#tomcat levon (n=levon@ad96eab9e.dsl.de.colt.net)
11:42.37*** join/#tomcat DrizztPassos (n=chatzill@firewall.cesar.org.br)
11:46.45DrizztPassosI need your help. So that my Server can legalize a client certificate is necessary before to insert a certificate in an file of the JDK, called cacerts. I would like know, if I could define one another file (keystore) of access, that no was cacerts for tomcat (I am not using Apache). I need change my cacerts for another archive. IS that possible?
12:46.41*** join/#tomcat mnemonic (i=none@80.91.145.226)
13:30.58*** join/#tomcat Elias (n=EC@host86-129-102-85.range86-129.btcentralplus.com)
13:35.42Eliashi guys, i just install tomcat 5.5.12  
13:36.05Eliasthe service is running but when i type into IE localhost:8080
13:36.23Eliasit returns page not found
13:36.27Eliasany ideas?
13:37.05Eliassorry it returns page cannot be displayed
13:41.29swenteElias: did you prefix it with http:// ?
13:42.16Eliasbloodyhell hell im going to jump out the window. that was it thanks swente
13:42.37swenteElias: IE is very picky about that (if port != 80)
13:43.50Eliasi never realised it would be picky to the extent of having to include http://
13:44.03Eliasbut never mind
13:44.10Eliasthanks again
13:45.20swenteno problem :-).
14:33.55*** join/#tomcat blackcarrera (n=blackcar@ti111210a080-2752.bb.online.no)
14:34.34blackcarreraa problem: We are deploying a WAR on the latest tomcat. This contains a pure-java server that, among other things, create subdirectories.
14:34.46blackcarrerahowever, the sub directories are create under /usr/tomcat, not the application directory
14:35.36blackcarreraalso, we load resources  (property files, etc) which is at the root of the deployed app, but it seems tomcat expects them to be at tomcat root
14:35.41blackcarrerawhat are we doing wrong?
14:36.31blackcarrerain "web.xml", we set display-name, servlet-name and servlet-class
14:36.48blackcarreraideas?
14:44.26blackcarreraI guess what I'm after is a root path for the web app
14:49.53*** join/#tomcat levon (n=levon@ad96eab9e.dsl.de.colt.net)
14:55.32*** join/#tomcat FreemaniaX (n=Freemani@pcp0011117215pcs.elkrdg01.md.comcast.net)
14:57.30*** join/#tomcat califerno (n=marcello@host16-224.pool871.interbusiness.it)
15:01.18*** join/#tomcat keesj_ (n=keesj@deusplus.xs4all.nl)
15:01.34califernoI need to install tomcat5 on  a debian sarge linux box. Is it better to install from apt testing repository or from tar.gz apache site?
15:30.02*** join/#tomcat putzel (n=putzel@183-237-221-213-pool.cable.lan.ch)
15:30.17*** join/#tomcat randrew (n=raj@dolmen.cc.columbia.edu)
15:36.11*** join/#tomcat vito_ (n=vito@www.perspectivepartners.com)
15:57.32*** join/#tomcat Elias (n=EC@host86-129-102-85.range86-129.btcentralplus.com)
16:14.26*** join/#tomcat drN0 (n=chatzill@64.3.161.164.ptr.us.xo.net)
16:20.30*** join/#tomcat bdudney (n=bdudney@c-24-9-189-43.hsd1.co.comcast.net)
16:26.26*** join/#tomcat linuxfreck (n=freck@fry.fmi.uni-passau.de)
16:36.13*** join/#tomcat Megaratta (n=moomoo@ppp-58.9.131.87.revip2.asianet.co.th)
16:54.16blurpydo i need invoker servlet to be enabled to use servlets? i thought i only needed it to use servletd without web.xml files, but it seems nothing works when invoker servlet is disabled
16:54.26*** join/#tomcat FreemaniaPrime (n=Freemani@ip67-153-106-58.z106-153-67.customer.algx.net)
16:54.44linuxfreckthe invoker servlet is deprecated and should be avoided
16:55.01linuxfreckbetter use a framework, or servlet-mapping elements in web.xml
16:55.23blurpywhat kind of framework?
16:56.02linuxfreckwell there are lots of frameworks to make servlet programming easier, a common one is apache struts
16:56.31*** part/#tomcat FreemaniaPrime (n=Freemani@ip67-153-106-58.z106-153-67.customer.algx.net)
16:56.50blurpythanks, i'll take a look :)
16:57.43blurpyah, i got the servlet to work when i added servlet-mapping to the web.xml file!
16:58.45blurpyi wonder why it doesn't work when using port 80 though, only jsp works
16:59.06linuxfreckprobably mod_jk is playing tricks on you
16:59.14linuxfrecki.e. the JkMount directives are wrong
16:59.50blurpythe only one i have is jkMount /*.jsp ajp13
17:00.02*** join/#tomcat FreemaniaPrime (n=Freemani@ip67-153-106-58.z106-153-67.customer.algx.net)
17:00.04blurpywhat would i need to get servlets to work?
17:00.58linuxfreckdepends on how your urls look like
17:01.29blurpyhttp://fluffy/~blurpy/mou <-- that is my testing servlet
17:01.50linuxfreckthey must match the pattern given in JkMount
17:02.29blurpyjkMount /* ajp13 <-- would that be bad?
17:02.33linuxfreckthe best thing you can do is avoid mod_jk completely and use tomcat's http server
17:03.02linuxfreckblurpy: that means that everything would be handled by tomcat
17:03.11blurpyoh
17:03.54blurpyi thought that tomcat + apache was a good combo, don't really know why though. what would i miss if i just used tomcat as the http server?
17:04.57linuxfreckYou won't have apache modules then, e.g. mod_php etc
17:05.11linuxfreckon the other hand, you don't have to fsck with mod_jk
17:05.53blurpyok, not using php at the moment, but might do so later
17:09.14*** join/#tomcat Nopik (n=nopik@ztpnet-73-113.ztpnet.pl)
17:11.00Nopikhi all.. anyone take care to explain some tomcat basics on app deployment to newbie? :)
17:12.00Nopiki have set up tomcat on my linux machine and created some sample jsp pages servlets runned from invoker servlet, they work fine, but i would like to get also bigger app deployed, not via invoker
17:12.16Nopikand i do not know how to deploy it correctly (tried many ways, none of them worked :D)
17:13.05Nopiklets say i have app named 'foo' and i want to get servlet running inside - and assign it to e.g. /foo context
17:13.06linuxfrecksounds like a rtfm question :)
17:13.25Nopikyeah, maybe.. but i've read all manuals i've found and i'm still missing something :)
17:13.41linuxfrecksee http://tomcat.apache.org/tomcat-5.5-doc/appdev/index.html for an introduction into servlet programming and http://tomcat.apache.org/tomcat-5.5-doc/deployer-howto.html on the different ways to deploy webapps
17:14.38Nopiki've created /var/lib/tomcat-5/defaults/ROOT/foo and put WEB-INF/web.xml and WEB-INF/classess/foo/MyServlet.class there.. and now i am not able to invoke it at all - probably web.xml is broken
17:14.42Nopikor, not read at all :)
17:15.43linuxfreckROOT is special, don't use it
17:16.17Nopikok, if i put ROOT/foo/test.jsp i can invoke it, but if i omit ROOT, i even cannot invoke jsp pages, let alone servlets ;)
17:16.26Nopikgood to know, anyway ;)
17:16.53linuxfreck/var/lib/tomcat-5/defaults/ is a non-standard directory, too.
17:18.03Nopikwhat is standard directory, then?
17:18.15Nopik$CATALINA_HOME/webapps?
17:18.19linuxfreckyes
17:19.37Nopikhm, on my system CATALINA_HOME is set to /usr/share/tomcat-5, while there is no webapps directory there.. there is $CATALINA_HOME/server/webapps however, containing admin and manager apps
17:20.01linuxfreckyour distro does wierd things then
17:20.17Nopikmaybe :(
17:20.17linuxfreckserver/webapps is a different thing though
17:22.19Nopiknow i'm trying to do simple thing: downloaded sample.war from url given above, and trying to invoke it.. tried many places (also all mentioned above), restarted tomcat after any modification - but i still get 404 :(
17:23.40Nopiki.e. placing sample.war into $CATALINA_HOME/webapps does not work in particular ;)
17:23.59linuxfreckcheck server.xml
17:24.46Nopikwhat should i find there?
17:24.58linuxfreckthe dir where webapps is
17:26.13*** join/#tomcat godot73 (n=godot@80-218-0-145.dclient.hispeed.ch)
17:26.15linuxfreckit's in the appBase attribute of the Host element
17:26.52NopikappBase is just webapps
17:29.05linuxfreckit's relative to CATALINA_BASE, whereever that is set
17:30.22Nopikdoes tomcat put into logs the value of CATALINA_BASE - as tomcat sees it?
17:30.53Nopikhm, probably not ;(
17:34.32Nopikah, CATALINA_HOME is set to /usr/share/tomcat-5, while CATALINA_BASE is /var/lib/tomcat-5/default
17:37.48Nopikhm, strange.. putting sample.war into webapps does not work, but unpacking it worked
17:37.52Nopiki.e. i see the app now
17:38.16*** join/#tomcat yel (n=yel@xdsl-87-78-23-200.netcologne.de)
17:38.19Nopiki will be use it as a base now.. dunno why .war did not worked ;)
17:39.02Nopikthanks for explaination
17:47.23Nopikok, i managed to get my own app deployed, too :)
17:56.39*** join/#tomcat hosa_die_waldfee (n=pool@dslb-084-056-155-143.pools.arcor-ip.net)
17:57.05hosa_die_waldfeeok this is really strange
17:58.01hosa_die_waldfeei have an string array in which holds my options/parameter for some cmd-line tools
17:58.41hosa_die_waldfeethese are identical to the values which i submit via my jsp site
17:59.48hosa_die_waldfeenever the less if i want to get these parameter values from the submited form via request.getParameter(s[i]) i only recieve null
17:59.58hosa_die_waldfeeany idea?
18:00.30hosa_die_waldfeemeanwhile i try to get around with an hashmap construction
18:00.56hosa_die_waldfeebut would be great if someone has an solution THX!!! :-)
18:01.16linuxfreckyou probably want to give examples
18:01.39linuxfrecki.e. how does your request parameters look like, and how do the elements of the s array
18:03.05yelhi everyone
18:03.20linuxfreckhi yel
18:03.28hosa_die_waldfee<PROTECTED>
18:03.28hosa_die_waldfee<PROTECTED>
18:03.28hosa_die_waldfee<PROTECTED>
18:03.28hosa_die_waldfee<PROTECTED>
18:03.28hosa_die_waldfee<PROTECTED>
18:03.29hosa_die_waldfee<PROTECTED>
18:03.54hosa_die_waldfeeex. for an parameter would be Gamma
18:04.21hosa_die_waldfeerequest.getParameter("Gamma"); gives me the 0.0 which was submited
18:04.45linuxfreckthen the content of the usage String is interesting
18:05.00linuxfreckand btw don't paste more than 3 lines here
18:05.08hosa_die_waldfeeGamma UseGamma and so on
18:05.13hosa_die_waldfeek
18:05.14hosa_die_waldfeesorry
18:05.17linuxfreckuse the pastebin for the rest
18:05.48linuxfreckI suppose there is something wrong with your split, what is the exact string?
18:07.03hosa_die_waldfeeProteinMLdist PInvar UsePInvar Gamma UseGamma Model Estimate_variances
18:08.20*** join/#tomcat bdudney (n=bdudney@71-211-141-201.hlrn.qwest.net)
18:08.25linuxfreckwell it should work then, unless there is more than one space between the words
18:08.32linuxfreckand _ is not valid in urls
18:09.06linuxfreckbbiab
18:10.16hosa_die_waldfeehmm there is only one space even .split(" +") gives the same failure
18:12.37hosa_die_waldfeethe funny thing is if i procede the parameters over the enumeration everything is fine
18:15.40*** join/#tomcat drN0 (n=chatzill@64.3.161.164.ptr.us.xo.net)
19:16.05*** join/#tomcat drN0_ (n=chatzill@64.3.161.164.ptr.us.xo.net)
19:19.43*** part/#tomcat randrew (n=raj@dolmen.cc.columbia.edu)
19:27.47*** join/#tomcat Hellaenergy (n=Hellaene@206.231.92.70)
19:38.19Nopikwhen i change servlet class on disk, is it necessary to restart tomcat?
19:39.35hosa_die_waldfeeu mean u have a webapp running an change an existing class?
19:40.50Nopikyeah
19:46.11hosa_die_waldfeeim not really sure but i would guess a normal redeploy would do the job
19:48.53Nopikok, i'll try
19:50.33hosa_die_waldfeegl
19:52.47Nopikhm, it doesnt :(
19:53.07Nopikit can be necessary to switch some development mode or something like this, though
19:55.13hosa_die_waldfeeis that a prodction server you're running or just local development? do you use any ide?
19:58.56*** join/#tomcat drN0__ (n=chatzill@64.3.161.164.ptr.us.xo.net)
19:59.24Nopiklocal development, no ide (just vim :D)
19:59.33*** join/#tomcat Elmar (n=chatzill@f54064.upc-f.chello.nl)
19:59.49Nopikwhen i'll put into production, it will not change very often, thus server restart will be ok
20:00.47HellaenergyNopik: I think hosa_die_waldfee is suggesting you do use an IDE if you want that functionality. Eclipse or NetBeans will allow you to change things on the fly.
20:01.42Nopik;)
20:02.09Nopikwell, i would rather stay restarting server than have to use eclipse ;p
20:02.33Nopikbtw. if eclipse is able to force server to update, there must be a way of doing it without eclipse ;p
20:02.50Nopikunless tomcat is heavily integrated with it, which i doubt
20:03.21hosa_die_waldfeewhich os do u run?
20:03.35Nopiklinux, gentoo distro
20:03.42HellaenergyIt is embeded within, but it just starts a new server every time.
20:03.59Nopikah, ok
20:04.22hosa_die_waldfeeok than u should use the .sh scripts for deployment or you use the manager app from tomcat
20:05.04*** join/#tomcat Dr_Q (n=chatzill@f54064.upc-f.chello.nl)
20:05.30Nopikhm, manager app could be nice - i never managed to log into it ;)
20:06.41hosa_die_waldfeehave you modified the users name and pw in the conf file? ;-)
20:07.08*** part/#tomcat Dr_Q (n=chatzill@f54064.upc-f.chello.nl)
20:09.19Nopikno, i did not ;p
20:09.19Nopikwhat should i put there?
20:10.34hosa_die_waldfeeim not quiet sure but should be sth like that in the tomcat-user.xml <user username="tomcat" password="tomcat" roles="manager"/>
20:11.19Nopikthanks
20:11.31hosa_die_waldfeethe admin webapp should be able of the user managment too, that can be downloaded from the webpage
20:11.38Nopiki think, i've seen roles="admin" somewhere, gotta try both of them :)
20:11.51hosa_die_waldfeehave a nice try ;-)
20:11.59Nopikwell, did not managed to get log into admin app either :D
20:12.07Nopiki did not tried too much, however
20:12.53hosa_die_waldfeedid you make a restart?
20:13.55Nopikwell, i was not modifying users.xml yet, so restart was not necessary :)
20:16.07Nopikyeah, managed to log into admin app when role set to admin
20:16.10hosa_die_waldfeethis could be of help
20:16.12hosa_die_waldfeehttp://tomcat.apache.org/tomcat-5.0-doc/manager-howto.html#Configuring%20Manager%20Application%20Access
20:16.32hosa_die_waldfeeahh ic
20:16.35hosa_die_waldfee:_)
20:19.12Nopikhm, quite powerfull app ;)
20:19.28Nopikbut strangely, manager app stopped to working at all (access forbidden)
20:19.29Hellaenergywhen it works ;)
20:19.34Nopikyeah :D
20:20.57Nopikwith admin app i can turn on reloadable switch, so server is now checking for updates on disk
20:21.03Nopikthough, it is not done at every access :(
20:21.24HellaenergyI assume it works on timestamps
20:21.39Hellaenergyor touch'es
20:23.33Nopikyes, but i do experience following: i compile new version, copy class to server location, click on reload, see old app, click on reload again, again old, and after few clicks (<5) it suddenly slows down (it is being recompiled) and then i see new version
20:23.36Nopiknot big problem, though
20:24.15HellaenergyIts a time think. Wait the duration of the five clicks ;)
20:25.00Nopik;)
20:25.18Nopikwell, if i mount autofire to my mouse, it will be 50-click time :D
20:25.29HellaenergyDO IT!
20:25.31Hellaenergy:)
20:27.15Nopikno, thanks.. i tried once, but it is nightmare if you want close window
20:27.27Nopikyou end up closing all of your windows, actually :)
20:27.44Hellaenergysilly
20:27.50hosa_die_waldfeedo u have any jsps in your webapp?
20:27.57Nopikyes, i have
20:28.06Nopikand they are checked at every acces, i think
20:28.30Nopikat least i've turned on reloadable param in server.xml :)
20:28.31hosa_die_waldfee;-)
20:29.23hosa_die_waldfeesince the jsp is not fully recompiled you will see the old temporarly hold page
20:29.36hosa_die_waldfeeat least that is what i guess is the problem
20:33.33*** join/#tomcat grzywacz (n=grzywacz@195.69.80.9)
20:36.37Nopikis there any good tutorial to do user authentication on jsp/servlets?
20:36.52Nopikjust like admin app: in order to do anything you have to login
20:37.09Nopikgotta go through google..
20:37.45*** join/#tomcat a4akb (i=a4akb@ask13-171.qualitynet.net)
20:38.02a4akbYo.
20:39.28a4akbibot Hellaenergy
20:39.29ibot[hellaenergy] cute!
20:49.09*** join/#tomcat ye1 (n=yel@xdsl-87-78-114-89.netcologne.de)
20:52.02Nopikhm, in some web.xml i've found <login-config> secition.. anyone know where can i found documentation on it?
20:52.33a4akbwww.google.com
20:52.47Hellaenergyamen
20:53.08Hellaenergya4akb: I think that is the first smart thing I have ever seen you say.
20:53.40a4akbwelp Hellaenergy you are never here, I do say a lot of smart things in here ;o)
20:53.52Hellaenergykeep it up.
20:54.00a4akbThanks.
20:54.13a4akbHowz life?
20:54.31HellaenergyWonderful thanks
20:54.36a4akbcool
20:54.44a4akbYou are Welcome.
20:54.59HellaenergyNow get back to work.
20:55.03Hellaenergylol
20:55.10a4akbStudies completed?
20:55.22a4akbyea, get back to work @ 11:54PM
20:55.25Hellaenergynevermind me. This is the #tomcat channel
20:55.54a4akbok lets pm
20:56.29Hellaenergyhell no
20:56.32a4akblol
20:56.39Hellaenergylater
20:56.52a4akblater, am going to bed soon.
20:57.00a4akbGood to see you.
20:57.10Hellaenergywhatever
20:57.24a4akbI love you. :P~
20:57.41Hellaenergyum... no.
20:57.51a4akblol
20:58.19a4akbwe all love you for creating the channel
20:58.22a4akbibot love
20:58.24ibotIf you love <insert item> so much, why don't you marry it
20:58.40Hellaenergyibot: hate a4akb
20:58.56a4akbibot goodgirl
20:58.59Hellaenergyibot: what is hate
20:59.01ibotHellaenergy: I think you lost me on that one
20:59.24a4akbshe is a love bot Hellaenergy, dont corrupt it
20:59.28Hellaenergylol
20:59.33a4akb;P
20:59.33Hellaenergydamn her
20:59.41a4akbibot i love you
20:59.43ibotYou love you?
20:59.51a4akbibot love you
20:59.53ibotIf you love you so much, why don't you marry it? (oooooh)
21:00.26Hellaenergyibot: a4akb is a spammer
21:00.27ibot...but a4akb is already something else...
21:00.32a4akb:P
21:00.35a4akbibot a4akb
21:00.37ibotrumour has it, a4akb is Analysis_Paralysis
21:00.45a4akbyep, thats me
21:00.46Hellaenergyibot: forget a4akb
21:00.46iboti forgot a4akb, Hellaenergy
21:00.56Hellaenergyibot: a4akb is a spammer
21:00.58ibotokay, Hellaenergy
21:01.03Hellaenergygood boy
21:01.21a4akbibot forget Hellaenergy
21:01.21ibota4akb: i forgot hellaenergy
21:01.32a4akbibot Hellaenergy is a porn bot
21:01.33ibotokay, a4akb
21:01.33a4akb:P
21:01.39Hellaenergyibot: forget Hellaenergy
21:01.39iboti forgot hellaenergy, Hellaenergy
21:01.47Hellaenergyibot: a4akb
21:01.49ibotextra, extra, read all about it, a4akb is a spammer
21:01.54a4akb\o/
21:02.29a4akbsleep well Hellaenergy
21:04.39*** join/#tomcat drN0__ (n=chatzill@64.3.161.164.ptr.us.xo.net)
21:07.00*** join/#tomcat jasonb (i=noneoyer@adsl-66-124-73-250.dsl.sntc01.pacbell.net)
21:07.13a4akbLo! The great one returns
21:07.52HellaenergyHey jasonb
21:08.16jasonbHellaenergy: Hi!  How's it going?
21:08.31HellaenergyVery well thanks
21:09.25jasonbHellaenergy: How's the harley?  :)
21:09.35Hellaenergyin winter storage
21:09.39Hellaenergy:(
21:09.54HellaenergyDid you get a ride yet?
21:09.59a4akband i thought it was a tomcat channel Hellaenergy :P
21:10.27Hellaenergyowww I got dogged
21:10.31Hellaenergymy fault
21:10.34jasonbheh
21:10.48a4akbdamn u got an harley n did not even tell me!
21:10.53*** part/#tomcat jsisson (n=sissonj@ppp39-16.lns2.syd6.internode.on.net)
21:11.29*** topic/#tomcat by a4akb -> http://tomcat.apache.org Latest stable versions of Tomcat are 5.5.12, 4.1.31, and 3.3.2 If you are a newbie, use the official distribution on Jakarta's site. Be sure to check the log files before you attempt to search for a solution. SLOW-MOTION CHANNEL (we all have jobs): Ask your question, then wait; check back often to see if anybody answered.owner got an harley
21:12.11jasonbDon't change the channel topic to off topic things, please.
21:12.32*** topic/#tomcat by a4akb -> http://tomcat.apache.org Latest stable versions of Tomcat are 5.5.12, 4.1.31, and 3.3.2 If you are a newbie, use the official distribution on Jakarta's site. Be sure to check the log files before you attempt to search for a solution. SLOW-MOTION CHANNEL (we all have jobs): Ask your question, then wait; check back often to see if anybody answered.
21:13.07a4akbsorry
21:13.48Hellaenergya4akb: I think we have had enough for you today. Its time for you to leave.
21:16.18*** mode/#tomcat [+o Hellaenergy] by ChanServ
21:16.18*** part/#tomcat a4akb (i=a4akb@ask13-171.qualitynet.net)
21:16.18Hellaenergylol
21:17.17Hellaenergytrue
21:17.42HellaenergyYeah he is a bit like a cockaroch
21:18.16jasonbheh.. I like your spelling of that.  :)(
21:18.28Hellaenergylol
21:18.39jasonbThat must be the Scarface spelling..
21:18.58Hellaenergywhat is it cockroach?
21:19.11jasonbDepends on if you're hispanic or not.  :)
21:19.25Hellaenergyhehe
21:19.44HellaenergyI installed Geronimo the other day.
21:19.49jasonbHow did that go?
21:19.54HellaenergyEasy
21:20.02jasonbDid it come pre-configured to use Jetty?  :)
21:20.14HellaenergyHowever they seem to be defaulted to using jetty
21:20.19Hellaenergyyup
21:20.21jasonbGeronimo is probably really nice now.
21:20.33HellaenergyDude you ain't lyin
21:20.40HellaenergyThe management console is nice
21:20.41jasonbThose guys rock.
21:21.07HellaenergyI wan't to switch from JBoss to it now.
21:21.22HellaenergyOnce it gets released I will attempt the right up
21:21.31jasonbIt has Tomcat in it, but I understand that it defaults to using its built-in Jetty instead.
21:21.52jasonbIt's open source.  It's released.  :)
21:22.02Hellaenergymilestone 4
21:22.16jasonbYou can get the source code, right?
21:22.30jasonb.. Then it's released.  :)
21:22.42Hellaenergyhttp://geronimo.apache.org/
21:22.46HellaenergyLook at the front page
21:22.49jasonbEverything in this world is a work in progress.
21:22.57Hellaenergy"Geronimo 1.0 Release Pending"
21:23.13HellaenergyApparently someone leaked that 1.0 was final
21:23.20HellaenergyYou know what I mean silly.
21:23.27HellaenergyIts half political
21:24.03jasonbNo it isn't.
21:24.04jasonbIt's 100% political.
21:24.13jasonb(the "released" thing, I mean)
21:24.18Hellaenergyno doubt
21:24.46HellaenergyIts is slightly tech as well. People have to know what to support
21:26.19jasonbI find it strange that people will wait for a Dot Zero release of something, then just sit back and complain that there are bugs when it's a dot zero.  Then, when dot somethingelse comes out, they won't upgrade.
21:26.37jasonbJust get what works.
21:27.01HellaenergyYeah I tend to stay away from .0 of anything
21:27.17Hellaenergygenerally are tons of bugs
21:40.18*** join/#tomcat aaronc (n=acline@12.104.6.129)
21:40.23aaroncsuper-complicated question
21:40.40aaronctomcat server on port 8080 is behind a BigIP unit that is doing SSL for the tomcat server
21:41.05Hellaenergylol
21:41.19aaroncnow... tomcat doesn't know that it is behind an SSL proxy
21:41.30aaroncbut I need it to return URLs like it is
21:41.36aaroncdoes that make sense?
21:42.13aaroncif the app makes a redirection, I need the redirection to start with an https://    not a http://
21:42.18hosa_die_waldfeedoes that proxy some kind of portmapping
21:42.41aaroncit does coming in, and it might going out, but I haven't figured the "out" part yet
21:42.46HellaenergyThat is a nasty one
21:42.48aaroncis that the best way to go?
21:43.12aaroncHellaenergy:  that's kind what I thought... very nasty
21:43.13hosa_die_waldfeewhat app do u use as proxy?
21:43.22aaroncits a BigIP Load Balancer
21:43.39aaroncnot an app, per say, but a piece of hardware
21:44.39Hellaenergyaaronc: If you find out let me know.
21:44.47aaroncheheheh... will do
21:45.35hosa_die_waldfeethats why i never heard of ;-)
21:47.31jasonbaaronc: Set proxyPort and redirectPort on your Connector to what that BigIP uses.
21:49.39Hellaenergyanyone know how well Harmony is coming along?
21:50.40jasonbYes.. entities are starting to donate lots of code now.
21:51.02jasonbThe pieces seem to be falling out of the sky into Harmony, but it will take a very long time to assemble them in an intelligent and useful way.
21:51.38jasonbAnd, at the same time it seems like there is no progress in getting ASF & FSF together on licensing enough for Harmony to be able to incorporate Classpath (as I expected).
22:19.19*** join/#tomcat h0ngry_ (n=thinker@68-190-245-247.dhcp.snbr.ca.charter.com)
22:19.21h0ngry_hi folks
22:20.40h0ngry_I am having a great deal of trouble getting tomcat working properly.  in the catalina_log, I keep receiving this error: "2005-12-20 14:25:49 UserDatabaseRealm[Catalina]: Exception looking up UserDatabase under key UserDatabase
22:20.40h0ngry_javax.naming.NamingException: The processing instruction target matching "[xX][mM][lL]" is not allowed.
22:20.59h0ngry_might anyone be able to give me a clue as to what might be wrong?
22:28.55h0ngry_hello?
22:29.13*** part/#tomcat h0ngry_ (n=thinker@68-190-245-247.dhcp.snbr.ca.charter.com)
22:29.13*** part/#tomcat Hellaenergy (n=Hellaene@206.231.92.70)
22:33.34*** part/#tomcat aaronc (n=acline@12.104.6.129)
22:37.19*** join/#tomcat jsisson (n=sissonj@210-0-83-196.nexnet.net.au)
22:57.49*** join/#tomcat Elias (n=EC@host86-129-102-85.range86-129.btcentralplus.com)
23:03.48Eliashi guys i wonder if any of you can explain this. i created a few html pages on my desktop and then copied them into the webapps folder and everything worked fine. i then copied them onto my laptop and put them into the webapps folder on the laptop, but when i display the pages on the laptop the images included in the page are not displayed
23:07.12*** join/#tomcat jasonb (i=noneoyer@adsl-66-124-73-250.dsl.sntc01.pacbell.net)
23:08.48*** join/#tomcat vinse_ (n=vinse@208.253.223.146)
23:14.11*** part/#tomcat vinse_ (n=vinse@208.253.223.146)
23:21.03*** join/#tomcat vinse_ (n=vinse@208.253.223.146)
23:38.04*** join/#tomcat vins1 (n=Alon@208.253.223.146)
23:47.42*** join/#tomcat HotDogHotDog (n=jeff@h24-207-85-163.cst.dccnet.com)

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