00:59.17 | *** join/#tomcat ibot (ibot@rikers.org) |
00:59.18 | *** topic/#tomcat is Stable versions: 6.0.29, 5.5.31. Newbies use the official binary from tomcat.apache.org, an RPM from http://www.webdroid.org/archives/tomcat-package, or the latest tomcat6 testing deb. Check logs before you ask a question. SLOW MOTION CHANNEL (we all have jobs & kids): Ask your question including your TC, Java, & OS versions, then wait; check back often for answers. |
01:17.38 | *** join/#tomcat ExtraSpice (~XtraSpice@88.118.33.48) |
01:47.01 | *** join/#tomcat drindt (~drindt@e180213066.adsl.alicedsl.de) |
01:56.59 | *** join/#tomcat swi7ch (~anonymous@ip70-178-50-106.ks.ks.cox.net) |
06:15.23 | *** join/#tomcat jMCg (~hiro@unaffiliated/jmcg) |
06:17.32 | *** join/#tomcat timofeyc (~chatzilla@211.220.31.130) |
06:34.39 | *** join/#tomcat MHSL (MHSL@cm94.sigma137.maxonline.com.sg) |
06:45.49 | *** join/#tomcat DarkStar1 (~Inprimus@cpc5-oxfd18-2-0-cust654.4-3.cable.virginmedia.com) |
06:59.03 | DarkStar1 | Hi all I just copied a war file into the tomcat webapps directory but when I restart the server it won't deploy |
07:00.37 | DarkStar1 | I'm lost as to why |
07:29.07 | *** part/#tomcat wltjr (~wltjr@unaffiliated/wltjr) |
09:40.13 | *** join/#tomcat dvayanu (~another@p578E91D1.dip.t-dialin.net) |
09:58.11 | *** join/#tomcat center (~opera@unaffiliated/center) |
10:25.28 | *** join/#tomcat loddafnir (~mike@91-67-61-89-dynip.superkabel.de) |
10:32.31 | *** join/#tomcat drindt (~drindt@g228048124.adsl.alicedsl.de) |
10:42.52 | *** join/#tomcat center (~opera@unaffiliated/center) |
10:47.36 | *** join/#tomcat center (~opera@unaffiliated/center) |
10:56.50 | *** join/#tomcat center (~opera@unaffiliated/center) |
11:11.47 | *** join/#tomcat dvayanu (~another@p578E91D1.dip.t-dialin.net) |
11:11.47 | *** join/#tomcat LzrdKing (~umop-apis@unaffiliated/lzrdking) |
11:36.55 | *** join/#tomcat hex` (~hex@unaffiliated/hex/x-261681) |
11:42.28 | *** join/#tomcat IceFacesIsAFix (~IceFacesI@xdsl-89-0-75-140.netcologne.de) |
11:51.54 | *** join/#tomcat center (~opera@unaffiliated/center) |
12:31.22 | *** join/#tomcat dvayanu_ (~another@p5793D631.dip.t-dialin.net) |
12:42.12 | *** join/#tomcat acidjnk (havenone@248-232-103-86.dynamic.dsl.tng.de) |
13:35.08 | *** join/#tomcat bob1 (~Adium@78.146.196.243) |
13:37.27 | *** part/#tomcat bob1 (~Adium@78.146.196.243) |
14:33.31 | *** join/#tomcat ttiicc (~sense@178-78-202-144.customers.ownit.se) |
14:37.10 | *** join/#tomcat DarkStar1 (~Inprimus@cpc5-oxfd18-2-0-cust654.4-3.cable.virginmedia.com) |
14:37.52 | DarkStar1 | Hi ppl.. Is there a command which will show the exact version of tomcat that's in use |
14:38.44 | DarkStar1 | the bin folder doesn't contain the version.sh as I've managed to google out |
14:41.14 | flashn | DarkStar1, "rpm -qa | grep tomcat || dpkg -l | grep tomcat"? |
14:43.58 | DarkStar1 | flashn: Thanks.. I'm having problems deploying a webapp. I copy the war file into the directory but when I start TOmcat.. It doesn't deploy. Do I have to enable auto deploy or is it on by default |
14:44.16 | flashn | autoDeploy=true |
14:44.20 | flashn | in server.xml |
14:44.28 | flashn | no, thats not needed |
14:44.32 | DarkStar1 | I'll check server now |
14:44.36 | DarkStar1 | thanks |
14:48.20 | DarkStar1 | flashn: <Host name="localhost" appBase="webapps" unpackWARs="true" autoDeploy="true" |
14:48.20 | DarkStar1 | <PROTECTED> |
15:05.04 | *** join/#tomcat dvayanu (~another@p5793D631.dip.t-dialin.net) |
15:09.38 | DarkStar1 | does anyone know why tomcat could fail to autodeploy a war file?? I've even put back the old .war and it refuses to deploy that also |
15:57.16 | *** join/#tomcat DarkStar1 (~Inprimus@cpc5-oxfd18-2-0-cust654.4-3.cable.virginmedia.com) |
15:58.49 | *** join/#tomcat swi7ch (~anonymous@ip70-178-50-106.ks.ks.cox.net) |
16:00.54 | DarkStar1 | I'm having trouble deploying a webapp on tomcat 5.5. It won't upack the war file. I'm using CentOs |
16:01.31 | DarkStar1 | atm I'm trying to setup access for the manager webapp |
16:11.45 | *** join/#tomcat dvayanu_ (~another@p5793D631.dip.t-dialin.net) |
16:25.31 | *** join/#tomcat dvayanu (~another@p5793D631.dip.t-dialin.net) |
16:54.43 | *** join/#tomcat km (~km@little-black-box.vmware.com) |
16:56.56 | DarkStar1 | Ok I'm getting a: lock file found but no process running for pid xxxx - error. So far I haven't been able to find a web solution as to how to find the offending process . Can anyone help please? |
17:25.34 | *** join/#tomcat mophilly (~mophilly@mail.mophilly.com) |
17:29.38 | DarkStar1 | guess I can't be helped |
17:34.26 | mophilly | Apache Tomcat/6.0.24, jvm 1.6.0_22-b04-307-10M3261 Apple Inc., Mac OS X 10.6.6 x86_64 |
17:38.20 | mophilly | re: jackrabbit install. Installed without errors. cannot create new repository using jackrabbit web app. I have not specifically set $catalina_base. error messages and a bit more detail can be viewed at http://pastebin.com/UnQctQjS |
17:39.17 | mophilly | error is raised in Installer.java, but I suspect the problem is the between the chair and keyboard. |
17:40.41 | DarkStar1 | anyone know where the tomcat error log files are? I'm trying to track down the problem to the following error: lock file found but no process running for pid xxxx. |
17:41.03 | DarkStar1 | I've already verified that the pid file and the process file match |
17:46.43 | mophilly | DarkStar1: seems pretty quiet here. Logs are in the Tomcat home directory in my installation. |
17:47.38 | DarkStar1 | Yeah.. too quiet. Have you ever encountered a "lock file found but no process running for pid xxxx" error before? |
17:48.16 | mophilly | I have install on a mac os x server, which places things in different directories than linux. |
17:48.38 | mophilly | No, I haven't. the log is named "catalina_out" I believe. |
17:48.52 | mophilly | err... make that "catalina.out" |
17:49.06 | DarkStar1 | mophilly: Yeah. I have a Mac install on my mbp too. No problems with that so far |
17:49.42 | mophilly | are you using the tomcat install in the server distro? |
17:49.49 | DarkStar1 | mophilly: k. Thanks I'll go hunting now |
17:50.28 | DarkStar1 | Well at the moment I'm trying to trouble shoot a deployment problem in CEntOS |
17:51.15 | mophilly | DarkStar1: also look for tomcat-launchd.stderr and .stdout |
17:51.37 | mophilly | interesting... I was considering moving my work to a CentOS box. |
17:51.45 | DarkStar1 | mophilly: I copied in a new war file and started tomcat but it wont deploy. When I execute the /etc/init.d/tomcat5 start it gives no error |
17:52.03 | mophilly | sounds familiar. |
17:52.13 | DarkStar1 | mophilly: but when I do a status check I get that lock file error |
17:52.28 | mophilly | Is your OS client or server? |
17:52.38 | DarkStar1 | Server |
17:52.52 | mophilly | Ok. |
17:52.53 | DarkStar1 | It's a leased server on a provider |
17:52.56 | DarkStar1 | virtual |
17:53.04 | DarkStar1 | I'm troubleshooting for a friend |
17:53.35 | DarkStar1 | however CentOS isn't that popular a server it seems so Googling for solution or similar problem fails |
17:55.00 | DarkStar1 | I checked the /var/run/tomcat5.pid and the pid in the file matches the process of the pid of the process. However a ps -aux | grep tomcat reveals a different ID |
17:55.22 | DarkStar1 | mophilly: So I am close to the root of the problem |
17:55.41 | mophilly | sounds like. Also, may be related to the trouble I am encountering. |
17:56.19 | mophilly | I can load the tomcat manager OK. And the jackrabbit war deployed successfully but I cannot create a new repository. |
17:56.20 | DarkStar1 | What's yor problem? |
17:56.38 | DarkStar1 | Your problem sounds like a permissions problem |
17:56.40 | mophilly | fails when the web app attempts to write the "repository.xml" file. |
17:56.43 | mophilly | yeah. |
17:56.48 | mophilly | I agree. |
17:56.58 | DarkStar1 | do you have write access to the folder? |
17:57.09 | mophilly | yes. |
17:57.48 | mophilly | well, let me clarify that... |
17:58.13 | DarkStar1 | Well I'm still quite new to tomcat so I don't know anything about jackrabbit |
17:58.21 | mophilly | user _appserver has read/write permissions. |
17:58.30 | mophilly | that's ok. I am new to both. |
17:58.45 | DarkStar1 | but if it's a app of sorts that you're using then maybe the username of the app doesn't have write access |
17:59.19 | mophilly | good thought. |
18:03.39 | DarkStar1 | mophilly: Anyways I have to disappear for two hours. I'll come back and have a crack at it later. |
18:04.11 | mophilly | Thanks, best of luck with your issue. |
18:05.16 | DarkStar1 | mophilly: At this point I'm hoping for a miracle |
18:05.20 | DarkStar1 | :D |
18:11.07 | *** join/#tomcat ryan8403 (~ryan8403@internal.lhcp.org) |
18:35.39 | *** join/#tomcat rhonabwy (~rhonabwy@95-91-154-179-dynip.superkabel.de) |
18:46.10 | *** join/#tomcat Bunbury (~Bunbury@port78.flowja.com) |
18:46.16 | Bunbury | hello all |
18:46.44 | Bunbury | can i ask beta questions here or is there a seperate channel for that |
18:53.12 | *** join/#tomcat 45PABN4G5 (~quassel@151.48.191.90.dyn.estpak.ee) |
18:58.39 | Bunbury | ? |
19:06.24 | *** join/#tomcat }ls{ (~}ls{@p5DD1C0B5.dip.t-dialin.net) |
19:06.48 | mophilly | Bunbury: it is kinda quiet here today. I don't know the answer to your question. |
19:27.12 | *** join/#tomcat 77CAAKWEN (~quassel@151.48.191.90.dyn.estpak.ee) |
20:02.31 | *** join/#tomcat silbo_ (~quassel@151.48.191.90.dyn.estpak.ee) |
20:10.04 | jasonb | Bunbury: go ahead and ask your questions in here. |
20:11.57 | *** join/#tomcat dvayanu (~another@p5793D631.dip.t-dialin.net) |
20:21.13 | *** join/#tomcat dvayanu (~another@p5793D631.dip.t-dialin.net) |
20:25.55 | *** part/#tomcat Bunbury (~Bunbury@port78.flowja.com) |
20:48.58 | *** join/#tomcat swi7ch (~anonymous@ip70-178-50-106.ks.ks.cox.net) |
21:03.31 | *** join/#tomcat dvayanu (~another@p578E9244.dip.t-dialin.net) |
21:10.56 | *** join/#tomcat Ruum (~chatzilla@c-76-101-29-167.hsd1.fl.comcast.net) |
21:11.17 | Ruum | hey guys, do you know anything about opengrok? |
21:27.24 | Ruum | hello? |
21:45.33 | Ruum | if you must know, my OS is debian, and I believe that the tomcat version is 6.0.29 |
21:45.47 | Ruum | so does anyone know anything about opengrok? |
21:51.04 | *** join/#tomcat Strangeloop (4fb0206b@gateway/web/freenode/ip.79.176.32.107) |
21:52.47 | Strangeloop | Hi, I'm having a small crisis here and would appreciate any help. Our programmer quit on us and our website doesn't work all that well anymore. I have no experience with tomcat so I don't know how to start tackling this problem. We have apache configured with reverse proxy and we use jk as a connector. |
22:15.42 | *** join/#tomcat DarkStar1 (~Inprimus@cpc5-oxfd18-2-0-cust654.4-3.cable.virginmedia.com) |
22:19.22 | Ruum | Strangeloop.... um.... dont take this the wrong way... but it sounds like your up a creek without a paddle |
22:19.44 | Strangeloop | Ruum: I totally identify with this analogy |
22:20.15 | Ruum | because it takes more than just basic understanding of web stuff - to fully understand tomcat you need the following: |
22:20.32 | Strangeloop | The thing is, that I don't work for a megacorp or something, it's a website of a local student council which students needs to prepare for finals (which start in a week) and the programmer just left |
22:20.42 | Strangeloop | And I know I can't learn tomcat overnight |
22:21.10 | Strangeloop | But there is an installation which used to work until yesterday, and I am familiar with apache and unix in general |
22:21.14 | Ruum | understanding of the W3 web standards, java, and basic server admistration |
22:21.27 | Strangeloop | I am a system administrator |
22:21.48 | Ruum | but you need to understand programming as well |
22:22.08 | Strangeloop | Well, I'm about to finish my major in computer science, so I do know of it to some extent ;) |
22:22.14 | Ruum | being a server admin can allow you do do things like deployment, setup, and shutting down |
22:22.47 | Strangeloop | The thing is, that there's a system which is already up. I let the programmer deploy and configure all tomcat related stuff |
22:22.51 | Ruum | how well do you know this: HTML, CSS, Javascript, xml..... and then you need to know this big one |
22:22.52 | Ruum | JAVA |
22:22.59 | Strangeloop | Something went wrong and I don't know how to start diagnozing it |
22:23.29 | Ruum | it sounds like he wasnt really programming anything |
22:23.34 | Strangeloop | I know a lot more about java then I know about webdev |
22:23.50 | Ruum | deployment and configuration is not much programming at all |
22:24.04 | Strangeloop | Oh, he was. There's an extensive academic bank application which worked perfectly until this morning |
22:24.11 | Strangeloop | Which he designed |
22:24.39 | Ruum | its basic linux or windows stuff..... and then deployment is knowing where the .war files should be on the server |
22:24.53 | Strangeloop | OK, let me be more specific |
22:24.56 | Ruum | ok.... so he pretty much did everything |
22:25.02 | Ruum | no need |
22:25.27 | Ruum | haha you know... I would MUCH rather trade you problems |
22:25.43 | Strangeloop | The website is aguda.org.il, which is Drupal based. Whenever a user tries to access aguda.org.il/ab he should be forwarded to a jsp application |
22:26.01 | Strangeloop | I know where the application itself is on the server, I just don't know how to configure this connection |
22:26.24 | Ruum | mine is an opengrok problem.... and it seems that the IRC channel for this is now gone from freenode |
22:26.46 | Ruum | can you just please put in the whole URL? |
22:26.55 | Ruum | and jsp isnt really an application |
22:27.14 | Ruum | it is a modified form of a HTML web page |
22:27.27 | Ruum | it is the .war file that is the actually application. |
22:27.35 | Ruum | *actual |
22:27.55 | Strangeloop | http://aguda.org.il/ab |
22:28.05 | Ruum | thanks |
22:28.16 | Strangeloop | What you see there right now is a "page not found" |
22:28.39 | Strangeloop | I'm looking for .war files |
22:29.05 | Strangeloop | OK, I found the relevant .war file |
22:29.06 | Ruum | wow... I didnt know that hebrew was your native tongue... its a good thing I also use chrome |
22:29.47 | Ruum | well just having the war file is only half the battle |
22:29.58 | Strangeloop | At least I'm halfway there... |
22:30.01 | Ruum | what version of tomcat are you using do you know? |
22:30.07 | Strangeloop | 5.5 |
22:30.14 | Ruum | wow... ANCIENT |
22:30.26 | Ruum | you know that they are coming out with 7 right? |
22:30.46 | Strangeloop | Yup, unfortunately it's not native with cPanel |
22:30.47 | Ruum | anyway.... I know that doesnt help your current situation.... |
22:31.03 | Ruum | but you should consider upgrading in the future |
22:31.35 | Strangeloop | Well, the guys who run the website aren't very system savvy, and I don't work there regularly, they just hire me when things go bent |
22:31.47 | Strangeloop | So I want to keep it all simple and GUI |
22:32.06 | Ruum | ahaha well please keep in mind this |
22:32.24 | Ruum | for a java web application do you know what controls the GUI? |
22:33.57 | Strangeloop | nope |
22:34.37 | Strangeloop | Never had to deal with anything which has anything to do with servlets before |
22:36.05 | Ruum | ok... well with a NORMAL java desktop applcation |
22:36.21 | Ruum | it is the system or your OS that controls the parts of the GUI |
22:36.39 | Ruum | mostly its up to the java programmer what a gui looks like |
22:37.55 | Ruum | I have made some pretty robust java GUI's before |
22:38.22 | Ruum | now with a .war file or a java web app |
22:39.21 | Ruum | it falls to the HTML or the CSS (mostly.... with more advanced web GUI's there is javascript involved as well) to configure the GUI the way you like it |
22:40.12 | Ruum | so that is why it takes more advanced understanding of web programming to make a good java web app or a .war file |
22:40.43 | Ruum | because in this case knowing java by itself is not enough |
22:41.09 | Ruum | you need to ALSO know W3 web standards as well... |
22:42.07 | Ruum | that is why for future reference... for making web applications its easier to start with something more simple like php..... its alot easier to setup and deploy |
22:42.16 | Ruum | but for more advanced web programming |
22:42.25 | Ruum | the muscle comes with java |
22:42.55 | Ruum | because java has alot of power behind it |
22:43.12 | Strangeloop | I have no intention on developing anything on tomcat for now |
22:43.24 | Strangeloop | I just want to get it to work the way it did until they find a new programmer |
22:43.32 | Ruum | so.... for you to take a crash course in web applications with tomcat..... well if its life and death.... |
22:43.47 | Strangeloop | Next semester I'm taking a class about current internet technologies... I guess I'll be wiser after that |
22:44.11 | Ruum | my suggestion is alot of coffee and no life for about 3-4 days |
22:45.06 | Strangeloop | OK, now that I have a .war file, and I know I want any connection going to aguda.org.il/ab to be redirected to that app |
22:45.14 | Strangeloop | Where's a good place to start? |
22:45.42 | Ruum | well do you want a quick fix? |
22:45.53 | Strangeloop | The stylesheets that app is supposed to use are the same ones that the website uses in general |
22:45.56 | Ruum | or do you want to understand the whole thing |
22:46.11 | Ruum | again... a stylesheet is not the application |
22:46.40 | Strangeloop | I'm always happy to learn new things throughly, but the more time it takes me to fix this, the less time before exams people have an academic bank |
22:46.41 | Ruum | stylesheets help design the GUI for ANY webpage |
22:46.51 | Strangeloop | I know that... |
22:46.54 | Ruum | kk |
22:46.56 | Ruum | good |
22:47.14 | Ruum | look if you want a REALLY quick fix.... |
22:47.20 | Strangeloop | You were saying .war uses existing stylesheets for it's layout, so I was pointing out that these stylesheets exist, and they belong to the main site |
22:48.07 | Ruum | ok.... here is what I understand about web apps in about one minute or less |
22:48.12 | Ruum | first here is java |
22:48.21 | Ruum | when java is compiled.... |
22:48.37 | Ruum | it is compiled to a .class file |
22:48.52 | Ruum | this class file contains what is called bytecode |
22:49.31 | Ruum | the bytecode is read by the java virtual machine (or known as the jvm) and this is turned into machine code or binary |
22:49.37 | Strangeloop | Did I mention that I'm a comp-sci major? |
22:49.51 | Ruum | right.... I am getting to all of this... |
22:49.59 | Ruum | now that is basic java... |
22:50.02 | Ruum | NOW |
22:50.12 | Ruum | with tomcat...... |
22:50.42 | Ruum | oops I forgot a step |
22:50.53 | Strangeloop | I know all the steps, don't worry |
22:51.13 | Ruum | (back to basic java) now when class files are compressed they make a .jar file |
22:51.17 | Ruum | now with tomcat |
22:51.26 | Ruum | you need the tomcat |
22:52.02 | Ruum | plus something that will build and extract the application like ant |
22:52.10 | Ruum | and that is what i normally use |
22:52.14 | Ruum | tomcat + ant |
22:52.43 | Ruum | so tomcat is like apache for java |
22:53.00 | Ruum | and ant is almost like the compiler |
22:53.41 | Ruum | so... getting to your questions about stylesheets and .html files.... |
22:53.46 | Ruum | here is the deal |
22:54.32 | Ruum | what tomcat does is that like a .jar file that is consists of all .class files |
22:55.56 | Ruum | tomcat + ant will take a .war file that contains not only .class files but .xml files, .jsp files (which is like the java version of HTML), your .css files, and your javascript files |
22:56.07 | Ruum | and compress them into a .war file |
22:57.20 | Ruum | so this comprehensive explanation is explain what a .war file is and what tomcat + ant does |
22:57.47 | Strangeloop | OK, and given that I already have a .war file, and all I want is for it to run...? |
22:57.58 | Ruum | pretty much |
22:58.27 | Ruum | this is based on the assumption that your tomcat has a building and extraction tool like ant |
22:58.43 | Strangeloop | Which I need to create the .war file |
22:58.48 | Strangeloop | I get it, but I already have a .war file |
22:58.56 | Ruum | because without ant.... your .war file will not be extracted... thus it will not be deployed. |
22:59.05 | Strangeloop | I understand |
22:59.09 | Ruum | kk |
22:59.20 | Strangeloop | So a .war file is something I need to deploy |
22:59.26 | Ruum | yep |
22:59.40 | Strangeloop | I think it already is deployed then |
23:00.09 | Ruum | well the best thing to do is go to the web page where you think its deployed |
23:00.16 | Ruum | and inneract with it |
23:00.37 | Strangeloop | I have a directory in the server |
23:00.56 | Strangeloop | which contains all the css, jsp, and images of that application |
23:01.05 | Strangeloop | and also META-INF/ WEB-INF/ dirs |
23:01.31 | Strangeloop | So I guess it's from the war file, or at least a tar file of some kind |
23:02.44 | Ruum | well the META and the WEB stuff is more technical details.... they arent need to be understood to fix or modify to make it run |
23:02.46 | Ruum | HOWEVER |
23:03.07 | Ruum | I wouldnt mess with anything there..... until you understand xml |
23:03.17 | Strangeloop | I don't intend to |
23:03.18 | Ruum | I wouldnt mess with those folders |
23:03.21 | Ruum | good |
23:03.37 | Strangeloop | I'm pretty sure the code itself is fine, something just got broken in the server configurations |
23:03.48 | Strangeloop | Because some moron rebuilt apache without consulting me |
23:04.00 | Ruum | shit.... |
23:04.13 | Strangeloop | I had backups of most of the main configuration files |
23:04.15 | Ruum | well this sounds like its not a tomcat problem |
23:04.31 | Ruum | but.... what you COULD do is... keep the .war file |
23:04.39 | Strangeloop | It's somewhere between tomcat and apache |
23:04.53 | Ruum | ok... here is the easiest and safest fix |
23:05.01 | Strangeloop | I don't know if it's apache, or tomcat, or the connector |
23:05.02 | Ruum | make a copy of the war file |
23:05.39 | Ruum | I think the "connector" your referring to would be something like ant |
23:05.55 | Strangeloop | Nope, I'm talking about jk |
23:05.58 | Ruum | but your safest bet is..... |
23:06.26 | Strangeloop | It's an apache module which allows me to pass jsp requests to tomcat using reverse proxy configuration |
23:07.02 | Ruum | haha shit dude... your problem REALLY is that your using a very old version of tomcat... |
23:07.31 | Ruum | most people dont even use jakarta anymore |
23:07.54 | Ruum | ok... if they have upgraded your apache server |
23:08.08 | Strangeloop | They didn't, same version |
23:08.10 | Ruum | from say..... 2.1 to 2.2 or something...... |
23:08.14 | Strangeloop | they upgraded php, which I had to downgrade |
23:08.56 | Ruum | well you now have 2 choices again.... |
23:09.21 | Ruum | but before you do ...what OS are you using and what version? |
23:09.33 | Ruum | I would assume linux |
23:09.45 | Ruum | since your using apache |
23:09.52 | Strangeloop | centos |
23:09.53 | Strangeloop | 5 |
23:12.17 | Ruum | I like centos |
23:12.53 | Ruum | kk well it sounds like your using a up-to-date version of centos |
23:12.58 | Strangeloop | Are you going to tell me what you think I should do? |
23:13.28 | *** join/#tomcat IceFacesIsAFix (~IceFacesI@xdsl-89-0-66-7.netcologne.de) |
23:13.41 | Ruum | well I think you should just upgrade your apache |
23:14.03 | Strangeloop | You don't even know what apache version I'm using... |
23:14.15 | Ruum | what version then? |
23:14.50 | Strangeloop | 3.2 |
23:14.57 | Strangeloop | Wait, no |
23:15.18 | Strangeloop | 2.2, sry |
23:16.10 | Ruum | ya they dont have 3.2 yet... haha |
23:16.19 | Ruum | well that is the most recent |
23:16.30 | Strangeloop | I'm aware of that |
23:16.34 | Ruum | it sounds like you could have kept the lastest php verson |
23:16.43 | Strangeloop | I couldn't |
23:16.48 | Strangeloop | and it's not really relevant |
23:16.58 | Ruum | oh well.... ya that is what i was going to say |
23:17.12 | Strangeloop | Listen, do you know to help me find where this should be configured? |
23:17.17 | Ruum | your REAL problem is that the simplest fix is what I was saying |
23:17.28 | Strangeloop | Which is? |
23:17.28 | Ruum | you should just save the .war file |
23:17.35 | Strangeloop | and...? |
23:17.48 | Ruum | then uninstall tomcat and ant |
23:18.14 | Ruum | and reinstall with the latest stable versions |
23:18.26 | Ruum | then redeploy your .war file |
23:19.06 | Strangeloop | OMG, either you have no clue what you're talking about or you're a troll |
23:19.20 | Ruum | dude... here is the thing |
23:19.45 | Ruum | I know you probably have some special configs with your current tomcat |
23:19.51 | *** join/#tomcat DarkStar1 (~Inprimus@cpc5-oxfd18-2-0-cust654.4-3.cable.virginmedia.com) |
23:20.12 | DarkStar1 | Hi ppl. It would seem I have a runaway tomcat process |
23:20.14 | Ruum | but the problem is that unless you know EXACTLY where the problem is that you could be at it for hours and hours and ours |
23:20.36 | Ruum | trying to "debug" your tomcat problem |
23:21.00 | Ruum | because if the war is unscathed.... then ya its your tomcat |
23:21.15 | Strangeloop | I know that! |
23:21.27 | Strangeloop | My entire question was where should I start looking |
23:21.30 | Strangeloop | :/ |
23:21.39 | DarkStar1 | I have been at this for hours now and just noticed something every time I do a ps -eaf | grep tomcat.. The pid for tomcat changes. I have no ide what's causing this |
23:21.55 | Ruum | well do you want to go through a TON of config files? |
23:22.49 | Ruum | I know it sounds like a CRAZY idea to wipe clean your tomcat and ant and start over..... |
23:23.06 | Ruum | but if you want to get this fixed as soon as possible.... |
23:23.36 | Ruum | well.... trust me when I say that it would not take you long to configure and install a new tomcat and ant |
23:23.38 | Strangeloop | Listen, I think the problem is me rewrite rules were reset |
23:23.52 | Strangeloop | I just don't know how to write a proper redirect |
23:23.59 | Strangeloop | To work between apache and tomcat |
23:24.59 | Ruum | ok... now I think your talking about getting the index.jsp file to autoload instead of having the webapp have to go to port 8080 |
23:25.21 | Ruum | to load your web app |
23:25.37 | Ruum | see this is in the xml configuration files |
23:25.56 | Ruum | that is how an index.jsp file is loaded. |
23:26.18 | Strangeloop | I don't have an index.jsp, I have a main.js |
23:26.19 | Ruum | but that is for a NORMAL working tomcat and a NORMAL working apache |
23:26.52 | Ruum | well main.js has NOTHING to do with the .war file working or not |
23:27.02 | Ruum | that is just a lame javascript file |
23:27.22 | Ruum | unless the main.js is controlling the redirect that your talking about |
23:28.22 | Ruum | another thing you could try is to remove the war file (DONT DELETE IT) and write a "hello world" java web application |
23:28.27 | Ruum | and try to get that to work |
23:29.47 | Strangeloop | is index.jsp supposed to be in tomcat's public_html? |
23:30.26 | Ruum | ok..... tomcat doesnt have an "public_hmtl" it has... hold up a sec... |
23:32.10 | Strangeloop | Nope, I don't seem to have any index.jsp file |
23:32.17 | Ruum | it has a place where you put the .war file that is like an "public_html" file |
23:32.32 | Ruum | and the war file SHOULD contain a index.jsp file |
23:32.50 | Ruum | for the server that I am on... its this: |
23:32.51 | Strangeloop | it doesn't |
23:35.29 | Ruum | then he could be javaserver faces or jsf instead |
23:35.31 | Ruum | http://www.oracle.com/technetwork/java/javaee/javaserverfaces-139869.html |
23:35.44 | *** join/#tomcat MHSL (MHSL@cm94.sigma137.maxonline.com.sg) |
23:36.26 | Ruum | basically a war file SHOULD contain EVERYTHING that makes the web app work as far as code |
23:36.37 | Ruum | war is nothing more than a web jar file |
23:36.52 | Ruum | that is what war stands for "web jar" file |
23:37.11 | *** join/#tomcat dvayanu (~another@p578E9244.dip.t-dialin.net) |
23:40.37 | Ruum | so that is what I am saying |
23:40.45 | Ruum | you have 2 choices again... |
23:41.23 | Ruum | you can spend hours and hours trying to figure out where the configuration error is between the tomcat and the apache web server |
23:41.43 | Ruum | or your can just uninstall and reinstal |
23:41.54 | Ruum | reinstall |
23:42.53 | Ruum | and you might find that uninstall and reinstall might be faster in this case |
23:42.54 | Ruum | especially since your tomcat is pretty old |
23:43.06 | Ruum | and prolly takes alot more configuring to make it work |
23:43.28 | Ruum | I find that the newer the version the easier the tomcat is to setup |
23:44.24 | Ruum | but I am no pro with setting them up.... I just know that in some cases that it is easier to backup all your war files and uninstall and reinstall your tomcat server |
23:44.37 | Ruum | with ant |
23:45.27 | Ruum | so I can say again... I am not trying to troll here dude.... |
23:46.04 | Ruum | ultimately its up to you on which route you take |
23:46.23 | Ruum | but I know unistall and reinstall could be alot faster for you in the end |
23:46.44 | Ruum | then trying to become a tomcat configuring pro over night |
23:47.18 | Ruum | do you see my logic now strangloop ? |
23:49.16 | Ruum | anyway.... back to my question.... .does anyone know anything about opengrok? |
23:50.49 | Ruum | yo Strangeloop are you there? |
23:54.15 | Ruum | well I am going to get food bbiab |
23:59.26 | Strangeloop | Ruum: sorry, I forgot IRC was open, thanks for your time |
23:59.32 | *** part/#tomcat Strangeloop (4fb0206b@gateway/web/freenode/ip.79.176.32.107) |