00:03.33 | jasonb | MaxPrt: What are the steps to reproduce the problem? Also, you have not provided version info.. |
00:04.00 | MaxPrt | fill out a form, submit, change things, and observer |
00:04.48 | MaxPrt | Apache Tomcat/5.5.32 |
01:43.14 | *** join/#tomcat jjg (~clhammond@fw.zoove.com) |
01:56.59 | *** join/#tomcat pfn (pfnguyen@socal.hanhuy.com) |
02:16.05 | *** join/#tomcat CamargoBP[Mobile (~CamargoBP@172.241.sfcn.org) |
02:45.21 | *** join/#tomcat yassine (~yassine@unaffiliated/yassine) |
03:35.39 | *** join/#tomcat cyrus_mc (~cyrus@S010600156dc1c68c.cg.shawcable.net) |
03:35.46 | cyrus_mc | http://pastebin.com/JuvVwuN9 - I have the following in my server.xml |
03:36.01 | cyrus_mc | trying to find out why the webapp gets deployed at my-webapp and also at myServletWAR |
03:36.15 | cyrus_mc | i have autoDeploy set to false so it shouldn't be getting deployed twice |
03:36.27 | cyrus_mc | it should only be deployed via the Context element in server.xml |
03:38.18 | cyrus_mc | i can even remove the context element and the path my-webapp goes away but myServletWAR still exists |
03:38.47 | MaxPrt | the deployment name is typically the same as the name of the WAR? |
03:42.02 | cyrus_mc | ok, but it doesn't have to be |
03:42.10 | cyrus_mc | i can set it to what I want in the <Context element |
03:42.19 | cyrus_mc | just wondering why it gets deployed at both paths |
03:48.47 | cyrus_mc | that autoDeploy="false" doesn't seem to be taking effect. If I put a war file in the webapps directory it automatically gets deployed |
03:50.48 | *** join/#tomcat CamargoBP[Mobile (~CamargoBP@172.241.sfcn.org) |
03:51.49 | *** join/#tomcat Error404NotFound (~Error404N@unaffiliated/error404notfound) |
03:54.14 | cyrus_mc | any help on why it just seems to autodeploy when I have it set to false would be appreciated. Thanks |
04:10.44 | *** join/#tomcat DarkStar1 (~Inprimus@cpc5-oxfd18-2-0-cust654.4-3.cable.virginmedia.com) |
04:13.21 | DarkStar1 | Hello people. I'm having some problems with my tomcat cnfiguration.. It seems the webapp can create files in a folder that was normally accessible to it but for soe reason they're not accessible anymore. It won't serve the files in the folders. where could this be blocked in a config file? |
05:30.15 | DarkStar1 | Hhheeellp!! please |
05:30.42 | DarkStar1 | I am completely lost and losing my mind |
05:33.08 | *** join/#tomcat yassine (~yassine@cust.dyn.95-152-87-190.swisscomdata.ch) |
05:33.08 | *** join/#tomcat yassine (~yassine@unaffiliated/yassine) |
06:16.01 | *** join/#tomcat acidjnk (havenone@101-234-103-86.dynamic.dsl.tng.de) |
07:32.06 | *** join/#tomcat KlarerVerstand (IceChat7@dslb-088-076-041-145.pools.arcor-ip.net) |
07:49.55 | *** join/#tomcat vutekija (~vojin.uro@212.68.28.6) |
08:27.14 | *** join/#tomcat ExtraSpice (~XtraSpice@78-62-101-194.static.zebra.lt) |
08:34.31 | *** join/#tomcat student__ (~chatzilla@41.226.196.53) |
08:35.15 | student__ | Hello, when building my web application using ant on a tomcat server i have obtained such error / |
08:35.37 | student__ | Element type "deploy" must be followed by either attribute specifications, ">" or "/>" |
08:35.46 | student__ | Any suggestion please? |
08:36.04 | *** join/#tomcat mah01 (~mah@86.58.185.244) |
08:37.29 | student__ | Not that the application has been running without building it with ant (copying it directly into the server) |
08:38.22 | student__ | Note also that i have based my build.xml on the build xml mentioned on the tomcat documentation online page |
08:38.29 | student__ | Any suggestion pleasee ? |
08:41.12 | student__ | Element type "deploy" must be followed by either attribute specifications, ">" or "/>" |
08:41.15 | student__ | ??????????????????????????? |
09:23.24 | *** join/#tomcat loddafnir1 (~mike@91-67-61-89-dynip.superkabel.de) |
09:39.10 | *** join/#tomcat BKD__ (~BKD@35.pool85-55-112.dynamic.orange.es) |
09:39.16 | BKD__ | Hi |
10:22.10 | student__ | Hello, while using ant to build a web applicatin on tomcat i have obtained this error : Element type "deploy" must be followed by either attribute specifications, ">" or "/>". |
10:28.40 | *** join/#tomcat student__ (~chatzilla@41.226.196.53) |
10:30.22 | student__ | Hello, i am using tomcat 7.0.8, jdk 1.6 u23, linux opensuse and ant 1.8.2 |
10:30.54 | student__ | When runnig the comand ant i have obtained the error Element type "deploy" must be followed by either attribute specifications, ">" or "/>". |
10:31.19 | *** join/#tomcat Kedare (~Kedare@onyxia.netyxia.net) |
10:31.57 | student__ | My build.xml look normal since i have written it using the exapmle in the online documentation |
10:32.08 | student__ | Any suggestion please ? |
10:32.17 | student__ | Element type "deploy" must be followed by either attribute specifications, ">" or "/>". |
10:32.34 | student__ | How solving this error ? |
10:35.14 | *** part/#tomcat student__ (~chatzilla@41.226.196.53) |
10:51.05 | *** join/#tomcat DarkStar1 (~Inprimus@cpc5-oxfd18-2-0-cust654.4-3.cable.virginmedia.com) |
10:54.44 | DarkStar1 | Hello people. I'm having some problems with my tomcat cnfiguration.. It seems the webapp can create files in a folder that was normally accessible to it but for soe reason they're not accessible anymore. It won't serve the files in the folders. where could this be blocked in a config file? |
11:17.57 | *** join/#tomcat acidjnk (havenone@101-234-103-86.dynamic.dsl.tng.de) |
11:23.30 | *** join/#tomcat kmaslowski (~kamil@centralaz.zagiel.com.pl) |
11:28.58 | *** join/#tomcat vak (~chatzilla@g230246210.adsl.alicedsl.de) |
12:16.53 | *** join/#tomcat thunderstrike (~root@60.254.57.12) |
12:34.15 | *** join/#tomcat relachs11 (~relachs@f050132002.adsl.alicedsl.de) |
13:09.45 | *** join/#tomcat DarkStar1 (~Inprimus@student-66-157.eduroam.brookes.ac.uk) |
13:10.31 | DarkStar1 | Hello people. I'm having some problems with my tomcat cnfiguration.. It seems the webapp can create files in a folder that was normally accessible to it but for soe reason they're not accessible anymore. It won't serve the files in the folders. where could this be blocked in a config file? |
13:17.13 | *** join/#tomcat sunit (7ab041b2@gateway/web/freenode/ip.122.176.65.178) |
13:18.43 | sunit | hello , I am using ubuntu 9.04 with java 1.6.0_22 and tomcat 6.0.28 |
13:21.24 | sunit | tomcat is unzipped from tar file |
14:17.30 | *** join/#tomcat schmolly159 (~schmolly1@rrcs-76-79-50-2.west.biz.rr.com) |
14:31.48 | *** join/#tomcat randrewj (~raj-user@user-160u69m.cable.mindspring.com) |
15:39.36 | *** join/#tomcat DarkStar1 (~Inprimus@student-66-157.eduroam.brookes.ac.uk) |
16:01.11 | *** join/#tomcat Error404NotFound (~Error404N@119.154.111.157) |
16:01.11 | *** join/#tomcat Error404NotFound (~Error404N@unaffiliated/error404notfound) |
16:17.07 | *** join/#tomcat AJC_Z0 (~AJC_Z0@pdpc/supporter/professional/ajz0) |
16:18.48 | *** join/#tomcat nurv101 (~nurv101@2001:690:2100:2:4687:fcff:fe91:9c05) |
16:20.23 | *** part/#tomcat nurv101 (~nurv101@2001:690:2100:2:4687:fcff:fe91:9c05) |
16:21.34 | *** join/#tomcat nurv101 (~nurv101@2001:690:2100:2:4687:fcff:fe91:9c05) |
16:21.39 | nurv101 | hey |
16:21.53 | nurv101 | does any one here understands the internals of tomcat ? |
16:22.12 | nurv101 | I have a problem using a JavaAgent with tomcat for bytecode manipulation |
16:52.03 | *** join/#tomcat DarkStar1 (~Inprimus@student-66-157.eduroam.brookes.ac.uk) |
17:36.24 | *** join/#tomcat rhonabwy (~rhonabwy@95-91-154-179-dynip.superkabel.de) |
17:39.59 | *** join/#tomcat jasonb (~jasonb@12.201.129.162) |
17:43.03 | *** join/#tomcat cyrus_mc (~cyrus@S010600156dc1c68c.cg.shawcable.net) |
17:44.24 | cyrus_mc | Can anyone tell me why when I add a Context element in server.xml the app gets deployed at the path I specify plus the name of the directory in webapps. I have autoDeploy=false. For example, if I have a webapp called my-webapp in the webapps directory. I add a context for that with path test-webapp. I can then access it by the path test-webapp or my-webapp. |
17:51.26 | *** join/#tomcat acidjnk (havenone@101-234-103-86.dynamic.dsl.tng.de) |
17:59.26 | cyrus_mc | anyone? |
18:32.46 | *** join/#tomcat rhonabwy (~rhonabwy@95-91-154-179-dynip.superkabel.de) |
18:34.43 | cyrus_mc | slow channel |
18:35.51 | wyvern` | cyrus_mc, do you have a context.xml in your WEB-INF or anything like that |
18:38.06 | *** join/#tomcat }ls{ (~}ls{@pD955F10D.dip.t-dialin.net) |
18:38.31 | cyrus_mc | wyvern`: nope |
18:38.38 | cyrus_mc | wyvern`: just to ensure I also set deployXML = false |
18:39.00 | cyrus_mc | I am just trying to find out if it deploys twice or just sets up to paths to the same servlet |
18:39.18 | cyrus_mc | wyvern`: I can even remove the context from server.xml and it is still available at the app directory name path |
18:46.09 | wyvern` | hmm |
18:46.17 | wyvern` | if you put something in a servlet's init() you should see if it's being called twice |
18:46.51 | wyvern` | double check the context docs and make sure you've turned off everything related to autoloading, though it sounds like you have |
18:47.42 | randrewj | cyrus_mc: maybe you want deployOnStartup false, see the host docs, maybe deployIgnore helps you. |
19:10.18 | *** join/#tomcat jasonb (~jasonb@12.201.129.162) |
19:54.08 | *** join/#tomcat 5EXAB6XK6 (~quassel@pro8.proekspert.ee) |
20:40.11 | *** join/#tomcat calavera (~calavera_@155.Red-88-6-175.staticIP.rima-tde.net) |
20:44.08 | *** join/#tomcat hex` (~hex@unaffiliated/hex/x-261681) |
20:51.00 | *** join/#tomcat Kedare|2 (~Kedare@onyxia.netyxia.net) |
21:50.27 | *** join/#tomcat moqq (~mokka@unaffiliated/moqq) |
21:51.55 | moqq | why is this not enough to enable all logging messages? http://pastebin.com/xKYKCyZH (contents of /src/main/resources/logging.properties in a maven project) i'm only getting INFO and warnings, not FINE |
21:53.46 | moqq | (tomcat 6) |
22:17.17 | *** join/#tomcat Nitrus^ (~Scott@sceapdsd43-75.989studios.com) |
22:18.27 | Nitrus^ | i was wondering what the differences were between using a servlet to do startup operations or a contextlistener. some code i've inherited using a servlet to start up some background threads and I was wondering if it's worth switching to a context listener instead |
22:18.36 | jasonb | moqq: Yeah, there's probably no Tomcat JULI "on" switch for all classes, all levels. Each webapp has one log channel (or whatever the word should be), and you have to explicitly set the level if you don't want to take the Tomcat-specified default. |
22:19.50 | jasonb | Nitrus^: Servlets have been in the specification for longer than context listeners. So if your webapp(s) have to be able to run on older servlet containers that don't yet support context listeners, then they'd need to be implemented as servlets. |
22:19.58 | moqq | jasonb: even setting FINE doesn't seem to work though |
22:20.11 | moqq | jasonb: it actually appears to be ignoring everything i put into the logging.properties |
22:20.36 | jasonb | Nitrus^: Also, the behavior of when servlets start and when they run has been very clearly and unambiguously documented for more revisions of the servlet spec than that of context listeners.. at least for what you're talking about. |
22:21.15 | jasonb | moqq: How are you explicitly setting your webapp's log channel to FINE? If it is one line, you can paste it right in here. |
22:21.39 | Nitrus^ | sounds like i should go with the, not broken dont fix it approach, thanks jason |
22:22.21 | moqq | jasonb: com.mypackage.level = FINE ? |
22:22.38 | moqq | jasonb: then com.mypackage.handlers = java.util.logging.ConsoleHandler |
22:24.26 | jasonb | Nitrus^: You're welcome. |
22:25.01 | jasonb | moqq: No, that's not quite the right syntax for setting a webapp's logger level.. |
22:25.48 | jasonb | It's more like: org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/yourwebappname].level = FINE |
22:26.05 | moqq | ah |
22:26.19 | moqq | is that going to be in Tomcat's documentation? |
22:26.44 | moqq | ah |
22:26.47 | moqq | apparently yes |
22:27.04 | jasonb | Yes, it is. |
22:27.12 | jasonb | http://tomcat.apache.org/tomcat-7.0-doc/logging.html |
22:27.33 | *** join/#tomcat levi086 (~levi086@c164-71.i06-10.onvol.net) |
22:28.03 | moqq | okay i'll try something along those lines. thanks for the help |
22:31.44 | levi086 | {Tomcat 6.0.29; Java SE6U23 JDK; Win Xp Pro 32-bit} -- Very trivial question: I have an EAR file containing a WAR file which depends on a standard JAR file (also included in the EAR file) which fails to see any classes found in that JAR file. I believe this is a EAR Classpath problem - can anyone help me? Thanks! |
22:33.11 | moqq | hrm |
22:36.35 | jasonb | levi086: Just put that "standard jar file" into Tomcat's lib/ directory and restart Tomcat's JVM. |
22:38.02 | levi086 | That is a viable solution, however I would like to keep a wrapped EAR file with all the required contents within it. I'm checking the application.xml at the moment and it seems the JAR file is not being included... that might be the cause I presume ? |
22:44.16 | jasonb | levi086: Well, EAR files are for full Java EE application servers. Tomcat is a subset.. the web container. So, Tomcat is concerned with your WAR file, and that's it. Tomcat does not have code to understand EAR files. |
22:45.51 | levi086 | Sorry for not specifying earlier - tomcat is pre-bundled with OpenEJB. I'm checking if it's the application.xml that's got something missing... |
22:46.43 | jasonb | ahh. |
22:50.54 | levi086 | it worked! application.xml had the missing <module> declaration for the JAR file. Thanks just the same! |
23:04.18 | *** join/#tomcat yassine (~yassine@unaffiliated/yassine) |
23:15.34 | *** join/#tomcat MHSL (MHSL@cm94.sigma137.maxonline.com.sg) |
23:29.39 | moqq | jasonb: you still around? nothing is working |
23:30.11 | jasonb | I'm still around. |
23:30.40 | jasonb | levi086: Did you bundle OpenEJB with Tomcat, or did you get them together from somewhere? |
23:34.15 | moqq | it seems to be ignoring my logging.properties |
23:34.15 | jasonb | moqq: Put your logging.properties on a paste server. |
23:34.29 | moqq | like even if i fill it with garbage, i get no errors or warnings about it |
23:36.40 | moqq | is there some way i can know for sure if it's even reading that file? |
23:44.54 | jasonb | moqq: To go any further, you need to give me your brands and versions info. |
23:47.00 | yassine | just like the channel topic says :) |
23:55.37 | jasonb | yup. :) |
23:55.52 | *** join/#tomcat svarma (~chatzilla@adsl-072-148-255-144.sip.asm.bellsouth.net) |