01:07.18 | *** join/#tomcat wsp4th (n=wperry@adsl-074-167-057-025.sip.jan.bellsouth.net) |
01:37.22 | *** join/#tomcat NickDeNeger (n=none@koppel-12.sshunet.nl) |
02:34.30 | *** join/#tomcat i3lack0p (n=wperry@adsl-074-167-057-025.sip.jan.bellsouth.net) |
02:35.18 | *** join/#tomcat majikman (n=Adam@mail.dohring.com) |
02:51.08 | *** join/#tomcat karstensrage (n=karstens@c-71-202-243-186.hsd1.ca.comcast.net) |
02:57.35 | *** join/#tomcat NickDeNeger (n=none@koppel-12.sshunet.nl) |
03:12.46 | *** join/#tomcat dvayanu (n=another@ppp-88-217-57-245.dynamic.mnet-online.de) |
03:15.41 | *** join/#tomcat km (n=unknown@adsl-75-36-216-251.dsl.pltn13.sbcglobal.net) |
04:04.27 | *** join/#tomcat wsp4th (n=wperry@adsl-074-167-057-025.sip.jan.bellsouth.net) |
04:39.55 | *** join/#tomcat km (n=unknown@adsl-75-55-215-11.dsl.pltn13.sbcglobal.net) |
05:30.02 | *** join/#tomcat shashi_ (n=shashi@122.181.1.158) |
05:54.16 | *** join/#tomcat Theravadan (n=username@ip98-185-224-13.sb.sd.cox.net) |
06:10.03 | *** join/#tomcat mturk (n=mturk@nat/redhat/x-310200bd55c1a9a4) |
06:31.59 | *** join/#tomcat tijn (n=tijn@rev-84.64.222.77.virtu.nl) |
06:37.54 | *** join/#tomcat bhagat (n=bhagat@203.129.255.188) |
07:15.50 | *** join/#tomcat kjkoster5489 (n=kjkoster@233-250-103-145.static.glaslokaal.nl) |
07:46.28 | *** join/#tomcat acarbs12 (n=acarbone@173-9-89-1-NewEngland.hfc.comcastbusiness.net) |
07:58.47 | *** join/#tomcat Vanuatoo (n=Vanuatoo@92.54.192.70) |
08:02.46 | *** join/#tomcat tijn (n=tijn@rev-84.64.222.77.virtu.nl) [NETSPLIT VICTIM] |
08:02.46 | *** join/#tomcat smonte (n=smonte@vipunen.hut.fi) [NETSPLIT VICTIM] |
08:02.47 | *** join/#tomcat pucko (n=andreas@h19n2fls304o253.telia.com) [NETSPLIT VICTIM] |
08:05.29 | *** join/#tomcat Vanuatoo (n=Vanuatoo@92.54.192.70) |
09:21.03 | *** join/#tomcat magentar (n=magentar@ip-94-79-137-93.unitymediagroup.de) |
09:24.07 | *** join/#tomcat al (i=d@niel.cx) |
09:48.13 | *** join/#tomcat BW^- (n=Miranda@89.123.93.69) |
09:48.21 | BW^- | is there any way that i can get an event into my java app that /etc/init.d/tomcat5.5 stop has been launched ? |
09:49.42 | kjkoster5489 | read up on context listyeners. |
10:17.52 | BW^- | aha superocol! |
10:18.35 | BW^- | how is the contextDestroyed() executed - can i do any de-initiatlization/closing stuff in it, so it takes some seconds? i suppose it is executed in a thread separate of any servlet request's thread there is? |
10:19.10 | kjkoster5489 | I would not rely on any particular implementation. ;-) |
10:20.20 | BW^- | what do you mena? |
10:20.33 | BW^- | i'm in tomcat5.5 on debian however. |
10:24.20 | kjkoster5489 | You app should just use this mechanism to kill off background work and flush buffers, not do clever things that need a separate thread or something. |
11:03.43 | *** join/#tomcat mib_wk3bzw (i=c3d41db3@gateway/web/freenode/x-103180e17f5fbd1a) |
11:05.02 | mib_wk3bzw | Tomcat: 6.0.20 Java: jdk1.6.0_14 OS: Windows XP |
11:05.56 | mib_wk3bzw | my tomcat crashs on startup. catalina_home and java_home are set and they are correct, there is no log file |
11:06.19 | mib_wk3bzw | and i forgot: i have got the zip version |
11:06.33 | mib_wk3bzw | so i start it in command prompt with startup |
11:07.11 | mib_wk3bzw | the tomcat window appears and in the next moment it crashs |
11:08.04 | mib_wk3bzw | do you know the problem? |
11:13.52 | *** join/#tomcat Vanuatoo (n=Vanuatoo@92.54.192.70) |
11:24.05 | kjkoster5489 | mib_wk3bzw: start tomcat from a cmd box and pastebin the error. |
11:27.10 | mib_wk3bzw | Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. C:\Documents and Settings\Administrator>cd %CATALINA_HOME%\bin C:\Program Files\apache-tomcat-6.0.20\bin>echo %CATALINA_HOME% C:\Program Files\apache-tomcat-6.0.20\ C:\Program Files\apache-tomcat-6.0.20\bin>echo %JAVA_HOME% C:\Program Files\Java\jdk1.6.0_14 C:\Program Files\apache-tomcat-6.0.20\bin>startup Using CATALINA_BASE: C:\Program File |
11:28.49 | mib_wk3bzw | C:\Program Files\apache-tomcat-6.0.20\bin>echo %CATALINA_HOME% |
11:28.49 | mib_wk3bzw | C:\Program Files\apache-tomcat-6.0.20\ |
11:28.50 | mib_wk3bzw | C:\Program Files\apache-tomcat-6.0.20\bin>echo %JAVA_HOME% |
11:28.54 | mib_wk3bzw | C:\Program Files\Java\jdk1.6.0_14 |
11:28.59 | mib_wk3bzw | C:\Program Files\apache-tomcat-6.0.20\bin>startup |
11:29.10 | mib_wk3bzw | Using CATALINA_BASE: C:\Program Files\apache-tomcat-6.0.20\ |
11:29.16 | mib_wk3bzw | Using CATALINA_HOME: C:\Program Files\apache-tomcat-6.0.20\ |
11:29.20 | mib_wk3bzw | Using CATALINA_TMPDIR: C:\Program Files\apache-tomcat-6.0.20\\temp |
11:29.24 | mib_wk3bzw | Using JRE_HOME: C:\Program Files\Java\jdk1.6.0_14 |
11:29.34 | mib_wk3bzw | C:\Program Files\apache-tomcat-6.0.20\bin> |
11:29.43 | mib_wk3bzw | so thats what i do |
11:30.04 | mib_wk3bzw | and as i already said, the tomcat window apears and disapears.... |
11:33.07 | BW^- | kjkoster5489: do you mean that the handler should do shutdown work as quickly as possible? |
11:33.36 | kjkoster5489 | Yes, and don't do unnecaasry things. |
11:33.51 | kjkoster5489 | mib_sdkfjhsdkjfhsfk: do catalina.bat run isnetad of startup. |
11:34.20 | BW^- | kjkoster5489: in my case, this means, set a global variable that will make no new work in the servlet start, and then wait for all currently running work to end. |
11:34.25 | BW^- | this should fit the purpose, right? |
11:34.52 | kjkoster5489 | Why don't use an executor pool that has explicit support for this? |
11:35.12 | BW^- | what's that? |
11:36.05 | mib_wk3bzw | "catalina.bat start" makes the same thing... |
11:42.09 | mib_wk3bzw | ok i installed tomcat instead of doing the zip thing and now tomcat works |
11:44.52 | mib_wk3bzw | but by the way i've another question: in the past my tomcat ran already and i made a small jsp. in this jsp i needed some self-written classes. i compiled them with javac and put them into the classes directory, restart tomcat but it could not load my classes... did i something wrong? |
12:10.38 | mib_wk3bzw | ok i got it know. thanks for your help... bye |
12:10.52 | *** part/#tomcat mib_wk3bzw (i=c3d41db3@gateway/web/freenode/x-103180e17f5fbd1a) |
12:14.29 | *** join/#tomcat acarbs12 (n=acarbone@173-9-89-1-NewEngland.hfc.comcastbusiness.net) |
12:24.43 | *** join/#tomcat mturk (n=mturk@22-104.dsl.iskon.hr) |
12:46.46 | *** join/#tomcat randrew (n=raj@dyn-128-59-53-15.dyn.columbia.edu) |
13:03.10 | *** join/#tomcat dvayanu (n=another@92.42.225.138) |
13:05.40 | *** join/#tomcat lanjelot (n=lanjelot@192.70.106.22) |
13:07.00 | *** join/#tomcat barkbarkmeow (n=barkbark@203.199.213.3) |
13:09.16 | *** join/#tomcat Vanuatoo (n=Vanuatoo@92.54.192.70) |
13:09.28 | lanjelot | hi all (tomcat-5.5.25 java-1.6.0_14 linux-2.6) i am looking into CVE-2009-0580, i noticed that the MemoryRealm is commented out in a default conf/server.xml |
13:09.43 | lanjelot | UserDatabaseRealm is the realm configured insteand |
13:10.37 | lanjelot | is MemoryRealm fading away in favor of UserDatabaseRealm |
13:13.30 | lanjelot | any dev here? |
13:23.07 | *** join/#tomcat rubIO (i=c82a3d9b@gateway/web/freenode/x-03df4c29fed3b5df) |
13:23.10 | rubIO | hi |
13:23.23 | rubIO | If I put a new html to tomcat/webapps/ROOT |
13:23.29 | rubIO | do I need to restart tomcat? |
13:30.39 | kjkoster5489 | No. |
13:31.27 | *** join/#tomcat NickDeNeger (n=none@koppel-12.sshunet.nl) |
13:32.39 | *** join/#tomcat F|nger (n=finger@lounge.datux.nl) |
13:32.39 | F|nger | Hi all |
13:33.07 | F|nger | Can I have a single tomcat instance with multiple application (say 2) using both differetne odbc classes in the shared dir? |
13:38.43 | kjkoster5489 | You can put the ODBC stuff into the webapps and then it will work. |
13:41.13 | *** join/#tomcat loddafnir (n=mike@193.53.80.81) |
13:48.50 | F|nger | kjkoster5489: thanx, can that lead to the odbc not be available at the moment the application is starting or something ? Or won't that be an issue? |
13:49.54 | kjkoster5489 | Well, you'd have to configure the data sources not in Tomcat but in the webapp itself. |
13:50.02 | *** part/#tomcat rubIO (i=c82a3d9b@gateway/web/freenode/x-03df4c29fed3b5df) |
14:06.08 | youe | Tomcat 5.0.28, Java 1.5.0_14, Linux 2.6.18-6 |
14:06.29 | youe | Is there a way to configure multiple Connectors in a single Tomcat Service so that each Connector can access a subset of the webapps? |
14:06.38 | youe | For example: 1 HTTP and 1 AJP connector. HTTP connector can access all the webapps that the AJP connector can access, but can also access the admin/manager webapps that the AJP connector can not. |
14:06.58 | kjkoster5489 | I don't think there is. |
14:07.22 | youe | That's lame. It's risky to make separate Services for the same webapps. |
14:07.27 | kjkoster5489 | Why not use a few TOmcat instances instead? Apache can do the delegation. |
14:08.39 | youe | It's important for me to be able to test specific instances of Tomcat through the HTTP connector. |
14:08.52 | youe | If I run multiple instances of Tomcat, I lose that functionality. |
14:09.00 | kjkoster5489 | Huh? |
14:09.12 | kjkoster5489 | So you have web apps that depends on eachother? |
14:09.22 | youe | I run clusters Apaches in front of clusters of Tomcats. |
14:09.55 | youe | If I have 2 separate Tomcats, I can't look at the one with the problem if it's a separate instance. |
14:10.10 | youe | To verify the webapps are still functioning. |
14:10.16 | youe | Right? |
14:10.38 | kjkoster5489 | Well, unless your monitoring would just patch straight into the Tomcat and bypass Apache. |
14:10.46 | youe | That is correct. |
14:10.58 | kjkoster5489 | So ... do that, if it is for monitoring. |
14:11.04 | kjkoster5489 | Or use Java-monitor. :-) |
14:11.32 | youe | I do have monitoring to go straight into Tomcat right now. |
14:11.43 | youe | And I use both the HTTP and AJP connectors in a single Service. |
14:11.58 | youe | But I want to be able to access the manager and admin webapps in that Service. |
14:12.16 | youe | For security concern, I want to prevent AJP from being able to see those webapps. |
14:12.31 | youe | Additionally, I don't have JkMounts for those webapps. |
14:12.52 | youe | And I'll also have some Allow,Deny rules set up for those URIs. |
14:13.01 | youe | But it's still a security concern of mine. |
14:13.59 | youe | The best I can think of is running separate Services and duplicating the Engines one for HTTP and one for AJP. |
14:16.03 | youe | Can you think of a better way? |
14:16.38 | kjkoster5489 | I deleted the admin and manager webapps. |
14:16.58 | kjkoster5489 | They don't do anything I cannot do better from the command line. |
14:17.06 | kjkoster5489 | So I cannot help you there. :) |
14:17.55 | youe | Well, it could be any set of webapps. |
14:18.52 | kjkoster5489 | *shrug* Sure> |
14:19.34 | kjkoster5489 | Fact remains that I solve this access problem by 1) not having manager-type apps and 2) making webapps so that they can run anywhere Apache can see them. |
14:22.35 | youe | Been trying to figure this out for a week. I figured it was a shot in the dark, but I wanted to make sure. |
14:22.39 | youe | Thank you for your help. |
14:24.38 | *** join/#tomcat Sembiance (n=Sembianc@permafrost.telparia.com) |
14:25.25 | Sembiance | Hello. I have a set of cookies that when set cause tomcat to deny all requests, closing connections without sending any data back to the server, and not logging anything, including nothing in the access log. |
14:25.52 | Sembiance | I'm trying to determine what the problem is, and was wondering if anyone knew how I could better debug tomcat, or set breakpoints in it, or what not to try and figure out why. |
14:28.32 | youe | Eclipse is a java based IDE that has good remote debugging. |
14:29.16 | youe | However, you'll need to setup your webapps source in Eclipse and connect remotely to your Tomcat installations. |
14:29.28 | youe | You'll also need to start Tomcat with remote debugging enabled. |
14:30.21 | youe | This may help setting up remote debugging in Tomcat: http://wiki.apache.org/tomcat/FAQ/Developing |
14:48.35 | *** join/#tomcat dorimar (n=quassel@32.97.110.59) |
14:52.13 | *** join/#tomcat Gordon_Schoenmak (n=chatzill@dhcp-077-250-077-055.chello.nl) |
14:53.21 | Gordon_Be | Hello, im having a problem with tomcat |
14:54.24 | Gordon_Be | Is there anybody in here? |
14:54.45 | kjkoster5489 | Well, if you had asked your question, we might have answered it already. |
14:55.00 | kjkoster5489 | See also channel topic. |
14:55.43 | Gordon_Be | Haha, alright then. |
14:57.12 | *** join/#tomcat puskar (n=puskar@PUSKAR.ES.ITS.NYU.EDU) |
14:59.46 | Gordon_Be | I'm not even sure what Tomcat is, what it's used for or why the h*ll it's on my computer. But since this morning I've my internet browser start page has changed to the 'Congratulations, you've installed Tomcat'-page. Even though my browser is set to start with google. I hope you can help me with this. |
15:00.45 | kjkoster5489 | Does Tomcat run on your machine? |
15:01.17 | Gordon_Be | I dont think so |
15:01.28 | kjkoster5489 | What URL in the the bar? |
15:01.59 | Gordon_Be | google.nl |
15:02.59 | Gordon_Be | according to the task manager there is no application or proces running that is called Tomcat |
15:03.07 | kjkoster5489 | Proxy settings? |
15:03.46 | kjkoster5489 | (and no, this is not a Tomcat issue, Windows more likely) |
15:03.56 | Gordon_Be | That could have something to do with it. yesterday i've installed FoxyProxy for mozilla firefox |
15:06.19 | Gordon_Be | Oh in that case, i'm sorry to have bothered you with yet another one of Windows' flaws |
15:07.51 | Gordon_Be | Do you think, deinstalling the Proxy-AddOn and rebooting completely would help? |
15:10.48 | kjkoster5489 | I don't use Windows. You tell me. |
15:11.21 | Gordon_Be | I'll let you know then, thanks for the help. |
15:15.46 | *** join/#tomcat Gordon_Be (n=chatzill@dhcp-077-250-077-055.chello.nl) |
15:15.50 | *** join/#tomcat dorimar (n=quassel@32.97.110.59) |
15:25.45 | Gordon_Be | Well that didn't work. Windows Vista Home Premium, Java (TM) 6 Update , don't know about Tomcat. Could you give me any advise on how to remove Tomcat. Since I have not installed it actively and do not know anything about the program I am unsure on how to do this and whether I should remove it all. |
15:48.59 | *** join/#tomcat km (n=unknown@66-7-254-75.static-ip.telepacific.net) |
16:24.26 | randrew | youe: it's a bit crazy, but you could add a request header with mod_rewrite or mod_headers to distinguish the requests which come through apache httpd. you'd have to sort out any interaction between mod_rewrite and mod_proxy_ajp (or whatever you are using to pass requests to tc). |
16:27.12 | *** join/#tomcat Anarch (n=w3@elrond.hsl.washington.edu) |
16:34.08 | youe | randrew: I want the special webapps to be only available through the HTTP connector of Tomcat so I'm preventing all requests to these from Apache with Allow,Deny for security. |
16:39.07 | youe | This is sufficient for now. |
16:48.00 | *** join/#tomcat Theravadan (n=username@ip98-185-224-13.sb.sd.cox.net) |
17:07.09 | *** join/#tomcat azlev (n=ze@200.234.206.72) |
17:13.34 | *** join/#tomcat benn_d (n=benn_d@c-67-176-147-20.hsd1.in.comcast.net) |
17:20.17 | *** join/#tomcat jasonb (n=jasonb@75-144-23-117-SFBACA.hfc.comcastbusiness.net) |
17:37.59 | *** join/#tomcat r0bby (n=wakawaka@guifications/user/r0bby) |
17:38.58 | *** join/#tomcat dvayanu (n=another@ppp-88-217-57-245.dynamic.mnet-online.de) |
18:14.48 | *** join/#tomcat Lamo (n=jeremy@12.236.241.123) |
18:18.29 | Lamo | I've installed Tomcat on my RHEL web server following this guide: http://www.mad09.net/solr-install-solr-on-centos/ and when go to localhost:8080 I get the Tomcat page. However I cant seem to get solr to work localhost:8080/solr gives a 404. I created the dir /opt/solr and copied all the files it says too. |
18:19.35 | Lamo | http://nopaste.com/p/a9mmM0G1hb <---my /etc/init.d/tomcat |
18:19.55 | Lamo | everything is located in /opt |
18:52.03 | *** join/#tomcat shad0w_crash (n=shad0w_c@ip3e83d063.speed.planet.nl) |
18:57.57 | *** join/#tomcat dorimar (n=quassel@32.97.110.59) |
19:17.10 | shad0w_crash | <PROTECTED> |
19:17.21 | shad0w_crash | did anyone mention this?:) |
19:19.43 | nDuff | *shrug* -- ports that don't fit in an unsigned short are unsupported, thus their behavior is undefined |
19:20.49 | shad0w_crash | but i think it's nice because there wasn't an option to disable the whole shutdown thing :) |
19:36.25 | *** join/#tomcat kjkoster5489 (n=kjkoster@kjkoster.org) |
19:58.27 | *** join/#tomcat user01 (n=user01@91-64-207-27-dynip.superkabel.de) |
20:32.25 | randrew | Lamo: try localhost:8080/solr/ |
20:32.37 | *** join/#tomcat da_krowa (i=Miranda@chello087207037180.chello.pl) |
20:33.47 | *** part/#tomcat randrew (n=raj@dyn-128-59-53-15.dyn.columbia.edu) |
20:33.47 | Lamo | randrew, thanks i got it. forgot to rename the .war file >_> |
21:32.42 | *** join/#tomcat yassine_ (n=yassine@p4FFE50E9.dip.t-dialin.net) |
21:43.07 | *** join/#tomcat perr0 (n=dalanis@206.55.176.26) |
22:20.39 | *** join/#tomcat Bollinger (n=peter@79-74-250-250.dynamic.dsl.as9105.com) |
22:25.47 | Bollinger | tomcat 6.0.20, Sun Java 1.6.0_13-b03, Ubuntu 9.04: How can I configure logging so the output only uses one line? (catalina.out is my first priority) double line log files are horrible. |
22:32.43 | *** join/#tomcat NickDeNeger (n=none@koppel-12.sshunet.nl) |
22:42.31 | *** join/#tomcat km (n=unknown@66-7-254-75.static-ip.telepacific.net) |
22:43.38 | jasonb | Bollinger: You're saying that when your Tomcat logs something, it logs two lines of log output for each thing it tries to log?? |
22:51.08 | Bollinger | jasonb, when my app logs something using jdk logger, I see 2 lines in catalina.out e.g. Jul 28, 2009 11:34:49 PM com.mycompany.JdkLogger info |
22:51.08 | Bollinger | INFO: headers javax.mail.internet.InternetHeaders$matchEnum@34342fd2 |
22:51.15 | Bollinger | opps didnt mean to spam |
22:53.17 | jasonb | I think most people just use log4j inside their webapp and log to a different file.. completely bypassing the jdk logger. That's how most people end up with a log file that behaves how they want it to behave. |
22:55.13 | Bollinger | I think thats what I'll end up doing, as setting the formatter in the logging.properties to a custom jdk log formatter does not seem to work. (and I use the formatter elsewhere successfully).. Logging is such a PITA |
23:07.21 | *** join/#tomcat princezuda (n=chatzill@pool-173-51-81-233.lsanca.fios.verizon.net) |
23:07.24 | princezuda | join #Apachefriends |