00:15.18 | *** part/#tomcat jamesgolick (~jamesgoli@S0106002312f98d84.vc.shawcable.net) |
01:29.13 | *** join/#tomcat juhanic (~juhani@60.32.133.198) |
02:05.12 | *** join/#tomcat karstensrage (~karstensr@c-71-202-243-186.hsd1.ca.comcast.net) |
02:10.43 | *** join/#tomcat rhonabwy (~rhonabwy@95-91-183-192-dynip.superkabel.de) |
02:48.56 | *** join/#tomcat koza (~chatzilla@p3087-ipad04motosinmat.mie.ocn.ne.jp) |
04:01.48 | *** part/#tomcat koza (~chatzilla@p3087-ipad04motosinmat.mie.ocn.ne.jp) |
04:07.59 | *** join/#tomcat zed_DX (~kvirc@187.146.97.232) |
04:16.52 | *** join/#tomcat pgk87 (~182f9781@gateway/web/freenode/x-ykrufnttgeowlwui) |
04:17.12 | *** part/#tomcat pgk87 (~182f9781@gateway/web/freenode/x-ykrufnttgeowlwui) |
04:27.07 | *** join/#tomcat acidjnk (acid@pD950A0B4.dip0.t-ipconnect.de) |
04:31.26 | *** join/#tomcat bhagat (~bhagat@203.129.255.188) |
04:35.12 | *** join/#tomcat km (~km@adsl-76-254-12-160.dsl.pltn13.sbcglobal.net) |
05:43.14 | *** join/#tomcat jamesgolick (~jamesgoli@S0106002312f98d84.vc.shawcable.net) |
05:44.23 | jamesgolick | hey - I'm getting java.lang.ClassCircularityErrors on code that runs fine outside of tomcat... jdk 1.6 everywhere |
06:03.33 | *** join/#tomcat km (~km@adsl-76-254-12-160.dsl.pltn13.sbcglobal.net) |
06:04.13 | *** join/#tomcat jasonb (~jasonb@m320536d0.tmodns.net) |
06:35.39 | *** join/#tomcat kaushal (~kaushal@125.22.61.162) |
06:35.47 | kaushal | hi |
06:36.22 | kaushal | I need help on Tomcat Client Deployer. Can someone guide me please |
06:37.00 | *** join/#tomcat Alagar (~helpdesk@vsusg1.vernalissystems.com) |
07:10.00 | *** join/#tomcat jasonb (~jasonb@adsl-66-124-73-250.dsl.sntc01.pacbell.net) |
07:40.47 | *** join/#tomcat NotInternat (~nf@123-243-184-161.static.tpgi.com.au) |
08:43.24 | *** join/#tomcat trone (~sim@host208-19-dynamic.58-82-r.retail.telecomitalia.it) |
08:43.52 | trone | hi there. I had some problem after last upgrade on debian. someone know? |
08:49.39 | trone | I'm on linux-debian, tomcat 6.0.24, sun-java6 (java version 1.6.0_16) |
08:59.19 | *** join/#tomcat nwillems (~niwil90@78.111.169.98) |
09:04.17 | *** join/#tomcat juhanic (~juhani@60.32.133.198) |
09:24.33 | nwillems | Hey guys - I'm running a debian 5.0.3 and java 1.6.0_12 with tomcat 6.0.20 - And wondering if I somehow can shortcirciut the JDBCRealm to use a default password for the user logging in - I'm using a combined realm and just need the database to fetch roles. |
09:34.52 | trone | nwillems: can you help me? I don't know well tomcat, and I have a cocon webapp that go and /var/lib/tomcat6/webapps/ROOT .. but after a stupid upgade it's doenst' work more. |
09:35.12 | trone | I don't know exactly what I have to configure... can you help me? |
09:47.55 | *** join/#tomcat kaushal (~kaushal@125.22.61.162) |
09:47.59 | kaushal | hi |
09:48.02 | kaushal | At the moment, I stop,kill tomcat and scp the war to webapps folder and start tomcat server. is there a better way to do it ? |
09:50.11 | nwillems | kaushal: Yes - you can configure your tomcat to autodeploy |
10:12.00 | trone | nobody can help me? I have the service taht run on port 80, but nothing appear on the browser... |
10:18.57 | trone | http://paste.debian.net/62209/ |
10:19.02 | trone | ^^ log from syslog |
10:19.29 | kaushal | nwillems: sorry was away for a while |
10:20.15 | kaushal | I have decided to use TCD |
10:20.31 | kaushal | Please suggest |
10:30.16 | *** join/#tomcat dvayanu (~another@93.104.234.130) |
10:44.13 | *** join/#tomcat IceFacesIsAFix (~IceFacesI@static-87-79-71-74.netcologne.de) |
11:06.02 | *** join/#tomcat j2sentient (~j2sentien@unaffiliated/j2sentient) |
11:24.04 | trone | I don't know why my tomcat6 don't reply on port 80. someone can help? |
11:25.05 | trone | please? debian squeeze, java-6-sun 1.6.0_16, tomcat6 |
11:25.20 | *** join/#tomcat grandmoun (~piliman@encyclo014701-1-4.clients.easynet.fr) |
11:25.40 | trone | tomcat6 6.0.20 |
11:37.35 | *** join/#tomcat HexDump (RobHuggard@89.29.184.170) |
11:37.38 | HexDump | hi everybody |
11:39.50 | trone | I don't undersatnd why tomcat6 don't reply at the 80... It are working but don't reply. I've debian squeeze, java-6-sun 1.6.0_16, tomcat6.0.20 . please someone can help me? |
11:48.18 | asyd | trone: no logs? do you stasrt tomcat as root? |
11:48.55 | nwillems | trone: have you remembered to check your server.xml to see if thats the port it is configured for? |
11:49.05 | *** join/#tomcat IceFacesIsAFix (~IceFacesI@static-87-79-71-74.netcologne.de) |
11:51.46 | HexDump | I'm getting a bit crazy. I'm migrating a tomcat application, and I have an app in webapps. In the working server if I use http://host/appname a blank listing is shown (correct). In my implantation if I do the same I gent an error saying that resource is not available. I have checked lota google pages, and trying to mimic other built-in apps like balancer, etc... but no luck. |
11:52.09 | HexDump | Centos 5.2, java-6-sun 1.6.0_18 and Tomcat 5.2.7 |
11:53.15 | asyd | what about the logs... |
11:53.25 | trone | asyd: i start tomcat with /etc/init.d/tomcat6 start of debian squeeze. the (sys)logs are: http://paste.debian.net/62222/ |
11:53.40 | HexDump | oh, let me check it asyd |
11:54.12 | asyd | trone: iptables -L ? :P |
11:56.09 | trone | asyd: iptables should to be ok. :) Is the things that I know... http://paste.debian.net/62224/ |
11:56.34 | trone | nwillems: the server.xml is setted: http://paste.debian.net/62223/ |
11:57.06 | trone | the point is that it worked yesterday. today I do the worst upgade of ever (I'm stupid, yes) and all fuckedup |
11:57.11 | *** join/#tomcat IceFacesIsAFix (~IceFacesI@static-87-79-71-74.netcologne.de) |
11:57.17 | asyd | well, your tomcat seems ok, so I suggest you to disable iptables to test. |
11:57.27 | trone | asyd: right. |
11:58.39 | HexDump | asyd: ummm, I have an empty log named Blzeds0.log and a lock file. THe app I'm trying to make owrk is called Blazeds. Both logs are empty |
11:58.46 | HexDump | no more data related to this app |
12:00.23 | HexDump | I have seen around I could use a context entry in server.xml to make blazeds application load, but I can't see this in the original instalation. |
12:02.19 | HexDump | ls |
12:02.36 | asyd | no catalina.out ?! |
12:02.38 | HexDump | sorry :/. Wrong focus :) |
12:02.52 | HexDump | asyd: yes.. but it doesn't statate nothing important |
12:03.48 | trone | asyd:ok, I close me out... damnit. |
12:05.32 | HexDump | asyd: I have been trying to use ROOT dir and it works, I mean it seems tomcat installation is correct. This is why I skipped catalaina.out :) |
12:22.56 | HexDump | ahhh now it listed some more bit info on the logs :). Blazeds.log says that servlet MessageBrokerServelt threw unload() exception :/ in core.ApplicationContext, any tip? |
12:25.39 | HexDump | I think this is not related with tomcat but blazeds libs... let's see what can I find. |
13:01.02 | *** join/#tomcat |MHSL| (mhsl@cm5.eta6.maxonline.com.sg) |
13:06.29 | *** join/#tomcat _MHSL_ (mhsl@cm5.eta6.maxonline.com.sg) |
13:11.32 | trone | ok. I'm on tomcat5.5, how I can put a /usr/share/tomcat5.5/webapps as the default app ? |
13:12.12 | trone | (If I wanna make taht pointing the web browser toward the server that application is shown |
13:21.33 | *** join/#tomcat MHSL (mhsl@cm5.eta6.maxonline.com.sg) |
14:07.57 | *** join/#tomcat randrewj (~raj-user@user-160uu4k.cable.mindspring.com) |
14:08.03 | *** join/#tomcat |MHSL| (mhsl@cm5.eta6.maxonline.com.sg) |
14:23.11 | *** join/#tomcat l3dx (~thomas@unaffiliated/l3dx) |
14:24.11 | l3dx | is it possible to restrict access to certain parts of a webapp using valves? |
14:24.25 | l3dx | restricting by ip ranges |
14:38.28 | Lzrdking | no clue :P |
14:38.31 | randrewj | l3dx: http://tomcat.apache.org/tomcat-6.0-doc/config/valve.html#Remote%20Address%20Filter |
14:38.42 | *** join/#tomcat HexDump (RobHuggard@89.29.184.170) |
14:47.21 | l3dx | randrewj: I'm aware of that filter, but I can't figure out if it's possible to apply the filter to given parts of the application |
14:58.31 | *** join/#tomcat mturk (~mturk@89-164-108-134.dsl.iskon.hr) |
15:01.14 | *** join/#tomcat anirvana (~chatzilla@114.69.224.162) |
15:01.23 | *** part/#tomcat anirvana (~chatzilla@114.69.224.162) |
15:07.26 | *** join/#tomcat kaushal (~kaushal@115.118.247.90) |
15:07.30 | kaushal | hi |
15:08.15 | cofeineSunshine | howdy |
15:08.22 | kaushal | cofeineSunshine: hi |
15:08.49 | kaushal | I am using Tomcat Client Deployer for deploying war on tomcat server |
15:08.56 | kaushal | i use ant utility |
15:09.14 | kaushal | is there a way to kill tomcat process using ant |
15:09.24 | kaushal | ? |
15:10.02 | cofeineSunshine | no |
15:10.12 | cofeineSunshine | ant will use tomcat shutdown port |
15:10.57 | kaushal | cofeineSunshine: ok, so if i need to restart tomcat using ant is that possible ? |
15:11.28 | kaushal | since in our current setup there is a In memory cache |
15:11.50 | kaushal | and some threads which doesnot get cleared |
15:11.51 | cofeineSunshine | yes, if ant issues command kill -9 $PID |
15:12.10 | cofeineSunshine | these threads probably waiting for DB |
15:12.45 | kaushal | cofeineSunshine: any example on how ant can issue kill command to kill tomcat ? |
15:13.26 | kaushal | i use ant -lib /path/to/lib deploy |
15:13.38 | kaushal | using build.xml |
15:13.51 | cofeineSunshine | it is easier to use command line |
15:13.56 | cofeineSunshine | ps ax | grep java |
15:13.59 | cofeineSunshine | to find java PID |
15:14.03 | cofeineSunshine | then kill -9 $PID |
15:14.18 | kaushal | cofeineSunshine: i know it already :) |
15:14.28 | kaushal | but thats manual way of doing it |
15:14.42 | cofeineSunshine | so, write ant script to that for you:) |
15:16.42 | kaushal | ok |
15:17.47 | cofeineSunshine | and give me:) i'll need such script to:D |
15:19.06 | randrewj | l3dx: a filter could be mapped to url, or a valve could be customized to acomplish same. either way you'd need to do a little coding. |
15:19.21 | *** join/#tomcat Gio^ (~VaNNi___@38.98.61.142) |
15:22.11 | kaushal | cofeineSunshine: <target name="deploy" depends="deploy-live,restart"/> ? |
15:22.51 | kaushal | does it mean that it will restart tomcat server ? |
15:27.02 | randrewj | cofeineSunshine: kill -15 should be used before resorting to kill -9 |
15:28.03 | Lzrdking | should all tomcat files be owned by the tomcat user, or should they be owned by root and the group be the tomcat user's group with group write permissions set only on specific files/directories? |
15:33.39 | *** join/#tomcat dcave555 (~alina@212.150.31.116) |
15:33.47 | *** part/#tomcat dcave555 (~alina@212.150.31.116) |
16:04.45 | *** join/#tomcat jumic (~micheju@f051237130.adsl.alicedsl.de) |
16:31.06 | *** join/#tomcat roel- (~rdvdijk@rustradio.xs4all.nl) |
16:32.01 | roel- | what's that file called where I can put my own configuration, such that I can just extract a newer version of tomcat over my current one? |
16:37.04 | randrewj | roel-: if you put your configuration under CATALINA_BASE you can accomplish an upgrade by pointing CATALINA_HOME to different tomcat version. Read RUNNING.txt in tomcat binary package for info. |
16:37.26 | roel- | i think I mean setenv |
16:38.16 | roel- | randrewj: thanks, setenv is mentioned there as well |
16:38.41 | randrewj | (Overwriting tomcat is probably not a good update strategy.) |
16:40.30 | roel- | no i know |
16:40.47 | roel- | i meant upgrading to a new version, not overwriting it |
16:43.03 | Lzrdking | should all tomcat files be owned by the tomcat user, or should they be owned by root and the group be the tomcat user's group with group write permissions set only on specific files/directories? |
16:45.18 | *** join/#tomcat none (~km@outbound-nat-134.vmware.com) |
16:48.44 | *** part/#tomcat schumact (~tschumach@69.15.86.83) |
16:51.16 | *** join/#tomcat acarbs12 (~acarbone@173.9.89.1) |
17:05.31 | *** join/#tomcat jasonb (~jasonb@m4c0536d0.tmodns.net) |
17:49.04 | *** join/#tomcat Internat (~nf@123-243-184-161.static.tpgi.com.au) |
17:55.03 | *** join/#tomcat Internat (~nf@123-243-184-161.static.tpgi.com.au) |
17:58.16 | *** join/#tomcat NotInternat (~nf@123-243-184-161.static.tpgi.com.au) |
18:04.06 | *** join/#tomcat Internat (~nf@123-243-184-161.static.tpgi.com.au) |
18:11.36 | *** join/#tomcat jasonb (~jasonb@dsl027-180-244.sfo1.dsl.speakeasy.net) |
18:12.53 | *** join/#tomcat NotInternat (~nf@123-243-184-161.static.tpgi.com.au) |
18:22.57 | *** join/#tomcat uebera|| (~nnuser@subjektzentrisch.de) |
18:27.52 | *** join/#tomcat medthomas (~chatzilla@apache/committer/markt) |
18:29.29 | Lzrdking | should all tomcat files be owned by the tomcat user, or should they be owned by root and the group be the tomcat user's group with group write permissions set only on specific files/directories? |
18:30.14 | *** join/#tomcat trone_ (~sim@host58-56-dynamic.55-79-r.retail.telecomitalia.it) |
18:32.24 | randrewj | Lzrdking: it does not matter much. if you restrict write permisison to logs/ work/ and temp/ you will be acting responsibly. |
18:36.26 | Lzrdking | ok |
18:36.28 | Lzrdking | thanks |
18:47.39 | jasonb | It ends up depending on how secure you need your server to be.. and how much time you have to debug problems that are caused by the removal of privileges. |
18:48.23 | jasonb | Usually, people don't need their servers to be all that secure.. though Tomcat itself is quite secure. Your webapps are likely to be a lot less secure. |
18:49.43 | jasonb | The secure file permission scheme is: Tomcat's tree is mainly read-only by the user running the JVM, and then there are a certain set of directories like randrewj mentioned that the webapp and/or Tomcat has to be able to write to. |
18:50.25 | jasonb | Additional dirs it may need to write to: conf/Catalina/ and everything inside it, webapps/ and everything inside it.. |
19:19.56 | Lzrdking | jasonb: thanks! |
19:20.16 | jasonb | Lzrdking: You're welcome. |
19:29.59 | *** join/#tomcat odin_ (~dlm@93-97-168-38.zone5.bethere.co.uk) |
19:45.25 | *** part/#tomcat randrewj (~raj-user@user-160uu4k.cable.mindspring.com) |
19:47.34 | *** join/#tomcat pucko (~andreas@h19n2fls304o253.telia.com) |
19:50.56 | *** join/#tomcat k0rupted (~k0rupted@ip68-110-92-230.ph.ph.cox.net) |
19:52.36 | k0rupted | tomcat 5.5.23 ... centos 5.4 ... java-1.6.0 ... I'm trying to figure out how to change the appBase dir from /var/tomcat ? I keep seeing this tell me I can do it in server.xml, but can't find how? |
19:53.35 | *** join/#tomcat acidjnk (acid@pD950A0B4.dip0.t-ipconnect.de) |
19:58.38 | jamesgolick | hey - I'm getting java.lang.ClassCircularityErrors on code that runs fine outside of tomcat... jdk 1.6 everywhere |
20:04.24 | k0rupted | by chaning the symlink in /usr/share/tomcat5/webapps -> /www/tomcat5/webapps is that sufficient/best practice? |
20:04.28 | k0rupted | changing* |
20:06.42 | jasonb | k0rupted: It might work, but that's not the way you should do it. In your server.xml, edit the <Host> element's appBase attribute and set it to any absolute filesystem path you want. |
20:17.04 | k0rupted | ah ok, thanks jasonb |
20:19.17 | jasonb | k0rupted: You're welcome. |
20:21.32 | k0rupted | I change it, and I put my .war file in there, I installed JRE 1.6 from sun, and that shows as the current java version java version "1.6.0" ... but I get "WARNING: Failed to register in JMX: javax.naming.NamingException: Could not create resource factory instance [Root exception is java.lang.ClassNotFoundException: org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory]" |
20:21.39 | k0rupted | That server config or sound like something with the app? |
20:27.57 | k0rupted | oh... in the new appBase dir create the symlinks for, common,config, etc? |
20:30.44 | jasonb | appBase = the webapps/ directory |
21:16.21 | Lzrdking | upgrade java first, then tomcat, or tomcat first, then java? |
21:19.36 | *** join/#tomcat Lzrdking (~41a04302@gateway/web/freenode/x-oiydzvhpdcwckxaj) |
21:20.47 | Lzrdking | grr |
21:37.27 | medthomas | Tomcat what to what? Java what to what? |
21:41.57 | *** join/#tomcat medthomas (~chatzilla@91.109.179.178) |
21:42.05 | *** join/#tomcat medthomas (~chatzilla@apache/committer/markt) |
21:43.00 | *** join/#tomcat dogmeat (~Bob@unaffiliated/dogmeat) |
21:46.15 | *** join/#tomcat cortiz (~cortiz@201.191.189.22) |
21:58.27 | *** join/#tomcat ibot (ibot@rikers.org) |
21:58.27 | *** topic/#tomcat is Stable versions: 6.0.24 , 5.5.28, 4.1.40. Newbies use the official binary from tomcat.apache.org, or an RPM package from http://www.webdroid.org/archives/tomcat-package. Check your Tomcat logs before you ask for an answer. SLOW MOTION CHANNEL (we all have jobs & kids): Ask your question including your TC, Java, & OS versions, then wait; check back often for answers.. Use mod_proxy_ajp, |
22:04.31 | *** part/#tomcat cortiz (~cortiz@201.191.189.22) |
23:07.33 | *** join/#tomcat MHSL (mhsl@cm5.eta6.maxonline.com.sg) |
23:42.54 | none | why is class loader doc show common when there's no common in tomcat6 install, should it be lib? |
23:44.41 | jasonb | none: There is no common directory, but there is still a common classloader. Have a look at the conf/catalina.properties file. It's in there. |
23:45.04 | none | right, i just notice in catalina.properities |
23:46.42 | none | should i put jar file that use by all instance in lib or should i put jar file in each webapp lib? |
23:48.48 | none | i meant class file |
23:49.08 | jasonb | none: It's really up to you, based on what you're trying to do with your webapps. If you want the webapps to be individually portable to other servlet containers, put the jar in WEB-INF/lib. If you want to reduce your disk footprint and you always want these webapps to be deployed together, you can put the jar or class file in CATALINA_HOME/lib. |
23:51.34 | none | what about per instance lib directory? |
23:53.44 | none | like CATALINA_BASE/lib? |
23:54.37 | medthomas | none: Put the JAR in WEB-INF lib unless you have to put it in lib (eg JDBC driver when pooling). Disk and memory is cheap and shared libs are nearly always more trouble than they save. |
23:55.00 | medthomas | none: Newer version of Tomcat 6 will support CATALINA_BASE/lib. I think from 6.0.24 onwards |
23:55.38 | none | ok, thanks |