00:53.29 | *** join/#tomcat benn_d (n=benn_d@c-67-176-147-20.hsd1.in.comcast.net) |
00:54.36 | *** join/#tomcat benn_d (n=benn_d@c-67-176-147-20.hsd1.in.comcast.net) |
02:07.08 | *** join/#tomcat karstensrage (n=karstens@c-71-202-243-186.hsd1.ca.comcast.net) |
02:14.22 | *** join/#tomcat km (n=km@adsl-99-159-47-200.dsl.pltn13.sbcglobal.net) |
02:44.36 | *** join/#tomcat Afterlawl (n=x@5adbc0dd.bb.sky.com) |
02:47.26 | *** join/#tomcat benn_d (n=benn_d@c-67-176-147-20.hsd1.in.comcast.net) |
03:19.39 | *** join/#tomcat Guest39788 (n=nf@123-243-184-161.static.tpgi.com.au) |
03:33.17 | *** join/#tomcat Jivedue2 (n=Jon@S0106001ee5028a11.ed.shawcable.net) |
03:46.43 | *** join/#tomcat r0bby (n=wakawaka@guifications/user/r0bby) |
03:55.13 | *** join/#tomcat tess_ (n=tess@c-76-21-110-252.hsd1.ca.comcast.net) |
04:55.04 | *** join/#tomcat Alagar (n=helpdesk@pool-173-55-245-237.lsanca.fios.verizon.net) |
05:03.11 | *** join/#tomcat barkbarkmeow (n=barkbark@115.184.113.232) |
05:16.56 | *** join/#tomcat l3v0n (n=l3v0n@p54BD3799.dip.t-dialin.net) |
05:35.57 | *** join/#tomcat shashi (n=shashi@122.181.1.158) |
05:39.20 | *** join/#tomcat bhagat (n=bhagat@203.129.255.188) |
05:54.56 | *** join/#tomcat km (n=km@adsl-99-159-47-200.dsl.pltn13.sbcglobal.net) |
06:10.16 | *** join/#tomcat e2dot718 (n=e@76.89.144.102) |
06:13.02 | *** join/#tomcat tess (n=tess@c-76-21-110-252.hsd1.ca.comcast.net) |
06:22.03 | *** join/#tomcat DXist (i=ejabberd@jabbus.org) |
06:34.31 | DXist | hi! tomcat5-5.5.27, java version "1.5.0_17", ALT Linux 5.0.0 Office Server Prototype. I got "java.lang.ClassNotFoundException: org.apache.catalina.startup.Catalina" in catalina.out while was trying ot run tomcat. What should I check first? |
07:32.01 | *** join/#tomcat barkbarkmeow (n=barkbark@115.184.113.232) |
07:47.53 | *** join/#tomcat RedShift (n=glenn@d51A5124D.access.telenet.be) |
07:51.01 | *** join/#tomcat kjkoster5489 (n=kjkoster@233-250-103-145.static.glaslokaal.nl) |
07:58.31 | *** join/#tomcat tstm (i=tstm@softcon.fi) |
07:59.03 | tstm | Anyone here awake to help with a small little issue with logging in tomcat?-) (on a debian machine) |
08:00.00 | tstm | What I'd like to know is: How can I set the log file default permissions (umask), so that the tomcat default logger gives logfiles group rw privileges? |
08:00.50 | tstm | (Tomcat 5.5.26) |
08:53.31 | *** join/#tomcat NickDeNeger (n=none@koppel-12.sshunet.nl) |
09:11.29 | *** join/#tomcat qwertyjustin (n=justin@124-171-156-113.dyn.iinet.net.au) |
09:11.47 | qwertyjustin | hey guys |
09:11.54 | kjkoster5489 | hi |
09:12.37 | qwertyjustin | im so stuck with setting up the tomcat java server, as opposed to lamp on ubuntu 9.04 |
09:12.47 | qwertyjustin | its all installed via syanptic |
09:12.57 | qwertyjustin | but where to next, point me in the right direction? |
09:14.20 | *** join/#tomcat qwertyjustin (n=justin@124-171-156-113.dyn.iinet.net.au) |
09:14.32 | qwertyjustin | so yeah |
09:14.42 | qwertyjustin | sorry dc'd |
09:15.21 | qwertyjustin | any direction for me guys? |
09:18.26 | kjkoster5489 | Don't use the repackaged tomcats unless you know Tomcat really well. |
09:18.56 | kjkoster5489 | Just download zip from tomcat.apache.org; unzip zip; cd tomcat*/bin; chmod 755 *.sh; ./startup.sh |
09:19.39 | *** join/#tomcat bhushanvmishra (n=bhushanv@202.46.197.70) |
09:19.49 | *** part/#tomcat bhushanvmishra (n=bhushanv@202.46.197.70) |
09:45.14 | *** join/#tomcat danstefan (i=c2b06923@gateway/web/freenode/x-asbyswhyspsbnsdi) |
10:04.26 | *** part/#tomcat DXist (i=ejabberd@jabbus.org) |
10:26.27 | *** join/#tomcat brakkvatn (n=alex@084202087059.customer.alfanett.no) |
10:29.28 | *** join/#tomcat narendra (n=nsisodiy@122.160.115.73) |
10:33.09 | *** join/#tomcat magentar (n=magentar@ip-94-79-156-100.unitymediagroup.de) |
10:43.01 | *** join/#tomcat kapipi_ (n=chatzill@94.145.8.114) |
10:45.18 | *** part/#tomcat kapipi_ (n=chatzill@94.145.8.114) |
11:12.44 | *** join/#tomcat kjkoster5489 (n=kjkoster@233-250-103-145.static.glaslokaal.nl) |
11:17.40 | *** part/#tomcat brakkvatn (n=alex@084202087059.customer.alfanett.no) |
11:33.19 | *** join/#tomcat dvayanu (n=another@e178018048.adsl.alicedsl.de) |
12:05.49 | *** join/#tomcat al (i=d@niel.cx) |
12:26.30 | *** join/#tomcat kjkoster5489 (n=kjkoster@233-250-103-145.static.glaslokaal.nl) |
13:22.50 | *** join/#tomcat [twisti] (n=fuckyou@dynamic-unidsl-85-197-16-165.westend.de) |
13:23.03 | [twisti] | hi, im having trouble understanding how to deplay a war file |
13:23.22 | [twisti] | the war file i made contains my compiled classes |
13:23.36 | [twisti] | and a web.xml in WEB-INF |
13:24.08 | [twisti] | the web.xml contains mappings such as <url-pattern>/top10.lol</url-pattern> |
13:24.14 | *** join/#tomcat barkbarkmeow (n=barkbark@115.184.119.252) |
13:24.34 | [twisti] | i deployed it with the tomcat manager and it didnt complain, but when i try to go to ip/top10.lol, i get a 4o4 (from tomcat) |
13:25.56 | [twisti] | ideas ? |
13:26.01 | [twisti] | no error messages or anything |
13:40.24 | *** join/#tomcat dvayanu (n=another@p54BECDCF.dip.t-dialin.net) |
13:40.36 | kjkoster5489 | any errors in ${tomcat}/logs/catalina.out? |
13:40.51 | kjkoster5489 | You should see thewar being deployed in that log file too. |
13:42.25 | [twisti] | i figured it out, it was mapped to the wrong place/i was expecting it somewhere else |
13:42.42 | kjkoster5489 | Ok, good. |
13:43.23 | [twisti] | is there any way to remove the war file name in the url ? like the one i pasted, i want that at hostname/top10, not hostname/warfilename/top10 |
13:55.38 | tstm | Anyone here happen to know where I could set default permissions to tomcat log files? |
13:56.19 | tstm | By default, debian tomcat seems to give 0600 permissions to logs, and I want to have group read access (0640). |
13:57.57 | *** join/#tomcat azlev (n=ze@200.234.206.72) |
13:59.31 | kjkoster5489 | tstm: man chmod |
13:59.37 | kjkoster5489 | man umask |
13:59.44 | kjkoster5489 | check the start script for umask |
14:00.29 | tstm | kjkoster5489: I know chmod, of course I can chmod the logfiles after their creation. But I want tomcat to create the files with the right umask. |
14:00.43 | tstm | And I already added umask to the startup script with no effect. |
14:03.38 | tstm | There's nothing in logging.properties I could set? |
14:03.56 | kjkoster5489 | no |
14:04.02 | kjkoster5489 | it's a UNIX issue |
14:04.09 | tstm | Pfft. =/ |
14:06.36 | tstm | Hm, it might have something to do with jsvc maybe ignoring the umask.. |
14:12.20 | tstm | And all other files created by tomcat are fine. |
14:12.31 | tstm | It's just the log files that don't have correct permissions. |
14:20.03 | *** join/#tomcat jasonb (n=jasonb@adsl-66-124-73-250.dsl.sntc01.pacbell.net) |
15:34.33 | *** join/#tomcat yairgo (n=yairgo@nat.asynchrony.com) |
15:36.08 | *** join/#tomcat nainaide (n=nainaide@221.219.102.105) |
15:38.22 | nainaide | help! please, I am confuse on server.xml format, lots of wrote about add <Server port="XXXX" shutdown="_SHUTDOWN_COMMAND_" debug="0">, but my question is : Is there only one pair of <server> </server> in server.xml or as many as instance ? thanks |
15:41.34 | nainaide | help! please, I am confuse on server.xml format, lots of people wrote about add <Server port="XXXX" shutdown="_SHUTDOWN_COMMAND_" debug="0">, but my question is : Is there only one pair of <server> </server> in server.xml or as many as instance ? thanks |
15:56.45 | *** join/#tomcat jasonb (n=jasonb@m6c0e36d0.tmodns.net) |
16:12.52 | *** part/#tomcat Alagar (n=helpdesk@pool-173-55-245-237.lsanca.fios.verizon.net) |
16:13.23 | *** join/#tomcat loddafnir (n=mike@193.53.80.81) |
16:15.43 | *** join/#tomcat [twistii] (n=fuckyou@dynamic-unidsl-85-197-22-85.westend.de) |
16:22.19 | *** join/#tomcat e2dot718 (n=e@76.89.144.102) |
16:47.25 | *** join/#tomcat RedShift (n=glenn@d51A5124D.access.telenet.be) |
17:02.15 | *** join/#tomcat Dantix (n=Administ@mailer.witcel.com.ar) |
17:06.52 | Dantix | hi all, my tomcat is saying at Manager's Server Status tab, Max memory: 63.56Mb. I've read the solution is add the parameters -XX:MaxPermSize=1024m |
17:06.52 | Dantix | -XX:PermSize=512m |
17:06.52 | Dantix | at Java Options of my tocat6w, but that dows not works for me... what could be the solution? |
17:11.17 | Dantix | I'm using Tomcat 6.0.20 on JRE 1.6 and windows 2003 server |
17:15.22 | *** join/#tomcat jasonb (n=jasonb@dsl027-180-244.sfo1.dsl.speakeasy.net) |
17:24.05 | *** join/#tomcat BarryNL (n=goltharn@82-95-227-51.xs4all.nl) |
17:35.11 | *** part/#tomcat Dantix (n=Administ@mailer.witcel.com.ar) |
17:42.10 | *** join/#tomcat VaNNi_ (n=VaNNi___@38.98.61.142) |
17:46.30 | *** join/#tomcat e2dot718 (n=e@rrcs-74-62-249-50.west.biz.rr.com) |
17:49.02 | *** join/#tomcat jasonb (n=jasonb@dsl027-180-244.sfo1.dsl.speakeasy.net) |
18:05.29 | *** join/#tomcat vinse (n=vinse_@208.253.223.146) |
18:05.44 | *** join/#tomcat jasonb (n=jasonb@dsl027-180-244.sfo1.dsl.speakeasy.net) |
18:16.04 | km | is there way to run tomcat on port 80 as regular user? |
18:20.06 | jasonb | km: Yes. |
18:20.39 | km | how/where can i find the info? |
18:21.09 | km | i was told there are 3 opts available |
18:23.41 | jasonb | km: Because I joined the channel just some minutes ago, it seems I didn't get your software versions information. |
18:24.18 | km | tomcat6 on solaris sparc |
18:35.52 | jasonb | The best way is to run Tomcat as any user you want, configured to open on port 8080, and then use a network tool to remap port 80 to port 8080. |
18:36.20 | jasonb | On Solaris, there is a netfilter tool you can use for that (sorry, I can't give you details). |
18:44.41 | *** join/#tomcat clajo04_ (n=clajo04_@cpe-24-193-72-7.nyc.res.rr.com) |
18:44.43 | [twisti] | is it possible to map a .war file to a root location ? as in, i have <url-pattern>/test</url-pattern>, but when i deplay it, it appears as host/warfilename/test instead of host/test |
18:48.46 | km | why would that be the best way? |
18:49.53 | km | what about these options: |
18:49.57 | km | http://wrapper.tanukisoftware.org/doc/english/download.jsp |
18:50.16 | km | http://kl93.blogspot.com/2007/05/tomcat-how-to-run-stand-alone-on-port.html |
18:50.42 | km | http://yajsw.sourceforge.net/#mozTocId284533 |
19:16.40 | *** join/#tomcat da_krowa (i=Miranda@chello087207037180.chello.pl) |
19:18.56 | *** join/#tomcat benn_d (n=benn_d@c-67-176-147-20.hsd1.in.comcast.net) |
19:45.00 | *** join/#tomcat e2dot718 (n=e@65.255.211.130) |
19:49.47 | *** join/#tomcat lkthomas (i=lkthomas@218.213.78.173) [NETSPLIT VICTIM] |
19:50.50 | *** join/#tomcat odin_ (n=dlm@host81-154-235-222.range81-154.btcentralplus.com) [NETSPLIT VICTIM] |
20:08.34 | jasonb | km: I do not suggest service wrappers. There are more than a couple, and they could work, but after having some experience with them I won't suggest any of them to you. |
20:10.37 | *** join/#tomcat tstm_ (i=tstm@softcon.fi) |
20:22.06 | *** join/#tomcat piaz (n=chatzill@bus77-2-82-244-150-94.fbx.proxad.net) |
20:22.28 | piaz | hi |
20:54.05 | *** join/#tomcat user01 (n=user01@91-64-207-27-dynip.superkabel.de) |
21:11.16 | [twisti] | is there any way to update an app with the tomcat manager ? |
21:11.32 | [twisti] | i uploaded a new version, tried stopping, starting, restarting, redeploying |
21:11.37 | [twisti] | nothing seems to make any difference |
21:32.04 | km | jasonb: why? what kind of experience? |
21:34.47 | km | in setting a cluster/session replication with 3 nodes. the only membership address need to be unquie in all 3 node server.xml files? |
21:36.05 | Thijssss | you don't need to define 'm at all ? |
21:36.28 | Thijssss | they'll figure it out through shouting over the multicast to each other |
21:37.17 | Thijssss | just make sure you set your webapps/site/WEB-INF/web.xml to include <distributable/> or it won't work at all |
21:38.09 | [twisti] | ok, i have a really dumb question. i use eclipse for JEE and have a tomcat servlet project. when i start the eclipse tomcat server, i would like it to host a few things that are NOT part of the project (images and such). is there a way to do that ? the only way i found to get stuff on the eclipse tomcat is by adding it to the project |
21:41.24 | km | should i change the membershipt address=, port=, frequency=,droptime= to multicast mcastaddr=,mcastport,mcastfrequency=,mcastdropttime= ? |
21:41.54 | Thijssss | km: won't the default settings just work? |
21:42.14 | km | no |
21:42.17 | Thijssss | why not ? |
21:42.23 | km | hangon |
21:43.01 | Thijssss | all you need to set in the server.xml is : <Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster"/> |
21:44.16 | km | Session is not getting replicated across all nodes using apache 6.0.14 |
21:45.15 | Thijssss | did you set the WEB-INF/web.xml to contain <distributable/> ? |
21:45.26 | km | <Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster" |
21:45.26 | km | <PROTECTED> |
21:45.33 | km | yes |
21:45.47 | Thijssss | they openend up TCP connections to each other? |
21:46.02 | Thijssss | the catalina.out shows they are talking over multicast about connecting to each other? |
21:46.36 | Thijssss | all I set in the web.xml is: |
21:46.37 | Thijssss | <?xml version="1.0" encoding="ISO-8859-1"?> |
21:46.37 | Thijssss | <web-app> |
21:46.37 | Thijssss | <distributable/> |
21:46.37 | Thijssss | </web-app> |
21:46.51 | *** join/#tomcat barkbarkmeow (n=barkbark@115.184.102.201) |
21:46.59 | Thijssss | that's not in the /conf/web.xml but the in the /webapps/site/WEB-INF/web.xml |
21:47.16 | km | and the mcastaddress need to be unque on all nodes right |
21:47.27 | km | let me check web.xml |
21:47.34 | Thijssss | no |
21:47.37 | Thijssss | it's one multicast address |
21:48.12 | Thijssss | netstat -n should show TCP connectings like: |
21:48.13 | Thijssss | tcp6 0 0 10.2.16.8:4000 10.2.16.13:50593 ESTABLISHED |
21:48.14 | Thijssss | tcp6 0 0 10.2.16.8:56213 10.2.16.13:4000 ESTABLISHED |
21:48.14 | Thijssss | tcp6 0 0 10.2.16.8:43153 10.2.16.15:4000 ESTABLISHED |
21:48.14 | Thijssss | tcp6 0 0 10.2.16.8:4000 10.2.16.10:35661 ESTABLISHED |
21:48.43 | km | you mean all the membership address in server.xml files need to be the same? |
21:48.59 | Thijssss | multicast just uses one address |
21:49.14 | Thijssss | it's like broadcast but not confined to one subnet |
21:49.34 | Thijssss | and there are several 'channels'.. they should listen to the same multicast 'channel' |
21:50.39 | km | i am talking about this address in this line <Membership className="org.apache.catalina.tribes.membership.McastService" |
21:50.39 | km | <PROTECTED> |
21:50.39 | km | <PROTECTED> |
21:50.41 | Thijssss | do you have any firewalling? are they on the same subnet? |
21:50.48 | Thijssss | that's not a multicast address |
21:50.58 | Thijssss | it should be like 228.0.0.4 |
21:51.06 | Thijssss | perhaps that's your issue ;p |
21:51.07 | km | <PROTECTED> |
21:51.10 | km | yes |
21:51.42 | Thijssss | fire up a tomcat and tail -f it's catalina.out .. should show lines like: |
21:51.43 | Thijssss | Aug 27, 2009 12:27:51 PM org.apache.catalina.ha.tcp.SimpleTcpCluster memberAdded |
21:51.43 | Thijssss | INFO: Replication member added:org.apache.catalina.tribes.membership.MemberImpl[tcp://{10, 2, 16, 15}:4000,{10, 2, 16, 15},4000, alive=190555,id={-119 47 -105 -36 -76 -83 71 16 -118 -22 -87 -75 -107 14 -76 -89 }, payload={}, command={}, domain={}, ] |
21:51.43 | km | does this address need to be the same in all 3 node server.xml files? |
21:51.48 | Thijssss | yes |
21:52.26 | km | i have different address in all 3 server.xml file, is that a problem? |
21:52.50 | Thijssss | then they won't be able to talk to each other to initiate the clustering |
21:53.03 | km | got .4, .5,.6,.7 |
21:53.08 | Thijssss | just put 'm all on .4 |
21:53.31 | km | is that why it didn't replicate the session? |
21:54.07 | Thijssss | it replicates sessions using TCP connections to port 4000 or 4001 ; but they use the 224.0.0.4 multicast address to find each other |
21:54.16 | Thijssss | 1. multicast around |
21:54.19 | Thijssss | 2. see each other |
21:54.28 | Thijssss | 3. initiate TCP connections |
21:54.36 | Thijssss | 4. share session information through TCP connection |
21:55.00 | km | is "address=" is is ok, do i need to change it to" mcastaddress=" |
21:55.12 | Thijssss | you could just not set it all all |
21:55.27 | km | why |
21:55.31 | Thijssss | only set <Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster"/> |
21:55.38 | Thijssss | because all the default settings will work out just fine |
21:55.42 | km | it not require? |
21:55.46 | Thijssss | no |
21:56.01 | km | so why is that option there? |
21:56.28 | Thijssss | in case you want to specify different settings.. perhaps when you have two clusters running on the same network |
21:58.59 | km | if have the same clusters running on the same network, how should the settings look like? |
21:59.14 | Thijssss | different multicast address to use |
21:59.52 | Thijssss | nodes which need to cluster together should be on the same unique multicast address |
22:00.20 | Thijssss | perhaps there are more options to specify who belongs to what but I never had to use 'm so no idea |
22:05.51 | km | does it need sticky session? |
22:06.34 | *** join/#tomcat pitanga (n=pitanga@fsf/member/pitanga) |
22:06.44 | Thijssss | if the session is known everywhere I suppose not |
22:09.25 | km | can i tell if catalina.out show session it being replicated or not? |
22:16.45 | Thijssss | no |
22:17.01 | Thijssss | only if they found each other through the multicast |
22:17.04 | Thijssss | they should set up TCP connections, if those are established it should work |
22:17.20 | Thijssss | I got some test code for an index.jsp to show a session id if you want |
22:17.32 | km | sure |
22:21.56 | km | btw, we follow this instruction here: http://tomcat.apache.org/tomcat-6.0-doc/cluster-howto.html |
22:23.39 | Thijssss | http://codepad.org/9gjpUCcb |
22:23.45 | Thijssss | just throw that in an index.jsp |
22:25.23 | km | thanks |
22:26.30 | km | <distributable/> need to be setup in all 3 nodes conf/web.xml files, right? |
22:27.27 | km | i see in webapp |
22:27.31 | km | not conf |
22:29.10 | Thijssss | yes |
22:29.17 | Thijssss | err |
22:29.20 | Thijssss | not in conf/web.xml |
22:29.26 | Thijssss | in your webapp/web-inf/web.xml |
22:29.32 | Thijssss | as I showed earlier |
22:30.02 | Thijssss | but first just start up two tomcats and see if the catalina.out shows they are talking to each other through multicast |
22:35.48 | km | i going set 2 nodes cluster/session rep in a test env. can generalize what need to complish this test setup? |
22:36.09 | km | so i got two tomcat6 instances running |
22:37.34 | Thijssss | are you using linux btw or windows? |
22:37.42 | km | linux |
22:37.49 | Thijssss | ah ok ok :) |
22:37.51 | Thijssss | so anyway |
22:37.56 | km | on vbox |
22:38.05 | Thijssss | they should have a connection to each other on port 4000 or 4001 .. somwhere there |
22:38.07 | Thijssss | look at netstat -n |
22:38.24 | km | the http port? |
22:38.50 | Thijssss | well they would both listen on 80 yes |
22:38.55 | Thijssss | but for clustering they use 4000 |
22:38.58 | Thijssss | or 4001 |
22:39.03 | Thijssss | somewhere around 400* |
22:40.39 | km | are you talking about this? <Receiver className="org.apache.catalina.tribes.transport.nio.NioReceiver" |
22:40.39 | km | <PROTECTED> |
22:40.39 | km | <PROTECTED> |
22:41.18 | Thijssss | no |
22:41.47 | Thijssss | I can login to the system to take a look at the config if you would allow me to |
22:42.37 | km | i dont' have it setup for remote access |
22:42.51 | Thijssss | what i meant was , if you have the two tomcats running |
22:42.56 | Thijssss | at the shell, type 'netstat -n' |
22:43.02 | Thijssss | and see what connections are made |
22:43.07 | Thijssss | they should have a connection to each other |
22:43.13 | km | ok, hangon |
22:44.07 | Thijssss | and check using 'netstat -vnepl' to see if it is listening on port 4000 or 4001 for incoming connections |
22:44.17 | *** join/#tomcat pitanga (n=pitanga@fsf/member/pitanga) |
22:51.06 | km | <PROTECTED> |
22:51.25 | km | are you talking about this? <Receiver className="org.apache.catalina.tribes.transport.nio.NioReceiver" port="4000".... |
22:51.43 | km | does the port need to be the same on all server.xml files? |
22:52.33 | Thijssss | I don't remember setting or changing that |
22:52.45 | Thijssss | and no, I was talking about the systems network connectings |
22:52.53 | Thijssss | not about something in an xml file |
22:59.39 | km | netstat -n show tcp6 :4000 LISTEN |
22:59.45 | *** part/#tomcat [twisti] (n=fuckyou@dynamic-unidsl-85-197-22-85.westend.de) |
23:01.04 | Thijssss | ah good |
23:01.42 | Thijssss | tho the 'netstat -n' won't show LISTEN so I guess you meant the 'netstat -vnepl' |
23:01.50 | Thijssss | or atleast with the -l flag |
23:02.19 | Thijssss | does catalina.out say the two found each other? |
23:03.00 | Thijssss | something like INFO: Replication member added:org.apache.catalina.tribes.membership.MemberImpl[tcp://{10, 2, 16, 15}:4000, |
23:03.21 | km | hangon. does multicast need to be the same on all server.xml files: <Membership className="org.apache.catalina.tribes.membership.McastService" |
23:03.21 | km | <PROTECTED> |
23:03.21 | km | <PROTECTED> |
23:03.40 | Thijssss | yes |
23:04.25 | Thijssss | tho same address |
23:04.29 | Thijssss | i'm not 100% sure on the port |
23:04.39 | Thijssss | would make sense to me if it was |
23:07.14 | km | ok. idon't see catalina.out file |
23:10.40 | Thijssss | should be in your tomcat dir /logs |
23:11.14 | km | i don't see it there, let check again. |
23:11.32 | Thijssss | should be there with the very default config |
23:12.18 | Thijssss | its not even defined anywhere, should just always be there |
23:12.25 | Thijssss | perhaps in your case it ended up somewhere in /var/log |
23:12.29 | Thijssss | or /var/log/tomcat |
23:19.43 | Thijssss | found it yet? |
23:21.17 | *** join/#tomcat ruaok (n=robert@adsl-75-15-140-0.dsl.snlo01.sbcglobal.net) |
23:25.43 | ruaok | Hello, I've got a question for you all. First off: tomcat: 6.0.18, java version "1.6.0_0" / OpenJDK Runtime Environment (IcedTea6 1.4.1) (6b14-1.4.1-0ubuntu11), Ubuntu 9.04 |
23:25.57 | km | yes, it was in catalina.`date`.log |
23:26.13 | km | i see member info what do i need to look for |
23:26.14 | ruaok | I've got a webapp I'm trying to deploy using the stock ubuntu tomcat6. |
23:26.37 | ruaok | when installing from source everything works great. |
23:26.47 | Thijssss | km: "Replication member added" |
23:26.51 | ruaok | but I can't get it to work under ubuntu's tomcat. |
23:27.11 | ruaok | http://musicbrainz.homeip.net:8080/ws/1/artist/?query=%22fred%22&fmt=html |
23:27.40 | Thijssss | ruaok: sorry I can't help you on that one |
23:27.49 | km | it try to add but it failed |
23:28.05 | ruaok | it can't find the lucene jar that we have installed into WEB_INF/lib |
23:28.12 | Thijssss | km: what does it say? |
23:28.13 | ruaok | Thijssss: know anyone who can? |
23:28.15 | km | it said memberdisappered |
23:28.52 | Thijssss | km: can you paste that part of the log to http://codepad.org and hand me the url to view it? |
23:29.16 | *** join/#tomcat ijabz_ (n=paul@217.155.98.246) |
23:29.38 | Thijssss | ruaok : nope, I only just joined here yesterday |
23:29.48 | ruaok | ah. |
23:29.50 | km | catalina log on the second node said conector.connector stop |
23:29.59 | km | i try to restart it again |
23:32.22 | km | node2 - serve: coyote connect has not been started |
23:32.36 | km | in catailna log |
23:32.43 | Thijssss | km: I have never seen that error before.. no idea, sorry .. try google |
23:33.22 | km | i use the same server.xml in both nodes |
23:33.52 | km | would that be a problem |
23:34.00 | Thijssss | could be |
23:34.05 | Thijssss | depends on the depth of the configuration |
23:34.27 | km | what need to be different in the settings |
23:34.33 | Thijssss | I don't know |
23:34.41 | Thijssss | mine are the same but you seem to have configured a lot more |
23:34.43 | *** part/#tomcat ruaok (n=robert@adsl-75-15-140-0.dsl.snlo01.sbcglobal.net) |
23:38.01 | km | are you using 5.5 or 6 |
23:38.12 | Thijssss | 6.0.20 |
23:39.03 | km | can see your server.xml? |
23:40.01 | km | assume i get pass this issue, what is the next steps |
23:40.25 | km | or is that all with the setup |
23:41.26 | Thijssss | I only have added one thing to my server.xml, that's the simpletcpcluster line I showed earlier and which is mentioned on that clustering help page |
23:43.30 | km | ok |
23:44.45 | km | thanks for helping out, i'll try resetup the test all over again later. |
23:45.02 | Thijssss | heh |
23:45.11 | Thijssss | if you grant me remote access later I can help you out a lot better |
23:45.16 | Thijssss | but that would be next week |
23:45.22 | Thijssss | i'm quite busy with a monday deadline -_- |
23:45.41 | Thijssss | has 14 tomcat servers in that project -_- ;p |
23:47.11 | km | i see. i see if i can setup the remote access. |
23:48.59 | km | iam kinda tire having been on the computer for 8 hours now. |
23:49.12 | Thijssss | just 8? |
23:49.18 | Thijssss | lost count |
23:49.23 | Thijssss | and it's almost 2 am for me .. bah |
23:49.37 | Thijssss | tho i'm not busy on tomcat |
23:49.38 | km | how have you been on it |
23:49.48 | Thijssss | is battleing IPv6, failover and loadbalancing |
23:51.37 | *** join/#tomcat anoopb (n=chatzill@38.106.143.248) |
23:51.43 | km | 2am is bed time. my bed is about 12am |
23:52.08 | km | i guess you don't have to wakeup early |
23:52.49 | Thijssss | well |
23:52.52 | Thijssss | I don't have to |
23:52.57 | Thijssss | I usually do start at 10 |
23:52.59 | Thijssss | till like 6 |
23:53.12 | Thijssss | at times like these I pull the late hours to make the deadlines and fix stuff |
23:53.17 | Thijssss | they won't mind if I start later |
23:53.28 | Thijssss | but I will start early because there is shitloads of work left to do |
23:53.34 | km | i see, that's good. |
23:53.39 | Thijssss | still need to check and make someone double check 40 servers -_- |
23:53.54 | Thijssss | sweeeeet |
23:54.01 | Thijssss | I got the ipv6 working again |
23:54.23 | Thijssss | now to write some code for checking the webservers, ldirectord does not support that on ipv6 itself -_- |
23:54.29 | Thijssss | i'll talk to you later km :) |
23:54.31 | km | you are usingg ipv6 on what |
23:54.34 | Thijssss | idles |
23:54.35 | km | later |
23:54.38 | Thijssss | on servers of course |
23:54.41 | Thijssss | ipv6 is cool :) |
23:54.45 | Thijssss | got in on the desktops as well |
23:54.49 | Thijssss | clients request it as well |
23:55.10 | km | you are the first i know that is using ipv6 |