irclog2html for #tomcat on 20060118

00:03.56*** join/#tomcat FreeManiac (n=Freemani@ip67-153-106-58.z106-153-67.customer.algx.net)
00:30.33*** join/#tomcat FreemaniaX (n=Freemani@ip67-153-106-58.z106-153-67.customer.algx.net)
01:24.33*** join/#tomcat jasonb (i=noneoyer@adsl-66-124-73-250.dsl.sntc01.pacbell.net)
01:37.24*** join/#tomcat emp (n=emp@70.57.239.35)
02:12.13*** join/#tomcat afaik (n=jcarr@216-138-43-178.adams.net)
02:12.29afaikis tomcat 5 backwards compatible with J2EE 1.4 ?
02:13.40dadivafaik do you mean J2SE 1.4?
02:13.43dadiv(JDK 1.4)
02:14.05afaikI mean, will most J2EE nah, J2EE 1.4
02:14.39afaikyeah, I think I mean J2SE 1.4
02:15.00dadivDo you mean Java 1.4 vs "Java 5"?
02:15.40dadivI know Tomcat 5.5 can run with JDK 1.4 and 1.5
02:15.49afaikwell... .I guess I'm wondering if most 1code written under 1.4 will run on tomcat 5
02:15.52afaikokay, thanks
02:15.56dadivIt should
02:29.59empwhat directory would i start with sticking a helloworld.jsp file at? :)
02:38.12dadivhm, i dunno, i always make webapp archives ;)
02:38.26dadivlook at the examples in the jsp-examples directory in webapps
02:38.49dadivyou could stick it in there if you wanted to :)
02:39.06empahh, i just installed tomcat5-webapps and that helped :)
02:42.29empis there a good howto on making a webapp archive?
02:45.23dadivDo you know how to use Ant?
02:45.43empI have used it in the past
02:46.11empI'll checkout the man page, if that's what I need
02:46.12dadivAnt has a nice 'war' task, but you can also just make a war file manually
02:46.24dadivin fact it's probably best to make it manually to learn how
02:46.38dadivbut it's simple, all it is is a WEB-INF directory with a web.xml inside it
02:46.41empI'd like to try manually first
02:46.55dadivand the whole thing gets jarred up, and then named with .war
02:47.56dadivso go out and start looking at how web.xml is constructed. learn by example -- there is not a lot of good documentation that I have found out there on the various web.xml's
02:48.10dadiv(different schemas for different servlet specification versions)
02:48.11empthinks for the pointers
02:48.16dadivsure, no problem
02:48.17emperr, thanks
02:48.28dadivjava web development is a pain in the ass, are you sure you want to get into it ? :)
02:49.19empwell, I'll do one project and see how it goes :)  I know some people big into java, though they are offline now ;)
02:49.55dadivthat's cool, don't get me wrong, it's cool and fun, but it can be a real drag sometimes :)
02:50.33empyeah, just like anything else I bet...  but java gives you more rope to hang your self
02:51.08dadivMost definitely.
02:53.05*** join/#tomcat randrew (n=user1@109.sub-70-194-119.myvzw.com)
03:18.26*** part/#tomcat FreemaniaX (n=Freemani@ip67-153-106-58.z106-153-67.customer.algx.net)
03:48.36*** part/#tomcat randrew (n=user1@109.sub-70-194-119.myvzw.com)
03:57.51*** part/#tomcat dadiv (n=d@68-191-68-205.dhcp.ahvl.nc.charter.com)
04:00.26*** join/#tomcat vinse (n=vinse@ppp-71-139-33-108.dsl.snfc21.pacbell.net)
04:58.08*** join/#tomcat crackintosh (i=foodserv@sunset.dreamhost.com)
05:02.59crackintoshcan I change the values of JAVA_OPTS without resetting the server?
05:12.36*** part/#tomcat crackintosh (i=foodserv@sunset.dreamhost.com)
05:12.54*** join/#tomcat crackintosh (i=foodserv@sunset.dreamhost.com)
06:18.56*** join/#tomcat Hewitt (n=tomcat@203.222.183.3)
06:22.08*** part/#tomcat Hewitt (n=tomcat@203.222.183.3)
06:25.13*** join/#tomcat vinse (n=vinse@ppp-71-139-57-38.dsl.snfc21.pacbell.net)
06:28.18*** join/#tomcat Icecave (n=winterco@203.222.183.3)
06:31.20IcecaveHi, everyone. I have a question and can't find answer in apache site. I am wondering has Tomcat 5.0.* been fully certificated for JDK1.5? thx
06:32.00lykenas id will it run with jdk 1. ?
07:03.22*** join/#tomcat valmont (n=chrishol@dsl092-043-004.lax1.dsl.speakeasy.net)
07:21.18*** join/#tomcat ding (n=ding@218.75.100.10)
07:21.22dinghello
07:21.34dingI use tomcat5.5.12
07:21.50dingand I wonder if I use jdk1.6, will some problems appears?
07:22.15ding??
07:22.45dingany one use jdk1.6 to run tomcat?
07:23.03lykennot me
07:28.58dingok
07:29.02dingI wanna upgrade it
07:29.12dingbut I dont know if it will runs well
07:29.22lykenonly way to know
07:29.23lykenis to try it
07:29.26lykenand anything does break
07:29.28lykendocument it :)
07:29.38dingand a strange thing
07:29.46dingwhen I use tomcat5.0.28
07:29.59dingand I thought there is a program has bugs
07:30.43dingthat when some times the memory of tomcat will continue increasing until there no available memory
07:30.59lyken5.0.28 has some issues
07:31.12dingand also 5.0.30
07:31.18dingand also 5.5.9
07:31.35lykenis it your web application that is doing that ?
07:31.36dingso I delete all the programs then rewrite it, then no problem appeared
07:31.51dingso I dont know if the old program has bugs
07:32.01lykeni dont know sorry
07:32.02dingbecause the old programs has some part not written by me
07:32.19lykenid assume there is a memory leak in your code
07:32.23dingyes, they say the smartupload has bugs
07:32.47dingyes, but I thought some one know that bug , that he can control when the bug affect
07:33.03dingthat days, maybe 5 minutes it will shows , may be 10 minutes
07:33.09dingI can't trace it,
07:33.19dingbut after I replace all the old program it never happened
07:33.34dingand I didn't use smartupload in the new application
07:34.07dinghi, do you all write ejb?
07:34.54lykeni dont
07:34.59lykencause tomcat doesnt support ejbs
07:35.08dingyes, I dont also
07:35.26dingso, what framework do you use
07:35.38lykenmy own
07:35.48dingoh
07:36.07dingI use my own framework also, but I also use someone's framework
07:36.47*** part/#tomcat NorthDragon (n=IzhikovN@213.251.192.43)
08:05.27*** join/#tomcat jsisson (n=sissonj@ppp20-78.lns2.syd7.internode.on.net)
08:31.06*** join/#tomcat olem_omay (n=omay@dslb-088-072-033-126.pools.arcor-ip.net)
08:59.54*** join/#tomcat lucky_girl (n=c1317c6b@mar75-4-82-230-46-152.fbx.proxad.net)
09:04.22lucky_girlI made a big  mistake , I did  Ctrl shift DEl then I lost my bookmark, is there a way to restore my bookmark ?
09:24.58*** join/#tomcat noodl (n=noodl@195-97-225-122.onyx.net)
10:15.33*** join/#tomcat Vanuatoo (n=vanob@227-35.adsl.caucasus.net)
10:28.53*** join/#tomcat noodl_ (n=noodl@195-97-225-122.onyx.net)
10:46.29Vanuatoo<PROTECTED>
10:56.48*** join/#tomcat linuxfreck (n=freck@p5492B506.dip0.t-ipconnect.de)
11:19.35*** join/#tomcat omay (n=omay@dslb-088-072-033-126.pools.arcor-ip.net)
12:06.10*** join/#tomcat omay (n=omay@dslb-088-072-033-126.pools.arcor-ip.net)
12:07.22*** join/#tomcat Vanuatoo (n=vanob@213.200.4.246)
12:07.26*** join/#tomcat levon (n=levon@62.48.88.185)
12:08.37*** join/#tomcat omay (n=omay@dslb-088-072-036-151.pools.arcor-ip.net)
12:42.18*** join/#tomcat dreivier (n=dreivier@port-212-202-43-109.dynamic.qsc.de)
13:46.58*** join/#tomcat Fracture (n=Fracture@dsl-202-173-191-84.qld.westnet.com.au)
13:47.13Fracturehi.. anyone here know the performance differences between mod_proxy and mod_jk ?
13:50.08linuxfreckFracture: in most cases, the performance hit is negligible
13:50.28linuxfreckusing the built-in tomcat http server is a bit faster than all the other stuff though
13:52.39Fractureyeah.. the issue is that I want to be able to take my site offline to do upgrades, but still show anoffline page.  at the moment I am achieving this with an apache server using mod_caucho to a resin server.  THough I am looking at using tomcat.
13:53.42Fractureis it possible to configure tomcat so that a special handler is called when a request for a webapp occurs, when it is in a non 'active' state.. i..e when deploying, stopped etc.. ?
13:54.07linuxfreckI don't think so
13:54.33linuxfreckunless you have a heavily loaded site, mod_proxy should be just as fast as mod_jk
13:55.00Fracturewould apache be better at ssl than tomcat ?
13:55.01linuxfreckand the new mod_proxy that comes with apache 2.2 should perform as good as mod_jk
13:55.17linuxfreckI don't know any benchmarks in that area
13:55.30Fracturecheers.
14:43.35*** join/#tomcat NorthDragon (n=IzhikovN@213.251.192.43)
15:02.17*** join/#tomcat bdc34 (i=bdc34@rrdhcp56-187.redrover.cornell.edu)
15:04.29*** join/#tomcat GabiAPF (n=gabriela@200.122.94.137)
15:06.06GabiAPFHi. Could someone please help me get started with servlets? I've managed to compile one, but I don't know how to make the server find it, and the online tutorials I've seen contradict each other, and none of them has helped me.
15:09.29linuxfreckGabiAPF: this guide help me a lot. has lots of info on procedures and usage of web applications in tomcat. http://tomcat.apache.org/tomcat-5.5-doc/appdev/index.html
15:09.43linuxfreckyou should also get a book on servlet programming though
15:10.17GabiAPFGetting a book could be hard. But thanks for the link.
15:10.51GabiAPFAh, wait...
15:10.57GabiAPFI've already tried that one.
15:12.05linuxfreckwhat issues did you have with it?
15:12.19GabiAPFI tried installing the application with ant, and with the manager.
15:13.14linuxfreckand?
15:13.41GabiAPFWith the manager, I don't know how to tell it where the application is. (I tried putting the location of web.xml and build.xml in  XML Configuration file URL and in both cases it said it had installed it, but nothing happened).
15:13.53GabiAPFWith ant, it threw a lot of exceptions.
15:14.02GabiAPFinstall:
15:14.03GabiAPF<PROTECTED>
15:14.03GabiAPFBUILD FAILED
15:14.03GabiAPF/var/lib/tomcat4/webapps/pruebasServlets/build.xml:34: FAIL - Encountered exception java.io.IOException: java.lang.IllegalStateException: ContainerBase.addChild: start: LifecycleException:  Context startup failed due to previous errors
15:15.07linuxfreckyour tomcat installation is old and probably broken. I can't recommend using tomcat packages from any linux distribution
15:15.19linuxfreckyou better get the official binary distribution and use that one
15:15.44GabiAPFHas that error happened before with old distributions?
15:16.51linuxfreckI'm not aware of anyone posting that particular error here. but there are lots of people having issues with distribution packages of java software
15:17.15GabiAPFAlright, thanks.
15:17.27linuxfreckalso, tomcat version 4 which you run is about 4 years old or more. lots of bugs have been fixed
15:18.54GabiAPFOk, I guess I'll try changing it. Thanks.
15:19.05*** part/#tomcat GabiAPF (n=gabriela@200.122.94.137)
15:27.53*** join/#tomcat a4akb (i=a4akb@ask10-166.qualitynet.net)
15:44.42*** join/#tomcat randrew (n=user1@91.sub-70-194-8.myvzw.com)
15:46.13*** part/#tomcat a4akb (i=a4akb@ask10-166.qualitynet.net)
15:54.54*** join/#tomcat warrior (n=sphinx@cpe-24-193-247-11.ucwphilly.res.rr.com)
16:12.48*** join/#tomcat jasonb (i=noneoyer@adsl-66-124-73-250.dsl.sntc01.pacbell.net)
16:25.39*** join/#tomcat jasonb (i=noneoyer@adsl-66-124-73-250.dsl.sntc01.pacbell.net)
16:46.18*** join/#tomcat karlr (n=karlr@sheridan.cc.wy.us)
16:50.40karlri have tomcat 5.5 running on windows, i've setup SSL just like other tomcat 5.0 machines, i can only get to port 8443 when i use http, not https.
17:03.37*** join/#tomcat jsisson (n=sissonj@59.167.28.37)
17:14.30*** join/#tomcat FreemaniaX (n=Freemani@ip67-153-106-58.z106-153-67.customer.algx.net)
17:18.30*** join/#tomcat AnaMX (n=anavarre@201.136.226.222)
18:15.11*** join/#tomcat levon (n=levon@62.48.88.185)
18:21.11*** join/#tomcat vinse_ (n=vinse_@208.253.223.146)
18:42.04*** join/#tomcat bdc34 (i=bdc34@rrdhcp56-617.redrover.cornell.edu)
19:33.00*** join/#tomcat Brice (n=bricecub@va-71-48-137-167.dhcp.sprint-hsd.net)
19:35.13bricecubeI am trying to run a legacy web application on tomcat 5.5 -- the source was written in 2000, and contains some incompatibilities (such as using the 'enum' variable name for Enumeration) which I've had trouble cleaning up.
19:35.51bricecubeIs there a way I can have tomcat's jasper emulate older java source? such as when I compiled my jars with "javac -source 1.2 x.java" ?
19:36.17bricecubeor should I download an old java SDK ?
19:44.15*** join/#tomcat emp (n=emp@70.57.239.35) [NETSPLIT VICTIM]
19:45.25*** join/#tomcat Cozmiin (i=coz@CPE000d88872d1c-CM001225408690.cpe.net.cable.rogers.com)
20:00.49linuxfreckbricecube: tomcat 5.5 supports java 1.5 and java 1.4 with the compatibility package, but not earlier versions
20:01.13linuxfreckbricecube: you should try and run it with the 1.4 jdk. the enum var is new in 1.5 for example
20:01.59bricecubelinuxfreck, do you think I should use an old version of tomcat?
20:02.23linuxfreckwhy do you want to upgrade anyway?
20:02.46bricecubeI've been forced to. a server the webapp was on got cleared
20:03.12bricecubeand the new one is windows server 2003, and I'm having trouble getting my old version of jrun (2.3) to run w/ the new IIS
20:03.13bricecubelol
20:03.46bricecubeso I want to go to tomcat.. and eventually move it to a hosting company that supports tomcat virtual hosting (versus dedicated server cost...)
20:04.25bricecubeonly problem w/ that is I haven't found any tomcat hosts that also offer MS SQL databases ;( ...
20:04.35bricecubeobviosuly.. I did not write this code ;)
20:05.13linuxfreckalso check compilerSourceVM etc in http://tomcat.apache.org/tomcat-5.5-doc/jasper-howto.html
20:07.20bricecubeI'll use 1.4 w/ compat.. and see if setting compilerSourceVM to 1.2.2 helps
20:08.12bricecubelinuxfreck, I'm new to tomcat context. can I supply the compilerSourceVM parameter in /WEB-INF/web.xml ?
20:09.06bricecubeor do I need to set it globally in the ~tomcat/conf/web.xml ?
20:09.21linuxfreckI'm not sure whether you can do that.
20:09.44bricecubeit just worries me if I seek a virtual host ;)
20:10.57linuxfreckheh
20:12.40linuxfreckyou can probably duplicate the jsp entry in your webapp
20:12.50linuxfreckthat makes it incompatible to all other servlet containers though
20:13.48bricecubelol.. damn jsp gives me a headache ;)
20:14.20linuxfreckthe enum thing shouldn't even hurt you in the default config
20:18.00bricecubeit did.. complained that enumeration could not be assigned a type?
20:18.58bricecubeI'm a little worried this code is totally incompatible w/ anything greater that 1.2 ;( and will need to be overhauled
20:19.04linuxfreckwhat was the exact error message?
20:19.55bricecubehere's an example of the problematic code: Enumeration enum=request.getParameterNames();
20:20.43bricecubeerror was "Enumeration cannot be resolved to a type"
20:40.52FreemaniaXcan tomcat do name based virtual hosting in standalone mode?
20:41.20FreemaniaXie without apache httpd
20:47.32bdc34freemaniaX: ya, (i'm using an older version) you are interested in the server.xml file and the <Host name="bla.bla.com"
20:48.25bdc34FreemaniaX: you can have <Alias> elements under that
20:50.02bdc34iFreemaniaX: <Host name="name1.com" appBase="webappsForName1"/> followed by <Host name="name2.com" appBase="webappsForName2"/>
20:51.49linuxfreckbricecube: seems to be a bug with the compiler tomcat 5.5 uses. you may want to try the latest tomcat 4.1
20:53.28bdc34FreemaniaX: check http://tomcat.apache.org/tomcat-5.5-doc/config/host.html
20:53.29FreemaniaXbdc34, thanks
20:54.09FreemaniaXfor some reason I always believed that tomcat was strictly using  IP based hosts
20:55.11*** join/#tomcat NorthDragon (n=IzhikovN@213.251.192.43)
21:16.54*** part/#tomcat solus (n=martin@ua-83-227-192-23.cust.bredbandsbolaget.se)
21:30.57*** join/#tomcat valmont (n=chrishol@germany.pspdev.pas.earthlink.net)
21:53.31*** join/#tomcat agherna (n=agherna@singularity.ci.uiuc.edu)
21:53.49*** part/#tomcat agherna (n=agherna@singularity.ci.uiuc.edu)
21:53.52*** join/#tomcat agherna (n=agherna@singularity.ci.uiuc.edu)
21:56.23aghernais it possible to set up tomcat 5.5.9 & tomcat 5.0.28 to run on the same web server?  we have apache 1.3, our workers.properties file, and httpd.conf file configured and we have 2 tomcat workers set up.  our tomcat 5,5,9 does not seem to recognize REMOTE_USER.  Any ideas of what I should look for in my  tomcat configuration?
22:11.27*** part/#tomcat NorthDragon (n=IzhikovN@213.251.192.43)
22:14.49bricecubeI'm trying to switch a web application from Jrun to tomcat.  I've just built the web application with the tomcat deployer script & ant, and installed the resulting WAR file.
22:15.15bricecubenow that it's deployed, when I visit the application, I get:
22:16.00bricecubeWrapper cannot find servlet class org.apache.jsp.index_jsp    ... or org.apache.jsp.*filename*
22:16.39bricecubethe ant built created a whole bunch of files in <webapp>/WEB-INF/classes/org/apache/jsp/.....
22:17.28bricecubeand the resulting WEB.XML  shows a whole bunch of wrappers for URIs -- ie:
22:17.31randrewagherna: possibly 'tomcatAuthentication' attribute in connector
22:17.46bricecube<servlet>
22:17.47bricecube<servlet-name>org.apache.jsp.links_jsp</servlet-name>
22:17.47bricecube<PROTECTED>
22:17.47bricecube<PROTECTED>
22:19.03bricecubebut, upon examining the files in WEB-INF/classes/org/apache/jsp/....   I notice they're all .java (and not .class) files, as if the ant build never compiled them ?
22:22.30bricecubefor instance, visiting http://localhost:8080/myapp/links.jsp  results in:   javax.servlet.ServletException: Wrapper cannot find servlet class org.apache.jsp.links_jsp or a class it depends on
22:23.54bricecubeeven though the build created a myapp/WEB-INF/classes/org/apache/jsp/links_jsp.java  file
22:24.15aghernarandrew:  I have that set up in the AJP connector
22:32.47bricecubedo I even need to have all my jsp files turned into servlets by the ant build process? (using deployer's build.xml) ??
22:48.53*** join/#tomcat DaBooS (n=Know@82.201.254.170)
22:49.08DaBooShello
22:49.44DaBooSHello I have just installed tomcat 5.5, I can load an HTML page (http://localhost:8080/myApp/static.html) but when i attempt to load a servlet (http://localhost:8080/myApp/servlet/FirstTomcat) I get error 404  (Requested resource unavailable)
22:51.20DaBooSany ideas what might be the problem ?
22:57.58*** part/#tomcat agherna (n=agherna@singularity.ci.uiuc.edu)
22:58.58bricecubeis tomcat started?
23:01.01DaBooSsure,
23:01.15DaBooSif it isnt how will I be able to access the html in first place
23:14.42*** part/#tomcat FreemaniaX (n=Freemani@ip67-153-106-58.z106-153-67.customer.algx.net)
23:18.48pfnwhy is the #java crowd on efnet so anti-tomcat?
23:21.07DaBooSyou're asking me ! :P
23:22.12bdc34anyone use JSTL on tomcat 5.0.30?  
23:22.58bdc34i've got something in web.xml like <tablib><tablib-url>http://java.sun.com/jstl/core</tablib-url>
23:23.24bdc34<tablib-location>/WEB-INF/tlds/c.tld</
23:24.03bdc34then I have a <%@ tablib > tag on my jsp
23:24.20bdc34I can use something like <c:out value="some crazy value"/>
23:25.32bdc34but when I do <c:out value="3 + 6 = ${6 + 3}" /> i get a page with  3 + 6 = ${6 + 3}
23:25.47bdc34and not 3 + 6 = 9 which is what I expect
23:27.05bdc34Is there something in web.xml that I need to do to cause my jsp tags to use EL and not RT?
23:28.17bdc34i'm using jakarta-taglibs-standard-1.1.2

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.