00:01.17 | alpha255 | i downloaded the jdk 6 file from java.sun.com/javase/downloads/index.jsp |
00:01.34 | alpha255 | jdk 6 update 6 is what i'm working with |
00:02.13 | MHSL | alpha255, seems ok |
00:02.52 | alpha255 | is sooooo close |
00:05.13 | alpha255 | is starting over from scratch removed both java and tomcat |
00:05.16 | alpha255 | rebooting |
00:05.51 | alpha255 | the service was removed too |
00:07.10 | alpha255 | should I just installe the jdk at teh custom setup screen? |
00:09.56 | MHSL | alpha255, actually you don't really need to install it as service, if you just need it for development, you can simply run the startup.bat or catalina.bat scripts |
00:10.21 | MHSL | you can get it up within 5 minutes |
00:10.21 | alpha255 | k |
00:11.12 | MHSL | alpha255, youo can leave the jdk installation alone, just download the archive, zip or tar.gz package from tomcat website, then extract it somewhere, then run startup.bat, just to make sure that java is in your path |
00:11.39 | alpha255 | k |
00:15.28 | alpha255 | tomcat.apache.org/download-60.cgi |
00:15.47 | alpha255 | i'll get the .zip'd one |
00:18.03 | MHSL | alpha255, ok, good luck, i'm gtg to work now |
00:18.13 | alpha255 | thank you :) |
00:18.30 | alpha255 | much appreciated |
00:25.36 | alpha255 | got it |
00:51.00 | *** join/#tomcat schonef__ (n=schonef@pD9E74560.dip.t-dialin.net) |
01:00.23 | *** join/#tomcat Infinito- (n=yingyang@li6-217.members.linode.com) |
01:04.02 | *** join/#tomcat kanai (n=kanai@124.32.114.226) |
01:34.59 | *** join/#tomcat sanity (n=ian@76.sub-70-216-34.myvzw.com) |
01:36.10 | sanity | I'm running 6.0.16, which I installed from the .tgz. The manager is up and running, and I've deployed my WAR file without complaint - and its listed in the Applications table. Yet, when I visit the URL its supposed to be at, I get a 404. Anyone got any ideas about what the problem could be? |
01:47.51 | grantrules | sanity: no welcome page? |
01:49.00 | sanity | grantrules: I get a welcome page for Tomcat |
01:49.16 | sanity | grantrules: in fact, I use the Tomcat manager (at /manager) to upload my WAR file |
01:49.38 | sanity | grantrules: and its listed in the Applications table and claims to be running, get I get a 404 where it claims to be |
01:50.14 | grantrules | meh? |
01:50.23 | grantrules | i mean welcome page in the application |
01:50.30 | sanity | grantrules: no, just a 404 page |
01:50.47 | grantrules | what's supposed to show up? |
01:51.01 | sanity | "The requested resource (/UprizerMusic/) is not available." |
01:51.04 | sanity | its a GWT app |
01:51.33 | sanity | the Web Application manager claims its at http://freddy.thoof.com:8088/UprizerMusic |
01:51.38 | sanity | but I get a 404 |
01:51.46 | grantrules | okay, but is there an index.jsp or anything? |
01:51.52 | grantrules | any welcome files set up |
01:52.06 | sanity | well, its a GWT app |
01:52.44 | sanity | i think there should, at least, be something at http://freddy.thoof.com:8088/UprizerMusic/com.uprizer.music.Main/Main.html |
01:53.24 | sanity | grantrules: i created the WAR from Cypal Studio for Eclipse |
01:53.55 | grantrules | are there any static files you can hit? |
01:54.57 | sanity | well, I think Main.html is a static file |
01:55.38 | grantrules | you think? |
01:56.30 | grantrules | if you go to /webapps/UprizerMusic/com.uprizer.music.Main/Main.html , that file exists? |
01:56.35 | sanity | well, unfortunately its all created by the framework I'm using |
01:56.51 | sanity | I get a 404 for http://freddy.thoof.com:8088/UprizerMusic/com.uprizer.music.Main/Main.html |
01:57.02 | grantrules | ok. that doesn't sound like a static file |
01:57.10 | sanity | hmmm, ok |
01:57.27 | sanity | maybe I just need to talk to the Cypal Studio guys, the WAR is being generated by their code |
01:57.39 | sanity | I appreciate you trying to help though |
01:57.49 | grantrules | drop a random file in the UprizerMusic file and see if you can access it |
01:58.35 | sanity | ok, let me poke around a bit |
01:58.49 | sanity | where does Tomcat put WAR files that are uploaded through the web interface? |
01:59.07 | sanity | ah, found it |
01:59.08 | grantrules | i don't know. never used it |
01:59.48 | sanity | ok, there is a file at /usr/local/tomcat/webapps/UprizerMusic/Main.html |
02:00.28 | grantrules | http://freddy.thoof.com:8088/UprizerMusic/Main.html |
02:00.30 | grantrules | it's deployed |
02:00.42 | grantrules | are you sure you're going to the right URL? |
02:00.49 | sanity | ah! |
02:01.34 | sanity | ok, still not there, but this is progress |
02:02.27 | sanity | I think I can probably take it from here, thanks for the help |
02:02.31 | grantrules | i just don't know anything about gwt or whatever. but it sounds like tomcat is working fine |
02:06.05 | sanity | grantrules: yes, i think you are right |
02:06.14 | sanity | grantrules: I've directed my question elsewhere |
02:13.51 | *** join/#tomcat hikozaemon (n=hikozaem@27.183.244.43.ap.yournet.ne.jp) |
02:18.29 | *** join/#tomcat alpha255 (n=thomas@dsl092-048-188.sfo4.dsl.speakeasy.net) |
02:40.56 | *** join/#tomcat alpha255 (n=thomas@dsl092-048-188.sfo4.dsl.speakeasy.net) |
02:41.47 | alpha255 | anyone have any experience running tomcat on windows vs linux? |
02:41.56 | alpha255 | pros cons |
03:02.18 | *** join/#tomcat vinse (n=vinse_@208.253.223.146) |
03:27.06 | *** join/#tomcat acidjnk (n=have@80.190.200.171) |
03:29.47 | grantrules | con: windows sucks |
03:30.03 | jasonb | :) |
03:30.36 | jasonb | con: Windows users tend to not stick around to listen to experience answers. :) |
03:47.24 | *** join/#tomcat SiftLinux (n=Siftzill@bas6-montrealak-1177581009.dsl.bell.ca) |
04:15.45 | *** join/#tomcat movado (n=movado@c-69-181-153-182.hsd1.ca.comcast.net) |
04:15.49 | movado | hello |
04:30.29 | jasonb | Hi. |
05:35.24 | *** join/#tomcat shashi_ (n=shashi@125.16.213.2) |
05:44.37 | *** join/#tomcat rambo123 (n=rambo@59.96.163.41) |
05:46.15 | zanny71 | <MHSL> zanny71, yes you can |
05:46.32 | zanny71 | ok, but how i can?? |
05:47.19 | zanny71 | <zanny71> i have install tomcat on solaris 10,tomcat 5.5.23, java 6.0.02. i need to know if it possible to use a different users to launch java program , not the user that i use to start tomcat... excusme for my english i know is not so good.... |
05:56.51 | grantrules | you can start a java app as any user you want |
05:57.20 | grantrules | or do you mean web app? |
06:16.51 | *** join/#tomcat jfclere (n=jfclere@57.79.66.141) |
06:20.20 | *** join/#tomcat rambo123 (n=rambo@59.94.104.100) |
06:30.04 | *** part/#tomcat rambo123 (n=rambo@59.94.104.100) |
06:53.05 | *** join/#tomcat blue_asterisk (n=blue_ast@70.230.193.61) |
07:08.01 | *** join/#tomcat Bollinger (n=peter@88-105-230-77.dynamic.dsl.as9105.com) |
07:49.53 | *** join/#tomcat Pierrewiet (n=Pierrewi@adsl-dc-4c1ce.adsl.wanadoo.nl) |
07:56.11 | *** join/#tomcat bindaas (n=viny@59.94.99.73) |
07:59.43 | *** part/#tomcat bindaas (n=viny@59.94.99.73) |
08:16.18 | *** join/#tomcat kanai_ (n=kanai@124.32.114.226) |
08:19.00 | *** join/#tomcat yassine (n=yassine@unaffiliated/yassine) |
08:24.57 | *** join/#tomcat magentar (n=magentar@81.210.160.123) |
08:27.04 | *** join/#tomcat vikumar (n=Vimal@nat/redhat-in/x-2647f52d63405861) |
08:30.44 | *** join/#tomcat Hali_303 (n=Hali_303@dsl5400CDF5.pool.t-online.hu) |
08:37.13 | *** join/#tomcat Oliber (i=oliver@sparks.from.the.cattleprod.co.uk) |
08:50.53 | *** join/#tomcat screamz (n=screamz@safehex.be) |
08:53.49 | *** join/#tomcat kanai (n=kanai@124.32.114.226) |
09:06.27 | *** join/#tomcat Oliber (i=oliver@sparks.from.the.cattleprod.co.uk) |
09:21.31 | *** join/#tomcat Oliber (i=oliver@sparks.from.the.cattleprod.co.uk) |
09:59.33 | *** join/#tomcat vikumar (n=Vimal@nat/redhat-in/x-6e6b41a8ff32be0a) |
10:49.01 | *** join/#tomcat Vanuatoo (n=Vanuatoo@host-85-114-227-35.adsl.caucasus.net) |
11:26.05 | *** join/#tomcat gregor_k (n=a@stgt-5d830ea1.pool.einsundeins.de) |
12:15.47 | *** join/#tomcat kjetilkWork (n=kkj@news.computas.com) |
12:24.07 | *** join/#tomcat bindaas (n=bindaas@59.94.106.162) |
12:27.13 | *** join/#tomcat hendrixski (n=chatzill@rrcs-24-39-103-61.nys.biz.rr.com) |
12:29.29 | hendrixski | Hey, I need to install version 5.5.9 but I can only find a Windows installer for 5.5.26, and then there's files for the older versions available in the archives, but not the installer |
12:29.31 | hendrixski | How does one install from that? Is it safe to simply copy the 5.5.9 files on top of the 5.5.26 installation? Or is there a better way? |
12:30.12 | hendrixski | Java version is 1.5, on Windows XP |
12:38.22 | scy | http://archive.apache.org/dist/tomcat/tomcat-5/archive/v5.5.9/ |
12:39.00 | hendrixski | scy: That's what I was looking at, and didn't find an installer :-( |
12:40.04 | scy | http://archive.apache.org/dist/tomcat/tomcat-5/archive/v5.5.9/bin/jakarta-tomcat-5.5.9.exe |
12:40.11 | scy | this looks like a installer to me |
12:40.24 | scy | s/a/an/ |
12:40.32 | scy | !ibot++ |
12:40.56 | hendrixski | heh, that's an interesting bot, it takes sed commands |
12:41.17 | hendrixski | I'll try installing with that then. :-) thanks |
12:41.56 | scy | np |
12:43.37 | *** join/#tomcat dvayanu (n=dvayanu@p549A6176.dip.t-dialin.net) |
12:46.13 | hendrixski | :-( and it has the same problem with not finding javac |
12:46.35 | hendrixski | am I doing the right thing by copying tools.jar into Tomcats directory tree? |
12:47.21 | hendrixski | that's what I found on a forum somewhere and it solved the "Unable to find a javac compiler" error, but then I had other errors afterwards, so I'd like to double check on here if it's the right thing to do? |
12:50.24 | hendrixski | because, I did already set JAVA_HOME to point to the JDK |
13:04.36 | dvayanu | which tomcat |
13:04.49 | *** join/#tomcat tas` (n=adfkjal@zux221-085-167.adsl.green.ch) |
13:05.00 | hendrixski | dvayanu: the one I was talking about above with scy, 5.5.9 |
13:06.04 | dvayanu | sorry, i just got the last part |
13:06.11 | dvayanu | from apache or from os-distro? |
13:06.25 | hendrixski | dvayanu: no worries. It was from Apache's archives, on Windows |
13:07.09 | dvayanu | hmm, is it already the one with jdt |
13:07.40 | dvayanu | what was your exact error? |
13:08.38 | dvayanu | and your jdk is a jdk not a jre? |
13:08.50 | hendrixski | yes, it's the jdk |
13:08.55 | hendrixski | and the error was a compile error |
13:09.56 | hendrixski | well... actually there's several... but the one I was asking about if it's the correct solution is from here: http://forum.java.sun.com/thread.jspa?threadID=494649 |
13:11.31 | dvayanu | is your jsp in the root folder? |
13:11.33 | hendrixski | I solved my initial error by following what the guy posts on that thread, which is to copy JAVA_HOME/lib/tools.jar into tomcats common/lib it gets me past the first error, but I've had other problems compiling since then, so I'm asking on here if that's the right solution? |
13:12.48 | dvayanu | i think the best place ever to look for a solution -> tomcat mailing list, archives or new question |
13:12.51 | dvayanu | rather archives |
13:12.57 | hendrixski | dvayanu: there are JSP's in the root folder of the .war |
13:13.13 | dvayanu | i know that there are problems with unpackages jsps |
13:13.20 | dvayanu | unpackaged |
13:13.39 | hendrixski | oh? |
13:13.56 | dvayanu | because of the packages in the generated code |
13:16.19 | hendrixski | dvayanu: do you have any links you can point me to about these problems? |
13:16.45 | dvayanu | have you tried searching the mailing list archives? |
13:18.17 | dvayanu | could it be this one? |
13:18.17 | dvayanu | https://issues.apache.org/bugzilla/show_bug.cgi?id=42895 |
13:18.30 | dvayanu | no forget it |
13:18.34 | dvayanu | no gcj for windows |
13:18.43 | dvayanu | but is your jdk suns or ms? |
13:18.46 | hendrixski | lol, yeah. I'm not on Ubuntu |
13:18.59 | hendrixski | although, I wish I were |
13:19.09 | scy | which java are you using with the tomcat 5? |
13:19.42 | hendrixski | jdk1.5.0_15 |
13:19.53 | hendrixski | and the JRE on the system is the same version # |
13:21.33 | hendrixski | :-/ it's a legacy app... we bought the code, but not the developers so I'm trying to figure out this pile of garbage. And I can't wait to scrap it an rewrite it in Grails... but I gotta get it up and running first, so I'm using the old versions of Java and of Tomcat that was used to develop it on |
13:22.00 | *** join/#tomcat Anniz (n=annie@modemcable240.186-131-66.mc.videotron.ca) |
13:22.13 | dvayanu | grails? |
13:22.14 | dvayanu | iii |
13:22.34 | hendrixski | shrugs |
13:22.36 | hendrixski | it sounds exciting |
13:22.53 | dvayanu | i have worked with the original and it was crap |
13:22.59 | dvayanu | i mean ror |
13:23.25 | hendrixski | heh, I want to find out for myself |
13:23.33 | dvayanu | but whatever, so, you still cant compile |
13:23.39 | dvayanu | which is strange |
13:23.44 | dvayanu | how do you start your tomcat? |
13:23.50 | dvayanu | and remove the tools.jar |
13:23.59 | dvayanu | i think it has to work out of the box |
13:24.54 | hendrixski | through the "configure tomcat" option |
13:24.54 | dvayanu | have you tried another app on this tomcat? |
13:25.04 | hendrixski | it leaves a little menu icon on the bottom right |
13:25.13 | hendrixski | dvayanu: you know.. I haven't. that sounds like a smart idea |
13:25.26 | dvayanu | i would try... examples or something |
13:25.30 | hendrixski | Is there a good testing app you'd receommend? |
13:25.40 | Anniz | hi! (To answer those versions: Tomcat 6.0, JRE1.6.0, and windows server 2003). I'm trying to connect to my tomcat server using SSL. I've followed this guide: http://tomcat.apache.org/tomcat-4.0-doc/ssl-howto.html. However, I have a problem when I try to connect using C#. |
13:25.42 | dvayanu | mine ;-) |
13:25.54 | dvayanu | no, seriously, aren't there some jsp-examples ? |
13:26.01 | dvayanu | in the package |
13:26.39 | hendrixski | lemme install those |
13:26.45 | Anniz | I have used a self-signed certificat.. when I connect with Firefox or Explorer, it tells me that it's an unsafe certificat, etc etc. (But I guess it's normal since it is self-signed?) Whatever, I can press "add exceptions" and then, I can see the web page |
13:27.23 | dvayanu | anniz: yes |
13:27.34 | Anniz | However, when connecting with C# on the https site, it just tells me: Could not establish trust relationship for the SSL/TLS secure channel. I've googled but didn't found how to resolve my problem |
13:27.58 | Anniz | Do I need to put a cerficiat somewhere in the client computer? Or add it in the C# code, or something? I really have no idea. |
13:27.59 | dvayanu | anniz: in java you'd need to create a .keystore and import this cert int othis keystore |
13:28.16 | *** part/#tomcat robot_jesus (n=csanders@hoovers-241.hoovers.com) |
13:28.23 | Anniz | dvayanu: To put the same .keystore of the server on the client's machine? |
13:28.37 | dvayanu | yes |
13:28.49 | dvayanu | i think under another name |
13:29.03 | dvayanu | clients usually need them by the domain name |
13:29.09 | hendrixski | dvayanu: Yep, the examples from Apache work :-/ |
13:29.27 | dvayanu | hendrixski: so one could suppose its the webapp thats broken |
13:29.34 | Anniz | hmm, ok. I'll check for that thanks :) |
13:29.44 | dvayanu | anniz: i dont know how to handle it in c# but it should be something similar |
13:30.17 | hendrixski | dvayanu: I wish that were a supposition that my boss would accept. He insists we have bought a working web-app. And he wants to demo it to customers ASAP |
13:30.25 | hendrixski | Ok, so maybe I'm uploading the .war wrong |
13:30.38 | dvayanu | it hard to upload the war wrong |
13:30.39 | dvayanu | really |
13:30.47 | hendrixski | I'm in localhost:8080/manager/html and at the bottom I input the .war and hit deploy |
13:30.52 | hendrixski | is there anything else I need to do? |
13:30.56 | dvayanu | oh |
13:30.58 | dvayanu | :-) |
13:31.11 | dvayanu | well i would just kill the tomcat, place the war into webapps, start the tomcat |
13:31.11 | MHSL | hendrixski, what's the error? |
13:31.23 | Anniz | dvayanu: In java, you rename the certificate with the domain name and put it in the home directory?! |
13:31.26 | dvayanu | and hendirxski have you removed the tools jar? |
13:31.42 | hendrixski | dvayanu: I've not. and the examples work |
13:32.05 | hendrixski | MHSL: that a webapp which supposedly works, is getting compile errors when I try to deploy it |
13:32.24 | dvayanu | anniz: no i import the cert into keytore using domainname as alias and making it available to the app, which is by default by placing it under .keytore in $HOME |
13:32.27 | dvayanu | keystore |
13:33.19 | hendrixski | lemme try it manually then. I just copy and paste the .war into webapps/ and start tomcat and go, right? |
13:33.27 | MHSL | hendrixski, can you paste the full stacktrace? |
13:34.04 | dvayanu | hendrixski: yes |
13:34.09 | dvayanu | and watch the logs |
13:34.11 | MHSL | hendrixski, did you change any tomcat config? have you tried with the zip version instead of the installer one? |
13:34.15 | dvayanu | logs/catalina.out |
13:34.53 | dvayanu | oh, installer version... haven't assumed someone would ever take them :-( |
13:35.58 | hendrixski | same error, I'll pastebin it along with the logs |
13:37.21 | hendrixski | oh, the error's inside of the log |
13:37.26 | hendrixski | ~paste |
13:37.27 | ibot | methinks paste is http://rafb.net/paste/, or see also pb |
13:38.34 | *** part/#tomcat fifo_ (n=quintin@196.38.199.139) |
13:39.07 | hendrixski | Ok this is going to be on the 5.5.26 version again.... the 5.5.9 was crashing when I tried to run it... I've got both, but my theory with it running better on 5.5.9 didn't pan out. |
13:39.11 | hendrixski | http://rafb.net/p/4aJlDW17.html |
13:39.18 | *** join/#tomcat clajo04 (n=clajo04@cpe-72-229-214-63.nyc.res.rr.com) |
13:40.36 | MHSL | hendrixski, why is there an ant.jar under WEB-INF/lib? |
13:40.38 | hendrixski | so as you can see in that pastebin... it's not finding the package in "import mmwebservices.*" and "import webservices.*" both of which are in the .war when I "jar tf" the war |
13:41.31 | hendrixski | MHSL: because the dipsh*t we bought the code from put it there? Why, is that bad? |
13:41.58 | MHSL | hendrixski, the problem is this: package mmwebservices does not exist |
13:41.59 | MHSL | import mmwebservices.*; |
13:42.19 | MHSL | cannot find symbol class QueryParameters |
13:42.38 | MHSL | this is normal compile error, if you dont have the necessary libraries |
13:43.01 | MHSL | i dont understand why you need to deal with tools.jar etc |
13:43.11 | hendrixski | MHSL: well, all the classes for mmwebservices.* are in marketminer.jar which is in the .war |
13:43.26 | MHSL | hendrixski, where do you put that jar file? |
13:43.50 | MHSL | under which directory? |
13:44.14 | hendrixski | MHSL: the tools.jar thing was a diffrent error... it wasn't finding javac, and this forum post led me to copy it into cmomon/lib: http://forum.java.sun.com/thread.jspa?threadID=494649 |
13:44.43 | MHSL | that should be because you have ant.jar under WEB-INF/lib, otherwise that shouldn't happen |
13:44.47 | hendrixski | MHSL: and the file marketminer.jar has all the mmwebservices files |
13:44.54 | MHSL | hendrixski, where is that jar file located? |
13:45.28 | hendrixski | wait.. so if I didn't have ant.jar in web-inf I wouldn't need tools.jar in common/lib? |
13:45.36 | MHSL | no |
13:46.02 | MHSL | hendrixski, you still havent answered my question |
13:46.10 | hendrixski | marketminer.jar is in C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%205.5/webapps/mmweb/WEB-INF/lib/marketminer.jar; |
13:47.21 | MHSL | hendrixski, try to remove ant.jar first |
13:47.38 | hendrixski | k |
13:47.42 | *** join/#tomcat dvayanuMC (n=dvayanu@p549A4460.dip.t-dialin.net) |
13:47.45 | MHSL | hendrixski, also remove the directory C:\Program Files\Apache Software Foundation\Tomcat 5.5\work\Catalina\localhost\mmweb |
13:48.37 | hendrixski | k |
13:49.04 | hendrixski | now I restart tomcat and try again? |
13:49.16 | MHSL | ok |
13:49.42 | MHSL | and you can also try to simply put the war file under webapps directory, instead of uploading it, which i dont see the point of doing it if everything is running on the same machine |
13:50.16 | hendrixski | :-( servletException |
13:50.34 | *** join/#tomcat maxmc (n=maxmc@ip-62-143-127-235.hsi.ish.de) |
13:50.36 | MHSL | full stacktrace? |
13:54.02 | hendrixski | MHSL: so I pastebin the latest catalina.2008-06-30 for the stack trace, or just what it spits out on the browser? |
13:54.48 | hendrixski | updated logs here: http://rafb.net/p/fF764558.html |
13:56.07 | hendrixski | and this is what it printed out on the localhost:8080/mmweb screen: http://rafb.net/p/Hpj4kS71.html |
13:56.22 | hendrixski | that is, after I removed ant.jar from under Web-Inf |
13:59.53 | Anniz | dvayanuMC: I've made it work :o I needed to add an event to call a method if the certificate isn`t secure..and, since I don't care of if it's secure or not, I just "return true" and it worked :) |
13:59.59 | Anniz | thanks for your help |
13:59.59 | hendrixski | and... I just removed tools.jar from common/lib and the examples still work... but the same error persists on my web-app |
14:01.51 | dvayanu | anniz: you are welcome |
14:02.21 | dvayanu | hendrixski: he misses ant not java tools |
14:02.23 | Anniz | but I guess it's a bit of a hack; when we'll release, I guess we'll find a better way to make a real certificate |
14:02.27 | dvayanu | do you have ant? |
14:02.45 | dvayanu | alternatively, have you downloaded the installer or the gziped version (in case i missed the answer) |
14:02.48 | hendrixski | dvayanu: oh. lol, I think so. lemme install that :-p |
14:03.12 | dvayanu | hendrixski: than define ANT_HOME or copy the jar fro mant |
14:03.17 | *** part/#tomcat maxmc (n=maxmc@ip-62-143-127-235.hsi.ish.de) |
14:03.42 | dvayanu | actually newer tomcats do not need ant anymore, they use jdt |
14:04.10 | dvayanu | maybe you should give latest 5.5.x a try |
14:04.16 | dvayanu | i am pretty sure it will work better |
14:04.50 | dvayanu | dpownload, unzip, start, enjoy |
14:05.01 | dvayanu | and start from shell, don't use this strange service stuff |
14:05.10 | dvayanu | cd $TOMCAT_HOME |
14:05.22 | dvayanu | bin\catalina.bat start |
14:05.28 | hendrixski | Oh god... shell in Windows is not friendly |
14:08.32 | MHSL | hendrixski, did you change anything on the default web.xml? |
14:09.18 | hendrixski | MHSL: no, I don't believe I have |
14:09.54 | MHSL | hendrixski, or is there anything on your webapp web.xml that configures jsp compiler? |
14:10.55 | hendrixski | MHSL: I can check. I'm in the process of installing ant, it takes longer than I expected. |
14:11.16 | MHSL | you dont need ant |
14:11.54 | MHSL | and you dont even need to do any installation with ant, you can simply extract it |
14:15.29 | hendrixski | MHSL: oh... I just went through this: http://dita-ot.sourceforge.net/doc/ot-userguide13/xhtml/installing/windows_installingant.html |
14:17.40 | hendrixski | MHSL: under Webapps/mmweb/web.xml I don't see anything that says JSP, or compile |
14:18.08 | MHSL | hendrixski, under mmweb/web.xml ? it should be under mmweb/WEB-INF/web.xml |
14:19.25 | hendrixski | MHSL: in mmweb/WEB_INF/web.xml the only mention of jsp in where it defines the error page, error coded 404 and all that |
14:19.44 | hendrixski | again, nothing about a compiler |
14:20.00 | hendrixski | :-( |
14:20.35 | MHSL | ok, there shouldnt be any other web.xml except the one inside WEB-INF |
14:20.41 | MHSL | it's not WEB_INF |
14:20.49 | hendrixski | oh |
14:21.03 | hendrixski | lol, WEB_INF was a typo |
14:21.27 | hendrixski | but I should delete the other web.xml? |
14:21.38 | MHSL | anyway what i think is this, 1) the app is a mess by itself 2) there is no proper documentation accompanied with the webapp on how to deploy the webapp 3) you don't have any experience with tomcat/java in general |
14:22.17 | MHSL | which makes everything becomes very messy as it's supposed to be |
14:22.20 | hendrixski | MHSL: you would be correct on all 3 |
14:22.55 | hendrixski | well... I mean, I've experience programming java desktop apps, but none that deal with Tomcat |
14:23.28 | MHSL | because 1) with the latest tomcat 5.5 you don't need ant/tools.jar to compile jsp 2) having ant.jar inside WEB-INF/lib is a sign of something is going wrong |
14:24.58 | hendrixski | MHSL: when the app was written it was on 5.5.9 did it have ant then? maybe that's why he put ant.jar in WEB-INF/lib |
14:25.21 | MHSL | hendrixski, it doesnt need ant, tomcat comes with its own jsp compiler |
14:26.28 | djr | I just realized how amazingly little I know about tomcat |
14:26.33 | hendrixski | lol. Yeah. There is something horribly wrong with the app then. But the original developer swears up and down that it runs and is fully functional |
14:27.02 | MHSL | there was a version that was shipped with jsp compiler which did not support java 1.5 new features, but i dont remember spefically which version it was |
14:29.43 | MHSL | however, to enable java 1.5 features on that tomcat version, we can modify the global web.xml to change the jsp compilersourcevm and compilertargetvm, hence it will use ant to compile all jsp and you also need tools.jar to be put under common/lib |
14:30.39 | hendrixski | ooohhh, so that's why that forum had the thing about putting tools.jar in common/lib |
14:32.28 | hendrixski | I didn't see anything about changing the compiler inside of web.xml though |
14:32.42 | MHSL | any compilersourcevm or compilertargetvm? |
14:35.33 | hendrixski | MHSL: no, I searched the files "compile" |
14:35.39 | MHSL | ok |
14:37.04 | hendrixski | MHSL: would you recommend the advice from this: http://forum.java.sun.com/thread.jspa?threadID=579806&messageID=2928513 ? |
14:37.10 | hendrixski | or do you have a better link you'd recommend? |
14:41.32 | MHSL | hendrixski, you dont need to do that for the latest version of tomcat 5.5 |
14:41.46 | hendrixski | k |
14:41.58 | MHSL | that's exactly i was talking about on how to make tomcat 5.5 be able to compile jsp with java 1.5 features |
14:42.01 | hendrixski | well, I'll just email the dev again and tell him he's full of crap and his application can't run |
14:42.18 | MHSL | as you can see someone also mentioned how to change web.xml |
14:42.33 | MHSL | you ask him a full instruction on how to deploy his webapp |
14:43.03 | MHSL | rather than saying it's crap, so it's better just ask him for details instructions |
14:43.16 | MHSL | i'm going to sleep, good luck |
14:43.19 | hendrixski | LOL, his instructions were just to drop it into the manage/html portal and hit run |
14:43.28 | hendrixski | MHSL: thanks! I appreciate the help |
14:43.29 | hendrixski | :-) |
14:43.37 | MHSL | tell him, it doesnt work as he expected, and ask for resolution |
14:44.30 | hendrixski | or, I should say, I appreciate you taking the time to help. I know I don't do it as often as I should on IRC, usually just helping on #Ubuntu, but... yeah. :-) thanks :-) |
14:47.46 | efaistos | little question ... trying to install multiple instances of tomcat and would like to use /usr/share/tomcat5/bin for the common bin directory and /var/lib/tomcat5/ for the specific instance ... the two standalone version i have have a lots of files in bin like catalina.sh, setenv.sh etc could i just copy taht in /usr/share/tomcat5/bin or is there a clean way to do it ? |
14:48.16 | efaistos | because right now i only have that in my /usr/share/tomcat5/bin bootstrap.jar catalina-tasks.xml commons-daemon.jar commons-logging-api.jar jkstatus-tasks.xml jmxaccessor-tasks.xml relink tomcat-juli.jar |
14:48.32 | efaistos | ls |
15:21.54 | *** join/#tomcat maxmc (n=maxmc@ip-62-143-127-235.hsi.ish.de) |
15:22.36 | maxmc | hi, i am using tomcat 5.5.26. in server.xml unpackWARs="true" autoDeploy="true" |
15:22.42 | maxmc | ups |
15:23.35 | maxmc | well, the thing is, that the war files i upload war aren't unpacked causing problems with stuff like getServletContext().getRealPath("/upload/") |
15:24.51 | *** join/#tomcat cancerbero_sgx (n=chatzill@r200-125-51-32-dialup.adsl.anteldata.net.uy) |
15:27.08 | maxmc | *it always returns null. im running tomcat 6.0.16 on another server with the same settings at first glance, but there the war is upacked after uploading it. |
15:27.17 | maxmc | i cant see why that would be, can you? |
15:39.38 | *** join/#tomcat riz_ (i=fabrizio@89-96-231-234.ip14.fastwebnet.it) |
15:44.45 | cancerbero_sgx | hi all. is it possible to obtain the absolute path to "WEB-INF" folder from a request? thanks in advance |
15:46.18 | cancerbero_sgx | mm... in other words: how can I reference files inside the application folder (from a servlet for example) ? for example, How can I read WEB-INF/web.xml (without hardcoding the file name) in a servlet? |
15:46.30 | *** join/#tomcat acidjnk (n=have@unsu.libere-lecta.com) |
15:47.00 | riz_ | Hello. I've a problem of login. Could someone please have a look of http://pastebin.com/m68cf65d4 and tell me if this is right? |
15:47.31 | riz_ | first rule, (rpc-mfp-user) works perfectly |
15:48.13 | riz_ | second rule, (rpc-mfp-mobile-user) doesn't works |
15:48.28 | riz_ | (with 403 error) |
15:54.18 | riz_ | java.io.IOException: Unable to locate a login configuration |
15:54.25 | riz_ | this is the problem |
15:56.33 | *** part/#tomcat bindaas (n=bindaas@59.94.106.162) |
16:04.11 | *** join/#tomcat Dwayne_Hicks (n=Muscles_@209-20-66-179.slicehost.net) [NETSPLIT VICTIM] |
16:04.42 | *** join/#tomcat hooch (n=hooch@203.98.74.2) |
16:05.13 | *** join/#tomcat Bollinger (n=peter@88-105-230-77.dynamic.dsl.as9105.com) [NETSPLIT VICTIM] |
16:05.13 | *** join/#tomcat vinse (n=vinse_@208.253.223.146) [NETSPLIT VICTIM] |
16:05.13 | *** join/#tomcat pucko (i=andreas@81-234-246-21-o933.tbon.telia.com) [NETSPLIT VICTIM] |
16:09.19 | *** join/#tomcat pfn (n=pfnguyen@hanhuy.com) [NETSPLIT VICTIM] |
16:14.26 | *** part/#tomcat dpx_ (i=dpx@dmc-sita.mlans.ad.tamu.edu) |
16:19.59 | *** join/#tomcat melter_ (n=melter@dyn059.morrill-116.ndsu.NoDak.edu) |
16:22.20 | *** join/#tomcat melter__ (n=melter@dyn185.morrill-116.ndsu.NoDak.edu) |
16:43.21 | *** join/#tomcat melter (n=melter@dyn185.morrill-116.ndsu.NoDak.edu) |
16:47.04 | *** join/#tomcat jasonb (n=jasonb@75.144.23.117) |
16:49.34 | *** join/#tomcat stansmith (n=miles@adsl-68-252-62-180.dsl.wotnoh.ameritech.net) |
17:13.33 | *** part/#tomcat riz_ (i=fabrizio@89-96-231-234.ip14.fastwebnet.it) |
17:17.34 | *** join/#tomcat blue_asterisk (n=blue_ast@adsl-69-224-126-31.dsl.sndg02.pacbell.net) |
17:27.29 | *** part/#tomcat yassine (n=yassine@unaffiliated/yassine) |
17:30.42 | *** part/#tomcat stansmith (n=miles@adsl-68-252-62-180.dsl.wotnoh.ameritech.net) |
17:31.12 | *** join/#tomcat jfclere (n=jfclere@37-69.104-92.cust.bluewin.ch) |
17:31.13 | *** part/#tomcat sanity (n=ian@76.sub-70-216-34.myvzw.com) |
18:10.55 | *** join/#tomcat Infinito_ (n=yingyang@li6-217.members.linode.com) |
18:11.36 | *** join/#tomcat clajo04_ (n=clajo04_@cpe-72-229-214-63.nyc.res.rr.com) |
18:13.07 | *** join/#tomcat Nicke__ (n=niclasa@ua-83-227-140-135.cust.bredbandsbolaget.se) |
18:33.13 | zanny71 | i mean web app |
18:33.35 | zanny71 | i have 1 app that use user -->pippo |
18:33.46 | zanny71 | and another user--> pluto... |
18:34.18 | zanny71 | i don't know how to say at tomcat use pippo or pluto in a different case |
18:35.03 | grantrules | you can't have one instance of tomcat running as two different users |
18:35.24 | grantrules | you can have the projects OWNED by different users though |
18:35.34 | grantrules | using users/group permissions |
18:35.39 | zanny71 | grantrules you known how can i do?? |
18:35.45 | grantrules | or you could run multiple instances of tomcat |
18:36.12 | zanny71 | using users/group permissions ... where i must setting |
18:36.33 | grantrules | they're just basic unix permissions |
18:37.51 | zanny71 | i try to explain... my eng is not so good.... i have install openlaszlo and i have 1 jsp that write 1 file. |
18:38.06 | zanny71 | an other app in unix need to write in this file... |
18:38.32 | zanny71 | if i run jsp the file is create with tomcat permission.... |
18:39.06 | zanny71 | i need to start this jsp that is launch from laszlo with user zanny |
18:40.01 | zanny71 | i can't run tomcat with user zanny because in this tomcat there are a lot 3 web app that run with |
18:40.41 | zanny71 | tomcat user and my boss don't want to start with different account |
18:40.49 | zanny71 | :-( |
18:41.19 | zanny71 | you understand?? |
18:41.56 | zanny71 | i need 1 wrapper like suexec in apache... |
18:43.34 | grantrules | i don't think there's anything like that in tomcat, since it's java |
18:43.51 | Anniz | Once I have finished my application in Eclipse (While testing with an internal tomcat server), how do I export it to a real tomcat server? I've tried to copy some of the files in build and stuff, but it didn't work. There must be an easy/normal way of doing this? |
18:46.40 | zanny71 | thank's grantrules |
18:46.43 | grantrules | Anniz: generally you build a war file |
18:47.21 | *** part/#tomcat zanny71 (n=zanny71@79.0.144.151) |
18:48.30 | *** join/#tomcat clajo04 (n=clajo04@cpe-72-229-214-63.nyc.res.rr.com) |
18:50.49 | Anniz | Argh, I don't have the Tomcat in my menu; I guess I didn't do everything correctly :p |
18:58.23 | *** join/#tomcat Infinito- (n=yingyang@li6-217.members.linode.com) |
19:01.14 | Anniz | grantrules: It says on google to right click on project, and to select Tomcat.. unfortunately, I don't have tomcat.. I was using run as: Server (which I configured to be using tomcat) |
19:01.26 | Anniz | Do you know how I could export it in war ?! |
19:02.02 | Anniz | oh wait, I think I found |
19:04.02 | grantrules | i'm not sure, i don't use eclipse |
19:04.27 | *** join/#tomcat acidjnk (n=have@unsu.libere-lecta.com) |
19:13.01 | *** join/#tomcat yassine (n=yassine@unaffiliated/yassine) |
19:20.43 | *** join/#tomcat bindaas (n=bindaas@59.94.96.152) |
19:35.09 | *** join/#tomcat clajo05 (n=clajo04_@cpe-72-229-214-63.nyc.res.rr.com) |
19:35.49 | *** join/#tomcat clajo041 (n=clajo04@cpe-72-229-214-63.nyc.res.rr.com) |
19:48.04 | *** join/#tomcat _dizz_ (n=andy@87-198-18-86.ptr.magnet.ie) |
19:48.16 | *** join/#tomcat balla (n=balla@adsl-ull-48-35.51-151.net24.it) |
20:06.21 | *** join/#tomcat roue (n=roue@afterthought.ACS.Carleton.edu) |
20:17.38 | *** part/#tomcat bindaas (n=bindaas@59.94.96.152) |
20:35.48 | *** join/#tomcat Rolly (n=rolly@p5085D367.dip.t-dialin.net) |
21:17.16 | *** join/#tomcat r0bby (n=wakawaka@guifications/user/r0bby) |
21:41.55 | *** join/#tomcat yogurtearl (n=chatzill@knuth.cs.hmc.edu) |
21:42.42 | yogurtearl | linux 2.6.23, java 1.6_06, tomcat 6.0.16 |
21:42.58 | yogurtearl | I am trying to build tomcat from svn |
21:43.10 | yogurtearl | when I do "ant download" |
21:43.26 | yogurtearl | I get a bunch of errors building dbcp |
21:43.33 | yogurtearl | is this a known problem? |
21:49.52 | pfn | why do you want to build tomcat from svn? |
21:57.00 | yogurtearl | I need to patch the undeploy feature |
21:58.15 | pfn | why? |
21:59.34 | yogurtearl | The recursive delete that follows symlinks is not to my liking |
21:59.59 | pfn | shrugs |
22:00.02 | pfn | have fun, I guess |
22:36.18 | grantrules | what errors? |
23:02.32 | *** join/#tomcat oxi (i=trallall@dyn.83-228-188-087.dsl.vtx.ch) |
23:02.37 | oxi | hi |
23:02.58 | oxi | is there a tomcat lite binary package available? |
23:26.59 | *** join/#tomcat melter (n=melter@dyn059.morrill-116.ndsu.NoDak.edu) |
23:29.37 | jasonb | oxi: Not yet. I'm pondering whether to try to make one.. it's still very early. |
23:31.27 | oxi | http://svn.apache.org/repos/asf/tomcat/sandbox/tomcat-lite/ |
23:31.43 | oxi | jasonb: are you maintaining one? |
23:32.21 | jasonb | oxi: Not yet. I'm mainly just interested in the ongoing development. |
23:32.37 | jasonb | I know that what Costin is writing is something lots of developers want. |
23:32.45 | oxi | actually I just thought it would be cool to use a small stripped down webserver for servlet debugging through a http connection |
23:33.40 | oxi | then I found some jetty sources how you can use embedded jetty from ant to serve just about a servlet without the whole deployment stuff and web.xml and so on. |
23:34.13 | jasonb | You could always embed Tomcat.. the "Embedded" class has been there since the Tomcat 4.0 days. But, it isn't necessarily as simple to use. |
23:34.28 | oxi | then I thought the same could be done with tomcat (the reference container) and stumbled over above url googling |
23:35.56 | oxi | jasonb: yes I've done the embedding before. But I only did war deployment. Then I realized that I could just add and map a servlet |
23:36.26 | oxi | I like to strip things down to the bone and take things out which I don't require |
23:36.46 | oxi | that's why the lite version interests me |
23:37.14 | oxi | I was wondering if tomcatlite.com will be the future site for the above source code |
23:37.50 | oxi | and I wonder if the embedded tomcat in gwt is the same as above |
23:38.27 | oxi | yes, I know that I can embedd tomcat 4,5,6 easily and just pick a few of it's jars |
23:38.53 | oxi | but I thought the lite version would be even more light weight |
23:40.09 | oxi | yeah, jetty people mostly argument about size. |
23:40.35 | jasonb | That's a little silly, considering a $400 desktop box comes with a half a terabyte of HD space these days. |
23:40.40 | oxi | But I always believed that tomcat would be pretty much the same size if reduced |
23:40.46 | jasonb | Plus, networks are much faster now. |
23:40.56 | oxi | jasonb:yeh, ok you're right about that |
23:41.06 | *** join/#tomcat ZaC|Dormir (n=none@201.73.96.171) |
23:41.23 | oxi | thought I like the idea of creating a tomcat webstart and playing with that |
23:41.47 | oxi | and there a few kb's can mean a second or two |
23:41.48 | oxi | :-) |
23:42.40 | oxi | you're right, it's silly but I still love to play with size. |
23:43.01 | oxi | even though I got 10 TB space here :-) |
23:43.09 | Dwayne_Hicks | hmm... I'm not sure what special about GWT's hosted mode tomcat |
23:44.11 | oxi | Dwayne: I first thought it's just normal embedded tomcat |
23:45.08 | oxi | I realized that google is using a standardcontext which would actually let you use the tomcat manager in embedded mode and script deployment to embedded tomcat |
23:45.27 | oxi | however, during searching for a tomcat lite binary package I stumbled over this site: |
23:45.28 | oxi | http://css.dzone.com/news/working-with-gwt-shell |
23:45.43 | oxi | which mentions the term "tomcat lite" in the middle |
23:46.02 | oxi | that made me believe the gwt version is stripped down a little |
23:46.28 | oxi | however it would probably be very easy to verify, but I did't have a look |
23:46.31 | Dwayne_Hicks | I don't know, there is some changes to hosted mode coming up |
23:46.48 | oxi | yep, that's what I thought |
23:46.52 | Dwayne_Hicks | I wouldn't count on things staying the same ;) |
23:47.03 | oxi | I believe things are changing in the last few days |
23:47.28 | oxi | and there's been some activity on the sanbox/tomcat-lite |
23:48.11 | oxi | maybe someone wants to keep up with jetty's concept or maybe gwt is creating a smaller download |
23:48.14 | oxi | don't know |
23:48.42 | oxi | however like jasonb said, it's actually silly, but for me it's fun |
23:48.50 | Dwayne_Hicks | there is an svn branch that has a much different hosted mode, I can't remember what its called |
23:48.57 | oxi | i'll have look and try the compile that sandbox version |
23:49.18 | oxi | I was just wondering if tomcatlite.com has anything to do with this |
23:49.25 | Dwayne_Hicks | like ooph or something |
23:49.39 | oxi | ah, interesting |
23:51.40 | Dwayne_Hicks | I dont know if it changes any of the tomcat stuff but |
23:51.53 | Dwayne_Hicks | its going to be much nicer ;) |
23:52.02 | Dwayne_Hicks | no more 40x slower in hosted mode ;) |
23:52.21 | Dwayne_Hicks | hook into arbitrary JS renderers not just mozilla |
23:52.36 | Dwayne_Hicks | you can do it now but its a pita |
23:53.00 | oxi | ah, cool! |
23:53.01 | Dwayne_Hicks | I'm a big GWT fan ;) |
23:53.10 | oxi | yeah, me too |
23:53.33 | oxi | I looking forwared to do some embedded GWT stuff in the future |