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.29 | afaik | is tomcat 5 backwards compatible with J2EE 1.4 ? |
02:13.40 | dadiv | afaik do you mean J2SE 1.4? |
02:13.43 | dadiv | (JDK 1.4) |
02:14.05 | afaik | I mean, will most J2EE nah, J2EE 1.4 |
02:14.39 | afaik | yeah, I think I mean J2SE 1.4 |
02:15.00 | dadiv | Do you mean Java 1.4 vs "Java 5"? |
02:15.40 | dadiv | I know Tomcat 5.5 can run with JDK 1.4 and 1.5 |
02:15.49 | afaik | well... .I guess I'm wondering if most 1code written under 1.4 will run on tomcat 5 |
02:15.52 | afaik | okay, thanks |
02:15.56 | dadiv | It should |
02:29.59 | emp | what directory would i start with sticking a helloworld.jsp file at? :) |
02:38.12 | dadiv | hm, i dunno, i always make webapp archives ;) |
02:38.26 | dadiv | look at the examples in the jsp-examples directory in webapps |
02:38.49 | dadiv | you could stick it in there if you wanted to :) |
02:39.06 | emp | ahh, i just installed tomcat5-webapps and that helped :) |
02:42.29 | emp | is there a good howto on making a webapp archive? |
02:45.23 | dadiv | Do you know how to use Ant? |
02:45.43 | emp | I have used it in the past |
02:46.11 | emp | I'll checkout the man page, if that's what I need |
02:46.12 | dadiv | Ant has a nice 'war' task, but you can also just make a war file manually |
02:46.24 | dadiv | in fact it's probably best to make it manually to learn how |
02:46.38 | dadiv | but it's simple, all it is is a WEB-INF directory with a web.xml inside it |
02:46.41 | emp | I'd like to try manually first |
02:46.55 | dadiv | and the whole thing gets jarred up, and then named with .war |
02:47.56 | dadiv | so 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.10 | dadiv | (different schemas for different servlet specification versions) |
02:48.11 | emp | thinks for the pointers |
02:48.16 | dadiv | sure, no problem |
02:48.17 | emp | err, thanks |
02:48.28 | dadiv | java web development is a pain in the ass, are you sure you want to get into it ? :) |
02:49.19 | emp | well, I'll do one project and see how it goes :) I know some people big into java, though they are offline now ;) |
02:49.55 | dadiv | that's cool, don't get me wrong, it's cool and fun, but it can be a real drag sometimes :) |
02:50.33 | emp | yeah, just like anything else I bet... but java gives you more rope to hang your self |
02:51.08 | dadiv | Most 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.59 | crackintosh | can 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.20 | Icecave | Hi, 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.00 | lyken | as 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.22 | ding | hello |
07:21.34 | ding | I use tomcat5.5.12 |
07:21.50 | ding | and I wonder if I use jdk1.6, will some problems appears? |
07:22.15 | ding | ?? |
07:22.45 | ding | any one use jdk1.6 to run tomcat? |
07:23.03 | lyken | not me |
07:28.58 | ding | ok |
07:29.02 | ding | I wanna upgrade it |
07:29.12 | ding | but I dont know if it will runs well |
07:29.22 | lyken | only way to know |
07:29.23 | lyken | is to try it |
07:29.26 | lyken | and anything does break |
07:29.28 | lyken | document it :) |
07:29.38 | ding | and a strange thing |
07:29.46 | ding | when I use tomcat5.0.28 |
07:29.59 | ding | and I thought there is a program has bugs |
07:30.43 | ding | that when some times the memory of tomcat will continue increasing until there no available memory |
07:30.59 | lyken | 5.0.28 has some issues |
07:31.12 | ding | and also 5.0.30 |
07:31.18 | ding | and also 5.5.9 |
07:31.35 | lyken | is it your web application that is doing that ? |
07:31.36 | ding | so I delete all the programs then rewrite it, then no problem appeared |
07:31.51 | ding | so I dont know if the old program has bugs |
07:32.01 | lyken | i dont know sorry |
07:32.02 | ding | because the old programs has some part not written by me |
07:32.19 | lyken | id assume there is a memory leak in your code |
07:32.23 | ding | yes, they say the smartupload has bugs |
07:32.47 | ding | yes, but I thought some one know that bug , that he can control when the bug affect |
07:33.03 | ding | that days, maybe 5 minutes it will shows , may be 10 minutes |
07:33.09 | ding | I can't trace it, |
07:33.19 | ding | but after I replace all the old program it never happened |
07:33.34 | ding | and I didn't use smartupload in the new application |
07:34.07 | ding | hi, do you all write ejb? |
07:34.54 | lyken | i dont |
07:34.59 | lyken | cause tomcat doesnt support ejbs |
07:35.08 | ding | yes, I dont also |
07:35.26 | ding | so, what framework do you use |
07:35.38 | lyken | my own |
07:35.48 | ding | oh |
07:36.07 | ding | I 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.22 | lucky_girl | I 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.29 | Vanuatoo | <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.13 | Fracture | hi.. anyone here know the performance differences between mod_proxy and mod_jk ? |
13:50.08 | linuxfreck | Fracture: in most cases, the performance hit is negligible |
13:50.28 | linuxfreck | using the built-in tomcat http server is a bit faster than all the other stuff though |
13:52.39 | Fracture | yeah.. 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.42 | Fracture | is 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.07 | linuxfreck | I don't think so |
13:54.33 | linuxfreck | unless you have a heavily loaded site, mod_proxy should be just as fast as mod_jk |
13:55.00 | Fracture | would apache be better at ssl than tomcat ? |
13:55.01 | linuxfreck | and the new mod_proxy that comes with apache 2.2 should perform as good as mod_jk |
13:55.17 | linuxfreck | I don't know any benchmarks in that area |
13:55.30 | Fracture | cheers. |
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.06 | GabiAPF | Hi. 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.29 | linuxfreck | GabiAPF: 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.43 | linuxfreck | you should also get a book on servlet programming though |
15:10.17 | GabiAPF | Getting a book could be hard. But thanks for the link. |
15:10.51 | GabiAPF | Ah, wait... |
15:10.57 | GabiAPF | I've already tried that one. |
15:12.05 | linuxfreck | what issues did you have with it? |
15:12.19 | GabiAPF | I tried installing the application with ant, and with the manager. |
15:13.14 | linuxfreck | and? |
15:13.41 | GabiAPF | With 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.53 | GabiAPF | With ant, it threw a lot of exceptions. |
15:14.02 | GabiAPF | install: |
15:14.03 | GabiAPF | <PROTECTED> |
15:14.03 | GabiAPF | BUILD FAILED |
15:14.03 | GabiAPF | /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.07 | linuxfreck | your tomcat installation is old and probably broken. I can't recommend using tomcat packages from any linux distribution |
15:15.19 | linuxfreck | you better get the official binary distribution and use that one |
15:15.44 | GabiAPF | Has that error happened before with old distributions? |
15:16.51 | linuxfreck | I'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.15 | GabiAPF | Alright, thanks. |
15:17.27 | linuxfreck | also, tomcat version 4 which you run is about 4 years old or more. lots of bugs have been fixed |
15:18.54 | GabiAPF | Ok, 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.40 | karlr | i 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.13 | bricecube | I 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.51 | bricecube | Is 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.17 | bricecube | or 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.49 | linuxfreck | bricecube: tomcat 5.5 supports java 1.5 and java 1.4 with the compatibility package, but not earlier versions |
20:01.13 | linuxfreck | bricecube: you should try and run it with the 1.4 jdk. the enum var is new in 1.5 for example |
20:01.59 | bricecube | linuxfreck, do you think I should use an old version of tomcat? |
20:02.23 | linuxfreck | why do you want to upgrade anyway? |
20:02.46 | bricecube | I've been forced to. a server the webapp was on got cleared |
20:03.12 | bricecube | and 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.13 | bricecube | lol |
20:03.46 | bricecube | so 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.25 | bricecube | only problem w/ that is I haven't found any tomcat hosts that also offer MS SQL databases ;( ... |
20:04.35 | bricecube | obviosuly.. I did not write this code ;) |
20:05.13 | linuxfreck | also check compilerSourceVM etc in http://tomcat.apache.org/tomcat-5.5-doc/jasper-howto.html |
20:07.20 | bricecube | I'll use 1.4 w/ compat.. and see if setting compilerSourceVM to 1.2.2 helps |
20:08.12 | bricecube | linuxfreck, I'm new to tomcat context. can I supply the compilerSourceVM parameter in /WEB-INF/web.xml ? |
20:09.06 | bricecube | or do I need to set it globally in the ~tomcat/conf/web.xml ? |
20:09.21 | linuxfreck | I'm not sure whether you can do that. |
20:09.44 | bricecube | it just worries me if I seek a virtual host ;) |
20:10.57 | linuxfreck | heh |
20:12.40 | linuxfreck | you can probably duplicate the jsp entry in your webapp |
20:12.50 | linuxfreck | that makes it incompatible to all other servlet containers though |
20:13.48 | bricecube | lol.. damn jsp gives me a headache ;) |
20:14.20 | linuxfreck | the enum thing shouldn't even hurt you in the default config |
20:18.00 | bricecube | it did.. complained that enumeration could not be assigned a type? |
20:18.58 | bricecube | I'm a little worried this code is totally incompatible w/ anything greater that 1.2 ;( and will need to be overhauled |
20:19.04 | linuxfreck | what was the exact error message? |
20:19.55 | bricecube | here's an example of the problematic code: Enumeration enum=request.getParameterNames(); |
20:20.43 | bricecube | error was "Enumeration cannot be resolved to a type" |
20:40.52 | FreemaniaX | can tomcat do name based virtual hosting in standalone mode? |
20:41.20 | FreemaniaX | ie without apache httpd |
20:47.32 | bdc34 | freemaniaX: ya, (i'm using an older version) you are interested in the server.xml file and the <Host name="bla.bla.com" |
20:48.25 | bdc34 | FreemaniaX: you can have <Alias> elements under that |
20:50.02 | bdc34 | iFreemaniaX: <Host name="name1.com" appBase="webappsForName1"/> followed by <Host name="name2.com" appBase="webappsForName2"/> |
20:51.49 | linuxfreck | bricecube: seems to be a bug with the compiler tomcat 5.5 uses. you may want to try the latest tomcat 4.1 |
20:53.28 | bdc34 | FreemaniaX: check http://tomcat.apache.org/tomcat-5.5-doc/config/host.html |
20:53.29 | FreemaniaX | bdc34, thanks |
20:54.09 | FreemaniaX | for 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.23 | agherna | is 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.49 | bricecube | I'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.15 | bricecube | now that it's deployed, when I visit the application, I get: |
22:16.00 | bricecube | Wrapper cannot find servlet class org.apache.jsp.index_jsp ... or org.apache.jsp.*filename* |
22:16.39 | bricecube | the ant built created a whole bunch of files in <webapp>/WEB-INF/classes/org/apache/jsp/..... |
22:17.28 | bricecube | and the resulting WEB.XML shows a whole bunch of wrappers for URIs -- ie: |
22:17.31 | randrew | agherna: possibly 'tomcatAuthentication' attribute in connector |
22:17.46 | bricecube | <servlet> |
22:17.47 | bricecube | <servlet-name>org.apache.jsp.links_jsp</servlet-name> |
22:17.47 | bricecube | <PROTECTED> |
22:17.47 | bricecube | <PROTECTED> |
22:19.03 | bricecube | but, 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.30 | bricecube | for 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.54 | bricecube | even though the build created a myapp/WEB-INF/classes/org/apache/jsp/links_jsp.java file |
22:24.15 | agherna | randrew: I have that set up in the AJP connector |
22:32.47 | bricecube | do 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.08 | DaBooS | hello |
22:49.44 | DaBooS | Hello 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.20 | DaBooS | any ideas what might be the problem ? |
22:57.58 | *** part/#tomcat agherna (n=agherna@singularity.ci.uiuc.edu) |
22:58.58 | bricecube | is tomcat started? |
23:01.01 | DaBooS | sure, |
23:01.15 | DaBooS | if 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.48 | pfn | why is the #java crowd on efnet so anti-tomcat? |
23:21.07 | DaBooS | you're asking me ! :P |
23:22.12 | bdc34 | anyone use JSTL on tomcat 5.0.30? |
23:22.58 | bdc34 | i've got something in web.xml like <tablib><tablib-url>http://java.sun.com/jstl/core</tablib-url> |
23:23.24 | bdc34 | <tablib-location>/WEB-INF/tlds/c.tld</ |
23:24.03 | bdc34 | then I have a <%@ tablib > tag on my jsp |
23:24.20 | bdc34 | I can use something like <c:out value="some crazy value"/> |
23:25.32 | bdc34 | but when I do <c:out value="3 + 6 = ${6 + 3}" /> i get a page with 3 + 6 = ${6 + 3} |
23:25.47 | bdc34 | and not 3 + 6 = 9 which is what I expect |
23:27.05 | bdc34 | Is there something in web.xml that I need to do to cause my jsp tags to use EL and not RT? |
23:28.17 | bdc34 | i'm using jakarta-taglibs-standard-1.1.2 |