00:00.12 | Lord_E | outside the local network i mean, i haven't mapped the router and all that... i can connect using SSH from within the network though ^^ |
00:00.12 | marvi | Hmm. seems like Spring doesn't find persistence.xml. |
00:00.43 | marvi | It seems it should be find in one of you jars under META-INF/ |
00:01.00 | marvi | Is it included alright? |
00:01.34 | Lord_E | weird... i figured the java part would be se same as on the developer machine as long as it's deployed correctly... |
00:01.37 | Lord_E | include what? |
00:02.16 | Lord_E | the only file in META-INF/ is MANIFEST.MF |
00:02.33 | marvi | Have you built this app? You are familiar with Spring and JPA? |
00:02.44 | Lord_E | that's why i'm making this app =) |
00:03.04 | Lord_E | yeah, i've built the app myself and like i said, it works perfectly on this machine |
00:03.23 | Lord_E | for the record, it's an MMOTBS game =) |
00:03.47 | Lord_E | as in Massively Multiplayer Online Turn Based Strategy |
00:04.03 | marvi | Ok. Well, Spring seems to lack a config files. It tries to find it in META-INF/persistence.xml inside a jar file (or maybe in your classes folder). |
00:04.15 | Lord_E | inside a jar file? |
00:05.42 | marvi | Well, it says classpath*:META-INF/persistence.xml |
00:06.16 | Lord_E | but why would it be in a .jar? |
00:06.23 | marvi | Meaning Spring's accessible classpath, inside a directory called META-INF. So either in a jar file or in WEB-INF/classes |
00:07.13 | Lord_E | hm |
00:07.20 | marvi | That is a normal way of building Spring apps. You add the JPA information to the jar file containing the JPA classes. |
00:07.46 | marvi | But you can have it in WEB-INF directory too. It depends on how you configure Spring. |
00:08.13 | marvi | But this is not a Tomcat issue for sure. It is in you war. You might get better help in #spring. |
00:08.15 | Lord_E | on this machine, persistence.xml is in META-INF/ alright... but it seems that file isn't included in the subversion repository! |
00:08.30 | marvi | Ah, there's a clue. :) |
00:08.39 | marvi | I'm off to bed. Good luck. |
00:08.48 | Lord_E | ok thanks for all the help! :D |
00:11.04 | *** join/#tomcat JustinLei (n=JustinLe@122.195.45.152) |
00:16.57 | *** join/#tomcat Nicke_ (n=niclasa@ua-83-227-140-135.cust.bredbandsbolaget.se) |
00:26.35 | *** join/#tomcat nylon (n=chatzill@adsl-068-209-113-138.sip.asm.bellsouth.net) |
00:31.05 | *** join/#tomcat karstensrage (n=karstens@c-76-103-32-139.hsd1.ca.comcast.net) |
01:28.37 | *** join/#tomcat kanai (n=kanai@124.32.114.226) |
01:32.32 | *** join/#tomcat karlwettin (n=kalle@c-8d8370d5.029-18-6d6c6d2.cust.bredbandsbolaget.se) |
01:38.54 | *** join/#tomcat OsAC (n=osac@space.cicmir.com) |
01:41.06 | OsAC | if I want to be able to server *.jsp I have to use tomcat wright? |
03:10.27 | *** join/#tomcat JustinLei_ (n=JustinLe@122.195.17.37) |
04:27.26 | *** join/#tomcat karlwettin (n=kalle@c-8d8370d5.029-18-6d6c6d2.cust.bredbandsbolaget.se) |
04:35.31 | *** join/#tomcat sprasanna (n=sprasann@125.20.84.54) |
04:36.34 | sprasanna | i installed tomcat in mac using macports but when i tried to start using sudo sh startup.sh i get this error http://pastebin.com/d2cb920c2 |
05:09.29 | *** join/#tomcat JustinLei (n=JustinLe@122.195.17.37) |
05:11.25 | *** join/#tomcat Gopaul (n=chatzill@61.95.156.130) |
05:27.09 | *** join/#tomcat igors (n=igors@189.71.6.241) |
05:27.23 | igors | hello, I've downloaded Tomcat 5.5, durint "ant" i get an error, it can't download a file, the url is wrong. How can i change the url it's going to download? (http://dpaste.com/5759/) |
05:27.27 | *** join/#tomcat karlwettin (n=kalle@c-8d8370d5.029-18-6d6c6d2.cust.bredbandsbolaget.se) |
05:37.10 | *** join/#tomcat Gopaul (n=chatzill@61.95.156.130) |
05:43.49 | *** join/#tomcat kanai (n=kanai@124.32.114.226) |
05:56.25 | *** join/#tomcat prgrmr (n=prgrmr@unaffiliated/prgrmr) |
06:15.11 | *** join/#tomcat nokheat (n=chatzill@158.132.55.118) |
06:15.39 | nokheat | dear all |
06:16.50 | nokheat | we have a problem, i am on apache-tomcat-5.5.27, i would like to get some code executed on server startup, i wonder if there is any elegant way to make tomcat do it? |
06:32.53 | *** join/#tomcat [[thufir]] (n=thufir@S01060016ec23af88.vs.shawcable.net) |
06:40.08 | *** join/#tomcat dvayanu (n=another@ppp-93-104-58-158.dynamic.mnet-online.de) |
06:47.58 | *** join/#tomcat prgrmr (n=prgrmr@unaffiliated/prgrmr) |
07:18.31 | *** join/#tomcat kjkoster5489 (n=kjkoster@193.79.224.62) |
07:20.14 | *** join/#tomcat vobis (n=vobis@a4.rwd.prospect.pl) |
07:21.39 | tomek | hello, i have problem with tomcat |
07:22.27 | tomek | i copied web app to /webapps direcotry and type in browser http:localhost:8080/APP |
07:22.44 | *** join/#tomcat Rishab (i=d2d4969a@gateway/web/ajax/mibbit.com/x-f5d312ab650cb8ec) |
07:23.06 | tomek | Application started but there was few exceptions, like (null pointer, because there is not class) |
07:23.36 | tomek | this class is in subdirectory of this app but tomcat i think can't see this |
07:23.41 | tomek | can you help? |
07:23.52 | Rishab | hey |
07:25.01 | tomek | I am using tomcat 6.0.16 and jdk1.6.0_07 |
07:26.01 | *** join/#tomcat johni (n=chatzill@pool-173-57-53-137.dllstx.fios.verizon.net) |
07:27.16 | johni | hello everybody, I documented a new software development process for open source projects and communities for my masters thesis |
07:27.26 | johni | I would help from open source contributors to validate my work |
07:27.59 | deebo | wouldnt that basically be a thesis on chaos theory :P |
07:28.15 | johni | deebo: pretty much |
07:28.38 | *** join/#tomcat sjb_ (n=jayjay@c-9b60e055.017-25-68626710.cust.bredbandsbolaget.se) |
07:28.44 | deebo | so theres no validating it :P |
07:28.58 | johni | but I hope I will make the chaos more obvious |
07:29.24 | johni | deebo: well, that is the beauty of it |
07:30.25 | johni | deebo: I created a survey to get some feedback on my dissertation |
07:30.53 | johni | would you be interested in helping? any help is greatly appreciated |
07:32.27 | *** join/#tomcat karlwettin (n=kalle@c-8d8370d5.029-18-6d6c6d2.cust.bredbandsbolaget.se) |
07:32.39 | johni | nobody :( ? |
07:33.32 | nokheat | sir, u are working on master thesis? |
07:34.17 | johni | nokheat: yeap |
07:34.30 | nokheat | how can we help? |
07:34.47 | johni | i have a simple survey with few questions regarding my work |
07:34.58 | nokheat | that great, i am working on my honours project too |
07:35.17 | nokheat | is it a link to the survey? |
07:35.19 | johni | out of the entire thesis about 20 pages are the detailed description |
07:35.20 | deebo | got my bSC, mSC should be done after the summer |
07:35.40 | johni | definately |
07:35.50 | johni | the survey is a google form and includes all the details |
07:36.09 | nokheat | lets show the group and see if anyone out there is free to answer |
07:36.17 | johni | http://spreadsheets.google.com/viewform?hl=en&formkey=cFg5UUVKakwyOTJ2eDhNWDM5WUlfVlE6MA.. |
07:36.24 | johni | that is the link :) |
07:36.47 | johni | any help would be more than appreciated |
07:37.36 | johni | the thesis is still in rough draft so please excuse any mistakes or errors |
07:38.10 | johni | and will be glad to answer any questions |
08:12.06 | *** join/#tomcat dvayanu (n=another@host-62-245-224-138.customer.m-online.net) |
08:16.01 | *** join/#tomcat tom17bombadil_ (n=tom@BAAe738.baa.pppool.de) |
08:27.23 | *** join/#tomcat karlwettin (n=kalle@c-8d8370d5.029-18-6d6c6d2.cust.bredbandsbolaget.se) |
08:32.12 | *** join/#tomcat JustinLei__ (n=JustinLe@122.195.17.37) |
09:12.17 | *** join/#tomcat ha55an (n=ha55an@82-204-3-186.dsl.bbeyond.nl) |
09:15.38 | ha55an | Hi, i have a generic question about Tomcat support for IPv6. I read somewhere that it does not work because "the IPv4 address 127.0.0.1 is actually hardcoded several times there (in StandardServer.java, Catalina.java and some others)" Can somebody please confirm this? Thanks |
09:17.51 | jink | I'm not sure, but you could setup an ipv6 reverse proxy? |
09:24.25 | ha55an | jink: yes, that could be a workaround, but i was wondering if there was a "cleaner" way of doing it. |
09:28.07 | jink | ha55an: That I don't know. I don't currently use IPv6. |
09:29.50 | ha55an | jink: thanks, i will look some more, otherwise, proxy it will be. |
09:29.59 | jink | Good for you. |
09:32.28 | *** join/#tomcat karlwettin (n=kalle@c-8d8370d5.029-18-6d6c6d2.cust.bredbandsbolaget.se) |
09:35.41 | *** join/#tomcat soa2ii (n=quassel@i59F5718A.versanet.de) |
09:41.11 | *** join/#tomcat lesshaste (n=lesshast@87-194-206-189.bethere.co.uk) |
09:41.26 | lesshaste | hi.. is there some way to sandbox things so that dodgy jsp code doesn't crash the server? |
09:56.29 | [[thufir]] | I keep getting this message that port 8080 is in use :( |
10:06.55 | kjkoster5489 | [[thufir]]: Perhaps this helps? http://java-monitor.com/forum/showthread.php?t=22 |
10:07.28 | kjkoster5489 | lesshaste: when you say crash, what happens? JSP's cannot 'crash' a JVM. |
10:07.35 | *** join/#tomcat marvi (n=marvi@pdpc/supporter/active/marvi) |
10:07.57 | lesshaste | kjkoster5489, the server looks like it has hung |
10:08.30 | kjkoster5489 | 100% cpu or 0%? |
10:09.02 | kjkoster5489 | tomek: please resolve the exceptions and pastebin the exceptions that yuou cannot resolve |
10:51.05 | [[thufir]] | kjkoster5489: http://pastebin.com/m2d6b87e6 cpu is fine. it's something to do with my web app and tomcat |
10:56.04 | [[thufir]] | kjkoster5489: I |
10:56.21 | [[thufir]] | kjkoster5489: I'm trying to install sockstat first |
11:22.49 | *** join/#tomcat Gopaul (n=chatzill@61.95.156.130) |
11:32.28 | *** join/#tomcat karlwettin (n=kalle@c-8d8370d5.029-18-6d6c6d2.cust.bredbandsbolaget.se) |
11:39.49 | *** join/#tomcat prgrmr (n=prgrmr@unaffiliated/prgrmr) |
12:13.06 | *** join/#tomcat gigasoft (n=gigasoft@77.222.15.52) |
13:00.16 | *** join/#tomcat trifon (n=chatzill@78.90.20.97) |
13:00.23 | *** join/#tomcat randrewj (n=raj-user@user-160uub9.cable.mindspring.com) |
13:22.22 | *** join/#tomcat rschootman (n=chatzill@62-177-129-190.bbned.nl) |
13:27.31 | rschootman | Hello all, I am trying to split up my tomcat installation so that each tomcat instance will run in a different JVM |
13:28.08 | rschootman | The versions I use are: tomcat version:5.5.27 java version:1.6.0_10 linux kernel:2.6.27-11 |
13:29.56 | rschootman | I've followed the instructions from the RUNNING.txt file section: Advanced Configuration - Multiple Tomcat Instances |
13:31.35 | rschootman | My env vars are: CATALINA_HOME=/opt/tomcat/apache-tomcat-5.5.27 and CATALINA_BASE=/opt/tomcat/domains/nextgenDM |
13:32.36 | rschootman | so CATALINA_HOME contains these directories: shared, common, server, temp, work, logs, bin, conf |
13:34.08 | rschootman | CATALINA_BASE contains: temp, work, webapps, shared, bin, conf, logs |
13:34.36 | rschootman | when I try to start my tomcat instance with a war in the webapp dir I get: |
13:35.00 | rschootman | java.lang.ClassNotFoundException: org.apache.catalina.deploy.FilterDef |
13:35.01 | *** join/#tomcat loddafnir (n=mike@at-vie-gaso-r11a.upc.at) |
13:35.22 | rschootman | This happens on deploying the war file |
13:35.53 | rschootman | I tried googling but could not find a answer |
13:36.07 | rschootman | any ideas? |
13:46.42 | *** join/#tomcat FN2zoiqoR (i=fn2zoiqo@henryjackson78.cims.rit.edu) |
13:49.03 | *** join/#tomcat eddy2 (n=onkel_e@141.89.226.149) |
13:54.15 | *** join/#tomcat Vanuatoo (n=Vanuatoo@213.131.37.174) |
13:54.30 | eddy2 | hello,my tomcat-manager-application runs well, but the admin-application is not available. I get always the error-message: "Servlet admin.login_jsp is currently unavailable". Have read in forums, but all clues didn't work yet. I use tomcat 5.5 with debian 4.0 and java 1.6 |
14:09.41 | *** part/#tomcat marvi (n=marvi@pdpc/supporter/active/marvi) |
14:17.19 | rschootman | solved it. i forgot to put the web.xml in the conf dir in my catalina_base |
14:23.29 | *** join/#tomcat acidjnk (i=acid@pD950817B.dip0.t-ipconnect.de) |
14:33.00 | kjkoster5489 | eddy2: don't use the manager app. It does nothing that you cannot do easier in another way. |
15:22.07 | *** join/#tomcat flatland (n=alejo@190.71.164.71) |
15:24.06 | flatland | hello, can anyone tell me if the hosts file to add port and direction (for example - 127.0.0.1:8080) |
15:25.00 | flatland | (for example - 127.0.0.1:8080 www.miweb.com) |
15:27.25 | kjkoster5489 | flatland: euh... what? |
15:31.15 | flatland | to direct a page and a port to a specified direction (can I set the port and address in the hosts file ??) |
15:31.50 | *** join/#tomcat karstensrage (n=chatzill@75-55-199-5.mobitv.com) |
15:32.13 | flatland | kjkoster5489::-[ |
15:52.52 | *** part/#tomcat flatland (n=alejo@190.71.164.71) |
16:58.03 | *** join/#tomcat soa2ii (n=quassel@i59F5718A.versanet.de) |
17:03.00 | *** join/#tomcat dennis00 (n=dennis@62.140.137.30) |
17:03.39 | dennis00 | Hello #tomcat. Tomcat is suffering a high load. 200 active threads, 150 of which are waiting for the same thread. How do I find out what this thread does? |
17:06.28 | dennis00 | anybody home? |
17:07.45 | jink | Not really. Slow channel. See topic. |
17:07.54 | jink | Patience is a virtue. |
17:08.11 | *** join/#tomcat TomSping (i=812e05d1@gateway/web/ajax/mibbit.com/x-a6d13ca203fd1a27) |
17:09.02 | dennis00 | Thanks for answering. |
17:10.16 | *** join/#tomcat handsom (i=dennis00@82-204-102-241.fttx.bbeyond.nl) |
17:14.41 | dennis00 | and: "what does waiting for monitor entry" mean? |
17:18.52 | karstensrage | dennis00, are you using Jconsole to see the threads? |
17:22.08 | karstensrage | by default tomcat does not release threads it has allocated for connections |
17:22.21 | karstensrage | you can use an Executor do that for you |
17:23.02 | dennis00 | jconsole does not work |
17:23.19 | dennis00 | I have added 3 jmx rules in the setenv.sh |
17:23.25 | dennis00 | java was running with jmx |
17:23.32 | dennis00 | but i get connection failed all the time |
17:32.05 | *** join/#tomcat shoggy (n=shoggy@pixel.microculture.fr) |
17:32.10 | shoggy | hello |
17:32.54 | karstensrage | you probably have to set the jmx stuff up in catalina.sh |
17:33.09 | shoggy | is it possible to define a virtual host inside a .war ? |
17:33.22 | jink | I don't know, but I doubt it is. |
17:33.55 | jink | As application you're bound to whatever the server offers you, I'd think. |
17:34.18 | shoggy | ok thanks |
17:40.14 | pfn | dennis00, it means waiting for a lock |
17:40.27 | pfn | dennis00, figuring out what that thread does is easy, just look at the stack of that given thread |
17:40.54 | *** join/#tomcat ciphergoth (n=paul@host226.lshift.net) |
17:44.36 | ciphergoth | Tomcat 6.0.18, jdk1.6.0_11, Windows Server 2003 Standard Edition SP2. I've done "service.bat install MyTomcatService" but I can't see MyTomcatService in the list of services under "Services and Applications" in "Computer Management". Should I expect to? |
17:50.01 | *** join/#tomcat rmrfslash (n=chatzill@dhcp-0034901102-bb-fe.client.fas.harvard.edu) |
17:50.20 | rmrfslash | How can I enable more detailed logging for tomcat? |
17:50.44 | TomSping | I forgot.. |
17:50.55 | TomSping | how do you disable the shutdown port in server.xml |
17:51.03 | TomSping | you set the shutdown to -1 or something right? |
17:51.15 | rmrfslash | I'm trying to start a tomcat6 and I see "SEVERE: Context [/nrg] startup failed due to previous errors" but no stack trace or anything... |
17:51.43 | rmrfslash | before it I see SEVERE: Error listenerStart |
17:51.51 | rmrfslash | both are equally useless |
17:52.03 | rmrfslash | well, not useless, but less informative than I would like |
17:53.04 | rmrfslash | My Tomcat is Tomcat 6.0.18, Java is Java 1.6.0_10 and OS is Ubuntu Server 8.10 |
18:03.36 | TomSping | no one here has modified their shutdown port variable |
18:17.01 | rmrfslash | everyone on here is too busy debugging some crappy Java stack trace |
18:23.29 | dennis00 | pfn: It's only possible to look at a stack of a group, you cannot see the stack of a specific threat |
18:23.49 | dennis00 | In my list, this thread other threads (150) were waiting for, didn't show up, |
18:34.44 | pfn | yes, you can look at the stack of a thread |
18:34.50 | pfn | there is no such thing as the stack of a thread group |
18:34.56 | pfn | because a group doesn't have a cohesive stack |
18:35.18 | pfn | TomSping, you don't disable it, you can change it to an impossible to guess key |
18:35.40 | pfn | with java1.5/6 tomcat shouldn't need a shutdown port anymore, it should just be able to do it via the attach mechanism |
18:35.42 | TomSping | pfn: actually if you set the shutdown port to "-1" it works |
18:35.57 | TomSping | I just tested it and it works |
18:36.39 | pfn | what do you mean you "tested it and it works" |
18:36.46 | pfn | oh, you mean you set the port number |
18:38.06 | TomSping | yeah.. |
18:38.21 | TomSping | technically anyone can telnet to it.. |
18:38.30 | TomSping | and issue the default phrase to shut it down |
18:48.33 | *** join/#tomcat tendo (n=tendo@ghostkick.net) |
18:48.49 | tendo | when i run ./startup.sh it just returns some catalina.sh usage commands, no errors |
18:48.54 | tendo | anyone ever had this problem before? |
18:49.09 | pfn | TomSping, firewall |
18:58.43 | *** join/#tomcat tom17bombadil (n=tom@BAAe738.baa.pppool.de) |
19:00.44 | TomSping | why firewall over disabling the port? |
19:04.33 | pfn | because one shouldn't expose everything to the world regardless of consequence |
19:05.48 | TomSping | oh.. I thought you ment internally |
19:05.59 | TomSping | only external apache is in dmz |
19:06.05 | TomSping | app server is protected |
19:17.23 | *** join/#tomcat trifon (n=chatzill@78.90.20.97) |
19:29.12 | *** part/#tomcat tendo (n=tendo@ghostkick.net) |
19:48.26 | *** join/#tomcat kwvarga (n=tqet@130.160.86.247) |
19:50.05 | kwvarga | I create a .html file from my Java code, and then try to load it on my web application and it says resource is not available, and then I refresh my Project in eclipse (I don't even have to restart the server) and the same URL works, any ideas how I could automate this when I create the page? |
20:02.59 | kwvarga | How can I refresh Tomcat without restarting the server from Java? |
20:50.20 | *** join/#tomcat trifon (n=chatzill@78.90.20.97) |
21:02.09 | *** join/#tomcat da_krowa (i=Miranda@chello089078230060.chello.pl) |
21:19.08 | *** part/#tomcat randrewj (n=raj-user@user-160uub9.cable.mindspring.com) |
21:19.16 | *** join/#tomcat [[thufir]] (n=thufir@S01060016ec23af88.vs.shawcable.net) |
21:25.28 | pfn | kwvarga, tomcat will pick up static content automatically without any restarts |
21:26.35 | *** join/#tomcat wltjr (n=wltjr@unaffiliated/wltjr) |
22:12.57 | *** join/#tomcat yassine (n=yassine@unaffiliated/yassine) |
22:33.56 | *** join/#tomcat dvayanu (n=another@ppp-93-104-58-158.dynamic.mnet-online.de) |
22:35.24 | *** join/#tomcat yassine_ (n=yassine@p57921E96.dip.t-dialin.net) |
22:47.27 | *** part/#tomcat CanyonMan (i=fn2zoiqo@henryjackson78.cims.rit.edu) |
22:50.26 | *** join/#tomcat randrewj (n=raj-user@user-160uub9.cable.mindspring.com) |
22:56.20 | *** join/#tomcat Inc` (n=incendiu@pool-72-64-103-206.dllstx.fios.verizon.net) |
23:16.37 | dennis00 | how do I look at the stack of a thread? |
23:20.17 | TomSping | how can I tell what the end of life for versions of tomcat are? |
23:43.59 | [[thufir]] | I don't understand where $TOMCAT_HOME/common/classes/log4j.properties is for tomcat 6 on ubuntu 8.10, java 6 |
23:44.21 | [[thufir]] | there's no such directory as common, which I see |
23:49.02 | pfn | tomcat6 doesn't use log4j |
23:49.25 | pfn | dennis00, you can see the stack in jconsole |
23:49.32 | pfn | dennis00, or you can invoke a stack dump |
23:53.52 | [[thufir]] | pfn: http://tomcat.apache.org/tomcat-6.0-doc/logging.html I put a properties file in WEB-INF? |
23:54.23 | pfn | [[thufir]], that's what it says, yes |
23:55.19 | TomSping | Juli |